DX9 Overlay API (en)
overlay.h
Go to the documentation of this file.
1 int TextCreate(const char *Font, int FontSize, bool bBold, bool bItalic, int x, int y, unsigned int color, const char *text, bool bShadow, bool bShow);
18 int TextDestroy(int ID);
24 int TextSetShadow(int id, bool b);
30 int TextSetShown(int id, bool b);
36 int TextSetColor(int id, unsigned int color);
43 int TextSetPos(int id, int x, int y);
49 int TextSetString(int id, const char *str);
58 int TextUpdate(int id, const char *Font, int FontSize, bool bBold, bool bItalic);
59 
68 int BoxCreate(int x, int y, int w, int h, unsigned int dwColor, bool bShow);
73 int BoxDestroy(int id);
79 int BoxSetShown(int id, bool bShown);
86 int BoxSetBorder(int id, int height, bool bShown);
92 int BoxSetBorderColor(int id, unsigned int dwColor);
98 int BoxSetColor(int id, unsigned int dwColor);
104 int BoxSetHeight(int id, int height);
111 int BoxSetPos(int id, int x, int y);
117 int BoxSetWidth(int id, int width);
118 
128 int LineCreate(int x1, int y1, int x2, int y2, int width, unsigned int color, bool bShow);
132 int LineDestroy(int id);
138 int LineSetShown(int id, bool bShown);
144 int LineSetColor(int id, unsigned int color);
150 int LineSetWidth(int id, int width);
159 int LineSetPos(int id, int x1, int y1, int x2, int y2);
160 
169 int ImageCreate(const char *path, int x, int y, int rotation, int align, bool bShow);
174 int ImageDestroy(int id);
180 int ImageSetShown(int id, bool bShown);
186 int ImageSetAlign(int id, int align);
193 int ImageSetPos(int id, int x, int y);
199 int ImageSetRotation(int id, int rotation);
200 
203 int DestroyAllVisual();
206 int ShowAllVisual();
209 int HideAllVisual();
210 
213 int GetFrameRate();
218 int GetScreenSpecs(int& width, int& height);
219 
222 int Init();
232 void SetParam(const char *_szParamName, const char *_szParamValue);
int TextDestroy(int ID)
int LineSetPos(int id, int x1, int y1, int x2, int y2)
int Init()
int ImageCreate(const char *path, int x, int y, int rotation, int align, bool bShow)
int ImageSetRotation(int id, int rotation)
int LineSetShown(int id, bool bShown)
int ImageSetAlign(int id, int align)
int GetScreenSpecs(int &width, int &height)
int TextCreate(const char *Font, int FontSize, bool bBold, bool bItalic, int x, int y, unsigned int color, const char *text, bool bShadow, bool bShow)
int BoxCreate(int x, int y, int w, int h, unsigned int dwColor, bool bShow)
int BoxSetHeight(int id, int height)
int LineSetWidth(int id, int width)
int TextSetString(int id, const char *str)
int TextUpdate(int id, const char *Font, int FontSize, bool bBold, bool bItalic)
int TextSetShown(int id, bool b)
int BoxSetPos(int id, int x, int y)
int ImageSetPos(int id, int x, int y)
int ImageDestroy(int id)
int BoxDestroy(int id)
int ShowAllVisual()
int LineCreate(int x1, int y1, int x2, int y2, int width, unsigned int color, bool bShow)
int TextSetShadow(int id, bool b)
int DestroyAllVisual()
int BoxSetBorderColor(int id, unsigned int dwColor)
int GetFrameRate()
int BoxSetBorder(int id, int height, bool bShown)
int HideAllVisual()
int BoxSetShown(int id, bool bShown)
int BoxSetColor(int id, unsigned int dwColor)
void SetParam(const char *_szParamName, const char *_szParamValue)
int LineDestroy(int id)
int ImageSetShown(int id, bool bShown)
int TextSetPos(int id, int x, int y)
int TextSetColor(int id, unsigned int color)
int LineSetColor(int id, unsigned int color)
int BoxSetWidth(int id, int width)