FS2_Open
Open source remastering of the Freespace 2 engine
subtitle Class Reference

#include <camera.h>

Public Member Functions

 subtitle (int in_x_pos, int in_y_pos, const char *in_text=NULL, const char *in_imageanim=NULL, float in_display_time=0, float in_fade_time=0.0f, const color *in_text_color=NULL, int in_text_fontnum=-1, bool center_x=false, bool center_y=false, int in_width=0, int in_height=0, bool post_shaded=false)
 
 ~subtitle ()
 
 subtitle (const subtitle &sub)
 
const subtitleoperator= (const subtitle &sub)
 
void do_frame (float frametime)
 
bool is_post_shaded ()
 

Detailed Description

Definition at line 114 of file camera.h.

Constructor & Destructor Documentation

subtitle::subtitle ( int  in_x_pos,
int  in_y_pos,
const char *  in_text = NULL,
const char *  in_imageanim = NULL,
float  in_display_time = 0,
float  in_fade_time = 0.0f,
const color in_text_color = NULL,
int  in_text_fontnum = -1,
bool  center_x = false,
bool  center_y = false,
int  in_width = 0,
int  in_height = 0,
bool  post_shaded = false 
)

Definition at line 543 of file camera.cpp.

subtitle::~subtitle ( )

Definition at line 767 of file camera.cpp.

subtitle::subtitle ( const subtitle sub)
inline

Definition at line 145 of file camera.h.

Member Function Documentation

void subtitle::do_frame ( float  frametime)

Definition at line 686 of file camera.cpp.

bool subtitle::is_post_shaded ( )
inline

Definition at line 149 of file camera.h.

const subtitle & subtitle::operator= ( const subtitle sub)

Definition at line 805 of file camera.cpp.

Member Data Documentation

int subtitle::h

Definition at line 130 of file camera.h.

int subtitle::w

Definition at line 130 of file camera.h.

int subtitle::x

Definition at line 120 of file camera.h.

int subtitle::y

Definition at line 120 of file camera.h.


The documentation for this class was generated from the following files: