| 3357 | func (image *GUIImage) Destroy() {} |
| 3358 | |
| 3359 | type Scrollbar struct { |
| 3360 | MouseClose bool |
| 3361 | Rect *sdl.FRect |
| 3362 | Value float32 |
| 3363 | TargetValue float32 |
| 3364 | ValueMin float32 |
| 3365 | ValueMax float32 |
| 3366 | Soft bool // Controls if sliding the scrollbar is smooth or not |
| 3367 | WorldSpace bool |
| 3368 | OnValueSet func() |
| 3369 | OnRelease func() |
| 3370 | Highlighter *Highlighter |
| 3371 | Dragging bool |
| 3372 | Property *Property |
| 3373 | DrawOnlyWhenMouseIsClose bool |
| 3374 | DisplayValue bool |
| 3375 | } |
| 3376 | |
| 3377 | func NewScrollbar(rect *sdl.FRect, valueMin, valueMax float32, worldSpace bool, property *Property) *Scrollbar { |
| 3378 |
nothing calls this directly
no outgoing calls
no test coverage detected