Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
387c01fb3b Merge remote-tracking branch 'remotes/reattiva/ui_practices' 2014-01-03 20:41:50 +02:00
Yao Wei Tjong 姚伟忠
42792b0bd2 Minor improvement and bug fix on some of the UI elements.
Also:
- Focusable UI elements appears with a consistent visual "focus rect" when in focus.
- Make more UI elements focusable. It is now possible to cycle through all the editable elements using Tab key (in general dialog window or in Attribute Inspector).
- Closes #94.
2014-01-03 22:05:25 +08:00
Lasse Öörni
28254f9a1d Improved the "Overall structure" documentation page. 2014-01-03 11:59:49 +02:00
urho3d-travis-ci
674880cce3 Travis CI: API documentation update at 2014-01-03 08:53:13 UTC.
[ci skip]
2014-01-03 08:53:14 +00:00
Lasse Öörni
c636b092e2 Restored previous Geometry::GetRawData() function (though it leads to duplicated code) to prevent unnecessary copying of shared array pointers. 2014-01-03 10:31:35 +02:00
Lasse Öörni
5f535f7999 Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-01-03 10:17:57 +02:00
Lasse Öörni
668772bb50 Added PhysicsWorld::RemoveCachedGeometry() function to manually invalidate cached collision geometry of a changed model. Added watching for CollisionShape model live reload. Removed internal but public functions from the Lua physics API. 2014-01-03 10:15:54 +02:00
Lasse Öörni
6878e19c67 Refactored check for dynamic buffers into a function. 2014-01-03 09:23:29 +02:00
Lasse Öörni
9aed42faf5 Merge remote-tracking branch 'remotes/grking/master' 2014-01-03 09:17:04 +02:00
Yao Wei Tjong 姚伟忠
65ced72eb9 Enhanced focusable button to be drawned differently when focused.
Also:
- Revert back base Button class to non-focusable as it turns out it has negative side effect (e.g toolbar button becomes "sticky"). Create new focusable button style instead.
- Prevent double Alt+F4 from terminating Editor with unsaved changes, bypassing warning message box. System exit request is in fact ignored when there is any modal window waiting for user input.
2014-01-03 15:14:33 +08:00
Lasse Öörni
363945b729 Instead of storing Geometry pointers, store shared array pointers for triangle mesh collision data. This protects against the original Geometry resizing its data. 2014-01-03 09:13:56 +02:00
Yao Wei Tjong 姚伟忠
9db5f85daf Route system exit request to Exit menu handler to perform exit check. 2014-01-03 09:58:11 +08:00
Yao Wei Tjong 姚伟忠
aa4ec0ec78 For Travis CI - only install what being requested. 2014-01-03 09:05:54 +08:00
Graham King
3b25b25d47 Don't cache geometry with any dynamic vertex buffers. 2014-01-03 01:05:45 +00:00
Lasse Öörni
f095a6d597 Update documentation on script event handling. 2014-01-03 01:36:11 +02:00
Lasse Öörni
dfe3cab012 Restructuring of non-ScriptInstance script object event handling to ensure that handlers for individual objects don't overwrite each other. 2014-01-03 01:22:30 +02:00
Alex Parlett
18cb81b750 Add the ability to allow pure script objects that are not created through a ScriptInstance to handle events. This works like it currently does using:
SubscribeToEvent("Foo","FooHandler");

