summaryrefslogtreecommitdiffstats
path: root/InfoScreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'InfoScreen.c')
-rw-r--r--InfoScreen.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/InfoScreen.c b/InfoScreen.c
index 5c586bdd..8a6a3bee 100644
--- a/InfoScreen.c
+++ b/InfoScreen.c
@@ -13,42 +13,6 @@
#include <unistd.h>
#include <stdarg.h>
-/*{
-#include "Process.h"
-#include "Panel.h"
-#include "FunctionBar.h"
-#include "IncSet.h"
-
-typedef struct InfoScreen_ InfoScreen;
-
-typedef void(*InfoScreen_Scan)(InfoScreen*);
-typedef void(*InfoScreen_Draw)(InfoScreen*);
-typedef void(*InfoScreen_OnErr)(InfoScreen*);
-typedef bool(*InfoScreen_OnKey)(InfoScreen*, int);
-
-typedef struct InfoScreenClass_ {
- ObjectClass super;
- const InfoScreen_Scan scan;
- const InfoScreen_Draw draw;
- const InfoScreen_OnErr onErr;
- const InfoScreen_OnKey onKey;
-} InfoScreenClass;
-
-#define As_InfoScreen(this_) ((InfoScreenClass*)(((InfoScreen*)(this_))->super.klass))
-#define InfoScreen_scan(this_) As_InfoScreen(this_)->scan((InfoScreen*)(this_))
-#define InfoScreen_draw(this_) As_InfoScreen(this_)->draw((InfoScreen*)(this_))
-#define InfoScreen_onErr(this_) As_InfoScreen(this_)->onErr((InfoScreen*)(this_))
-#define InfoScreen_onKey(this_, ch_) As_InfoScreen(this_)->onKey((InfoScreen*)(this_), ch_)
-
-struct InfoScreen_ {
- Object super;
- Process* process;
- Panel* display;
- FunctionBar* bar;
- IncSet* inc;
- Vector* lines;
-};
-}*/
static const char* const InfoScreenFunctions[] = {"Search ", "Filter ", "Refresh", "Done ", NULL};