SDLTest_CommonState Struct Reference

`#include <SDL_test_common.h>`

Collaboration diagram for SDLTest_CommonState:
[legend]

## Data Fields

char ** | argv
Uint32 | flags
Uint32 | verbose
const char * | videodriver
int | display
const char * | window_title
const char * | window_icon
Uint32 | window_flags
int | window_x
int | window_y
int | window_w
int | window_h
int | window_minW
int | window_minH
int | window_maxW
int | window_maxH
int | logical_w
int | logical_h
float | scale
int | depth
int | refresh_rate
int | num_windows
SDL_Window ** | windows
const char * | renderdriver
Uint32 | render_flags
SDL_bool | skip_renderer
SDL_Renderer ** | renderers
SDL_Texture ** | targets
const char * | audiodriver
SDL_AudioSpec | audiospec
int | gl_red_size
int | gl_green_size
int | gl_blue_size
int | gl_alpha_size
int | gl_buffer_size
int | gl_depth_size
int | gl_stencil_size
int | gl_double_buffer
int | gl_accum_red_size
int | gl_accum_green_size
int | gl_accum_blue_size
int | gl_accum_alpha_size
int | gl_stereo
int | gl_multisamplebuffers
int | gl_multisamplesamples
int | gl_retained_backing
int | gl_accelerated
int | gl_major_version
int | gl_minor_version
int | gl_debug
int | gl_profile_mask

## Detailed Description

Definition at line 51 of file SDL_test_common.h.

## Field Documentation

char** SDLTest_CommonState::argv

Definition at line 54 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonCreateState().

const char* SDLTest_CommonState::audiodriver

Definition at line 88 of file SDL_test_common.h.

Referenced by SDLTest_CommonInit().

SDL_AudioSpec SDLTest_CommonState::audiospec

Definition at line 89 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::depth

Definition at line 75 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

int SDLTest_CommonState::display

Definition at line 60 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg().

Uint32 SDLTest_CommonState::flags

Definition at line 55 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), SDLTest_CommonInit(), SDLTest_CommonQuit(), and SDLTest_CommonUsage().

int SDLTest_CommonState::gl_accelerated

Definition at line 108 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_accum_alpha_size

Definition at line 103 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_accum_blue_size

Definition at line 102 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_accum_green_size

Definition at line 101 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_accum_red_size

Definition at line 100 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_alpha_size

Definition at line 95 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_blue_size

Definition at line 94 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_buffer_size

Definition at line 96 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_debug

Definition at line 111 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_depth_size

Definition at line 97 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_double_buffer

Definition at line 99 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_green_size

Definition at line 93 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_major_version

Definition at line 109 of file SDL_test_common.h.

Referenced by SDLTest_CommonInit().

int SDLTest_CommonState::gl_minor_version

Definition at line 110 of file SDL_test_common.h.

Referenced by SDLTest_CommonInit().

int SDLTest_CommonState::gl_multisamplebuffers

Definition at line 105 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_multisamplesamples

Definition at line 106 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_profile_mask

Definition at line 112 of file SDL_test_common.h.

Referenced by SDLTest_CommonInit().

int SDLTest_CommonState::gl_red_size

Definition at line 92 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_retained_backing

Definition at line 107 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_stencil_size

Definition at line 98 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::gl_stereo

Definition at line 104 of file SDL_test_common.h.

Referenced by SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::logical_h

Definition at line 73 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

int SDLTest_CommonState::logical_w

Definition at line 72 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

int SDLTest_CommonState::num_windows

Definition at line 77 of file SDL_test_common.h.

Referenced by LoadSprite(), loop(), main(), Redraw(), SDLTest_CommonArg(), SDLTest_CommonCreateState(), SDLTest_CommonEvent(), SDLTest_CommonInit(), and SDLTest_CommonQuit().

int SDLTest_CommonState::refresh_rate

Definition at line 76 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

Uint32 SDLTest_CommonState::render_flags

Definition at line 82 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

const char* SDLTest_CommonState::renderdriver

Definition at line 81 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

SDL_Renderer** SDLTest_CommonState::renderers

Definition at line 84 of file SDL_test_common.h.

Referenced by LoadSprite(), loop(), main(), Redraw(), SDLTest_CommonEvent(), SDLTest_CommonInit(), and SDLTest_CommonQuit().

float SDLTest_CommonState::scale

Definition at line 74 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

SDL_bool SDLTest_CommonState::skip_renderer

Definition at line 83 of file SDL_test_common.h.

Referenced by main(), and SDLTest_CommonInit().

SDL_Texture** SDLTest_CommonState::targets

Definition at line 85 of file SDL_test_common.h.

Referenced by loop(), main(), SDLTest_CommonEvent(), SDLTest_CommonInit(), and SDLTest_CommonQuit().

Uint32 SDLTest_CommonState::verbose

Definition at line 56 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), SDLTest_CommonEvent(), and SDLTest_CommonInit().

const char* SDLTest_CommonState::videodriver

Definition at line 59 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

Uint32 SDLTest_CommonState::window_flags

Definition at line 63 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::window_h

Definition at line 67 of file SDL_test_common.h.

Referenced by main(), SDLTest_CommonArg(), SDLTest_CommonCreateState(), and SDLTest_CommonInit().

const char* SDLTest_CommonState::window_icon

Definition at line 62 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

int SDLTest_CommonState::window_maxH

Definition at line 71 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

int SDLTest_CommonState::window_maxW

Definition at line 70 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

int SDLTest_CommonState::window_minH

Definition at line 69 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

int SDLTest_CommonState::window_minW

Definition at line 68 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), and SDLTest_CommonInit().

const char* SDLTest_CommonState::window_title

Definition at line 61 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::window_w

Definition at line 66 of file SDL_test_common.h.

Referenced by main(), SDLTest_CommonArg(), SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::window_x

Definition at line 64 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), SDLTest_CommonCreateState(), and SDLTest_CommonInit().

int SDLTest_CommonState::window_y

Definition at line 65 of file SDL_test_common.h.

Referenced by SDLTest_CommonArg(), SDLTest_CommonCreateState(), and SDLTest_CommonInit().

SDL_Window** SDLTest_CommonState::windows

Definition at line 78 of file SDL_test_common.h.

Referenced by loop(), main(), Redraw(), SDLTest_CommonEvent(), SDLTest_CommonInit(), and SDLTest_CommonQuit().

The documentation for this struct was generated from the following file:

- include/SDL_test_common.h