diff options
author | Ole Loots <ole@monochrom.net> | 2012-11-18 23:22:43 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-11-18 23:22:43 +0100 |
commit | c415f9bf989f83c7ced6bb930e3421dab6f4093b (patch) | |
tree | 24c552b5f1d8194b518538d04587f8b2c556a2f0 /atari/toolbar.c | |
parent | e042008f2b7295243d2e6c72f948febe3cad0516 (diff) | |
download | netsurf-c415f9bf989f83c7ced6bb930e3421dab6f4093b.tar.gz netsurf-c415f9bf989f83c7ced6bb930e3421dab6f4093b.tar.bz2 |
Start to remove windom, wip.
- Refactored menu event handling.
- Load plain GEM resources.
- Refactored Event handling
Diffstat (limited to 'atari/toolbar.c')
-rwxr-xr-x | atari/toolbar.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/atari/toolbar.c b/atari/toolbar.c index 3594d24c0..396cccbc4 100755 --- a/atari/toolbar.c +++ b/atari/toolbar.c @@ -43,7 +43,7 @@ #include "atari/clipboard.h"
#include "atari/gui.h"
#include "atari/toolbar.h"
-#include "atari/browser_win.h"
+#include "atari/rootwin.h"
#include "atari/browser.h"
#include "atari/clipboard.h"
#include "atari/misc.h"
@@ -176,8 +176,8 @@ void toolbar_init( void ) } else { RsrcGaddr( h_gem_rsrc, R_TREE, TOOLBAR, &toolbar_buttons ); - toolbar_buttons->ob_x = 0;
- toolbar_buttons->ob_y = 0; + //toolbar_buttons->ob_x = 0;
+ //toolbar_buttons->ob_y = 0; RsrcGaddr( h_gem_rsrc, R_TREE, THROBBER , &throbber_form );
throbber_form->ob_x = 0;
@@ -279,8 +279,8 @@ static void __CDECL button_redraw( COMPONENT *c, long buff[8], void * data ) tree = &toolbar_buttons[bt->rsc_id]; if( tree == NULL ) return; - tree->ob_x = work.g_x;
- tree->ob_y = work.g_y + (work.g_h - tree->ob_height) / 2; + //tree->ob_x = work.g_x;
+ //tree->ob_y = work.g_y + (work.g_h - tree->ob_height) / 2; if( drawstate == button_off ) {
tree->ob_state |= OS_DISABLED;
} else {
|