We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Код демонстрации. `` void gui::gui_demo (void *obj) { obj = obj; makise_gui_st7565_driver(&m_gui_driver); makise_gui_st7565_init(&m_gui);
makise_gui_autoinit(&m_host, &m_gui, &m_gui_driver, makise_gui_get_buffer, nullptr, makise_gui_draw, makise_gui_predraw, nullptr, nullptr, nullptr); MakiseStyle_SList sl_style = { .font = &f_minecraft_rus_regular_8, .font_line_spacing = MC_Black, .left_margin = 0, .item_margin = 0, .scroll_width = 5, .scroll_bg_color = MC_White, .scroll_color = MC_Black, .normal = { .bg_color = MC_White, .font_col = MC_Black, .border_c = MC_Black, .thickness = 0, }, .focused = { .bg_color = MC_White, .font_col = MC_Black, .border_c = MC_Black, .thickness = 0, }, .active = { .bg_color = MC_White, .font_col = MC_Black, .border_c = MC_Black, .thickness = 0, } }; MakiseStyle_SListItem sl_item_style = { .font = &f_minecraft_rus_regular_8, .font_line_spacing = 0, .text_scroll_speed = 0, .normal = { .bg_color = MC_White, .font_col = MC_Black, .border_c = MC_Black, .thickness = 0, }, .focused = { .bg_color = MC_White, .font_col = MC_Black, .border_c = MC_Black, .thickness = 0, }, .active = { .bg_color = MC_Black, .font_col = MC_White, .border_c = MC_Black, .thickness = 0, } }; MSList sl; static char b1[] = "but_1"; static char b2[] = "but_2"; static char b3[] = "but_3"; static char b4[] = "but_4"; static char sl_string[] = "MakiseGUI_sl"; m_create_slist(&sl, &m_host.host, mp_rel(0, 0, 127, 63), sl_string, nullptr, nullptr, MSList_RadioButton, &sl_style, &sl_item_style); MSList_Item sl_items[4]; m_slist_set_array(&sl, sl_items, 4); sl_items[0].text = b1; sl_items[1].text = b2; sl_items[2].text = b3; sl_items[3].text = b4; makise_gui_st7565_update_screen(&m_gui); makise_g_focus(&sl.el, M_G_FOCUS_GET); while (true) { makise_gui_input_send_button(&m_host, M_KEY_DOWN, M_INPUT_CLICK, 1); makise_gui_input_perform(&m_host); makise_gui_st7565_update_screen(&m_gui); vTaskDelay(1000); }
} ``
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Код демонстрации.
``
void gui::gui_demo (void *obj) {
obj = obj;
makise_gui_st7565_driver(&m_gui_driver);
makise_gui_st7565_init(&m_gui);
}
``
The text was updated successfully, but these errors were encountered: