GL Studio C++ Runtime 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) 2019 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 7.0.0
45 ///////////////////////////////////////////////////////////////////////////////
46 #ifndef _splash_display_h_
47 #define _splash_display_h_
48 
49 #include "callback_caller.h"
50 #include "display.h"
51 #include "display_frame.h"
52 #include "gls_include.h"
53 
54 #include "dynamic_library.h"
55 
56 // Fonts referenced by design and at run-time
57 
58 #include "component_base.h"
59 #include "glpolygon.h"
60 
61 //////////////////// Provides support for creating DLLs ////////////////////////
62 #if( defined( GLSGEN_EXPORT_SplashDisplay ) || defined( GLSGEN_IMPORT_SplashDisplay ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
63  && defined( _MSC_VER )
64 # if defined( GLSGEN_EXPORT_SplashDisplay ) || defined( GLS_EXPORT_GENERATED )
65 # define GLSGEN_SplashDisplay_EXPORT __declspec( dllexport )
66 # else
67 # define GLSGEN_SplashDisplay_EXPORT __declspec( dllimport )
68 # endif
69 #else
70 # define GLSGEN_SplashDisplay_EXPORT
71 #endif
72 ///////////////////////////////////////////////////////////////////////////////
73 
74 //////////////////// User Code from section: "file splash_display.h" ////////////
75 
76 ///////////////////////////////////////////////////////////////////////////////
77 namespace disti
78 {
80 {
81 public:
82  typedef ComponentBase _BaseClass;
83 
84  GLSGEN_SplashDisplay_EXPORT SplashDisplay( const char* name = NULL );
85  GLSGEN_SplashDisplay_EXPORT void CreateObjects( void );
87  // Object creators
88  // Textures
89  static unsigned char* rgb_data_1[];
90  static glsInlineImage image_data_1;
91 
92  // Geometry
93 
94 private:
95 protected:
96 public:
97  GLPolygon* Background;
98  //////////////////// User Code from section: "Class Declaration" //////////////
99 
100  ///////////////////////////////////////////////////////////////////////////////
101 public:
102  // Methods
103  /**
104  */
105  virtual GLSGEN_SplashDisplay_EXPORT void Initialize();
106  /**
107  */
108  virtual GLSGEN_SplashDisplay_EXPORT void Calculate( double time );
109  /**
110  */
111  virtual GLSGEN_SplashDisplay_EXPORT void FitOnScreen( float screenW, float screenH, float boxW, float boxH, float& newW, float& newH );
112  virtual GLSGEN_SplashDisplay_EXPORT void AdjustToFit( int width, int height );
113  virtual GLSGEN_SplashDisplay_EXPORT DisplayObject* CloneObject( bool generateNames = false );
114 
115 #ifndef GLES
116  /** Get the details of the Cpp Interface
117  * The actual interface is exposed in compiled code.
118  * \param addToThisList A list to add to and then return. Creates a new one if NULL.
119  * \return A templated list.
120  * The caller must call the corresponding free method to
121  * safely free the memory.
122  */
123 
124  virtual GLSGEN_SplashDisplay_EXPORT InterfaceListType* GetCppInterfaceDescription( InterfaceListType* addToThisList = NULL );
125  virtual GLSGEN_SplashDisplay_EXPORT void GetCppInterfaceDescriptionFree( InterfaceListType* array );
126 #endif
127 };
128 } //namespace disti
129 
130 #endif
Definition: image.h:79
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
void CreateObjects(void)
The disti::ComponentBase class.
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
Definition: dynamic_array.h:62
Definition: splash_display.h:79
The Polygon class. Implements Polygons.
Definition: glpolygon.h:55
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:67
virtual void Initialize()
virtual void Calculate(double time)
The disti::DisplayFrame class.
Definition: group.h:52
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