revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / popupmenu / pmgraph.h
blob1c4b032559266bcffe9eccabf0a81bdbbb2bdf66
1 //
2 // pmgraph.h
3 //
4 // PopupMenu Library - Graphics routines
5 //
6 // Copyright (C)2000 Henrik Isaksson <henrik@boing.nu>
7 // All Rights Reserved.
8 //
10 #ifndef PM_GRAPH_H
11 #define PM_GRAPH_H
13 struct CGXHook;
14 struct PM_Root;
16 void PM_DrawBg(struct PM_Window *pw, int xa, int ya, int xb, int yb);
17 void PM_Ghost(struct PM_Window *w, int x, int y, int xb, int yb, int pen);
18 void PM_Shadow(struct PM_Window *w, int x, int y, int xb, int yb, int pen, struct CGXHook *ch);
19 void ColourBox(struct PM_Window *w, int xa, int ya, int xb, int yb, int pen, int sh, int sd, BOOL selected);
20 void PM_DI_SetTextPen(struct PM_Window *a, struct PopupMenu *pm);
21 ULONG PM_RenderCheckMark(struct PM_Window *a, struct PopupMenu *pm, BOOL Selected);
22 void PM_Separator(struct PM_Window *w, int x, int y, int x2, int shine, int shadow);
23 void PM_DrawBox(struct PM_Window *w, int x1, int y1, int x2, int y2, int shine, int shadow);
24 int PM_NewDrawItem(struct PM_Window *a, struct PopupMenu *pm, BOOL UsePen, BOOL disabled);
25 int PM_DrawItemHoriz(struct PM_Window *a, struct PopupMenu *pm, BOOL Selected);
26 void PM_XENSeparator(struct PM_Window *w, int x, int y, int x2, int shine, int shadow, int bgplus, int bgminus);
27 void PM_NewSeparator(struct PM_Window *w, int x, int y, int x2, int shine, int shadow);
28 void PM_OldSeparator(struct PM_Window *w, int x, int y, int x2, int shine, int shadow);
29 void PM_DrawXENBox(struct PM_Window *w, int x1, int y1, int x2, int y2, int shine, int shadow, int bgplus, int bgminus);
30 void PM_DrawDBLBox(struct PM_Window *w, int x1, int y1, int x2, int y2, int shine, int shadow);
31 void PM_DrawDropBox(struct PM_Window *w, int x1, int y1, int x2, int y2, int shine, int shadow);
32 void PM_DrawPrefBox(struct PM_Root *p, struct PM_Window *w, int x1, int y1, int x2, int y2);
33 void PM_WideSeparator(struct PM_Window *a, struct PopupMenu *pm);
34 void PM_ShortSeparator(struct PM_Window *a, struct PopupMenu *pm);
35 void PM_DrawBoxMM2(struct PM_Window *w, int x1, int y1, int x2, int y2, int shine, int shadow, int halfshine);
36 void PM_RectFill(struct PM_Window *pw, int xa, int ya, int xb, int yb);
38 #endif /* PM_GRAPH_H */