Skip to content

Commit

Permalink
pw color
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Sep 18, 2024
1 parent 1d1db3d commit a97ba6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bedsidemon/spo2/spo2_parameter_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,3 +336,8 @@ void spo2_parameter_window::on_heart_timer_expired()
this->heart.set_visible(false);
// std::cout << "heart" << std::endl;
}

void spo2_parameter_window::on_color_change(){
this->spo2_value.set_color(this->get_color());
this->waveform.set_color(this->get_color());
}
2 changes: 2 additions & 0 deletions src/bedsidemon/spo2/spo2_parameter_window.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class spo2_parameter_window :

void set(const spo2_measurement& meas);

void on_color_change()override;

// clang-format off
constexpr static const std::array<uint32_t, 4> possible_colors = {{
0xffffffff,
Expand Down

0 comments on commit a97ba6c

Please sign in to comment.