|
|
| list_view (std::vector< std::string > const &values, std::size_t position, std::function< void(std::size_t)> activate_callback) |
| |
| void | on_draw (draw_context &dc, selection_context const &sc) const override |
| |
|
void | on_mouse_up_event (mouse_up_event const &e) override |
| |
|
void | on_mouse_down_event (mouse_down_event const &e) override |
| |
|
void | on_key_event (key_event const &e) override |
| |
| void | on_activate () override |
| |
| void | on_box_allocated () override |
| |
| size_hint | get_size_hint (int width, int height) const override |
| |
|
|
void | set_position (std::size_t position) |
| |
|
void | set_selected_position (std::size_t position) |
| |
|
void | set_highlight_position (std::size_t position) |
| |
|
void | set_list (std::vector< std::string > const &values, std::size_t position=0) |
| |
|
std::size_t | get_visible_entries () const |
| |
|
void | scroll_up (std::size_t amount) |
| |
|
void | scroll_down (std::size_t amount) |
| |
|
void | scroll_up () |
| |
|
void | scroll_down () |
| |
| widget * | find_selectable (navigation_type nt, point center) override |
| |
| widget * | navigate_selectable (navigation_type nt, point center) override |
| |
|
void | on_select () override |
| |
|
void | on_unselect () override |
| |
|
| widget (widget const &)=delete |
| |
|
widget & | operator= (widget const &)=delete |
| |
| SDL_Rect const & | get_box () const |
| |
| context_info const & | get_context_info () const |
| |
| void | set_context_info (context_info const &ci) |
| |
| void | set_parent (widget *parent) |
| |
| virtual std::vector< widget * > | get_children () |
| |
|
virtual std::vector< widget const * > | get_children () const |
| |
| virtual void | on_child_dirty (widget *child) |
| |
| virtual std::vector< widget * > | get_visible_children () |
| |
|
virtual std::vector< widget const * > | get_visible_children () const |
| |
| void | clear_dirty () |
| |
|
void | mark_dirty () |
| |
|
void | mark_child_dirty (widget *child) |
| |
| void | draw (draw_context &dc, selection_context const &sc) const |
| |
| void | draw_dirty (draw_context &dc, selection_context const &sc) const |
| |
|
virtual void | on_mouse_move_event (mouse_move_event const &e) |
| |
| void | apply_layout (SDL_Rect box) |
| |
| virtual bool | can_use_intermediate_size () const |
| |
| virtual widget * | navigate_selectable_from_children (navigation_type nt, widget *w, point center) |
| |