[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/test/colorselector pgcolorselector.cpp,1.1.2.
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/test/colorselector pgcolorselector.cpp,1.1.2.2,1.1.2.3 pgcolorselector.h,1.1.2.2,1.1.2.3 |
Date: |
Fri, 12 Jul 2002 05:33:44 -0400 |
Update of /cvsroot/paragui/paragui/test/colorselector
In directory subversions:/tmp/cvs-serv10982/test/colorselector
Modified Files:
Tag: devel-1-0
pgcolorselector.cpp pgcolorselector.h
Log Message:
even more colorseletor fun
Index: pgcolorselector.cpp
===================================================================
RCS file:
/cvsroot/paragui/paragui/test/colorselector/Attic/pgcolorselector.cpp,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** pgcolorselector.cpp 12 Jul 2002 09:25:59 -0000 1.1.2.2
--- pgcolorselector.cpp 12 Jul 2002 09:33:42 -0000 1.1.2.3
***************
*** 2,5 ****
--- 2,9 ----
PG_ColorSelector::PG_ColorBox::PG_ColorBox(PG_ColorSelector* parent, const
PG_Rect& r) : PG_ThemeWidget(parent, r) {
+
+ SetBackground((SDL_Surface*)NULL);
+ SetSimpleBackground(false);
+
my_btndown = false;
***************
*** 103,108 ****
my_colorbox->SetGradient(g);
- my_colorbox->SetBackground((SDL_Surface*)NULL);
- my_colorbox->SetSimpleBackground(false);
my_colorslider = new PG_Slider(this, -1, PG_Rect(r.h, 5, 20, r.h-10),
PG_SB_VERTICAL);
--- 107,110 ----
***************
*** 112,117 ****
my_colorslider->SetSimpleBackground(false);
! SetBaseColor(my_color);
!
}
--- 114,118 ----
my_colorslider->SetSimpleBackground(false);
! SetBaseColor(my_colorbox->GetBaseColor());
}
Index: pgcolorselector.h
===================================================================
RCS file: /cvsroot/paragui/paragui/test/colorselector/Attic/pgcolorselector.h,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** pgcolorselector.h 12 Jul 2002 09:25:59 -0000 1.1.2.2
--- pgcolorselector.h 12 Jul 2002 09:33:42 -0000 1.1.2.3
***************
*** 17,20 ****
--- 17,22 ----
}
+ SDL_Color GetBaseColor();
+
protected:
***************
*** 24,30 ****
bool eventMouseButtonDown(const SDL_MouseButtonEvent* button);
bool eventMouseButtonUp(const SDL_MouseButtonEvent* button);
!
! SDL_Color GetBaseColor();
!
private:
--- 26,30 ----
bool eventMouseButtonDown(const SDL_MouseButtonEvent* button);
bool eventMouseButtonUp(const SDL_MouseButtonEvent* button);
!
private:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/test/colorselector pgcolorselector.cpp,1.1.2.2,1.1.2.3 pgcolorselector.h,1.1.2.2,1.1.2.3,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/test/colorselector pgcolorselector.cpp,1.1.2.1,1.1.2.2 pgcolorselector.h,1.1.2.1,1.1.2.2
- Next by Date:
[paragui-cvs] CVS: paragui/include pgthemewidget.h,1.3.6.2,1.3.6.3
- Previous by thread:
[paragui-cvs] CVS: paragui/test/colorselector pgcolorselector.cpp,1.1.2.1,1.1.2.2 pgcolorselector.h,1.1.2.1,1.1.2.2
- Next by thread:
[paragui-cvs] CVS: paragui/include pgthemewidget.h,1.3.6.2,1.3.6.3
- Index(es):