Game Development Community

GuiMessageVectorCtrl plus GuiMLTextCtrl ?

by Orion Elenzil · in Torque Game Engine · 03/13/2006 (10:50 am) · 1 replies

Hey All,

we're using GuiMessageVectorCtrl to display chat text,
pretty similar to how the stock chat hud does.

however,
we'd like to add the ability to embed clickable URLs in the chat text,
so that i can send you "hey check out www.garagegames.com" and you can click on gg.com and etc.

(i realize part of this is marking up the text so that it recognizes the URL, but let's ignore that part)

as i understand it, guiMLTextCtrl can display clickable, marked-up text, but GuiMessageVectorCtrl can't.

any advice for merging these two bad boys ?

offhand it seems like the easier approach is going to be to add functionality to guiMLTextCtrl so that it can attach() to a messageVector the way GuiMessageVectorCtrl does.

another possible advantage here is that we might also be able to get copy from the chat hud to the clipboard,
which would be cool.

any thoughts ?

thanks,
Orion

#1
03/13/2006 (7:19 pm)
I've wondered about this feature too. It's way low on my list of things to research, but hopefully I can bookmark this page and get rewarded later!