Search found 6 matches

by Sindromequijote
Thu Nov 10, 2005 6:29 pm
Forum: Beginners Help
Topic: WCHAR_T problems
Replies: 4
Views: 274

Thank you very much for the help. :D

I'm using wstrings, something like that:

const wchar_t * palabra = titulo_panel.c_str();

Where titulo_papel is a wstring.
by Sindromequijote
Wed Nov 09, 2005 11:19 pm
Forum: Beginners Help
Topic: WCHAR_T problems
Replies: 4
Views: 274

I'll try to be more specific. I want to use this function of the IGUI::Font: virtual void draw (const wchar_t *text, const core::rect< s32 > &position, video::SColor color, bool hcenter=false, bool vcenter=false, const core::rect< s32 > *clip=0)=0 The first parameter is a const wchar_t pointer s...
by Sindromequijote
Wed Nov 09, 2005 10:14 pm
Forum: Beginners Help
Topic: WCHAR_T problems
Replies: 4
Views: 274

WCHAR_T problems

I have seen that irrlicht uses const wchar_t pointers to write "GUI" texts. I haven't found any function to copy the content of a "const wchar_t *" to another "const wchar_t *", not copying only the pointer to the same content. :oops: I would like to know if exists any ...
by Sindromequijote
Wed Oct 12, 2005 6:58 am
Forum: Beginners Help
Topic: function (irr::IrrlitchDevice *device);
Replies: 5
Views: 219

In my code I spelled it correctly and I'd included irrlicht allready...
Thanks Anyway
by Sindromequijote
Tue Oct 11, 2005 10:33 pm
Forum: Beginners Help
Topic: function (irr::IrrlitchDevice *device);
Replies: 5
Views: 219

class CPanelAcciones{
private:
...
public:
CPanelAcciones (irr:IrrlitchDevice* device, ...);
...
}

Error C2226: unexpected type 'irr::IrrlitchDevice'
error C2238: unexpected token(s) preceding ';'
by Sindromequijote
Tue Oct 11, 2005 9:32 pm
Forum: Beginners Help
Topic: function (irr::IrrlitchDevice *device);
Replies: 5
Views: 219

function (irr::IrrlitchDevice *device);

Hi,
I suppose that i can't pass the Irrlitch Device as a parameter of a function. I got some errors trying that. I wanted to do a class' function (for example a menu/button... class) to draw "itself" on the device. How can I do that?
Thanks a lot.