mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +04:00
formatting
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
#include <stdint.h>
|
||||
#include <m-array.h>
|
||||
|
||||
#define ITEM_FIRST_OFFSET 17
|
||||
#define ITEM_NEXT_OFFSET 4
|
||||
#define ITEM_HEIGHT 14
|
||||
#define ITEM_WIDTH 64
|
||||
#define ITEM_FIRST_OFFSET 17
|
||||
#define ITEM_NEXT_OFFSET 4
|
||||
#define ITEM_HEIGHT 14
|
||||
#define ITEM_WIDTH 64
|
||||
#define BUTTONS_PER_SCREEN 6
|
||||
|
||||
struct ButtonMenuItem {
|
||||
|
||||
@@ -450,4 +450,4 @@ void button_panel_add_icon(
|
||||
icon->name_selected = icon_name;
|
||||
},
|
||||
true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
#include "m-algo.h"
|
||||
#include <m-array.h>
|
||||
|
||||
#define LIST_ITEMS 5u
|
||||
#define MAX_LEN_PX 110
|
||||
#define LIST_ITEMS 5u
|
||||
#define MAX_LEN_PX 110
|
||||
#define FRAME_HEIGHT 12
|
||||
#define Y_OFFSET 3
|
||||
#define Y_OFFSET 3
|
||||
|
||||
#define ITEM_LIST_LEN_MAX 50
|
||||
|
||||
#define CUSTOM_ICON_MAX_SIZE 32
|
||||
|
||||
#define SCROLL_INTERVAL (333)
|
||||
#define SCROLL_DELAY (2)
|
||||
#define SCROLL_DELAY (2)
|
||||
|
||||
typedef enum {
|
||||
BrowserItemTypeLoading,
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
|
||||
#define TAG "BrowserWorker"
|
||||
|
||||
#define ASSETS_DIR "assets"
|
||||
#define BROWSER_ROOT STORAGE_ANY_PATH_PREFIX
|
||||
#define FILE_NAME_LEN_MAX 256
|
||||
#define ASSETS_DIR "assets"
|
||||
#define BROWSER_ROOT STORAGE_ANY_PATH_PREFIX
|
||||
#define FILE_NAME_LEN_MAX 256
|
||||
#define LONG_LOAD_THRESHOLD 100
|
||||
|
||||
typedef enum {
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
#include <furi.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define TEXT_BOX_TEXT_WIDTH (120)
|
||||
#define TEXT_BOX_TEXT_HEIGHT (56)
|
||||
#define TEXT_BOX_TEXT_WIDTH (120)
|
||||
#define TEXT_BOX_TEXT_HEIGHT (56)
|
||||
#define TEXT_BOX_MAX_LINES_PER_SCREEN (10)
|
||||
|
||||
#define TEXT_BOX_LINES_SCROLL_SPEED_MEDIUM (3)
|
||||
#define TEXT_BOX_LINES_SCROLL_SPEED_FAST (5)
|
||||
#define TEXT_BOX_LINES_SCROLL_SPEED_MEDIUM (3)
|
||||
#define TEXT_BOX_LINES_SCROLL_SPEED_FAST (5)
|
||||
#define TEXT_BOX_LINES_SCROLL_SPEED_SATURATION (9)
|
||||
|
||||
struct TextBox {
|
||||
|
||||
@@ -40,7 +40,7 @@ static const uint8_t keyboard_origin_x = 1;
|
||||
static const uint8_t keyboard_origin_y = 29;
|
||||
static const uint8_t keyboard_row_count = 3;
|
||||
|
||||
#define ENTER_KEY '\r'
|
||||
#define ENTER_KEY '\r'
|
||||
#define BACKSPACE_KEY '\b'
|
||||
|
||||
static const TextInputKey keyboard_keys_row_1[] = {
|
||||
|
||||
@@ -19,4 +19,4 @@ typedef void (*ButtonCallback)(GuiButtonType result, InputType type, void* conte
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -90,4 +90,4 @@ WidgetElement* widget_element_text_scroll_create(
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user