~ubuntu-branches/debian/jessie/stellarium/jessie

« back to all changes in this revision

Viewing changes to src/core/modules/Constellation.hpp

  • Committer: Package Import Robot
  • Author(s): Tomasz Buchert
  • Date: 2012-05-18 13:26:18 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20120518132618-3uso09fo68c218cx
Tags: 0.11.2-1
* Imported Upstream version 0.11.1 and then 0.11.2 (Closes: #658431)
* Change maintainer (Closes: #668916)
* Machine-readable copyright file
* Bump Standards-Version to 3.9.3
* Update debhelper compat to 9
* Fix lintian duplicate-font-file warning
* Fix copyright-refers-to-symlink-license lintian tag
* Add lintian override for embedded-library error

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Stellarium
3
3
 * Copyright (C) 2002 Fabien Chereau
 
4
 * Copyright (C) 2012 Timothy Reaves
4
5
 *
5
6
 * This program is free software; you can redistribute it and/or
6
7
 * modify it under the terms of the GNU General Public License
14
15
 *
15
16
 * You should have received a copy of the GNU General Public License
16
17
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
18
 * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA  02110-1335, USA.
18
19
 */
19
20
 
20
21
#ifndef _CONSTELLATION_HPP_
112
113
        void update(int deltaTime);
113
114
        //! Turn on and off Constellation line rendering.
114
115
        //! @param b new state for line drawing.
115
 
        void setFlagLines(bool b) {lineFader=b;}
 
116
        void setFlagLines(const bool b) {lineFader=b;}
116
117
        //! Turn on and off Constellation boundary rendering.
117
118
        //! @param b new state for boundary drawing.
118
 
        void setFlagBoundaries(bool b) {boundaryFader=b;}
 
119
        void setFlagBoundaries(const bool b) {boundaryFader=b;}
119
120
        //! Turn on and off Constellation name label rendering.
120
121
        //! @param b new state for name label drawing.
121
 
        void setFlagName(bool b) {nameFader=b;}
 
122
        void setFlagLabels(const bool b) {nameFader=b;}
122
123
        //! Turn on and off Constellation art rendering.
123
124
        //! @param b new state for art drawing.
124
 
        void setFlagArt(bool b) {artFader=b;}
 
125
        void setFlagArt(const bool b) {artFader=b;}
125
126
        //! Get the current state of Constellation line rendering.
126
127
        //! @return true if Constellation line rendering it turned on, else false.
127
128
        bool getFlagLines() const {return lineFader;}
130
131
        bool getFlagBoundaries() const {return boundaryFader;}
131
132
        //! Get the current state of Constellation name label rendering.
132
133
        //! @return true if Constellation name label rendering it turned on, else false.
133
 
        bool getFlagName() const {return nameFader;}
 
134
        bool getFlagLabels() const {return nameFader;}
134
135
        //! Get the current state of Constellation art rendering.
135
136
        //! @return true if Constellation art rendering it turned on, else false.
136
137
        bool getFlagArt() const {return artFader;}