Author: mono
Date: Wed Nov 30 16:36:52 2011
New Revision: 13209
URL:
http://source.netsurf-browser.org?rev=13209&view=rev
Log:
Removed unused declarations.
Modified:
trunk/netsurf/atari/browser_win.c
trunk/netsurf/atari/global_evnt.h
trunk/netsurf/atari/toolbar.h
Modified: trunk/netsurf/atari/browser_win.c
URL:
http://source.netsurf-browser.org/trunk/netsurf/atari/browser_win.c?rev=1...
==============================================================================
--- trunk/netsurf/atari/browser_win.c (original)
+++ trunk/netsurf/atari/browser_win.c Wed Nov 30 16:36:52 2011
@@ -75,8 +75,6 @@
/* -------------------------------------------------------------------------- */
/* 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_newtop( 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_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_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_slider( WINDOW * win, short buff[8], void * data);
static void __CDECL evnt_window_arrowed( WINDOW *win, short buff[8], void *data );
@@ -642,16 +638,6 @@
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)
{
int dx = buff[4];
@@ -677,8 +663,6 @@
browser_scroll( gw, WA_RTPAGE, abs(dx), false );
else if( dx < 0 )
browser_scroll( gw, WA_LFPAGE, abs(dx), false );
-
-
}
Modified: trunk/netsurf/atari/global_evnt.h
URL:
http://source.netsurf-browser.org/trunk/netsurf/atari/global_evnt.h?rev=1...
==============================================================================
--- trunk/netsurf/atari/global_evnt.h (original)
+++ trunk/netsurf/atari/global_evnt.h Wed Nov 30 16:36:52 2011
@@ -56,8 +56,6 @@
*/
-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: */
void global_track_mouse_state( LGRECT * bwrect, bool within, short, short, short, short
);
void bind_global_events( void );
Modified: trunk/netsurf/atari/toolbar.h
URL:
http://source.netsurf-browser.org/trunk/netsurf/atari/toolbar.h?rev=13209...
==============================================================================
--- trunk/netsurf/atari/toolbar.h (original)
+++ trunk/netsurf/atari/toolbar.h Wed Nov 30 16:36:52 2011
@@ -73,15 +73,10 @@
struct s_tb_button * buttons;
int btcnt;
};
-
+
+/* interface to the toolbar */
CMP_TOOLBAR tb_create( struct gui_window * gw );
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: */
void tb_adjust_size( struct gui_window * gw );
/* report click to toolbar, relative coords : */
@@ -91,7 +86,6 @@
void tb_forward_click( struct gui_window * gw );
void tb_home_click( struct gui_window * gw );
void tb_stop_click( struct gui_window * gw );
-
/* enable / disable buttons etc. */
void tb_update_buttons( struct gui_window * gw );
/* handles clicks on url widget: */
@@ -102,7 +96,6 @@
void tb_url_set( struct gui_window * gw, char * text );
/* perform redraw of invalidated url textinput areas: */
void tb_url_redraw( struct gui_window * gw );
-
struct gui_window * tb_gui_window( CMP_TOOLBAR tb );
#endif