aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/UMenuBackgroundColor.pas
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-10-18 21:13:16 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-10-18 21:13:16 +0000
commite60c0d3e29be2c77e7ab8deca6c37d0b07ebf085 (patch)
treea4c29e7270e22540b334938848b5b20b7854fa1d /src/menu/UMenuBackgroundColor.pas
parentf004b6574c5311c743472010beb01a723e0baac5 (diff)
downloadusdx-e60c0d3e29be2c77e7ab8deca6c37d0b07ebf085.tar.gz
usdx-e60c0d3e29be2c77e7ab8deca6c37d0b07ebf085.tar.xz
usdx-e60c0d3e29be2c77e7ab8deca6c37d0b07ebf085.zip
style adjustments. no code change.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1456 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/menu/UMenuBackgroundColor.pas8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/menu/UMenuBackgroundColor.pas b/src/menu/UMenuBackgroundColor.pas
index 26385b44..68cf2de4 100644
--- a/src/menu/UMenuBackgroundColor.pas
+++ b/src/menu/UMenuBackgroundColor.pas
@@ -45,8 +45,8 @@ type
private
Color: TRGB;
public
- Constructor Create(const ThemedSettings: TThemeBackground); override;
- Procedure Draw; override;
+ constructor Create(const ThemedSettings: TThemeBackground); override;
+ procedure Draw; override;
end;
implementation
@@ -54,13 +54,13 @@ uses
gl,
glext;
-Constructor TMenuBackgroundColor.Create(const ThemedSettings: TThemeBackground);
+constructor TMenuBackgroundColor.Create(const ThemedSettings: TThemeBackground);
begin
inherited;
Color := ThemedSettings.Color;
end;
-Procedure TMenuBackgroundColor.Draw;
+procedure TMenuBackgroundColor.Draw;
begin
glClearColor(Color.R, Color.G, Color.B, 0);
glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT);