Example #1
0
        public unsafe static void SetWpfStyle()
        {
            ImGuiStyle *pStyle = ImGui.GetStyle();

            pStyle->FrameBorderSize          = 1.0f;
            pStyle->FramePadding             = new Vector2(7, 5);
            pStyle->ScrollbarRounding        = 0.0f;
            pStyle->ScrollbarSize            = 20.0f;
            pStyle->WindowRounding           = 0.0f;
            pStyle->TabRounding              = 0.0f;
            pStyle->TabBorderSize            = 1.0f;
            pStyle->WindowMenuButtonPosition = ImGuiDir.Right;
            SetWpfDarkTheme();
        }
 public ImGuiStylePtr(ImGuiStyle *nativePtr) => NativePtr = nativePtr;
Example #3
0
 public abstract void ImGuiStyle_ScaleAllSizes(ImGuiStyle *self, float scale_factor);
Example #4
0
 public ImGuiStylePtr(IntPtr nativePtr)
 {
     NativePtr = (ImGuiStyle *)nativePtr;
 }
Example #5
0
 public abstract void igStyleColorsClassic(ImGuiStyle *dst);
Example #6
0
 public abstract void ImGuiStyle_ImGuiStyle(ImGuiStyle *self);
Example #7
0
 public abstract void igStyleColorsDark(ImGuiStyle *dst);
Example #8
0
 public abstract void igStyleColorsLight(ImGuiStyle *dst);
Example #9
0
 public abstract void igShowStyleEditor(ImGuiStyle * @ref);