vxBoot (0.0.2) - Icons and font

@update
<> fx9860 - use 3*5 font
<> fx9860 - icon
<> fxcg50 - icon
This commit is contained in:
Yann MAGNIN 2021-09-25 19:03:58 +02:00
parent 7993f4b88f
commit e82dfa8d6a
8 changed files with 16 additions and 4 deletions

View File

@ -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
# ...

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,6 @@
hexa.png:
type: font
name: font_hexa
charset: print
grid.size: 3x5
grid.padding: 1

BIN
assets-fx/fonts/hexa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@ -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 */

View File

@ -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();