summaryrefslogtreecommitdiff
path: root/asm/macros/window.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2022-02-02 22:09:36 -0500
committerGitHub <noreply@github.com>2022-02-02 22:09:36 -0500
commit7d2344c07bea9a46993a92d4611fba80545acdd2 (patch)
tree9f865097bfc54f3c9ac885d9f1ec721f01d74eab /asm/macros/window.inc
parentf494238a9d1f8f486891845a43983e187dbeadf0 (diff)
parentdc7d86f026c01682bd024fabb0ce206eacb81c35 (diff)
Merge pull request #1616 from GriffinRichards/missing-req
Add missing :req, remove old macros
Diffstat (limited to 'asm/macros/window.inc')
-rw-r--r--asm/macros/window.inc35
1 files changed, 0 insertions, 35 deletions
diff --git a/asm/macros/window.inc b/asm/macros/window.inc
deleted file mode 100644
index a91782bbf..000000000
--- a/asm/macros/window.inc
+++ /dev/null
@@ -1,35 +0,0 @@
- .macro window_template bg_id, x, y, width, height, palette, vram_tile_offset
- .byte \bg_id
- .byte \x
- .byte \y
- .byte \width
- .byte \height
- .byte \palette
- .2byte \vram_tile_offset
- .endm
-
- .macro null_window_template
- window_template 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0000
- .endm
-
- .macro glyph_width_func font_id, func
- .4byte \font_id
- .4byte \func
- .endm
-
- .macro keypad_icon tile_offset, width, height
- .2byte \tile_offset
- .byte \width
- .byte \height
- .endm
-
- .macro font_info func, max_glyph_width, glyph_height, glyph_spacing, line_spacing, text_color, shadow_color, bg_color
- .4byte \func
- .byte \max_glyph_width
- .byte \glyph_height
- .byte \glyph_spacing
- .byte \line_spacing
- .byte \text_color << 4 @ low nybble seems unused
- .byte (\shadow_color << 4) | \bg_color
- .2byte 0 @ padding
- .endm