summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-09-06 09:33:00 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-09-06 09:33:00 +0100
commitd137bda4547ec6ecc07dec4c32097428f022ed7c (patch)
tree64bc57f1de1eec57badeda87a6187e5b47de772f /amiga
parente5c34567dcb6a8693f67163bb46f32fa2acc4811 (diff)
downloadnetsurf-d137bda4547ec6ecc07dec4c32097428f022ed7c.tar.gz
netsurf-d137bda4547ec6ecc07dec4c32097428f022ed7c.tar.bz2
Move status bar gadget to the correct place on OS3
Still practically useless as it constantly overprints.
Diffstat (limited to 'amiga')
-rw-r--r--amiga/gui.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index fcf3fd8dc..b4f3b136d 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -4200,11 +4200,15 @@ gui_window_create(struct browser_window *bw,
"frbuttonclass", /**\todo find appropriate class which works on OS3 */
GA_ID, GID_STATUS,
GA_Left, scrn->WBorLeft + 2,
+#ifdef __amigaos4__
GA_RelBottom, -((2 + height + scrn->WBorBottom - scrn->RastPort.TxHeight)/2),
+ GA_BottomBorder, TRUE,
+#else
+ GA_Top, g->shared->win->Height,
+#endif
GA_Width, width,
GA_Height, 1 + height - scrn->WBorBottom,
GA_DrawInfo, dri,
- GA_BottomBorder, TRUE,
GA_ReadOnly, TRUE,
GA_Disabled, TRUE,
GA_Image, (struct Image *)NewObject(