This topic is now archived and is closed to further replies.


This topic is 5584 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hy! I''m changing a SimpEngine a bit, and I''m having one little problem. I can''t find where in the code we set the cursor position to bi in the center of a window. I just can''t find that piece of code. I''d be glad if anyone could help me. Sorry about my english

Share this post

Link to post
Share on other sites
in the CGUI::Draw() method, these lines specifically:

crosshair->SetRGBA(1.0f, 0.1f, 0.1f, 0.7f);
crosshair->SetPos3D(-0.03f, -0.03f, -5.0f);

Where crosshair is a CFont. Enjoy!

Kevin "Khawk" Hawkins
CEO and News Director,
Software Engineer, Raydon Corporation
Author, OpenGL Game Programming
Developer Diary

Share this post

Link to post
Share on other sites