From 5449303bd1bf27e4cc8baccb0985e4d52c563caf Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Tue, 20 Nov 2012 00:29:20 +0100 Subject: Ripped Windom out of the treeview implementation, it still requires scroll event handling to be implemented. --- atari/rootwin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'atari/rootwin.c') diff --git a/atari/rootwin.c b/atari/rootwin.c index a05c66e09..aff910c78 100755 --- a/atari/rootwin.c +++ b/atari/rootwin.c @@ -122,7 +122,7 @@ static short handle_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8]) case WM_CLOSED: gw = FIND_NS_GUI_WINDOW(win); if( gw != NULL ) { - browser_window_destroy( gw->browser->bw ); + browser_window_destroy(gw->browser->bw ); } break; @@ -158,9 +158,9 @@ static short handle_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8]) } -int window_create( struct gui_window * gw, +int window_create(struct gui_window * gw, struct browser_window * bw, - unsigned long inflags ) + unsigned long inflags) { int err = 0; bool tb, sb; @@ -343,7 +343,7 @@ void window_set_stauts(struct gui_window * gw , char * text ) } /* set focus to an arbitary element */ -void window_set_focus( struct gui_window * gw, enum focus_element_type type, void * element ) +void window_set_focus(struct gui_window * gw, enum focus_element_type type, void * element) { if( gw->root->focus.type != type || gw->root->focus.element != element ) { LOG(("Set focus: %p (%d)\n", element, type)); -- cgit v1.2.3