Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 858 Bytes

File metadata and controls

46 lines (30 loc) · 858 Bytes

Application_Idle

Shows how to use idle event with Fl::add_idle method.

Source

Application_Idle.cpp

CMakeLists.txt

Output

output

Generate and build

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

Windows :

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

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

macOS :

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

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

Linux :

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