Commit graph

53 commits

Author SHA1 Message Date
dfighter1985
d2587df8c1 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.
--HG--
branch : dfighter-tools
2014-09-29 20:29:04 +02:00
dfighter1985
4571038fa6 Update CCtrlTextButton's CViewText's coords after updating it's own coords.
--HG--
branch : dfighter-tools
2014-09-29 17:38:24 +02:00
dfighter1985
86007c9156 Posref changes in the editor should apply...
--HG--
branch : dfighter-tools
2014-09-29 17:23:22 +02:00
dfighter1985
0055e2dd91 A little refactoring.
--HG--
branch : dfighter-tools
2014-09-27 20:15:46 +02:00
dfighter1985
c92d084600 Merged develop.
--HG--
branch : dfighter-tools
2014-09-27 00:08:06 +02:00
dfighter1985
938c36027d Editbox selection should be stopped when the mouse button goes up, even if it happens outside of the box.
--HG--
branch : develop
2014-09-26 23:29:38 +02:00
dfighter1985
006f87278b Refactored IWidgetAdditionWatcher, now it's called IWidgetWatcher and it also reports widget moves.
--HG--
branch : dfighter-tools
2014-09-24 23:32:24 +02:00
dfighter1985
a658be39b7 No need for free floating elements when we can simply reparent to the top window...
--HG--
branch : dfighter-tools
2014-09-24 22:59:40 +02:00
dfighter1985
e7ab56beea Orphaned widgets won't get stuck.
--HG--
branch : dfighter-tools
2014-09-24 20:40:37 +02:00
dfighter1985
bd7cb1eea3 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.
--HG--
branch : dfighter-tools
2014-09-24 18:45:52 +02:00
dfighter1985
f9dbef7df7 Set dragged widgets' coordinates based on the move rather than the mouse pointer's coords.
--HG--
branch : dfighter-tools
2014-09-24 16:31:26 +02:00
dfighter1985
62744db86d Dragged elements will no longer disappear.
--HG--
branch : dfighter-tools
2014-09-24 16:20:25 +02:00
kaetemi
6551881171 Handle GUI event only once
--HG--
branch : develop
2014-09-23 19:47:06 +02:00
dfighter1985
4abf74d6e9 We can now drag elements, they will disappear and whatnot, but at least they can be dragged!
--HG--
branch : gui-editor
2014-04-21 19:30:33 +02:00
dfighter1985
e12d189d51 Refactored input event handling a bit.
--HG--
branch : gui-editor
2014-04-20 21:41:57 +02:00
dfighter1985
41f44b2aa6 Merge default.
--HG--
branch : gsoc2012-gui-editor
2014-04-19 21:53:29 +02:00
Nimetu
3cd6ecdb82 Add deadlock counter to prevent endless loop (issue #73)
--HG--
branch : misc-patches
2014-01-03 19:11:49 +02:00
kervala
a45bbd96c5 Fixed: Warning with clang 2013-11-13 22:23:02 +01:00
Quitta
e8db641b47 Merge with default
--HG--
branch : quitta-gsoc-2013
2013-07-31 16:17:29 +02:00
Quitta
12baee2fcf fix for getting client working + possibly auto login for ingame part
--HG--
branch : quitta-gsoc-2013
2013-07-30 01:46:56 +02:00
kaetemi
d5308215aa Avoid redundant per-frame calls to getDbProp in NLGUI::CWidgetManager
--HG--
branch : kaetemi-optimize
2013-07-28 00:48:34 +02:00
dfighter1985
25195fce4c The editor probably shouldn't crash when adding textbutton widget.
--HG--
branch : gsoc2012-gui-editor
2013-05-10 02:10:18 +02:00
dfighter1985
9042de4ab2 Make sure to apply the changes, when changing properties.
--HG--
branch : gsoc2012-gui-editor
2013-05-10 00:55:23 +02:00
dfighter1985
057960d056 Forgot to set the parent.
--HG--
branch : gsoc2012-gui-editor
2013-05-10 00:28:29 +02:00
dfighter1985
337f93a233 When adding a new widget, the correct widget is now instantiated. Also added some checks.
--HG--
branch : gsoc2012-gui-editor
2013-05-09 23:57:48 +02:00
dfighter1985
142bc623c9 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 ).
--HG--
branch : gsoc2012-gui-editor
2013-05-09 05:53:14 +02:00
dfighter1985
67a24bb1b0 Merged default
--HG--
branch : gsoc2012-gui-editor
2013-05-03 02:07:38 +02:00
kervala
ab454f3d92 fixes #31 Luabind can't be found
Added PCH support to NeL GUI
2013-03-24 20:16:23 +01:00
dfighter1985
aa2affa158 MODIFIED: Draw the highlight of the currently selected widget in editor mode.
--HG--
branch : gsoc2012-gui-editor
2013-03-07 06:01:33 +01:00
dfighter1985
532a3ef7d3 MODIFIED: collapse the widget hierarchy tree and remove the widget from it when it's deleted. Also clear the widget properties panel.
--HG--
branch : gsoc2012-gui-editor
2013-03-03 03:49:56 +01:00
dfighter1985
365ef61ec9 MODIFIED: Update property browser when selecting in the central widget.
--HG--
branch : gsoc2012-gui-editor
2013-02-23 06:55:19 +01:00
dfighter1985
3a7f25bc79 MODIFIED: Views can now be selected too from the central widget.
--HG--
branch : gsoc2012-gui-editor
2013-02-23 00:13:44 +01:00
mattraykowski
e7e51f01e0 merging gui editor repo. 2013-02-14 09:53:06 -06:00
dfighter1985
66d381f37d MODIFIED: #1471 Incompatible / unincrementable iterators assert will no longer be hit in debug mode with M$ STL when updating the interface anims.
--HG--
branch : gsoc2012-gui-editor
2012-11-22 22:57:37 +01:00
dfighter1985
503b9c4234 CHANGED: #1471 Tree/node data is now serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-17 04:37:07 +02:00
dfighter1985
180f86694d CHANGED: #1471 interface options are now serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-16 00:45:19 +02:00
dfighter1985
2cfd7820d0 CHANGED: #1471 Buttons can now be selected in the NelGUI widget or the widget hierarchy widget, and they will become highlighted.
--HG--
branch : gsoc2012-gui-editor
2012-07-22 23:32:35 +02:00
dfighter1985
0d21b4fd29 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.
--HG--
branch : gsoc2012-gui-editor
2012-07-21 21:12:43 +02:00
dfighter1985
44643839be CHANGED: #1471 The local string mapper is now instantiated by CWidgetManager.
--HG--
branch : gui-refactoring
2012-07-16 06:16:43 +02:00
dfighter1985
63f7fa81e9 CHANGED: #1471 it's a good idea to register GUI widget classes with the reflection system if we want to use them!
--HG--
branch : gui-refactoring
2012-07-14 05:16:09 +02:00
dfighter1985
e2abe1e33e CHANGED: #1471 CInterfaceParser is now a component of CWidgetManager, and is instantiated by an abstract factory method. (IParser::createParser())
--HG--
branch : gui-refactoring
2012-07-13 05:37:09 +02:00
dfighter1985
11d2efb96f CHANGED: #1471 Moved CProcedure code to it's own files, and also moved the procedure handling code from CInterfaceManager to CWidgetManager.
--HG--
branch : gui-refactoring
2012-07-12 05:29:33 +02:00
dfighter1985
530b542e4a CHANGED: #1471 Moved some more GUI code from CInterfaceManager to CWidgetManager.
--HG--
branch : gui-refactoring
2012-07-11 22:27:22 +02:00
dfighter1985
b8f3aff5b1 CHANGED: #1471 Moved the input event handling code from CInterfaceManager to CWidgetManager.
--HG--
branch : gui-refactoring
2012-07-11 06:44:34 +02:00
dfighter1985
ad764e7bf0 CHANGED: #1471 Moved the widget drawing code from CInterfaceManager to CWidgetManager, so the GUI library can now draw the widgets!
--HG--
branch : gui-refactoring
2012-07-10 23:01:09 +02:00
dfighter1985
42a282de48 CHANGED: #1471 Moved the contexthelp drawing/controlling code to the GUI library.
--HG--
branch : gui-refactoring
2012-07-10 06:25:15 +02:00
dfighter1985
803bdc6272 CHANGED: #1471 Broke up CViewPointer into a generic and a Ryzom game related class.
--HG--
branch : gui-refactoring
2012-07-02 02:50:47 +02:00
dfighter1985
9cb78fe4f5 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!
--HG--
branch : gui-refactoring
2012-06-28 11:06:36 +02:00
dfighter1985
aa5562b166 CHANGED: #1471 CGroupContainer no longer depends on CInterfaceManager, CViewPointer and the Ryzom game client time values.
--HG--
branch : gui-refactoring
2012-06-23 06:24:09 +02:00
dfighter1985
7acd93ff7c CHANGED: #1471 CViewText no longer depends on CInterfaceManager.
--HG--
branch : gui-refactoring
2012-06-17 02:08:21 +02:00