VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAttribute.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsg/vrvOsg.h>
12 #include <vrvCore/DtWidget.h>
13 
14 #include <boost/signals.hpp>
15 
16 namespace makVrv
17 {
18 
22  {
23  public:
24 
26  DtAttribute();
27 
29  virtual ~DtAttribute();
30 
33  virtual void setPosition( float x, float y, float z, float w ) = 0;
34 
36  virtual void setOffset( double x, double y );
37 
39  virtual void getMinSize( double& xOut, double& yOut ) = 0;
40 
42  virtual void setColor( float r, float g, float b, float a ) = 0;
43 
45  virtual void setSize( double x, double y ) = 0;
46 
48  virtual void setShadowText( bool enabled ) = 0;
49 
51  virtual void setVisible( bool visible ) = 0;
52 
54  virtual bool visible() const = 0;
55 
58  virtual void setOverlay( unsigned int overlayId ) = 0;
59 
62  virtual void setGroup( unsigned int group ) = 0;
63 
67  virtual void setForegroundGroup( unsigned int group );
68 
72  virtual void setBackgroundGroup( unsigned int group );
73 
78  boost::signal<void (DtAttribute*,double,double)> signal_sizeChanged;
79 
80  };
81 
82 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)