mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
[project @ 2004-08-11 16:38:04 by jmb]
Add gui and plugin sources missed from previous checkin svn path=/import/netsurf/; revision=1210
This commit is contained in:
parent
d6ceb37fad
commit
dba4904ddb
@ -1018,8 +1018,7 @@ void ro_gui_user_message(wimp_event_no event, wimp_message *message)
|
||||
case message_PLUG_IN_NOTIFY:
|
||||
case message_PLUG_IN_ABORT:
|
||||
case message_PLUG_IN_ACTION:
|
||||
plugin_msg_parse(message,
|
||||
event == wimp_USER_MESSAGE_ACKNOWLEDGE);
|
||||
plugin_msg_parse(message, event == wimp_USER_MESSAGE_ACKNOWLEDGE);
|
||||
break;
|
||||
#endif
|
||||
#ifdef WITH_PRINT
|
||||
|
@ -39,6 +39,7 @@ extern wimp_menu *current_menu;
|
||||
extern osspriteop_area *gui_sprites;
|
||||
extern struct toolbar *hotlist_toolbar;
|
||||
extern bool dialog_folder_add, dialog_entry_add, hotlist_insert;
|
||||
extern bool print_active;
|
||||
|
||||
typedef enum {
|
||||
GUI_SAVE_SOURCE,
|
||||
|
@ -540,7 +540,7 @@ void plugin_destroy(struct content *c)
|
||||
/**
|
||||
* Redraw plugin on page.
|
||||
*/
|
||||
void plugin_redraw(struct content *c, int x, int y,
|
||||
bool plugin_redraw(struct content *c, int x, int y,
|
||||
int width, int height,
|
||||
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
|
||||
float scale)
|
||||
@ -555,6 +555,7 @@ void plugin_redraw(struct content *c, int x, int y,
|
||||
npl->state);
|
||||
need_reformat = 0;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
@ -75,7 +75,7 @@ bool plugin_process_data(struct content *c, char *data, unsigned int size);
|
||||
bool plugin_convert(struct content *c, int width, int height);
|
||||
void plugin_reformat(struct content *c, int width, int height);
|
||||
void plugin_destroy(struct content *c);
|
||||
void plugin_redraw(struct content *c, int x, int y,
|
||||
bool plugin_redraw(struct content *c, int x, int y,
|
||||
int width, int height,
|
||||
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
|
||||
float scale);
|
||||
|
Loading…
Reference in New Issue
Block a user