Search found 25 matches

by only1skingle
Thu Feb 17, 2011 12:58 pm
Forum: Beginners Help
Topic: how do u minimize/ maximize a window?? please help
Replies: 3
Views: 494

how do u minimize/ maximize a window?? please help

hey guys, I have a program that opens up a window. I then want to create a function that will tell that window/program that when a button is pressed to minimize that window and load/open/maximise a window from a different .cpp file or program. What code would i need in irrlicht? i pretty much have t...
by only1skingle
Tue Feb 15, 2011 9:44 pm
Forum: Beginners Help
Topic: Dwell actions PLEASE HELP!
Replies: 5
Views: 268

cheers :)
by only1skingle
Tue Feb 15, 2011 3:18 pm
Forum: Beginners Help
Topic: Dwell actions PLEASE HELP!
Replies: 5
Views: 268

sorry i have another question. forgive me i'm not the smartes or greatest at programming or understanding it. firstly what does this mean: template<class T> ?? also the code examples they give, how would i place that within my code as im guessing i can't just put the following: bool irr::core::rect<...
by only1skingle
Tue Feb 15, 2011 2:18 pm
Forum: Beginners Help
Topic: Dwell actions PLEASE HELP!
Replies: 5
Views: 268

Lovely,

thanks very much! :)
by only1skingle
Tue Feb 15, 2011 1:10 pm
Forum: Beginners Help
Topic: Dwell actions PLEASE HELP!
Replies: 5
Views: 268

Dwell actions PLEASE HELP!

hey, I am trying to get a program to perform an action without a mouse key. I have a box that follows the position of the mouse: core::position2d<s32> m = device->getCursorControl()->getPosition(); driver->draw2DRectangle(video::SColor(100,255,255,255), core::rect<s32>(m.X-20, m.Y-20, m.X+20, m.Y+20...
by only1skingle
Mon Feb 14, 2011 5:33 pm
Forum: Beginners Help
Topic: 2d images PLEASE HELP!!!!
Replies: 9
Views: 460

thanks everyone for your help,
I really appreciate it :)
by only1skingle
Mon Feb 14, 2011 5:08 pm
Forum: Beginners Help
Topic: 2d images PLEASE HELP!!!!
Replies: 9
Views: 460

its the 4 points of the rectangle...right???
by only1skingle
Mon Feb 14, 2011 5:05 pm
Forum: Beginners Help
Topic: 2d images PLEASE HELP!!!!
Replies: 9
Views: 460

no worries, i have now got a square placed in my window i started messing around with the numbers in here: core::rect<s32>(100,390,210,440)); however i am now confused as to what each number does. As i thought maybe the (1,2 were x and y and 3,4)); were size but this doesn't seem to be the case. so ...
by only1skingle
Mon Feb 14, 2011 4:16 pm
Forum: Beginners Help
Topic: 2d images PLEASE HELP!!!!
Replies: 9
Views: 460

yes

while(device->run() && driver)
{
if (device->isWindowActive())
by only1skingle
Mon Feb 14, 2011 3:59 pm
Forum: Beginners Help
Topic: 2d images PLEASE HELP!!!!
Replies: 9
Views: 460

2d images PLEASE HELP!!!!

hey everyone, I have looked at the tutorials but im lost within the code! I am trying to make a 2d image appear on my program screen. I am using the following code: driver->draw2DRectangle(video::SColor(0,255,0,0), core::rect<s32>(100,20,200,40)); but it doesn't seem to work. :( any advice/guidance ...
by only1skingle
Fri Jan 28, 2011 11:56 pm
Forum: Beginners Help
Topic: Irrlicht Tutorial 15 .irr load file code Error->PLEASE HE
Replies: 5
Views: 375

Ahh what an idiot I am!

thanks for pointing it out, else I would of been looking at that code all night!

and thanks for the link too! very helpful indeed :)

cheers
by only1skingle
Fri Jan 28, 2011 11:08 pm
Forum: Beginners Help
Topic: Irrlicht Tutorial 15 .irr load file code Error->PLEASE HE
Replies: 5
Views: 375

Irrlicht Tutorial 15 .irr load file code Error->PLEASE HE

hey I am trying to load a .irr file using the 15th tutorial available. I have used the exact same code given but have chosen a different .irr file. However i have one strange error that I'm not really sure why I am getting it. the error is this: : fatal error C1021: invalid preprocessor command 'def...
by only1skingle
Fri Jan 28, 2011 7:31 pm
Forum: Beginners Help
Topic: Creating a Menu
Replies: 5
Views: 366

Thankyou very much!

I really appreciate the reply ^_^
by only1skingle
Fri Jan 28, 2011 6:06 pm
Forum: Beginners Help
Topic: Creating a Menu
Replies: 5
Views: 366

right, ive had a look at the tutorial. and the boxes and selecting them is there. But how would i then close: a) close the program entirelty from a button selection? and b) how would i open another screen? theres a new window in the tutorial, so would i do the same but make the window the screen siz...
by only1skingle
Fri Jan 28, 2011 6:03 pm
Forum: Beginners Help
Topic: Creating a Menu
Replies: 5
Views: 366

cheers, will have a butchers now :)