PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
PFont.h File Reference
#include "PWidget.h"
#include "PColor.h"
#include <string>
#include "../utility/rc_ptrs.h"
#include "../base/PEBLObject.h"

Go to the source code of this file.

Classes

class  PFont
 

Enumerations

enum  PFontStyle { PFS_Normal = 0x00 , PFS_Bold = 0x01 , PFS_Italic = 0x02 , PFS_Underline = 0x04 }
 

Enumeration Type Documentation

◆ PFontStyle

enum PFontStyle

This class represents a font in a cross-platform manner. It includes face, size, style, foreground/background color, and whether or not it should be anti-aliased. This should be overridden by a platform-specific PlatformFont class that hooks this information into specific font types and renderers.

Enumerator
PFS_Normal 
PFS_Bold 
PFS_Italic 
PFS_Underline 

Definition at line 43 of file PFont.h.

44 {
45 PFS_Normal = 0x00,
46 PFS_Bold = 0x01,
47 PFS_Italic = 0x02,
48 PFS_Underline = 0x04
49 };
@ PFS_Underline
Definition PFont.h:48
@ PFS_Normal
Definition PFont.h:45
@ PFS_Bold
Definition PFont.h:46
@ PFS_Italic
Definition PFont.h:47