
Go to the source code of this file.
Defines | |
| #define | LOWEST_LEVEL 0 |
| #define | TEXT_UPDATE_LEVEL 1 |
| #define | TEXT_EXPOSE_LEVEL 2 |
| #define | VIEW_WINDOW_EXPOSE_LEVEL 4 |
| #define | WAVEFORM_FULLSCREEN 0 |
| #define | WAVEFORM_BW 1 |
| #define | WAVEFORM_TYPING 2 |
Functions | |
| gboolean | display_update_request_screen_refresh (int level, gpointer data) |
| void | display_update_increase_level (int level) |
Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.
<File description>="">
Definition in file displayUpdate.h.
| #define LOWEST_LEVEL 0 |
Definition at line 35 of file displayUpdate.h.
| #define TEXT_EXPOSE_LEVEL 2 |
Definition at line 37 of file displayUpdate.h.
| #define TEXT_UPDATE_LEVEL 1 |
Definition at line 36 of file displayUpdate.h.
| #define VIEW_WINDOW_EXPOSE_LEVEL 4 |
Definition at line 38 of file displayUpdate.h.
| #define WAVEFORM_BW 1 |
Definition at line 41 of file displayUpdate.h.
| #define WAVEFORM_FULLSCREEN 0 |
Definition at line 40 of file displayUpdate.h.
| #define WAVEFORM_TYPING 2 |
Definition at line 42 of file displayUpdate.h.
| 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 133 of file displayUpdate.c.
00134 { 00135 if (level > g_currentLevel) 00136 { 00137 g_currentLevel = level; 00138 } 00139 }
| gboolean display_update_request_screen_refresh | ( | int | level, | |
| gpointer | data | |||
| ) |
set address of gtk idle callback, where the e-inkt display update is requested
| status | indicates whether or not not used | |
| data | not used |
Definition at line 96 of file displayUpdate.c.
00097 { 00098 int theCurrentLevel = display_update_get_level(); 00099 int waveform; 00100 00101 waveform = (int) data; 00102 00103 DL_DMPRINTF("entry level %d currentlevel %d", level, theCurrentLevel); 00104 00105 if (level >= theCurrentLevel) 00106 { 00107 if (waveform != 0) 00108 { 00109 DL_DMPRINTF("Special waveform request"); 00110 level += waveform << 16; 00111 } 00112 00113 00114 gtk_idle_add(display_update_during_idle_handling, (gpointer) level); 00115 00116 //reset the current level 00117 display_update_reset_level(); 00118 00119 } 00120 return TRUE; 00121 }

1.5.6