Commit Graph

316 Commits

Author SHA1 Message Date
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
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
b1947d6d0b Minor refactor.
Added Math::Transformable.

--HG--
branch : dev-2.1
2018-01-14 19:59:37 -03:00
Martí­n Lucas Golini
a89b0a78bd Added Actions: Dealy, Sequence, Spawn.
Fixed several minor bugs in Actions.

--HG--
branch : dev-2.1
2018-01-13 19:29:59 -03:00
Martín Lucas Golini
af3af9bef0 Renamed all the functions with "*Subset*" to "*TexCoord".
--HG--
branch : dev-2.1
2018-01-11 22:56:58 -03:00
Martín Lucas Golini
29b5251f97 Renamed SubTexture to TextureRegion.
Fixed a bug with frambuffers and views.

--HG--
branch : dev-2.1
2018-01-11 21:17:01 -03:00
Martín Lucas Golini
c470008104 Better views and viewport in ratio instead of pixels.
--HG--
branch : dev-2.1
2018-01-11 03:09:49 -03:00
Martín Lucas Golini
2ffa9e4734 Added System::VirtualFileSystem.
--HG--
branch : dev-2.1
2018-01-06 02:55:52 -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
dcc905c4f8 Minor changes.
Interpolation setTotalTime now is setDuration.

--HG--
branch : dev
2017-12-30 00:31:14 -03:00
Martín Lucas Golini
f907d89367 Fixed IniFile::getValueB.
Added FileSystem::changeWorkingDirectory( Sys::getProcessPath() ); in demos.

--HG--
branch : dev
2017-12-29 22:35:43 -03:00
Martín Lucas Golini
3303defc5f Refactorized Interpolation1d and Interpolation2d.
--HG--
branch : dev
2017-12-24 03:50:43 -03:00
Martín Lucas Golini
0c18dc5bd8 Fixed Window::toggleFullscreen.
--HG--
branch : dev
2017-12-20 02:23:54 -03:00
Martín Lucas Golini
421c1c4434 Color buffer support.
--HG--
branch : dev
2017-12-19 02:11:30 -03:00
Martí­n Lucas Golini
f625e9d98a Minor refactor.
--HG--
branch : dev
2017-12-16 21:29:53 -03:00
Martí­n Lucas Golini
d32d362328 Enum types refactor.
Renderer refactor and more.

--HG--
branch : dev
2017-12-10 21:29:43 -03:00
Martí­n Lucas Golini
715d2d30b0 Replaced BlendMode with a new class.
--HG--
branch : dev
2017-12-10 18:13:31 -03:00
Martí­n Lucas Golini
d706560ea2 Fixed blend func on OpenGL ES.
--HG--
branch : dev
2017-12-10 13:57:32 -03:00
Martí­n Lucas Golini
a0ea822978 Sys::getProcessPath now doesn't need a window to return a valid path.
--HG--
branch : dev
2017-12-10 03:28:41 -03:00
Martín Lucas Golini
c1037f2036 Several fixes.
--HG--
branch : dev
2017-10-28 04:33:40 -03:00
Martín Lucas Golini
0e2ef7216b Minor change.
--HG--
branch : dev
2017-10-27 00:58:37 -03:00
Martín Lucas Golini
121fb2b47a Some minor changes.
Added a minor demo for blurred windows.

--HG--
branch : dev
2017-10-25 01:31:53 -03:00
Martín Lucas Golini
ec689dd667 Fixes.
--HG--
branch : dev
2017-10-24 01:30:55 -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