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
39typedef struct _namdapha_sect_ {
40 int x;
41 int y;
42 int width; //which will be always equals to NAMDAPHA_WIDTH
43 int height;
44 char* title;
49
50/*
51 * SectionModuleInitialize -- initialize the
52 * section module
53 */
54void SectionModuleInitialize(ChWindow* namdaphaWin);
55
57
59
60#endif
ChWindow * win
Definition namdapha.cpp:54
NamdaphaSections * CreateSection(char *title)
Definition section.cpp:50
list_t * SectionsGetList()
Definition section.cpp:93
void SectionModuleInitialize(ChWindow *namdaphaWin)
Definition section.cpp:44
struct _namdapha_sect_ NamdaphaSections
Definition window.h:99
Definition list.h:46
Definition section.h:39
void(* paint)(_namdapha_sect_ *sect, ChWindow *win)
Definition section.h:47
list_t * buttonList
Definition section.h:46
int width
Definition section.h:42
int height
Definition section.h:43
int y
Definition section.h:41
int x
Definition section.h:40
char * title
Definition section.h:44
bool scrollable
Definition section.h:45