draw: remove useless AlignFixed

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-04 14:32:39 +02:00
parent ec5ae3dfb8
commit 176fa70916
3 changed files with 0 additions and 4 deletions

View File

@ -30,7 +30,6 @@ east
ellipsize ellipsize
end end
fg fg
fixed
flex flex
focus focus
font font

2
draw.c
View File

@ -671,7 +671,6 @@ draw_align_fromstr(const char *align, ssize_t len)
{ {
case A_TK_CENTER: return AlignCenter; case A_TK_CENTER: return AlignCenter;
case A_TK_RIGHT: return AlignRight; case A_TK_RIGHT: return AlignRight;
case A_TK_FIXED: return AlignFixed;
case A_TK_TOP: return AlignTop; case A_TK_TOP: return AlignTop;
case A_TK_BOTTOM: return AlignBottom; case A_TK_BOTTOM: return AlignBottom;
case A_TK_MIDDLE: return AlignMiddle; case A_TK_MIDDLE: return AlignMiddle;
@ -691,7 +690,6 @@ draw_align_tostr(alignment_t a)
case AlignLeft: return "left"; case AlignLeft: return "left";
case AlignCenter: return "center"; case AlignCenter: return "center";
case AlignRight: return "right"; case AlignRight: return "right";
case AlignFixed: return "fixed";
case AlignBottom: return "bottom"; case AlignBottom: return "bottom";
case AlignTop: return "top"; case AlignTop: return "top";
case AlignMiddle: return "middle"; case AlignMiddle: return "middle";

1
draw.h
View File

@ -51,7 +51,6 @@ typedef enum
AlignCenter = (1 << 1), AlignCenter = (1 << 1),
AlignTop = (1 << 2), AlignTop = (1 << 2),
AlignBottom = (1 << 3), AlignBottom = (1 << 3),
AlignFixed = (1 << 4),
AlignMiddle = (1 << 5) AlignMiddle = (1 << 5)
} alignment_t; } alignment_t;