diff options
Diffstat (limited to 'src/pager.c')
-rw-r--r-- | src/pager.c | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/src/pager.c b/src/pager.c index 6c237bd..3c88c7e 100644 --- a/src/pager.c +++ b/src/pager.c @@ -40,18 +40,24 @@ static void DrawPagerClient(const PagerType *pp, const ClientNode *np); /**************************************************************************** ****************************************************************************/ -void InitializePager() { +void +InitializePager() +{ pagers = NULL; } /**************************************************************************** ****************************************************************************/ -void StartupPager() { +void +StartupPager() +{ } /**************************************************************************** ****************************************************************************/ -void ShutdownPager() { +void +ShutdownPager() +{ PagerType *pp; @@ -63,7 +69,9 @@ void ShutdownPager() { /**************************************************************************** ****************************************************************************/ -void DestroyPager() { +void +DestroyPager() +{ PagerType *pp; @@ -99,7 +107,9 @@ TrayComponentType *CreatePager() { /**************************************************************************** ****************************************************************************/ -void Create(TrayComponentType *cp) { +void +Create(TrayComponentType *cp) +{ PagerType *pp; @@ -120,13 +130,17 @@ void Create(TrayComponentType *cp) { /**************************************************************************** ****************************************************************************/ -void Destroy(TrayComponentType *cp) { +void +Destroy(TrayComponentType *cp) +{ } /**************************************************************************** ****************************************************************************/ -void SetSize(TrayComponentType *cp, int width, int height) { +void +SetSize(TrayComponentType *cp, int width, int height) +{ PagerType *pp; @@ -165,7 +179,9 @@ void SetSize(TrayComponentType *cp, int width, int height) { /**************************************************************************** ****************************************************************************/ -void ProcessPagerButtonEvent(TrayComponentType *cp, int x, int y, int mask) { +void +ProcessPagerButtonEvent(TrayComponentType *cp, int x, int y, int mask) +{ PagerType *pp; @@ -193,7 +209,9 @@ void ProcessPagerButtonEvent(TrayComponentType *cp, int x, int y, int mask) { /**************************************************************************** ****************************************************************************/ -void UpdatePager() { +void +UpdatePager() +{ PagerType *pp; ClientNode *np; @@ -260,7 +278,9 @@ void UpdatePager() { /**************************************************************************** ****************************************************************************/ -void DrawPagerClient(const PagerType *pp, const ClientNode *np) { +void +DrawPagerClient(const PagerType *pp, const ClientNode *np) +{ int x, y; int width, height; |