Game Development Community

GuiPopupMenuCtrl colors

by Gordon Walton · in Torque Game Engine Advanced · 02/18/2009 (10:38 am) · 2 replies

Hello fellow TGEA owners, I have a quick query regarding GuiPopupMenuCtrl colors. Does anyone know how to change the background color of the currently selected item and the background colour of of the mouse over item in the list box?

#1
02/18/2009 (12:29 pm)
MouseOver uses FontColorSel, and selected is hard coded to 128,128,128 in guiPopupCtrl.cpp (Around line 182).
#2
02/18/2009 (4:50 pm)
Magic! Thanks a lot for the quick reply, that sorted it all out :)