From 8a6cf52891656a1ebe9851ad7b16b9d47aadc075 Mon Sep 17 00:00:00 2001 From: JupiterRider <60042618+JupiterRider@users.noreply.github.com> Date: Sat, 25 Mar 2023 12:37:13 +0100 Subject: [PATCH] Comment updated --- raygui/raygui.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raygui/raygui.go b/raygui/raygui.go index 14e3de9..f70ac78 100644 --- a/raygui/raygui.go +++ b/raygui/raygui.go @@ -1175,13 +1175,13 @@ func TabBar(bounds rl.Rectangle, text []string, active *int32) int32 { return int32(C.GuiTabBar(cbounds, (**C.char)(ctext.Pointer), count, &cactive)) } -// Set gui custom font (global state) +// SetFont - set custom font (global state) func SetFont(font rl.Font) { cfont := (*C.Font)(unsafe.Pointer(&font)) C.GuiSetFont(*cfont) } -// Get gui custom font (global state) +// GetFont - get custom font (global state) func GetFont() rl.Font { ret := C.GuiGetFont() ptr := unsafe.Pointer(&ret)