Commit Graph

34 Commits

Author SHA1 Message Date
Martín Lucas Golini
246fa4bf80 Removed and repleaced all Nodes delete without a previous close() call. This fixes a possible crash on UIListBox, UITable and UITabWidget.
Fixed UIWindow frame buffer pixel density.
Allow "text-decoration" CSS property.
Fixed a crash on the TextureAtlasEditor.
Added Action::getCurrentProgress().

--HG--
branch : dev
2019-11-26 04:21:41 -03:00
Martín Lucas Golini
8cf77ffd2b Minor fix.
--HG--
branch : dev
2019-11-21 00:43:44 -03:00
Martín Lucas Golini
45cf7f4f73 UINodeDrawable replacing UISkinState for UINode background and foreground.
WIP new properties support.
Added "text-align" property to UITextView.
Fixed a bug in StyleSheetSelectorRule.

--HG--
branch : dev
2019-11-13 17:40:38 -03:00
Martín Lucas Golini
8b437876b0 UIColorPicker implemented.
--HG--
branch : dev
2019-11-10 19:21:30 -03:00
Martín Lucas Golini
588ce9251a Fix in editor for Windows.
--HG--
branch : dev
2019-11-10 00:45:59 -03:00
Martín Lucas Golini
c2a82455d8 UIEditor: Remember loaded layout files.
--HG--
branch : dev
2019-11-09 23:14:34 -03:00
Martín Lucas Golini
8917dfebf0 Fixed UIMenu::remove() and UIMenu::removeAll() crashes.
Fixed UIImage size bugs.
Minor improvements in UIEditor.
Started implementing the color picker UI.
Fix when closing a Scene::Node when mouse was over that Node.

--HG--
branch : dev
2019-11-09 18:13:24 -03:00
Martín Lucas Golini
46a62c6fdb More clean up.
--HG--
branch : dev
2019-11-05 01:35:02 -03:00
Martín Lucas Golini
cc5d5a7630 Removed a test printf.
--HG--
branch : dev
2019-08-10 15:15:20 -03:00
Martín Lucas Golini
11b3cfc1f4 Added Window::getScale() to get the device scale factor.
mingw32 build now uses premake5.

--HG--
branch : dev
2019-06-19 23:46:17 -03:00
Martín Lucas Golini
120f277a7f Texture modifications are thread-safe with shared OpenGL contexts.
--HG--
branch : dev-css
2019-05-21 01:47:13 -03:00
Martín Lucas Golini
2a936fe7eb More UIEditor improvements.
--HG--
branch : dev
2019-01-20 02:27:34 -03:00
Martín Lucas Golini
9de37a61a7 Minor UIEditor fixes.
--HG--
branch : dev
2019-01-20 02:02:30 -03:00
Martín Lucas Golini
023f00167e emscripten fixes.
--HG--
branch : dev
2019-01-12 05:44:26 -03:00
Martín Lucas Golini
8bd92fc8df Fixed Android build.
--HG--
branch : dev
2019-01-05 04:11:57 -03:00
Martín Lucas Golini
c0d69b8446 More clean up.
--HG--
branch : dev-css
2019-01-03 01:57:45 -03:00
Martín Lucas Golini
fa5b958c8e Some clean up.
--HG--
branch : dev-css
2019-01-01 04:32:55 -03:00
Martín Lucas Golini
b7908851b0 UIWidget padding support WIP.
--HG--
branch : dev-widget-padding
2018-12-09 04:59:50 -03:00
Martín Lucas Golini
46824f3af5 UI Editor improvements.
--HG--
branch : dev
2018-03-25 20:12:00 -03:00
Martín Lucas Golini
feeafde073 Updated Audio module.
--HG--
branch : dev
2018-03-17 18:50:24 -03:00
Martín Lucas Golini
ac75530bd5 Minor changes to the UIEditor.
--HG--
branch : dev
2018-03-16 21:27:27 -03:00
Martí­n Lucas Golini
2f6bc4dcdc Added Window::getBorderSize.
--HG--
branch : dev
2018-03-16 15:22:42 -03:00
Martí­n Lucas Golini
dae13bda2d Minor change in the UIEditor.
--HG--
branch : dev
2018-03-16 15:13:11 -03:00
Martí­n Lucas Golini
610c1c6720 UINode::setTheme fixes.
--HG--
branch : dev
2018-03-16 14:24:57 -03:00
Martí­n Lucas Golini
d52ff835fb UIEditor working.
--HG--
branch : dev
2018-03-16 14:04:54 -03:00
Martín Lucas Golini
1961515be2 WIP basic UIEditor.
--HG--
branch : dev
2018-03-16 13:09:52 -03:00
Martín Lucas Golini
c5de0fb1ff WIP basic UIEditor.
--HG--
branch : dev
2018-03-16 02:24:48 -03:00
Martín Lucas Golini
a1c016ad3f WIP SceneNode, SceneManager, UISceneNode, EventDispatcher.
--HG--
branch : dev-scenenode
2018-02-04 04:27:38 -03:00
Martín Lucas Golini
f748454f8b UI::UIMessage is now Scene::NodeMessage.
UI::UIEvent is now Scene::Event.
UI::UIEventMouse is now Scene::MouseEvent.
UI::UIEventKey is now Scene::KeyEvent.
Also some fixes.

--HG--
branch : dev-scene
2018-02-02 01:06:43 -03:00
Martín Lucas Golini
9fa2a453ba Added Window::setCloseRequestCallback to be able to control the window close request from the window manager.
--HG--
branch : dev-2.1-float
2018-01-29 23:30:08 -03:00
Martín Lucas Golini
9478edf3b0 Typo.
--HG--
branch : dev-2.1
2018-01-28 04:56:45 -03:00
Martín Lucas Golini
6edbf33ac6 Some bugfixes and added Map Editor tool.
--HG--
branch : dev-2.1
2018-01-28 04:55:26 -03:00
Martín Lucas Golini
3c0e4d7ed5 Added Window::DisplayManager ( implementing DisplayManagerSDL2 and DisplayManagerSFML ).
Engine instance is now automatically started and destroyed.
Forced the default working directory as the process path directory at start.

--HG--
branch : dev-2.1
2018-01-27 03:55:39 -03:00
Martín Lucas Golini
b4982e5554 Added Texture Atlas Editor as a tool app.
Added Window::getCurrentDisplayDPI and Window::getDisplayPixelDensity.
Also some minor fixes.

--HG--
branch : dev-2.1
2018-01-26 00:28:32 -03:00