Go to the source code of this file.
Functions | |
void | pagebar_init () |
void | pagebar_reset () |
void | pagebar_goto_page (int page) |
void | pagebar_set_pagecount (int count) |
void | pagebar_redraw () |
Copyright (C) 2007 iRex Technologies BV.
Definition in file pagebar.h.
void pagebar_goto_page | ( | int | page | ) |
Request from setup to goto page
page | - page to go to |
Definition at line 51 of file pagebar.c.
00052 { 00053 CN_IPCPRINTF("entry: page = %d", page); 00054 pbSetCurrentPage(erPagebarChannel, ER_CONNECT_UA_ID, page); 00055 }
void pagebar_init | ( | ) |
Open communication channel with pageBar deamon counts on the fact that pageBar is running
Definition at line 37 of file pagebar.c.
00038 { 00039 CN_IPCPRINTF("entry"); 00040 erIpcStartClient(ER_PAGEBAR_CHANNEL, &erPagebarChannel); 00041 }
void pagebar_redraw | ( | ) |
Request from setup to redraw pagebar
- |
Definition at line 66 of file pagebar.c.
00067 { 00068 CN_IPCPRINTF("redraw"); 00069 pbRedraw(erPagebarChannel, ER_CONNECT_UA_ID); 00070 }
void pagebar_reset | ( | ) |
Resets the internal pageBar variables to their defaults also tells the pageBar that connectionMgr is now currentApp
Definition at line 44 of file pagebar.c.
00045 { 00046 CN_IPCPRINTF("entry"); 00047 pbReset(erPagebarChannel, ER_CONNECT_UA_ID); 00048 }
void pagebar_set_pagecount | ( | int | count | ) |
Request from setup to set number of pages
count | - number of pages in current view |
Definition at line 58 of file pagebar.c.
00059 { 00060 CN_IPCPRINTF("entry: count = %d", count); 00061 pbSetPageCount(erPagebarChannel, ER_CONNECT_UA_ID, count); 00062 00063 }