Commit Graph

187 Commits

Author SHA1 Message Date
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb e6391c0b87 Merge branch 'release/1.9.x'
Conflicts:
	makepanda/installpanda.py
	makepanda/makepandacore.py
2015-11-05 20:55:01 +01:00
rdb 042dc82416 Handle DPI change on Windows 8.1+, add dpi-window-resize config option 2015-11-05 20:43:33 +01:00
rdb 8c259d4a20 Merge branch 'release/1.9.x' 2015-11-01 20:12:32 +01:00
rdb d8fedc1bc0 Call SetProcessDPIAware() to fix issues caused by DPI virtualization in Windows 8.1 2015-11-01 20:01:39 +01:00
rdb 368390536b Fix bug preventing switching from Z_top to Z_normal on Windows
(Reported by Epihaius)
2015-11-01 19:07:33 +01:00
rdb 1e4a39d68e Merge remote-tracking branch 'origin/release/1.9.x' 2015-08-06 17:23:25 +02:00
rdb d66135f4b8 Add ability to change window icon after window has already opened on Windows 2015-08-06 14:36:51 +02:00
rdb 87b23dfeb2 Improve shader model detection mechanism 2015-07-19 21:31:24 +02:00
rdb e515cbdbd1 Reintroduce display mode information in Windows via Win32 API
Also clean up the CPUID code in winGraphicsPipe a bit
2015-07-19 21:13:01 +02:00
Ed Swartz 53171c93c8 Replace some debug() calls with info()/warning() calls. 2015-04-17 15:55:46 -05:00
Ed Swartz 48cc1aa496 Implement an M_confined mouse mode to ensure mouse stays in window. 2015-04-17 15:12:29 -05:00
rdb bd86907181 Fix assortment of compilation issues and annoyances 2015-02-08 23:25:11 +01:00
rdb 095a402853 Fix window-resizing regression on Windows 2015-01-14 20:23:16 +01:00
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
rdb b19ff5b10e Fix crash that may occur when handle_reshape in called before the window is fully created.
Not sure if this affects any renderer but the tinydisplay renderer.
2015-01-05 22:38:09 +01:00
rdb 624b3dad14 Delete DirectX 8 support 2014-12-30 02:00:43 +01:00
rdb e5ec2eaf50 Fix bug on Windows when resizing windows in any way other than dragging them 2014-09-15 16:46:28 +00:00
rdb 356012246e Implement win.get_keyboard_map() on Windows 2014-03-10 12:24:03 +00:00
rdb 9367ad586a Distinguish between lmeta and rmeta key, add menu key 2014-03-08 15:07:42 +00:00
rdb 31b79dc554 Add raw keyboard event support on Windows 2014-03-07 19:45:02 +00:00
rdb 879540aec4 Fix incorrect centering formula 2012-10-10 07:41:07 +00:00
David Rose e5bed7767e LR_DEFAULTSIZE 2012-08-13 23:44:04 +00:00
rdb d1c80b3876 fix bug LP 996478: Resetting default mouse cursor causes error message popup 2012-05-08 19:31:46 +00:00
David Rose d280ad2a81 deal with initially hidden windows properly 2012-03-22 18:11:11 +00:00
David Rose a572d1a413 shouldn't automatically build a dependency on Windows 7 2012-02-22 18:43:56 +00:00
David Rose 6f5fd1525d GraphicsWindow::_unexposed_draw 2012-01-15 20:13:16 +00:00
David Rose eb4b58eade very minor debug fix 2012-01-15 17:05:34 +00:00
David Rose 1968a30cd0 stop button spam on lost focus 2012-01-15 17:01:20 +00:00
Zhao Huang f2d1a429f2 Added include <time.h>, necessary to define localtime when compiling using --optimize=4 2011-12-21 18:12:43 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose dad8b88c62 whoops, forgot to remove debug output 2011-09-01 20:59:07 +00:00
David Rose 6154c9b431 use unicode flavors of RegisterClass et al 2011-08-30 15:56:41 +00:00
David Rose 0cf03bc158 untabify 2011-06-29 22:09:10 +00:00
David Rose dd4df70a28 fix msvs 2010 build issues reported by community member FriarTuck 2011-03-22 23:48:31 +00:00
David Rose d620d2a998 programmatically minimize/restore window 2011-02-28 18:41:21 +00:00
rdb 804a72b716 Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
Walt Destler bb5d97f1bf Fixed the following issues with the multitouch and python eventing code comitted earlier this week:
-	Renamed CustomGraphicsWindowProc to PythonGraphicsWindowProc.
-	PythonGraphicsWindowProc now extends the PythonCallbackObject class.
-	Added a GraphicsWindowProcCallbackData class. The data stored in this class depends on the OS being compiled for. (Currently only members for WIN32.)
o	Multitouch is now handled through this class as well. It has is_touch_event(), get_num_touches(), and get_touch_info() methods. The GraphicsWindow class still has these methods (GraphicsWindowProcCallbackData simply calls them), but they are no longer published.
-	Updated Sources.pp to use all these new files.
-	Added function and class comment blocks to everything.
-	Fixed a few coding convention things and continued to follow those conventions to the best of my knowledge.
-	Checked for literal tab characters.
-	pandabase.h comes before all other includes
-	No Windows-specific typedefs in non-Windows code.
-	All python-specific code in HAVE_PYTHON blocks.
-	Fixed the case between TIF_move, TIF_down, and TIF_UP (now TIF_up).
2010-06-25 21:46:53 +00:00
Walt Destler b4231f8df0 Added ability to receive windowing events in python.
Added Windows 7 multitouch support. Makepanda will detect when compiling with the Win7 SDK and turn on Win7 multitouch features.
2010-06-22 16:37:17 +00:00
Bei Yang 2f60d17345 Fixed white space problem 2010-05-19 22:15:53 +00:00
Bei Yang 48fe578648 Fixed some CVS shinanigins 2010-05-19 21:03:36 +00:00
Bei Yang 6a514be7d7 no message 2010-05-19 20:58:28 +00:00
David Rose 226c5de6ba fix fullscreen restore from minimized 2010-03-26 19:50:45 +00:00
gogg dd2b42eaf1 Remove voodoo workaround from find_acceptable_display_mode. 2010-03-14 22:27:48 +00:00
David Rose b61d739f19 fix fullscreen failure case 2010-03-02 19:04:01 +00:00
rdb b2b32aea5b Fix longstanding bug with the FPU being forced into single-precision mode on Windows 2010-01-31 08:48:41 +00:00
gogg 97c48d762f Bugfix: Client area was getting cropped when switching back to windowed under Windows. 2010-01-11 08:03:58 +00:00
gogg b37d1191d5 Support for switching to and from fullscreen mode in Windows during runtime. 2010-01-10 16:54:09 +00:00
David Rose f0597899d9 remove debug statements 2010-01-08 00:15:58 +00:00