quakeforge/ruamoko/include/gui/Slider.h
Bill Currie ebb3ec592a [qfcc] Implement bool and lbool types
Since spir-v needs actual bools for its conditional instructions, the
time to do bool properly finally came. As expected, the changes caused
quite a mess, but Ruamoko now does bool/true/false.
2024-11-15 12:36:08 +09:00

24 lines
324 B
Objective-C

#ifndef __ruamoko_gui_Slider_h
#define __ruamoko_gui_Slider_h
#include <gui/View.h>
/** \addtogroup gui */
///@{
@interface Slider: View
{
int index;
int size;
bool dir;
}
- (id) initWithBounds: (Rect)aRect size: (int) aSize;
- (void) setIndex: (int) ind;
- (void) draw;
@end
///@}
#endif //__ruamoko_gui_Slider_h