[project @ 2006-01-02 05:23:26 by rjw]
Image configuration tool. svn path=/import/netsurf/; revision=1944
This commit is contained in:
parent
fbed705284
commit
009ac8c7a0
|
@ -68,6 +68,9 @@ void ro_gui_configure_initialise(void) {
|
|||
ro_gui_configure_register("con_memory",
|
||||
ro_gui_options_memory_initialise,
|
||||
ro_gui_wimp_event_finalise);
|
||||
ro_gui_configure_register("con_image",
|
||||
ro_gui_options_image_initialise,
|
||||
ro_gui_options_image_finalise);
|
||||
}
|
||||
|
||||
void ro_gui_configure_show(void) {
|
||||
|
@ -88,7 +91,8 @@ bool ro_gui_configure_click(wimp_pointer *pointer) {
|
|||
if (tool->i == pointer->i) {
|
||||
if (!tool->open) {
|
||||
tool->open = true;
|
||||
tool->initialise(tool->w);
|
||||
if (!tool->initialise(tool->w))
|
||||
return false;
|
||||
ro_gui_dialog_open_persistent(
|
||||
configure_window,
|
||||
tool->w, true);
|
||||
|
|
|
@ -17,5 +17,7 @@
|
|||
|
||||
bool ro_gui_options_fonts_initialise(wimp_w w);
|
||||
bool ro_gui_options_memory_initialise(wimp_w w);
|
||||
bool ro_gui_options_image_initialise(wimp_w w);
|
||||
void ro_gui_options_image_finalise(wimp_w w);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue