Tab5 audio, I2C improvements, UiDensity moved to lvgl-module and cleanup (#506)
- UiDensity moved to lvgl-module - Deleted tt_hal and tt_hal_gpio (breaks apps, but will fix those right after merging) - Added I2C 8 bit register operations - Added device.properties to simulator - Improved Tab5 hardware init, implement audio - Add README.md to kernel
This commit is contained in:
committed by
GitHub
parent
3a24d058c9
commit
d860ba1f34
@@ -1,32 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/** Affects LVGL widget style */
|
||||
typedef enum {
|
||||
/** Ideal for very small non-touch screen devices (e.g. Waveshare S3 LCD 1.3") */
|
||||
UiDensityCompact,
|
||||
/** Nothing was changed in the LVGL UI/UX */
|
||||
UiDensityDefault
|
||||
} UiDensity;
|
||||
|
||||
/** @deprecated use UiDensity */
|
||||
typedef enum {
|
||||
UiScaleSmallest, // UiDensityCompact
|
||||
UiScaleDefault // UiDensityDefault
|
||||
} UiScale;
|
||||
|
||||
/**
|
||||
* @deprecated Use UiDensity
|
||||
* @return the UI scaling setting for this device.
|
||||
*/
|
||||
UiScale tt_hal_configuration_get_ui_scale();
|
||||
|
||||
/** @return the UI scaling setting for this device. */
|
||||
UiDensity tt_hal_configuration_get_ui_density();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user