NetSurf
|
#include <stdbool.h>
#include <swis.h>
#include <oslib/osspriteop.h>
#include <oslib/wimp.h>
#include "utils/nsoption.h"
#include "utils/log.h"
#include "utils/utils.h"
#include "riscos/gui.h"
#include "riscos/configure/configure.h"
#include "riscos/dialog.h"
#include "riscos/menus.h"
#include "riscos/tinct.h"
#include "riscos/wimp.h"
#include "riscos/wimp_event.h"
Go to the source code of this file.
Macros | |
#define | IMAGE_FOREGROUND_FIELD 3 |
#define | IMAGE_FOREGROUND_MENU 4 |
#define | IMAGE_BACKGROUND_FIELD 6 |
#define | IMAGE_BACKGROUND_MENU 7 |
#define | IMAGE_CURRENT_DISPLAY 8 |
#define | IMAGE_DISABLE_ANIMATION 11 |
#define | IMAGE_DEFAULT_BUTTON 12 |
#define | IMAGE_CANCEL_BUTTON 13 |
#define | IMAGE_OK_BUTTON 14 |
Functions | |
static bool | ro_gui_options_image_click (wimp_pointer *pointer) |
static bool | ro_gui_options_image_ok (wimp_w w) |
static void | ro_gui_options_image_redraw (wimp_draw *redraw) |
static bool | ro_gui_options_image_update (wimp_w w, wimp_i i, wimp_menu *m, wimp_selection *s, menu_action a) |
static void | ro_gui_options_image_read (wimp_w w, unsigned int *bg, unsigned int *fg) |
static void | ro_gui_options_update_shading (wimp_w w) |
bool | ro_gui_options_image_initialise (wimp_w w) |
void | ro_gui_options_image_finalise (wimp_w w) |
Variables | |
static osspriteop_area * | example_images |
int | example_users = 0 |
unsigned int | tinct_options [] |
#define IMAGE_BACKGROUND_FIELD 6 |
Definition at line 39 of file con_image.c.
#define IMAGE_BACKGROUND_MENU 7 |
Definition at line 40 of file con_image.c.
#define IMAGE_CANCEL_BUTTON 13 |
Definition at line 44 of file con_image.c.
#define IMAGE_CURRENT_DISPLAY 8 |
Definition at line 41 of file con_image.c.
#define IMAGE_DEFAULT_BUTTON 12 |
Definition at line 43 of file con_image.c.
#define IMAGE_DISABLE_ANIMATION 11 |
Definition at line 42 of file con_image.c.
#define IMAGE_FOREGROUND_FIELD 3 |
Definition at line 37 of file con_image.c.
#define IMAGE_FOREGROUND_MENU 4 |
Definition at line 38 of file con_image.c.
#define IMAGE_OK_BUTTON 14 |
Definition at line 45 of file con_image.c.
|
static |
Definition at line 196 of file con_image.c.
References fallthrough, IMAGE_BACKGROUND_FIELD, IMAGE_CANCEL_BUTTON, IMAGE_DEFAULT_BUTTON, IMAGE_DISABLE_ANIMATION, IMAGE_FOREGROUND_FIELD, image_quality_menu, NO_ACTION, ro_gui_options_image_read(), ro_gui_options_image_update(), ro_gui_options_update_shading(), ro_gui_set_icon_selected_state(), ro_gui_set_icon_string(), and ro_gui_wimp_event_restore().
Referenced by ro_gui_options_image_initialise().
void ro_gui_options_image_finalise | ( | wimp_w | w | ) |
Definition at line 112 of file con_image.c.
References example_images, example_users, and ro_gui_wimp_event_finalise().
Referenced by ro_gui_configure_initialise().
bool ro_gui_options_image_initialise | ( | wimp_w | w | ) |
Definition at line 61 of file con_image.c.
References example_images, example_users, IMAGE_BACKGROUND_FIELD, IMAGE_BACKGROUND_MENU, IMAGE_CANCEL_BUTTON, IMAGE_DISABLE_ANIMATION, IMAGE_FOREGROUND_FIELD, IMAGE_FOREGROUND_MENU, IMAGE_OK_BUTTON, image_quality_menu, NETSURF_DIR, nsoption_bool, nsoption_int, ro_gui_load_sprite_file(), ro_gui_options_image_click(), ro_gui_options_image_ok(), ro_gui_options_image_redraw(), ro_gui_options_image_update(), ro_gui_options_update_shading(), ro_gui_set_icon_selected_state(), ro_gui_set_icon_string(), ro_gui_wimp_event_memorise(), ro_gui_wimp_event_register_cancel(), ro_gui_wimp_event_register_checkbox(), ro_gui_wimp_event_register_menu_gright(), ro_gui_wimp_event_register_menu_selection(), ro_gui_wimp_event_register_mouse_click(), ro_gui_wimp_event_register_ok(), ro_gui_wimp_event_register_redraw_window(), ro_gui_wimp_event_set_help_prefix(), and tinct_options.
Referenced by ro_gui_configure_initialise().
|
static |
Definition at line 239 of file con_image.c.
References IMAGE_DISABLE_ANIMATION, nsoption_int, nsoption_set_bool, ro_gui_get_icon_selected_state(), ro_gui_options_image_read(), and ro_gui_save_options().
Referenced by ro_gui_options_image_initialise().
|
static |
Definition at line 178 of file con_image.c.
References IMAGE_BACKGROUND_FIELD, IMAGE_FOREGROUND_FIELD, image_quality_menu, ro_gui_get_icon_string(), text(), and tinct_options.
Referenced by ro_gui_options_image_click(), ro_gui_options_image_ok(), and ro_gui_options_image_redraw().
|
static |
Definition at line 130 of file con_image.c.
References example_images, IMAGE_CURRENT_DISPLAY, NSLOG, ro_gui_options_image_read(), ro_warn_user(), Tinct_Plot, and Tinct_PlotAlpha.
Referenced by ro_gui_options_image_initialise().
|
static |
Definition at line 122 of file con_image.c.
References IMAGE_CURRENT_DISPLAY, and ro_gui_redraw_icon.
Referenced by ro_gui_options_image_click(), and ro_gui_options_image_initialise().
|
static |
Definition at line 232 of file con_image.c.
References IMAGE_DISABLE_ANIMATION, and ro_gui_get_icon_selected_state().
Referenced by ro_gui_options_image_click(), and ro_gui_options_image_initialise().
|
static |
Definition at line 56 of file con_image.c.
Referenced by ro_gui_options_image_finalise(), ro_gui_options_image_initialise(), and ro_gui_options_image_redraw().
int example_users = 0 |
Definition at line 57 of file con_image.c.
Referenced by ro_gui_options_image_finalise(), and ro_gui_options_image_initialise().
unsigned int tinct_options[] |
Definition at line 58 of file con_image.c.
Referenced by image_redraw(), image_redraw_tinct(), ro_gui_options_image_initialise(), and ro_gui_options_image_read().