xoreos  0.0.5
Namespaces | Variables
portrait.cpp File Reference

A portrait model and widget. More...

#include <cassert>
#include "src/common/util.h"
#include "src/common/maths.h"
#include "src/common/ustring.h"
#include "glm/gtc/matrix_transform.hpp"
#include "src/graphics/graphics.h"
#include "src/graphics/aurora/textureman.h"
#include "src/graphics/aurora/texture.h"
#include "src/graphics/shader/surfaceman.h"
#include "src/graphics/shader/materialman.h"
#include "src/graphics/mesh/meshman.h"
#include "src/engines/nwn/gui/widgets/portrait.h"
Include dependency graph for portrait.cpp:

Go to the source code of this file.

Namespaces

 Engines
 
 Engines::NWN
 

Variables

static const char *const kSuffix [] = {"h" , "l" , "m" , "s" , "t" , "i" }
 
static const float kWidth [] = {256.0f, 128.0f, 64.0f, 32.0f, 16.0f, 32.0f}
 
static const float kHeight [] = {400.0f, 200.0f, 100.0f, 50.0f, 25.0f, 32.0f}
 

Detailed Description

A portrait model and widget.

Definition in file portrait.cpp.

Variable Documentation

◆ kHeight

const float kHeight[] = {400.0f, 200.0f, 100.0f, 50.0f, 25.0f, 32.0f}
static

Definition at line 45 of file portrait.cpp.

Referenced by Engines::NWN::Portrait::setSize().

◆ kSuffix

const char* const kSuffix[] = {"h" , "l" , "m" , "s" , "t" , "i" }
static

Definition at line 43 of file portrait.cpp.

Referenced by Engines::NWN::Portrait::setPortrait().

◆ kWidth

const float kWidth[] = {256.0f, 128.0f, 64.0f, 32.0f, 16.0f, 32.0f}
static

Definition at line 44 of file portrait.cpp.

Referenced by Engines::NWN::Portrait::setSize().