Exemple #1
0
        public static bool Group(string Name, string Title, NkPanelFlags Flags, Action A)
        {
            bool Res = true;

            if (Nuklear.nk_group_begin_titled(Ctx, Name, Title, (uint)Flags) != 0)
            {
                A?.Invoke();
            }
            else
            {
                Res = false;
            }

            Nuklear.nk_group_end(Ctx);
            return(Res);
        }