/[paragui]/paragui/src/widgets/pgradiobutton.cpp
ViewVC logotype

Diff of /paragui/src/widgets/pgradiobutton.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3.6.4.2.1 by braindead, Fri Nov 21 12:27:56 2003 UTC revision 1.3.6.4.2.2 by braindead, Mon Nov 24 09:17:22 2003 UTC
# Line 73  PG_RadioButton::PG_RadioButton(PG_Widget Line 73  PG_RadioButton::PG_RadioButton(PG_Widget
73  }  }
74    
75  void PG_RadioButton::LoadThemeStyle(const char* widgettype) {  void PG_RadioButton::LoadThemeStyle(const char* widgettype) {
         int b;  
76          PG_Theme* t = PG_Application::GetTheme();          PG_Theme* t = PG_Application::GetTheme();
77    
78          b = t->FindProperty(widgettype, "RadioButton", "transparency");          t->GetProperty(widgettype, "RadioButton", "transparency", my_hoverTransparency);
   
         if(b != -1) {  
                 my_hoverTransparency = b;  
         }  
79    
80          PG_ThemeWidget::LoadThemeStyle(widgettype, "RadioButton");          PG_ThemeWidget::LoadThemeStyle(widgettype, "RadioButton");
81    
# Line 172  void PG_RadioButton::SetAlignment(int a) Line 167  void PG_RadioButton::SetAlignment(int a)
167          my_widgetLabel->SetAlignment(a);          my_widgetLabel->SetAlignment(a);
168  }  }
169    
170  void PG_RadioButton::SetFontColor(const SDL_Color& Color) {  void PG_RadioButton::SetFontColor(const PG_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) {  
171          my_widgetLabel->SetFontColor(Color);          my_widgetLabel->SetFontColor(Color);
172  }  }
173    

Legend:
Removed from v.1.3.6.4.2.1  
changed lines
  Added in v.1.3.6.4.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26