Commit Graph

82 Commits

Author SHA1 Message Date
DarkPhoenix
23f014c32e Do not use system theme for ListCtrl under windows 2023-12-09 17:46:31 +06:00
DarkPhoenix
10f5133282 Revert "Disable system theme for listctrls on windows"
This reverts commit 42658a8167.
2020-04-27 13:55:30 +03:00
DarkPhoenix
42658a8167 Disable system theme for listctrls on windows 2020-04-26 23:27:28 +03:00
DarkPhoenix
813db9340f Make sure to select right-clicked item on windows when Control is pressed 2019-10-02 13:19:46 +03:00
DarkPhoenix
6fceda5f27 Ensure right-clicked item is selected on Mac in Display list panels 2019-08-22 08:47:45 +03:00
DarkPhoenix
163d2c9b10 Do not freeze display, as it doesn't remove flicker anyway 2019-08-12 12:29:24 +03:00
DarkPhoenix
cc8def1cf5 Try to flicker less when redrawing lists 2019-08-12 15:13:51 +03:00
DarkPhoenix
2155aa0d21 Move proportion width calcuation to display class 2019-08-07 09:24:26 +03:00
DarkPhoenix
522de5ca5a Do not set column image if there's none 2019-07-07 17:27:37 +03:00
DarkPhoenix
efd8a6964e Add/remove fit list columns dynamically as graph is switched 2019-07-07 17:00:42 +03:00
DarkPhoenix
64bc2c34c2 Move addition of column by name to separate method 2019-07-07 12:21:53 +03:00
DarkPhoenix
178e3a3d56 Change sorting of fighters - group up by sub-roles as well 2019-04-24 13:28:14 +03:00
DarkPhoenix
3a26815d18 Change the fix again to not go into recursion problems on windows 2019-04-24 12:00:48 +03:00
DarkPhoenix
b70fcd9659 Change ScreenToClient fix 2019-04-24 11:46:20 +03:00
DarkPhoenix
d35bf6514f Do not pass selection as fallback, as we're now calculating clicked row properly 2019-04-24 08:16:23 +03:00
DarkPhoenix
abe015bee3 Add custom implementation of ScreenToClient 2019-04-24 08:11:37 +03:00
DarkPhoenix
929520091f Use wx' builtin when calculating relative coordinates 2019-04-23 23:50:49 +03:00
DarkPhoenix
d4847112a9 Make drone additions pane multi-selectable, change all related commands to support it too 2019-04-23 22:12:07 +03:00
DarkPhoenix
99f00b25a1 Change few details on how we handle charge switch 2019-04-23 17:39:48 +03:00
DarkPhoenix
19b1eb161b Pass main item argument to context menu definitions 2019-04-22 17:01:53 +03:00
DarkPhoenix
b4288e17e5 Send proper main module to context menu if possible 2019-04-22 16:06:16 +03:00
DarkPhoenix
881ec8b5b4 Select all items in fitting panel on ctrl-a 2019-04-22 13:36:59 +03:00
DarkPhoenix
a15fdc3b23 Use shared unselection function when starting drag 2019-04-22 13:07:18 +03:00
Tony Cook
2ea3394845 make the item list colour per slot if colorFitBySlot set
attempts to resolve #1839
2019-03-01 19:51:30 +11:00
Filip Sufitchi
18bb3bf246 Use list control length instead of sys.maxsize for platform compatibility 2018-03-31 16:28:59 -04:00
Ryan Holmes
729c46ab00 Revert "Remove EVT_ERASE_BACKGROUND events - pretty sure these were there for older versions of wx where the background wasn't erased properly"
This does help prevent flickering on resizing. Need to research more before removing them

This reverts commit 8c5c7fba29.
2017-06-14 03:57:57 -04:00
Ryan Holmes
8c5c7fba29 Remove EVT_ERASE_BACKGROUND events - pretty sure these were there for older versions of wx where the background wasn't erased properly 2017-06-14 01:02:27 -04:00
Ryan Holmes
8f369daf1e InsertStringItem > InsertItem 2017-06-14 00:46:38 -04:00
Ryan Holmes
cf4d0706ae Fix column headers, and disable event posting which was causing crash 2017-06-14 00:09:30 -04:00
Ryan Holmes
2bbcd96ce3 Even more fixes 2017-06-13 15:01:30 -04:00
Ryan Holmes
361f7fc5bb misc fixes 2017-06-12 21:09:50 -04:00
Ryan Holmes
828b18d0fd py2to3 automatic conversion. Woot! 2017-06-12 16:12:45 -04:00
Ebag333
0f00b7237a Another classic class conversion 2017-02-09 01:02:55 -08:00
Ebag333
579a13da44 Tox fixes 2017-02-09 00:59:22 -08:00
Ebag333
7865219164 Add a ton of default values 2017-02-09 00:56:33 -08:00
Ebag333
72633825cf Formatting and layout changes 2017-02-08 23:32:51 -08:00
Ebag333
e535f050c1 Disable inspection of writing to some wx properties. These do seem to get written, so it is likely pyCharm doesn't understand wx 2017-02-08 22:32:12 -08:00
Ebag333
6e524de320 Disable import inspections for wxPython, because it's not installed traditionally and we can't include it in requirements.txt 2017-02-08 20:15:24 -08:00
Ebag333
be53dedb18 Large pep8 compliance to make work for Tox 2016-12-13 21:23:01 -08:00
a-tal
d3b6bc1c93 so many pep8 fixes
(cherry picked from commit bee125d)
2016-12-13 20:16:44 -08:00
blitzmann
6cc6fd9468 Instead of icon, use unicode refresh. Minor issues with image and GUI flickering 2015-06-06 22:42:42 -05:00
blitzmann
9e96aac04d Fix situation in which module prices are fetched individually (which the price column). Instead, have them wait in a queue that is processed when the entire fit is called and calculated (with the price pane). Also adds a little refresh icon to know that prices are updating and it's not just blank (might change) 2015-06-04 14:10:27 -05:00
Master3See
0a162b30e6 Feature Added Remove <item> from Context Menu 2013-07-30 20:06:32 -06:00
HomeWorld
2971a97dc7 Small fix in display->HitTestSubitem (proper calc. of offset when list is scrolled) 2012-03-19 13:57:09 +02:00
DarkPhoenix
ee79c2700d Fix imageList bug & rework misc data getting method 2012-03-18 17:28:05 +04:00
HomeWorld
80150ab301 Use a 'fixed' HitTestSubItem in display.py (from ObjectListView) 2012-03-18 13:55:40 +02:00
HomeWorld
a097e95174 Properly detect column at a given position in fittingview/display (we were doing it in a very wrong way) 2012-03-18 12:42:45 +02:00
HomeWorld
b6602bf501 Deselect items by default if marketBrowser itemView is repopulated 2010-12-11 13:50:52 +02:00
HomeWorld
1763619fe6 Fixed a little logic oopsie in gui.Display.Populate 2010-12-11 13:31:00 +02:00
HomeWorld
abdd9498ca Removed an useless import in gui.Display 2010-12-11 13:06:15 +02:00