Exemplo n.º 1
0
void configureSliderVisualsSlider(entity me, float sz, float theAlign, float theTextSpace, string gfx)
{
	configureLabelLabel(me, NULL, sz, theAlign);
	me.textSpace = theTextSpace;
	me.keepspaceLeft = if(theTextSpace == 0) 0 else 1 - theTextSpace;
	me.src = gfx;
}
Exemplo n.º 2
0
void configureButtonButton(entity me, string txt, float sz, string gfx)
{
	configureLabelLabel(me, txt, sz, me.srcMulti ? 0.5 : 0);
	me.src = gfx;
}
Exemplo n.º 3
0
void configureInputBoxInputBox(entity me, string theText, float theCursorPos, float theFontSize, string gfx)
{
	configureLabelLabel(me, theText, theFontSize, 0.0);
	me.src = gfx;
	me.cursorPos = theCursorPos;
}