diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-21 15:13:30 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-21 15:13:30 +0200 |
commit | f58a551096aa82986d1270c52dd385110ee8c506 (patch) | |
tree | 9fe7d451c44615a039a55d0053d3a3a7b4710887 /src/ui/sidebarwidget.h | |
parent | f5f3383efa8fa6533936c042aedcc1cddc3985d6 (diff) |
Animated widget offsets; phone sidebars
Diffstat (limited to 'src/ui/sidebarwidget.h')
-rw-r--r-- | src/ui/sidebarwidget.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ui/sidebarwidget.h b/src/ui/sidebarwidget.h index fa74e049..d7029b0f 100644 --- a/src/ui/sidebarwidget.h +++ b/src/ui/sidebarwidget.h | |||
@@ -33,6 +33,8 @@ enum iSidebarMode { | |||
33 | max_SidebarMode | 33 | max_SidebarMode |
34 | }; | 34 | }; |
35 | 35 | ||
36 | const char * icon_SidebarMode (enum iSidebarMode mode); | ||
37 | |||
36 | enum iSidebarSide { | 38 | enum iSidebarSide { |
37 | left_SideBarSide, | 39 | left_SideBarSide, |
38 | right_SideBarSide, | 40 | right_SideBarSide, |
@@ -41,8 +43,9 @@ enum iSidebarSide { | |||
41 | iDeclareWidgetClass(SidebarWidget) | 43 | iDeclareWidgetClass(SidebarWidget) |
42 | iDeclareObjectConstructionArgs(SidebarWidget, enum iSidebarSide side) | 44 | iDeclareObjectConstructionArgs(SidebarWidget, enum iSidebarSide side) |
43 | 45 | ||
44 | iBool setMode_SidebarWidget (iSidebarWidget *, enum iSidebarMode mode); | 46 | iBool setMode_SidebarWidget (iSidebarWidget *, enum iSidebarMode mode); |
47 | void setButtonFont_SidebarWidget (iSidebarWidget *, int font); | ||
45 | 48 | ||
46 | enum iSidebarMode mode_SidebarWidget (const iSidebarWidget *); | 49 | enum iSidebarMode mode_SidebarWidget (const iSidebarWidget *); |
47 | int width_SidebarWidget (const iSidebarWidget *); | 50 | int width_SidebarWidget (const iSidebarWidget *); |
48 | void setWidth_SidebarWidget (iSidebarWidget *, int width); | 51 | void setWidth_SidebarWidget (iSidebarWidget *, int width); |