Mercurial > minori
comparison dep/animone/src/a11y.cc @ 340:74e2365326c6
dep/animone: add experimental accessibility strategy
I also moved most of the functions out of util/win32.cc, because that
file is meant for things that are shared between the different functions,
and currently that is only wide string conversion helpers.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 19 Jun 2024 23:13:55 -0400 |
parents | |
children | 886f66775f31 |
comparison
equal
deleted
inserted
replaced
339:eac06513db86 | 340:74e2365326c6 |
---|---|
1 #include "animone/a11y.h" | |
2 | |
3 #ifdef USE_WIN32 | |
4 # include "animone/a11y/win32.h" | |
5 #endif | |
6 | |
7 namespace animone::internal { | |
8 | |
9 bool GetWebBrowserInformation(const Window& window, web_browser_proc_t web_browser_proc) { | |
10 bool success = false; | |
11 | |
12 #ifdef USE_WIN32 | |
13 success ^= win32::GetWebBrowserInformation(window, web_browser_proc); | |
14 #endif | |
15 | |
16 return success; | |
17 } | |
18 | |
19 } // namespace animone::internal |