summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f6def1f)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28640
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int leftSpacing = wxFPB_DEFAULT_LEFTSPACING, int rightSpacing = wxFPB_DEFAULT_RIGHTSPACING)
: _wnd(wnd)
, _type(WINDOW)
int leftSpacing = wxFPB_DEFAULT_LEFTSPACING, int rightSpacing = wxFPB_DEFAULT_RIGHTSPACING)
: _wnd(wnd)
, _type(WINDOW)
, _leftSpacing(leftSpacing)
, _rightSpacing(rightSpacing)
, _leftSpacing(leftSpacing)
, _rightSpacing(rightSpacing)
, _lineWidth(0)
, _lineY(0)
{
, _lineWidth(0)
, _lineY(0)
{
int rightSpacing = wxFPB_DEFAULT_RIGHTLINESPACING)
: _wnd(0)
, _type(SEPARATOR)
int rightSpacing = wxFPB_DEFAULT_RIGHTLINESPACING)
: _wnd(0)
, _type(SEPARATOR)
+ , _flags(wxFPB_ALIGN_WIDTH)
, _leftSpacing(leftSpacing)
, _rightSpacing(rightSpacing)
, _leftSpacing(leftSpacing)
, _rightSpacing(rightSpacing)
- , _flags(wxFPB_ALIGN_WIDTH)
- , _sepLineColour(lineColor)
, _lineWidth(0)
, _lineY(y)
, _lineWidth(0)
, _lineY(y)
+ , _sepLineColour(lineColor)
#define FOLDPANELBARTEST_QUIT 1
#define FOLDPANELBARTEST_ABOUT 102
#define FOLDPANELBARTEST_QUIT 1
#define FOLDPANELBARTEST_ABOUT 102
-#include "wx/msw/wx.rc"
\ No newline at end of file
const wxCaptionBarStyle &cbstyle, const wxPoint& pos, const wxSize& size, long style)
: wxWindow(parent, id, pos, size, style)
, _caption(caption)
const wxCaptionBarStyle &cbstyle, const wxPoint& pos, const wxSize& size, long style)
: wxWindow(parent, id, pos, size, style)
, _caption(caption)
, _foldIcons(images)
, _rightIndent(wxFPB_BMP_RIGHTSPACE)
, _iconWidth(16)
, _iconHeight(16)
, _foldIcons(images)
, _rightIndent(wxFPB_BMP_RIGHTSPACE)
, _iconWidth(16)
, _iconHeight(16)
{
// do initialisy thingy stuff
{
// do initialisy thingy stuff
wxColour currCol;
for(int y = rect.y; y < rect.y + rect.height; y++)
{
wxColour currCol;
for(int y = rect.y; y < rect.y + rect.height; y++)
{
- currCol.Set(col1.Red() + rf, col1.Green() + gf, col1.Blue() + bf);
+ currCol.Set(
+ (unsigned char)(col1.Red() + rf),
+ (unsigned char)(col1.Green() + gf),
+ (unsigned char)(col1.Blue() + bf)
+ );
dc.SetBrush( wxBrush( currCol, wxSOLID ) );
dc.DrawRectangle( rect.x, rect.y + (y - rect.y), rect.width, rect.height );
//currCol.Set(currCol.Red() + rstep, currCol.Green() + gstep, currCol.Blue() + bstep);
dc.SetBrush( wxBrush( currCol, wxSOLID ) );
dc.DrawRectangle( rect.x, rect.y + (y - rect.y), rect.width, rect.height );
//currCol.Set(currCol.Red() + rstep, currCol.Green() + gstep, currCol.Blue() + bstep);
wxColour currCol;
for(int x = rect.x; x < rect.x + rect.width; x++)
{
wxColour currCol;
for(int x = rect.x; x < rect.x + rect.width; x++)
{
- currCol.Set(col1.Red() + rf, col1.Green() + gf, col1.Blue() + bf);
+ currCol.Set(
+ (unsigned char)(col1.Red() + rf),
+ (unsigned char)(col1.Green() + gf),
+ (unsigned char)(col1.Blue() + bf)
+ );
dc.SetBrush( wxBrush( currCol, wxSOLID ) );
dc.DrawRectangle( rect.x + (x - rect.x), rect.y, 1, rect.height );
rf += rstep; gf += gstep; bf += bstep;
dc.SetBrush( wxBrush( currCol, wxSOLID ) );
dc.DrawRectangle( rect.x + (x - rect.x), rect.y, 1, rect.height );
rf += rstep; gf += gstep; bf += bstep;
- size_t i = _panels.Index(item);
+ int i = _panels.Index(item);
if(i != wxNOT_FOUND)
RefreshPanelsFrom(i);
}
if(i != wxNOT_FOUND)
RefreshPanelsFrom(i);
}
-}
\ No newline at end of file
: _controlCreated(false)
, _yUserSize(0)
, _yPanelSize(0)
: _controlCreated(false)
, _yUserSize(0)
, _yPanelSize(0)
, _yPos(0)
, _userSized(false)
, _yPos(0)
, _userSized(false)
{
wxCHECK2(parent, return);
{
wxCHECK2(parent, return);