Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1013 Bytes

File metadata and controls

48 lines (31 loc) · 1013 Bytes

Widget_Wrapper

Shows how to use callback method with std::function, std::bind and lambda methods.

Source

Widget_Wrapper.cpp

Fl_Widget_Wrapper.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 Widget_Wrapper.sln

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

macOS :

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

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

Linux :

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