-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
104 changed files
with
2,498 additions
and
1,979 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
27 changes: 22 additions & 5 deletions
27
.../Scripts/Controls/Layout/ImLayoutGroup.cs → ...cripts/Controls/Extensions/ImLayoutExt.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
using Imui.Core; | ||
using UnityEngine; | ||
|
||
namespace Imui.Controls | ||
{ | ||
public static class ImBox | ||
{ | ||
public static void Box(this ImGui gui, ImRect rect, in ImBoxStyle style) | ||
{ | ||
gui.Canvas.RectWithOutline(rect, style.BackColor, style.BorderColor, style.BorderWidth, style.BorderRadius); | ||
} | ||
} | ||
|
||
|
||
[Serializable] | ||
public struct ImBoxStyle | ||
{ | ||
public Color32 BackColor; | ||
public Color32 FrontColor; | ||
public Color32 BorderColor; | ||
public float BorderWidth; | ||
public ImRectRadius BorderRadius; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.