mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 11:35:58 +00:00
453e5bc2af
- Use GetSystemPowerStatus() instead of querying each battery. - Add an ugly AC power icon. Should be fixed or replaced. - Display AC power, battery charging, battery depleting and error cases. The AC power case was missing. - Update some strings because we are no longer using float for the charge percentage. @Turkish translators: Please check and update the translation of IDS_PWR_CHARGING!
60 lines
1.8 KiB
C
60 lines
1.8 KiB
C
#pragma once
|
|
|
|
#define IDD_POWER_METER 100
|
|
|
|
#define IDS_PWR_PROPERTIES 152
|
|
#define IDS_PWR_METER 153
|
|
#define IDS_PWR_RUN 157
|
|
#define IDS_PWR_PERCENT_REMAINING 158
|
|
#define IDS_PWR_CHARGING 159
|
|
#define IDS_PWR_UNKNOWN_REMAINING 160
|
|
#define IDS_PWR_AC 161
|
|
#define IDS_PWR_HOURS_REMAINING 162
|
|
#define IDS_PWR_MINUTES_REMAINING 163
|
|
|
|
#define IDI_BATTERY 200
|
|
#define IDI_EXTRACT 210
|
|
|
|
#define IDS_HOTPLUG_REMOVE_1 211
|
|
#define IDS_HOTPLUG_REMOVE_2 215
|
|
#define IDS_HOTPLUG_REMOVE_3 216
|
|
#define IDS_HOTPLUG_RUN 217
|
|
#define IDS_HOTPLUG_COMMA 218
|
|
#define IDS_HOTPLUG_DRIVE 219
|
|
#define IDS_HOTPLUG_DRIVES 220
|
|
#define IDS_HOTPLUG_A 221
|
|
#define IDS_HOTPLUG_REQUIRES 222
|
|
#define IDS_HOTPLUG_CLICK 223
|
|
|
|
#define IDI_VOLUME 230
|
|
#define IDI_VOLMUTE 231
|
|
|
|
#define IDS_VOL_VOLUME 252
|
|
#define IDS_VOL_ADJUST 255
|
|
#define IDS_VOL_OPEN 256
|
|
#define IDS_VOL_RUN 257
|
|
#define IDS_VOL_MUTED 258
|
|
|
|
#define IDS_KEYS_STICKY 330
|
|
#define IDS_KEYS_MOUSE 331
|
|
#define IDS_KEYS_FILTER 332
|
|
|
|
#define IDI_BATTCAP0 400
|
|
#define IDI_BATTCAP1 401
|
|
#define IDI_BATTCAP2 402
|
|
#define IDI_BATTCAP3 403
|
|
#define IDI_BATTCAP4 404
|
|
#define IDI_BATTCAP5 405
|
|
#define IDI_BATTCHA0 406
|
|
#define IDI_BATTCHA1 407
|
|
#define IDI_BATTCHA2 408
|
|
#define IDI_BATTCHA3 409
|
|
#define IDI_BATTCHA4 410
|
|
#define IDI_BATTCAP_ERR 412
|
|
#define IDI_POWER_AC 413
|
|
|
|
#define IDI_HOTPLUG_ERR 420
|
|
#define IDI_HOTPLUG_OK 421
|
|
|
|
#define IDR_SYSTRAY 11001
|