mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-12 02:18:12 +00:00
[client] overlay: add 25Hz tick
function
This allows an overlay to manage itself for timed events like alerts/messages, etc.
This commit is contained in:
@@ -23,6 +23,15 @@
|
||||
|
||||
#include "interface/overlay.h"
|
||||
|
||||
struct Overlay
|
||||
{
|
||||
const struct LG_OverlayOps * ops;
|
||||
const void * params;
|
||||
void * udata;
|
||||
int lastRectCount;
|
||||
struct Rect lastRects[MAX_OVERLAY_RECTS];
|
||||
};
|
||||
|
||||
extern struct LG_OverlayOps LGOverlayAlert;
|
||||
extern struct LG_OverlayOps LGOverlayFPS;
|
||||
extern struct LG_OverlayOps LGOverlayGraphs;
|
||||
|
Reference in New Issue
Block a user