| 160 | } |
| 161 | |
| 162 | void OnInit() override |
| 163 | { |
| 164 | this->line_height = GetCharacterHeight(FS_NORMAL) + WidgetDimensions::scaled.hsep_normal; |
| 165 | this->line_offset = GetStringBoundingBox("] ").width + WidgetDimensions::scaled.frametext.left; |
| 166 | this->cursor_width = GetCharacterWidth(FS_NORMAL, '_'); |
| 167 | } |
| 168 | |
| 169 | void Close([[maybe_unused]] int data = 0) override |
| 170 | { |
nothing calls this directly
no test coverage detected