diff options
author | Ole Loots <ole@monochrom.net> | 2012-07-27 03:47:42 +0200 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-07-27 03:47:42 +0200 |
commit | 7d011c62ff249161dfb03ee8ecf0716d41d3d353 (patch) | |
tree | e71edc42d7147bcd454603f1aaa12028397fc6e5 /atari/hotlist.c | |
parent | e4d83d660e494d05ece1bd98799424dd035bdfad (diff) | |
download | netsurf-7d011c62ff249161dfb03ee8ecf0716d41d3d353.tar.gz netsurf-7d011c62ff249161dfb03ee8ecf0716d41d3d353.tar.bz2 |
Open hotlist and history at top right corner
Diffstat (limited to 'atari/hotlist.c')
-rwxr-xr-x | atari/hotlist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/atari/hotlist.c b/atari/hotlist.c index 345c6d87f..18d016e49 100755 --- a/atari/hotlist.c +++ b/atari/hotlist.c @@ -134,11 +134,14 @@ void hotlist_init(void) void hotlist_open(void) { + GRECT pos = {app.w - (app.w/3), app.y, app.w/3, app.h/2}; + if( hl.init == false ) { return; } + if( hl.open == false ) { - WindOpen( hl.window, -1, -1, app.w/3, app.h/2); + WindOpen( hl.window, pos.g_x, pos.g_y, pos.g_w, pos.g_h); hl.open = true; atari_treeview_open( hl.tv ); } else { |