implement enum for types, implement OpenDialog from Dialog-API

This commit is contained in:
Gregor Biswanger
2017-10-17 05:12:35 +02:00
parent 2bace2d215
commit b28fa9465a
31 changed files with 527 additions and 38 deletions

View File

@@ -0,0 +1,35 @@
namespace ElectronNET.API.Entities
{
public enum ThumbarButtonFlag
{
/// <summary>
/// The button is active and available to the user.
/// </summary>
enabled,
/// <summary>
/// The button is disabled.It is present, but has a visual state indicating it will not respond to user action.
/// </summary>
disabled,
/// <summary>
/// When the button is clicked, the thumbnail window closes immediately.
/// </summary>
dismissonclick,
/// <summary>
/// Do not draw a button border, use only the image.
/// </summary>
nobackground,
/// <summary>
/// The button is not shown to the user.
/// </summary>
hidden,
/// <summary>
/// The button is enabled but not interactive; no pressed button state is drawn.This value is intended for instances where the button is used in a notification.
/// </summary>
noninteractive
}
}