Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 909 Bytes

File metadata and controls

48 lines (31 loc) · 909 Bytes

Radio_Toggle_Button

Shows how to create a radio button with own Fl_Radio_Toggle_Button widget.

Source

Radio_Toggle_Button.cpp

Fl_Radio_Toggle_Button.h

CMakeLists.txt

Output

output

Generate and build

To build this project, open "Terminal" and type following lines:

Windows :

mkdir build && cd build
cmake .. 
start Radio_Toggle_Button.sln

Select Radio_Toggle_Button project and type Ctrl+F5 to build and run it.

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./Radio_Toggle_Button.xcodeproj

Select Radio_Toggle_Button project and type Cmd+R to build and run it.

Linux :

mkdir build && cd build
cmake .. 
cmake --build . --config Debug
./Radio_Toggle_Button