Subject: [PATCH] a
---
Index: Compiler_HF/interface/Classes/ColorNickNameWnd.uc
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>EUC-KR
===================================================================
diff --git a/Compiler_HF/interface/Classes/ColorNickNameWnd.uc b/Compiler_HF/interface/Classes/ColorNickNameWnd.uc
--- a/Compiler_HF/interface/Classes/ColorNickNameWnd.uc (revision 77ad07fa1fbc605d654034e6a85e19b6b226e596)
+++ b/Compiler_HF/interface/Classes/ColorNickNameWnd.uc (date 1731390207320)
@@ -14,6 +14,7 @@
function OnRegisterEvent()
{
RegisterEvent(EV_ShowChangeNickNameNColor);
+ RegisterEvent(EV_AITimer);
}
function OnLoad()
@@ -117,6 +118,9 @@
case EV_ShowChangeNickNameNColor:
OnOpenWnd(Param);
break;
+ case EV_AITimer:
+ SwitchWindowStyle(param);
+ break;
}
}
@@ -208,6 +212,20 @@
break;
}
}
+
+function SwitchWindowStyle(string param)
+{
+ local int EventID;
+ local string newStyle;
+
+ ParseInt(param, "EventID", EventID);
+ if (EventID == 10)
+ {
+ ParseString(param, "Style", newStyle);
+ DrawGeneralUI(newStyle, true, false);
+ }
+}
+
defaultproperties
{
}