Class DialogUtils
Helper methods for interacting with Notepad++'s GUI.
public static class DialogUtils
- Inheritance
-
DialogUtils
- Inherited Members
Methods
GetColorAlpha(ColourAlpha, int)
Gets a translucent Color from the RGB values of rgb and the given alpha value.
public static Color GetColorAlpha(ColourAlpha rgb, int alpha = 255)
Parameters
rgbColourAlphaA ColourAlpha representing a 24-bit opaque color.
alphaintThe 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
valueuintA 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()