diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2016-01-12 06:00:58 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2016-01-12 06:00:58 -0200 |
commit | 466d4da0c6e7255a38b8de3c3b9dc0373805cc41 (patch) | |
tree | 536ca897e2687e51961e9dffffd073f02aa07acb /EnvScreen.h | |
parent | faf28606696ad023c786e8b63372bfa498b0974a (diff) |
refactor *Screen classes, add InfoScreen superclass
Diffstat (limited to 'EnvScreen.h')
-rw-r--r-- | EnvScreen.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/EnvScreen.h b/EnvScreen.h index f33f0591..7cdbb865 100644 --- a/EnvScreen.h +++ b/EnvScreen.h @@ -3,20 +3,20 @@ #ifndef HEADER_EnvScreen #define HEADER_EnvScreen -#include "ProcessList.h" -#include "Panel.h" -#include "FunctionBar.h" +#include "InfoScreen.h" typedef struct EnvScreen_ { - Process* process; - Panel* display; - FunctionBar* bar; + InfoScreen super; } EnvScreen; +extern InfoScreenClass EnvScreen_class; + EnvScreen* EnvScreen_new(Process* process); -void EnvScreen_delete(EnvScreen* this); +void EnvScreen_delete(Object* this); + +void EnvScreen_draw(InfoScreen* this); -void EnvScreen_run(EnvScreen* this); +void EnvScreen_scan(InfoScreen* this); #endif |