diff --git a/src/bedsidemon/gui.cpp b/src/bedsidemon/gui.cpp
index 7d34ab1..5da0555 100644
--- a/src/bedsidemon/gui.cpp
+++ b/src/bedsidemon/gui.cpp
@@ -33,7 +33,6 @@ along with this program. If not, see .
using namespace std::string_literals;
using namespace std::string_view_literals;
-using ruis::lp;
using namespace ruis::length_literals;
using namespace bedsidemon;
@@ -54,7 +53,7 @@ std::vector> make_buttons(utki::shared_ref> make_buttons(utki::shared_ref> make_buttons(utki::shared_ref(icon_res_id),
@@ -110,8 +109,8 @@ utki::shared_ref make_separator(utki::shared_ref
{
.layout_params = {
.dims = {
- vertical ? 1_pp : lp::fill,
- vertical ? lp::fill : 1_pp
+ vertical ? ruis::dimension(1_pp) : ruis::dimension(ruis::dim::fill),
+ vertical ? ruis::dimension(ruis::dim::fill) : ruis::dimension(1_pp)
}
},
.color_params = {
@@ -151,14 +150,14 @@ utki::shared_ref bedsidemon::make_root_widgets(utki::shared_ref bedsidemon::make_root_widgets(utki::shared_ref bedsidemon::make_root_widgets(utki::shared_ref bedsidemon::make_root_widgets(utki::shared_ref bedsidemon::make_root_widgets(utki::shared_ref bedsidemon::make_root_widgets(utki::shared_ref context) :
ruis::widget(
std::move(context), //
{
- .dims = {ruis::lp::fill, ruis::lp::fill}
+ .dims = {ruis::dim::fill, ruis::dim::fill}
},
{}
),
diff --git a/src/bedsidemon/spo2/spo2_parameter_window.cpp b/src/bedsidemon/spo2/spo2_parameter_window.cpp
index 98c8340..4d9b658 100644
--- a/src/bedsidemon/spo2/spo2_parameter_window.cpp
+++ b/src/bedsidemon/spo2/spo2_parameter_window.cpp
@@ -47,7 +47,6 @@ using namespace ruis::make;
using namespace bedsidemon::make;
}; // namespace m
-using ruis::lp;
using namespace ruis::length_literals;
constexpr auto color_main_value = 0xffffff00;
@@ -66,7 +65,7 @@ std::vector> make_numeric_content(utki::shared_re
m::text(c,
{
.layout_params = {
- .align = {lp::align::front, lp::align::front}
+ .align = {ruis::align::front, ruis::align::front}
},
.color_params = {
.color = style::color_info_text
@@ -111,8 +110,8 @@ std::vector> make_numeric_content(utki::shared_re
m::image(c,
{
.layout_params = {
- .dims = {heart_size, lp::min},
- .align = {lp::align::front, lp::align::front}
+ .dims = {heart_size, ruis::dim::min},
+ .align = {ruis::align::front, ruis::align::front}
},
.widget_params = {
.id = "heart"s,
@@ -137,7 +136,7 @@ std::vector> make_widgets(utki::shared_ref> make_widgets(utki::shared_ref> make_widgets(utki::shared_ref> make_widgets(utki::shared_ref> make_widgets(utki::shared_ref> make_widgets(utki::shared_ref con
ruis::widget( //
std::move(context),
{//
- .dims = {ruis::lp::fill, ruis::lp::min}
+ .dims = {ruis::dim::fill, ruis::dim::min}
},
{}
),