]> git.lizzy.rs Git - irrlicht.git/blobdiff - include/IEventReceiver.h
Drop obsolete stuff
[irrlicht.git] / include / IEventReceiver.h
index e1c78a623e9a5f43d061d0de226e58366da6297d..ed82b5f966a3891410f7aec60db7fcbebce84b2b 100644 (file)
@@ -34,7 +34,11 @@ namespace irr
                IrrlichtDevice::postEventFromUser. They take the same path as mouse events. */\r
                EET_KEY_INPUT_EVENT,\r
 \r
-        //! A touch input event.\r
+               //! A string input event.\r
+               /** This event is created when multiple characters are sent at a time (e.g. using an IME). */\r
+               EET_STRING_INPUT_EVENT,\r
+\r
+               //! A touch input event.\r
                EET_TOUCH_INPUT_EVENT,\r
 \r
                //! A accelerometer event.\r
@@ -276,18 +280,6 @@ namespace irr
                        //! A file open dialog has been closed without choosing a file\r
                        EGET_FILE_CHOOSE_DIALOG_CANCELLED,\r
 \r
-                       //! 'Yes' was clicked on a messagebox\r
-                       EGET_MESSAGEBOX_YES,\r
-\r
-                       //! 'No' was clicked on a messagebox\r
-                       EGET_MESSAGEBOX_NO,\r
-\r
-                       //! 'OK' was clicked on a messagebox\r
-                       EGET_MESSAGEBOX_OK,\r
-\r
-                       //! 'Cancel' was clicked on a messagebox\r
-                       EGET_MESSAGEBOX_CANCEL,\r
-\r
                        //! In an editbox 'ENTER' was pressed\r
                        EGET_EDITBOX_ENTER,\r
 \r
@@ -300,36 +292,14 @@ namespace irr
                        //! The tab was changed in an tab control\r
                        EGET_TAB_CHANGED,\r
 \r
-                       //! A menu item was selected in a (context) menu\r
-                       EGET_MENU_ITEM_SELECTED,\r
-\r
                        //! The selection in a combo box has been changed\r
                        EGET_COMBO_BOX_CHANGED,\r
 \r
-                       //! The value of a spin box has changed\r
-                       EGET_SPINBOX_CHANGED,\r
-\r
                        //! A table has changed\r
                        EGET_TABLE_CHANGED,\r
                        EGET_TABLE_HEADER_CHANGED,\r
                        EGET_TABLE_SELECTED_AGAIN,\r
 \r
-                       //! A tree view node lost selection. See IGUITreeView::getLastEventNode().\r
-                       EGET_TREEVIEW_NODE_DESELECT,\r
-\r
-                       //! A tree view node was selected. See IGUITreeView::getLastEventNode().\r
-                       EGET_TREEVIEW_NODE_SELECT,\r
-\r
-                       //! A tree view node was expanded. See IGUITreeView::getLastEventNode().\r
-                       EGET_TREEVIEW_NODE_EXPAND,\r
-\r
-                       //! A tree view node was collapsed. See IGUITreeView::getLastEventNode().\r
-                       EGET_TREEVIEW_NODE_COLLAPSE,\r
-\r
-                       //! deprecated - use EGET_TREEVIEW_NODE_COLLAPSE instead. This\r
-                       //! may be removed by Irrlicht 1.9\r
-                       EGET_TREEVIEW_NODE_COLLAPS = EGET_TREEVIEW_NODE_COLLAPSE,\r
-\r
                        //! No real event. Just for convenience to get number of events\r
                        EGET_COUNT\r
                };\r
@@ -413,7 +383,14 @@ struct SEvent
                bool Control:1;\r
        };\r
 \r
-    //! Any kind of touch event.\r
+       //! String input event.\r
+       struct SStringInput\r
+       {\r
+               //! The string that is entered\r
+               core::stringw *Str;\r
+       };\r
+\r
+       //! Any kind of touch event.\r
        struct STouchInput\r
        {\r
                // Touch ID.\r
@@ -475,10 +452,10 @@ struct SEvent
        /** Unlike other events, joystick events represent the result of polling\r
         * each connected joystick once per run() of the device. Joystick events will\r
         * not be generated by default.  If joystick support is available for the\r
-        * active device, _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ is defined, and\r
-        * @ref irr::IrrlichtDevice::activateJoysticks() has been called, an event of\r
-        * this type will be generated once per joystick per @ref IrrlichtDevice::run()\r
-        * regardless of whether the state of the joystick has actually changed. */\r
+        * active device, and @ref irr::IrrlichtDevice::activateJoysticks() has been\r
+        * called, an event of this type will be generated once per joystick per\r
+        * @ref IrrlichtDevice::run() regardless of whether the state of the joystick\r
+        * has actually changed. */\r
        struct SJoystickEvent\r
        {\r
                enum\r
@@ -581,6 +558,7 @@ struct SEvent
                struct SGUIEvent GUIEvent;\r
                struct SMouseInput MouseInput;\r
                struct SKeyInput KeyInput;\r
+               struct SStringInput StringInput;\r
                struct STouchInput TouchInput;\r
                struct SAccelerometerEvent AccelerometerEvent;\r
                struct SGyroscopeEvent GyroscopeEvent;\r