-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuiblank.pas
100 lines (79 loc) · 1.94 KB
/
uiblank.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
unit SheetView;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Math, CastleUIState,
{$ifndef cgeapp}
Forms, Controls, Graphics, Dialogs, CastleControl,
{$else}
CastleWindow,
{$endif}
CastleControls, CastleColors, CastleUIControls,
CastleTriangles, CastleShapes, CastleVectors,
CastleSceneCore, CastleScene, CastleTransform,
CastleViewport, CastleCameras, CastleProjection,
X3DNodes, X3DFields, X3DTIme,
CastleImages, CastleGLImages, CastleRectangles,
CastleTextureImages, CastleCompositeImage, CastleLog,
CastleApplicationProperties, CastleTimeUtils, CastleKeysMouse,
CastleGLUtils, multimodel, staging, Overlays, MiscFunctions;
type
{ TSheetViewer }
TSheetViewer = class(TUIState)
procedure BeforeRender; override; // TCastleUserInterface
procedure Render; override; // TCastleUserInterface
procedure Resize; override; // TCastleUserInterface
procedure Update(const SecondsPassed: Single; var HandleInput: boolean); override; // TUIState
private
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
procedure Start; override; // TUIState
procedure Stop; override; // TUIState
procedure LoadSheetViewer;
end;
var
SheetViewer: TSheetViewer;
implementation
{$ifdef cgeapp}
uses AppInitialization;
{$else}
uses GUIInitialization;
{$endif}
constructor TSheetViewer.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
// LoadViewport;
end;
destructor TSheetViewer.Destroy;
begin
inherited;
end;
procedure TSheetViewer.Start;
begin
inherited;
end;
procedure TSheetViewer.Stop;
begin
inherited;
end;
procedure TSheetViewer.BeforeRender;
begin
inherited;
end;
procedure TSheetViewer.Resize;
begin
inherited;
end;
procedure TSheetViewer.Render;
begin
inherited;
end;
procedure TSheetViewer.Update(const SecondsPassed: Single; var HandleInput: boolean);
begin
inherited;
end;
procedure TSheetViewer.LoadSheetViewer;
begin
end;
end.