mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 09:12:44 +03:00
Fix status bar tags
This commit is contained in:
parent
36bc32b87b
commit
0e75f9909e
15
amiga/gui.c
15
amiga/gui.c
@ -4041,22 +4041,27 @@ gui_window_create(struct browser_window *bw,
|
|||||||
GA_Left, scrn->WBorLeft + 2,
|
GA_Left, scrn->WBorLeft + 2,
|
||||||
GA_RelBottom, -((2 + height + scrn->WBorBottom - scrn->RastPort.TxHeight)/2),
|
GA_RelBottom, -((2 + height + scrn->WBorBottom - scrn->RastPort.TxHeight)/2),
|
||||||
GA_Width, width,
|
GA_Width, width,
|
||||||
|
GA_Height, height - scrn->WBorBottom,
|
||||||
GA_DrawInfo, dri,
|
GA_DrawInfo, dri,
|
||||||
GA_BottomBorder, TRUE,
|
GA_BottomBorder, TRUE,
|
||||||
GA_ReadOnly, TRUE,
|
GA_ReadOnly, TRUE,
|
||||||
#ifdef __amigaos4__
|
GA_Disabled, TRUE,
|
||||||
GA_Image, (struct Image *)NewObject(
|
GA_Image, (struct Image *)NewObject(
|
||||||
NULL,
|
NULL,
|
||||||
|
#ifdef __amigaos4__
|
||||||
"gaugeiclass",
|
"gaugeiclass",
|
||||||
|
GAUGEIA_Level, 0,
|
||||||
|
#else
|
||||||
|
"frameiclass",
|
||||||
|
IA_Recessed, TRUE,
|
||||||
|
#endif
|
||||||
IA_Top, 2 - (scrn->RastPort.TxHeight),
|
IA_Top, 2 - (scrn->RastPort.TxHeight),
|
||||||
IA_Left, -4,
|
IA_Left, -4,
|
||||||
IA_Height, 4 + scrn->RastPort.TxHeight,
|
IA_Height, height - scrn->WBorBottom,
|
||||||
IA_InBorder, TRUE,
|
|
||||||
IA_Label, NULL,
|
IA_Label, NULL,
|
||||||
|
IA_InBorder, TRUE,
|
||||||
IA_Screen, scrn,
|
IA_Screen, scrn,
|
||||||
GAUGEIA_Level, 0,
|
|
||||||
TAG_DONE),
|
TAG_DONE),
|
||||||
#endif
|
|
||||||
TAG_DONE);
|
TAG_DONE);
|
||||||
|
|
||||||
AddGList(g->shared->win, (struct Gadget *)g->shared->objects[GID_STATUS],
|
AddGList(g->shared->win, (struct Gadget *)g->shared->objects[GID_STATUS],
|
||||||
|
Loading…
Reference in New Issue
Block a user