Skip to content

Commit

Permalink
Added the Alignment enum to C++
Browse files Browse the repository at this point in the history
  • Loading branch information
justalemon committed Sep 8, 2021
1 parent 2482701 commit b0a6c0f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LemonUI.SHV/Alignment.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
namespace LemonUI
{

}
23 changes: 23 additions & 0 deletions LemonUI.SHV/Alignment.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pragma once

namespace LemonUI
{
/// <summary>
/// The alignment of the element to draw.
/// </summary>
enum Alignment
{
/// <summary>
/// Aligns the element to the Center.
/// </summary>
Center = 0,
/// <summary>
/// Aligns the element to the Left.
/// </summary>
Left = 1,
/// <summary>
/// Aligns the element to the RIght.
/// </summary>
Right = 2,
};
}
1 change: 1 addition & 0 deletions LemonUI.SHV/LemonUI.SHV.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<ClCompile Include="Sound.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Alignment.hpp" />
<ClInclude Include="Sound.hpp" />
</ItemGroup>
<PropertyGroup Label="Globals">
Expand Down
3 changes: 3 additions & 0 deletions LemonUI.SHV/LemonUI.SHV.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@
<ClInclude Include="Sound.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Alignment.hpp">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

0 comments on commit b0a6c0f

Please sign in to comment.