Commit graph

68 commits

Author SHA1 Message Date
kaetemi
18d211f79b Merge with hotfix
--HG--
branch : develop
2015-02-22 10:53:17 +01:00
Nimetu
fbea1d2173 CGroupEditBox: ignore enter key when ctrl is pressed (ctrl+m combo) (issue #225)
--HG--
branch : fix-issue-225
2015-01-09 12:59:53 +02:00
dfighter1985
42ebad94f6 Implemented CGroupEditBoxDecor a decorated CGroupEditBox.
--HG--
branch : dfighter-tools
2014-10-16 20:25:19 +02:00
dfighter1985
c5cd6990fe When creating a new GUI set the base color to white.
--HG--
branch : dfighter-tools
2014-10-13 17:47:42 +02:00
dfighter1985
ded18b266c Implemented new action.
--HG--
branch : dfighter-tools
2014-10-11 21:43:28 +02:00
dfighter1985
481298b9f1 Merged develop
--HG--
branch : dfighter-tools
2014-10-11 02:15:07 +02:00
dfighter1985
7b45a05562 Added support for grouping widgets.
--HG--
branch : dfighter-tools
2014-10-11 00:42:43 +02:00
dfighter1985
aac2fd41a1 Allow multiselection.
--HG--
branch : dfighter-tools
2014-10-10 20:25:25 +02:00
dfighter1985
8cec8de3a0 Unselect selection when clicking 'nothing'.
--HG--
branch : dfighter-tools
2014-10-10 17:33:57 +02:00
kaetemi
74827a1808 Handle shadow outline in gui
--HG--
branch : develop
2014-10-08 23:20:35 +02:00
dfighter1985
3ffe56b862 Added support for ungrouping.
--HG--
branch : dfighter-tools
2014-10-08 20:36:16 +02:00
dfighter1985
d7d62e690c Make group selection optional.
--HG--
branch : dfighter-tools
2014-10-08 18:45:17 +02:00
dfighter1985
08b6675b3d Only select a group first in editor mode.
--HG--
branch : dfighter-tools
2014-10-08 18:00:54 +02:00
dfighter1985
ad9e9839fb Don't try to handle the right mouse button actions in editor mode.
--HG--
branch : dfighter-tools
2014-10-08 17:59:39 +02:00
dfighter1985
97ddd3573d Select groups first.
--HG--
branch : dfighter-tools
2014-10-08 17:37:05 +02:00
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