From e6f710c62dab7efb6dd556945316d6ccd5f1fd11 Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 27 Feb 2013 23:54:01 +0000 Subject: [PATCH] openglcontrol: imgui position screen center git-svn-id: trunk@40443 - --- components/opengl/example/imguimain.lfm | 1 + components/opengl/example/imguimain.pas | 3 +++ 2 files changed, 4 insertions(+) diff --git a/components/opengl/example/imguimain.lfm b/components/opengl/example/imguimain.lfm index 4e015adc99..b5a9a767be 100644 --- a/components/opengl/example/imguimain.lfm +++ b/components/opengl/example/imguimain.lfm @@ -9,6 +9,7 @@ object Form1: TForm1 OnCreate = FormCreate OnKeyDown = FormKeyDown OnKeyPress = FormKeyPress + Position = poScreenCenter LCLVersion = '1.1' object OpenGLControl1: TOpenGLControl Left = 0 diff --git a/components/opengl/example/imguimain.pas b/components/opengl/example/imguimain.pas index 12cd34e37f..3b56e78d4d 100644 --- a/components/opengl/example/imguimain.pas +++ b/components/opengl/example/imguimain.pas @@ -9,6 +9,9 @@ uses GL, GLExt, LCLType, fpImage, SysUtils; type + + { TGLColor } + TGLColor = record alpha: GLushort; blue: GLushort;