enigma-cvs
[Top][All Lists]
Advanced

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

[Enigma-cvs] enigma/src gui.cc,1.19,1.20


From: Ralf Westram <address@hidden>
Subject: [Enigma-cvs] enigma/src gui.cc,1.19,1.20
Date: Mon, 27 Oct 2003 11:49:37 +0000

Update of /cvsroot/enigma/enigma/src
In directory subversions:/tmp/cvs-serv12353/src

Modified Files:
        gui.cc 
Log Message:
- ValueButtons may be changed by PgUp/PgDown
  -> cursor available for widget selection



Index: gui.cc
===================================================================
RCS file: /cvsroot/enigma/enigma/src/gui.cc,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** gui.cc      20 Oct 2003 08:05:45 -0000      1.19
--- gui.cc      27 Oct 2003 11:49:35 -0000      1.20
***************
*** 215,227 ****
  }
  
! void Button::activate() { 
      sound::PlaySound("menuswitch");
!     m_activep = true; 
!     redraw(); 
  }
  
! void Button::deactivate() { 
!     m_activep = false; 
!     redraw(); 
  }
  
--- 215,227 ----
  }
  
! void Button::activate() {
      sound::PlaySound("menuswitch");
!     m_activep = true;
!     redraw();
  }
  
! void Button::deactivate() {
!     m_activep = false;
!     redraw();
  }
  
***************
*** 374,378 ****
  
  ValueButton::ValueButton(const std::string &t, int min_value_, int max_value_)
! : TextButton(t, this), 
    min_value(min_value_),
    max_value(max_value_)
--- 374,378 ----
  
  ValueButton::ValueButton(const std::string &t, int min_value_, int max_value_)
! : TextButton(t, this),
    min_value(min_value_),
    max_value(max_value_)
***************
*** 407,412 ****
  
          switch (e.key.keysym.sym) {
!         case SDLK_LEFT:  changed = inc_value(-1); break;
!         case SDLK_RIGHT: changed = inc_value(1); break;
          default : keyhandled = false; break;
          }
--- 407,412 ----
  
          switch (e.key.keysym.sym) {
!         case SDLK_PAGEUP: changed = inc_value(1); break;
!         case SDLK_PAGEDOWN:  changed = inc_value(-1); break;
          default : keyhandled = false; break;
          }
***************
*** 466,475 ****
  
  
! void Menu::quit() { 
!     quitp=true; 
  }
  
! void Menu::abort() { 
!     abortp=true; 
  }
  
--- 466,475 ----
  
  
! void Menu::quit() {
!     quitp=true;
  }
  
! void Menu::abort() {
!     abortp=true;
  }
  





reply via email to

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