summaryrefslogtreecommitdiff
path: root/plugingui/tabwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/tabwidget.h')
-rw-r--r--plugingui/tabwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/tabwidget.h b/plugingui/tabwidget.h
index 3f0e041..ff239a8 100644
--- a/plugingui/tabwidget.h
+++ b/plugingui/tabwidget.h
@@ -47,6 +47,9 @@ public:
std::size_t getBarHeight() const;
+ void setTabWidth(std::size_t width);
+ std::size_t getTabWidth() const;
+
private:
//! Callback for Widget::sizeChangeNotifier
void sizeChanged(int width, int height);
@@ -68,6 +71,8 @@ private:
Texture toplogo{getImageCache(), ":resources/toplogo.png",
0, 0, // atlas offset (x, y)
95, 17}; // width, height
+
+ std::size_t tab_width{64};
};
} // GUI::