34class NCAlignment :
public YAlignment,
public NCWidget
38 friend std::ostream & operator<<( std::ostream & str,
const NCAlignment & obj );
40 NCAlignment & operator=(
const NCAlignment & );
41 NCAlignment(
const NCAlignment & );
46 virtual const char * location()
const {
return "NCAlignment"; }
50 NCAlignment( YWidget * parent, YAlignmentType halign, YAlignmentType valign );
51 virtual ~NCAlignment();
53 virtual int preferredWidth() {
return YAlignment::preferredWidth(); }
54 virtual int preferredHeight() {
return YAlignment::preferredHeight(); }
56 virtual void setSize(
int newWidth,
int newHeight );
58 virtual void moveChild( YWidget * child,
int newx,
int newy );