Renamed the 'draw' module to 'gui'.
This commit is contained in:
parent
27f53f57ce
commit
99ae6e954a
4
Makefile
4
Makefile
@ -12,7 +12,7 @@ SRC_OBJECTS = ${SRC_DIR}/common.o \
|
||||
${SRC_DIR}/deck.o \
|
||||
${SRC_DIR}/cursor.o \
|
||||
${SRC_DIR}/keyboard.o \
|
||||
${SRC_DIR}/draw.o \
|
||||
${SRC_DIR}/gui.o \
|
||||
${SRC_DIR}/game.o \
|
||||
|
||||
TESTS_EXECUTABLE = ttysolitaire_test
|
||||
@ -24,7 +24,7 @@ TESTS_OBJECTS = ${TESTS_DIR}/frame_test.o \
|
||||
${TESTS_DIR}/deck_test.o \
|
||||
${TESTS_DIR}/cursor_test.o \
|
||||
${TESTS_DIR}/keyboard_test.o \
|
||||
${TESTS_DIR}/draw_test.o \
|
||||
${TESTS_DIR}/gui_test.o \
|
||||
${TESTS_DIR}/game_test.o \
|
||||
${TESTS_DIR}/test_helper.o \
|
||||
${TESTS_DIR}/test_helper_test.o \
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "card.h"
|
||||
#include "stack.h"
|
||||
#include "deck.h"
|
||||
#include "draw.h"
|
||||
#include "gui.h"
|
||||
#include "cursor.h"
|
||||
#include "common.h"
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <string.h>
|
||||
#include <ncurses.h>
|
||||
|
||||
#include "draw.h"
|
||||
#include "gui.h"
|
||||
#include "deck.h"
|
||||
#include "game.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "stack.h"
|
||||
#include "game.h"
|
||||
#include "cursor.h"
|
||||
#include "draw.h"
|
||||
#include "gui.h"
|
||||
|
||||
/* FIXME: this function does not work on stacks with no marked cards.
|
||||
* In that case it returns the stack's length. */
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <getopt.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "draw.h"
|
||||
#include "gui.h"
|
||||
#include "game.h"
|
||||
#include "keyboard.h"
|
||||
#include "common.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdbool.h>
|
||||
#include "../src/draw.h"
|
||||
#include "../src/gui.h"
|
||||
|
||||
void test_draw() {
|
||||
void test_gui() {
|
||||
assert(true);
|
||||
}
|
@ -8,7 +8,7 @@ int main(int argc, const char *argv[]) {
|
||||
test_card();
|
||||
test_cursor();
|
||||
test_deck();
|
||||
test_draw();
|
||||
test_gui();
|
||||
test_frame();
|
||||
test_game();
|
||||
test_keyboard();
|
||||
|
@ -4,7 +4,7 @@
|
||||
void test_card();
|
||||
void test_cursor();
|
||||
void test_deck();
|
||||
void test_draw();
|
||||
void test_gui();
|
||||
void test_frame();
|
||||
void test_game();
|
||||
void test_keyboard();
|
||||
|
Loading…
Reference in New Issue
Block a user