| 168 | } |
| 169 | |
| 170 | bool GuiController::GuiIsSelected(bool onClicked) const |
| 171 | { |
| 172 | if (onClicked) |
| 173 | { |
| 174 | return ((IsClicked(In::Select) || IsClicked(In::Action)) && CanSelect()); |
| 175 | } |
| 176 | else |
| 177 | { |
| 178 | return ((IsReleased(In::Select) || IsReleased(In::Action)) && CanSelect()); |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | bool GuiController::GuiIsDeselected() const |
| 183 | { |
nothing calls this directly
no test coverage detected