Refactor layout creation

This commit is contained in:
James Booth
2014-12-16 20:53:23 +00:00
parent 630fef015d
commit 8f6167b45e
2 changed files with 53 additions and 85 deletions

View File

@@ -57,7 +57,7 @@
#define PAD_SIZE 1000
typedef enum {
LAYOUT_SINGLE,
LAYOUT_SIMPLE,
LAYOUT_SPLIT
} layout_type_t;
@@ -69,9 +69,9 @@ typedef struct prof_layout_t {
int paged;
} ProfLayout;
typedef struct prof_layout_single_t {
typedef struct prof_layout_simple_t {
ProfLayout super;
} ProfLayoutSingle;
} ProfLayoutSimple;
typedef struct prof_layout_split_t {
ProfLayout super;