d29f57fb13
Change all instances of DEVMODE to DEVMODEW since the program is unicode
2025-08-15 22:38:03 -07:00
5048cafb9f
Add display name to display mode changing and testing functions
2025-08-15 19:20:12 -07:00
0f66725951
Separate DISPLAY_MODE struct and associated functions into another file.
2025-08-15 18:36:55 -07:00
863471e08e
Add UI items for selecting a display
2025-08-15 18:32:47 -07:00
cedb800012
Fix annotations for WinMain
...
Fix "C28251 Inconsistent annotation for function" compiler warning by correctly defining WinMain.
v0.1.0
2025-08-15 11:44:51 -07:00
5911ca0100
Update README.md
...
Update the readme to reflect the current state of the project. The program is much more complete now, and has been tested and works flawlessly on both Windows Vista and 7.
2025-08-14 23:20:15 -07:00
e4157e70b3
Fix 32-bit profiles
2025-08-12 12:40:59 -04:00
a5555b4ee1
Guarantee Vista support
...
Define NT version headers so that Windows Vista support should reasonably be guaranteed, since we will not be using any newer APIs.
2025-08-12 09:16:34 -04:00
01727c04f0
Remove the battery warning
...
The battery warning could be annoying, and the option to disable it is confusing to somebody who may never see it.
2025-08-11 15:33:32 -04:00
e5dbac5879
Fix Debug and Release profiles for both x86 and x64
...
Application now builds with debug and release profiles on both x86 and x64.
2025-08-11 12:55:04 -04:00
4dc933d4bc
Update README.md
2025-08-10 13:12:01 -04:00
0295d289cf
Create an application icon.
...
It's quick and dirty but it works well enough.
2025-08-10 01:52:20 -04:00
350e2960b8
Add functionality for running at startup and disabling the battery warning
2025-08-09 16:03:40 -04:00
036a20df3f
Display a warning when there is no battery detected
2025-08-09 14:32:15 -04:00
6a586dedb7
Only change video mode if the current video mode matches one of the preferences.
...
This avoids the program resetting the video mode if you're doing something like testing different resolutions or playing a game in fullscreen.
2025-08-09 13:14:10 -04:00
4b46eafd35
Save and load preferences using the registry
...
Preferences are now saved and loaded using the registry. They are loaded at application startup and written to the registry every time a change is made. If no preferences are present in the registry yet, the current display mode is used for both battery and AC power.
2025-08-09 11:56:59 -04:00
046e8fd2eb
Actually enter name in the license.
2025-08-09 11:52:05 -04:00
5710ea69f5
Add project files.
2025-08-09 00:27:33 -04:00
6d309c83bf
Add .gitattributes, .gitignore, and LICENSE.txt.
2025-08-09 00:27:31 -04:00