[client] imgui: implement new widget for displaying URLs

Note that actually opening the browser is not implemented yet.
This commit is contained in:
Quantum
2021-08-05 07:47:08 -04:00
committed by Geoffrey McRae
parent 2f8ebc29e8
commit 08f3ad504c
2 changed files with 40 additions and 0 deletions

View File

@@ -21,11 +21,15 @@
#ifndef _H_LG_OVERLAY_UTILS_
#define _H_LG_OVERLAY_UTILS_
#include <stdbool.h>
#include "common/types.h"
typedef struct ImVec2 ImVec2;
void overlayGetImGuiRect(struct Rect * rect);
ImVec2 * overlayGetScreenSize(void);
void overlayTextURL(const char * url, const char * text);
void overlayTextMaybeURL(const char * text, bool wrapped);
#endif