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

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

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

revision 1.3.6.1.2.2 by braindead, Mon Nov 24 09:17:22 2003 UTC revision 1.3.6.1.2.3 by braindead, Tue Dec 2 15:27:59 2003 UTC
# Line 28  Line 28 
28    
29  #include "pglineedit.h"  #include "pglineedit.h"
30  #include "pgapplication.h"  #include "pgapplication.h"
31  #include <cstring>  #include "pgtheme.h"
 #include <stdarg.h>  
32    
33  PG_LineEdit::PG_LineEdit(PG_Widget* parent, const PG_Rect& r, const char* style, int _my_maximumLength) : PG_ThemeWidget(parent, r, style) {  PG_LineEdit::PG_LineEdit(PG_Widget* parent, const PG_Rect& r, const char* style, int _my_maximumLength) : PG_ThemeWidget(parent, r, style) {
34    
# Line 553  bool PG_LineEdit::GetEditable() { Line 552  bool PG_LineEdit::GetEditable() {
552          return my_isEditable;          return my_isEditable;
553  }  }
554    
555  bool PG_LineEdit::Action(PG_ACTION action) {  bool PG_LineEdit::Action(KeyAction action) {
556    
557          switch(action) {          switch(action) {
558                  case PG_ACT_OK:                  case ACT_OK:
559                          EditBegin();                          EditBegin();
560                          return true;                          return true;
561                  case PG_ACT_CANCEL:                  case ACT_CANCEL:
562                          EditEnd();                          EditEnd();
563                          return true;                          return true;
564                  default:                  default:

Legend:
Removed from v.1.3.6.1.2.2  
changed lines
  Added in v.1.3.6.1.2.3

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