Compare commits

...

2 Commits

Author SHA1 Message Date
Tuper d67640ef51 C++ base 2024-04-13 21:39:40 +01:00
Tuper d4d0da4b73 assets-cg deleted 2024-04-13 15:33:55 +01:00
10 changed files with 14 additions and 16 deletions

View File

@ -10,7 +10,7 @@ include(Fxconv)
find_package(Gint 2.9 REQUIRED)
set(SOURCES
src/main.c
src/main.cpp
# ...
)
# Shared assets, fx-9860G-only assets and fx-CG-50-only assets

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -1,3 +0,0 @@
example.png:
type: bopti-image
name: img_example

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets-fx/example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
assets-fx/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@ -1,12 +0,0 @@
#include <gint/display.h>
#include <gint/keyboard.h>
int main(void)
{
dclear(C_WHITE);
dtext(1, 1, C_BLACK, "Sample fxSDK add-in.");
dupdate();
getkey();
return 1;
}

13
src/main.cpp Normal file
View File

@ -0,0 +1,13 @@
#include <gint/display.h>
#include <gint/keyboard.h>
#include <stdio.h>
int main(void)
{
FILE *file = fopen("save.txt", "w");
fprintf(file, "1234567890");
fclose(file);
return 1;
}