Search found 148 matches

by wsw1231
Mon Feb 28, 2011 10:35 am
Forum: Beginners Help
Topic: Free 3D models site
Replies: 5
Views: 705

It is no doubt that there are many 3D objects in the site you provided, but most of them are not free :(
by wsw1231
Mon Feb 28, 2011 9:19 am
Forum: Beginners Help
Topic: Free 3D models site
Replies: 5
Views: 705

Free 3D models site

I have searched the key word "Free 3D models" in Google but almost all the site provides models in .max format. I open .max file by 3DS Max but there is always an error window poped up. Even if there is something that can be seen, that thing has no texture on it.... I just want to get some...
by wsw1231
Tue Feb 22, 2011 4:34 pm
Forum: Beginners Help
Topic: Adding a scrollbar in a list box
Replies: 18
Views: 1614

OK, solved.

Thanks
by wsw1231
Tue Feb 22, 2011 3:59 pm
Forum: Beginners Help
Topic: Adding a scrollbar in a list box
Replies: 18
Views: 1614

How can I keep track of the difference of the scrollBar position whenever it's position is changed?
by wsw1231
Tue Feb 22, 2011 10:59 am
Forum: Beginners Help
Topic: Adding a scrollbar in a list box
Replies: 18
Views: 1614

CMyScrollingArea : public irr::gui::IGUIElement { virtual bool OnEvent (const SEvent &event); irr::gui::IGUIScrollBar * myScrollBar; irr::core::array<IGUIButton*> myButtons; }; Oh....Do you mean the region is defined in the IGUIElement constructor??? If so, I think I get what you mean now. :)
by wsw1231
Tue Feb 22, 2011 10:12 am
Forum: Beginners Help
Topic: Adding a scrollbar in a list box
Replies: 18
Views: 1614

........ My idea is as follows: http://img.photobucket.com/albums/v252/wongsiwai/1.png You can image that the black box is the IGUIStaticText and the red box is the button. The above picture shows that the button is outside of the IGUIStaticText, which means it is clipped. http://img.photobucket.com...
by wsw1231
Tue Feb 22, 2011 9:29 am
Forum: Beginners Help
Topic: Adding a scrollbar in a list box
Replies: 18
Views: 1614

OK. You mean I should attach a scrollbar to a static text field. No, I don't mean that. I mean you should write your own gui-element and attach a statictext + a scrollbar to that. Structure would approximately like that: CMyScrollingArea : public irr::gui::IGUIElement { virtual bool OnEvent (const ...
by wsw1231
Tue Feb 22, 2011 7:57 am
Forum: Beginners Help
Topic: Adding a scrollbar in a list box
Replies: 18
Views: 1614

OK. You mean I should attach a scrollbar to a static text field. But I don't know how to change the visible region of IGUIStaticText triggered by an event. E.g. to make things simpler, press down arrow key to move the visible region downward instead of using scrollbar. Can I do this? Could you give ...
by wsw1231
Tue Feb 22, 2011 6:54 am
Forum: Beginners Help
Topic: Radio buttons
Replies: 4
Views: 280

Re: here

Sorry.....could you please explain how to use your class?
I tried to run your main.cpp but there is a compilation error.
by wsw1231
Mon Feb 21, 2011 8:09 pm
Forum: Beginners Help
Topic: Adding a scrollbar in a list box
Replies: 18
Views: 1614

My idea is to create an area in which there are some buttons, once there are more and more buttons, there will be a scrollbar in that area.

I dont know if it is suitable to use a listbox as that "area"

Do you have any better idea?
by wsw1231
Mon Feb 21, 2011 6:27 pm
Forum: Beginners Help
Topic: Radio buttons
Replies: 4
Views: 280

by wsw1231
Mon Feb 21, 2011 6:05 pm
Forum: Advanced Help
Topic: Does irrlicht have radio buttons?
Replies: 9
Views: 1177

CGUIRadioCheckBoxGroup *c = new CGUIRadioCheckBoxGroup(env,env->getRootGUIElement()); IGUICheckBox* a = env->addCheckBox(false, core::rect<s32>(80,100,125,120), env->getRootGUIElement(), 12, L"Kitchen"); IGUICheckBox* aa = env->addCheckBox(false, core::rect<s32>(80,130,125,150), env->getR...
by wsw1231
Mon Feb 21, 2011 5:40 pm
Forum: Beginners Help
Topic: Adding a scrollbar in a list box
Replies: 18
Views: 1614

What I mean by a large button is that
it has the size larger than the list box.

E.g. The list box has size 400x400, while the button has 30x500 which means the whole button cannot be seen and it is reasonable to see it by using a scrollbar.

So that's why I am asking how to solve that...
by wsw1231
Mon Feb 21, 2011 5:28 pm
Forum: Advanced Help
Topic: Does irrlicht have radio buttons?
Replies: 9
Views: 1177

How to make the checkbox appear?

Code: Select all

CGUIRadioCheckBoxGroup *c =	(CGUIRadioCheckBoxGroup*)env->addGUIElement("...", XX);
c->setRelativePostion(...);
I use the above code but the program will crash....
by wsw1231
Mon Feb 21, 2011 5:21 pm
Forum: Advanced Help
Topic: Does irrlicht have radio buttons?
Replies: 9
Views: 1177

How about MGUIET_RADIOCHECKBOXGROUP?