Unit ProgressGL

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Progress bar displayed in OpenGL inside GLWindow window.

Simply set ProgressGLInterface.Window to your TGLWindow instance, and assign

  Progress.UserInterface := ProgressGLInterface;

Between Progress.Init and Fini you shouldn't do anything with window set as ProgressGLInterface.Window. It's callbacks will be temporarily swapped and it will be used to render progress bar.

As usual, remember to always call Progress.Fini if you called Progress.Init. Progress.Fini restores original callbacks and OpenGL state of your window. Usually it's best and safest to use try..finally block like

  Progress.Init; try.....finally Progress.Fini; end; 

uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TProgressGLInterface  

Constants

DefaultBarYPosition = 0.5;

Variables

ProgressGLInterface: TProgressGLInterface;

Description

Constants

DefaultBarYPosition = 0.5;
 

Variables

ProgressGLInterface: TProgressGLInterface;

Assign this to Progress.UserInterface to use OpenGL progress bar. This instance is created in initialization, freed in finalization.


Generated by PasDoc 0.10.0 on 2008-02-25 00:00:38