XenevaOS
Loading...
Searching...
No Matches
section.h
Go to the documentation of this file.
1
30#ifndef __SECTION_H__
31#define __SECTION_H__
32
33#include <widgets/list.h>
34#include <widgets/window.h>
35
36#define SECTION_TITLE_APPLIST "applist"
37#define SECTION_TITLE_TASKLET "tasklet"
38
39
40typedef struct _namdapha_sect_ {
41 int x;
42 int y;
43 int width; //which will be always equals to NAMDAPHA_WIDTH
44 int height;
45 char* title;
50
51
52
53/*
54 * SectionModuleInitialize -- initialize the
55 * section module
56 */
57void SectionModuleInitialize(ChWindow* namdaphaWin);
58
60
62
63#endif
ChWindow * win
Definition namdapha.cpp:45
NamdaphaSections * CreateSection(char *title)
Definition section.cpp:51
list_t * SectionsGetList()
Definition section.cpp:94
void SectionModuleInitialize(ChWindow *namdaphaWin)
Definition section.cpp:45
struct _namdapha_sect_ NamdaphaSections
Definition window.h:90
Definition list.h:46
Definition section.h:40
void(* paint)(_namdapha_sect_ *sect, ChWindow *win)
Definition section.h:48
list_t * buttonList
Definition section.h:47
int width
Definition section.h:43
int height
Definition section.h:44
int y
Definition section.h:42
int x
Definition section.h:41
char * title
Definition section.h:45
bool scrollable
Definition section.h:46