[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/widgets pgradiobutton.cpp,1.3.6.1,1.3.6.2
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/widgets pgradiobutton.cpp,1.3.6.1,1.3.6.2 pgwidget.cpp,1.4.4.15,1.4.4.16 |
Date: |
Fri, 28 Mar 2003 14:59:44 -0500 |
Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv28233/src/widgets
Modified Files:
Tag: devel-1-0
pgradiobutton.cpp pgwidget.cpp
Log Message:
- more patches from "H. C." <address@hidden>
- another small one in PG_Widget::SetSizeByText
- added PG_RadioButton::SetFontColor methods
Index: pgradiobutton.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgradiobutton.cpp,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -C2 -r1.3.6.1 -r1.3.6.2
*** pgradiobutton.cpp 10 Jun 2002 16:44:06 -0000 1.3.6.1
--- pgradiobutton.cpp 28 Mar 2003 19:59:42 -0000 1.3.6.2
***************
*** 177,178 ****
--- 177,190 ----
my_widgetLabel->SetAlignment(a);
}
+
+ void PG_RadioButton::SetFontColor(const SDL_Color& Color) {
+ my_widgetLabel->SetFontColor(Color);
+ }
+
+ void PG_RadioButton::SetFontColor(int Red, int Green, int Blue) {
+ my_widgetLabel->SetFontColor(Red, Green, Blue);
+ }
+
+ void PG_RadioButton::SetFontColor(int Color) {
+ my_widgetLabel->SetFontColor(Color);
+ }
Index: pgwidget.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwidget.cpp,v
retrieving revision 1.4.4.15
retrieving revision 1.4.4.16
diff -C2 -r1.4.4.15 -r1.4.4.16
*** pgwidget.cpp 25 Mar 2003 11:10:30 -0000 1.4.4.15
--- pgwidget.cpp 28 Mar 2003 19:59:42 -0000 1.4.4.16
***************
*** 1404,1408 ****
}
! if (PG_FontEngine::GetTextSize(Text, my_internaldata->font, &w, &h,
&baselineY) != 0) {
return;
}
--- 1404,1408 ----
}
! if (!PG_FontEngine::GetTextSize(Text, my_internaldata->font, &w, &h,
&baselineY)) {
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/widgets pgradiobutton.cpp,1.3.6.1,1.3.6.2 pgwidget.cpp,1.4.4.15,1.4.4.16,
Alexander Pipelka <address@hidden> <=