Class DialogUtils
Helper methods for interacting with Notepad++'s GUI.
public static class DialogUtils
- Inheritance
-
DialogUtils
- Inherited Members
Methods
GetColorAlpha(Colour, int)
Gets a translucent Color from the RGB values of rgb
and the given alpha
value.
public static Color GetColorAlpha(Colour rgb, int alpha = 255)
Parameters
rgb
ColourA Colour representing a 24-bit opaque color.
alpha
intThe alpha component of the returned Color.
Returns
GetColorAlpha(uint)
Gets a translucent Color from the alpha component and RGB values of value
.
public static Color GetColorAlpha(uint value)
Parameters
value
uintA 32-bit color value in ABGR format.
Returns
GetDefaultBackgroundColor()
Calls NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR and converts the return value to a Color.
public static Color GetDefaultBackgroundColor()
Returns
GetDefaultForegroundColor()
Calls NPPM_GETEDITORDEFAULTFOREGROUNDCOLOR and converts the return value to a Color.
public static Color GetDefaultForegroundColor()