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 8.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  DISTI_DEPRECATED( "This identifier is forbidden by the C++ standard. Use BaseClass instead." )
83  typedef ComponentBase _BaseClass;
84  typedef ComponentBase BaseClass;
85 
86  GLSGEN_SplashDisplay_EXPORT SplashDisplay( const char* name = NULL );
87  GLSGEN_SplashDisplay_EXPORT void CreateObjects( void );
89  // Object creators
90  // Textures
91  static unsigned char* rgb_data_1[];
92  static glsInlineImage image_data_1;
93 
94  // Geometry
95 
96 private:
97 protected:
98 public:
99  GLPolygon* Background;
100  //////////////////// User Code from section: "Class Declaration" //////////////
101 
102  ///////////////////////////////////////////////////////////////////////////////
103 public:
104  // Methods
105  /**
106  */
107  virtual GLSGEN_SplashDisplay_EXPORT void Initialize();
108  /**
109  */
110  virtual GLSGEN_SplashDisplay_EXPORT void Calculate( double time );
111  /**
112  */
113  virtual GLSGEN_SplashDisplay_EXPORT void FitOnScreen( float screenW, float screenH, float boxW, float boxH, float& newW, float& newH );
114  virtual GLSGEN_SplashDisplay_EXPORT void AdjustToFit( int width, int height );
115  virtual GLSGEN_SplashDisplay_EXPORT DisplayObject* CloneObject( bool generateNames = false );
116 
117 #ifndef GLES
118  /** Get the details of the Cpp Interface
119  * The actual interface is exposed in compiled code.
120  * \param addToThisList A list to add to and then return. Creates a new one if NULL.
121  * \return A templated list.
122  * The caller must call the corresponding free method to
123  * safely free the memory.
124  */
125 
126  virtual GLSGEN_SplashDisplay_EXPORT InterfaceListType* GetCppInterfaceDescription( InterfaceListType* addToThisList = NULL );
127  virtual GLSGEN_SplashDisplay_EXPORT void GetCppInterfaceDescriptionFree( InterfaceListType* array );
128 #endif
129 };
130 } //namespace disti
131 
132 #endif
Definition: image.h:79
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
void CreateObjects(void)
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
The disti::ComponentBase class.
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
Definition: dynamic_array.h:66
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:59
virtual DisplayObject * CloneObject(bool generateNames=false)
A cross-platform class for loading dynamic link libraries and shared objects.
Definition: bmpimage.h:46