1 2 3 4 5 6 7 8 9 10 11 12 13 14
| void Set_CTButton(CButtonST * m_Button)
{
m_Button->SetFlat(false);
m_Button->SetColor(CButtonST::BTNST_COLOR_BK_OUT,RGB(103,61,255),true);
m_Button->SetColor(CButtonST::BTNST_COLOR_BK_IN,RGB(132,159,255),true);
m_Button->SetColor(CButtonST::BTNST_COLOR_BK_FOCUS,RGB(40,55,255),true);
m_Button->SetColor(CButtonST::BTNST_COLOR_FG_IN,RGB(255,255,255),true);
m_Button->SetColor(CButtonST::BTNST_COLOR_FG_OUT,RGB(255,255,255),true);
m_Button->SetColor(CButtonST::BTNST_COLOR_FG_FOCUS,RGB(255,255,255),true);
m_Button->SetPressedStyle(CButtonST::BTNST_PRESSED_TOPBOTTOM);
m_Button->SetBtnCursor(IDC_NODROP);
m_Button->SetTooltipText("Cc");
} |
Partager