Commit graph

153 commits

Author SHA1 Message Date
Jamie Vital
d231502103 Further logic simplifications and fix a few races 2024-12-02 15:26:16 -05:00
Jamie Vital
bc4a400f53 Remove redundant code 2024-12-02 14:40:33 -05:00
Mark Pentler
c474410ae0
Update viewer_projection.cpp
Lock-out All and None buttons when all or no layers are already selected
2024-11-30 10:46:28 +00:00
Mark Pentler
c5b57aae7d
Update viewer_projection.cpp
Woops - forgotten I'd changed the label on the buttons
2024-11-29 08:43:53 +00:00
Mark Pentler
cccec1caf8
Update viewer_projection.cpp
Ensures the proper tooltip is displayed when no layers are loaded. In this situation the active_layers variable also = 0, so the "no layers active" tooltip is displayed. This is obviously useless - the user should be told that there are no projection layers in the set full stop - active or not.
2024-11-25 14:28:57 +00:00
Mark Pentler
cd4beeb4c5
Update viewer_projection.cpp
More whitespace deletion
2024-11-24 22:11:53 +00:00
Mark Pentler
58e07b7904
Update viewer_projection.cpp
Erroneous whitespace deletion
2024-11-24 22:11:30 +00:00
Mark Pentler
e2de46628d
Update viewer_projection.cpp
Fixes buttons not being active on switching to the projection tab - it is now counted on every load and when drawing the layer list.
2024-11-24 22:09:58 +00:00
Mark Pentler
2445d51d9d
Update viewer_projection.cpp
Fixes for enable/disable all buttons
2024-11-24 21:22:50 +00:00
Mark Pentler
5097e9f148
Update viewer_projection.cpp
small typos fixed, & in wrong place
2024-11-24 14:50:22 +00:00
Mark Pentler
b27b1222ae
Update viewer_projection.cpp
Add enable and disable layer buttons and functions, and removed the code that always makes sure at least one layer is active to make those new buttons work
2024-11-24 00:51:20 +00:00
Aang23
4237913307 Fixup projection geotiff bug 2024-09-22 22:39:52 +02:00
Aang23
5389c06350 Allow proj edition in advanced mode 1980-01-01 00:00:00 +00:00
Aang23
133369883b Disable editor 2018-08-20 20:19:19 +01:00
Aang23
a354f9a530 G(N)OME 2024-09-17 19:56:29 +02:00
Aang23
47621fafa9 Lego is holding me hostage 2024-09-17 17:19:39 +02:00
Jamie Vital
2d0117b314 Better merge transparency support 2024-08-03 13:44:52 -04:00
Aang23
c86df76154 Fix geotiff saving bug in overlay mode 2024-07-11 11:49:05 +02:00
Aang23
cbbbd77373 Make tile map extent selectable 2024-05-10 09:51:58 +02:00
Aang23
bf0de74939 Tile map works again, more accurate. Cache to be redone 2024-05-09 21:04:40 +02:00
Aang23
ab3de6c821 Fix Lua 2024-05-09 16:43:43 +02:00
Aang23
271457f3c9 Goodbye old system 2024-05-09 01:16:08 +02:00
Aang23
b22ba47545 Saving works again, and more 2024-05-08 21:38:32 +02:00
Aang23
fc3f32263d Make projections, overlay work 2024-05-08 20:17:42 +02:00
Jamie Vital
54312fabca Disable opacity slider when it does nothing 2024-04-06 16:42:36 -04:00
Jamie Vital
46e6e06964 Fix several more projection/transparency bugs
- When saving PBM and JPEG (which do not support transparency), pre-multiply alpha to each channel
- Fix TIFF transparency mode
- When doing overlay mode, allow setting opacity on bottom layer
- Fix overlay with transparency when target image does not have an alpha channel
2024-04-06 16:05:09 -04:00
Jamie Vital
b04dc69e8a Several projection fixes
- Proper alpha blending when merging layers in overlay mode to avoid black edges
- Also use alpha blending in OverlayHandler with text to, again, avoid black edges
- Use premultiplied alpha when bilinear sampling to, you guessed it, avoid black edges
- When adding layers to projection, add them to the top. Shockingly, this has nothing to do with black edges.
- Fix incorrect progress bar displaying progress in projection layers UI
2024-04-05 23:02:15 -04:00
Aang23
2e83060590 Fix UTM northing 2024-04-01 14:51:47 +02:00
Jamie Vital
395e1ab3b7 Fixup adding external projection layers from UI 2024-03-18 12:40:30 -04:00
Aang23
5c4ef89557 Cleanup CLI projs 2024-03-14 20:21:35 +01:00
Aang23
c8eec1ca52 More WIP CLI projs 2024-03-13 20:18:59 +01:00
Jamie
eee1d15181 Fix warns 2024-03-09 23:26:14 -05:00
Aang23
3dbaa97b50 WIP Auto Stereo 2024-03-05 10:48:11 +01:00
Aang23
fb3f4cc95c Add a cleaner DVB-S2 pipeline and UDP out 2024-03-04 16:15:39 +01:00
Aang23
b392cc9695 Make it build on Android 2024-02-29 17:47:39 +01:00
Aang23
4af7d38174 Merge branch 'proj_geotiff' of https://github.com/altillimity/SatDump into proj_geotiff 2024-02-29 14:50:03 +01:00
Aang23
09b2f44435 OSM Works again 2024-02-29 14:50:00 +01:00
Jamie Vital
fdbde695c3 Better automatic titles for projection layers 2024-02-28 16:10:05 -05:00
Aang23
80679f8907 Fix a stupid crash 2024-02-28 19:31:54 +01:00
Aang23
9c48480724 More UX changes 2024-02-28 17:26:48 +01:00
Aang23
37875e2efc UI changes 2024-02-28 17:16:05 +01:00
Aang23
d913dc26f1 Bring back old algorithm, it still can be useful 2024-02-28 00:24:04 +01:00
Aang23
871605ac06 Save TIFFs properly, more fixes 2024-02-27 23:57:15 +01:00
Aang23
592317cc0d Add spinner while loading 2024-02-27 19:10:22 +01:00
Aang23
57ae49a051 Add TPERS back, and units to make lego's teacher happy 2024-02-27 17:16:13 +01:00
Aang23
4b21605612 Work on UTM 2024-02-27 14:06:25 +01:00
Aang23
9e8aee3054 Load TIFFs properly 2024-02-26 23:31:22 +01:00
Aang23
eadcfb19dc Allow loading equirect, geotiff and custom again 2024-02-26 15:21:04 +01:00
Aang23
3bc6584e42 Auto mode, start swapping everything... 2024-02-26 12:55:42 +01:00
Aang23
4438e4b062 Start testing new projs & tif saving 2024-02-24 22:38:54 +01:00