| | |
| | | static int drawText(wxGraphicsContext* gc, wxString st, wxPoint startP, int lineWidth, int lineHeight, std::list<ColorIndexInfo> colors = std::list<ColorIndexInfo>(), wxColour defaultColor = *wxBLACK); |
| | | |
| | | // 绘制按钮 |
| | | static void drawBtn(wxDC* dc, wxString st, wxRect rect,wxColour textColor, wxColour bgColor); |
| | | static void drawBtn(wxDC* dc, wxString st, wxRect rect,wxColour textColor, wxColour bgColor, wxAlignment align = wxALIGN_CENTER); |
| | | |
| | | // 绘制按钮 |
| | | static void drawBtnByGC(wxGraphicsContext* gc, wxString st, wxRect rect, wxColour textColor, wxColour bgColor); |