[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:
John Mark Bell 2004-08-11 16:38:04 +00:00
parent d6ceb37fad
commit dba4904ddb
4 changed files with 5 additions and 4 deletions

View File

@ -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_NOTIFY:
case message_PLUG_IN_ABORT: case message_PLUG_IN_ABORT:
case message_PLUG_IN_ACTION: case message_PLUG_IN_ACTION:
plugin_msg_parse(message, plugin_msg_parse(message, event == wimp_USER_MESSAGE_ACKNOWLEDGE);
event == wimp_USER_MESSAGE_ACKNOWLEDGE);
break; break;
#endif #endif
#ifdef WITH_PRINT #ifdef WITH_PRINT

View File

@ -39,6 +39,7 @@ extern wimp_menu *current_menu;
extern osspriteop_area *gui_sprites; extern osspriteop_area *gui_sprites;
extern struct toolbar *hotlist_toolbar; extern struct toolbar *hotlist_toolbar;
extern bool dialog_folder_add, dialog_entry_add, hotlist_insert; extern bool dialog_folder_add, dialog_entry_add, hotlist_insert;
extern bool print_active;
typedef enum { typedef enum {
GUI_SAVE_SOURCE, GUI_SAVE_SOURCE,

View File

@ -540,7 +540,7 @@ void plugin_destroy(struct content *c)
/** /**
* Redraw plugin on page. * 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 width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1, int clip_x0, int clip_y0, int clip_x1, int clip_y1,
float scale) float scale)
@ -555,6 +555,7 @@ void plugin_redraw(struct content *c, int x, int y,
npl->state); npl->state);
need_reformat = 0; need_reformat = 0;
} }
return true;
} }
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/

View File

@ -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); bool plugin_convert(struct content *c, int width, int height);
void plugin_reformat(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_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 width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1, int clip_x0, int clip_y0, int clip_x1, int clip_y1,
float scale); float scale);