iCub-main
Loading...
Searching...
No Matches
settings.cpp
Go to the documentation of this file.
1/*
2 * settings.cpp
3 */
4
5/*
6 * Copyright (C) 2009 RobotCub Consortium
7 * Author: Alessandro Scalzo alessandro.scalzo@iit.it
8 * CopyPolicy: Released under the terms of the GNU GPL v2.0.
9 *
10 * Based on:
11 *
12 * Qavimator
13 * Copyright (C) 2006 by Zi Ree *
14 * Zi Ree @ SecondLife *
15 * Released under the terms of the GNU GPL v2.0.
16 */
17
18#include <iostream>
19
20#include "settings.h"
21
22static bool m_fog=true;
23static int m_floorTranslucency=25;
24
25static bool m_easeIn=false;
26static bool m_easeOut=false;
27
29{
30 // should never be accessed
31}
32
34{
35 // should never be accessed
36}
37
39{
40 m_fog=on;
41}
42
44{
45 return m_fog;
46}
47
49{
51}
52
57
59{
61}
62
64{
65 return m_easeIn;
66}
67
69{
71}
72
74{
75 return m_easeOut;
76}
static void setEaseIn(bool on)
Definition settings.cpp:58
static bool easeOut()
Definition settings.cpp:73
static void setFog(bool on)
Definition settings.cpp:38
static bool easeIn()
Definition settings.cpp:63
static void setEaseOut(bool on)
Definition settings.cpp:68
static void setFloorTranslucency(int value)
Definition settings.cpp:48
static bool fog()
Definition settings.cpp:43
static int floorTranslucency()
Definition settings.cpp:53
static int m_floorTranslucency
Definition settings.cpp:23
static bool m_easeIn
Definition settings.cpp:25
static bool m_fog
Definition settings.cpp:22
static bool m_easeOut
Definition settings.cpp:26
grid on