What you want to do is probably to derive from CGUIWindow. CGUIWindow derives from IGUIWindow, so to get a fully working window(while deriving from IGUIWindow) you need to implement everything that CGUIWindow implements, plus your extras.
The easiest solution would liekly be to copy the source from ...
Search found 25 matches
- Tue Oct 12, 2010 3:45 pm
- Forum: Beginners Help
- Topic: How to inherit a GUI element?
- Replies: 3
- Views: 418
- Mon Oct 11, 2010 5:42 pm
- Forum: Beginners Help
- Topic: How to inherit a GUI element?
- Replies: 3
- Views: 418
How to inherit a GUI element?
Hi, I'd like to create an inventory for my game, by creating an inventoryWindow class, who derives from the IGUIWindow class. But I don't know how to create my own window inheriting of IGUIWindow.
I tried this:
class InventoryWindow : public irr::gui::IGUIWindow
{
/*
**
** code ...
I tried this:
class InventoryWindow : public irr::gui::IGUIWindow
{
/*
**
** code ...
- Sat Oct 09, 2010 6:23 pm
- Forum: Beginners Help
- Topic: What simple and light GUI lib to use with Irrlicht?
- Replies: 3
- Views: 350
What simple and light GUI lib to use with Irrlicht?
Hi. The GUI system in Irrlicht is a little poor and... ugly. So I'd like a light and not too difficult GUI lib , with no huge function(but a minimum), completely configurable(if possible), and who integrate easily with Irrlicht.
Thank you if you have a link.
Thank you if you have a link.
- Tue Sep 21, 2010 3:55 pm
- Forum: Beginners Help
- Topic: How to modify a ISceneNodeAnimatorCollisionResponse
- Replies: 3
- Views: 462
- Mon Sep 20, 2010 5:32 pm
- Forum: Beginners Help
- Topic: How to modify a ISceneNodeAnimatorCollisionResponse
- Replies: 3
- Views: 462
- Sun Sep 19, 2010 10:50 am
- Forum: Beginners Help
- Topic: How to modify a ISceneNodeAnimatorCollisionResponse
- Replies: 3
- Views: 462
How to modify a ISceneNodeAnimatorCollisionResponse
Hello, I'd like to know how to modify a parameter of a
ISceneNodeAnimatorCollisionResponse during the rendering loop.
When I try to keep the pointer on the animator, and modify a parameter during the render loop like that:
animPointer->setGravity(core::vector3df(0, -10, 0));
, the animator doesn ...
ISceneNodeAnimatorCollisionResponse during the rendering loop.
When I try to keep the pointer on the animator, and modify a parameter during the render loop like that:
animPointer->setGravity(core::vector3df(0, -10, 0));
, the animator doesn ...
- Sat Sep 18, 2010 5:00 pm
- Forum: Beginners Help
- Topic: [Resolved]Manual scene node picking with a WOW-like camera
- Replies: 2
- Views: 916
- Sat Sep 18, 2010 8:50 am
- Forum: Beginners Help
- Topic: [Resolved]Manual scene node picking with a WOW-like camera
- Replies: 2
- Views: 916
[Resolved]Manual scene node picking with a WOW-like camera
Hello, I'm making a camera like in World of Warcraft: a camera always fixing the player SceneNode and rotate around it, with a mouse button to rotate the camera and the player SceneNode, another mouse button to only rotate the camera, and the wheel to zoom.
Except some details, my camera is ...
Except some details, my camera is ...
- Sun Aug 29, 2010 11:19 am
- Forum: Beginners Help
- Topic: A question about the perspective in Irrlicht
- Replies: 3
- Views: 440
A question about the perspective in Irrlicht
Hi! I have a question about the 3D perspective in Irrlicht. I find this scheme on a website who explain the 3D perspective:
http://img823.imageshack.us/img823/7215/pyramide.png
I'd like to find the angle formed by the lines leak, drawn in red on the image. Is a function in Irrlicht to get this ...
http://img823.imageshack.us/img823/7215/pyramide.png
I'd like to find the angle formed by the lines leak, drawn in red on the image. Is a function in Irrlicht to get this ...
- Fri Aug 27, 2010 3:51 pm
- Forum: Beginners Help
- Topic: How to modify the parameters of a collision animator?
- Replies: 2
- Views: 292
- Fri Aug 27, 2010 9:55 am
- Forum: Beginners Help
- Topic: How to modify the parameters of a collision animator?
- Replies: 2
- Views: 292
How to modify the parameters of a collision animator?
Hello, I have a model who is moving in the BSP map given with Irrlicht. I attached to the model an "ISceneNodeAnimatorCollisionResponse" and collisions work perfectly.
I'd like to modify one of the parameters of this collision animator during the execution of the program. But when I modify a ...
I'd like to modify one of the parameters of this collision animator during the execution of the program. But when I modify a ...
- Thu Aug 26, 2010 9:18 pm
- Forum: Beginners Help
- Topic: Change the parameters of a collisionAnimator
- Replies: 2
- Views: 306
- Thu Aug 26, 2010 9:14 am
- Forum: Beginners Help
- Topic: Problem with the mesh inclination
- Replies: 10
- Views: 1296
- Thu Aug 26, 2010 8:39 am
- Forum: Beginners Help
- Topic: Change the parameters of a collisionAnimator
- Replies: 2
- Views: 306
Change the parameters of a collisionAnimator
Hi, I have a CollisionResponseAnimator added to the player mesh who work perfectly. I'd like to change the animator parameters in a function of my eventReceiver but that doesn't work.
I create my animator like that:
scene::ISceneNodeAnimatorCollisionResponse* anim;
if (selector)
{
anim = smgr ...
I create my animator like that:
scene::ISceneNodeAnimatorCollisionResponse* anim;
if (selector)
{
anim = smgr ...
- Tue Aug 24, 2010 4:01 pm
- Forum: Beginners Help
- Topic: How to rotate a sceneNodeAnimator or redefine it.
- Replies: 3
- Views: 313