[01 Jul 2011] TextOut and SelectLayer in combo does not work?

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
alfkil
Posts: 26
Joined: Sun Feb 14, 2010 1:54 pm

[01 Jul 2011] TextOut and SelectLayer in combo does not work?

Post by alfkil »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 1 Jul 2011 20:28:00 +0200

Am I right, that this does not work:

Code: Select all

@VERSION 4,7

@BRUSH 1, "mainmenu.png"

Function p_SetMode(mode)
    SelectLayer("menu", #SELMODE_COMBO)
    TextOut (#CENTER, 196, "2 player mode", {color = #BLACK})
    EndSelect()
EndFunction

EnableLayers()
DisplayBrush(1, #CENTER, #CENTER, {Name = "menu"})
p_SetMode(1)

WaitLeftMouse()
Could this be implemented?

Best,

Alfkil
alfkil
Posts: 26
Joined: Sun Feb 14, 2010 1:54 pm

[01 Jul 2011] Re: TextOut and SelectLayer in combo does not work?

Post by alfkil »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 1 Jul 2011 20:41:14 +0200

Sorry, I messed up the color bit, has to use SetFontColor()... Doh!
Locked