/[paragui]/paragui/include/pgspinnerbox.h
ViewVC logotype

Diff of /paragui/include/pgspinnerbox.h

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

revision 1.3.2.2 by braindead, Mon Nov 24 09:17:21 2003 UTC revision 1.3.2.3 by braindead, Tue Dec 2 15:27:58 2003 UTC
# Line 29  Line 29 
29  #ifndef PG_SPINNERBOX_H  #ifndef PG_SPINNERBOX_H
30  #define PG_SPINNERBOX_H  #define PG_SPINNERBOX_H
31    
 #ifdef SWIG  
 %include "swigcommon.h"  
 %module pgspinnerbox  
 %{  
 #include "pgspinnerbox.h"  
 %}  
 #endif  
   
 #include "pgmaskedit.h"  
 #include "pgbutton.h"  
32  #include "pgthemewidget.h"  #include "pgthemewidget.h"
33    
34    class PG_Button;
35    class PG_MaskEdit;
36    class PG_LineEdit;
37    
38  /**  /**
39   * @author Atani - Mike Dunston   * @author Atani - Mike Dunston
40   *   *
# Line 86  public: Line 80  public:
80          void SetMaxValue( int value ) {          void SetMaxValue( int value ) {
81                  m_iMaxValue = value;                  m_iMaxValue = value;
82          }          }
83          void SetMask( const char *value ) {  
84                  strcpy( m_sMask, value );          void SetMask( const char *value );
                 m_pEditBox->SetMask( m_sMask );  
                 AdjustSize();  
         }  
85    
86          int GetValue() {          int GetValue() {
87                  return( m_iValue );                  return( m_iValue );
# Line 110  public: Line 101  public:
101  protected:  protected:
102    
103          bool handleButtonClick(PG_Button* button);          bool handleButtonClick(PG_Button* button);
104          bool handle_editend(PG_LineEdit* edit);          bool handleEditEnd(PG_LineEdit* edit);
105    
106  private:  private:
107    

Legend:
Removed from v.1.3.2.2  
changed lines
  Added in v.1.3.2.3

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