The Battle for Wesnoth  1.15.2+dev
Namespaces | Macros
log.hpp File Reference

Define the common log macros for the gui toolkit. More...

#include "../../log.hpp"
Include dependency graph for log.hpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 

Macros

#define DBG_GUI_D   LOG_STREAM_INDENT(debug, gui2::log_gui_draw)
 
#define LOG_GUI_D   LOG_STREAM_INDENT(info, gui2::log_gui_draw)
 
#define WRN_GUI_D   LOG_STREAM_INDENT(warn, gui2::log_gui_draw)
 
#define ERR_GUI_D   LOG_STREAM_INDENT(err, gui2::log_gui_draw)
 
#define DBG_GUI_E   LOG_STREAM_INDENT(debug, gui2::log_gui_event)
 
#define LOG_GUI_E   LOG_STREAM_INDENT(info, gui2::log_gui_event)
 
#define WRN_GUI_E   LOG_STREAM_INDENT(warn, gui2::log_gui_event)
 
#define ERR_GUI_E   LOG_STREAM_INDENT(err, gui2::log_gui_event)
 
#define DBG_GUI_G   LOG_STREAM_INDENT(debug, gui2::log_gui_general)
 
#define LOG_GUI_G   LOG_STREAM_INDENT(info, gui2::log_gui_general)
 
#define WRN_GUI_G   LOG_STREAM_INDENT(warn, gui2::log_gui_general)
 
#define ERR_GUI_G   LOG_STREAM_INDENT(err, gui2::log_gui_general)
 
#define TST_GUI_I
 
#define DBG_GUI_I   LOG_STREAM_INDENT(debug, gui2::log_gui_iterator)
 
#define LOG_GUI_I   LOG_STREAM_INDENT(info, gui2::log_gui_iterator)
 
#define WRN_GUI_I   LOG_STREAM_INDENT(warn, gui2::log_gui_iterator)
 
#define ERR_GUI_I   LOG_STREAM_INDENT(err, gui2::log_gui_iterator)
 
#define DBG_GUI_L   LOG_STREAM_INDENT(debug, gui2::log_gui_layout)
 
#define LOG_GUI_L   LOG_STREAM_INDENT(info, gui2::log_gui_layout)
 
#define WRN_GUI_L   LOG_STREAM_INDENT(warn, gui2::log_gui_layout)
 
#define ERR_GUI_L   LOG_STREAM_INDENT(err, gui2::log_gui_layout)
 
#define DBG_GUI_LF   LOG_STREAM_INDENT(debug, gui2::log_gui_lifetime)
 
#define DBG_GUI_P   LOG_STREAM_INDENT(debug, gui2::log_gui_parse)
 
#define LOG_GUI_P   LOG_STREAM_INDENT(info, gui2::log_gui_parse)
 
#define WRN_GUI_P   LOG_STREAM_INDENT(warn, gui2::log_gui_parse)
 
#define ERR_GUI_P   LOG_STREAM_INDENT(err, gui2::log_gui_parse)
 

Detailed Description

Define the common log macros for the gui toolkit.

Definition in file log.hpp.

Macro Definition Documentation

◆ DBG_GUI_D

#define DBG_GUI_D   LOG_STREAM_INDENT(debug, gui2::log_gui_draw)

◆ DBG_GUI_E

#define DBG_GUI_E   LOG_STREAM_INDENT(debug, gui2::log_gui_event)

Definition at line 34 of file log.hpp.

