|
SuperTuxKart
|
Dialog that handle player in network lobby. More...
#include <network_player_dialog.hpp>

Public Member Functions | |
| NetworkPlayerDialog (uint32_t host_id, uint32_t online_id, uint8_t local_id, const core::stringw &name, const std::string &country_code, bool allow_change_team, HandicapLevel h) | |
| virtual void | beforeAddingWidgets () |
| Optional callback invoked very early, before widgets have been added (contrast with init(), which is invoked afer widgets were added) | |
| void | onEnterPressedInternal () |
| GUIEngine::EventPropagation | processEvent (const std::string &source) |
| Returns whether to block event propagation (usually, you will want to block events you processed) | |
| virtual bool | onEscapePressed () |
| Override to change what happens on escape pressed. | |
| virtual void | onUpdate (float dt) |
| Override to be notified of updates. | |
| virtual void | init () |
| Optional callback invoked after widgets have been add()ed. | |
Public Member Functions inherited from GUIEngine::ModalDialog | |
| bool | isInited () |
| Because C++ doesn't support constructor delegation... | |
| irr::gui::IGUIWindow * | getIrrlichtElement () |
| virtual void | onResize () |
| Override to be notified of resizes. | |
| virtual void | load () |
| virtual int | getWidth () |
| Implementing callback from AbstractTopLevelContainer. | |
| virtual int | getHeight () |
| Implementing callback from AbstractTopLevelContainer. | |
| bool | fadeBackground () const |
| bool | isMyIrrChild (irr::gui::IGUIElement *widget) const |
| virtual bool | enableScreenPadding () const |
Public Member Functions inherited from GUIEngine::AbstractTopLevelContainer | |
| Widget * | getWidget (const char *name) |
| This function returns a widget by name if that widget is found. More... | |
| Widget * | getWidget (const int id) |
| This function returns a widget by irrlicht ID if that widget is found. More... | |
| template<typename T > | |
| T * | getWidget (const char *name) |
| This function searches and returns a widget by name, cast as specified type, if that widget is found and the type is correct. More... | |
| Widget * | getFirstWidget (PtrVector< Widget > *within_vector=NULL) |
| This function returns the first widget found in within_vector. More... | |
| Widget * | getLastWidget (PtrVector< Widget > *within_vector=NULL) |
| This function returns the last widget found in within_vector. More... | |
| void | elementsWereDeleted (PtrVector< Widget > *within_vector=NULL) |
| This function is called when screen is removed. More... | |
| bool | isMyChild (Widget *widget) const |
| This function checks if a widget is a child of the container. More... | |
Private Attributes | |
| const uint32_t | m_host_id |
| const uint32_t | m_online_id |
| const uint8_t | m_local_id |
| HandicapLevel | m_handicap |
| const core::stringw | m_name |
| const std::string | m_country_code |
| const bool | m_allow_change_team |
| bool | m_self_destroy |
| bool | m_open_report_textbox |
| std::shared_ptr< RankingCallback > | m_ranking_callback |
| GUIEngine::RibbonWidget * | m_options_widget |
| GUIEngine::LabelWidget * | m_desc_widget |
| GUIEngine::LabelWidget * | m_info_widget |
| GUIEngine::IconButtonWidget * | m_friend_widget |
| GUIEngine::IconButtonWidget * | m_kick_widget |
| GUIEngine::IconButtonWidget * | m_change_team_widget |
| GUIEngine::IconButtonWidget * | m_cancel_widget |
| GUIEngine::IconButtonWidget * | m_handicap_widget |
| GUIEngine::IconButtonWidget * | m_report_widget |
Additional Inherited Members | |
Static Public Member Functions inherited from GUIEngine::ModalDialog | |
| static void | dismiss () |
| static void | onEnterPressed () |
| static ModalDialog * | getCurrent () |
| static bool | isADialogActive () |
Static Public Member Functions inherited from GUIEngine::AbstractTopLevelContainer | |
| static Widget * | getWidget (const char *name, PtrVector< Widget > *within_vector) |
| This function returns a widget by name if that widget is found in within_vector. More... | |
| static Widget * | getWidget (const int id, PtrVector< Widget > *within_vector) |
| This function returns a widget by irrlicht ID if that widget is found. More... | |
Public Attributes inherited from GUIEngine::SkinWidgetContainer | |
| int | m_skin_x |
| int | m_skin_y |
| int | m_skin_w |
| int | m_skin_h |
| bool | m_skin_dest_areas_inited |
| bool | m_skin_dest_areas_yflip_inited |
| int | m_skin_dest_x |
| int | m_skin_dest_y |
| int | m_skin_dest_x2 |
| int | m_skin_dest_y2 |
| core::rect< s32 > | m_skin_dest_area_left |
| core::rect< s32 > | m_skin_dest_area_center |
| core::rect< s32 > | m_skin_dest_area_right |
| core::rect< s32 > | m_skin_dest_area_top |
| core::rect< s32 > | m_skin_dest_area_bottom |
| core::rect< s32 > | m_skin_dest_area_top_left |
| core::rect< s32 > | m_skin_dest_area_top_right |
| core::rect< s32 > | m_skin_dest_area_bottom_left |
| core::rect< s32 > | m_skin_dest_area_bottom_right |
| core::rect< s32 > | m_skin_dest_area_left_yflip |
| core::rect< s32 > | m_skin_dest_area_center_yflip |
| core::rect< s32 > | m_skin_dest_area_right_yflip |
| core::rect< s32 > | m_skin_dest_area_top_yflip |
| core::rect< s32 > | m_skin_dest_area_bottom_yflip |
| core::rect< s32 > | m_skin_dest_area_top_left_yflip |
| core::rect< s32 > | m_skin_dest_area_top_right_yflip |
| core::rect< s32 > | m_skin_dest_area_bottom_left_yflip |
| core::rect< s32 > | m_skin_dest_area_bottom_right_yflip |
| short | m_skin_r |
| short | m_skin_g |
| short | m_skin_b |
| SkinWidgetContainer * | m_next |
Protected Member Functions inherited from GUIEngine::ModalDialog | |
| ModalDialog (const float percentWidth, const float percentHeight, ModalDialogLocation location=MODAL_DIALOG_LOCATION_CENTER) | |
| Creates a modal dialog with given percentage of screen width and height. | |
| void | loadFromFile (const char *xmlFile) |
| Load a XML file to create the dialog from. More... | |
| void | clearWindow () |
| virtual void | loadedFromFile () |
| Callback invoked when the dialog was loaded from the XML file (if the constructor that takes a XML file as argument is used) | |
| void | doInit () |
| void | setArea () |
Protected Member Functions inherited from GUIEngine::AbstractTopLevelContainer | |
| void | addWidgetsRecursively (PtrVector< Widget > &widgets, Widget *parent=NULL) |
| This function adds a list of widgets recursively, effectively creating the hierarchy of widgets. More... | |
| void | resizeWidgetsRecursively (PtrVector< Widget > &widgets) |
| This function invokes resize() of each widgets and its children. More... | |
Protected Attributes inherited from GUIEngine::ModalDialog | |
| irr::gui::IGUIWindow * | m_irrlicht_window |
| irr::core::rect< irr::s32 > | m_area |
| bool | m_fade_background |
| InputManager::InputDriverMode | m_previous_mode |
Protected Attributes inherited from GUIEngine::AbstractTopLevelContainer | |
| PtrVector< Widget, HOLD > | m_widgets |
| the widgets in this screen | |
| Widget * | m_first_widget |
| AbstractTopLevelContainer is generally able to determine its first widget just fine, but in highly complex screens (e.g. More... | |
| Widget * | m_last_widget |
| AbstractTopLevelContainer is generally able to determine its last widget just fine, but in highly complex screens (e.g. More... | |
Dialog that handle player in network lobby.