Lynix
7c045a50db
SDK/BaseWidget: Add Rendering rect
2019-07-05 22:25:45 +02:00
Lynix
2d4dd7a8ab
SDK/Widgets: Fix Show overriding entity enabled state
2019-07-05 22:23:48 +02:00
Lynix
3bed2fb7fe
SDK/BaseWidget: Add SetParent
2019-07-05 22:21:35 +02:00
Lynix
5039bfbf1d
SDK/BaseWidget: Add OnMouseWheelMoved event
2019-07-05 22:19:17 +02:00
Jérôme Leclercq
53aa9ea170
Layouts ( #189 )
...
* Layout WIP
* Widgets/BoxLayout: Fix layout algorithm
* Widgets/BoxLayout: Fix box layout algorithm for good
* SDK/Widgets: Remove padding
* Sdk/Widgets: Make use of minimum/preferred size
* Sdk/TextAreaWidget: Add Minimum/PreferredSize to TextArea
* Sdk/Widgets: Add height/width variants of get/set fixed, maximum, minimum and preferred size methods
* Sdk/BoxLayout: Remove useless code
* Sdk/TextAreaWidget: Fix compilation
* Widgets/TextAreaWidget: Fix cursor position
2018-09-11 21:03:44 +02:00
Jérôme Leclercq
15f84dc712
Noexcept all the things!
2018-06-12 11:37:44 +02:00
Jérôme Leclercq
2da086b7df
New Render queues ( #161 )
...
* Add new render queues proof of concept + scissoring support (WIP)
* Graphics: Adapt basic sprites rendering to new render queue system
* Graphics: Fix layers when rendering sprites
* Graphics/RenderQueue: Fix sprite default overlay
* Graphics: Enable scissor test by default
* SDK/Widgets: Enable scissoring on widgets
* Graphics: Handle almost everything with the new renderqueues system
Todo:
- Billboard rendering
- Proper model rendering
* Graphics/RenderQueue: Billboard drawing now works (WIP)
At 1/4 of previous code performances due to individually process of billboards
* Add new render queues proof of concept + scissoring support (WIP)
* Graphics: Adapt basic sprites rendering to new render queue system
* Graphics: Fix layers when rendering sprites
* Graphics/RenderQueue: Fix sprite default overlay
* Graphics: Enable scissor test by default
* SDK/Widgets: Enable scissoring on widgets
* Graphics: Handle almost everything with the new renderqueues system
Todo:
- Billboard rendering
- Proper model rendering
* Graphics/RenderQueue: Billboard drawing now works (WIP)
At 1/4 of previous code performances due to individually process of billboards
* Graphics/RenderQueues: Add full support for billboards
* Graphics/RenderQueue: Cleanup and improve billboard rendering
* Graphics/RenderQueue: Fix model drawing
* Examples/Particles: Fix lighting on space station
* Graphics: Cleanup forward render queue/technique
* Fix compilation under Linux
* Graphics/ForwardRenderTechnique: Fix case when scissoring is enabled on material but disabled on element
* Add support for Deferred Shading
* SDK/Widgets: Fix widget rendering
* Graphics: Remove legacy code from render queues
* Graphics: Fix some objects sometimes not showing up due to broken scissor box
* Fix compilation error
* Sdk/GraphicsGraphics: Fix bounding volume
* SDK/World: Fix self-assignation
* Update changelog for render queues
2018-04-11 19:36:52 +02:00
germinolegrand
1e55c4d9e9
Prerequisites instead of Prerequesites (typo) #152 ( #153 )
2018-01-16 12:23:01 +01:00
Jérôme Leclercq
377dd992b9
Sdk/Canvas: Implement tab/shift-tab to switch to next/previous widget
2017-11-23 14:48:59 +01:00
Jérôme Leclercq
1601849a00
Sdk/BaseWidget: Add HasFocus method
2017-11-23 13:23:11 +01:00
Jérôme Leclercq
16d4a6ac1c
Sdk/BaseWidget: Fix compilation, for real
2017-11-15 10:48:30 +01:00
Lynix
f136530a74
BaseWidget: Renamed GrabKeyboard to SetFocus, added ClearFocus and focus virtual methods
2017-11-11 18:38:11 +01:00
Jérôme Leclercq
84537fcfb8
Sdk: Fix segfault when deleting hovered widget
2017-10-10 21:52:33 +02:00
Gawaboumga
bbac0838dd
Include-What-You-Use ( #137 )
...
* IWYU Core
* IWYU Noise
* IWYU Utility
* IWYU Audio
* IWYU Platform
* IWYU Lua
* IWYU Network
* IWYU Physics2D
* IWYU Physics3D
* IWYU Renderer
* IWYU Graphics
* IWYU NDKServer
* IWYU Fix
* Try to fix compilation
* Other fixes
2017-10-01 11:17:09 +02:00
Jérôme Leclercq
37896e2401
Sdk/BaseWidget: Add CenterHorizontal and CenterVertical() methods
2017-09-21 14:40:03 +02:00
Gawaboumga
5aa072cee3
New module: Platform - Split window management from Utility module ( #128 )
...
* New module: Platform - Split window management from Utility module
Final touch
* NDK/SDK: Bring back initialization of Utility
2017-08-30 10:22:50 +02:00
Lynix
cf286e0413
Sdk/Widgets: Add possibility to set cursor when mouse hover a widget
2017-01-20 20:03:00 +01:00
DrLynix
f383eca19a
Update copyright year
2017-01-20 12:58:35 +01:00
Lynix
6ba35700bf
Sdk/BaseWidget: Cleanup canvas index
2017-01-19 23:09:23 +01:00
Lynix
36bcdcdb8c
Sdk/Widgets: Make the canvas aware of itself as a widget
2017-01-18 23:35:43 +01:00
Lynix
c1dfc5c4b8
Sdk/Widgets: Properly fixes padding
2017-01-18 23:06:31 +01:00
Lynix
c9458eeb17
Sdk/BaseWidget: Add visibility control
2017-01-15 12:13:29 +01:00
Lynix
e1e290808a
Sdk/Canvas: Fix crash at Canvas destruction
2017-01-15 12:12:58 +01:00
Lynix
5865679891
Sdk/BaseWidget: Add a way to change background color
2017-01-15 12:11:59 +01:00
Lynix
fd923ed58b
Sdk/BaseWidget: Add Destroy method
2017-01-11 19:14:32 +01:00
Lynix
d57498be10
Sdk/BaseWidget: Widget::Add now returns a pointer (easier to use)
2017-01-11 19:13:40 +01:00
Lynix
4f1438f0f1
SDK/BaseWidget: Add OnParentResized method
2017-01-11 18:27:32 +01:00
Lynix
cfa9b4bf2f
SDK/Widgets: Add OnKeyPressed/OnKeyReleased callbacks
2016-12-03 00:35:39 +01:00
Lynix
7df732b927
Sdk/Canvas: Add basic keyboard handler
2016-10-28 17:46:02 +02:00
Lynix
7cab7cacaa
Sdk/BaseWidget: Add Center() method
...
Former-commit-id: 337837199f8909bd39dd10129b379331e9344dd7 [formerly e29dfa72869a7e4831cdf1880db92a7f96cb7755] [formerly fef5a65af9b6bc7b12813a79db818aa6f8034c5f [formerly 5e38bf5eda4f96df7bb2f13d406830a48f293bb9]]
Former-commit-id: b06665741f29f91b9e26fe270e6addd699c5111b [formerly aaf5e62dbdda284ec70dae55b7c37c5e86b75ebc]
Former-commit-id: a9c1a3dc6df30f1688ad9143ba56912d02285c19
2016-10-11 15:41:19 +02:00
Lynix
2fdc7a8878
Sdk/BaseWidget: Add shortcut to create children widgets
...
Former-commit-id: 5d5ca1d1097086c33133440c08806aec9e478b09 [formerly ca22426131332606a26dc3f33fcda615c7c03d81] [formerly 38913198afa19aa2f5f2ee0f90f99d3780cb3333 [formerly b592a482e9f71b01a3b068276c3bbdcf8dcdda49]]
Former-commit-id: f464592f3d951614bc333bab9e0662fc1f8ad18e [formerly dd7f97b064a63188d227577e5f1f8dcc1526c2a3]
Former-commit-id: 6463d207bbf06bcfb811abb249fe257ee5336c85
2016-10-11 15:40:56 +02:00
Lynix
8ad2f05abd
Sdk/Widgets: Add OnMouseButtonPressed/OnMouseButtonRelease events
...
Former-commit-id: 6991c60426c0a41d88174fbe404dee49fc13dc2b [formerly 662192d79c314e08128b196cd352188eff903fb0] [formerly d238c31726f70ecf078d8e8cc3dc3032cf1529ca [formerly 5caa1f462aed257779cfe5e8413729062f026bf5]]
Former-commit-id: 296fe5698e0bf5d8b058de032a8549df1c4891eb [formerly 20dfabc83b4eb8c2cc89138a05c29d53e17c952a]
Former-commit-id: 44b7f726bc84056071b9e577357a736e78436767
2016-09-16 16:55:55 +02:00
Lynix
72206a3ca3
Sdk/Widget: Add Canvas system, mouse movement event for widgets (buttons react to hovering)
...
Former-commit-id: 685295853d1f0edf28c36b2f698eca881da25ea2 [formerly f65f951ed3d2edfd9c12d390837cd13e5691eaa3] [formerly 5e239f37c28bf5e93a71cba29a94f0de680a79a2 [formerly 38346fa5d68c7bf79ddebc1990959e7c56617640]]
Former-commit-id: 92da4ed40fb63fe0b02c7543ea64cebda0575623 [formerly 2db1fe5fca87a1461ceb8314709d764af079a7be]
Former-commit-id: 77d61a99fd5a2bb21701fbe4a4b4451c3655663a
2016-09-15 13:16:37 +02:00
Lynix
136fb65a6d
SDK/Widgets: Add buttons (not clickable atm)
...
Former-commit-id: 8c37250acd7bf5123674f1d83d4d55d7125f080e [formerly 6705a2a453bb8c1e441a5008beb9a4ac60847fa2] [formerly a391c49c98f003cfcb8409d67052ce7998329f9b [formerly a8440703ccade130b116dc51246cd3ec0e16e6ae]]
Former-commit-id: 7f0f4bd7353768e7e0440ef41ce24c8035d7ee83 [formerly 6d3310e1488bbea850e17257da5588f9f0d0ec03]
Former-commit-id: 1ef3f72963ba3df19e789aae2a2e263e104a2e94
2016-09-13 18:22:40 +02:00
Lynix
5588a573a6
Commit current work
...
Former-commit-id: 79be9d4e937a73626cd5ec02c1d2e2fcbd440d18
2016-05-13 13:00:52 +02:00