Referenced by gui2::add_timer(), gui2::implementation::builder_window::build(), gui2::event::sdl_event_handler::close_window(), gui2::execute_timer(), gui2::text_box_base::handle_commit(), gui2::text_box_base::handle_key_backspace(), gui2::slider::handle_key_decrease(), gui2::text_box_base::handle_key_delete(), gui2::text_box_base::handle_key_end(), gui2::text_box_base::handle_key_home(), gui2::slider::handle_key_increase(), gui2::text_box_base::handle_key_left_arrow(), gui2::text_box_base::handle_key_right_arrow(), gui2::event::sdl_event_handler::key_down(), gui2::event::sdl_event_handler::keyboard(), gui2::event::distributor::keyboard_capture(), gui2::event::sdl_event_handler::mouse(), gui2::event::mouse_button< T >::mouse_button_click(), gui2::event::mouse_motion::mouse_enter(), gui2::event::mouse_motion::mouse_hover(), gui2::event::mouse_motion::mouse_leave(), gui2::event::sdl_event_handler::raw_event(), gui2::remove_timer(), gui2::event::mouse_motion::show_tooltip(), gui2::window::signal_handler_click_dismiss(), gui2::event::distributor::signal_handler_keyboard_internal(), gui2::tree_view_node::signal_handler_label_left_button_click(), gui2::button::signal_handler_left_button_click(), gui2::menu_button::signal_handler_left_button_click(), gui2::toggle_button::signal_handler_left_button_click(), gui2::label::signal_handler_left_button_click(), gui2::toggle_panel::signal_handler_left_button_click(), gui2::multimenu_button::signal_handler_left_button_click(), gui2::tree_view_node::signal_handler_left_button_click(), gui2::toggle_button::signal_handler_left_button_double_click(), gui2::toggle_panel::signal_handler_left_button_double_click(), gui2::text_box::signal_handler_left_button_double_click(), gui2::button::signal_handler_left_button_down(), gui2::scroll_label::signal_handler_left_button_down(), gui2::repeating_button::signal_handler_left_button_down(), gui2::menu_button::signal_handler_left_button_down(), gui2::tree_view::signal_handler_left_button_down(), gui2::multimenu_button::signal_handler_left_button_down(), gui2::text_box::signal_handler_left_button_down(), gui2::slider_base::signal_handler_left_button_down(), gui2::scrollbar_base::signal_handler_left_button_down(), gui2::button::signal_handler_left_button_up(), gui2::repeating_button::signal_handler_left_button_up(), gui2::menu_button::signal_handler_left_button_up(), gui2::multimenu_button::signal_handler_left_button_up(), gui2::slider::signal_handler_left_button_up(), gui2::text_box::signal_handler_left_button_up(), gui2::slider_base::signal_handler_left_button_up(), gui2::scrollbar_base::signal_handler_left_button_up(), gui2::text_box_base::signal_handler_lose_keyboard_focus(), gui2::window::signal_handler_message_show_helptip(), gui2::window::signal_handler_message_show_tooltip(), gui2::text_box_base::signal_handler_middle_button_click(), gui2::button::signal_handler_mouse_enter(), gui2::repeating_button::signal_handler_mouse_enter(), gui2::menu_button::signal_handler_mouse_enter(), gui2::toggle_button::signal_handler_mouse_enter(), gui2::toggle_panel::signal_handler_mouse_enter(), gui2::multimenu_button::signal_handler_mouse_enter(), gui2::slider_base::signal_handler_mouse_enter(), gui2::scrollbar_base::signal_handler_mouse_enter(), gui2::button::signal_handler_mouse_leave(), gui2::repeating_button::signal_handler_mouse_leave(), gui2::menu_button::signal_handler_mouse_leave(), gui2::toggle_button::signal_handler_mouse_leave(), gui2::toggle_panel::signal_handler_mouse_leave(), gui2::multimenu_button::signal_handler_mouse_leave(), gui2::slider_base::signal_handler_mouse_leave(), gui2::scrollbar_base::signal_handler_mouse_leave(), gui2::text_box::signal_handler_mouse_motion(), gui2::slider_base::signal_handler_mouse_motion(), gui2::scrollbar_base::signal_handler_mouse_motion(), gui2::event::distributor::signal_handler_notify_removal(), gui2::styled_widget::signal_handler_notify_remove_tooltip(), gui2::toggle_panel::signal_handler_pre_left_button_click(), gui2::chatbox::signal_handler_receive_keyboard_focus(), gui2::text_box_base::signal_handler_receive_keyboard_focus(), gui2::pane::signal_handler_request_placement(), gui2::window::signal_handler_request_placement(), gui2::label::signal_handler_right_button_click(), gui2::event::mouse_button< T >::signal_handler_sdl_button_down(), gui2::event::mouse_button< T >::signal_handler_sdl_button_up(), gui2::slider::signal_handler_sdl_key_down(), gui2::text_box_base::signal_handler_sdl_key_down(), gui2::scrollbar_container::signal_handler_sdl_key_down(), gui2::window::signal_handler_sdl_key_down(), gui2::event::mouse_motion::signal_handler_sdl_mouse_motion(), gui2::event::mouse_motion::signal_handler_sdl_touch_motion(), gui2::scrollbar_container::signal_handler_sdl_touch_motion(), gui2::window::signal_handler_sdl_video_resize(), gui2::event::mouse_motion::signal_handler_sdl_wheel(), gui2::menu_button::signal_handler_sdl_wheel_down(), gui2::scrollbar_container::signal_handler_sdl_wheel_down(), gui2::scrollbar_container::signal_handler_sdl_wheel_left(), gui2::scrollbar_container::signal_handler_sdl_wheel_right(), gui2::menu_button::signal_handler_sdl_wheel_up(), gui2::scrollbar_container::signal_handler_sdl_wheel_up(), gui2::event::mouse_motion::signal_handler_show_helptip(), gui2::styled_widget::signal_handler_show_helptip(), gui2::styled_widget::signal_handler_show_tooltip(), gui2::event::mouse_motion::start_hover_timer(), gui2::event::mouse_motion::stop_hover_timer(), gui2::timer_callback(), and gui2::event::sdl_event_handler::video_resize().

