Go to the source code of this file.
Enumerations | |
enum | { LOWEST_LEVEL = 0, LIST_ITEM_FOCUS_LEVEL, TOOLBAR_UPDATE_LEVEL, TEXTENTRY_CHANGED_LEVEL, LISTER_EXPOSE_LEVEL, MAIN_WINDOW_EXPOSE_LEVEL, KEYBOARD_SHOW_HIDE_LEVEL, NO_DISPLAY_UPDATE_LEVEL = 99 } |
Functions | |
gboolean | display_update_request_screen_refresh (int level) |
void | display_update_increase_level (int level) |
void | display_update_decrease_level (int level) |
int | display_update_get_level (void) |
<File description>="">
Definition in file displayUpdate.h.
anonymous enum |
LOWEST_LEVEL | |
LIST_ITEM_FOCUS_LEVEL | |
TOOLBAR_UPDATE_LEVEL | |
TEXTENTRY_CHANGED_LEVEL | |
LISTER_EXPOSE_LEVEL | |
MAIN_WINDOW_EXPOSE_LEVEL | |
KEYBOARD_SHOW_HIDE_LEVEL | |
NO_DISPLAY_UPDATE_LEVEL |
Definition at line 41 of file displayUpdate.h.
00042 { 00043 LOWEST_LEVEL = 0, 00044 LIST_ITEM_FOCUS_LEVEL, 00045 TOOLBAR_UPDATE_LEVEL, 00046 TEXTENTRY_CHANGED_LEVEL, 00047 LISTER_EXPOSE_LEVEL, 00048 MAIN_WINDOW_EXPOSE_LEVEL, 00049 KEYBOARD_SHOW_HIDE_LEVEL, 00050 NO_DISPLAY_UPDATE_LEVEL = 99 00051 };
void display_update_decrease_level | ( | int | level | ) |
Decrease the level value of the screen refresh. Meaning that the screen refresh will only be requested to the displayManager for levels equal or larger then this level value.
level | screen refresh level |
Definition at line 143 of file displayUpdate.c.
00144 { 00145 CL_SCREENPRINTF("new level %d - currentlevel %d", level, g_currentLevel); 00146 00147 if (level < g_currentLevel) 00148 { 00149 g_currentLevel = level; 00150 } 00151 }
int display_update_get_level | ( | void | ) |
void display_update_increase_level | ( | int | level | ) |
Increase the level value of the screen refresh. Meaning that the screen refresh will only be requested to the displayManager for levels equal or larger then this level value.
level | screen refresh level |
Definition at line 131 of file displayUpdate.c.
00132 { 00133 CL_SCREENPRINTF("new level %d - currentlevel %d", level, g_currentLevel); 00134 00135 if (level > g_currentLevel) 00136 { 00137 g_currentLevel = level; 00138 } 00139 }
gboolean display_update_request_screen_refresh | ( | int | level | ) |
set address of gtk idle callback, where the e-inkt display update is requested
status | indicates whether or not not used |
Definition at line 108 of file displayUpdate.c.
00109 { 00110 CL_SCREENPRINTF("entry level %d currentlevel %d", level, g_currentLevel); 00111 00112 if (level >= g_currentLevel) 00113 { 00114 CL_TIMEDISPLAY("Before adding idle callback"); 00115 00116 gtk_idle_add(display_update_during_idle_handling, (gpointer) level); 00117 00118 g_currentLevel = level + 1; 00119 } 00120 CL_SCREENPRINTF("leave level %d currentlevel %d", level, g_currentLevel); 00121 return TRUE; 00122 }