Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/Tizen.WindowSystem/Tizen.WindowSystem.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TizenCreateTpkOnBuild>false</TizenCreateTpkOnBuild>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj" />
<ProjectReference Include="..\Tizen.System.Information\Tizen.System.Information.csproj" />
</ItemGroup>

</Project>
20 changes: 20 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/DropTarget.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System.ComponentModel;

namespace Tizen.WindowSystem.Shell
{
/// <summary>
/// Drop target type of PerformDrop request of KVM Service.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum DropTarget
{
/// <summary>
/// Drop to KVM Service window self.
/// </summary>
KVMServiceWin = 0,
/// <summary>
/// Drop to the window that under pointer.
/// </summary>
UnderPointer = 1,
};
}
32 changes: 32 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/GestureEdge.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
using System.ComponentModel;

namespace Tizen.WindowSystem
{
/// <summary>
/// Enumeration of gesture edges.
/// </summary>
/// This enum is need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public enum GestureEdge
{
/// <summary>
/// edge top.
/// </summary>
Top,

/// <summary>
/// edge right.
/// </summary>
Right,

/// <summary>
/// edge bottom.
/// </summary>
Bottom,

/// <summary>
/// edge left.
/// </summary>
Left,
}
}
22 changes: 22 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/GestureEdgeSize.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System.ComponentModel;

namespace Tizen.WindowSystem
{
/// <summary>
/// Enumeration of gesture edge sizes.
/// </summary>
/// This enum is need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public enum GestureEdgeSize
{
/// <summary>
/// edge size full.
/// </summary>
Full,

/// <summary>
/// edge size partial.
/// </summary>
Partial,
}
}
22 changes: 22 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/GestureGrabMode.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System.ComponentModel;

namespace Tizen.WindowSystem
{
/// <summary>
/// Enumeration of gesture grab modes.
/// </summary>
/// This enum is need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public enum GestureGrabMode
{
/// <summary>
/// mode exclusive.
/// </summary>
Exclusive,

/// <summary>
/// mode shared.
/// </summary>
Shared,
}
}
32 changes: 32 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/GestureState.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
using System.ComponentModel;

namespace Tizen.WindowSystem
{
/// <summary>
/// Enumeration of gesture states.
/// </summary>
/// This enum is need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public enum GestureState
{
/// <summary>
/// Begin.
/// </summary>
Begin,

/// <summary>
/// Update.
/// </summary>
Update,

/// <summary>
/// End.
/// </summary>
End,

/// <summary>
/// Done.
/// </summary>
Done,
}
}
33 changes: 33 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/InputGeneratorDevices.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System;
using System.ComponentModel;

namespace Tizen.WindowSystem
{
/// <summary>
/// Enumeration of input device types.
/// </summary>
[Flags]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum InputGeneratorDevices
{
/// <summary>
/// Touchscreen device.
/// </summary>
Touchscreen = (1 << 0),

/// <summary>
/// Keyboard device.
/// </summary>
Keyboard = (1 << 1),

/// <summary>
/// Pointer device.
/// </summary>
Pointer = (1 << 2),

/// <summary>
/// All devices.
/// </summary>
All = Touchscreen | Keyboard | Pointer
}
}
26 changes: 26 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/PointerAction.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
using System.ComponentModel;

namespace Tizen.WindowSystem
{
/// <summary>
/// Enumeration of pointer event types.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum PointerAction
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action보단 State가 더 일반적으로 사용하는 용어 같네요

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InputGenerator를 통해 발생시킬 event라 action으로 유지하였습니다

{
/// <summary>
/// Pointer down.
/// </summary>
Down,

/// <summary>
/// Pointer up.
/// </summary>
Up,

/// <summary>
/// Pointer move.
/// </summary>
Move,
}
}
29 changes: 29 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/QuickPanelCategory.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
using System.ComponentModel;

namespace Tizen.WindowSystem.Shell
{
/// <summary>
/// Enumeration for type of quickpanel service window.
/// </summary>
/// <since_tizen> 8 </since_tizen>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum QuickPanelCategory
{
/// <summary>
/// Unknown type. There is no quickpanel service.
/// </summary>
Unknown = 0x0,
/// <summary>
/// System default type.
/// </summary>
SystemDefault = 0x1,
/// <summary>
/// Context menu type.
/// </summary>
ContextMenu = 0x2,
/// <summary>
/// Apps menu type.
/// </summary>
AppsMenu = 0x3,
}
}
24 changes: 24 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/QuickPanelEffect.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using System.ComponentModel;

namespace Tizen.WindowSystem.Shell
{
/// <summary>
/// Effect type.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum QuickPanelEffect
{
/// <summary>
/// Swipe effect
/// </summary>
Swipe = 0,
/// <summary>
/// Move effect
/// </summary>
Move = 1,
/// <summary>
/// App control effect
/// </summary>
Custom = 2,
}
}
33 changes: 33 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/QuickPanelScrollMode.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System.ComponentModel;

namespace Tizen.WindowSystem.Shell
{
/// <summary>
/// Enumeration for scroll mode of quickpanel service window.
/// </summary>
/// <since_tizen> 8 </since_tizen>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum QuickPanelScrollMode
{
/// <summary>
/// Unknown state. There is no quickpanel service.
/// </summary>
/// <since_tizen> 8 </since_tizen>
Unknown = 0x0,
/// <summary>
/// Scrollable state.
/// </summary>
/// <since_tizen> 8 </since_tizen>
Scrollable = 0x1,
/// <summary>
/// Not scrollable state.
/// </summary>
/// <since_tizen> 8 </since_tizen>
NotScrollable = 0x2,
/// <summary>
/// Retain scroll mode.
/// </summary>
/// <since_tizen> 8 </since_tizen>
Retain = 0x3,
}
}
28 changes: 28 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/QuickPanelVisibility.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System.ComponentModel;

namespace Tizen.WindowSystem.Shell
{
/// <summary>
/// Enumeration for visible state of quickpanel service window.
/// </summary>
/// <since_tizen> 8 </since_tizen>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum QuickPanelVisibility
{
/// <summary>
/// Unknown state. There is no quickpanel service.
/// </summary>
/// <since_tizen> 8 </since_tizen>
Unknown = 0x0,
/// <summary>
/// Shown state.
/// </summary>
/// <since_tizen> 8 </since_tizen>
Shown = 0x1,
/// <summary>
/// Hidden state.
/// </summary>
/// <since_tizen> 8 </since_tizen>
Hidden = 0x2,
}
}
28 changes: 28 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/TaskbarPosition.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System.ComponentModel;

namespace Tizen.WindowSystem.Shell
{
/// <summary>
/// Enumeration for placed type of taskbar service window.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum TaskbarPosition
{
/// <summary>
/// Place to Bottom of Screen. Default type.
/// </summary>
Bottom = 0x0,
/// <summary>
/// Place to Top of Screen.
/// </summary>
Top = 0x1,
/// <summary>
/// Place to Left Side of Screen.
/// </summary>
Left = 0x2,
/// <summary>
/// Place to Right Side of Screen.
/// </summary>
Right = 0x3,
}
}
26 changes: 26 additions & 0 deletions src/Tizen.WindowSystem/src/Enums/TouchAction.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
using System.ComponentModel;

namespace Tizen.WindowSystem
{
/// <summary>
/// Enumeration of touch event types.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum TouchAction
{
/// <summary>
/// Touch begin.
/// </summary>
Begin,

/// <summary>
/// Touch move.
/// </summary>
Update,

/// <summary>
/// Touch end.
/// </summary>
End,
}
}
Loading
Loading