Commit graph

321 commits

Author SHA1 Message Date
dfighter1985
ded18b266c Implemented new action.
--HG--
branch : dfighter-tools
2014-10-11 21:43:28 +02:00
dfighter1985
e5d2e9293d Moved CRootGroup out of CInterfaceParser.
--HG--
branch : dfighter-tools
2014-10-11 19:30:30 +02:00
dfighter1985
7e16e95c35 CInterfaceParser in editor mode should look for files in the working directory first.
--HG--
branch : dfighter-tools
2014-10-11 16:26:38 +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
kaetemi
74827a1808 Handle shadow outline in gui
--HG--
branch : develop
2014-10-08 23:20:35 +02:00
dfighter1985
a1e2c5667a A little crash fix.
--HG--
branch : dfighter-tools
2014-10-08 21:28:20 +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
64571abd47 When moving a group draw it's children too.
--HG--
branch : dfighter-tools
2014-10-08 17:52:56 +02:00
kaetemi
ec68d2c317 Fix rendering of specially sized window highlights
--HG--
branch : develop
2014-10-08 09:31:13 +02:00
kaetemi
88a9a809a9 Add inset_t parameter to layer options, allows putting header graphics in top texture
--HG--
branch : develop
2014-10-04 01:43:27 +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
2603ad3a2b Refactoring. Added CInterfaceFactory.
--HG--
branch : dfighter-tools
2014-09-27 21:48:51 +02:00
dfighter1985
0055e2dd91 A little refactoring.
--HG--
branch : dfighter-tools
2014-09-27 20:15:46 +02:00
dfighter1985
4797b150d8 Move the text too with the text button.
--HG--
branch : dfighter-tools
2014-09-27 19:54:19 +02:00
Nimetu
0d62650159 Add maxlength attribute to input and textarea tags
--HG--
branch : html-maxlength-attr
2014-09-27 15:55:57 +03: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
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
62744db86d Dragged elements will no longer disappear.
--HG--
branch : dfighter-tools
2014-09-24 16:20:25 +02:00
dfighter1985
7a4d9e2cdc Merged the gui-editor branch.
--HG--
branch : dfighter-tools
2014-09-17 21:12:14 +02:00
dfighter1985
8373118c7e Merged default.
--HG--
branch : gsoc2014-dfighter
2014-07-22 00:15:50 +02:00
dfighter1985
012ad96806 Texture chooser now supports atlas textures as well.
--HG--
branch : gsoc2014-dfighter
2014-07-09 21:07:12 +02:00
kaetemi
e729a9d035 Fix #162: Center ingame mouse cursor after login 2014-07-09 12:31:22 +02:00
dfighter1985
085c1b41b9 Added facilities for viewing the loaded actions.
--HG--
branch : gsoc2014-dfighter
2014-07-02 22:27:04 +02:00
dfighter1985
842ca366de Tooltip posrefs are now enums in the GUI Editor.
--HG--
branch : gsoc2014-dfighter
2014-06-29 01:44:06 +02:00
kaetemi
798d207d0d Fix EOL 2014-04-30 12:53: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
4c2531474a Fix typo (issue #70)
--HG--
branch : misc-patches
2014-01-03 19:51:50 +02:00
kaetemi
5a9537dfcc Avoid having to use 'set' action handler, which parses the value expression on every use, in interface links by implementing use of cdb nodes as targets
--HG--
branch : kaetemi-optimize
2013-07-28 05:10:07 +02:00
kaetemi
7bb8dec40c Parse action handler condition for interface link in advance
--HG--
branch : kaetemi-optimize
2013-07-28 03:02:07 +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
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
d2fd01393f Merging default.
--HG--
branch : gsoc2012-gui-editor
2013-03-12 07:17:04 +01:00
dfighter1985
526da8ddf8 MODIFIED: no more action handler spam. 2013-03-12 07:16:16 +01:00
dfighter1985
7aee088634 FIXED: Deleting the CViewText of CCtrlTextButton should no longer lead to crashes.
--HG--
branch : gsoc2012-gui-editor
2013-03-10 00:56:27 +01:00
dfighter1985
df834e0584 FIXED: Widgets will no longer get stuck in the widget hierarchy tree, when deleting their parent.
--HG--
branch : gsoc2012-gui-editor
2013-03-09 22:02:31 +01:00
dfighter1985
363154e241 MODIFIED: Preliminary support for a little cleanup when removing a widget from it's parent group ( for example when moving the widget ).
--HG--
branch : gsoc2012-gui-editor
2013-03-08 06:28:52 +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
b80c47cc10 MODIFIED: Somehow I left this here, and it prevented viewtexts from being selected.
--HG--
branch : gsoc2012-gui-editor
2013-03-03 00:54:22 +01:00
dfighter1985
48d50cb409 MODIFIED: Text buttons will now delete their text too when being deleted.
--HG--
branch : gsoc2012-gui-editor
2013-03-02 23:27:17 +01:00
dfighter1985
026ccfcd13 MODIFIED: GUI Editor can now delete widgets.
--HG--
branch : gsoc2012-gui-editor
2013-03-02 06:57:40 +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
dfighter1985
fe456d91b6 GUI Editor no longer depends on RTTI typename, instead it uses GetClassName() string provided by DECLARE_UI_CLASS(). 2013-02-20 22:05:09 +01:00
mattraykowski
6e309fee7a changed #20 - moved the libwww package discovery and fixed include paths in library project. 2013-02-19 10:04:40 -06:00
dfighter1985
ecbcdf388f MODIFIED: Resolved some GCC build errors. 2013-02-17 14:30:05 +01:00
mattraykowski
e7e51f01e0 merging gui editor repo. 2013-02-14 09:53:06 -06:00
dfighter1985
fcb736c387 Merged mainline default branch changes.
--HG--
branch : gsoc2012-gui-editor
2013-02-14 10:47:10 +01:00
dfighter1985
cb13ce46cd MODIFIED: #1471 Merged mainline default to this branch.
--HG--
branch : gsoc2012-gui-editor
2012-11-25 05:22:40 +01:00
dfighter1985
d83c375981 CHANGED: #1471 GUI library will now build with the new externals and Visual Studio 2010.
--HG--
branch : gsoc2012-gui-editor
2012-10-24 18:16:01 +02:00
dfighter1985
e620f725c3 CHANGED: #1471 CCtrlBaseButton action handlers will now be retrievable, even if the action handler couldn't be found at the time of parsing.
--HG--
branch : gsoc2012-gui-editor
2012-08-20 01:29:49 +02:00
dfighter1985
a0559ee680 CHANGED: #1471 Keys are now parsed from the config files, and then serialized on save.
--HG--
branch : gsoc2012-gui-editor
2012-08-18 20:28:56 +02:00
dfighter1985
c532f23ac1 CHANGED: #1471 Pointer settings are now parsed even when the particular pointer cannot be instantiated. They are also serialized when serializing the GUI.
--HG--
branch : gsoc2012-gui-editor
2012-08-18 18:39:45 +02:00
dfighter1985
0d4c4cd56d CHANGED: #1471 Should be able to change text options for CCtrlTextButton.
--HG--
branch : gsoc2012-gui-editor
2012-08-18 03:37:52 +02:00
dfighter1985
caa024b0be CHANGED: #1471 Serialize text options for Buttons with text too.
--HG--
branch : gsoc2012-gui-editor
2012-08-18 02:46:19 +02:00
dfighter1985
91368514b6 CHANGED: #1471 GUI Procedures are now serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-17 21:49:54 +02:00
dfighter1985
87001d8ff1 CHANGED: #1471 Links are now serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-17 20:36:35 +02:00
dfighter1985
4ae34c1844 CHANGED: #1471 Variables are now serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-17 06:10:18 +02: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
c554c90fbe CHANGED: #1471 Widgets can now be flagged as non-serializable, in which case they won't be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-15 16:35:21 +02:00
dfighter1985
875f8814b7 CHANGED: #1471 CGroupContainer fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 21:02:20 +02:00
dfighter1985
f3cdb18f74 CHANGED: #1471 CGroupTab fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 19:43:43 +02:00
dfighter1985
d0f94ade15 CHANGED: #1471 CDBGroupSelectNumber fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 19:29:20 +02:00
dfighter1985
8a33e0ea9f CHANGED: #1471 CDBGroupComboBox fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 18:43:21 +02:00
dfighter1985
005afd7aab CHANGED: #1471 CGroupHTML fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 09:22:24 +02:00
dfighter1985
5371a77486 CHANGED: #1471 CGroupScrollText fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 02:10:27 +02:00
dfighter1985
4c9ab0ac63 CHANGED: #1471 CGroupParagraph fields can now we serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 01:33:54 +02:00
dfighter1985
a390b90ee0 CHANGED: #1471 CGroupHeader fields can now we serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 01:22:49 +02:00
dfighter1985
7d12259197 CHANGED: #1471 CGroupList fields can now we serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 01:20:14 +02:00
dfighter1985
7dfb60bd0c CHANGED: #1471 CGroupHTMLInputOffset fields can now we serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 01:10:14 +02:00
dfighter1985
42b4eae629 CHANGED: #1471 CGroupWheel fields can now we serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 00:59:29 +02:00
dfighter1985
7547c5aa88 CHANGED: #1471 CGroupHeaderEntry fields can now we serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-14 00:53:47 +02:00
dfighter1985
b4c21e1f04 CHANGED: #1471 CGroupTree fields can now we serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-13 22:38:02 +02:00
dfighter1985
e825f9b055 CHANGED: #1471 CGroupMenu fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-13 03:08:41 +02:00
dfighter1985
00bae86e74 CHANGED: #1471 CGroupModal fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-13 02:28:24 +02:00
dfighter1985
59d86b070e CHANGED: #1471 CGroupFrame fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-13 02:06:54 +02:00
dfighter1985
d1cf73e368 CHANGED: #1471 CGroupTable fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-13 01:58:39 +02:00
dfighter1985
11a3e03253 CHANGED: #1471 CGroupCell fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-13 01:34:00 +02:00
dfighter1985
d75e87d2dc CHANGED: #1471 CGroupEditBox fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-13 00:48:06 +02:00
dfighter1985
0e365679b7 CHANGED: #1471 CViewBitmapCombo fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-12 03:50:55 +02:00
dfighter1985
eb7e805fa5 CHANGED: #1471 CDBViewBar3 fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-12 03:43:31 +02:00
dfighter1985
7d72abed71 CHANGED: #1471 CDBViewBar fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-12 03:36:44 +02:00
dfighter1985
67ce41d6b3 CHANGED: #1471 CViewBitmap fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-12 03:20:03 +02:00
dfighter1985
81ba2dbcff CHANGED: #1471 CDBViewQuantity fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-12 03:11:28 +02:00
dfighter1985
1d4119c918 CHANGED: #1471 CDBViewNumber fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-12 02:58:14 +02:00
dfighter1985
0f3f381201 CHANGED: #1471 CViewTextIDFormated fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-12 01:32:21 +02:00
dfighter1985
a957beeb6c CHANGED: #1471 CViewTextFormated and CViewTextID fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-12 01:19:05 +02:00
dfighter1985
37c41001aa CHANGED: #1471 CViewText fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-12 00:31:43 +02:00
dfighter1985
a3de7ec1b9 CHANGED: #1471 CViewDigit fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-11 19:56:30 +02:00
dfighter1985
4e00abc283 CHANGED: #1471 CCtrlTooltip fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-11 19:32:18 +02:00
dfighter1985
bffa5806ca CHANGED: #1471 CCtrlScroll fields can now be serialized.
--HG--
branch : gsoc2012-gui-editor
2012-08-11 19:22:55 +02:00
dfighter1985
c6d8874ecf CHANGED: #1471 Implemented property setting/getting and serializing for CCtrlColPick.
--HG--
branch : gsoc2012-gui-editor
2012-08-10 21:44:33 +02:00
dfighter1985
37053325f9 CHANGED: #1471 Controls are now serialized into the XML output file when saving.
--HG--
branch : gsoc2012-gui-editor
2012-08-10 20:08:36 +02:00