summaryrefslogtreecommitdiff
path: root/atari/gui.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2011-04-23 20:09:24 +0000
committerOle Loots <ole@monochrom.net>2011-04-23 20:09:24 +0000
commit45778bbb369e73bc0bc3cabadaabd91560a748e2 (patch)
tree28edf125f507554bc112c88d129847dc0150eff8 /atari/gui.c
parent8d2bb4bd3a5eacbc355fd7ce98c8865f0bcb44e0 (diff)
downloadnetsurf-45778bbb369e73bc0bc3cabadaabd91560a748e2.tar.gz
netsurf-45778bbb369e73bc0bc3cabadaabd91560a748e2.tar.bz2
Improved path conversion for DOS Filesystems.
svn path=/trunk/netsurf/; revision=12236
Diffstat (limited to 'atari/gui.c')
-rwxr-xr-xatari/gui.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/atari/gui.c b/atari/gui.c
index b8a437778..75664e5c1 100755
--- a/atari/gui.c
+++ b/atari/gui.c
@@ -150,17 +150,22 @@ void gui_poll(bool active)
}
}
- if( evnt.timer >= 0 ) {
+ /*printf("time: %d, active: %d, pending: %d\n", evnt.timer,
+ active, browser_reformat_pending );*/
+ if( evnt.timer > 0 ) {
flags |= MU_TIMER;
+ EvntWindom( flags );
}
- EvntWindom( flags );
struct gui_window * g;
for( g = window_list; g != NULL; g=g->next ) {
if( browser_redraw_required( g ) ){
browser_redraw( g );
}
}
- hotlist_redraw();
+ if( evnt.timer != 0 && !active ){
+ /* this suits for stuff with lower priority */
+ hotlist_redraw();
+ }
}
struct gui_window *
@@ -1088,6 +1093,8 @@ static void gui_init(int argc, char** argv)
nkc_init();
atari_plotter_init( option_atari_screen_driver, option_atari_font_driver );
+ LOG(("Knockout rendering: %s\n", option_atari_knockout ? "yes" : "no"));
+ plot_set_knockout( option_atari_knockout );
/* Interface colours */
option_gui_colour_bg_1 = 0xFFFFFF; /** Background (bbggrr) */
option_gui_colour_fg_1 = 0xFF0000; /** Foreground (bbggrr) */
@@ -1124,18 +1131,14 @@ int main(int argc, char** argv)
setbuf(stderr, NULL);
setbuf(stdout, NULL);
#ifdef WITH_DBG_LOGFILE
- verbose_log = true;
freopen("stdout.log", "a+", stdout);
freopen("stderr.log", "a+", stderr);
#endif
-
ApplInit();
-
graf_mouse(BUSY_BEE, NULL);
init_os_info();
atari_find_resource((char*)&messages, "messages", "res/messages");
atari_find_resource((char*)&options, "Choices", "Choices");
-
netsurf_init(&argc, &argv, options, messages);
gui_init(argc, argv);
gui_init2(argc, argv);