internal static void Clear() { LGuiContextCache.Clear(); IO.Clear(); Font = LGuiFont.Default; FocusID = 0; ActiveID = 0; HoveredID = 0; FrameCount = 0; PreviousControlID = 0; ActiveRect = LGuiRect.Zero; }
public static void SetFrameScrollY(float Y) { var Title = LGuiContext.GetCurrentFrame().Title; LGuiContextCache.SetFrameOffset(Title, new LGuiVec2(LGuiContextCache.GetFrameOffset(Title).X, Y)); }
public static float GetFrameScrollY() { var Title = LGuiContext.GetCurrentFrame().Title; return(LGuiContextCache.GetFrameOffset(Title).Y); }