diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-08-04 13:20:35 (GMT) |
---|---|---|
committer | Thomas Lübking <thomas.luebking@gmail.com> | 2016-08-06 15:09:30 (GMT) |
commit | cc80230bd85dbaf1036b4cf37259d3146229fb00 (patch) | |
tree | e990270246cf1b07bf5eb6c6ba1ebcd71c9dd8b9 /src/FbTk/TextButton.hh | |
parent | 59d9b0703ba8efb24893528f2eb9c84aaa8f5f83 (diff) | |
download | fluxbox-cc80230bd85dbaf1036b4cf37259d3146229fb00.zip fluxbox-cc80230bd85dbaf1036b4cf37259d3146229fb00.tar.bz2 |
expose a preferredWidth of *Button's
Diffstat (limited to 'src/FbTk/TextButton.hh')
-rw-r--r-- | src/FbTk/TextButton.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbTk/TextButton.hh b/src/FbTk/TextButton.hh index fe92cc3..90c7c3d 100644 --- a/src/FbTk/TextButton.hh +++ b/src/FbTk/TextButton.hh | |||
@@ -62,6 +62,7 @@ public: | |||
62 | unsigned int textWidth() const; | 62 | unsigned int textWidth() const; |
63 | int bevel() const { return m_bevel; } | 63 | int bevel() const { return m_bevel; } |
64 | 64 | ||
65 | virtual unsigned int preferredWidth() const; | ||
65 | 66 | ||
66 | protected: | 67 | protected: |
67 | virtual void drawText(int x_offset, int y_offset, FbDrawable *drawable_override); | 68 | virtual void drawText(int x_offset, int y_offset, FbDrawable *drawable_override); |