File tree 2 files changed +3
-0
lines changed
examples/lighting-app/linux
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ executable("chip-lighting-app") {
51
51
deps += [
52
52
" ${ chip_root } /examples/common/imgui_ui" ,
53
53
" ${ chip_root } /examples/common/imgui_ui/windows:light" ,
54
+ " ${ chip_root } /examples/common/imgui_ui/windows:occupancy_sensing" ,
54
55
" ${ chip_root } /examples/common/imgui_ui/windows:qrcode" ,
55
56
]
56
57
}
Original file line number Diff line number Diff line change 30
30
#if defined(CHIP_IMGUI_ENABLED) && CHIP_IMGUI_ENABLED
31
31
#include < imgui_ui/ui.h>
32
32
#include < imgui_ui/windows/light.h>
33
+ #include < imgui_ui/windows/occupancy_sensing.h>
33
34
#include < imgui_ui/windows/qrcode.h>
34
35
35
36
#endif
@@ -94,6 +95,7 @@ int main(int argc, char * argv[])
94
95
example::Ui::ImguiUi ui;
95
96
96
97
ui.AddWindow (std::make_unique<example::Ui::Windows::QRCode>());
98
+ ui.AddWindow (std::make_unique<example::Ui::Windows::OccupancySensing>(chip::EndpointId (1 ), " Occupancy" ));
97
99
ui.AddWindow (std::make_unique<example::Ui::Windows::Light>(chip::EndpointId (1 )));
98
100
99
101
ChipLinuxAppMainLoop (&ui);
You can’t perform that action at this time.
0 commit comments