diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-20 22:10:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-20 22:10:07 +0300 |
commit | 2c176c9f29375ee359eca2b204489a48c1ac9e4e (patch) | |
tree | 9d7a3267a4737d5eaac45907fc3c95108c59b6d2 /src/gui/widgets/staticbrowserbox.h | |
parent | 9523ac746bb27a7868d50acee0b99d14724a7f12 (diff) | |
download | plus-2c176c9f29375ee359eca2b204489a48c1ac9e4e.tar.gz plus-2c176c9f29375ee359eca2b204489a48c1ac9e4e.tar.bz2 plus-2c176c9f29375ee359eca2b204489a48c1ac9e4e.tar.xz plus-2c176c9f29375ee359eca2b204489a48c1ac9e4e.zip |
Into staticbrowserbox allow add separators without duplication.
Diffstat (limited to 'src/gui/widgets/staticbrowserbox.h')
-rw-r--r-- | src/gui/widgets/staticbrowserbox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/staticbrowserbox.h b/src/gui/widgets/staticbrowserbox.h index 93d05049f..ff5862577 100644 --- a/src/gui/widgets/staticbrowserbox.h +++ b/src/gui/widgets/staticbrowserbox.h @@ -72,6 +72,8 @@ class StaticBrowserBox final : public Widget, void setOpaque(Opaque opaque) { mOpaque = opaque; } + void addSeparator(const std::string &row); + /** * Adds a text row to the browser. */ @@ -183,6 +185,7 @@ class StaticBrowserBox final : public Widget, bool mEnableImages; bool mEnableKeys; bool mEnableTabs; + bool mSeparator; static ImageSet *mEmotes; static int mInstances; |