Commit b3052b03 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

порядок индексов цветов в теме

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@55992 954022d7-b5bf-4e40-9824-e11837661b57
parent 21f81914
......@@ -214,10 +214,10 @@ namespace SimpleTypes
enum EThemeColor
{
themecolorLight1 = 0,
themecolorDark1 = 1,
themecolorLight2 = 2,
themecolorDark2 = 3,
themecolorDark1 = 0,
themecolorLight1 = 1,
themecolorDark2 = 2,
themecolorLight2 = 3,
themecolorAccent1 = 4,
themecolorAccent2 = 5,
themecolorAccent3 = 6,
......@@ -239,10 +239,10 @@ namespace SimpleTypes
int nThemeColor = _wtoi(sValue);
switch(nThemeColor)
{
case 0:m_eValue = themecolorDark1;break;
case 1:m_eValue = themecolorLight1;break;
case 2:m_eValue = themecolorDark2;break;
case 3:m_eValue = themecolorLight2;break;
case 0:m_eValue = themecolorLight1;break;
case 1:m_eValue = themecolorDark1;break;
case 2:m_eValue = themecolorLight2;break;
case 3:m_eValue = themecolorDark2;break;
case 4:m_eValue = themecolorAccent1;break;
case 5:m_eValue = themecolorAccent2;break;
case 6:m_eValue = themecolorAccent3;break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment