Lines Matching refs:Direction
62 Direction; variable
108 Direction = DIR_NONE; in main()
119 Direction = DIR_TOP; in main()
124 Direction = DIR_TOP_RIGHT; in main()
128 Direction = DIR_TOP_LEFT; in main()
135 Direction = DIR_RIGHT; in main()
140 Direction = DIR_BOT; in main()
147 Direction = DIR_BOT_RIGHT; in main()
151 Direction = DIR_BOT_LEFT; in main()
158 Direction = DIR_LEFT; in main()
162 if (Direction == DIR_NONE) in main()
169 switch (Direction) { in main()
171 Direction = DIR_TOP; in main()
174 Direction = DIR_TOP_RIGHT; in main()
177 Direction = DIR_RIGHT; in main()
180 Direction = DIR_BOT_RIGHT; in main()
189 Direction = DIR_RIGHT; in main()
239 if (Direction == DIR_TOP) { in main()
257 else if (Direction == DIR_RIGHT) { in main()
300 switch(Direction) { in main()
322 if (Direction < 0) Direction = 0; in main()
323 if (Direction > ImageWidth) Direction = ImageWidth; in main()