Commit graph

53 commits

Author SHA1 Message Date
dfighter1985
7504dc1238 From now on dragged widgets will be re-aligned on drop. They will find the nearest hotspot of the group they are dropped into, and calculate an offset so they will align to the hotspot and yet remain where they were dropped. 2014-09-29 20:29:04 +02:00
dfighter1985
4d5d67fac7 Update CCtrlTextButton's CViewText's coords after updating it's own coords. 2014-09-29 17:38:24 +02:00
dfighter1985
2383e19561 Posref changes in the editor should apply... 2014-09-29 17:23:22 +02:00
dfighter1985
fada6e7dcc A little refactoring. 2014-09-27 20:15:46 +02:00
dfighter1985
3fbe51185f Merged develop. 2014-09-27 00:08:06 +02:00
dfighter1985
161c8e5edc Editbox selection should be stopped when the mouse button goes up, even if it happens outside of the box. 2014-09-26 23:29:38 +02:00
dfighter1985
e6f4801129 Refactored IWidgetAdditionWatcher, now it's called IWidgetWatcher and it also reports widget moves. 2014-09-24 23:32:24 +02:00
dfighter1985
f7825fc8b3 No need for free floating elements when we can simply reparent to the top window... 2014-09-24 22:59:40 +02:00
dfighter1985
c5b8f30bb9 Orphaned widgets won't get stuck. 2014-09-24 20:40:37 +02:00
dfighter1985
f30054a26c Add widget to a new parent when the widget being dragged is dropped, otherwise add it to the orphanlist so that it's drawn anyways. NOTE: The dropped widget can be clipped. If it is clipped, it never shows up even tho it's there. 2014-09-24 18:45:52 +02:00
dfighter1985
49d023d273 Set dragged widgets' coordinates based on the move rather than the mouse pointer's coords. 2014-09-24 16:31:26 +02:00
dfighter1985
574d24e5e3 Dragged elements will no longer disappear. 2014-09-24 16:20:25 +02:00
kaetemi
3158f6d90e Handle GUI event only once 2014-09-23 19:47:06 +02:00
dfighter1985
916c9bf919 We can now drag elements, they will disappear and whatnot, but at least they can be dragged! 2014-04-21 19:30:33 +02:00
dfighter1985
83e0c1ceda Refactored input event handling a bit. 2014-04-20 21:41:57 +02:00
dfighter1985
8c23925246 Merge default. 2014-04-19 21:53:29 +02:00
Nimetu
2c38c21a40 Add deadlock counter to prevent endless loop (issue #73) 2014-01-03 19:11:49 +02:00
kervala
ca82fcfe0c Fixed: Warning with clang 2013-11-13 22:23:02 +01:00
Quitta
e3625bc4e4 Merge with default 2013-07-31 16:17:29 +02:00
Quitta
0bf8c4d526 fix for getting client working + possibly auto login for ingame part 2013-07-30 01:46:56 +02:00
kaetemi
36c969252b Avoid redundant per-frame calls to getDbProp in NLGUI::CWidgetManager 2013-07-28 00:48:34 +02:00
dfighter1985
776c95f12f The editor probably shouldn't crash when adding textbutton widget. 2013-05-10 02:10:18 +02:00
dfighter1985
2dbf68d6e4 Make sure to apply the changes, when changing properties. 2013-05-10 00:55:23 +02:00
dfighter1985
43019419af Forgot to set the parent. 2013-05-10 00:28:29 +02:00
dfighter1985
c030ad755d When adding a new widget, the correct widget is now instantiated. Also added some checks. 2013-05-09 23:57:48 +02:00
dfighter1985
101d2cc612 Some more work for widget adding support. Basically the system works, just need to make sure the proper widget is instantiated, and the defaults are loaded ( so it shows up ). 2013-05-09 05:53:14 +02:00
dfighter1985
e9d646d864 Merged default 2013-05-03 02:07:38 +02:00
kervala
7de717f9e2 fixes #31 Luabind can't be found
Added PCH support to NeL GUI
2013-03-24 20:16:23 +01:00
dfighter1985
836f3c9c2c MODIFIED: Draw the highlight of the currently selected widget in editor mode. 2013-03-07 06:01:33 +01:00
dfighter1985
8af3618cbf MODIFIED: collapse the widget hierarchy tree and remove the widget from it when it's deleted. Also clear the widget properties panel. 2013-03-03 03:49:56 +01:00
dfighter1985
84a4ac2f0d MODIFIED: Update property browser when selecting in the central widget. 2013-02-23 06:55:19 +01:00
dfighter1985
308bbbb0c6 MODIFIED: Views can now be selected too from the central widget. 2013-02-23 00:13:44 +01:00
mattraykowski
aa261f28a4 merging gui editor repo. 2013-02-14 09:53:06 -06:00
dfighter1985
295ab058a5 MODIFIED: #1471 Incompatible / unincrementable iterators assert will no longer be hit in debug mode with M$ STL when updating the interface anims. 2012-11-22 22:57:37 +01:00
dfighter1985
8a6d621881 CHANGED: #1471 Tree/node data is now serialized. 2012-08-17 04:37:07 +02:00
dfighter1985
b8cb3c43cd CHANGED: #1471 interface options are now serialized. 2012-08-16 00:45:19 +02:00
dfighter1985
25599a4a82 CHANGED: #1471 Buttons can now be selected in the NelGUI widget or the widget hierarchy widget, and they will become highlighted. 2012-07-22 23:32:35 +02:00
dfighter1985
2dc85e1136 ADDED: #1471 new class CEventListener that can register with the NEl event server and then send the pumped events to a CInputHandler instance which ofc translates them to Nel GUI events and sends them to whoever listens. Also added a timer to NelGUIWidget which periodically pumps events and redraws the viewport. 2012-07-21 21:12:43 +02:00
dfighter1985
da53ae9206 CHANGED: #1471 The local string mapper is now instantiated by CWidgetManager. 2012-07-16 06:16:43 +02:00
dfighter1985
73c63a99c7 CHANGED: #1471 it's a good idea to register GUI widget classes with the reflection system if we want to use them! 2012-07-14 05:16:09 +02:00
dfighter1985
f2c3c55bde CHANGED: #1471 CInterfaceParser is now a component of CWidgetManager, and is instantiated by an abstract factory method. (IParser::createParser()) 2012-07-13 05:37:09 +02:00
dfighter1985
7e8e21e2f6 CHANGED: #1471 Moved CProcedure code to it's own files, and also moved the procedure handling code from CInterfaceManager to CWidgetManager. 2012-07-12 05:29:33 +02:00
dfighter1985
b2ee4d275c CHANGED: #1471 Moved some more GUI code from CInterfaceManager to CWidgetManager. 2012-07-11 22:27:22 +02:00
dfighter1985
6506989e14 CHANGED: #1471 Moved the input event handling code from CInterfaceManager to CWidgetManager. 2012-07-11 06:44:34 +02:00
dfighter1985
86302f6a39 CHANGED: #1471 Moved the widget drawing code from CInterfaceManager to CWidgetManager, so the GUI library can now draw the widgets! 2012-07-10 23:01:09 +02:00
dfighter1985
27953ec7e8 CHANGED: #1471 Moved the contexthelp drawing/controlling code to the GUI library. 2012-07-10 06:25:15 +02:00
dfighter1985
923695fe70 CHANGED: #1471 Broke up CViewPointer into a generic and a Ryzom game related class. 2012-07-02 02:50:47 +02:00
dfighter1985
17c499ef17 CHANGED: #1471 CDBGroupSelectNumber is now part of the NELGUI library and is under the NLGUI namespace. Also had to add a workaround so that the linker doesn't drop the seemingly unused code from the library. Thanks goes to Kaetami for that! 2012-06-28 11:06:36 +02:00
dfighter1985
2b4298b269 CHANGED: #1471 CGroupContainer no longer depends on CInterfaceManager, CViewPointer and the Ryzom game client time values. 2012-06-23 06:24:09 +02:00
dfighter1985
4e67289d6d CHANGED: #1471 CViewText no longer depends on CInterfaceManager. 2012-06-17 02:08:21 +02:00