| 6 | #include <game/editor/editor_ui.h> |
| 7 | |
| 8 | void CEditor::UpdateTooltip(const void *pId, const CUIRect *pRect, const char *pToolTip) |
| 9 | { |
| 10 | if(Ui()->MouseInside(pRect) && !pToolTip) |
| 11 | str_copy(m_aTooltip, ""); |
| 12 | else if(Ui()->HotItem() == pId && pToolTip) |
| 13 | str_copy(m_aTooltip, pToolTip); |
| 14 | } |
| 15 | |
| 16 | ColorRGBA CEditor::GetButtonColor(const void *pId, int Checked) |
| 17 | { |
nothing calls this directly
no test coverage detected