settings/src/pagebar.h File Reference

setup - pageBar deamon interaction with setup application More...

This graph shows which files directly or indirectly include this file:

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 ()


Detailed Description

setup - pageBar deamon interaction with setup application

Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.

<File description>="">

Definition in file pagebar.h.


Function Documentation

void pagebar_goto_page ( int  page  ) 

Request from setup to goto page

Parameters:
page - page to go to
Returns:
-

Definition at line 54 of file pagebar.c.

00055 {
00056     ST_IPCPRINTF("entry %d", page);
00057     pbSetCurrentPage(erPagebarChannel, ER_SETUP_UA_ID, page);
00058 }

Here is the call graph for this function:

void pagebar_init (  ) 

Open communication channel with pageBar deamon counts on the fact that pageBar is running

Returns:
void

Definition at line 40 of file pagebar.c.

00041 {
00042     ST_IPCPRINTF("entry");
00043     erIpcStartClient(ER_PAGEBAR_CHANNEL, &erPagebarChannel);
00044 }

Here is the call graph for this function:

void pagebar_redraw (  ) 

Request from setup to redraw pagebar

Parameters:
- 
Returns:
-

Definition at line 69 of file pagebar.c.

00070 {
00071     ST_IPCPRINTF("redraw");
00072     pbRedraw(erPagebarChannel, ER_SETUP_UA_ID);
00073 }

Here is the call graph for this function:

void pagebar_reset (  ) 

Resets the internal pageBar variables to their defaults also tells the pageBar that setup is now currentApp

Returns:
void

Definition at line 47 of file pagebar.c.

00048 {
00049     ST_IPCPRINTF("entry");
00050     pbReset(erPagebarChannel, ER_SETUP_UA_ID);
00051 }

Here is the call graph for this function:

void pagebar_set_pagecount ( int  count  ) 

Request from setup to set number of pages

Parameters:
count - number of pages in current view
Returns:
-

Definition at line 61 of file pagebar.c.

00062 {
00063     ST_IPCPRINTF("entry %d", count);
00064     pbSetPageCount(erPagebarChannel, ER_SETUP_UA_ID, count);
00065 
00066 }

Here is the call graph for this function:


Generated on Sun Dec 14 17:17:28 2008 by  doxygen 1.5.6