paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/src/widgets pgdropdown.cpp,1.3.6.2,1.3.6.3


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pgdropdown.cpp,1.3.6.2,1.3.6.3
Date: Mon, 05 May 2003 03:47:40 -0400

Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv23263/src/widgets

Modified Files:
      Tag: devel-1-0
        pgdropdown.cpp 
Log Message:
- merged patch from Steffen Blume <address@hidden>
  Select[First,Next,Prev]Item for PG_DropDown



Index: pgdropdown.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgdropdown.cpp,v
retrieving revision 1.3.6.2
retrieving revision 1.3.6.3
diff -C2 -r1.3.6.2 -r1.3.6.3
*** pgdropdown.cpp      5 Apr 2003 14:48:33 -0000       1.3.6.2
--- pgdropdown.cpp      5 May 2003 07:47:38 -0000       1.3.6.3
***************
*** 162,163 ****
--- 162,184 ----
        return PG_Widget::ProcessEvent(event, bModal);
  }
+ 
+ void PG_DropDown::SelectFirstItem() {
+       my_DropList->SelectFirstItem();
+ }
+ 
+ void PG_DropDown::SelectNextItem() {
+       my_DropList->SelectNextItem();
+ }
+ 
+ void PG_DropDown::SelectPrevItem() {
+       my_DropList->SelectPrevItem();
+ }
+ 
+ void PG_DropDown::SelectItem(const int n) {
+       int i;
+       
+       my_DropList->SelectFirstItem();
+       
+       for (i=0; i < n; i++)
+         my_DropList->SelectNextItem();
+ }     





reply via email to

[Prev in Thread] Current Thread [Next in Thread]