Skip to content

Commit

Permalink
Fixes Member variable cannot be struct
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Jun 7, 2020
1 parent 044ad30 commit ffb5660
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions agsimgui/agsimgui.cpp
Expand Up @@ -480,7 +480,7 @@ namespace agsimgui {
" import attribute float Alpha; \r\n"
" \r\n"
" /// Padding within a window. \r\n"
" import attribute ImVec2 WindowPadding; \r\n"
" import attribute ImVec2* WindowPadding; \r\n"
" \r\n"
" /// Radius of window corners rounding. Set to 0.0f to have rectangular windows. \r\n"
" import attribute float WindowRounding; \r\n"
Expand All @@ -489,10 +489,10 @@ namespace agsimgui {
" import attribute float WindowBorderSize; \r\n"
" \r\n"
" /// Minimum window size. This is a global setting. For individual windows, use SetNextWindowSizeConstraints(). \r\n"
" import attribute ImVec2 WindowMinSize; \r\n"
" import attribute ImVec2* WindowMinSize; \r\n"
" \r\n"
" /// Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. \r\n"
" import attribute ImVec2 WindowTitleAlign; \r\n"
" import attribute ImVec2* WindowTitleAlign; \r\n"
" \r\n"
" /// Side of the collapsing/docking button in the title bar (None/Left/Right). Defaults to ImGuiDir_Left. \r\n"
" import attribute ImGuiDir WindowMenuButtonPosition; \r\n"
Expand All @@ -510,7 +510,7 @@ namespace agsimgui {
" import attribute float PopupBorderSize; \r\n"
" \r\n"
" /// Padding within a framed rectangle (used by most widgets). \r\n"
" import attribute ImVec2 FramePadding; \r\n"
" import attribute ImVec2* FramePadding; \r\n"
" \r\n"
" /// Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets). \r\n"
" import attribute float FrameRounding; \r\n"
Expand All @@ -519,13 +519,13 @@ namespace agsimgui {
" import attribute float FrameBorderSize; \r\n"
" \r\n"
" /// Horizontal and vertical spacing between widgets/lines. \r\n"
" import attribute ImVec2 ItemSpacing; \r\n"
" import attribute ImVec2* ItemSpacing; \r\n"
" \r\n"
" /// Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label). \r\n"
" import attribute ImVec2 ItemInnerSpacing; \r\n"
" import attribute ImVec2* ItemInnerSpacing; \r\n"
" \r\n"
" /// Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. Don't grow this too much! \r\n"
" import attribute ImVec2 TouchExtraPadding; \r\n"
" import attribute ImVec2* TouchExtraPadding; \r\n"
" \r\n"
" /// Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). \r\n"
" import attribute float IndentSpacing; \r\n"
Expand Down Expand Up @@ -558,16 +558,16 @@ namespace agsimgui {
" import attribute ImGuiDir ColorButtonPosition; \r\n"
" \r\n"
" /// Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered). \r\n"
" import attribute ImVec2 ButtonTextAlign; \r\n"
" import attribute ImVec2* ButtonTextAlign; \r\n"
" \r\n"
" /// Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line. \r\n"
" import attribute ImVec2 SelectableTextAlign; \r\n"
" import attribute ImVec2* SelectableTextAlign; \r\n"
" \r\n"
" /// Window position are clamped to be visible within the display area by at least this amount. Only applies to regular windows. \r\n"
" import attribute ImVec2 DisplayWindowPadding; \r\n"
" import attribute ImVec2* DisplayWindowPadding; \r\n"
" \r\n"
" /// If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! \r\n"
" import attribute ImVec2 DisplaySafeAreaPadding; \r\n"
" import attribute ImVec2* DisplaySafeAreaPadding; \r\n"
" \r\n"
" /// Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. \r\n"
" import attribute float MouseCursorScale; \r\n"
Expand All @@ -585,7 +585,7 @@ namespace agsimgui {
" import attribute float CircleSegmentMaxError; \r\n"
" \r\n"
" /// Colors \r\n"
" import attribute ImVec4 Colors[]; \r\n"
" import attribute ImVec4* Colors[]; \r\n"
" }; \r\n"
" \r\n"
"builtin managed struct AgsImGui{ \r\n"
Expand Down

0 comments on commit ffb5660

Please sign in to comment.