◆ DBG_GUI_G

#define DBG_GUI_G   LOG_STREAM_INDENT(debug, gui2::log_gui_general)

Definition at line 40 of file log.hpp.

Referenced by gui2::implementation::builder_password_box::build(), gui2::implementation::builder_scrollbar_panel::build(), gui2::implementation::builder_progress_bar::build(), gui2::implementation::builder_vertical_scrollbar::build(), gui2::implementation::builder_panel::build(), gui2::implementation::builder_horizontal_scrollbar::build(), gui2::implementation::builder_size_lock::build(), gui2::implementation::builder_spacer::build(), gui2::implementation::builder_image::build(), gui2::builder_grid::build(), gui2::implementation::builder_drawing::build(), gui2::implementation::builder_unit_preview_pane::build(), gui2::implementation::builder_minimap::build(), gui2::implementation::builder_scroll_label::build(), gui2::implementation::builder_repeating_button::build(), gui2::implementation::builder_button::build(), gui2::implementation::builder_menu_button::build(), gui2::implementation::builder_toggle_button::build(), gui2::implementation::builder_label::build(), gui2::implementation::builder_stacked_widget::build(), gui2::implementation::builder_tree_view::build(), gui2::implementation::builder_toggle_panel::build(), gui2::implementation::builder_multimenu_button::build(), gui2::implementation::builder_addon_list::build(), gui2::implementation::builder_multi_page::build(), gui2::implementation::builder_slider::build(), gui2::implementation::builder_chatbox::build(), gui2::implementation::builder_text_box::build(), gui2::implementation::builder_listbox::build(), gui2::implementation::builder_horizontal_listbox::build(), and gui2::implementation::builder_grid_listbox::build().

◆ DBG_GUI_I

Definition at line 51 of file log.hpp.

◆ DBG_GUI_L

#define DBG_GUI_L   LOG_STREAM_INDENT(debug, gui2::log_gui_layout)

◆ DBG_GUI_LF

#define DBG_GUI_LF   LOG_STREAM_INDENT(debug, gui2::log_gui_lifetime)

Definition at line 64 of file log.hpp.

Referenced by gui2::widget::set_id(), gui2::widget::widget(), and gui2::widget::~widget().

◆ DBG_GUI_P

#define DBG_GUI_P   LOG_STREAM_INDENT(debug, gui2::log_gui_parse)

Definition at line 68 of file log.hpp.

Referenced by gui2::addon_list_definition::addon_list_definition(), gui2::builder_grid::builder_grid(), gui2::implementation::builder_styled_widget::builder_styled_widget(), gui2::button_definition::button_definition(), gui2::circle_shape::circle_shape(), gui2::drawing_definition::drawing_definition(), gui2::gui_definition::gui_definition(), gui2::horizontal_scrollbar_definition::horizontal_scrollbar_definition(), gui2::image_definition::image_definition(), gui2::image_shape::image_shape(), gui2::label_definition::label_definition(), gui2::line_shape::line_shape(), gui2::listbox_definition::listbox_definition(), gui2::matrix_definition::matrix_definition(), gui2::menu_button_definition::menu_button_definition(), gui2::minimap_definition::minimap_definition(), gui2::multi_page_definition::multi_page_definition(), gui2::multimenu_button_definition::multimenu_button_definition(), gui2::panel_definition::panel_definition(), gui2::canvas::parse_cfg(), gui2::progress_bar_definition::progress_bar_definition(), gui2::builder_window::read(), gui2::rectangle_shape::rectangle_shape(), gui2::repeating_button_definition::repeating_button_definition(), gui2::resolution_definition::resolution_definition(), gui2::round_rectangle_shape::round_rectangle_shape(), gui2::scroll_label_definition::scroll_label_definition(), gui2::scrollbar_panel_definition::scrollbar_panel_definition(), gui2::size_lock_definition::size_lock_definition(), gui2::slider_definition::slider_definition(), gui2::spacer_definition::spacer_definition(), gui2::stacked_widget_definition::stacked_widget_definition(), gui2::text_box_definition::text_box_definition(), gui2::text_shape::text_shape(), gui2::toggle_button_definition::toggle_button_definition(), gui2::toggle_panel_definition::toggle_panel_definition(), gui2::tree_view_definition::tree_view_definition(), gui2::unit_preview_pane_definition::unit_preview_pane_definition(), gui2::vertical_scrollbar_definition::vertical_scrollbar_definition(), gui2::window_definition::window_definition(), and gui2::builder_window::window_resolution::window_resolution().

