Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 29, 2008, 5:37:26 PM (16 years ago)
Author:
rgrieder
Message:

fixed a bug in OverlayText (no text was seen)
adjusted OverlayText in conjunction with aspect ratio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/overlays/OrxonoxOverlay.h

    r1625 r1632  
    6969    class _OrxonoxExport OrxonoxOverlay : public BaseObject, public WindowEventListener
    7070    {
     71    public:
     72        /**
     73        @brief
     74            Describes the rotational state of a an overlay.
     75            Horizontal means 0/180 degrees, Vertical is 90/270 degrees
     76            and Inbetween is everything else.
     77        */
     78        enum RotationState
     79        {
     80            Horizontal,
     81            Vertical,
     82            Inbetween
     83        };
     84
    7185    public:
    7286        OrxonoxOverlay();
     
    156170        Vector2 pickPoint_;                        //!< Point on the overlay to pick when translating
    157171        Radian angle_;                             //!< Rotation angle of the overlay
     172        RotationState rotState_;             //!< horizontal, vertical or inbetween
    158173
    159174    private:
Note: See TracChangeset for help on using the changeset viewer.