mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Comment out unused code
This commit is contained in:
parent
cc74e865b7
commit
b840691b01
|
@ -289,6 +289,7 @@ int CMenus::DoButton_GridHeader(const void *pID, const char *pText, int Checked,
|
||||||
return UI()->DoButtonLogic(pID, pText, Checked, pRect);
|
return UI()->DoButtonLogic(pID, pText, Checked, pRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
int CMenus::DoButton_GridHeaderIcon(CButtonContainer *pBC, int ImageID, int SpriteID, const CUIRect *pRect, int Corners)
|
int CMenus::DoButton_GridHeaderIcon(CButtonContainer *pBC, int ImageID, int SpriteID, const CUIRect *pRect, int Corners)
|
||||||
{
|
{
|
||||||
float Seconds = 0.6f; // 0.6 seconds for fade
|
float Seconds = 0.6f; // 0.6 seconds for fade
|
||||||
|
@ -310,9 +311,9 @@ int CMenus::DoButton_GridHeaderIcon(CButtonContainer *pBC, int ImageID, int Spri
|
||||||
|
|
||||||
return UI()->DoButtonLogic(pBC->GetID(), "", false, pRect);
|
return UI()->DoButtonLogic(pBC->GetID(), "", false, pRect);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
int CMenus::DoButton_CheckBox_Common(const void *pID, const char *pText, const char *pBoxText, const CUIRect *pRect, bool Checked)
|
int CMenus::DoButton_CheckBox_Common(const void *pID, const char *pText, const char *pBoxText, const CUIRect *pRect, bool Checked)
|
||||||
//void CMenus::ui_draw_checkbox_common(const void *id, const char *text, const char *boxtext, const CUIRect *r, const void *extra)
|
|
||||||
{
|
{
|
||||||
RenderTools()->DrawUIRect(pRect, vec4(0.0f, 0.0f, 0.0f, 0.25f), CUI::CORNER_ALL, 5.0f);
|
RenderTools()->DrawUIRect(pRect, vec4(0.0f, 0.0f, 0.0f, 0.25f), CUI::CORNER_ALL, 5.0f);
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ private:
|
||||||
int DoIcon(int ImageId, int SpriteId, const CUIRect *pRect);
|
int DoIcon(int ImageId, int SpriteId, const CUIRect *pRect);
|
||||||
void DoIconColor(int ImageId, int SpriteId, const CUIRect *pRect, const vec4& Color);
|
void DoIconColor(int ImageId, int SpriteId, const CUIRect *pRect, const vec4& Color);
|
||||||
int DoButton_GridHeader(const void *pID, const char *pText, int Checked, CUI::EAlignment Align, const CUIRect *pRect);
|
int DoButton_GridHeader(const void *pID, const char *pText, int Checked, CUI::EAlignment Align, const CUIRect *pRect);
|
||||||
int DoButton_GridHeaderIcon(CButtonContainer *pBC, int ImageID, int SpriteID, const CUIRect *pRect, int Corners);
|
// int DoButton_GridHeaderIcon(CButtonContainer *pBC, int ImageID, int SpriteID, const CUIRect *pRect, int Corners);
|
||||||
|
|
||||||
//static void ui_draw_browse_icon(int what, const CUIRect *r);
|
//static void ui_draw_browse_icon(int what, const CUIRect *r);
|
||||||
//static void ui_draw_grid_header(const void *id, const char *text, int checked, const CUIRect *r, const void *extra);
|
//static void ui_draw_grid_header(const void *id, const char *text, int checked, const CUIRect *r, const void *extra);
|
||||||
|
|
Loading…
Reference in a new issue