Commit Graph

340 Commits

Author SHA1 Message Date
Martín Lucas Golini
c1d586eaf9 Reworking input implementation (might have some bugs).
Minor bug fixes.

--HG--
branch : dev
2019-11-07 17:34:44 -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
35a7aa6641 Crash fix.
--HG--
branch : dev
2019-11-04 18:29:30 -03:00
Martín Lucas Golini
9aa7b4b7d0 Renamed TextureSaver to ScopedTexture.
Added System::ThreadPool.
Refactored ResourceLoader.
Removed OjbectLoader and all object type loaders.
Some minor refactors.

--HG--
branch : dev
2019-09-08 02:26:33 -03:00
Martín Lucas Golini
2e663e86b9 More accurate Sys::Sleep for Windows.
More accurate Milliseconds().
More accurate Window::setFrameRateLimit.

--HG--
branch : dev
2019-07-02 02:34:15 -03:00
Martín Lucas Golini
f122c1554c Texture is now a DrawableResource.
DrawableResource now can emit events on resource changes, load and unload.
UIImage improvements.

--HG--
branch : dev
2019-06-24 23:42:47 -03:00
Martín Lucas Golini
a6c82095a3 UIScrollView, UIScrollBar, UISlider, UITabWidget fixes.
Fixed * selector with pseudoclasses.

--HG--
branch : dev
2019-06-23 23:14:37 -03:00
Martín Lucas Golini
c3b368ee76 UI bug fixes and minor changes.
--HG--
branch : dev-css
2019-05-22 00:35:01 -03:00
Martín Lucas Golini
3a43043fe5 Initial support for non-cacheable CSS styles.
Some minor colors refactor.
Some minor bug fixes.

--HG--
branch : dev-css
2019-05-19 04:00:24 -03:00
Martín Lucas Golini
5eab4ab11a Working on orienting the UI to CSS states, and removing states from the base UIWidget.
--HG--
branch : dev-css
2019-02-01 21:30:08 -03:00
Martín Lucas Golini
bccc4b0766 Fixed eetest release build.
--HG--
branch : dev
2019-01-13 04:51:01 -03:00
Martín Lucas Golini
2cda2304d8 Cursor refactor.
--HG--
branch : dev
2019-01-12 02:22:31 -03:00
Martín Lucas Golini
6b05bae813 String::strFormat is now String::formatBuffer.
String::strFormated is now String::format.
Added Actions::ResizeBorderRadius and implemented Border Radius CSS transition.
Renamed BackgroundCorners for BorderRadius.
Renamed ForegroundCorners for ForgroundRadius.

--HG--
branch : dev
2019-01-09 01:13:57 -03:00
Martín Lucas Golini
6e46bf9968 Minor clean up.
--HG--
branch : dev
2019-01-06 14:46:20 -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
5f7281e808 More clean up.
--HG--
branch : dev-css
2019-01-01 15:39:18 -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
3962de8e43 More CSS work.
--HG--
branch : dev-css
2018-12-30 03:28:31 -03:00
Martín Lucas Golini
8094b26310 CSS support WIP.
--HG--
branch : dev
2018-12-29 20:27:31 -03:00
Martín Lucas Golini
dd2bfc083c Moved ActionManager as a global SceneNode action manager, instead of an Action
Manager per Node approach.

--HG--
branch : dev-stateful-drawable
2018-12-22 17:57:38 -03:00
Martín Lucas Golini
fba7a467e2 Removed UIBorder in favor of stateful UISkin.
--HG--
branch : dev-stateful-drawable
2018-12-21 02:02:41 -03:00
Martín Lucas Golini
ae9f00cf81 Replaced UIBackground in favor of stateful UISkin.
--HG--
branch : dev-stateful-drawable
2018-12-21 01:35:58 -03:00
Martín Lucas Golini
6ef328ef31 Added Scene Actions: Enable, Disable, Visible.
Removed all the start[ActionName] functions in UINode in favor of using runAction.

--HG--
branch : dev-stateful-drawable
2018-12-20 13:10:29 -03:00
Martín Lucas Golini
02cf8773ed Some eeNew replaced with Class::New.
--HG--
branch : dev-stateful-drawable
2018-12-17 22:16:38 -03:00
Martín Lucas Golini
280931e236 Stateful Drawable skeleton.
--HG--
branch : dev-stateful-drawable
2018-12-17 02:13:28 -03:00
Martín Lucas Golini
2aa56c630a Minor clean up.
--HG--
branch : dev-widget-padding
2018-12-13 02:31:22 -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
b7908851b0 UIWidget padding support WIP.
--HG--
branch : dev-widget-padding
2018-12-09 04:59:50 -03:00
Martín Lucas Golini
1250eb967b Replacement of PlusCallback in favor of std::functional ( just for lambdas ).
--HG--
branch : dev-functional
2018-07-17 10:31:34 -03:00
Martín Lucas Golini
ae9228887e Fix.
--HG--
branch : dev
2018-03-17 19:37:54 -03:00
Martín Lucas Golini
2d96bb169c Added Image::svgScale.
Added TexturePacker option scalable svg.
Clean up.

--HG--
branch : dev
2018-03-17 03:16:00 -03:00
Martín Lucas Golini
bd2b08e9b2 Minor fix.
--HG--
branch : dev
2018-03-07 21:03:16 -03:00
Martín Lucas Golini
d8e8e601ef Android build fix.
--HG--
branch : dev
2018-03-07 20:41:23 -03:00
Martín Lucas Golini
b64b092bb5 Android build fix.
--HG--
branch : dev
2018-03-07 20:40:58 -03:00
Martín Lucas Golini
c58252075a Several fixes and clean up.
--HG--
branch : dev-scenenode
2018-02-04 20:59:20 -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
81ff7cdaed Scene::Node WIP.
--HG--
branch : dev-scene
2018-02-01 03:00:55 -03:00
Martín Lucas Golini
9b09e0189e Experimental branch.
I want to add a Scene Manager that supports Nodes.
The UINode must inherit Scene::Node.

--HG--
branch : dev-scene
2018-01-31 23:24:59 -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
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
b9d84b447a More changes.
--HG--
branch : dev-2.1-float
2018-01-29 12:44:25 -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
b41522a69d UINode improvements.
UIWindow fix.

--HG--
branch : dev-2.1
2018-01-29 00:00:54 -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
Martín Lucas Golini
8cd531602b Simplified the renderers, added RendererGLShader, a base class for all the shader based renderers ( GL3, GL3CP, GLES2 ).
Converted the shaders strings as raw string literals.

--HG--
branch : dev-2.1
2018-01-19 00:08:44 -03:00
Martín Lucas Golini
0801d4c23d Added support to GL_TEXTURE_MATRIX on the renderers.
Added Texture::CoordinateType and implemented the support to the TextureFactory::bind.
Some refactor was made.
Text now uses CoordinateType::Pixel.

--HG--
branch : dev-2.1
2018-01-18 02:31:53 -03:00
Martí­n Lucas Golini
6e61171a85 Minor test.
--HG--
branch : dev-2.1-transformable-node
2018-01-15 17:27:19 -03:00
Martí­n Lucas Golini
5ec7a0cbed Transformable working.
--HG--
branch : dev-2.1-transformable-node
2018-01-15 16:34:29 -03:00