◆ ERR_GUI_D

#define ERR_GUI_D   LOG_STREAM_INDENT(err, gui2::log_gui_draw)

Definition at line 31 of file log.hpp.

Referenced by gui2::image_shape::draw().

◆ ERR_GUI_E

#define ERR_GUI_E   LOG_STREAM_INDENT(err, gui2::log_gui_event)

◆ ERR_GUI_G

#define ERR_GUI_G   LOG_STREAM_INDENT(err, gui2::log_gui_general)

◆ ERR_GUI_I

#define ERR_GUI_I   LOG_STREAM_INDENT(err, gui2::log_gui_iterator)

◆ ERR_GUI_L

#define ERR_GUI_L   LOG_STREAM_INDENT(err, gui2::log_gui_layout)

◆ ERR_GUI_P

#define ERR_GUI_P   LOG_STREAM_INDENT(err, gui2::log_gui_parse)

◆ LOG_GUI_D

#define LOG_GUI_D   LOG_STREAM_INDENT(info, gui2::log_gui_draw)

Definition at line 29 of file log.hpp.

Referenced by gui2::typed_formula< bool >::operator()().

◆ LOG_GUI_E

#define LOG_GUI_E   LOG_STREAM_INDENT(info, gui2::log_gui_event)

Definition at line 35 of file log.hpp.

Referenced by gui2::execute_timer(), and gui2::remove_timer().

◆ LOG_GUI_G

#define LOG_GUI_G   LOG_STREAM_INDENT(info, gui2::log_gui_general)

Definition at line 41 of file log.hpp.

Referenced by gui2::get_control(), gui2::init(), and gui2::listbox::set_row_shown().

◆ LOG_GUI_I

#define LOG_GUI_I   LOG_STREAM_INDENT(info, gui2::log_gui_iterator)

Definition at line 52 of file log.hpp.

◆ LOG_GUI_L

#define LOG_GUI_L   LOG_STREAM_INDENT(info, gui2::log_gui_layout)

Definition at line 58 of file log.hpp.

Referenced by gui2::listbox::place().

◆ LOG_GUI_P

#define LOG_GUI_P   LOG_STREAM_INDENT(info, gui2::log_gui_parse)

Definition at line 69 of file log.hpp.

◆ TST_GUI_I

#define TST_GUI_I

◆ WRN_GUI_D

#define WRN_GUI_D   LOG_STREAM_INDENT(warn, gui2::log_gui_draw)

Definition at line 30 of file log.hpp.

Referenced by gui2::text_shape::draw().

◆ WRN_GUI_E

#define WRN_GUI_E   LOG_STREAM_INDENT(warn, gui2::log_gui_event)

◆ WRN_GUI_G

#define WRN_GUI_G   LOG_STREAM_INDENT(warn, gui2::log_gui_general)

Definition at line 42 of file log.hpp.

Referenced by gui2::grid::set_child(), and gui2::grid::set_rows_cols().

◆ WRN_GUI_I

#define WRN_GUI_I   LOG_STREAM_INDENT(warn, gui2::log_gui_iterator)

Definition at line 53 of file log.hpp.

◆ WRN_GUI_L

#define WRN_GUI_L   LOG_STREAM_INDENT(warn, gui2::log_gui_layout)

◆ WRN_GUI_P

#define WRN_GUI_P   LOG_STREAM_INDENT(warn, gui2::log_gui_parse)

Definition at line 70 of file log.hpp.

Referenced by gui2::register_window().