inc/browserGfx.h

Go to the documentation of this file.
00001 /* Browser graphics - stuff for drawing graphics displays that
00002  * are reasonably browser (human and intronerator) specific. */
00003 
00004 #ifndef BROWSERGFX_H
00005 #define BROWSERGFX_H
00006 
00007 #ifndef VGFX_H
00008 #include "vGfx.h"
00009 #endif
00010 
00011 void vgBarbedHorizontalLine(struct vGfx *vg, int x, int y, 
00012         int width, int barbHeight, int barbSpacing, int barbDir, Color color,
00013         boolean needDrawMiddle);
00014 /* Draw a horizontal line starting at xOff, yOff of given width.  Will
00015  * put barbs (successive arrowheads) to indicate direction of line.  
00016  * BarbDir of 1 points barbs to right, of -1 points them to left. */
00017 
00018 void vgDrawRulerBumpText(struct vGfx *vg, int xOff, int yOff, 
00019         int height, int width,
00020         Color color, MgFont *font,
00021         int startNum, int range, int bumpX, int bumpY);
00022 /* Draw a ruler inside the indicated part of mg with numbers that start at
00023  * startNum and span range.  Bump text positions slightly. */
00024 
00025 void vgDrawRuler(struct vGfx *vg, int xOff, int yOff, int height, int width,
00026         Color color, MgFont *font,
00027         int startNum, int range);
00028 /* Draw a ruler inside the indicated part of mg with numbers that start at
00029  * startNum and span range.  */
00030 
00031 void vgNextItemButton(struct vGfx *vg, int x, int y, int w, int h, 
00032                       Color color, Color bgColor, boolean nextItem);
00033 /* Draw a button that looks like a fast-forward or rewind button on */
00034 /* a remote control. If nextItem is TRUE, it points right, otherwise */
00035 /* left. color is the outline color, and bgColor is the fill color. */
00036 
00037 #endif /* BROWSERGFX_H */

Generated on Tue Dec 25 18:39:29 2007 for blat by  doxygen 1.5.2