Commit Graph

52 Commits

Author SHA1 Message Date
Martín Lucas Golini
08bcbe1ca1 UITabWidget padding.
--HG--
branch : dev-widget-padding
2018-12-16 20:30:24 -03:00
Martín Lucas Golini
3ffb8db85a Node childs now updates they NodeDrawInvalidator no parent change.
Fixed a bug that prevented a correct draw invalidation in Windows.

--HG--
branch : dev-widget-padding
2018-12-11 01:25:13 -03:00
Martín Lucas Golini
1f80dcce30 Layouts and widgets padding fixes.
--HG--
branch : dev-widget-padding
2018-12-09 17:29:56 -03:00
Martín Lucas Golini
daef517aa9 Added NodeAttribute, now UIWidgets can setAttribute from attribute name and value.
--HG--
branch : dev
2018-07-14 20:43:29 -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
8646a79472 Clip flag goes to Scene::Node.
--HG--
branch : dev-scene
2018-02-01 17:14:11 -03:00
Martín Lucas Golini
81ff7cdaed Scene::Node WIP.
--HG--
branch : dev-scene
2018-02-01 03:00:55 -03:00
Martín Lucas Golini
dd20e489f1 Renamed UINode::mSize to UINode::mDpSize and UINode::mRealSize to UINode::mSize.
--HG--
branch : dev-2.1
2018-01-31 22:46:32 -03:00
Martín Lucas Golini
935f02c3f4 Fixed paddings.
--HG--
branch : dev-2.1-float
2018-01-30 03:09:25 -03:00
Martín Lucas Golini
64379c9211 UINode::setSize is float ( and a lot of related fields too ).
--HG--
branch : dev-2.1-float
2018-01-30 02:19:42 -03:00
Martín Lucas Golini
1361f5e002 Testing if i can move to UI float positions without breaking everything.
--HG--
branch : dev-2.1-float
2018-01-29 03:04:40 -03:00
Martín Lucas Golini
b18c7b06e8 WIP doesn't work.
--HG--
branch : dev-2.1-transformable-node
2018-01-15 14:36:04 -03:00
Martín Lucas Golini
ea427b21bc Added UIAction and UIActionManager. Every node now can implement actions.
Implemented base actions: Move, Scale, Fade, Rotate.

--HG--
branch : dev-2.1
2018-01-12 01:41:53 -03:00
Martí­n Lucas Golini
e21daabe65 Renamed UIControl to UINode.
Removed UIControlAnim and UIDragableControl.
UIControlAnim and UIDragableControl implemented in base UINode.

--HG--
branch : dev-2.1
2018-01-02 02:37:23 -03:00
Martín Lucas Golini
77637f71fa Moved "src/eepp/helper" folder to "src/thirdparty".
Also some minor fixes.

--HG--
branch : dev-2.1
2017-12-30 14:29:38 -03:00
Martín Lucas Golini
a86e1538f5 Draw invalidation WIP.
UIWindow with FBO WIP.

--HG--
branch : dev
2017-10-23 02:30:31 -03:00
Martí­n Lucas Golini
e57e09dec8 Refactored UIMessage and UIEvent.
--HG--
branch : dev
2017-10-16 19:40:41 -03:00
Martín Lucas Golini
4e1f476ee1 Replaced default font.
Added beginPropertiesTransaction() and endPropertiesTransaction().
Added UILayout.
Added EventOnDragStart and EventOnDragStop.
Renamed MsgDragEnd to MsgDragStop.

--HG--
branch : dev
2017-10-16 01:33:34 -03:00
Martín Lucas Golini
a58dcc5b56 UI alpha color fixes.
--HG--
branch : dev
2017-08-11 01:56:30 -03:00
Martí­n Lucas Golini
6d14696337 Color now is RGB.
ColorA now is Color.

--HG--
branch : dev
2017-04-11 02:03:52 -03:00
Martín Lucas Golini
3605bf894d Minor UI API changes.
--HG--
branch : dev
2017-04-09 20:32:51 -03:00
Martí­n Lucas Golini
c4804482c5 Renamed UIFontStyleConfig::updateFontStyleConfig to UIFontStyleConfig::updateStyleConfig
to stop clang complaining.

--HG--
branch : dev
2017-03-30 01:20:18 -03:00
Martí­n Lucas Golini
338940a177 UIImage is now UISubTexture.
Implemented a new UIImage based on Drawables instead of SubTextures.
Added DrawableSearcher class.
Fixed some UI bugs.

