Render x/y for UI elements.

This commit is contained in:
2021-09-03 19:02:37 -07:00
parent 4b55ec7b93
commit c0d13042b4
32 changed files with 196 additions and 155 deletions

View File

@ -10,8 +10,8 @@
#include "../../display/animation/queue.h"
#include "pokergameassets.h"
#include "pokerworld.h"
#include "pokerui.h"
#include "pokergameaction.h"
#include "ui/pokerui.h"
#include "../../poker/poker.h"
#include "../../poker/player.h"
#include "../../poker/dealer.h"

View File

@ -1,20 +0,0 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "../../libs.h"
#include "../../ui/label.h"
#include "../../poker/player.h"
typedef struct {
label_t labelInfo;
} pokerplayerui_t;
typedef struct {
pokerplayerui_t players[POKER_PLAYER_COUNT];
label_t labelGameInfo;
} pokerui_t;

View File

@ -0,0 +1,14 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "../../../libs.h"
#include "../../../ui/label.h"
typedef struct {
label_t label;
} pokerplayerui_t;

View File

@ -0,0 +1,15 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "../../../libs.h"
#include "../../../poker/player.h"
#include "pokerplayerui.h"
typedef struct {
pokerplayerui_t player[POKER_PLAYER_COUNT];
} pokerui_t;