1 #ifndef LIBWTK_SDL2_TABLE_HPP 2 #define LIBWTK_SDL2_TABLE_HPP 4 #include "container.hpp" 20 std::vector<widget const *>
get_children()
const override;
29 int length_with_spacing(std::vector<int>
const & lengths)
const;
30 void min_cell_dimensions(
int * min_widths,
int * min_heights)
const;
31 void compute_offsets(std::vector<int> & lengths, std::vector<int> & offsets,
int n,
int box_length,
int box_start);
33 std::vector<entry> _entries;
35 std::vector<std::vector<int>> _grid;
38 std::vector<int> _x_offsets;
39 std::vector<int> _y_offsets;
widget * find_selectable(navigation_type nt, point center) override
Definition: container.hpp:10
Definition: padding.hpp:6
widget * navigate_selectable_from_children(navigation_type nt, widget *w, point center) override
std::vector< widget * > get_children() override
Definition: geometry.hpp:12
size_hint get_size_hint(int width, int height) const override
Definition: geometry.hpp:6
void on_box_allocated() override
Definition: widget.hpp:35