forked from Lephenixnoir/hex-editor
meta: initial commit
This commit is contained in:
commit
b7798d7ef2
|
@ -0,0 +1,13 @@
|
|||
# Build files
|
||||
/build-fx
|
||||
/build-cg
|
||||
/*.g1a
|
||||
/*.g3a
|
||||
|
||||
# Python bytecode
|
||||
__pycache__/
|
||||
|
||||
# Common IDE files
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
.vscode
|
|
@ -0,0 +1,25 @@
|
|||
# Configure with [fxsdk build-fx] or [fxsdk build-cg], which provide the
|
||||
# toolchain file and module path of the fxSDK
|
||||
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
project(HexEdit)
|
||||
|
||||
include(GenerateG3A)
|
||||
include(Fxconv)
|
||||
find_package(Gint 2.8 REQUIRED)
|
||||
find_package(JustUI 1.0 REQUIRED)
|
||||
|
||||
set(SOURCES
|
||||
src/main.c
|
||||
)
|
||||
set(ASSETS
|
||||
)
|
||||
|
||||
fxconv_declare_assets(${ASSETS} WITH_METADATA)
|
||||
|
||||
add_executable(hexedit ${SOURCES} ${ASSETS})
|
||||
target_compile_options(hexedit PRIVATE -Wall -Wextra -Os)
|
||||
target_link_libraries(hexedit JustUI::JustUI Gint::Gint)
|
||||
|
||||
generate_g3a(TARGET hexedit OUTPUT "HexEdit.g3a"
|
||||
NAME "HexEdit" ICONS assets-cg/icon-uns.png assets-cg/icon-sel.png)
|
|
@ -0,0 +1,3 @@
|
|||
# Hex Editor for fx-CG
|
||||
|
||||
This is a hex editor for fx-CG. Builds with [gint](https://gitea.planet-casio.com/Lephenixnoir/gint) and [JustUI](https://gitea.planet-casio.com/Lephenixnoir/JustUI).
|
Binary file not shown.
After Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
|
@ -0,0 +1,12 @@
|
|||
#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;
|
||||
}
|
Loading…
Reference in New Issue