A tab, the same as the Guichan tab in 0.8, but extended to allow transparency.
More...
#include <tab.h>
|
| | Tab () |
| |
| void | setCaption (const std::string &caption) |
| | Sets the caption of the tab.
|
| |
| void | draw (gcn::Graphics *graphics) override |
| | Draw the tab.
|
| |
| void | drawFrame (gcn::Graphics *graphics) override |
| | Draw the tab frame.
|
| |
| void | setTabColor (const gcn::Color *color) |
| | Set the normal color fo the tab's text.
|
| |
| void | setFlash (bool flash) |
| | Set tab flashing state.
|
| |
A tab, the same as the Guichan tab in 0.8, but extended to allow transparency.
Definition at line 32 of file tab.h.
◆ Tab()
◆ draw()
| void Tab::draw |
( |
gcn::Graphics * |
graphics | ) |
|
|
override |
Draw the tab.
Definition at line 61 of file tab.cpp.
◆ drawFrame()
| void Tab::drawFrame |
( |
gcn::Graphics * |
graphics | ) |
|
|
override |
Draw the tab frame.
Definition at line 104 of file tab.cpp.
◆ setCaption()
| void Tab::setCaption |
( |
const std::string & |
caption | ) |
|
Sets the caption of the tab.
Shadowing gcn::Tab::setCaption, which shouldn't be used because it calls gcn::Tab::adjustSize, which does not take into account the padding.
Definition at line 49 of file tab.cpp.
◆ setCurrent()
| virtual void Tab::setCurrent |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ setFlash()
| void Tab::setFlash |
( |
bool |
flash | ) |
|
Set tab flashing state.
Definition at line 122 of file tab.cpp.
◆ setTabColor()
| void Tab::setTabColor |
( |
const gcn::Color * |
color | ) |
|
Set the normal color fo the tab's text.
Definition at line 117 of file tab.cpp.
◆ TabbedArea
Definition at line 65 of file tab.h.
◆ mFlash
Definition at line 70 of file tab.h.
◆ mPadding
Definition at line 71 of file tab.h.
◆ mTabColor
| const gcn::Color* Tab::mTabColor = nullptr |
|
private |
Definition at line 69 of file tab.h.
The documentation for this class was generated from the following files: