19#ifndef NS_ATARI_BROWSER_WIN_H
20#define NS_ATARI_BROWSER_WIN_H
24#define GEMTK_WM_VISIBLE(gw) (gw->root->handle->status & WS_OPEN)
25#define GEMWIN_VISIBLE(win) (win->status & WS_OPEN)
27#define WIDGET_STATUSBAR 0x1
28#define WIDGET_TOOLBAR 0x2
29#define WIDGET_SCROLL 0x4
30#define WIDGET_RESIZE 0x8
50 unsigned long flags );
83 int content_y,
int h, GRECT *work);
static os_mode mode
The current sprite mode.
void window_set_content_size(ROOTWIN *rootwin, int w, int h)
Set the dimensions of the scrollable content.
void window_get_scroll(ROOTWIN *rootwin, int *x, int *y)
void window_restore_active_gui_window(ROOTWIN *rootwin)
void window_update_back_forward(struct s_gui_win_root *rootwin)
void window_set_active_gui_window(ROOTWIN *rootwin, struct gui_window *gw)
void window_set_icon(ROOTWIN *rootwin, struct bitmap *bmp)
bool window_url_widget_has_focus(ROOTWIN *rootwin)
struct gui_window * window_get_active_gui_window(ROOTWIN *rootwin)
void window_scroll_by(ROOTWIN *rootwin, int x, int y)
void window_schedule_redraw_grect(ROOTWIN *rootwin, GRECT *area)
void window_set_focus(ROOTWIN *rootwin, enum focus_element_type type, void *element)
void window_unref_gui_window(ROOTWIN *rootwin, struct gui_window *gw)
void window_set_title(ROOTWIN *rootwin, char *text)
void window_redraw_favicon(struct s_gui_win_root *rootwin, GRECT *clip)
Redraw the favicon.
void window_open_search(ROOTWIN *rootwin, bool reformat)
void window_close_search(ROOTWIN *rootwin)
bool window_widget_has_focus(ROOTWIN *rootwin, enum focus_element_type t, void *element)
void window_get_grect(ROOTWIN *rootwin, enum browser_area_e which, GRECT *d)
void window_place_caret(ROOTWIN *rootwin, short mode, int content_x, int content_y, int h, GRECT *work)
bool window_key_input(unsigned short kcode, unsigned short kstate, unsigned short nkc)
void window_set_stauts(ROOTWIN *rootwin, char *text)
int window_create(struct gui_window *gw, struct browser_window *bw, struct gui_window *existing, unsigned long flags)
void window_set_url(ROOTWIN *rootwin, const char *text)
void window_open(ROOTWIN *rootwin, struct gui_window *gw, GRECT pos)
show the window at specified position and make gw the active tab.
void window_snd_redraw(ROOTWIN *rootwin, short x, short y, short w, short h)
int window_destroy(ROOTWIN *rootwin)
void window_process_redraws(ROOTWIN *rootwin)
void window_attach_browser(ROOTWIN *rootwin, CMP_BROWSER b)
RISC OS wimp toolkit bitmap.
first entry in window list
static nserror text(const struct redraw_context *ctx, const struct plot_font_style *fstyle, int x, int y, const char *text, size_t length)
Text plotting.
static nserror clip(const struct redraw_context *ctx, const struct rect *clip)
Sets a clip rectangle for subsequent plot operations.