Commit Graph

78 Commits

Author SHA1 Message Date
DarkPhoenix
5181e8e95a Reduce point radius for linux when scaled up 2020-09-09 15:00:35 +03:00
Yaar Podshipnik
1755ab4c3f Fix HiDPI scaling issues in VectorPicker
VectorPicker was DPI unware, so when asking GetClientSize() it would
get the actual size multiplied by the scaling factor of GetContentScaleFactor().
This made the widget seem to be cut off and display only the upper left
quarter of the circle.
Similarly, when choosing the font size for the percentages, it wouldn't
scale the maximum size, resulting in very large text.
2020-08-26 17:01:20 +01:00
DarkPhoenix
27d3bea8d8 Merge branch 'ammo_graph' into singularity
# Conflicts:
#	gui/targetProfileEditor.py
2020-06-09 19:04:20 +03:00
DarkPhoenix
6839669e04 Remove a few flags the new wx complains about 2020-04-25 09:36:40 +03:00
DarkPhoenix
c70afa9a4c Hide experimental bumping graphs 2020-04-07 18:25:40 +03:00
DarkPhoenix
4ba948c6f9 Merge branch 'master' into ammo_graph
# Conflicts:
#	gui/builtinMarketBrowser/itemView.py
#	service/market.py
2020-02-04 01:43:52 +03:00
DarkPhoenix
9ddfcc894f Make sure not to catch keyboard interrupts and system exits 2020-02-03 16:12:41 +03:00
DarkPhoenix
400d0aaa22 Rework graph ammo picker to be dialog instead of frame 2019-11-25 16:54:25 +03:00
DarkPhoenix
79f4deacea Show hidden graphs on ctrl-alt-g 2019-10-28 12:56:34 +03:00
DarkPhoenix
25e7b7a9f7 Fix RMB in graph fit list 2019-10-09 23:09:09 +03:00
DarkPhoenix
18d8ed6558 Take modifier key info from event where possible 2019-10-08 20:50:14 +03:00
DarkPhoenix
500f5b8310 Add redraw delay on fit changes 2019-08-26 14:47:34 +03:00
DarkPhoenix
0269a64ae1 Add maximize button to resizeable windows and make character editor resizeable 2019-08-26 12:59:00 +03:00
DarkPhoenix
380e9c2e87 Change how rounding on Y ticks happens - now it relies on shown Y range 2019-08-26 03:35:35 +03:00
DarkPhoenix
eebd59413b Apply scrams in DPS graph when projected mods is enabled 2019-08-23 13:19:17 +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
d577b1d1c6 Implement individual point getter for cap sim graph 2019-08-19 21:06:28 +03:00
DarkPhoenix
65e7607221 Add checkbox which controls if data from capsim is used or not 2019-08-19 13:28:50 +03:00
DarkPhoenix
9494885f45 Do not crash on infs/nans in values, just discard plot 2019-08-19 12:48:26 +03:00
DarkPhoenix
01bda70fef Rework mainOnly parameter into conditions 2019-08-19 12:37:52 +03:00
DarkPhoenix
d0a56e3ee8 Add checkbox to UI which will control if RAAR/RASB will reload or not 2019-08-19 01:28:12 +03:00
DarkPhoenix
a724347236 Avoid pushing graph inwards because of labels 2019-08-16 19:20:11 +03:00
DarkPhoenix
df7ad187f5 Relayout on effectivity change 2019-08-16 09:42:12 +03:00
DarkPhoenix
c142a011a0 Show shield HP/EHP based on HP selection in main panel 2019-08-16 09:31:02 +03:00
DarkPhoenix
477c43884a Add extra argument to axis selection updater 2019-08-16 08:51:58 +03:00
DarkPhoenix
6baa9dd322 Move interpolation and limitation to separate functions 2019-08-16 08:31:58 +03:00
DarkPhoenix
302975c243 Round to 0 to avoid showing too small numbers in scientific representation 2019-08-16 00:55:29 +03:00
DarkPhoenix
73f75fb44e Do not plot labels if they are out of bounds 2019-08-15 20:42:59 +03:00
DarkPhoenix
ff98658491 Use relative position of X description 2019-08-15 20:02:51 +03:00
DarkPhoenix
53db5943b1 Do not allow to clip x marks 2019-08-15 18:35:24 +03:00
DarkPhoenix
f0af93f8b9 Add extra space on X to the right to have space for x mark labels 2019-08-15 17:59:35 +03:00
DarkPhoenix
379fd2353a Reset x marks on x field change 2019-08-15 17:44:36 +03:00
DarkPhoenix
98f0766425 Drop x marks on various actions 2019-08-15 17:40:29 +03:00
DarkPhoenix
be07a4735c Added vertical marker line to show exact values on graphs 2019-08-15 17:25:25 +03:00
DarkPhoenix
d736a10dc9 Draw vertical line where user clicked 2019-08-15 15:42:06 +03:00
DarkPhoenix
c5c3b9cba1 Change how we calculate min/max Ys 2019-08-15 15:25:21 +03:00
DarkPhoenix
2f8ece9080 Connect various MPL events to support drawing vertical line with graph values 2019-08-15 12:42:23 +03:00
DarkPhoenix
c7e769e42e Move "graphs enabled" variable to top of graphs module 2019-08-15 11:49:26 +03:00
DarkPhoenix
3ab06d0832 Move MPL-related code to canvas panel 2019-08-15 09:32:52 +03:00
DarkPhoenix
251bc71f86 Add canvas panel which will house MPL-related functionality 2019-08-14 20:33:19 +03:00
DarkPhoenix
3f3870bb30 Rename just panel to control panel 2019-08-14 19:54:06 +03:00
DarkPhoenix
483c1c35fd Allow to use custom labels for selectors 2019-08-14 08:53:26 +03:00
DarkPhoenix
663623dec6 Do not crash on dollar sign in fit name 2019-08-12 11:56:07 +03:00
DarkPhoenix
1e35eaf62a Rework how single windows are opened 2019-08-12 01:11:44 +03:00
DarkPhoenix
fc65cb6000 More windows to auxiliary frame 2019-08-11 15:52:51 +03:00
DarkPhoenix
c315adf987 Rework target profile editor to be non-blocking window 2019-08-09 20:57:20 +03:00
DarkPhoenix
a881cd2bcc Work around wx bug - show labels even after switching graphs 2019-08-09 00:34:27 +03:00
DarkPhoenix
ce9099a25b Remove workaround as it seems to be not needed anymore 2019-08-07 12:31:35 +03:00
DarkPhoenix
63a362286e Add comment on why we need marker 2019-08-07 09:38:01 +03:00
DarkPhoenix
2155aa0d21 Move proportion width calcuation to display class 2019-08-07 09:24:26 +03:00