add new predefined colour (and relative brush/pen): wxYELLOW (closes #10669)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-05-09 12:40:09 +00:00
parent ef6cef09d4
commit 8602802568
6 changed files with 34 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ enum wxBrushStyle
@li ::wxBLUE_BRUSH
@li ::wxCYAN_BRUSH
@li ::wxGREEN_BRUSH
@li ::wxYELLOW_BRUSH
@li ::wxGREY_BRUSH
@li ::wxLIGHT_GREY_BRUSH
@li ::wxMEDIUM_GREY_BRUSH
@@ -244,6 +245,13 @@ wxBrush* wxBLUE_BRUSH;
*/
wxBrush* wxGREEN_BRUSH;
/**
Yellow brush.
Except for the color it has all standard attributes
(@c wxBRUSHSTYLE_SOLID, no stipple bitmap, etc...).
*/
wxBrush* wxYELLOW_BRUSH;
/**
White brush.
Except for the color it has all standard attributes

View File

@@ -41,6 +41,7 @@
- ::wxBLUE
- ::wxCYAN
- ::wxGREEN
- ::wxYELLOW
- ::wxLIGHT_GREY
- ::wxRED
- ::wxWHITE
@@ -186,6 +187,7 @@ wxColour* wxBLACK;
wxColour* wxBLUE;
wxColour* wxCYAN;
wxColour* wxGREEN;
wxColour* wxYELLOW;
wxColour* wxLIGHT_GREY;
wxColour* wxRED;
wxColour* wxWHITE;

View File

@@ -134,6 +134,7 @@ enum wxPenCap
@li ::wxBLUE_PEN
@li ::wxCYAN_PEN
@li ::wxGREEN_PEN
@li ::wxYELLOW_PEN
@li ::wxGREY_PEN
@li ::wxLIGHT_GREY_PEN
@li ::wxMEDIUM_GREY_PEN
@@ -389,6 +390,13 @@ wxPen* wxCYAN_PEN;
*/
wxPen* wxGREEN_PEN;
/**
Yellow pen.
Except for the color it has all standard attributes
(1-pixel width, @c wxPENSTYLE_SOLID and @c wxCAP_ROUND styles, etc...).
*/
wxPen* wxYELLOW_PEN;
/**
Black pen.
Except for the color it has all standard attributes