예제 #1
0
        public static void nk_tree_state_pop(this NuklearContext ctx)
        {
            nk_window win    = null;
            nk_panel  layout = null;

            if (ctx == null || ctx.current == null || ctx.current.Layout == null)
            {
                return;
            }
            win                  = ctx.current;
            layout               = win.Layout;
            layout.At_x         -= ctx.style.tab.indent + ctx.style.window.padding.X;
            layout.Bounds.Width += ctx.style.tab.indent + ctx.style.window.padding.X;
            layout.Row.tree_depth--;
        }
예제 #2
0
 public static void nk_free_panel(nk_context ctx, nk_panel panel)
 {
 }
예제 #3
0
        public static nk_panel nk_create_panel(nk_context ctx)
        {
            var result = new nk_panel();

            return(result);
        }