Mercurial > libanimone
comparison src/win.cc @ 12:52927e5118f9
dep/animone: header cleanup
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Wed, 08 May 2024 16:43:32 -0400 |
| parents | 97ea6a3e1954 |
| children | 27b988a1048c |
comparison
equal
deleted
inserted
replaced
| 11:89adf9798083 | 12:52927e5118f9 |
|---|---|
| 10 | 10 |
| 11 #ifdef X11 | 11 #ifdef X11 |
| 12 # include "animone/win/x11.h" | 12 # include "animone/win/x11.h" |
| 13 #endif | 13 #endif |
| 14 | 14 |
| 15 #include <iostream> | |
| 16 | |
| 17 namespace animone::internal { | 15 namespace animone::internal { |
| 18 | 16 |
| 19 bool EnumerateWindows(window_proc_t window_proc) { | 17 bool EnumerateWindows(window_proc_t window_proc) { |
| 20 bool success = false; | 18 bool success = false; |
| 21 | |
| 22 std::cout << "enumerating windows" << std::endl; | |
| 23 | 19 |
| 24 #ifdef WIN32 | 20 #ifdef WIN32 |
| 25 success |= win32::EnumerateWindows(window_proc); | 21 success |= win32::EnumerateWindows(window_proc); |
| 26 #endif | 22 #endif |
| 27 | 23 |
