Committing progres

This commit is contained in:
2022-01-06 09:22:49 -08:00
parent f339ce0713
commit 4ad29e981e
15 changed files with 74 additions and 320 deletions

View File

@@ -7,10 +7,19 @@
#pragma once
#include "libs.h"
#include "font.h"
#include "frame.h"
#include "util.h"
#include "common_tiles.h"
#include "memory.h"
#define BORDER_TILE_TOP_LEFT BORDER_DATA_POSITION
#define BORDER_TILE_TOP_CENTER BORDER_TILE_TOP_LEFT + 1
#define BORDER_TILE_TOP_RIGHT BORDER_TILE_TOP_CENTER + 1
#define BORDER_TILE_CENTER_LEFT BORDER_TILE_TOP_RIGHT + 1
#define BORDER_TILE_CENTER BORDER_TILE_CENTER_LEFT + 1
#define BORDER_TILE_CENTER_RIGHT BORDER_TILE_CENTER + 1
#define BORDER_TILE_BOTTOM_LEFT BORDER_TILE_CENTER_RIGHT + 1
#define BORDER_TILE_BOTTOM_CENTER BORDER_TILE_BOTTOM_LEFT + 1
#define BORDER_TILE_BOTTOM_RIGHT BORDER_TILE_BOTTOM_CENTER + 1
#define TEXTBOX_STATE_VISIBLE 1 << 0
#define TEXTBOX_STATE_SCROLLED 1 << 1
@@ -26,7 +35,6 @@
#define TEXTBOX_TILES_ROWS 3
#define TEXTBOX_TILE_BLANK COMMON_TILE_3
extern char *TEXTBOX_TEXT;
extern uint8_t TEXTBOX_TEXT_LENGTH;
extern uint8_t TEXTBOX_STATE;