Skip to content

Commit

Permalink
ToolPicker
Browse files Browse the repository at this point in the history
  • Loading branch information
JoogabYun committed Nov 26, 2024
1 parent c1bc1da commit 5726ed0
Show file tree
Hide file tree
Showing 9 changed files with 789 additions and 134 deletions.
1 change: 1 addition & 0 deletions src/Tizen.NUI.PenWave/Tizen.NUI.PenWave.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<ItemGroup>
<ProjectReference Include="..\Tizen.Log\Tizen.Log.csproj" />
<ProjectReference Include="..\Tizen.NUI\Tizen.NUI.csproj" />
<ProjectReference Include="..\Tizen.NUI.Components/Tizen.NUI.Components.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void AddPicture(string path)
/// Toggles the grid
/// </summary>
/// <param name="gridType"></param>
public void ToggleGrid(PWGridDensityType gridType)
public void ToggleGrid(GridDensityType gridType)
{
PWEngine.ToggleGrid((int)gridType);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void SetCanvasColor(Color color)
/// Toggles the visibility of the grid.
/// </summary>
/// <param name="gridType"></param>
public void ToggleGrid(PWGridDensityType gridType)
public void ToggleGrid(GridDensityType gridType)
{
renderer.ToggleGrid(gridType);
}
Expand Down
17 changes: 4 additions & 13 deletions src/Tizen.NUI.PenWave/src/public/Common/PWConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,11 @@ internal struct FrameworkInformation
public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
}

public enum PWToolType
{
Pencil = 0,
Eraser,
Selection,
Scale,
Canvas,
}

public enum PWGridDensityType
public enum GridDensityType
{
None = 0,
Small,
Medium,
Large
Small = 1,
Medium = 2,
Large = 4
}
}
Loading

0 comments on commit 5726ed0

Please sign in to comment.