Skip to content

Commit

Permalink
Rename lv_windows_init_window_class to lv_windows_platform_init.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Jan 12, 2024
1 parent 5daf59b commit f81f21f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LvglWindowsSimulator/LvglWindowsSimulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int main()

lv_tick_set_cb(tick_count_callback);

if (!lv_windows_init_window_class())
if (!lv_windows_platform_init())
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion LvglWindowsSimulator/win32drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static void lv_windows_check_display_existence_timer_callback(lv_timer_t* timer)
}
}

EXTERN_C bool lv_windows_init_window_class()
EXTERN_C bool lv_windows_platform_init()
{
lv_timer_create(
lv_windows_check_display_existence_timer_callback,
Expand Down
2 changes: 1 addition & 1 deletion LvglWindowsSimulator/win32drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ typedef struct _lv_windows_window_context_t
EXTERN_C lv_windows_window_context_t* lv_windows_get_window_context(
HWND window_handle);

EXTERN_C bool lv_windows_init_window_class();
EXTERN_C bool lv_windows_platform_init();

EXTERN_C lv_display_t* lv_windows_create_display(
const wchar_t* title,
Expand Down

0 comments on commit f81f21f

Please sign in to comment.