mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 13:06:49 +03:00
Removed unused declarations.
svn path=/trunk/netsurf/; revision=13209
This commit is contained in:
parent
5f69abb504
commit
6f699c05b0
@ -75,8 +75,6 @@ void __CDECL std_mvd( WINDOW * win, short buff[8], void * );
|
|||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* Static module methods follow here: */
|
/* Static module methods follow here: */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
static void evnt_toolbar_click(WINDOW * win, short buf[8], void * data);
|
|
||||||
static void __CDECL evnt_window_redraw( WINDOW *win, short buff[8], void *data );
|
|
||||||
static void __CDECL evnt_window_icondraw( WINDOW *win, short buff[8], void *data );
|
static void __CDECL evnt_window_icondraw( WINDOW *win, short buff[8], void *data );
|
||||||
static void __CDECL evnt_window_newtop( WINDOW *win, short buff[8], void *data );
|
static void __CDECL evnt_window_newtop( WINDOW *win, short buff[8], void *data );
|
||||||
void __CDECL evnt_window_resize( WINDOW *win, short buff[8], void * data );
|
void __CDECL evnt_window_resize( WINDOW *win, short buff[8], void * data );
|
||||||
@ -85,8 +83,6 @@ static void __CDECL evnt_window_rt_resize( WINDOW *win, short buff[8], void * da
|
|||||||
static void __CDECL evnt_window_close( WINDOW *win, short buff[8], void *data );
|
static void __CDECL evnt_window_close( WINDOW *win, short buff[8], void *data );
|
||||||
static void __CDECL evnt_window_dd( WINDOW *win, short wbuff[8], void * data ) ;
|
static void __CDECL evnt_window_dd( WINDOW *win, short wbuff[8], void * data ) ;
|
||||||
static void __CDECL evnt_window_destroy( WINDOW *win, short buff[8], void *data );
|
static void __CDECL evnt_window_destroy( WINDOW *win, short buff[8], void *data );
|
||||||
static void __CDECL evnt_window_keybd(WINDOW *win, short buff[8], void *data );
|
|
||||||
static void __CDECL evnt_window_mbutton(WINDOW *win, short buff[8], void *data );
|
|
||||||
static void __CDECL evnt_window_m1( WINDOW * win, short buff[8], void * data);
|
static void __CDECL evnt_window_m1( WINDOW * win, short buff[8], void * data);
|
||||||
static void __CDECL evnt_window_slider( WINDOW * win, short buff[8], void * data);
|
static void __CDECL evnt_window_slider( WINDOW * win, short buff[8], void * data);
|
||||||
static void __CDECL evnt_window_arrowed( WINDOW *win, short buff[8], void *data );
|
static void __CDECL evnt_window_arrowed( WINDOW *win, short buff[8], void *data );
|
||||||
@ -642,16 +638,6 @@ static void __CDECL evnt_window_newtop( WINDOW *win, short buff[8], void *data )
|
|||||||
assert( input_window != NULL );
|
assert( input_window != NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __CDECL evnt_window_shaded( WINDOW *win, short buff[8], void *data )
|
|
||||||
{
|
|
||||||
if(buff[0] == WM_SHADED){
|
|
||||||
LOG(("WM_SHADED, vis: %d, state: %d", GEMWIN_VISIBLE(win), win->status ));
|
|
||||||
}
|
|
||||||
if(buff[0] == WM_UNSHADED){
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static void __CDECL evnt_window_slider( WINDOW * win, short buff[8], void * data)
|
static void __CDECL evnt_window_slider( WINDOW * win, short buff[8], void * data)
|
||||||
{
|
{
|
||||||
int dx = buff[4];
|
int dx = buff[4];
|
||||||
@ -677,8 +663,6 @@ static void __CDECL evnt_window_slider( WINDOW * win, short buff[8], void * data
|
|||||||
browser_scroll( gw, WA_RTPAGE, abs(dx), false );
|
browser_scroll( gw, WA_RTPAGE, abs(dx), false );
|
||||||
else if( dx < 0 )
|
else if( dx < 0 )
|
||||||
browser_scroll( gw, WA_LFPAGE, abs(dx), false );
|
browser_scroll( gw, WA_LFPAGE, abs(dx), false );
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -56,8 +56,6 @@ struct s_menu_item_evnt {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
void snd_redraw(short x, short y, short w, short h);
|
|
||||||
void snd_win_redraw(WINDOW * win, short x, short y, short w, short h);
|
|
||||||
/* Call this after each call to evnt_multi, to check for states that evnt_multi doesn't: */
|
/* Call this after each call to evnt_multi, to check for states that evnt_multi doesn't: */
|
||||||
void global_track_mouse_state( LGRECT * bwrect, bool within, short, short, short, short );
|
void global_track_mouse_state( LGRECT * bwrect, bool within, short, short, short, short );
|
||||||
void bind_global_events( void );
|
void bind_global_events( void );
|
||||||
|
@ -73,15 +73,10 @@ struct s_toolbar
|
|||||||
struct s_tb_button * buttons;
|
struct s_tb_button * buttons;
|
||||||
int btcnt;
|
int btcnt;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* interface to the toolbar */
|
||||||
CMP_TOOLBAR tb_create( struct gui_window * gw );
|
CMP_TOOLBAR tb_create( struct gui_window * gw );
|
||||||
void tb_destroy( CMP_TOOLBAR tb );
|
void tb_destroy( CMP_TOOLBAR tb );
|
||||||
|
|
||||||
|
|
||||||
static void __CDECL evnt_toolbar_redraw( COMPONENT *c, long buff[8], void *data );
|
|
||||||
//static void __CDECL evnt_toolbar_mbutton( COMPONENT *c, long buff[8], void *data );
|
|
||||||
static void __CDECL evnt_toolbar_resize( COMPONENT *c, long buff[8], void *data );
|
|
||||||
|
|
||||||
/* recalculate size/position of nested controls within the toolbar: */
|
/* recalculate size/position of nested controls within the toolbar: */
|
||||||
void tb_adjust_size( struct gui_window * gw );
|
void tb_adjust_size( struct gui_window * gw );
|
||||||
/* report click to toolbar, relative coords : */
|
/* report click to toolbar, relative coords : */
|
||||||
@ -91,7 +86,6 @@ void tb_reload_click( struct gui_window * gw );
|
|||||||
void tb_forward_click( struct gui_window * gw );
|
void tb_forward_click( struct gui_window * gw );
|
||||||
void tb_home_click( struct gui_window * gw );
|
void tb_home_click( struct gui_window * gw );
|
||||||
void tb_stop_click( struct gui_window * gw );
|
void tb_stop_click( struct gui_window * gw );
|
||||||
|
|
||||||
/* enable / disable buttons etc. */
|
/* enable / disable buttons etc. */
|
||||||
void tb_update_buttons( struct gui_window * gw );
|
void tb_update_buttons( struct gui_window * gw );
|
||||||
/* handles clicks on url widget: */
|
/* handles clicks on url widget: */
|
||||||
@ -102,7 +96,6 @@ bool tb_url_input( struct gui_window * gw, short keycode );
|
|||||||
void tb_url_set( struct gui_window * gw, char * text );
|
void tb_url_set( struct gui_window * gw, char * text );
|
||||||
/* perform redraw of invalidated url textinput areas: */
|
/* perform redraw of invalidated url textinput areas: */
|
||||||
void tb_url_redraw( struct gui_window * gw );
|
void tb_url_redraw( struct gui_window * gw );
|
||||||
|
|
||||||
struct gui_window * tb_gui_window( CMP_TOOLBAR tb );
|
struct gui_window * tb_gui_window( CMP_TOOLBAR tb );
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user