Skip to content

Commit

Permalink
first commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
bit101 committed Jun 2, 2023
0 parents commit 82e4377
Show file tree
Hide file tree
Showing 23 changed files with 517 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bin
developer_key
gen
internal-mir
mir
*.prg*
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
build:
monkeyc -d fr255 -f monkey.jungle -o bitface.prg -y build_res/developer_key
monkeydo bitface.prg fr255

build_full: font build

font: clean
build_res/fontbm --font-size 114 --chars 48-58 --background-color 0,0,0 --spacing-vert 1 --spacing-horiz 1 --font-file build_res/square.ttf --output resources/fonts/time
build_res/fontbm --font-size 32 --chars 45,48-57 --background-color 0,0,0 --spacing-vert 1 --spacing-horiz 1 --font-file build_res/square.ttf --output resources/fonts/data
build_res/fontbm --font-size 20 --background-color 0,0,0 --spacing-vert 1 --spacing-horiz 1 --font-file build_res/square.ttf --output resources/fonts/date

clean: clean_cache
rm -f resources/fonts/*.fnt
rm -f resources/fonts/*.png

clean_cache:
rm -rf gen/*
rm -f bitface.prg
rm -f bitface.prg.debug.xml
Binary file added build_res/fontbm
Binary file not shown.
Binary file added build_res/square.ttf
Binary file not shown.
35 changes: 35 additions & 0 deletions manifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0"?>
<!-- This is a generated file. It is highly recommended that you DO NOT edit this file. -->
<iq:manifest version="3" xmlns:iq="http://www.garmin.com/xml/connectiq">
<!--
Use "Monkey C: Edit Application" from the Visual Studio Code command palette
to update the application attributes.
-->
<iq:application id="a90de53c-ebc5-45a9-9313-49fc9496872f" type="watchface" name="@Strings.AppName" entry="BitFaceApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="4.2.0">
<!--
Use the following from the Visual Studio Code comand palette to edit
the build targets:
"Monkey C: Set Products by Product Category" - Lets you add all products
that belong to the same product category
"Monkey C: Edit Products" - Lets you add or remove any product
-->
<iq:products>
<iq:product id="fr255"/>
</iq:products>
<!--
Use "Monkey C: Edit Permissions" from the Visual Studio Code command
palette to update permissions.
-->
<iq:permissions/>
<!--
Use "Monkey C: Edit Languages" from the Visual Studio Code command
palette to edit your compatible language list.
-->
<iq:languages/>
<!--
Use "Monkey C: Configure Monkey Barrel" from the Visual Studio Code
command palette to edit the included barrels.
-->
<iq:barrels/>
</iq:application>
</iq:manifest>
1 change: 1 addition & 0 deletions monkey.jungle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
project.manifest = manifest.xml
5 changes: 5 additions & 0 deletions resources/drawables/drawables.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<drawables>
<bitmap id="LauncherIcon" filename="launcher_icon.png" />
<bitmap id="StepsIcon" filename="steps.png" />
<bitmap id="HeartIcon" filename="heart.png" />
</drawables>
Binary file added resources/drawables/heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions resources/drawables/heart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/drawables/launcher_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/drawables/steps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
96 changes: 96 additions & 0 deletions resources/drawables/steps.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions resources/fonts/data.fnt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
info face="SquareFont" size=-32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=1,1 outline=0
common lineHeight=37 base=27 scaleW=128 scaleH=64 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
page id=0 file="data_0.png"
chars count=11
char id=45 x=1 y=49 width=8 height=4 xoffset=2 yoffset=13 xadvance=12 page=0 chnl=15
char id=48 x=19 y=1 width=16 height=23 xoffset=2 yoffset=4 xadvance=19 page=0 chnl=15
char id=49 x=70 y=25 width=5 height=23 xoffset=2 yoffset=4 xadvance=8 page=0 chnl=15
char id=50 x=19 y=25 width=16 height=23 xoffset=2 yoffset=4 xadvance=19 page=0 chnl=15
char id=51 x=1 y=1 width=17 height=23 xoffset=1 yoffset=4 xadvance=19 page=0 chnl=15
char id=52 x=36 y=1 width=16 height=23 xoffset=2 yoffset=4 xadvance=19 page=0 chnl=15
char id=53 x=36 y=25 width=16 height=23 xoffset=2 yoffset=4 xadvance=19 page=0 chnl=15
char id=54 x=53 y=1 width=16 height=23 xoffset=2 yoffset=4 xadvance=19 page=0 chnl=15
char id=55 x=1 y=25 width=17 height=23 xoffset=1 yoffset=4 xadvance=19 page=0 chnl=15
char id=56 x=53 y=25 width=16 height=23 xoffset=2 yoffset=4 xadvance=19 page=0 chnl=15
char id=57 x=70 y=1 width=16 height=23 xoffset=2 yoffset=4 xadvance=19 page=0 chnl=15
Binary file added resources/fonts/data_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 82e4377

Please sign in to comment.