vxBoot (0.0.2) - Icons and font
@update <> fx9860 - use 3*5 font <> fx9860 - icon <> fxcg50 - icon
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.15)
|
||||
project(vxBoot)
|
||||
project(vxBoot VERSION 0.0.2 LANGUAGES C)
|
||||
|
||||
include(GenerateG1A)
|
||||
include(GenerateG3A)
|
||||
|
@ -24,7 +24,7 @@ set(ASSETS
|
|||
# ...
|
||||
)
|
||||
set(ASSETS_fx
|
||||
# ...
|
||||
assets-fx/fonts/hexa.png
|
||||
)
|
||||
set(ASSETS_cg
|
||||
# ...
|
||||
|
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1,6 @@
|
|||
hexa.png:
|
||||
type: font
|
||||
name: font_hexa
|
||||
charset: print
|
||||
grid.size: 3x5
|
||||
grid.padding: 1
|
After Width: | Height: | Size: 747 B |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 8.5 KiB |
|
@ -15,8 +15,8 @@
|
|||
#define FHEIGHT 9
|
||||
#endif
|
||||
#ifdef FX9860G
|
||||
#define FWIDTH 5
|
||||
#define FHEIGHT 7
|
||||
#define FWIDTH 3
|
||||
#define FHEIGHT 5
|
||||
#endif
|
||||
|
||||
/* define terminal structure */
|
||||
|
|
|
@ -44,6 +44,12 @@ int main(void)
|
|||
int argc;
|
||||
int ret;
|
||||
|
||||
/* change default font on fx9860 */
|
||||
#ifdef FX9860G
|
||||
extern font_t font_hexa;
|
||||
dfont(&font_hexa);
|
||||
#endif
|
||||
|
||||
/* automated hook */
|
||||
/* TODO: better way to execute early command */
|
||||
smemfs_mount();
|
||||
|
|