Commit graph

14 commits

Author SHA1 Message Date
Absotively
f61de36a2e
Minor gas device UI tweaks (#42710)
* Use FancyWindow, margin of 10 for most gas devices

* Use FancyWindow, margin of 10 for gas analyzer, gas canister UI

* Adjust gas UI min sizes, resizeability, keyboard handling

---------

Co-authored-by: beck-thompson <beck314159@hotmail.com>
2026-09-30 05:52:07 +00:00
Fruitsalad
6ddb80d494
Add SegmentedBarChart, remove SplitBar and BeakerBarChart (#42908)
* Add SegmentedBarChart

* CryoPodWindow: Integrate SegmentedBarChart

* Remove BeakerBarChart

* SegmentedBarChart: Fix first frame jank

To update the entries' widths, it needed Control.Width, but that wouldn't be available until later. I moved things around so that it gets updated in ArrangeOverride the first time.

* GasAnalyzerWindow: Integrate SegmentedBarChart

* AbsorbentItemStatus: Integrate SegmentedBarChart

* Remove SplitBar

* SegmentedBarChart: Fix UI scale bug

With 200% UI scale the gaps would be half the intended size.

* SegmentedBarChart: Explicit deltaSeconds

* AbsorbentItemStatus: Use bar chart's background color

* SegmentedBarChart: Edit comments

* SegmentedBarChart: Edit calculation explanation

* SegmentedBarChart: Fix a subtle UI scale bug

MinSmallNotchScreenDistance was promised to be in UI units in the comment, but it was actually in pixels.

* SegmentedBarChart: Add sheetlet and doc comments

* SegmentedBarChart: Use StylePropertyDefault instead of TryGetStyleProperty

* SegmentedBarChart: Remove unnecessary helper

* SegmentedBarChart: Small redundancy removal

* AbsorbentItemStatus: Small adjustments based on feedback

* SegmentedBarChart: Use named colors

* AbsorbentItemStatus: Draw a medium notch every six notches instead of five

 This is because the capacity of mops was changed to 12. It looks a little better this way.

* SegmentedBarChart: Reorder functions, add doc comment
2026-07-28 18:39:20 +00:00
slarticodefast
b582f2e156
cleanup GasPrototype and some other atmos code (#43318)
* cleanup

* fix some localizations

* fix typo

* review and test fix

* rename

* minus one

---------

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2026-03-28 04:15:41 +00:00
opl-
893f4f1403
Use a fixed amount of decimal points in gas analyzer window (#40081)
This prevents the volume and temperature labels from changing width when the value lands on integer values, making the text easier to read.

Co-authored-by: opl <4833621+opl@users.noreply.github.com>
2025-09-03 22:49:50 +02:00
chromiumboy
45012cbe1d
Layering for atmospheric pipes (#36124)
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2025-06-01 22:01:43 -07:00
Mervill
2e3365793c
Greatly improve the usability of the Gas Analyzer. (#30763)
* greatly improve how the gas analyzer behaves

* don't close the analyzer when the object goes out of range

* cleanup

* always switch to the device tab when a new device is analyzed

* modern api part one

* modern api part 2

* modern api part three

* file scope namespace
2024-08-15 10:45:13 -04:00
slarticodefast
5a5efa11cf
Show volume on the gas analyzer (#25720)
The gas analyzer now shows the volume of pipes, tanks, canisters and the environment.

Adjust gas analyzers so that the volume and number of moles shown corresponds to only the scanned element, e.g. a canister or single pipe in a pipenet.
2024-04-17 09:42:24 -08:00
qwerltaz
289aab768f
Improve gas analyzer interface (#22779) 2023-12-20 09:56:57 -08:00
metalgearsloth
99b77bc2d3
Remove lights compref (#19531) 2023-09-11 19:18:06 +10:00
metalgearsloth
5a0fc68be2
Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
Nemanja
37e6d99e49
Gas analyzer compref removal (#17992)
* Gas analyzer compref removal

* don't question it
2023-07-12 13:47:45 -06:00
metalgearsloth
68480af109
Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
metalgearsloth
317a4013eb
Puddles & spreader refactor (#15191) 2023-04-10 15:37:03 +10:00
theashtronaut
868abaca5c
Gas Analyzer can now scan pipes/devices along with the environment (#10976) 2022-09-08 07:22:14 -07:00