add constants for brightness in C api
This commit is contained in:
		
							parent
							
								
									a858261540
								
							
						
					
					
						commit
						16a0afe08d
					
				
					 3 changed files with 26 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -8,6 +8,21 @@
 | 
			
		|||
#include <stdint.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Count of possible brightness values
 | 
			
		||||
 */
 | 
			
		||||
#define SP_BRIGHTNESS_LEVELS 12
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * see [Brightness::MAX]
 | 
			
		||||
 */
 | 
			
		||||
#define SP_BRIGHTNESS_MAX 11
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * see [Brightness::MIN]
 | 
			
		||||
 */
 | 
			
		||||
#define SP_BRIGHTNESS_MIN 0
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * pixel count on whole screen
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue