Holds a 2D point. More...
#include <point.hpp>
Public Member Functions | |
tpoint (const int x_, const int y_) | |
bool | operator== (const tpoint &point) const |
bool | operator!= (const tpoint &point) const |
bool | operator< (const tpoint &point) const |
bool | operator<= (const tpoint &point) const |
tpoint | operator+ (const tpoint &point) const |
tpoint & | operator+= (const tpoint &point) |
tpoint | operator- (const tpoint &point) const |
tpoint & | operator-= (const tpoint &point) |
Public Attributes | |
int | x |
x coordinate. More... | |
int | y |
y coordinate. More... | |
Definition at line 26 of file point.hpp.
Referenced by operator+(), and operator-().
|
inline |
|
inline |
|
inline |
|
inline |
int gui2::tpoint::x |
x coordinate.
Definition at line 31 of file point.hpp.
Referenced by gui2::ttree_view_node::add_child(), gui2::implementation::tplacer_vertical_list::add_item(), gui2::implementation::tplacer_horizontal_list::add_item(), gui2::tgrid::tchild::border_space(), gui2::tslider::calculate_best_size(), gui2::timage::calculate_best_size(), gui2::tcontainer_::calculate_best_size(), gui2::tscrollbar_container::calculate_best_size(), gui2::policy::placement::thorizontal_list::calculate_best_size(), gui2::tgrid::calculate_best_size(), gui2::ttree_view_node::calculate_best_size(), gui2::policy::placement::tvertical_list::calculate_best_size(), gui2::policy::placement::tindependent::calculate_best_size(), gui2::tgrid_implementation::cell_request_reduce_width(), gui2::tscrollbar_container::content_resize_request(), gui2::create_rect(), gui2::tviewport_implementation::find_at(), gui2::tpane_implementation::find_at(), gui2::ttree_view_node::fold_internal(), gui2::twidget::get_best_size(), gui2::tcontrol::get_best_text_size(), font::ttext::get_column_line(), gui2::ttree_view_node::get_current_size(), gui2::ttree_view_node::get_folded_size(), gui2::thorizontal_scrollbar::get_length_difference(), gui2::tslider::get_length_difference(), font::ttext::get_token(), gui2::ttree_view_node::get_unfolded_size(), font::ttext::get_width(), gui2::event::thandler::handle_event(), gui2::ttext_box::handle_mouse_selection(), gui2::thorizontal_scrollbar::in_orthogonal_range(), gui2::tslider::in_orthogonal_range(), gui2::event::init_mouse_location(), gui2::twidget::is_at(), gui2::twindow_implementation::layout(), gui2::tgrid::layout(), gui2::twindow::layout(), gui2::twindow::layout_linked_widgets(), gui2::event::tmouse_motion::mouse_motion(), gui2::tvertical_scrollbar::on_bar(), gui2::thorizontal_scrollbar::on_bar(), gui2::tslider::on_bar(), gui2::tvertical_scrollbar::on_positioner(), gui2::thorizontal_scrollbar::on_positioner(), gui2::tslider::on_positioner(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator<(), gui2::operator<<(), operator<=(), operator==(), gui2::tpane::place(), gui2::tscrollbar_container::place(), gui2::tcontrol::place(), gui2::policy::placement::thorizontal_list::place(), gui2::tgrid::place(), gui2::policy::placement::tvertical_list::place(), gui2::ttree_view_node::place(), gui2::tgrid::tchild::place(), gui2::twidget::place(), gui2::ttip::pre_show(), gui2::tgrid::reduce_width(), gui2::tscrollbar_container::request_reduce_width(), gui2::tcontrol::request_reduce_width(), gui2::tgrid::request_reduce_width(), gui2::ttree_view::resize_content(), gui2::tlistbox::resize_content(), gui2::tlistbox::set_content_size(), gui2::policy::placement::thorizontal_list::set_origin(), gui2::tgrid::set_origin(), gui2::twidget::set_origin(), gui2::twidget::set_size(), gui2::tlabel::signal_handler_left_button_click(), gui2::tscrollbar_::signal_handler_left_button_down(), gui2::tscrollbar_::signal_handler_left_button_up(), gui2::tscrollbar_::signal_handler_mouse_motion(), gui2::tlabel::signal_handler_right_button_click(), gui2::twindow::signal_handler_sdl_video_resize(), gui2::ttree_view_node::unfold_internal(), and gui2::ttext_box::update_canvas().
int gui2::tpoint::y |
y coordinate.
Definition at line 34 of file point.hpp.
Referenced by gui2::ttree_view_node::add_child(), gui2::implementation::tplacer_vertical_list::add_item(), gui2::implementation::tplacer_horizontal_list::add_item(), gui2::tgrid::tchild::border_space(), gui2::timage::calculate_best_size(), gui2::tcontainer_::calculate_best_size(), gui2::tscrollbar_container::calculate_best_size(), gui2::policy::placement::thorizontal_list::calculate_best_size(), gui2::tgrid::calculate_best_size(), gui2::ttree_view_node::calculate_best_size(), gui2::policy::placement::tvertical_list::calculate_best_size(), gui2::policy::placement::tindependent::calculate_best_size(), gui2::tgrid_implementation::cell_request_reduce_height(), gui2::tscrollbar_container::content_resize_request(), gui2::create_rect(), gui2::tviewport_implementation::find_at(), gui2::tpane_implementation::find_at(), gui2::ttree_view_node::fold_internal(), gui2::twidget::get_best_size(), gui2::tcontrol::get_best_text_size(), font::ttext::get_column_line(), gui2::ttree_view_node::get_current_size(), font::ttext::get_height(), gui2::tvertical_scrollbar::get_length_difference(), font::ttext::get_token(), gui2::ttree_view_node::get_unfolded_size(), gui2::ttext_box::handle_mouse_selection(), gui2::tvertical_scrollbar::in_orthogonal_range(), gui2::event::init_mouse_location(), gui2::twidget::is_at(), gui2::twindow_implementation::layout(), gui2::tgrid::layout(), gui2::twindow::layout(), gui2::twindow::layout_linked_widgets(), gui2::event::tmouse_motion::mouse_motion(), gui2::tvertical_scrollbar::on_bar(), gui2::thorizontal_scrollbar::on_bar(), gui2::tslider::on_bar(), gui2::tvertical_scrollbar::on_positioner(), gui2::thorizontal_scrollbar::on_positioner(), gui2::tslider::on_positioner(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator<(), gui2::operator<<(), operator<=(), operator==(), gui2::tpane::place(), gui2::tscrollbar_container::place(), gui2::tcontrol::place(), gui2::policy::placement::thorizontal_list::place(), gui2::tgrid::place(), gui2::policy::placement::tvertical_list::place(), gui2::ttree_view_node::place(), gui2::tgrid::tchild::place(), gui2::twidget::place(), gui2::ttip::pre_show(), gui2::tgrid::reduce_height(), gui2::ttree_view::remove_node(), gui2::tscrollbar_container::request_reduce_height(), gui2::tgrid::request_reduce_height(), gui2::tcontrol::request_reduce_width(), gui2::ttree_view::resize_content(), gui2::tlistbox::resize_content(), gui2::tlistbox::set_content_size(), gui2::tgrid::set_origin(), gui2::policy::placement::tvertical_list::set_origin(), gui2::twidget::set_origin(), gui2::twidget::set_size(), gui2::tlabel::signal_handler_left_button_click(), gui2::tscrollbar_::signal_handler_left_button_down(), gui2::tscrollbar_::signal_handler_left_button_up(), gui2::tscrollbar_::signal_handler_mouse_motion(), gui2::tlabel::signal_handler_right_button_click(), gui2::twindow::signal_handler_sdl_video_resize(), and gui2::ttree_view_node::unfold_internal().