mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: Ch.cpp updated #652
git-svn-id: svn://ultimatepp.org/upp/trunk@6834 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
25825f1e6d
commit
20685d9e49
1 changed files with 6 additions and 5 deletions
|
|
@ -16,10 +16,10 @@ void ChSysInit();
|
|||
|
||||
void ChStdSkin()
|
||||
{
|
||||
ChSysInit();
|
||||
GUI_GlobalStyle_Write(GUISTYLE_XP); // <- Hard theme restart!
|
||||
GUI_PopUpEffect_Write(Ctrl::IsCompositedGui() ? GUIEFFECT_NONE : GUIEFFECT_SLIDE);
|
||||
ColoredOverride(CtrlsImg::Iml(), CtrlsImg::Iml());
|
||||
ChSysInit();
|
||||
GUI_GlobalStyle_Write(GUISTYLE_XP);
|
||||
GUI_PopUpEffect_Write(Ctrl::IsCompositedGui() ? GUIEFFECT_NONE : GUIEFFECT_SLIDE);
|
||||
ColoredOverride(CtrlsImg::Iml(), CtrlsImg::Iml());
|
||||
}
|
||||
|
||||
void SbWc(Value *look)
|
||||
|
|
@ -37,7 +37,8 @@ void ChClassicSkin()
|
|||
|
||||
ChSysInit();
|
||||
GUI_GlobalStyle_Write(GUISTYLE_CLASSIC);
|
||||
|
||||
GUI_PopUpEffect_Write(Ctrl::IsCompositedGui() ? GUIEFFECT_NONE : GUIEFFECT_SLIDE);
|
||||
|
||||
ColoredOverride(CtrlsImg::Iml(), ClassicCtrlsImg::Iml());
|
||||
for(int q = 0; q < 4; q++)
|
||||
CtrlsImg::Set(CtrlsImg::I_HTB + q, AdjustColors(CtrlsImg::Get(ClassicCtrlsImg::I_B + q)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue