Render x/y for UI elements.
This commit is contained in:
@ -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"
|
||||
|
@ -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;
|
14
include/dawn/game/poker/ui/pokerplayerui.h
Normal file
14
include/dawn/game/poker/ui/pokerplayerui.h
Normal 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;
|
15
include/dawn/game/poker/ui/pokerui.h
Normal file
15
include/dawn/game/poker/ui/pokerui.h
Normal 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;
|
Reference in New Issue
Block a user