| 239 | ///////////////////////////////////////////////////////////////// |
| 240 | |
| 241 | const char* Button2::clickToString(clickType type) const { |
| 242 | if (type == single_click) return "single click"; |
| 243 | if (type == double_click) return "double click"; |
| 244 | if (type == triple_click) return "triple click"; |
| 245 | if (type == long_click) return "long click"; |
| 246 | return "none"; |
| 247 | } |
| 248 | |
| 249 | ///////////////////////////////////////////////////////////////// |
| 250 |