[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.3.6.1,1.3.6.2
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.3.6.1,1.3.6.2 |
Date: |
Sat, 25 Jan 2003 11:32:14 -0500 |
Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv7989/src/widgets
Modified Files:
Tag: devel-1-0
pgbutton.cpp
Log Message:
some improvements to PG_Button (Thanks Keith)
Index: pgbutton.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgbutton.cpp,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -C2 -r1.3.6.1 -r1.3.6.2
*** pgbutton.cpp 30 Jul 2002 09:21:55 -0000 1.3.6.1
--- pgbutton.cpp 25 Jan 2003 16:32:12 -0000 1.3.6.2
***************
*** 307,311 ****
/** */
void PG_Button::eventMouseEnter() {
! my_state = BTN_STATE_HIGH;
Update();
--- 307,313 ----
/** */
void PG_Button::eventMouseEnter() {
! if (!(my_internaldata->togglemode && my_internaldata->isPressed)) {
! my_state = BTN_STATE_HIGH;
! }
Update();
***************
*** 317,321 ****
if(my_state == BTN_STATE_HIGH) {
! my_state = BTN_STATE_NORMAL;
}
--- 319,323 ----
if(my_state == BTN_STATE_HIGH) {
! (my_internaldata->togglemode && my_internaldata->isPressed) ?
my_state = BTN_STATE_PRESSED : my_state = BTN_STATE_NORMAL;
}
***************
*** 368,372 ****
return false;
} else {
! my_state = BTN_STATE_HIGH;
}
--- 370,376 ----
return false;
} else {
! if(!my_internaldata->togglemode) {
! my_state = BTN_STATE_HIGH;
! }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/widgets pgbutton.cpp,1.3.6.1,1.3.6.2,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/test paratest.cpp,1.2.6.8,1.2.6.9
- Next by Date:
[paragui-cvs] CVS: paragui/include pgimage.h,1.3,1.3.6.1 pgthemewidget.h,1.3.6.3,1.3.6.4
- Previous by thread:
[paragui-cvs] CVS: paragui/test paratest.cpp,1.2.6.8,1.2.6.9
- Next by thread:
[paragui-cvs] CVS: paragui/include pgimage.h,1.3,1.3.6.1 pgthemewidget.h,1.3.6.3,1.3.6.4
- Index(es):