Commit Graph

23 Commits (cf0038ca5a5ad3cd2ddadd17c06dec896d9a18a3)

Author SHA1 Message Date
bitplane 6f4a9f921a Compiling without the BMP loader now compiles without the built-in font data. Added some comments and a warning about this. CGUIPanel draws background when border is on
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1236 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-11 19:34:12 +00:00
hybrid f9a0f21bef Merged from 1.4 branch revisions 1218:1234
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1235 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-09 14:12:28 +00:00
bitplane aab1dfa7cb Added StarSonata GUI patch from the tracker, const corrected. Fixed some bugs and changed the style and behaviour of the tabs. Tables aren't fully tested and don't serialize properly yet.
Changed gui editor to show off and test the new tab features.
Updated project files and makefile, have only tested vc8 and dev-cpp. Didn't know how to do the OSX project so I'll leave it for Dean.
Moved EGUI_ALIGNMENT into separate header.
Added getArea and getVolume for bounding boxes, no real reason for them.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1124 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-22 07:49:29 +00:00
bitplane d73565d1a6 Menu fix by CuteAlien.
Bug with double mouse events sent to user receiver, reported by Xplod
Documentation error in IVideoDriver.h

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1043 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-09 21:55:42 +00:00
hybrid 96b59dd297 Some const fixes from CaptainPants. Warning fix in PPM loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@999 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-23 23:12:06 +00:00
hybrid f74f7586e2 Some more constification, but still not done. Now we have also SEvent in OnEvent as const ref, so most user apps will need some kind of upgrade for the new library version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@964 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-16 23:41:55 +00:00
hybrid 08e359784b GUI constification done, other parts still missing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@961 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-16 00:18:13 +00:00
bitplane 966b8bedc7 added defaults to switch blocks to avoid warnings when compiling with -Wall
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@960 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-15 00:55:30 +00:00
hybrid f4bc95371b First larger constification. Made serialization const. Some other constification and signedness changes. Minor other code changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@959 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 22:25:59 +00:00
irrlicht b85584c8e1 renamed IUnknown to IReferenceCounted
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@916 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 06:11:47 +00:00
bitplane c2b3d99f6a Added OnResize and getCurrentRenderTargetSize to the software drivers. Fix for GUI XML loading by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@848 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 10:11:55 +00:00
bitplane 4e4c393d41 Added IrrCompileConfig define to compile without GUI.
Fixed a couple of spelling mistakes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@809 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-26 05:30:19 +00:00
bitplane e5dbed93dd Added navigation through the GUI using tab and the shift and control keys. Added keyboard navigation for most elements. Fixed that annoying bug where you had to click twice to change focus.
Added IGUIElement::isMyChild, isPointInside,  SEvent.GUIEvent.Element. 
Changed setFocus and removeFocus to return bools.
changed quaternion::toAngleAxis to use iszero. 

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@763 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 07:03:54 +00:00
bitplane 64ea350e23 added IUnknown::getReferenceCount and IMeshCache::clearUnusedMeshes to flush unused meshes from the mesh cache.
Fixed CGUIModalScreen, which I broke with the IGUIElement changes. Also fixed a small bug with the tooltip appearing directly under the mouse cursor.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@760 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-05 11:20:03 +00:00
bitplane 5f21bbf8c7 added a black border around the icons in builtInFont.h, added the source bitmap. changed the way completely background transparency is handled in the bitmap font loader, the colour data for background is not kept.
changed default icon highlight value in the skin so the icons are highlighted in the same way as the text.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@755 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-03 23:25:01 +00:00
bitplane 9b3c67fe37 changed behaviour of IGUIElement::OnEvent so it doesn't always absorb events, and added getAbsoluteClippingRect.
fixed tooltip text on file open dialog's close button.
added some managed marshalling bugfix things where I missed them earlier.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@751 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 02:15:18 +00:00
bitplane 1f1006a177 Added CuteAlien's IGUISpinBox.
Added setDrawBorder to IGUIEditBox and IGUIStaticText. 
Added setTextAlignment to GUIEditBox and IGUIStaticText, for text justification and vertical alignment.
IGUIEditbox now supports multiple lines using setWordWrap and setMultiLine.
IGUIElement now calls getter and setter functions when serializing, in case of getter/setter overrides.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@745 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-30 23:30:40 +00:00
bitplane 61620cebff fixed a bug when trying to load fonts with uppercase letters in their names in case sensitive filesystems
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@719 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:58:12 +00:00
bitplane 125c58dfda fixed a bug in CGUIEnvironment::clear() reported by Jacky_J
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@718 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:15:12 +00:00
bitplane 4ee11782f6 added more default fonts to skins, made elements use them by default. updated gui example to show use.
modalscreens now resize to fit parent.
updated meshviewer example to lock the image to the bottom left corner.
tooltips:
added EGDC_TOOLTIP_BACKGROUND to skins. 
changed the position of tooltips and their time between creation to 500ms. 
made sure that they do not leave the area of the gui environment.
new method: rect::constrainTo to forcing one rectangle to stay inside another.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@697 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 01:07:21 +00:00
bitplane 4c2e3119f4 added IFileSystem::getFileDir and made XML bitmap font use relative path for texture.
gui editor now compiles again

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@654 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-26 22:19:21 +00:00
bitplane a10b998a04 fixed a gui bug I introduced - resizing the device didn't pass to the environment or menus
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@652 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-25 20:23:12 +00:00
bitplane c00ce1d372 Moved everything to /trunk
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00