summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/amiga/gui.c')
-rw-r--r--frontends/amiga/gui.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index 55d57d52b..0d7299ffd 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -389,6 +389,24 @@ void ami_gui2_set_menu(struct gui_window_2 *gwin, struct Menu *menu)
}
}
+struct form_control *ami_gui_get_control(struct gui_window *gw)
+{
+ /* TODO: does this need to be in the shared window? */
+ assert(gw != NULL);
+ return gw->shared->control;
+}
+
+/**
+ * Set control (for select menu) to gui_window
+ */
+void ami_gui_set_control(struct gui_window *gw, struct form_control *control)
+{
+ /* TODO: does this need to be in the shared window? */
+ assert(gw != NULL);
+ gw->shared->control = control;
+}
+
+
STRPTR ami_locale_langs(int *codeset)
{
struct Locale *locale;