Choco OS  V.0.16.9.0
Join to the chocolate world
oc_screenman.h
Go to the documentation of this file.
1 
39 #ifndef SYSTEM_CORE_INC_GUI_OC_SCREENMAN_H_
40 #define SYSTEM_CORE_INC_GUI_OC_SCREENMAN_H_
41 
42 #include <oc_errors.h>
43 #include <oc_screen.h>
44 #include <oc_list.h>
45 
51 #define _________________________________________TYPES_SECTION______________________________________________________________________________
52 
53 
54 
55 #undef _________________________________________TYPES_SECTION______________________________________________________________________________
56 
62 #define _________________________________________FUNCTIONS_________________________________________________________________________________
63 
64 extern oC_ErrorCode_t oC_ScreenMan_TurnOn ( void );
65 extern oC_ErrorCode_t oC_ScreenMan_TurnOff ( void );
66 extern void oC_ScreenMan_ConfigureAll ( void );
67 extern void oC_ScreenMan_UnconfigureAll ( void );
69 extern oC_List(oC_Screen_t) oC_ScreenMan_GetList ( void );
70 extern oC_Screen_t oC_ScreenMan_GetScreen ( const char * Name );
71 extern oC_ErrorCode_t oC_ScreenMan_AddScreen ( oC_Screen_t Screen );
72 extern oC_ErrorCode_t oC_ScreenMan_RemoveScreen ( oC_Screen_t Screen );
73 
74 #undef _________________________________________FUNCTIONS_________________________________________________________________________________
75 
76 
77 #endif /* SYSTEM_CORE_INC_GUI_OC_SCREENMAN_H_ */
oC_ErrorCode_t oC_ScreenMan_RemoveScreen(oC_Screen_t Screen)
removes screen from the screens list
Definition: oc_screenman.c:324
void oC_ScreenMan_ConfigureAll(void)
configures all screens
Definition: oc_screenman.c:164
char Name[30]
Name of the screen - useful for screen identification.
Definition: oc_screen.c:47
oC_ErrorCode_t oC_ScreenMan_TurnOn(void)
turns on the screen manager module
Definition: oc_screenman.c:80
oC_ErrorCode_t oC_ScreenMan_TurnOff(void)
turns off screen manager
Definition: oc_screenman.c:125
oC_List(oC_Screen_t) oC_ScreenMan_GetList(void)
returns screens list
Definition: oc_screenman.c:242
oC_Screen_t oC_ScreenMan_GetScreen(const char *Name)
returns selected screen
Definition: oc_screenman.c:260
stores screen object data
Definition: oc_screen.c:43
The file with list library.
File with interface for the screen objects.
void oC_ScreenMan_UnconfigureAll(void)
unconfigures all screens
Definition: oc_screenman.c:189
oC_Screen_t oC_ScreenMan_GetDefaultScreen(void)
returns default screen
Definition: oc_screenman.c:215
oC_ErrorCode_t oC_ScreenMan_AddScreen(oC_Screen_t Screen)
adds screen to the screens list
Definition: oc_screenman.c:291