Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

SpinButtons

 

class SpinButtons : public CtrlFrame

 

 

Simple CtrlFrame with two small buttons at the right edge of owning Ctrl. Buttons have have preassigned images of up and down arrows.

 

Derived from CtrlFrame

 

 

Public Field List

 

Button inc

Top button.

 


 

Button dec

Bottom button.

 

 

Constructor Detail

 

SpinButtons()

Initializes the frame.

 


 

~SpinButtons()

Default destructor.

 

 

Public Method List

 

SpinButtons& SetStyle(const Style& s)

Sets the style of to button to SpinButtons::Style s.

 


 

void Show(bool s = true)

Sets the visibility of the spin buttons to s.

 


 

static const Style& StyleDefault()

Returns the default style used by spin buttons.

 

 

 

 

SpinButtons::Style

 

struct Style : public ChStyle<Style> 

This structure defines the look of SpinButtons.

 

 

Last edit by cxl on 12/02/2017. Do you want to contribute?. T++