PDA

View Full Version : symbols



Suf
08-16-2002, 06:26 AM
I have developed a GUI interface to control an image structure and am trying to add symbols(ie theta and alpha) on the GUI interface. How can I possibly do that? Is there any command similar to the VK keys that I can use? Thanks in advance.

Suf.

knackered
08-16-2002, 09:30 AM
Say what?!

Robbo
08-16-2002, 03:42 PM
You know what Knack - I think school is out http://www.opengl.org/discussion_boards/ubb/wink.gif

V-man
08-17-2002, 05:59 AM
lol, its always knackered followed up by Robbo.

Anyway VK means virtual key I guess.

V-man

jwatte
08-17-2002, 09:00 AM
On Windows, in brief:

CreateDIBSection()
CreateFontIndirect( ... Symbol ... )
SelectObject()
TextOut()
glTexSubImage()

knackered
08-17-2002, 10:59 AM
This is confusing - is my browser not showing all the information?
I know what VK means, but what has that got to do with opengl?
And what in gods name are you replying to jwatte?

[This message has been edited by knackered (edited 08-17-2002).]

V-man
08-19-2002, 03:22 PM
He wants to print alpha theta and other such symbols, knackered.

But this is off topic! Too many off topic posts lately.

lol, what a funny guy

V-man

SirKnight
08-19-2002, 05:05 PM
http://nehe.gamedev.net/opengl3.asp

Tutorials there on how to use any windows font in an opengl program. So now you can use the Symbol font and make all the little pretty theta's your heart desires. http://www.opengl.org/discussion_boards/ubb/smile.gif

-SirKnight

knackered
08-19-2002, 10:50 PM
And what has that got to do with VK's?

SirKnight
08-20-2002, 06:24 AM
And what has that got to do with VK's?


Sigh....He was wanting to know if there was a VK code that will show a theta or alpha or any other greek letter. But there isn't so the only way to get those is to use the Symbol font like I said. So for example use the Symbol font, use the VK code for 'Q' and presto, a theta has been born! I thought what he was asking was blindly obvious about what he wanted. :p

-SirKnight