summaryrefslogtreecommitdiff
path: root/src/gui/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/base.h')
-rw-r--r--src/gui/base.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/base.h b/src/gui/base.h
index 1a1c4cb..108988d 100644
--- a/src/gui/base.h
+++ b/src/gui/base.h
@@ -169,10 +169,12 @@ struct GUI_LIST : GUI_BASE {
U8 held;
GUI_CALLBACK cb;
+ GUI_CALLBACK pre_cb;
};
struct GUI_BUTTON : GUI_BASE {
GUI_CALLBACK cb;
+ GUI_CALLBACK pre_cb;
U8 held;
void* extra;
};
@@ -182,6 +184,7 @@ struct GUI_CHECKBOX : GUI_BASE {
U8* pval;
GUI_CALLBACK cb;
+ GUI_CALLBACK pre_cb;
};
struct GUI_DROPDOWN : GUI_BASE {
@@ -190,6 +193,7 @@ struct GUI_DROPDOWN : GUI_BASE {
U8 held;
GUI_CALLBACK cb;
+ GUI_CALLBACK pre_cb;
GUI_WINDOW* listwnd;
GUI_VIEW* listview;
};
@@ -216,6 +220,7 @@ struct GUI_TEXTBOX : GUI_BASE {
U8 m1held;
GUI_CALLBACK cb;
+ GUI_CALLBACK pre_cb;
};
struct GUI_CONTEXTBOX : GUI_BASE {
@@ -243,6 +248,8 @@ struct GUI_FLOATINPUT : GUI_BASE {
U8 wraparound;
GUI_CALLBACK cb;
+ GUI_CALLBACK pre_cb;
+ GUI_CALLBACK release_cb;
void* cbextra;
};
@@ -261,6 +268,8 @@ struct GUI_VECTORINPUT : GUI_VIEW {
LIST<F32> lastchange;
GUI_CALLBACK cb;
+ GUI_CALLBACK pre_cb;
+ GUI_CALLBACK release_cb;
void* cbextra;
};