Aggiunti i metodi (non implementati) per il set_rectangle
git-svn-id: svn://10.65.10.50/trunk@4297 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									bdd6fcc3a3
								
							
						
					
					
						commit
						dddad91422
					
				@ -1173,6 +1173,11 @@ void TField_control::show_button(bool on)
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void TField_control::set_rect(const RCT& r)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  _obj->v.field->rct = r;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bool TField_control::event_handler(XI_OBJ* itf, XI_EVENT* xiev)
 | 
					bool TField_control::event_handler(XI_OBJ* itf, XI_EVENT* xiev)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  if (in_create)
 | 
					  if (in_create)
 | 
				
			||||||
 | 
				
			|||||||
@ -151,10 +151,15 @@ public:
 | 
				
			|||||||
  // @cmember Forza il focus al controllo
 | 
					  // @cmember Forza il focus al controllo
 | 
				
			||||||
  virtual void set_focus() const;
 | 
					  virtual void set_focus() const;
 | 
				
			||||||
       
 | 
					       
 | 
				
			||||||
 | 
					  // @cmember Ridimensiona il rettangolo su video
 | 
				
			||||||
 | 
					  virtual void set_rect(const RCT& r);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // @cmember Costruttore
 | 
				
			||||||
  TField_control(WINDOW win, short cid, 
 | 
					  TField_control(WINDOW win, short cid, 
 | 
				
			||||||
                 short left, short top, 
 | 
					                 short left, short top, 
 | 
				
			||||||
                 short width, short maxlen, 
 | 
					                 short width, short maxlen, 
 | 
				
			||||||
                 const char* flags, const char* text);
 | 
					                 const char* flags, const char* text);
 | 
				
			||||||
 | 
					  // @cmember Distruttore
 | 
				
			||||||
  virtual ~TField_control() {}
 | 
					  virtual ~TField_control() {}
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user