15 #ifndef GUI_WIDGETS_VIEWPORT_HPP_INCLUDED
16 #define GUI_WIDGETS_VIEWPORT_HPP_INCLUDED
28 struct tbuilder_viewport;
60 int y_offset)
override;
65 const std::vector<twidget*>& call_stack)
override;
72 const bool must_be_active)
override;
76 const bool must_be_active)
const override;
83 const bool must_be_active)
const override;
virtual void child_populate_dirty_list(twindow &caller, const std::vector< twidget * > &call_stack) override
See twidget::child_populate_dirty_list.
virtual tpoint calculate_best_size() const override
See twidget::calculate_best_size.
virtual void request_reduce_width(const unsigned maximum_width) override
See twidget::request_reduce_width.
virtual void impl_draw_children(surface &frame_buffer, int x_offset, int y_offset) override
See twidget::impl_draw_children.
virtual iterator::twalker_ * create_walker() override
See twidget::create_walker.
tviewport(twidget &widget)
base class of top level items, the only item which needs to store the final canvases to draw on ...
A class inherited from ttext_box that displays its input as stars.
Helper to implement private functions without modifying the header.
bool disable_click_dismiss() const override
See twidget::disable_click_dismiss.
virtual void place(const tpoint &origin, const tpoint &size) override
See twidget::place.
tbuilder_viewport(const config &cfg)
tbuilder_widget_ptr widget
virtual void layout_initialise(const bool full_initialisation) override
See twidget::layout_initialise.
twidget * find(const std::string &id, const bool must_be_active) override
See twidget::find.
static tviewport * build(const implementation::tbuilder_viewport &builder, const tbuilder_widget::treplacements &replacements)
The walker abstract base class.
A config object defines a single node in a WML file, with access to child nodes.
virtual twidget * find_at(const tpoint &coordinate, const bool must_be_active) override
See twidget::find_at.
GLsizei const GLcharARB ** string
Contains the implementation details for lexical_cast and shouldn't be used directly.