--HG--
branch : dev
2017-03-19 22:32:02 -03:00
Martí­n Lucas Golini
b0d0e2e579 Renderer refactor.
--HG--
branch : dev
2017-03-19 20:10:24 -03:00
Martí­n Lucas Golini
c154544563 ADded UITheme::getSkin.
Fixed UIListBox default row height.

--HG--
branch : dev
2017-03-15 21:42:23 -03:00
Martí­n Lucas Golini
775eb656ca More refactor and fixes.
--HG--
branch : dev-font
2017-03-15 01:57:35 -03:00
Martí­n Lucas Golini
8596c9391a Load UI from XML WIP.
--HG--
branch : dev
2017-03-10 02:54:24 -03:00
Martí­n Lucas Golini
454bbf63ee Refactored some UI control names.
Implementing UILinearLayout.

--HG--
branch : dev
2017-03-08 02:28:14 -03:00
Martí­n Lucas Golini
b34e922e70 Some clean up.
--HG--
branch : dev
2017-03-04 20:55:38 -03:00
Martí­n Lucas Golini
cab961cbcb Removed all the CreateParams.
Removed all the Theme::create[UIElement]

--HG--
branch : dev
2017-03-03 02:16:00 -03:00
Martí­n Lucas Golini
9742ff2bea PushButton clean up WIP.
--HG--
branch : dev
2017-03-02 03:49:51 -03:00
Martín Lucas Golini
8a1047d022 Some clean up.
--HG--
branch : dev
2017-03-01 15:54:38 -03:00
Martí­n Lucas Golini
5ddbc69a9f Working on a new way to style the widgets from the themes.
--HG--
branch : dev
2017-02-28 05:35:51 -03:00
Martí­n Lucas Golini
39eb7e8f01 Some fixes and clean up.
--HG--
branch : dev
2017-02-28 01:27:08 -03:00
Martí­n Lucas Golini
7a759fce0b UITab and UITabWidget WIP.
--HG--
branch : dev
2017-02-27 13:24:43 -03:00
Martí­n Lucas Golini
c2a12027e0 Many fixes and working on supporting UI components creation without params.
--HG--
branch : dev
2017-02-27 01:59:58 -03:00
Martí­n Lucas Golini
d55f4040e0 More fixes.
--HG--
branch : dev
2017-02-25 06:11:53 -03:00
Martí­n Lucas Golini
59d790fbea Texture Atlas now saves the pixel density information of the subtexture.
Created PixelDensity class, moved the PD functions to that class.
Added support for rendering UIThemes with different pixel densities scaled, still WIP.
Added the atlases base textures.

--HG--
branch : dev
2017-02-25 02:36:28 -03:00
Martí­n Lucas Golini
7815dc6511 Pixel density support WIP.
--HG--
branch : dev
2017-02-22 05:42:05 -03:00
Martí­n Lucas Golini
b083c38ed6 Fix.
--HG--
branch : dev
2017-02-18 16:31:05 -03:00
Martí­n Lucas Golini
0be137cc5a More UI refactoring.
--HG--
branch : dev
2017-02-18 13:56:20 -03:00
Martí­n Lucas Golini
c5213cd551 UI module more refactoring.
--HG--
branch : dev
2017-02-18 05:19:11 -03:00
Martí­n Lucas Golini
c7a5220c21 UI module refactoring.
--HG--
branch : dev
2017-02-18 05:00:15 -03:00
Martín Lucas Golini
ba3781229d Graphic module improvements.
--HG--
branch : dev
2017-02-17 23:22:49 -03:00
Martín Lucas Golini
fdf67752a3 Math module improvements.
--HG--
branch : dev
2017-02-17 19:16:39 -03:00
Martí­n Lucas Golini
f11531fc9a Fixes.
--HG--
branch : dev
2017-02-17 04:07:42 -03:00
Martí­n Lucas Golini
3cb99a9036 UI module refactored.
--HG--
branch : dev
2017-02-16 16:39:08 -03:00
Martí­n Lucas Golini
4ec135cedb Graphics module refactored.
SFML backend refactored.

--HG--
branch : dev
2017-02-16 03:31:08 -03:00
Martí­n Lucas Golini
35955a80bd Math module refactored.
--HG--
branch : dev
2017-02-14 23:23:24 -03:00