The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gui2
 A class inherited from ttext_box that displays its input as stars.
 

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

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

Definition at line 35 of file log.hpp.

Referenced by gui2::add_timer(), gui2::execute_timer(), gui2::event::thandler::handle_event(), gui2::tpassword_box::handle_key_backspace(), gui2::ttext_::handle_key_backspace(), gui2::tslider::handle_key_decrease(), gui2::ttext_::handle_key_default(), gui2::tpassword_box::handle_key_delete(), gui2::ttext_::handle_key_delete(), gui2::ttext_::handle_key_end(), gui2::ttext_::handle_key_home(), gui2::tslider::handle_key_increase(), gui2::ttext_::handle_key_left_arrow(), gui2::ttext_::handle_key_right_arrow(), gui2::event::thandler::key_down(), gui2::event::thandler::keyboard(), gui2::event::tdistributor::keyboard_capture(), gui2::event::thandler::mouse(), gui2::event::tmouse_button< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::mouse_button_click(), gui2::event::tmouse_motion::mouse_enter(), gui2::event::tmouse_motion::mouse_leave(), gui2::event::tmouse_motion::mouse_motion(), gui2::remove_timer(), gui2::event::tmouse_motion::show_tooltip(), gui2::twindow::signal_handler_click_dismiss(), gui2::ttree_view_node::signal_handler_label_left_button_click(), gui2::tbutton::signal_handler_left_button_click(), gui2::tlabel::signal_handler_left_button_click(), gui2::ttoggle_button::signal_handler_left_button_click(), gui2::tcombobox::signal_handler_left_button_click(), gui2::ttoggle_panel::signal_handler_left_button_click(), gui2::ttree_view_node::signal_handler_left_button_click(), gui2::ttoggle_button::signal_handler_left_button_double_click(), gui2::ttoggle_panel::signal_handler_left_button_double_click(), gui2::ttext_box::signal_handler_left_button_double_click(), gui2::tscroll_label::signal_handler_left_button_down(), gui2::tbutton::signal_handler_left_button_down(), gui2::trepeating_button::signal_handler_left_button_down(), gui2::tcombobox::signal_handler_left_button_down(), gui2::ttree_view::signal_handler_left_button_down(), gui2::ttext_box::signal_handler_left_button_down(), gui2::tscrollbar_::signal_handler_left_button_down(), gui2::tbutton::signal_handler_left_button_up(), gui2::trepeating_button::signal_handler_left_button_up(), gui2::tcombobox::signal_handler_left_button_up(), gui2::tslider::signal_handler_left_button_up(), gui2::ttext_box::signal_handler_left_button_up(), gui2::tscrollbar_::signal_handler_left_button_up(), gui2::ttext_::signal_handler_lose_keyboard_focus(), gui2::twindow::signal_handler_message_show_helptip(), gui2::twindow::signal_handler_message_show_tooltip(), gui2::ttext_::signal_handler_middle_button_click(), gui2::tbutton::signal_handler_mouse_enter(), gui2::trepeating_button::signal_handler_mouse_enter(), gui2::tcombobox::signal_handler_mouse_enter(), gui2::ttoggle_button::signal_handler_mouse_enter(), gui2::ttoggle_panel::signal_handler_mouse_enter(), gui2::tscrollbar_::signal_handler_mouse_enter(), gui2::tbutton::signal_handler_mouse_leave(), gui2::trepeating_button::signal_handler_mouse_leave(), gui2::tcombobox::signal_handler_mouse_leave(), gui2::ttoggle_button::signal_handler_mouse_leave(), gui2::ttoggle_panel::signal_handler_mouse_leave(), gui2::tscrollbar_::signal_handler_mouse_leave(), gui2::ttext_box::signal_handler_mouse_motion(), gui2::tscrollbar_::signal_handler_mouse_motion(), gui2::event::tdistributor::signal_handler_notify_removal(), gui2::tcontrol::signal_handler_notify_remove_tooltip(), gui2::ttoggle_panel::signal_handler_pre_left_button_click(), gui2::ttext_::signal_handler_receive_keyboard_focus(), gui2::tpane::signal_handler_request_placement(), gui2::twindow::signal_handler_request_placement(), gui2::tlabel::signal_handler_right_button_click(), gui2::event::tmouse_button< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::signal_handler_sdl_button_down(), gui2::event::tmouse_button< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::signal_handler_sdl_button_up(), gui2::tslider::signal_handler_sdl_key_down(), gui2::event::tdistributor::signal_handler_sdl_key_down(), gui2::ttext_::signal_handler_sdl_key_down(), gui2::tscrollbar_container::signal_handler_sdl_key_down(), gui2::twindow::signal_handler_sdl_key_down(), gui2::event::tmouse_motion::signal_handler_sdl_mouse_motion(), gui2::twindow::signal_handler_sdl_video_resize(), gui2::event::tmouse_motion::signal_handler_sdl_wheel(), gui2::tscrollbar_container::signal_handler_sdl_wheel_down(), gui2::tscrollbar_container::signal_handler_sdl_wheel_left(), gui2::tscrollbar_container::signal_handler_sdl_wheel_right(), gui2::tscrollbar_container::signal_handler_sdl_wheel_up(), gui2::event::tmouse_motion::signal_handler_show_helptip(), gui2::tcontrol::signal_handler_show_helptip(), gui2::tcontrol::signal_handler_show_tooltip(), gui2::event::tmouse_motion::start_hover_timer(), gui2::event::tmouse_motion::stop_hover_timer(), gui2::timer_callback(), and gui2::event::thandler::video_resize().

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

