Changeset 8460 in orxonox.OLD for branches/gui/src
- Timestamp:
- Jun 15, 2006, 2:08:43 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_style.cc
r8450 r8460 54 54 55 55 void GLGuiStyle::setBorderLeft(float value, OrxGui::State state) 56 {} 56 { 57 _style[state]._borderLeft = value; 58 } 57 59 58 60 void GLGuiStyle::setBorderLeftS(float value, const std::string& state) 59 {} 61 { 62 63 } 60 64 61 65 … … 67 71 68 72 void GLGuiStyle::setBorderRight(float value, OrxGui::State state) 69 {} 73 { 74 _style[state]._borderRight = value; 75 } 70 76 71 77 void GLGuiStyle::setBorderRightS(float value, const std::string& state) … … 80 86 81 87 void GLGuiStyle::setBorderTop(float value, OrxGui::State state) 82 {} 88 { 89 _style[state]._borderTop = value; 90 } 83 91 84 92 void GLGuiStyle::setBorderTopS(float value, const std::string& state) … … 93 101 94 102 void GLGuiStyle::setBorderBottom(float value, OrxGui::State state) 95 {} 103 { 104 _style[state]._borderBottom = value; 105 } 96 106 97 107 void GLGuiStyle::setBorderBottomS(float value, const std::string& state) … … 106 116 107 117 void GLGuiStyle::setTextSize(float value, OrxGui::State state) 108 {} 118 { 119 _style[state]._textSize= value; 120 } 109 121 110 122 void GLGuiStyle::setTextSizeS(float value, const std::string& state) … … 119 131 120 132 void GLGuiStyle::setBackgroundColor(const Color& color, OrxGui::State state) 121 {} 133 { 134 _style[state]._backgroundColor = color; 135 } 122 136 123 137 void GLGuiStyle::setBackgroundColorS(float r, float g, float b, float a, const std::string& state) … … 132 146 133 147 void GLGuiStyle::setBackgroundTexture(const Texture& texture, OrxGui::State state) 134 {} 148 { 149 _style[state]._backgroundTexture = texture; 150 } 135 151 136 152 void GLGuiStyle::setBackgroundTexture(const std::string& textureName, const std::string& state) … … 145 161 146 162 void GLGuiStyle::setForegroundColor(const Color& color, OrxGui::State state) 147 {} 163 { 164 _style[state]._foregroundColor = color; 165 } 148 166 149 167 void GLGuiStyle::setForegroundColorS(float r, float g, float b, float a, const std::string& state) … … 159 177 void GLGuiStyle::setFeaturePosition(const std::string& featurePosition) 160 178 { 161 162 179 } 163 180
Note: See TracChangeset
for help on using the changeset viewer.