DrawFrame
Usage
Draws a frame similar to the one surrounding the edge of the view port. This function is limited as it does not allow for functionality like custom colors or alpha. Coordinates are absolute and start from the top left of the screen with positive x values shifting to the right and positive y values shifting downward.
Warning: This can only be called from within functions that are specifically designed to draw HUD elements (e.g. BaseStatusBar's Draw or EventHandler's RenderOverlay).
Parameters
- x - The x offset of the top left of the frame
- y - The y offset of the top left of the frame
- w - The width of the frame
- h - The height of the frame
Examples
![]() |
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.