mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-04 23:28:46 +00:00
core: drop unused FONT_SIZE constant
This commit is contained in:
parent
ba36cef369
commit
b8bb63fbef
@ -44,7 +44,6 @@
|
|||||||
#error Unknown Trezor model
|
#error Unknown Trezor model
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FONT_SIZE 20
|
|
||||||
#define AVATAR_IMAGE_SIZE 144
|
#define AVATAR_IMAGE_SIZE 144
|
||||||
#define LOADER_ICON_SIZE 64
|
#define LOADER_ICON_SIZE 64
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
///
|
///
|
||||||
/// WIDTH: int # display width in pixels
|
/// WIDTH: int # display width in pixels
|
||||||
/// HEIGHT: int # display height in pixels
|
/// HEIGHT: int # display height in pixels
|
||||||
/// FONT_SIZE: int # font height in pixels
|
|
||||||
/// FONT_MONO: int # id of monospace font
|
/// FONT_MONO: int # id of monospace font
|
||||||
/// FONT_NORMAL: int # id of normal-width font
|
/// FONT_NORMAL: int # id of normal-width font
|
||||||
/// FONT_BOLD: int # id of bold-width font
|
/// FONT_BOLD: int # id of bold-width font
|
||||||
@ -596,7 +595,6 @@ STATIC const mp_rom_map_elem_t mod_trezorui_Display_locals_dict_table[] = {
|
|||||||
MP_ROM_PTR(&mod_trezorui_Display_clear_save_obj)},
|
MP_ROM_PTR(&mod_trezorui_Display_clear_save_obj)},
|
||||||
{MP_ROM_QSTR(MP_QSTR_WIDTH), MP_ROM_INT(DISPLAY_RESX)},
|
{MP_ROM_QSTR(MP_QSTR_WIDTH), MP_ROM_INT(DISPLAY_RESX)},
|
||||||
{MP_ROM_QSTR(MP_QSTR_HEIGHT), MP_ROM_INT(DISPLAY_RESY)},
|
{MP_ROM_QSTR(MP_QSTR_HEIGHT), MP_ROM_INT(DISPLAY_RESY)},
|
||||||
{MP_ROM_QSTR(MP_QSTR_FONT_SIZE), MP_ROM_INT(FONT_SIZE)},
|
|
||||||
{MP_ROM_QSTR(MP_QSTR_FONT_NORMAL), MP_ROM_INT(FONT_NORMAL)},
|
{MP_ROM_QSTR(MP_QSTR_FONT_NORMAL), MP_ROM_INT(FONT_NORMAL)},
|
||||||
{MP_ROM_QSTR(MP_QSTR_FONT_BOLD), MP_ROM_INT(FONT_BOLD)},
|
{MP_ROM_QSTR(MP_QSTR_FONT_BOLD), MP_ROM_INT(FONT_BOLD)},
|
||||||
{MP_ROM_QSTR(MP_QSTR_FONT_MONO), MP_ROM_INT(FONT_MONO)},
|
{MP_ROM_QSTR(MP_QSTR_FONT_MONO), MP_ROM_INT(FONT_MONO)},
|
||||||
|
@ -8,7 +8,6 @@ class Display:
|
|||||||
"""
|
"""
|
||||||
WIDTH: int # display width in pixels
|
WIDTH: int # display width in pixels
|
||||||
HEIGHT: int # display height in pixels
|
HEIGHT: int # display height in pixels
|
||||||
FONT_SIZE: int # font height in pixels
|
|
||||||
FONT_MONO: int # id of monospace font
|
FONT_MONO: int # id of monospace font
|
||||||
FONT_NORMAL: int # id of normal-width font
|
FONT_NORMAL: int # id of normal-width font
|
||||||
FONT_BOLD: int # id of bold-width font
|
FONT_BOLD: int # id of bold-width font
|
||||||
|
@ -22,7 +22,6 @@ display = Display()
|
|||||||
NORMAL = Display.FONT_NORMAL
|
NORMAL = Display.FONT_NORMAL
|
||||||
BOLD = Display.FONT_BOLD
|
BOLD = Display.FONT_BOLD
|
||||||
MONO = Display.FONT_MONO
|
MONO = Display.FONT_MONO
|
||||||
SIZE = Display.FONT_SIZE
|
|
||||||
WIDTH = Display.WIDTH
|
WIDTH = Display.WIDTH
|
||||||
HEIGHT = Display.HEIGHT
|
HEIGHT = Display.HEIGHT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user