GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
layout.h File Reference

Header of shared rects and points needed for ui. More...

#include "graphic_utils.h"

Go to the source code of this file.

Variables

static const BG_POINT CUR_BLIND_TOKEN_POS = {8, 18}
 
static const BG_POINT TOP_LEFT_PANEL_POINT = {0, 0}
 
static const BG_POINT ROUND_END_REWARDS_ELLIPSIS_POS = {10, 13}
 
static const BG_POINT JOKER_DISCARD_TARGET = {240, 30}
 
static const BG_POINT HELD_JOKERS_POS = {108, 10}
 
static const Rect TOP_LEFT_PANEL_ANIM_RECT = {0, 0, 8, 4}
 
static const Rect POP_MENU_ANIM_RECT = {9, 7, 24, 31}
 
static const Rect DECK_ANIM_RECT = {25, 14, 28, 23}
 
static const Rect TOP_LEFT_ITEM_SRC_RECT = {0, 20, 8, 25}
 
static const Rect TOP_LEFT_PANEL_BOTTOM_ROW_RESET_RECT = {0, 28, 8, 28}
 
static const Rect BLIND_REWARD_RECT = {40, 32, 64, 40}
 
static const Rect BLIND_REQ_TEXT_RECT = {32, 24, 64, 32}
 
static const Rect PLAYING_SCREEN_RECT = {72, 0, 240, 160}
 
static const Rect HAND_SIZE_RECT = {128, 128, 152, 160}
 

Detailed Description

Header of shared rects and points needed for ui.

Definition in file layout.h.

Variable Documentation

◆ BLIND_REQ_TEXT_RECT

const Rect BLIND_REQ_TEXT_RECT = {32, 24, 64, 32}
static

Definition at line 25 of file layout.h.

◆ BLIND_REWARD_RECT

const Rect BLIND_REWARD_RECT = {40, 32, 64, 40}
static

Definition at line 24 of file layout.h.

◆ CUR_BLIND_TOKEN_POS

const BG_POINT CUR_BLIND_TOKEN_POS = {8, 18}
static

Definition at line 13 of file layout.h.

◆ DECK_ANIM_RECT

const Rect DECK_ANIM_RECT = {25, 14, 28, 23}
static

Definition at line 21 of file layout.h.

◆ HAND_SIZE_RECT

const Rect HAND_SIZE_RECT = {128, 128, 152, 160}
static

Definition at line 27 of file layout.h.

◆ HELD_JOKERS_POS

const BG_POINT HELD_JOKERS_POS = {108, 10}
static

Definition at line 17 of file layout.h.

◆ JOKER_DISCARD_TARGET

const BG_POINT JOKER_DISCARD_TARGET = {240, 30}
static

Definition at line 16 of file layout.h.

◆ PLAYING_SCREEN_RECT

const Rect PLAYING_SCREEN_RECT = {72, 0, 240, 160}
static

Definition at line 26 of file layout.h.

◆ POP_MENU_ANIM_RECT

const Rect POP_MENU_ANIM_RECT = {9, 7, 24, 31}
static

Definition at line 20 of file layout.h.

◆ ROUND_END_REWARDS_ELLIPSIS_POS

const BG_POINT ROUND_END_REWARDS_ELLIPSIS_POS = {10, 13}
static

Definition at line 15 of file layout.h.

◆ TOP_LEFT_ITEM_SRC_RECT

const Rect TOP_LEFT_ITEM_SRC_RECT = {0, 20, 8, 25}
static

Definition at line 22 of file layout.h.

◆ TOP_LEFT_PANEL_ANIM_RECT

const Rect TOP_LEFT_PANEL_ANIM_RECT = {0, 0, 8, 4}
static

Definition at line 19 of file layout.h.

◆ TOP_LEFT_PANEL_BOTTOM_ROW_RESET_RECT

const Rect TOP_LEFT_PANEL_BOTTOM_ROW_RESET_RECT = {0, 28, 8, 28}
static

Definition at line 23 of file layout.h.

◆ TOP_LEFT_PANEL_POINT

const BG_POINT TOP_LEFT_PANEL_POINT = {0, 0}
static

Definition at line 14 of file layout.h.