diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-25 09:01:41 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-25 09:01:41 +0300 |
commit | 242e8231ea61278fe482020658be86c2dec0ae53 (patch) | |
tree | bb88541f9f808cb5a3af769fe265439341e97237 /src/ui/sidebarwidget.h | |
parent | ed2c4a872dbddd2eaa13b280543ffabb0d197851 (diff) |
Persistent bookmark folder state
Incremented the version of state.lgr so it can include bookmark folder open/closed state for each of the two/four sidebars.
Diffstat (limited to 'src/ui/sidebarwidget.h')
-rw-r--r-- | src/ui/sidebarwidget.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.h b/src/ui/sidebarwidget.h index 2894a951..638a1f2f 100644 --- a/src/ui/sidebarwidget.h +++ b/src/ui/sidebarwidget.h | |||
@@ -24,6 +24,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
24 | 24 | ||
25 | #include "widget.h" | 25 | #include "widget.h" |
26 | 26 | ||
27 | #include <the_Foundation/intset.h> | ||
28 | |||
27 | enum iSidebarMode { | 29 | enum iSidebarMode { |
28 | bookmarks_SidebarMode, | 30 | bookmarks_SidebarMode, |
29 | feeds_SidebarMode, | 31 | feeds_SidebarMode, |
@@ -49,8 +51,10 @@ iDeclareWidgetClass(SidebarWidget) | |||
49 | iDeclareObjectConstructionArgs(SidebarWidget, enum iSidebarSide side) | 51 | iDeclareObjectConstructionArgs(SidebarWidget, enum iSidebarSide side) |
50 | 52 | ||
51 | iBool setMode_SidebarWidget (iSidebarWidget *, enum iSidebarMode mode); | 53 | iBool setMode_SidebarWidget (iSidebarWidget *, enum iSidebarMode mode); |
54 | void setWidth_SidebarWidget (iSidebarWidget *, float widthAsGaps); | ||
52 | iBool setButtonFont_SidebarWidget (iSidebarWidget *, int font); | 55 | iBool setButtonFont_SidebarWidget (iSidebarWidget *, int font); |
56 | void setClosedFolders_SidebarWidget (iSidebarWidget *, const iIntSet *closedFolders); | ||
53 | 57 | ||
54 | enum iSidebarMode mode_SidebarWidget (const iSidebarWidget *); | 58 | enum iSidebarMode mode_SidebarWidget (const iSidebarWidget *); |
55 | float width_SidebarWidget (const iSidebarWidget *); | 59 | float width_SidebarWidget (const iSidebarWidget *); |
56 | void setWidth_SidebarWidget (iSidebarWidget *, float widthAsGaps); | 60 | const iIntSet * closedFolders_SidebarWidget (const iSidebarWidget *); |