summaryrefslogtreecommitdiff
path: root/src/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.c')
-rw-r--r--src/display.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/display.c b/src/display.c
index cbc9eb1..7772732 100644
--- a/src/display.c
+++ b/src/display.c
@@ -117,7 +117,9 @@ static void draw_cardstack(WINDOW *w, const uint8_t row, const uint8_t col, cons
void display_window_table_cards(const tablestacks ts, const bool highlight, const uint8_t highlighted_stack)
{
+ wattron(w_table_cards, A_BOLD);
mvwprintw(w_table_cards, 0, 2, "Table Cards:");
+ wattroff(w_table_cards, A_BOLD);
for (uint8_t i = 0; i < NUM_TABLESTACKS; i++)
{
@@ -138,7 +140,9 @@ void display_window_table_cards(const tablestacks ts, const bool highlight, cons
void display_window_stack_points(const tablestacks ts)
{
+ wattron(w_stack_points, A_BOLD);
mvwprintw(w_stack_points, 0, 0, "Pts:");
+ wattroff(w_stack_points, A_BOLD);
for (uint8_t i = 0; i < NUM_TABLESTACKS; i++)
{
@@ -156,8 +160,10 @@ void display_window_stack_points(const tablestacks ts)
*/
void display_window_current_state(const player_name_open_card_tuple pnoc[], const uint8_t num_players, const uint32_t score)
{
+ wattron(w_current_state, A_BOLD);
mvwprintw(w_current_state, 0, 0, "Current state:");
mvwprintw(w_current_state, 0, 22, "Your Score: %3d", score);
+ wattroff(w_current_state, A_BOLD);
mvwprintw(w_current_state, 1, 1, "Player Card");
mvwprintw(w_current_state, 1, 22, "Player Card");
mvwvline(w_current_state, 1, 19, ACS_VLINE, 6); // Vertical line
@@ -185,7 +191,9 @@ void display_window_current_state(const player_name_open_card_tuple pnoc[], cons
*/
void display_window_hand_cards(const hand h, const bool highlight, const uint8_t highlighted_card)
{
+ wattron(w_hand_cards, A_BOLD);
mvwprintw(w_hand_cards, 0, 0, "Hand Cards:");
+ wattroff(w_hand_cards, A_BOLD);
for (uint8_t i = 0; i < MAX_HAND_CARDS; i++)
{