Commit Graph

64 Commits

Author SHA1 Message Date
DarkPhoenix
958fbac582 Implement alt logic in projected item removal via context menu 2019-04-29 01:04:22 +03:00
DarkPhoenix
eb601e991a Print "stack" suffix on remove context menu text depending on passed source context rather than item context 2019-04-29 00:25:02 +03:00
DarkPhoenix
8b75b5f184 Change projected view to support multi-selection 2019-04-29 00:00:07 +03:00
DarkPhoenix
e39f9ffecf Rework projected removal command to be able to handle multi-selection 2019-04-27 23:27:16 +03:00
DarkPhoenix
e865c9a399 Use GetModifiers() instead of asking status of individual keys 2019-04-27 14:22:09 +03:00
DarkPhoenix
c8ff644b63 Make command fit panel multi-selectable 2019-04-25 23:55:41 +03:00
DarkPhoenix
3d70d9e37c Add multi-selection support to command fit remove command 2019-04-25 18:47:39 +03:00
DarkPhoenix
ef62d5cf97 Make boosters panel multi-selectable 2019-04-25 18:32:18 +03:00
DarkPhoenix
29c29469c6 Change booster removal commands to support multi-selection 2019-04-25 17:56:53 +03:00
DarkPhoenix
e09fce8411 Allow removal of several implants at once via context menu 2019-04-25 17:15:01 +03:00
DarkPhoenix
dc30b3ed1d Change implant remove command to support batch removal 2019-04-25 14:56:09 +03:00
DarkPhoenix
9d58ceb14d Remove multiple cargo items at once via context menu 2019-04-25 09:56:09 +03:00
DarkPhoenix
71c421702c Rework code of remove item context menu a little 2019-04-25 09:50:56 +03:00
DarkPhoenix
cfb351a751 Change cargo removal command to be able to accept multiple typeIDs 2019-04-24 22:09:45 +03:00
DarkPhoenix
921ccd3be9 Allow removal of batches of fighters 2019-04-24 15:17:30 +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
070dd62e6d Add alt support to variations menu for modules 2019-04-23 18:11:02 +03:00
DarkPhoenix
b404abca41 Add ability to remove similar modules to "remove module" context menu 2019-04-23 17:50:20 +03:00
DarkPhoenix
53fe3242b9 Start reworking context menus into several special classes to improve menu handling consistency 2019-04-23 15:38:53 +03:00
DarkPhoenix
6615bed1cd Fix context menu which is used to fill from market 2019-04-23 13:47:47 +03:00
DarkPhoenix
ad0c7a7a9d Rework conditions in some context menus to check mainItem when it's needed by the menu 2019-04-23 10:14:59 +03:00
DarkPhoenix
be2e0b5de4 Rely on clicked item instead of selection where it makes sense 2019-04-22 17:33:40 +03:00
DarkPhoenix
19b1eb161b Pass main item argument to context menu definitions 2019-04-22 17:01:53 +03:00
DarkPhoenix
d523722988 Change projected fit context menu entry names 2019-04-21 21:26:58 +03:00
DarkPhoenix
031cb6fcfb Change projected fits behavior - now addition adds 1 fit in any case (even if fit is already projected), and removal via double-click works like with drones 2019-04-21 21:22:57 +03:00
DarkPhoenix
d1a3e5c0e8 Fix some module-related command calls 2019-04-20 03:43:15 +03:00
DarkPhoenix
48d795676f Do not pass modules to charge switching commands 2019-04-20 02:52:28 +03:00
DarkPhoenix
1177575f77 Make item remove context menu safer 2019-04-19 23:12:29 +03:00
DarkPhoenix
babc2d1e42 Add 'stack' word to remove drone menu
Because that's what it does
2019-04-19 13:06:00 +03:00
DarkPhoenix
8e717b19d9 All lines are already unicode in py3 2019-04-19 12:46:26 +03:00
DarkPhoenix
69f68bf4ea Always show implant set menu item if you have sets, even if implant is selected 2019-04-18 00:44:43 +03:00
DarkPhoenix
af2da86f6f Change order of context menus 2019-04-16 19:26:45 +03:00
DarkPhoenix
5af211778b Rename context menu files 2019-04-16 18:16:53 +03:00
DarkPhoenix
46fa1eb0c6 Fix implant set addition 2019-04-15 23:12:51 +03:00
DarkPhoenix
801f51b89c Rework projected GUI commands 2019-04-15 11:34:52 +03:00
DarkPhoenix
0b49bf201f Rework local module GUI commands 2019-04-14 22:47:00 +03:00
DarkPhoenix
51a11edc36 Rework local drone GUI commands 2019-04-14 20:51:39 +03:00
DarkPhoenix
4a6c1c3920 Rework command-related GUI commands 2019-04-14 16:34:01 +03:00
blitzmann
621672bf34 Some tox fixes 2018-09-15 20:38:08 -04:00
blitzmann
a37fdf48c8 Fix implant / booster toggles, add qty change commands, started dinking with drone stacks, although think I might remove this altogether in favor of a qty change 2018-08-18 00:06:50 -04:00
Ryan Holmes
f0983c1468 Implement fighter add/remove commands 2018-08-13 19:35:32 -04:00
Ryan Holmes
d6b280d3cc Working commit for adding / removing projected modules / environments 2018-08-09 15:52:34 -04:00
blitzmann
3c7f0258df More converting for command fits 2018-08-03 21:19:51 -04:00
Ryan Holmes
fcc53d3f21 Add commands for booster and command fits 2018-08-03 16:10:27 -04:00
blitzmann
dd430bc9bb Implant and cargo conversions 2018-07-27 23:54:41 -04:00
blitzmann
b724e5bec1 Set up commands for adding/removing cargo 2018-07-27 00:43:47 -04:00
blitzmann
d5aeb0913d Start refactoring the refactor that was started with command pattern refactoring.
Instead of attempting to keep all the Fit service functionality, move these into specific "Fitting Commands" that are designed to define a unit of work and it's undo. Then, we will have "GUI Commands" which are defined as actions taken by the user themselves - these will usually use one or more "Fitting Commands".
2018-07-24 01:29:57 -04:00
blitzmann
5d0342ee2d Convert module charge handling to command pattern (adding charges and removing charges) 2018-07-21 18:04:07 -04:00
blitzmann
ec3cd75f4c Convert the context > Remove Module to command pattern 2018-07-21 16:00:02 -04:00
Ryan Holmes
34c692c972 Use unicode string to prevent non-ASCII ship names from causing error (#1317) 2017-10-21 22:04:40 -04:00