[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.8.2.2,1.8.2.3 pgli
From: |
Teunis Peters <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.8.2.2,1.8.2.3 pglineedit.cpp,1.6.2.2,1.6.2.3 pglistboxitem.cpp,1.6.2.2,1.6.2.3 pgpopupmenu.cpp,1.7.2.2,1.7.2.3 pgprogressbar.cpp,1.4.2.3,1.4.2.4 pgthemewidget.cpp,1.6.2.2,1.6.2.3 pgwidgetlist.cpp,1.11.2.2,1.11.2.3 |
Date: |
Thu, 12 Sep 2002 02:38:52 -0400 |
Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv1777/src/widgets
Modified Files:
Tag: devel-opengl
pgbutton.cpp pglineedit.cpp pglistboxitem.cpp pgpopupmenu.cpp
pgprogressbar.cpp pgthemewidget.cpp pgwidgetlist.cpp
Log Message:
first operational opengl version - tag "gotta start somewhere"
also removed -most- of debug code - or at least commented it out.
Index: pgbutton.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgbutton.cpp,v
retrieving revision 1.8.2.2
retrieving revision 1.8.2.3
diff -C2 -r1.8.2.2 -r1.8.2.3
*** pgbutton.cpp 31 Aug 2002 04:01:25 -0000 1.8.2.2
--- pgbutton.cpp 12 Sep 2002 06:38:50 -0000 1.8.2.3
***************
*** 154,158 ****
}
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetIcon(
t->FindSurface(widgettype, objectname, iconup),
--- 154,158 ----
}
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetIcon(
t->FindSurface(widgettype, objectname, iconup),
***************
*** 160,164 ****
t->FindSurface(widgettype, objectname, iconover)
);
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
PG_Gradient* g;
--- 160,164 ----
t->FindSurface(widgettype, objectname, iconover)
);
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
PG_Gradient* g;
***************
*** 178,182 ****
}
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetBackground(
0,
--- 178,182 ----
}
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetBackground(
0,
***************
*** 184,188 ****
t->FindProperty(widgettype, objectname, "backmode0")
);
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetBackground(
--- 184,188 ----
t->FindProperty(widgettype, objectname, "backmode0")
);
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetBackground(
***************
*** 191,195 ****
t->FindProperty(widgettype, objectname, "backmode1")
);
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetBackground(
--- 191,195 ----
t->FindProperty(widgettype, objectname, "backmode1")
);
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetBackground(
***************
*** 198,202 ****
t->FindProperty(widgettype, objectname, "backmode2")
);
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
b = t->FindProperty(widgettype, objectname, "blend0");
--- 198,202 ----
t->FindProperty(widgettype, objectname, "backmode2")
);
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
b = t->FindProperty(widgettype, objectname, "blend0");
Index: pglineedit.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pglineedit.cpp,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -C2 -r1.6.2.2 -r1.6.2.3
*** pglineedit.cpp 31 Aug 2002 04:01:25 -0000 1.6.2.2
--- pglineedit.cpp 12 Sep 2002 06:38:50 -0000 1.6.2.3
***************
*** 501,505 ****
PG_Theme* t = PG_Application::GetTheme();
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
my_srfTextCursor = t->FindSurface(widgettype, objectname, "textcursor");
--- 501,505 ----
PG_Theme* t = PG_Application::GetTheme();
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
my_srfTextCursor = t->FindSurface(widgettype, objectname, "textcursor");
Index: pglistboxitem.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pglistboxitem.cpp,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -C2 -r1.6.2.2 -r1.6.2.3
*** pglistboxitem.cpp 31 Aug 2002 04:01:25 -0000 1.6.2.2
--- pglistboxitem.cpp 12 Sep 2002 06:38:50 -0000 1.6.2.3
***************
*** 118,122 ****
for(int i=0; i<3; i++) {
sprintf(prop, "background%i", i);
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
my_background[i] = t->FindSurface(widgettype, objectname, prop);
--- 118,122 ----
for(int i=0; i<3; i++) {
sprintf(prop, "background%i", i);
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
my_background[i] = t->FindSurface(widgettype, objectname, prop);
Index: pgpopupmenu.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgpopupmenu.cpp,v
retrieving revision 1.7.2.2
retrieving revision 1.7.2.3
diff -C2 -r1.7.2.2 -r1.7.2.3
*** pgpopupmenu.cpp 31 Aug 2002 04:01:25 -0000 1.7.2.2
--- pgpopupmenu.cpp 12 Sep 2002 06:38:50 -0000 1.7.2.3
***************
*** 822,830 ****
miGradients[2] = theme->FindGradient(widgettype, "MenuItem",
"gradientDisabled");
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
miBackgrounds[0] = theme->FindSurface(widgettype, "MenuItem",
"backNormal");
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
miBackgrounds[1] = theme->FindSurface(widgettype, "MenuItem",
"backSelected");
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
miBackgrounds[2] = theme->FindSurface(widgettype, "MenuItem",
"backDisabled");
--- 822,830 ----
miGradients[2] = theme->FindGradient(widgettype, "MenuItem",
"gradientDisabled");
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
miBackgrounds[0] = theme->FindSurface(widgettype, "MenuItem",
"backNormal");
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
miBackgrounds[1] = theme->FindSurface(widgettype, "MenuItem",
"backSelected");
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
miBackgrounds[2] = theme->FindSurface(widgettype, "MenuItem",
"backDisabled");
Index: pgprogressbar.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgprogressbar.cpp,v
retrieving revision 1.4.2.3
retrieving revision 1.4.2.4
diff -C2 -r1.4.2.3 -r1.4.2.4
*** pgprogressbar.cpp 31 Aug 2002 04:01:25 -0000 1.4.2.3
--- pgprogressbar.cpp 12 Sep 2002 06:38:50 -0000 1.4.2.4
***************
*** 84,90 ****
PG_ThemeWidget::LoadThemeStyle(widgettype, "Background");
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
my_pbBackground = t->FindSurface(widgettype, "Indicator", "background");
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
PG_Gradient* g = t->FindGradient(widgettype, "Indicator", "gradient");
--- 84,90 ----
PG_ThemeWidget::LoadThemeStyle(widgettype, "Background");
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
my_pbBackground = t->FindSurface(widgettype, "Indicator", "background");
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
PG_Gradient* g = t->FindGradient(widgettype, "Indicator", "gradient");
Index: pgthemewidget.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgthemewidget.cpp,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -C2 -r1.6.2.2 -r1.6.2.3
*** pgthemewidget.cpp 31 Aug 2002 04:01:25 -0000 1.6.2.2
--- pgthemewidget.cpp 12 Sep 2002 06:38:50 -0000 1.6.2.3
***************
*** 136,142 ****
SetFontStyle(fontstyle);
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetBackground(t->FindSurface(widgettype, objectname, "background"));
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
b = t->FindProperty(widgettype, objectname, "blend");
--- 136,142 ----
SetFontStyle(fontstyle);
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
SetBackground(t->FindSurface(widgettype, objectname, "background"));
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
b = t->FindProperty(widgettype, objectname, "blend");
***************
*** 466,472 ****
// lookup the surface in cache
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
cache_surface = my_SurfaceCache.FindSurface(key);
! fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
// draw the cached surface :)
--- 466,472 ----
// lookup the surface in cache
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
cache_surface = my_SurfaceCache.FindSurface(key);
! // fprintf(stderr, "%s:%s:%i\n", __FILE__, __FUNCTION__, __LINE__);
// draw the cached surface :)
Index: pgwidgetlist.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwidgetlist.cpp,v
retrieving revision 1.11.2.2
retrieving revision 1.11.2.3
diff -C2 -r1.11.2.2 -r1.11.2.3
*** pgwidgetlist.cpp 31 Aug 2002 04:01:25 -0000 1.11.2.2
--- pgwidgetlist.cpp 12 Sep 2002 06:38:50 -0000 1.11.2.3
***************
*** 198,202 ****
void PG_WidgetList::AddChild(PG_Widget* w) {
! PG_LogDBG("PG_WidgetList::AddChild()");
if(w == NULL) {
--- 198,202 ----
void PG_WidgetList::AddChild(PG_Widget* w) {
! PG_LogDBG("PG_WidgetList::AddChild()");
if(w == NULL) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.8.2.2,1.8.2.3 pglineedit.cpp,1.6.2.2,1.6.2.3 pglistboxitem.cpp,1.6.2.2,1.6.2.3 pgpopupmenu.cpp,1.7.2.2,1.7.2.3 pgprogressbar.cpp,1.4.2.3,1.4.2.4 pgthemewidget.cpp,1.6.2.2,1.6.2.3 pgwidgetlist.cpp,1.11.2.2,1.11.2.3,
Teunis Peters <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/test animation.cpp,1.2.2.3,1.2.2.4 dblbuffer.cpp,1.4.2.4,1.4.2.5 gltest.cpp,1.1.2.2,1.1.2.3 list.cpp,1.1.2.2,1.1.2.3 paratest.cpp,1.9.2.4,1.9.2.5 windowtest.cpp,1.1.1.1.2.3,1.1.1.1.2.4
- Next by Date:
[paragui-cvs] CVS: paragui/src/draw draw.cpp,1.1.2.5,1.1.2.6 drawable.cpp,1.1.2.3,1.1.2.4 pgglcore.cpp,1.1.2.2,1.1.2.3
- Previous by thread:
[paragui-cvs] CVS: paragui/test animation.cpp,1.2.2.3,1.2.2.4 dblbuffer.cpp,1.4.2.4,1.4.2.5 gltest.cpp,1.1.2.2,1.1.2.3 list.cpp,1.1.2.2,1.1.2.3 paratest.cpp,1.9.2.4,1.9.2.5 windowtest.cpp,1.1.1.1.2.3,1.1.1.1.2.4
- Next by thread:
[paragui-cvs] CVS: paragui/src/draw draw.cpp,1.1.2.5,1.1.2.6 drawable.cpp,1.1.2.3,1.1.2.4 pgglcore.cpp,1.1.2.2,1.1.2.3
- Index(es):