From 48e95ad2b3ede2b6170b635074bf0ee1010dfb39 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 2 Jan 2017 18:41:40 +0000 Subject: show/hide scrollbars as required move the sslcert scrollbars into the window as per the style guide --- frontends/amiga/corewindow.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'frontends/amiga/corewindow.h') 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; -- cgit v1.2.3