mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
- Expose HAL Configuration's `UiScale` - Updated docs - Fix for `tt_timer_alloc()` - Changed `enum class` to regular C `enum` - Renamed enums (add prefix) - Include `<stdbool.h>` where needed
14 lines
256 B
C++
14 lines
256 B
C++
#include "tt_hal.h"
|
|
|
|
#include <Tactility/Tactility.h>
|
|
#include <Tactility/hal/Configuration.h>
|
|
|
|
extern "C" {
|
|
|
|
UiScale tt_hal_configuration_get_ui_scale() {
|
|
auto scale = tt::hal::getConfiguration()->uiScale;
|
|
return static_cast<UiScale>(scale);
|
|
}
|
|
|
|
}
|