25 #ifndef ENGINES_NWN_GUI_WIDGETS_LISTBOX_H 26 #define ENGINES_NWN_GUI_WIDGETS_LISTBOX_H 48 class WidgetScrollbar;
147 float spacing = 0.0f);
160 std::vector<WidgetListItem *>::iterator
begin();
162 std::vector<WidgetListItem *>::iterator
end();
215 #endif // ENGINES_NWN_GUI_WIDGETS_LISTBOX_H
float getHeight() const
Get the widget's height.
A class holding an UTF-8 string.
~WidgetListItemTextLine()
WidgetListItemTextLine(::Engines::GUI &gui, const Common::UString &font, const Common::UString &text, float spacing=0.0f)
void setPosition(float x, float y, float z)
Set the widget's position.
A simple scoped smart pointer template.
Basic Aurora graphics types.
void setUnselectedColor(float r, float g, float b, float a)
Low-level type definitions to handle fixed width types portably.
Common::ScopedPtr< Graphics::Aurora::Text > _text
void setTag(const Common::UString &tag)
Set the widget's tag.
void show()
Show the widget.
void setSelectedColor(float r, float g, float b, float a)
float getWidth() const
Get the widget's width.
void hide()
Hide the widget.
A text line widget within a NWN listbox widget.