Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

config_framework.cxx File Reference

#include "config_framework.h"
#include "dconfig.h"
#include "windowFramework.h"

Go to the source code of this file.

Functions

 Configure (config_framework)
 NotifyCategoryDef (framework,"")
 ConfigureFn (config_framework)

Variables

const int win_width = config_framework.GetInt("win-width", 640)
const int win_height = config_framework.GetInt("win-height", 480)
const bool fullscreen = config_framework.GetBool("fullscreen", false)
const bool undecorated = config_framework.GetBool("undecorated", false)
const bool cursor_hidden = config_framework.GetBool("cursor-hidden", false)
const float aspect_ratio = config_framework.GetFloat("aspect-ratio", 0.0f)
const float win_background_r = config_framework.GetFloat("win-background-r", 0.41)
const float win_background_g = config_framework.GetFloat("win-background-g", 0.41)
const float win_background_b = config_framework.GetFloat("win-background-b", 0.41)


Function Documentation

Configure config_framework   ) 
 

ConfigureFn config_framework   ) 
 

Definition at line 27 of file config_framework.cxx.

References WindowFramework::init_type().

NotifyCategoryDef framework  ,
"" 
 


Variable Documentation

const float aspect_ratio = config_framework.GetFloat("aspect-ratio", 0.0f)
 

Definition at line 36 of file config_framework.cxx.

Referenced by WindowFramework::get_aspect_2d(), Lens::set_aspect_ratio(), and Lens::set_frustum_from_corners().

const bool cursor_hidden = config_framework.GetBool("cursor-hidden", false)
 

Definition at line 35 of file config_framework.cxx.

Referenced by PandaFramework::get_default_window_props().

const bool fullscreen = config_framework.GetBool("fullscreen", false)
 

Definition at line 33 of file config_framework.cxx.

Referenced by PandaFramework::get_default_window_props().

const bool undecorated = config_framework.GetBool("undecorated", false)
 

Definition at line 34 of file config_framework.cxx.

Referenced by PandaFramework::get_default_window_props().

const float win_background_b = config_framework.GetFloat("win-background-b", 0.41)
 

Definition at line 41 of file config_framework.cxx.

Referenced by WindowFramework::set_background_type().

const float win_background_g = config_framework.GetFloat("win-background-g", 0.41)
 

Definition at line 40 of file config_framework.cxx.

Referenced by WindowFramework::set_background_type().

const float win_background_r = config_framework.GetFloat("win-background-r", 0.41)
 

Definition at line 39 of file config_framework.cxx.

Referenced by WindowFramework::set_background_type().

const int win_height = config_framework.GetInt("win-height", 480)
 

Definition at line 32 of file config_framework.cxx.

Referenced by PandaFramework::get_default_window_props().

const int win_width = config_framework.GetInt("win-width", 640)
 

Definition at line 31 of file config_framework.cxx.

Referenced by PandaFramework::get_default_window_props().


Generated on Fri Apr 18 00:10:31 2003 for Panda by doxygen1.3