#include "SRWidget.h" using namespace SRFramework; SRWidget::SRWidget(void) { } SRWidget::~SRWidget(void) { } COLORREF SRWidget::setBackColor(HDC hdc, COLORREF color) { m_backColor = color; return SetBkColor(hdc, m_backColor); } COLORREF SRWidget::setForeColor(HDC hdc, COLORREF color) { m_foreColor = color; return SetTextColor(hdc, m_foreColor); } void SRWidget::SetFont(HFONT font) { /*TODO*/ }