#include "gui/widgets/scrollbar_container_private.hpp"
#include "gui/auxiliary/find_widget.hpp"
#include "gui/core/log.hpp"
#include "gui/core/layout_exception.hpp"
#include "gui/widgets/clickable.hpp"
#include "gui/widgets/spacer.hpp"
#include "gui/widgets/window.hpp"
#include "sdl/rect.hpp"
#include "utils/functional.hpp"
Go to the source code of this file.
Namespaces | |
gui2 | |
A class inherited from ttext_box that displays its input as stars. | |
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-lib" |
#define | LOG_SCOPE_HEADER get_control_type() + " [" + id() + "] " + __func__ |
#define | LOG_HEADER LOG_SCOPE_HEADER + ':' |
Functions | |
static void | gui2::set_scrollbar_mode (tgrid *scrollbar_grid, tscrollbar_ *scrollbar, tscrollbar_container::tscrollbar_mode &scrollbar_mode, const unsigned items, const unsigned visible_items) |
static bool | gui2::is_inserted_before (unsigned insertion_pos, unsigned old_item_count, unsigned old_position, unsigned visible_items) |
static void | gui2::adjust_scrollbar_mode (tgrid *scrollbar_grid, tscrollbar_ *scrollbar, tscrollbar_container::tscrollbar_mode &scrollbar_mode, const unsigned items_before, const unsigned items_after, const int insertion_pos, const unsigned visible_items) |
#define GETTEXT_DOMAIN "wesnoth-lib" |
Definition at line 15 of file scrollbar_container.cpp.
#define LOG_HEADER LOG_SCOPE_HEADER + ':' |
Definition at line 30 of file scrollbar_container.cpp.
Referenced by gui2::tscrollbar_container::calculate_best_size(), gui2::tscrollbar_container::content_resize_height(), gui2::tscrollbar_container::content_resize_request(), gui2::tscrollbar_container::content_resize_width(), gui2::tscrollbar_container::request_reduce_height(), gui2::tscrollbar_container::request_reduce_width(), gui2::tscrollbar_container::signal_handler_sdl_key_down(), gui2::tscrollbar_container::signal_handler_sdl_wheel_down(), gui2::tscrollbar_container::signal_handler_sdl_wheel_left(), gui2::tscrollbar_container::signal_handler_sdl_wheel_right(), and gui2::tscrollbar_container::signal_handler_sdl_wheel_up().
#define LOG_SCOPE_HEADER get_control_type() + " [" + id() + "] " + __func__ |
Definition at line 29 of file scrollbar_container.cpp.
Referenced by gui2::tscrollbar_container::calculate_best_size().