diff options
author | Ian C <ianc@noddybox.co.uk> | 2017-02-16 15:46:49 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2017-02-16 15:46:49 +0000 |
commit | 2b0a8867f035b023490135e76713de4afd9933e0 (patch) | |
tree | e498282e4eb5ea09e5927702aeb61e47c27de304 /linux/platgui.c | |
parent | 7c3b061ba68a92566a023d9924bca3036e81c9e3 (diff) |
Diffstat (limited to 'linux/platgui.c')
-rw-r--r-- | linux/platgui.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/linux/platgui.c b/linux/platgui.c index 5fd9c74..36fbcf8 100644 --- a/linux/platgui.c +++ b/linux/platgui.c @@ -787,11 +787,12 @@ static int CreateFileList(int x, int y, int w, int h, return no; } +static void TextEditInfo(GuiObjTextEdit *o); + static int CreateTextEdit(int x, int y, int w, int h, TextEditLine *lines, int no_lines, int info, int read_only) { - static void TextEditInfo(GuiObjTextEdit *o); int no=dialog_no++; DialCommon(no,GuiTextEdit,x,y,w,h,TRUE); @@ -818,18 +819,18 @@ static int CreateTextEdit(int x, int y, int w, int h, /* ---------------------------------------- DIALOG CALLBACK FUNCTIONS */ +static CallbackReturn BoxCallback(GuiObj *o ,ObjEvent ev); +static CallbackReturn LabelCallback(GuiObj *o,ObjEvent ev); +static CallbackReturn ButtonCallback(GuiObj *o,ObjEvent ev); +static CallbackReturn ToggleCallback(GuiObj *o,ObjEvent ev); +static CallbackReturn RadioCallback(GuiObj *o,ObjEvent ev); +static CallbackReturn ImageListCallback(GuiObj *o,ObjEvent ev); +static CallbackReturn TextCallback(GuiObj *o,ObjEvent ev); +static CallbackReturn FileListCallback(GuiObj *o,ObjEvent ev); +static CallbackReturn TextEditCallback(GuiObj *o,ObjEvent ev); + static CallbackReturn Callback(GuiObj *o, ObjEvent ev) { - static CallbackReturn BoxCallback(GuiObj *o ,ObjEvent ev); - static CallbackReturn LabelCallback(GuiObj *o,ObjEvent ev); - static CallbackReturn ButtonCallback(GuiObj *o,ObjEvent ev); - static CallbackReturn ToggleCallback(GuiObj *o,ObjEvent ev); - static CallbackReturn RadioCallback(GuiObj *o,ObjEvent ev); - static CallbackReturn ImageListCallback(GuiObj *o,ObjEvent ev); - static CallbackReturn TextCallback(GuiObj *o,ObjEvent ev); - static CallbackReturn FileListCallback(GuiObj *o,ObjEvent ev); - static CallbackReturn TextEditCallback(GuiObj *o,ObjEvent ev); - switch(o->common.type) { case GuiBox: |