GL Studio API
splash_display.h
Go to the documentation of this file.
1 /*! \file
2  \brief The SplashDisplay class.
3 
4  \par Copyright Information
5 
6  Copyright (c) 2015 by The DiSTI Corporation.<br>
7  11301 Corporate Blvd; Suite 100<br>
8  Orlando, Florida 32817<br>
9  USA<br>
10  <br>
11  All rights reserved.<br>
12 
13  This Software contains proprietary trade secrets of DiSTI and may not be
14 reproduced, in whole or part, in any form, or by any means of electronic,
15 mechanical, or otherwise, without the written permission of DiSTI. Said
16 permission may be derived through the purchase of applicable DiSTI product
17 licenses which detail the distribution rights of this content and any
18 Derivative Works based on this or other copyrighted DiSTI Software.
19 
20  NO WARRANTY. THE SOFTWARE IS PROVIDED "AS-IS," WITHOUT WARRANTY OF ANY KIND,
21 AND ANY USE OF THIS SOFTWARE PRODUCT IS AT YOUR OWN RISK. TO THE MAXIMUM EXTENT
22 PERMITTED BY APPLICABLE LAW, DISTI AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES
23 AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
24 IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY AND/OR FITNESS FOR A
25 PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE.
26 
27  LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
28 IN NO EVENT SHALL DISTI OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
29 INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,
30 DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
31 INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
32 INABILITY TO USE THE SOFTWARE, EVEN IF DISTI HAS BEEN ADVISED OF THE POSSIBILITY
33 OF SUCH DAMAGES. DISTI'S ENTIRE LIABILITY AND YOUR EXCLUSIVE REMEDY SHALL NOT
34 EXCEED FIVE DOLLARS (US$5.00).
35 
36  The aforementioned terms and restrictions are governed by the laws of the
37 State of Florida and the United States of America.
38 
39 */
40 
41 ///////////////////////////////////////////////////////////////////////////////
42 // This file is generated by GL Studio. DO NOT EDIT.
43 // To modify, run "glstudio splashtemp.gls", edit, then select Code/Generate All.
44 // Generated from splashtemp.gls using GL Studio 5.0.2000
45 ///////////////////////////////////////////////////////////////////////////////
46 #ifndef _splash_display_h_
47 #define _splash_display_h_
48 
49 #include "gls_include.h"
50 #include "display.h"
51 #include "display_frame.h"
52 #include "callback_caller.h"
53 
54 #include "dynamic_library.h"
55 
56 // Fonts referenced by design and at run-time
57 
58 #include "glpolygon.h"
59 #include "component_base.h"
60 
61 
62 //////////////////// Provides support for creating DLLs ////////////////////////
63 #if (defined(GLSGEN_EXPORT_SplashDisplay) || \
64  defined(GLSGEN_IMPORT_SplashDisplay) || \
65  defined(GLS_EXPORT_GENERATED) || \
66  defined(GLS_IMPORT_GENERATED)) \
67  && defined(_MSC_VER)
68 # if defined(GLSGEN_EXPORT_SplashDisplay) || defined(GLS_EXPORT_GENERATED)
69 # define GLSGEN_SplashDisplay_EXPORT __declspec(dllexport)
70 # else
71 # define GLSGEN_SplashDisplay_EXPORT __declspec(dllimport)
72 # endif
73 #else
74 # define GLSGEN_SplashDisplay_EXPORT
75 #endif
76 ///////////////////////////////////////////////////////////////////////////////
77 
78 //////////////////// User Code from section: "file splash_display.h" ////////////
79 
80 ///////////////////////////////////////////////////////////////////////////////
81 namespace disti
82 {
84 {
85 public:
86  typedef ComponentBase _BaseClass;
87 
88  GLSGEN_SplashDisplay_EXPORT SplashDisplay(const char *name = NULL);
89  GLSGEN_SplashDisplay_EXPORT void CreateObjects(void);
91  // Object creators
92  // Textures
93  static unsigned char * rgb_data_1[];
94  static glsInlineImage image_data_1;
95 
96  // Geometry
97 
98 private:
99 
100 protected:
101 
102 public:
103  GLPolygon *Background;
104  GLPolygon *versionCover;
105 //////////////////// User Code from section: "Class Declaration" //////////////
106 
107 ///////////////////////////////////////////////////////////////////////////////
108 public:
109  // Methods
110  /**
111  */
112  virtual GLSGEN_SplashDisplay_EXPORT void Initialize ();
113  /**
114  */
115  virtual GLSGEN_SplashDisplay_EXPORT void Calculate (double time);
116  /**
117  */
118  virtual GLSGEN_SplashDisplay_EXPORT void FitOnScreen (float screenW, float screenH, float boxW,float boxH,float &newW,float &newH);
119  virtual GLSGEN_SplashDisplay_EXPORT void AdjustToFit (int width, int height);
120  virtual GLSGEN_SplashDisplay_EXPORT DisplayObject* CloneObject (bool generateNames = false);
121 
122 #ifndef GLES
123  /** Get the details of the Cpp Interface
124  * The actual interface is exposed in compiled code.
125  * \param addToThisList A list to add to and then return. Creates a new one if NULL.
126  * \return A templated list.
127  * The caller must call the corresponding free method to
128  * safely free the memory.
129  */
130 
131  virtual GLSGEN_SplashDisplay_EXPORT InterfaceListType* GetCppInterfaceDescription(InterfaceListType* addToThisList= NULL );
132  virtual GLSGEN_SplashDisplay_EXPORT void GetCppInterfaceDescriptionFree(InterfaceListType* array);
133 #endif
134 };
135 } //namespace disti
136 
137 
138 #endif
139 
Definition: image.h:76
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
void CreateObjects(void)
The disti::ComponentBase class.
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
Definition: dynamic_array.h:63
Definition: splash_display.h:83
The Polygon class. Implements Polygons.
Definition: glpolygon.h:56
Definition: display.h:98
The disti::CallbackMethodCallerTemplate class and global enumerations.
The disti::GLPolygon class. Implements Polygons.
A file for all GL Studio files to include.
The disti::DisplayObject class and global enumerations.
Definition: component_base.h:57
virtual void Initialize()
virtual void Calculate(double time)
The disti::DisplayFrame class.
Definition: group.h:53
Definition: callback_caller.h:60
virtual DisplayObject * CloneObject(bool generateNames=false)
A cross-platform class for loading dynamic link libraries and shared objects.
Definition: bmpimage.h:46