summaryrefslogtreecommitdiff
path: root/frontends/amiga/corewindow.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-01-02 18:41:40 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-01-02 18:41:40 +0000
commit48e95ad2b3ede2b6170b635074bf0ee1010dfb39 (patch)
tree06ace329246f0836fc571d45c296d88ea5937750 /frontends/amiga/corewindow.h
parent0fafa9576e8963928c13c81524e64b624b794c98 (diff)
downloadnetsurf-48e95ad2b3ede2b6170b635074bf0ee1010dfb39.tar.gz
netsurf-48e95ad2b3ede2b6170b635074bf0ee1010dfb39.tar.bz2
show/hide scrollbars as required
move the sslcert scrollbars into the window as per the style guide
Diffstat (limited to 'frontends/amiga/corewindow.h')
-rw-r--r--frontends/amiga/corewindow.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontends/amiga/corewindow.h b/frontends/amiga/corewindow.h
index 42c0f0367..ba754d6df 100644
--- a/frontends/amiga/corewindow.h
+++ b/frontends/amiga/corewindow.h
@@ -34,6 +34,8 @@ enum {
GID_CW_DRAW, /* drawing area (space.gadget) */
GID_CW_HSCROLL, /* horizontal scroller */
GID_CW_VSCROLL, /* vertical scroller */
+ GID_CW_HSCROLLLAYOUT, /* horizontal scroller container*/
+ GID_CW_VSCROLLLAYOUT, /* vertical scroller container */
GID_CW_LAST
};
@@ -57,6 +59,11 @@ struct ami_corewindow {
APTR deferred_rects_pool;
struct MinList *deferred_rects;
+ /** keep track of the scrollbar type we're using */
+ bool in_border_scroll;
+ bool scroll_x_visible;
+ bool scroll_y_visible;
+
/** window title, must be allocated wth ami_utf8 function */
char *wintitle;