Two GUI questions...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
sugarhigh
Posts: 14
Joined: Sat May 28, 2005 4:11 am

Two GUI questions...

Post by sugarhigh »

Well now I'm at the point of making the gui for my app/game but I've hit yet another road block. I understand how to use tabs but is there any way to make them horizontal (up and down)?


ALSO...

I need an edit box for text input because part of it involves a terminal/command prompt like interface and i use

Code: Select all

env->addEditBox(wchar_t* input, rect<s32>(3,461,637,475), true, 0);
to make the edit box and have the input in a pointer named input... but the compiler gives this

Code: Select all

Source/main.cpp: In function `int main()':
Source/main.cpp:28: error: expected primary-expression before "wchar_t"
make.exe: *** [Output/main.o] Error 1
I'm using dev-c++ if that makes any difference...
ab illo cui multum datur multum requiritur
don_Pedro
Posts: 84
Joined: Fri Jun 10, 2005 1:34 pm
Location: Poland
Contact:

Post by don_Pedro »

About first, question as far I know it's not possible. About second, it's just basic c++ error, should be:

Code: Select all

wchar_t* input;
env->addEditBox(input, rect<s32>(3,461,637,475), true, 0);
sugarhigh
Posts: 14
Joined: Sat May 28, 2005 4:11 am

Post by sugarhigh »

Ahhh... Okay I got it now. I've never had to use "wchar_t" before in my programming so I'm not sompletely familiar with it and declaring "input" just completely slipped my mind.
ab illo cui multum datur multum requiritur
Post Reply