diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-04 09:04:49 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-04 09:04:49 +0200 |
commit | c8089179f84a2cabd84a47a800aaadd9af8bd9b8 (patch) | |
tree | 5270a456534b801f1f5fb0c600f9cd34fbbd7a28 /src/ui/sidebarwidget.h | |
parent | 9fde33bb6f8149cc8dee7ac626b8b56f9f1cd14e (diff) |
Added a second sidebar; removed hover outline
A sidebar on the right is a better solution than a kludgy non-interactive special-purpose outline that appears when hoving the mouse on the document scrollbar.
Diffstat (limited to 'src/ui/sidebarwidget.h')
-rw-r--r-- | src/ui/sidebarwidget.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.h b/src/ui/sidebarwidget.h index 0d4ed9c8..fa74e049 100644 --- a/src/ui/sidebarwidget.h +++ b/src/ui/sidebarwidget.h | |||
@@ -33,8 +33,13 @@ enum iSidebarMode { | |||
33 | max_SidebarMode | 33 | max_SidebarMode |
34 | }; | 34 | }; |
35 | 35 | ||
36 | enum iSidebarSide { | ||
37 | left_SideBarSide, | ||
38 | right_SideBarSide, | ||
39 | }; | ||
40 | |||
36 | iDeclareWidgetClass(SidebarWidget) | 41 | iDeclareWidgetClass(SidebarWidget) |
37 | iDeclareObjectConstruction(SidebarWidget) | 42 | iDeclareObjectConstructionArgs(SidebarWidget, enum iSidebarSide side) |
38 | 43 | ||
39 | iBool setMode_SidebarWidget (iSidebarWidget *, enum iSidebarMode mode); | 44 | iBool setMode_SidebarWidget (iSidebarWidget *, enum iSidebarMode mode); |
40 | 45 | ||