summaryrefslogtreecommitdiff
path: root/src/widget/widget_catchkey.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-16 21:00:29 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-16 21:00:29 +0000
commitc68df329f2483d8fc9b75488c695787cd18c20a4 (patch)
tree18e11cd70360c77606ecdeafe5dbd8f9ff0c12d7 /src/widget/widget_catchkey.h
parent753fde16397b5943091aa1e9112cea1e5ded0ca5 (diff)
- vsetky widegety pouzivaju widget_t
( priparava na kontajner s widgetmi ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@201 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/widget/widget_catchkey.h')
-rw-r--r--src/widget/widget_catchkey.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widget/widget_catchkey.h b/src/widget/widget_catchkey.h
index 4b09d20..cec2110 100644
--- a/src/widget/widget_catchkey.h
+++ b/src/widget/widget_catchkey.h
@@ -3,6 +3,7 @@
#define WIDGET_CATCHKEY_H
#include "main.h"
+#include "widget.h"
#define WIDGET_CATCHKEY_WIDTH 110
#define WIDGET_CATCHKEY_HEIGHT 12
@@ -11,18 +12,17 @@
typedef struct widget_catchkey_struct
{
- int x, y;
int w, h;
int key;
bool_t active;
void (*fce_event)(void *p);
} widget_catchkey_t;
-extern widget_catchkey_t* newWidgetCatchkey(int key, int x, int y, void *event);
-extern int getWidgetCatchKey(widget_catchkey_t *p);
-extern void setWidgetCatchKey(widget_catchkey_t *p, int key);
-extern void drawWidgetCatchkey(widget_catchkey_t *p);
-extern void eventWidgetCatchkey(widget_catchkey_t *p);
-extern void destroyWidgetCatchkey(widget_catchkey_t *p);
+extern widget_t* newWidgetCatchkey(int key, int x, int y, void *event);
+extern int getWidgetCatchKey(widget_t *p);
+extern void setWidgetCatchKey(widget_t *p, int key);
+extern void drawWidgetCatchkey(widget_t *p);
+extern void eventWidgetCatchkey(widget_t *p);
+extern void destroyWidgetCatchkey(widget_t *p);
#endif