|
Apologies for the broken formatting, was supposed to look like this:
SetClipRect(0, 1080 - 128, 64, 64);
DrawImage("STARTAN2", (0, 1080), DI_ITEM_LEFT_BOTTOM); |
|
Alright:
Class TestingStatusBar : BaseStatusBar {
override void Init() {
Super.Init();
SetSize(0, 1920, 1080);
}
override void DrawAutomapHUD(double ticFrac) {
// This uses the normal automap HUD but just changes the highlight color.
DoDrawAutomapHUD(Font.CR_GREY, Font.CR_UNTRANSLATED);
}
override void Draw (int state, double TicFrac) {
Super.Draw (state, TicFrac);
if (state == HUD_StatusBar)
{
BeginStatusBar();
DrawMainBar (TicFrac);
}
else if (state == HUD_Fullscreen)
{
BeginHUD();
DrawFullScreenStuff ();
}
}
void DrawMainBar(double TicFrac) {
}
void DrawFullScreenStuff() {
SetClipRect(0, 1080 - 128, 64, 64);
DrawImage("STARTAN2", (0, 1080), DI_ITEM_LEFT_BOTTOM);
}
} |