mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
subsys/fb/cfb: Introduce cfb_get_numof_fonts function
Adds the cfb_get_numof_fonts function to get the number of available fonts Signed-off-by: Diego Sueiro <diego.sueiro@gmail.com>
This commit is contained in:
committed by
Anas Nashif
parent
b6528469df
commit
c2c293a3e0
@@ -151,6 +151,15 @@ int cfb_framebuffer_set_font(struct device *dev, u8_t idx);
|
||||
*/
|
||||
int cfb_get_font_size(struct device *dev, u8_t idx, u8_t *width, u8_t *height);
|
||||
|
||||
/**
|
||||
* @brief Get number of fonts.
|
||||
*
|
||||
* @param dev Pointer to device structure for driver instance
|
||||
*
|
||||
* @return number of fonts
|
||||
*/
|
||||
int cfb_get_numof_fonts(struct device *dev);
|
||||
|
||||
/**
|
||||
* @brief Initialize Character Framebuffer.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user