Class TabHeader::TabButton¶
- Defined in File tabheader.h
Page Contents
Class Documentation¶
-
class
nanogui::TabHeader::
TabButton
¶ Implementation class of the actual tab buttons.
Public Functions
-
void
setLabel
(const std::string &label)¶
-
const std::string &
label
() const¶
-
void
setSize
(const Vector2i &size)¶
-
const Vector2i &
size
() const¶
-
Vector2i
preferredSize
(NVGcontext *ctx) const¶
-
void
calculateVisibleString
(NVGcontext *ctx)¶
-
void
drawAtPosition
(NVGcontext *ctx, const Vector2i &position, bool active)¶
Public Static Attributes
-
constexpr const char *
dots
= "..."¶
-
void