Make namespaces more consistent (#92)
This commit is contained in:
committed by
GitHub
parent
ca5d4b8226
commit
a312bd5527
@@ -0,0 +1,13 @@
|
||||
#include "Spacer.h"
|
||||
#include "Style.h"
|
||||
|
||||
namespace tt::lvgl {
|
||||
|
||||
lv_obj_t* spacer_create(lv_obj_t* parent, int32_t width, int32_t height) {
|
||||
lv_obj_t* spacer = lv_obj_create(parent);
|
||||
lv_obj_set_size(spacer, width, height);
|
||||
obj_set_style_bg_invisible(spacer);
|
||||
return spacer;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user