diff options
author | Simon Howard | 2006-05-22 11:59:11 +0000 |
---|---|---|
committer | Simon Howard | 2006-05-22 11:59:11 +0000 |
commit | 7c18ad6ccf1461696185013b333af3c056cc5630 (patch) | |
tree | 4dd7253ee816d30e7ee0bb2d4b1966d2662282a2 /textscreen/txt_table.c | |
parent | 11643c088751a2d3797467463bce4476d3b03292 (diff) | |
download | chocolate-doom-7c18ad6ccf1461696185013b333af3c056cc5630.tar.gz chocolate-doom-7c18ad6ccf1461696185013b333af3c056cc5630.tar.bz2 chocolate-doom-7c18ad6ccf1461696185013b333af3c056cc5630.zip |
CAST -> TXT_CAST_ARG, UNCAST -> TXT_UNCAST_ARG.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 509
Diffstat (limited to 'textscreen/txt_table.c')
-rw-r--r-- | textscreen/txt_table.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/textscreen/txt_table.c b/textscreen/txt_table.c index cc5f7117..ccf81db2 100644 --- a/textscreen/txt_table.c +++ b/textscreen/txt_table.c @@ -33,9 +33,9 @@ #include "txt_separator.h" #include "txt_table.h" -static void TXT_TableDestructor(UNCAST(table)) +static void TXT_TableDestructor(TXT_UNCAST_ARG(table)) { - CAST(txt_table_t, table); + TXT_CAST_ARG(txt_table_t, table); int i; // Free all widgets @@ -90,9 +90,9 @@ static void CalcRowColSizes(txt_table_t *table, } } -static void TXT_CalcTableSize(UNCAST(table), int *w, int *h) +static void TXT_CalcTableSize(TXT_UNCAST_ARG(table), int *w, int *h) { - CAST(txt_table_t, table); + TXT_CAST_ARG(txt_table_t, table); int *column_widths; int *row_heights; int x, y; @@ -123,10 +123,10 @@ static void TXT_CalcTableSize(UNCAST(table), int *w, int *h) free(column_widths); } -void TXT_AddWidget(UNCAST(table), UNCAST(widget)) +void TXT_AddWidget(TXT_UNCAST_ARG(table), TXT_UNCAST_ARG(widget)) { - CAST(txt_table_t, table); - CAST(txt_widget_t, widget); + TXT_CAST_ARG(txt_table_t, table); + TXT_CAST_ARG(txt_widget_t, widget); if (table->num_widgets > 0) { @@ -207,9 +207,9 @@ static int FindSelectableColumn(txt_table_t *table, int row, int start_col) return -1; } -static int TXT_TableKeyPress(UNCAST(table), int key) +static int TXT_TableKeyPress(TXT_UNCAST_ARG(table), int key) { - CAST(txt_table_t, table); + TXT_CAST_ARG(txt_table_t, table); int selected; int rows; @@ -339,9 +339,9 @@ static void CheckValidSelection(txt_table_t *table) } } -static void TXT_TableDrawer(UNCAST(table), int w, int selected) +static void TXT_TableDrawer(TXT_UNCAST_ARG(table), int w, int selected) { - CAST(txt_table_t, table); + TXT_CAST_ARG(txt_table_t, table); int *column_widths; int *row_heights; int origin_x, origin_y; |