Thomas Geymayer
0646d5f443
Nasal: expose LayoutItem visibility methods.
2014-07-21 00:27:20 +02:00
Thomas Geymayer
a673f4a5f9
Nasal: update for simgear changes.
2014-07-21 00:26:54 +02:00
Thomas Geymayer
5f4ad79954
canvas.Layout: expose missing methods to Nasal.
2014-07-16 11:24:53 +02:00
Thomas Geymayer
a94ad46dc0
Nasal: expose missing Canvas::setLayout
2014-06-26 18:26:43 +02:00
Thomas Geymayer
1d5f229653
Nasal: set CustomEvent::bubbles.
2014-06-21 00:24:57 +02:00
Thomas Geymayer
da2bb6353e
Nasal: expose canvas::Text::maxWidth.
2014-06-17 17:02:10 +02:00
Thomas Geymayer
52a4ded502
Nasal: expose canvas::Layout::clear()
2014-06-14 13:22:22 +02:00
Thomas Geymayer
b53b1a3a25
Nasal: expose canvas height-for-width layouting methods.
2014-06-13 00:09:33 +02:00
Thomas Geymayer
0fb94ba596
Nasal: expose canvas::Layout item remove and get methods.
2014-06-12 00:44:26 +02:00
Thomas Geymayer
c0eda4a47c
Nasal: expose more methods to Nasal.
2014-06-10 18:44:38 +02:00
Thomas Geymayer
9c0b5a5c54
Nasal: Expose BoxLayout methods for spacer and stretch.
2014-06-08 23:34:37 +02:00
Thomas Geymayer
371b71dd6c
Nasal: expose vbox layout and allow setting item stretch.
2014-06-04 17:50:52 +02:00
Thomas Geymayer
3c0b7f88b8
Updates for simgear nasal::Ghost changes.
2014-06-03 19:00:25 +02:00
Thomas Geymayer
06a9958689
Canvas: expose more methods to Nasal
2014-06-01 12:15:02 +02:00
Thomas Geymayer
3b4bb10e4f
Canvas: expose layouting to Nasal.
2014-05-31 02:43:03 +02:00
Thomas Geymayer
7c31654b3a
Canvas: store data inside canvas and elements.
...
- jQuery/HTML5 like .data() method on Canvas and Elements to store
custom data in the property tree.
- CustomEvent takes additional parameter hash with 'detail' data
stored in event.
2014-05-29 16:47:32 +02:00
Thomas Geymayer
5b74a72506
Canvas: support for custom events and event dispatching.
2014-05-19 00:28:40 +02:00
Thomas Geymayer
b3946f08f9
NasalCanvas: Update for simgear changes.
2014-05-18 20:21:56 +02:00
Thomas Geymayer
bd29974683
Canvas: move Window class to simgear.
2014-05-09 16:42:54 +02:00
Thomas Geymayer
7f43a09fc5
Canvas: update for new bounding box getters.
2014-03-31 13:29:14 +02:00
Thomas Geymayer
ef3f0a2738
Canvas.MouseEvent: fix specific modifier states (ctrl, alt,...)
2014-03-07 16:19:40 +01:00
Thomas Geymayer
36f7ef93aa
Canvas.MouseEvent: expose button/modifier state.
2014-03-04 18:00:57 +01:00
Thomas Geymayer
3b23892ccf
Canvas: also apply matrix of element to getTransformedBounds.
...
Part of the fix for #1333 .
2014-02-08 00:28:24 +01:00
Thomas Geymayer
3a170e1a39
Scripting: clean up a bit and user more of cppbind.
2013-12-08 19:24:45 +01:00
James Turner
d99109c9e4
Reset: do re-init Ghost bindings.
2013-11-24 15:10:00 +00:00
James Turner
881df711ba
Reset: Nasal can be shutdown.
...
Also guard against duplicate init of cppbind wrapped classes.
2013-11-12 22:47:41 +00:00
Thomas Geymayer
961905a6cf
NasalCanvas: expose Element::getParent() to Nasal
2013-10-23 17:11:56 +02:00
Thomas Geymayer
26a3573aea
Update/simplify for SimGear changes.
2013-10-15 17:48:13 +02:00
Thomas Geymayer
5c42071fbb
Scripting: get rid of gcHash and use new SimGear/Nasal functions.
2013-10-15 00:58:21 +02:00
Thomas Geymayer
df7e56b049
Canvas: update for SimGear changes.
2013-10-12 00:43:30 +02:00
Thomas Geymayer
a75b9e5de9
Expose canvas GUI "desktop" to Nasal.
...
- Restructure GUIMgr and move most parts to implementation class.
- Expose new (simgear::canvas::Group based) DesktopGroup class
to Nasal.
2013-07-25 00:59:59 +02:00
Thomas Geymayer
8ccc1c4d35
Canvas Event: expose currentTarget to Nasal.
2013-07-04 00:56:32 +02:00
Thomas Geymayer
326ee0c5cf
Add window decoration support to Canvas GUI.
...
canvas::Window now optionally creates a second canvas for showing
window decoration. After setting its dimensions with the property
"decoration-border" a Nasal based window decorator should add the
required elements to the decoration canvas.
Using the properties "shadow-radius" and "shadow-inset" a drop
shadow can be added to the window.
2013-06-06 22:37:16 +02:00
Thomas Geymayer
53c3033135
Expose canvas::Window ghost to Nasal.
2013-06-03 23:46:34 +02:00
Thomas Geymayer
3d3475e965
Small cleanup.
2013-06-03 23:46:27 +02:00
Thomas Geymayer
45e3b7e2d1
Clean up/prepare for porting NasalPositioned to cppbind
2013-03-04 16:31:37 +01:00
Thomas Geymayer
664cb474e1
NasalCanvas: clean up
2013-03-03 20:57:08 +01:00
Thomas Geymayer
0587db3b1e
Update for nasal::Ghost changes
2013-03-03 19:30:16 +01:00
Thomas Geymayer
e844383988
Expose canvas Text::getNearestCursor to Nasal as replacement for old property based method
2012-12-17 00:32:24 +01:00
Thomas Geymayer
cef12d406c
CanvasEvent: expose event target to Nasal
2012-12-17 00:32:24 +01:00
Thomas Geymayer
13cec7bd99
Canvas MouseEvent now provides client and screen position
2012-12-08 15:02:15 +01:00
Thomas Geymayer
91bc5e522a
Canvas add event time and expose current click count
2012-12-06 23:27:25 +01:00
Thomas Geymayer
ed211b043a
Expose canvas::Element::getTransformedBounds to Nasal
2012-12-04 23:59:21 +01:00
Thomas Geymayer
28f2779c4b
Forward mouse events from (PUI) CanvasWidget to Canvas for new DOM like callbacks
2012-12-02 13:33:16 +01:00
Thomas Geymayer
5e85bcacc8
Canvas: Expose more methods to Nasal.
...
- Expose canvas::Group::getElementById to Nasal
- Expose canvas::Group::getChild to Nasal
2012-11-30 17:32:13 +01:00
Thomas Geymayer
f7544744bb
Update for latest SimGear changes and remove some old code
2012-11-29 17:57:01 +01:00
Thomas Geymayer
af0bbfd657
Expose simgear::canvas::Group::createChild to Nasal
2012-11-29 01:25:01 +01:00
Thomas Geymayer
e5286f1217
More work on Canvas event handling/adapt for simgear changes
2012-11-27 13:56:53 +01:00
Thomas Geymayer
d51499382d
Clean up CanvasWidget and more work on Canvas/Nasal bindings
2012-11-18 16:46:03 +01:00
Thomas Geymayer
1a0fcd5f56
NasalCanvas: Clean up and expose Element node ghost
2012-11-16 12:34:38 +01:00