summaryrefslogtreecommitdiff
path: root/linux/platgui.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/platgui.c')
-rw-r--r--linux/platgui.c23
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: