haiku/docs/user
PulkoMandy 4dbd474753 Add BIconUtils::GetSystemIcon
Allow to easily access the alert icons and anything that's added to app_server
resources.

Fixes #10887.

Convert BAlert, Debugger AlertWithCheckbox and Keymap ModifierKeysWindow
to make use of it, removing the duplicate code to locate app_server
resources.

The resources are initialized only once (per application), so there is no need
to reload them for every access to the icons.

In the ticket there is discussion about putting this in BControlLook,
but I think this should in fact be moved fully into app_server with
special drawing commands for well-known icons. That would avoid loading
and rendering the icon on the application side to then send it to
app_server (especially in remote_app_server case)?

In any case, this simple API can serve as a base for applications to
use, and we can change how it is implemented later on.

Change-Id: Id370526ae5cf165cfb8bc277bc8a7f46c26f542d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6463
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-05-24 10:58:48 +00:00
..
app Minor documentation fixes 2022-01-11 12:22:17 +00:00
device Complete and rework BJoystick docs. 2015-01-10 11:44:58 +01:00
drivers FS Interface Docs: Made read_dir description clear 2020-06-11 10:39:35 +00:00
game BFileGameSound docs: Fix typo 2020-07-07 19:20:48 +02:00
graphics Documentation: Added Accelerant documentation 2020-10-08 07:15:28 +00:00
interface Add BIconUtils::GetSystemIcon 2023-05-24 10:58:48 +00:00
keyboard documentation: add a list of "media" keycodes to keyboard documentation. 2022-12-23 16:55:17 +00:00
locale BCountry: add a GetPreferredLanguage method. 2021-07-21 07:20:39 +00:00
mail Migrate the BTextMailComponent docs to the Haiku Book. 2017-12-26 13:59:25 -05:00
media Update BBuffer class docs. 2013-02-07 02:11:09 -05:00
midi Haiku Book: old Midi Kit: fix link to the BeBook. 2015-02-11 19:00:18 -05:00
midi2 Haiku Book: revert accidental overzealous search & replace all 2020-03-08 09:21:06 +00:00
net HaikuBook: Prepare for newer Network Services Kit docs 2021-12-17 16:25:44 +00:00
netservices NetServices: use BBorrow<BDataIO> for custom body targets 2022-09-04 07:27:08 +01:00
posix docs/user: Import syslog documentation from an old Haiku newsletter article. 2023-04-25 13:10:59 -04:00
ppp Added initial PPP API documentation. 2004-06-01 14:58:47 +00:00
shared Shared Kit: Introduce BMemoryRingIO, a thread-safe ring buffer 2022-07-11 16:29:53 +00:00
storage API Docs: Update BVolume::SetName() 2023-05-01 14:21:41 +00:00
support Merge remote-tracking branch 'origin/master' into dev/netservices 2022-09-04 07:30:59 +01:00
translation HaikuBook: fix warnings generated by Doxygen 1.18.16. 2020-03-08 08:57:37 +00:00
apidoc.dox HaikuBook: small list levels and grammar tweaks 2022-11-02 02:12:23 +00:00
book.css Api docs: fix code blocks 2023-03-11 22:28:47 +00:00
book.dox HaikuBook: small list levels and grammar tweaks 2022-11-02 02:12:23 +00:00
compatibility.dox Haiku Book: compatibility: list all authors at the top of the file as per convention. 2015-02-11 19:14:20 -05:00
credits.dox Add some more credits. I hope I got everyone now. 2007-05-28 08:11:24 +00:00
Doxyfile docs/user: Use Doxygen's internal search system. 2023-02-15 16:49:45 -05:00
footer.html HaikuBook: Apply layout customizations after default Doxygen stylesheet 2020-09-29 19:14:01 +00:00
header.html docs/user: Use Doxygen's internal search system. 2023-02-15 16:49:45 -05:00
HOWTO Better to have consistent paths... 2011-02-18 12:32:18 +00:00
Makefile HaikuBook: Add Makefile that supports the default and the develop configurations 2020-10-11 15:46:06 +00:00