1#ifndef _GLS_NINE_PATCH_H
2#define _GLS_NINE_PATCH_H
104 #if defined( GLS_DEBUG )
232#if defined( GLS_DEBUG )
233#pragma BullseyeCoverage save off
248#pragma BullseyeCoverage restore
Definition: gls_display_object.h:65
Definition: gls_event.h:305
Definition: gls_nine_patch.h:61
GlsTextureVertex _unalteredVertices[NUM_VERTS]
Definition: gls_nine_patch.h:173
virtual void Draw(GlsStateManager &gl, const GlsFloat64 time)
GlsTextureVertex _vertices[NUM_VERTS]
Definition: gls_nine_patch.h:172
const GlsBool SizeIsNonDegenerate(void) const
GlsUInt32 _unalteredTextureEdge[NUM_EDGES]
Definition: gls_nine_patch.h:177
Edge
Definition: gls_nine_patch.h:67
@ EDGE_TOP
Definition: gls_nine_patch.h:70
@ NUM_EDGES
Definition: gls_nine_patch.h:72
@ EDGE_BOTTOM
Definition: gls_nine_patch.h:71
@ EDGE_RIGHT
Definition: gls_nine_patch.h:69
@ EDGE_LEFT
Definition: gls_nine_patch.h:68
void SetCenterVisible(const GlsBool visible)
void OutputVertices(GlsStateManager &gl, const GlsBool doTextureCoordinates, const GlsBool doVertexColors) const
void SetTextureEdge(const Edge edge, const GlsUInt32 value)
GlsUInt32 _textureEdge[NUM_EDGES]
Definition: gls_nine_patch.h:175
GlsFloat32 _vertexEdge[NUM_EDGES]
Definition: gls_nine_patch.h:179
GlsNinePatch(const InitParameters &initParameters, GlsEventDispatcher *const eventDispatcher)
void SetVertexEdge(const Edge edge, const GlsFloat32 value)
GlsBool _centerVisible
Definition: gls_nine_patch.h:183
@ LOWER_RIGHT_CORNER_INDEX
Definition: gls_nine_patch.h:87
@ LOWER_LEFT_CORNER_INDEX
Definition: gls_nine_patch.h:86
@ UPPER_RIGHT_CORNER_INDEX
Definition: gls_nine_patch.h:89
@ UPPER_LEFT_CORNER_INDEX
Definition: gls_nine_patch.h:88
@ NUM_DRAW_VERTS
Definition: gls_nine_patch.h:80
@ NUM_DRAW_VERTS_NO_CENTER
Definition: gls_nine_patch.h:79
@ NUM_VERTS
Definition: gls_nine_patch.h:78
virtual void OffsetTexture(const GlsVector2D &offset)
GlsVector2D _currentTextureOffset
Definition: gls_nine_patch.h:185
void OutputCornerVertices(GlsStateManager &gl) const
Definition: gls_render_object.h:70
Definition: gls_state_manager.h:64
This header defines a GLS_DEBUG only macro for facilitating evaluating class invariants in the GL Stu...
#define GLS_CLASS_INVARIANT_DECLARATION(ClassName)
Definition: gls_class_invariant.h:80
This header defines any preprocessor defines needed to configure the GL Studio DO-178B Runtime Librar...
This header defines an abstract class for a display object that is directly rendered to OpenGL (not a...
This header defines the GL State Manager class for managing the GL state in the GL Studio DO-178B Run...
This header defines GlsTextureVertexArray which encapsulates an array of GlsTextureVertex 's in the G...
bool GlsBool
Definition: gls_types.h:96
double GlsFloat64
Definition: gls_types.h:87
unsigned int GlsUInt32
Definition: gls_types.h:73
float GlsFloat32
Definition: gls_types.h:78
This header defines classes for working with 2D and 3D vectors, vertices and textured vertices in the...
Definition: gls_nine_patch.h:94
const GlsUInt32 textureEdges[NUM_EDGES]
Definition: gls_nine_patch.h:98
const GlsFloat32 vertexEdges[NUM_EDGES]
Definition: gls_nine_patch.h:100
const GlsTextureVertex vertices[NUM_VERTS]
Definition: gls_nine_patch.h:97
const GlsRenderObject::InitParameters renderInitParameters
Definition: gls_nine_patch.h:95
const GlsBool centerVisible
Definition: gls_nine_patch.h:102
Definition: gls_render_object.h:83
Definition: gls_vertex.h:117
Definition: gls_vertex.h:50