Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed Dec 19, 2024
1 parent 9a02a0d commit f01c8e3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
9 changes: 9 additions & 0 deletions examples/example_gen.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
* STATIC VARIABLES
**********************/

/**********************
* GLOBAL VARIABLES
**********************/

/*Fonts*/
lv_font_t inter_sm;
lv_font_t inter_md;
lv_font_t inter_xl;

/**********************
* MACROS
**********************/
Expand Down
9 changes: 7 additions & 2 deletions examples/example_gen.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ extern "C" {
*********************/

/*Include all the widget and components of this library*/
#include "dark_slider/dark_slider.h"
#include "slider_box/slider_box.h"
#include "widgets/dark_slider/dark_slider.h"
#include "widgets/slider_box/slider_box.h"
#include "components/headings/h1_gen.h"
#include "components/headings/h2_gen.h"
#include "components/headings/h3_gen.h"
Expand All @@ -38,6 +38,11 @@ extern "C" {
* GLOBAL VARIABLES
**********************/

/*Fonts*/
extern lv_font_t inter_sm;
extern lv_font_t inter_md;
extern lv_font_t inter_xl;

/**********************
* GLOBAL PROTOTYPES
**********************/
Expand Down
3 changes: 1 addition & 2 deletions examples/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
**********************/

void ui_init(void)
{

{
example_init();
}

Expand Down

0 comments on commit f01c8e3

Please sign in to comment.