Tyler Goodlet
c677ff47a4
Please please please let this dpi scaling hack work
2021-11-05 10:27:03 -04:00
wattygetlood
2615af3955
Only scale down for scale < 2
2021-11-05 10:27:03 -04:00
Tyler Goodlet
4621d1af1a
Re-order grays by "lightness"
2021-11-05 10:25:43 -04:00
Tyler Goodlet
709288d034
Sway fixes that avoid weird window resizing
2021-09-06 09:28:11 -04:00
Tyler Goodlet
4d5afc2e25
Add dpi font scale getter
2021-09-06 09:28:10 -04:00
Tyler Goodlet
dc279a48c2
Move DPI / screen get logging to debug; reduce cli noise
2021-09-06 09:28:10 -04:00
Tyler Goodlet
f320f95288
Drop old hi-dpi font inches sizes
2021-06-13 23:59:02 -04:00
Tyler Goodlet
d269edc0b3
Re-org main window singleton into a new module
...
Avoids some cyclical and confusing import time stuff that we needed to get
DPI aware fonts configured from the active display. Move the main window
singleton into its own module and add a `main_window()` getter for it.
Make `current_screen()` a ``MainWindow` method to avoid so many module
variables.
2021-06-13 23:47:52 -04:00
Tyler Goodlet
ce67022e2e
Only add font size scaled down when dpi scaling > 2
2021-06-10 13:23:28 -04:00
Tyler Goodlet
62c456f8eb
Downscale fonts on scaled-down hidpi displays
2021-06-10 13:23:28 -04:00
Tyler Goodlet
193f4f945c
Flip to using scaled hi DPI detected by Qt
2021-06-10 13:23:28 -04:00
Tyler Goodlet
a9cdb94ff3
Port styling to latest `qtdarkstyle` version
2021-06-10 13:23:28 -04:00
Tyler Goodlet
ecd94ce24d
Better indexing logic?
2021-05-24 12:17:08 -04:00
Tyler Goodlet
d4395dbcbc
Make default view more zooomed in
2021-03-31 14:26:32 -04:00
Tyler Goodlet
3bd87caf4b
Hip shot: try making low dpi font sizes "just work"
2021-03-29 17:52:32 -04:00
Tyler Goodlet
07a5bf4b7c
Use low dpi inches on 96 dpi
2021-03-19 09:33:47 -04:00
Tyler Goodlet
55de079320
Add low dpi settings and different default view bars counts
2021-03-18 13:40:31 -04:00
Tyler Goodlet
a51d5c536e
Add a couple more grays
2021-03-11 21:41:13 -05:00
Tyler Goodlet
aa4a2ef64f
Bump up font size one more time
2021-02-21 11:49:27 -05:00
Tyler Goodlet
0edca84b3d
Yet another font size tweak
2021-02-11 11:48:40 -05:00
Tyler Goodlet
708ed89894
Hard code font inches
2021-02-08 07:01:26 -05:00
Tyler Goodlet
cc5af7319f
Slightly lighter sell red, try to fix screen stuff...
2021-01-22 23:02:23 -05:00
Tyler Goodlet
c1266a7a1d
Add buy/sell colors
2021-01-15 21:10:08 -05:00
Tyler Goodlet
e51670a573
Try dynamically loading screen
2021-01-15 21:10:08 -05:00
Tyler Goodlet
616a74865b
Better highlighted yellow
2021-01-03 17:23:23 -05:00
Tyler Goodlet
edbbcbf954
Add alert yellow
2021-01-03 10:39:06 -05:00
Tyler Goodlet
5d30f351af
Remove use of `tractor.run()`
2020-12-29 18:05:36 -05:00
Tyler Goodlet
db6f77481b
Stick with slightly smaller fonts
2020-12-19 16:50:54 -05:00
Tyler Goodlet
1f8f2eb8b3
Font size tweaks for low dpi
2020-12-19 16:06:54 -05:00
Tyler Goodlet
c1109ee3fb
Add license headers to pertinent files
2020-11-06 12:23:14 -05:00
Tyler Goodlet
205bedce85
Spec dpi aware font size in inches
2020-11-05 20:32:35 -05:00
Tyler Goodlet
b23e459027
Cleanup unneeded commented stuff
2020-11-02 15:43:19 -05:00
Tyler Goodlet
119196f2ff
Scale level label correctly to small(er) fonts
...
Not sure what fixed it exactly, and I guess we didn't need any relative
DPI scaling factor after all. Using the 3px margin on the level label
seems to make it look nice for any font size (i think) as well.
Gonna need some cleanup after this one.
2020-11-02 15:27:48 -05:00
Tyler Goodlet
9e7aa3f9bf
Add a dpi aware font wrapper type
2020-11-02 12:02:05 -05:00
Tyler Goodlet
20a4aed672
Update font metrics after dpi calc; facepalm.
2020-10-28 08:12:56 -04:00
Tyler Goodlet
751cca35e1
Attempt to calculate font size by DPI
2020-10-27 15:15:31 -04:00
Tyler Goodlet
ece57b2a1d
Rename our main color
2020-10-24 20:18:03 -04:00
Tyler Goodlet
8eb4344d86
More "thematic" default view values ;)
2020-10-22 20:42:46 -04:00
Tyler Goodlet
cd828db9e9
Show 24 bars to left on startup
2020-10-21 10:51:54 -04:00
Tyler Goodlet
32974a118c
Add hidpi comments, 300 bars in view at startup
2020-10-19 11:37:50 -04:00
Tyler Goodlet
c7d5ea6e15
Fix static yrange and last bar double draw issues
2020-10-16 12:18:14 -04:00
Tyler Goodlet
f4c38621d5
Add a default "bars from right" style setting
2020-10-15 15:08:56 -04:00
Tyler Goodlet
6d5ccc6c3f
Specify font size in pixels
2020-10-02 12:13:50 -04:00
Tyler Goodlet
8276b02f92
Further label and axis sizing tweaks for hidpi
2020-10-02 12:13:50 -04:00
Tyler Goodlet
e524ee9045
Resize everything with HiDPI scaling on
2020-10-02 12:13:50 -04:00
Tyler Goodlet
bfa7839370
Adopt official color
2020-10-02 12:13:50 -04:00
Tyler Goodlet
561cafbe55
Another black
2020-10-02 12:13:50 -04:00
Tyler Goodlet
a4a5bff3fa
Yes, even more grays
2020-10-02 12:13:28 -04:00
Tyler Goodlet
387a696232
Even more colors
2020-10-02 12:13:28 -04:00
Tyler Goodlet
363d4cf609
Start color map
2020-10-02 12:13:28 -04:00