Commit Graph

177 Commits

Author SHA1 Message Date
Michael 5bd95ec56c dlgrender.cpp: preselect driver from configuration 2021-09-02 21:02:44 +02:00
Michael 55c526309f trespass/DDDevice.cpp: add implementation for LoadSelectedDeviceFromRegistry 2021-09-02 21:02:07 +02:00
Michael 4953355deb trespass/DDDevice.hpp: add GetSelectedDeviceIndex and LoadSelectedDeviceFromRegistry 2021-09-02 21:00:58 +02:00
Michael e24bb62b5b uiwnd.h: react to windowposchanged window message 2021-08-29 13:43:11 +02:00
Michael 62f3947931 uiwnd.cpp: react to windowposchanged window message 2021-08-29 13:42:48 +02:00
Michael 80b8977f73 uidlgs.cpp: move UI element repositioning to handling of windowposchanged window message 2021-08-29 13:42:27 +02:00
Michael 6c5fdd665e mainwnd.cpp: react to windowposchanged window message 2021-08-29 13:41:36 +02:00
Michael bbe72506c2 trespass/main.h: react to windowposchanged window message 2021-08-29 13:41:02 +02:00
Michael 8c8f17f171 main.cpp: resize window after showing CConfigureWnd 2021-08-28 14:29:16 +02:00
Michael 48b6b6c90d dlgrender.cpp: scroll to active resolution when render menu is opened 2021-08-28 13:28:14 +02:00
Michael 10923b14f8 Trespass/main.cpp: remove filtering of high display resolutions 2021-08-28 13:21:46 +02:00
Michael fee7df9701 ctrls.cpp: add CUIListbox::ScrollToActive 2021-08-28 13:03:42 +02:00
Michael 39f64dc697 ctrls.h: add CUIListbox::ScrollToActive 2021-08-28 13:03:19 +02:00
Michael 2591beeee1 uidlgs.cpp: reset window if resolution was changed in video options 2021-08-28 13:02:02 +02:00
Michael 410cc17e0f trespass.rc: add dropdown box for window mode selection to video settings menu
- replace help text in video settings menu
2021-08-14 23:01:55 +02:00
Michael 50901fd256 trespass/main.h: add support for window mode selection 2021-08-14 23:00:24 +02:00
Michael 8347b2c66e dlgrender.cpp: add support for window mode selection 2021-08-14 22:59:40 +02:00
Michael bbd5e83c87 trespass/resource.h: add IDC_COMBO_WINDOWMODE 2021-08-14 22:58:14 +02:00
Michael 0497f93130 DDDevice.cpp: relax resolution filter conditions, filter below 640x480 2021-08-14 22:56:56 +02:00
Michael 6117334a64 trespass/main.cpp: replace GetWindowModeConfigured with GetWindowModeActive 2021-08-14 22:55:57 +02:00
Michael c3b01fc54a supportfn.cpp: replace GetWindowModeConfigured with GetWindowModeActive 2021-08-14 22:54:31 +02:00
Michael 25a6277599 mainwnd.cpp: add missing nullptr checks 2021-08-14 22:20:09 +02:00
Ian Brun 5b95d6d57d
Merge pull request #171 from meekee7/cheat-prompt
Cheat prompt and save menu improvements
2021-07-31 15:44:05 +02:00
Ian Brun af1542feef
Merge pull request #170 from meekee7/endless-scrolldown
Resolve endless scrolldown in listbox
2021-07-31 15:32:00 +02:00
Michael 6a2fd96ebf gamewnd.cpp: set command prompt in cheat console
- ensure that psz In ExecuteCheat is never nullptr
- improve ESC key handling for cheat console
2021-07-30 18:34:53 +02:00
Michael 5e5c014ff7 ctrls.cpp: use const char* for CUIEditbox text getter and setter
- add support for prompt text in CUIEditBox
- improve ESC key handling in CUIEditBox
2021-07-30 18:31:40 +02:00
Michael 4b551ac5ce ctrls.h: use const char* for CUIEditbox text getter and setter
- add setter and member for prompt text
2021-07-30 18:29:13 +02:00
Michael 730804019c saveload.cpp: use const string for CUIEditBox::GetText 2021-07-30 18:24:02 +02:00
Michael 2f26c281eb ctrls.cpp: do not permit scrolldown of listbox when there are fewer data items than listbox items 2021-07-25 20:36:03 +02:00
Michael a7d229e8c4 trespass/version.rc2: include build mode in FileDescription
- include short Git hash in ProductVersion
- rename to OpenTrespasser
2021-07-09 23:55:48 +02:00
Ian Brun b4f2e9af49
Merge pull request #154 from meekee7/32bit-colordepth-support
32bit color depth support
2021-06-08 18:10:58 +02:00
Michael 18ce52d8ef mainwnd.cpp: add nullptr check 2021-04-23 21:33:52 +02:00
Michael 52ef160f5c ctrls.cpp: remove variable in ScrollUp and ScrollDown 2021-04-03 19:27:41 +02:00
Michael e1c7e53ef4 ctrls.cpp: cast to signed type to avoid implicit cast of subterm to unsigned type. This fixes the glitchy behavior when moving the scrollbar up. 2021-04-03 14:24:25 +02:00
Michael 9556230685 Ctrls: add mousewheel support to CUISlider 2021-04-03 01:51:09 +02:00
Michael 46ad924a5d Mainwnd: add mousewheel support 2021-04-03 01:15:32 +02:00
Michael 1c9bb0d57a UIWnd: add mousewheel support 2021-04-03 01:14:53 +02:00
Michael 498130ed0d Ctrls: add mousewheel support for CUIListBox
- extract ScrollUp and ScrollDown
2021-04-03 01:14:09 +02:00
Michael c448e9785b mainwnd.cpp: forward MMB down messages 2021-04-02 23:59:29 +02:00
Ian Brun e3a96b0a61
Merge pull request #157 from meekee7/include-guards
Add/Fix include guards
2021-03-09 03:55:28 +01:00
Michael 021b085a7e trespass/resource.h: add include guard 2021-02-28 23:55:52 +01:00
Michael eead470c0b video.h: use override keyword 2021-02-15 21:41:19 +01:00
Michael 469d309e73 uiwnd.h: use override keyword 2021-02-15 21:41:18 +01:00
Michael ecf5d754e8 uidlgs.h: use override keyword 2021-02-15 21:41:18 +01:00
Michael 9c2d6f2943 rasterdc.hpp: use override keyword 2021-02-15 21:41:18 +01:00
Michael 039f46d196 main.h: use override keyword 2021-02-15 21:41:17 +01:00
Michael 72dbcc0448 keyremap.h: use override keyword 2021-02-15 21:41:17 +01:00
Michael 340ce35797 dialogs.h: use override keyword 2021-02-15 21:41:17 +01:00
Michael d88f3fc10c ctrls.h: use override keyword 2021-02-15 21:41:16 +01:00
Michael dc41653877 supportfn.cpp: use backbuffer as screenshot source 2021-02-14 23:17:11 +01:00