Where if called inside a procedural function the ScriptFile will handle it, if called inside an object if that object was created through a ScriptInstance that ScriptInstance will handle the event, otherwise the ScriptFile associated with the current script module will handle it.
2014-01-02 16:45:39 +00:00
reattiva
2ac0d8955e On LineEdit move around the borders of current selection. 2014-01-02 17:27:20 +01:00
reattiva
8f38b4b702 Move the focus backwards with SHIFT+TAB. 2014-01-02 17:27:19 +01:00
reattiva
6e9a0fb715 Select all the text when moving focus on a line edit by TAB key. 2014-01-02 17:27:18 +01:00
Yao Wei Tjong 姚伟忠
9f0ae5cea6 For Travis CI - add NinjaSnowWar into test cases. 2014-01-02 22:46:12 +08:00
urho3d-travis-ci
776e775012 Travis CI: API documentation update at 2014-01-02 14:33:45 UTC.
[ci skip]
2014-01-02 14:33:45 +00:00
Yao Wei Tjong 姚伟忠
92cb20e9f5 Enhance Editor to warn user actions that can potentially lose data.
Also:
- Change how the UIElement::GetNumChildren() method is being exposed to scripting to avoid confusion with "numChildren" getter.
- Make Button element focusable. Focused button accepts enter key or space key as click. TODO: to visually show focused button differently than non-focused ones.
- Fix MessageBox dialog window centering issue.
2014-01-02 22:09:05 +08:00
Lasse Öörni
b3770a3755 Added example of an alphablended, lit decal. Closes #103. 2014-01-02 12:44:20 +02:00
Lasse Öörni
d8ef2731f2 Merge pull request #104 from friesencr/orbit-tweak
added fallback for non-drawable components when orbiting
2014-01-02 01:18:06 -08:00
Chris Friesen
ab82b64909 added fallback for non-drawable components 2014-01-01 17:56:46 -06:00
urho3d-travis-ci
34f4c16446 Travis CI: API documentation update at 2014-01-01 18:51:07 UTC.
[ci skip]
2014-01-01 18:51:07 +00:00
Yao Wei Tjong 姚伟忠
41add82c6e Fix the wrong return data type for MessageBox::GetWindow(). 2014-01-02 02:16:26 +08:00
Yao Wei Tjong 姚伟忠
3383bf109b Expose MessageBox's window element to scripting for manipulation. 2014-01-02 01:55:25 +08:00
Lasse Öörni
9cbb412efe Merge remote-tracking branch 'remotes/friesencr/orbit_center_all' 2014-01-01 18:35:27 +02:00
Lasse Öörni
a7bc939b7d Only use item binary search when container is in vertical layout mode. 2014-01-01 18:34:16 +02:00
urho3d-travis-ci
0c6c107935 Travis CI: API documentation update at 2014-01-01 10:34:53 UTC.
[ci skip]
2014-01-01 10:34:53 +00:00
Yao Wei Tjong 姚伟忠
c776573796 Add new MessageBox class for showing short messages in a modal window.
Also:
- Enhance Editor to show error message box when saving action fails.
- Cleanup DefaultStyle.xml and at the same time create more common styles for reuse.
- Remove unused member variable in FileSelector class.
- ListView class does not assume vertical layout of its items. In theory we could have horizontal layout items if it is being styled as such.
- Prevent UIElement XML serialization to save invalid "UIElement" style to the final output. Fix invalid style (if already exist in the loaded UI layout) to cause error in attribute filtering when serializing.
2014-01-01 18:14:30 +08:00
Yao Wei Tjong 姚伟忠
4458725fed Prevent unnecessary generation of Urho3D.h. Closes #98.
Also attempt to fix the project created by cmake-gui using non-standard build directory to find the generated Urho3D.h file.
2014-01-01 16:26:44 +08:00
Chris Friesen
e5303c7728 orbit around all selected nodes/components 2013-12-31 21:33:15 -06:00
Lasse Öörni
2c9ef93544 Hide also the gizmo when orbiting. 2013-12-31 18:38:40 +02:00
reattiva
6d161f5b5b Merge branch 'orbit_camera_patch' into req_orbit_camera 2013-12-31 16:45:40 +01:00
Yao Wei Tjong 姚伟忠
ff1c73170a For Travis CI - attempt to fix git push from detached HEAD.
[ci skip]
2013-12-30 23:02:13 +08:00
Lasse Öörni
358d9c2849 Added default tooltip delay to UI, which will be used if the tooltip's own delay is zero. Use seconds for tooltip delay to match eg. the doubleclick interval. Removed layout from the editor's tooltip root element to prevent it resizing in unwanted fashion. 2013-12-30 14:28:46 +02:00
Lasse Öörni
8ca35d3794 Allow selecting DropDownList items with arrow keys. 2013-12-30 13:10:14 +02:00
Yao Wei Tjong 姚伟忠
1e3593e9d2 For Travis CI - another attempt to enable testing. 2013-12-30 16:45:08 +08:00
Yao Wei Tjong
a1389bb557 Merge pull request #97 from friesencr/tooltip_style
tooltip style
2013-12-29 21:18:49 -08:00
Chris Friesen
bf0d9deeb2 tooltip style 2013-12-29 19:23:33 -06:00
Yao Wei Tjong
6dc9c46af1 Merge pull request #96 from JTippetts/master
Add Lua binding to Skeleton::GetBone(String& name) for getting a bone by name.
2013-12-29 16:35:08 -08:00
Yao Wei Tjong 姚伟忠
0fb12e5883 For Travis CI - revert back call to make test pending investigation. 2013-12-30 08:32:44 +08:00
Yao Wei Tjong 姚伟忠
088eef9e60 Add simple test cases as part of the Travis CI build.
Also fix Editor in case-sensitive platforms.
2013-12-30 07:48:31 +08:00
vertexnormal
7dde59fbb1 Revert CMake-magic to upstream 2013-12-29 14:56:12 -07:00
Lasse Öörni
9047c8c79f Added tooltips to ToolBar & SecondaryToolBar buttons. 2013-12-29 19:02:22 +02:00
Lasse Öörni
d3286c73a5 Merge remote-tracking branch 'remotes/friesencr/secondaryToolbar' 2013-12-29 18:40:49 +02:00
Yao Wei Tjong 姚伟忠
01b86be43d Fix engine crashes when parsing invalid '-log' argument value. 2013-12-29 23:10:36 +08:00