ablake
|
46f490421a
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
|
12 lat temu |
ablake
|
0637ece4ac
Removes analogIndex from Game::gamepadEvent. Gamepad events other than connect/disconnect will no longer be sent to games -- they are only used internally by forms.
|
12 lat temu |
Adam Blake
|
a3671ac9d4
Fixes Form::projectPoint for forms that are scaled.
|
12 lat temu |
Adam Blake
|
a794910a70
Enables controlling UI forms with a gamepad. Adds a few things to the forms test in order to test
|
12 lat temu |
seanpaultaylor
|
2798ea8637
Fixes break in gamepad and forms.
|
13 lat temu |
Adam Blake
|
b341d853d3
Missed some changes to Form.cpp in previous commit.
|
13 lat temu |
Adam Blake
|
d9bcfe45db
Prevents a control's clearBounds from having a width or height less than zero.
|
13 lat temu |
Adam Blake
|
4286cd5b0e
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
|
13 lat temu |
Adam Blake
|
c2f35d25e8
Fixes setVisible(false) for 2D controls without forcing all controls to be re-drawn.
|
13 lat temu |
sgrenier
|
18ebaf93ef
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
|
13 lat temu |
sgrenier
|
b55432e36a
Changed behavior of Scene::visit to stop child traversal, but continue sibling traversal when false is returned from visitMethod, instead of stopping traversal entirely.
|
13 lat temu |
setaylor
|
da09a7d4df
Updated game.config files to use gamepad not gamepads.
|
13 lat temu |
setaylor
|
30749eab2f
Updated FrameBuffer bind and bindDefault to return the previously bound framebuffer.
|
13 lat temu |
Adam Blake
|
95732ac4f4
Events will not be passed to forms / containers / controls that are not visible.
|
13 lat temu |
setaylor
|
9147a88ecf
- Moves Font, Form and Sprite shaders to file in the gameplay/res/shaders directory
|
13 lat temu |
Ken Whatmough
|
951137718a
Fixes #655. Also fixes setVisible(false) for 2D controls.
|
13 lat temu |
Ken Whatmough
|
764eb219b7
Fixes displaced joystick sometimes seen on start-up when using virtual gamepad.
|
13 lat temu |
Ken Whatmough
|
827830b403
Removes extraneous assertion that was crashing the forms test on exit on Windows.
|
13 lat temu |
Ken Whatmough
|
d697de8ba9
Adds joystick control to forms test and fixes projectPoint in framework (protect against null scene and use world matrix not local one).
|
13 lat temu |
Ken Whatmough
|
a0b32956f1
Adds forms test using default theme and fixes point projection on Xcode. Also adds billboards test to the Xcode project.
|
13 lat temu |
Darryl Gough
|
85553c0bf8
Fixed minor warnings and converted tabs to spaces.
|
13 lat temu |
Darryl Gough
|
73ad70d735
Fixed spelling mistakes in source code comments.
|
13 lat temu |
Ken Whatmough
|
4eb096c76f
Fixes accessing non-existant form on game exit.
|
13 lat temu |
Adam Blake
|
7b0be86838
Added isScrolling() to Container. This method is used by controls to determine whether they've been clicked, or merely grabbed as a means to scroll their parent container. This logic has been added to all controls. Slider in particular makes use of it. The form in sample04-particles has been modified to show this.
|
13 lat temu |
Adam Blake
|
eaa23b0e7d
Preventing the addition or deletion of new forms from within Form::mouseEventInternal, Form::touchEventInternal or Form::keyEventInternal from causing a crash.
|
13 lat temu |
Adam Blake
|
6fd8aadef8
Added check to Form::setSize() to prevent it from attempting to create a FrameBuffer with a width or height of 0, which would cause the game to crash.
|
13 lat temu |
Adam Blake
|
c1ef988b63
Containers with ScrollBars will lay out their controls the first time update() is called on them, in order to auto-size controls before measuring the size of the scrollable region. This fixes an issue where scrollbars would not appear until the Container was clicked / touched, with scrollBarAutoHide disabled, for programmatically created forms.
|
13 lat temu |
Darryl Gough
|
1c7a3c6fbf
Converted tabs to spaces.
|
13 lat temu |
Kieran Cunney
|
91f0eb1561
Fixes scrolling issues (and mouse wheel support!)
|
13 lat temu |
Kieran Cunney
|
47674506a3
Fixes multiple-input handling and scrolling problems.
|
13 lat temu |