| 69 | } |
| 70 | |
| 71 | int CEditor::DoButtonLogic(const void *pId, int Checked, const CUIRect *pRect, int Flags, const char *pToolTip) |
| 72 | { |
| 73 | if(Ui()->MouseInside(pRect)) |
| 74 | { |
| 75 | if(Flags & BUTTONFLAG_RIGHT) |
| 76 | m_pUiGotContext = pId; |
| 77 | } |
| 78 | |
| 79 | UpdateTooltip(pId, pRect, pToolTip); |
| 80 | return Ui()->DoButtonLogic(pId, Checked, pRect, Flags); |
| 81 | } |
| 82 | |
| 83 | int CEditor::DoButton_Editor(const void *pId, const char *pText, int Checked, const CUIRect *pRect, int Flags, const char *pToolTip) |
| 84 | { |
nothing calls this directly
no test coverage detected