Definition at line 52 of file log.hpp.

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

Definition at line 65 of file log.hpp.

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

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

Definition at line 69 of file log.hpp.

Referenced by gui2::load_widget_definitions(), gui2::tcanvas::parse_cfg(), gui2::tgui_definition::read(), gui2::twindow_builder::read(), gui2::implementation::tbuilder_control::tbuilder_control(), gui2::tbuilder_grid::tbuilder_grid(), gui2::tbutton_definition::tbutton_definition(), gui2::tcombobox_definition::tcombobox_definition(), gui2::tdrawing_definition::tdrawing_definition(), gui2::thorizontal_scrollbar_definition::thorizontal_scrollbar_definition(), gui2::timage_definition::timage_definition(), gui2::tlabel_definition::tlabel_definition(), gui2::tlistbox_definition::tlistbox_definition(), gui2::tmatrix_definition::tmatrix_definition(), gui2::tminimap_definition::tminimap_definition(), gui2::tmulti_page_definition::tmulti_page_definition(), gui2::tpanel_definition::tpanel_definition(), gui2::tprogress_bar_definition::tprogress_bar_definition(), gui2::trepeating_button_definition::trepeating_button_definition(), gui2::twindow_builder::tresolution::tresolution(), gui2::tresolution_definition_::tresolution_definition_(), gui2::tscroll_label_definition::tscroll_label_definition(), gui2::tscrollbar_panel_definition::tscrollbar_panel_definition(), gui2::tslider_definition::tslider_definition(), gui2::tspacer_definition::tspacer_definition(), gui2::tstacked_widget_definition::tstacked_widget_definition(), gui2::ttext_box_definition::ttext_box_definition(), gui2::ttoggle_button_definition::ttoggle_button_definition(), gui2::ttoggle_panel_definition::ttoggle_panel_definition(), gui2::ttree_view_definition::ttree_view_definition(), gui2::tunit_preview_pane_definition::tunit_preview_pane_definition(), gui2::tvertical_scrollbar_definition::tvertical_scrollbar_definition(), and gui2::twindow_definition::twindow_definition().

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

Definition at line 32 of file log.hpp.

#define ERR_GUI_E   LOG_STREAM_INDENT(err, gui2::log_gui_event)
#define ERR_GUI_G   LOG_STREAM_INDENT(err, gui2::log_gui_general)
#define ERR_GUI_I   LOG_STREAM_INDENT(err, gui2::log_gui_iterator)
#define ERR_GUI_L   LOG_STREAM_INDENT(err, gui2::log_gui_layout)
#define ERR_GUI_P   LOG_STREAM_INDENT(err, gui2::log_gui_parse)
#define LOG_GUI_D   LOG_STREAM_INDENT(info, gui2::log_gui_draw)

Definition at line 30 of file log.hpp.

Referenced by gui2::tformula< T >::operator()().

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

Definition at line 36 of file log.hpp.

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

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

Definition at line 42 of file log.hpp.

Referenced by gui2::get_control(), and gui2::load_settings().

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

Definition at line 53 of file log.hpp.

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

Definition at line 59 of file log.hpp.

Referenced by gui2::tcontrol::definition_load_configuration().

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

Definition at line 70 of file log.hpp.

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

Definition at line 31 of file log.hpp.

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

Definition at line 43 of file log.hpp.

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

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

Definition at line 54 of file log.hpp.

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

Definition at line 71 of file log.hpp.