PIP 5.5.3
Platform-Independent Primitives
Перечисления | Функции
Файл piscreentypes.h

Типы для PIScreen. Подробнее...

#include "pip_console_export.h"
#include "pivariant.h"
#include "pivariantsimple.h"

Перечисления

enum  PIScreenTypes::Color {
  PIScreenTypes::Default , PIScreenTypes::Black , PIScreenTypes::Red , PIScreenTypes::Green ,
  PIScreenTypes::Blue , PIScreenTypes::Cyan , PIScreenTypes::Magenta , PIScreenTypes::Yellow ,
  PIScreenTypes::White , PIScreenTypes::Transparent
}
 Color for chars or background. Подробнее...
 
enum  PIScreenTypes::CharFlag { PIScreenTypes::Bold = 0x1 , PIScreenTypes::Blink = 0x2 , PIScreenTypes::Underline = 0x4 , Inverse = 0x08 }
 Flags for chars. Подробнее...
 
enum  PIScreenTypes::Alignment { PIScreenTypes::Left , PIScreenTypes::Center , PIScreenTypes::Right }
 Alignment. Подробнее...
 
enum  PIScreenTypes::SizePolicy { PIScreenTypes::Fixed , PIScreenTypes::Preferred , PIScreenTypes::Expanding , PIScreenTypes::Ignore }
 Size policy. Подробнее...
 
enum  PIScreenTypes::Direction { PIScreenTypes::Horizontal , PIScreenTypes::Vertical }
 Direction. Подробнее...
 
enum  PIScreenTypes::FocusFlag {
  PIScreenTypes::CanHasFocus = 0x1 , PIScreenTypes::NextByTab = 0x2 , PIScreenTypes::NextByArrowsHorizontal = 0x4 , PIScreenTypes::NextByArrowsVertical = 0x8 ,
  PIScreenTypes::NextByArrowsAll = NextByArrowsHorizontal | NextByArrowsVertical , PIScreenTypes::FocusOnMouse = 0x10 , PIScreenTypes::FocusOnWheel = 0x20 , PIScreenTypes::FocusOnMouseOrWheel = FocusOnMouse | FocusOnWheel
}
 Focus flags. Подробнее...
 

Функции

template<typename P >
PIBinaryStream< P > & operator<< (PIBinaryStream< P > &s, const PIScreenTypes::Cell &v)
 Оператор сохранения
 
template<typename P >
PIBinaryStream< P > & operator>> (PIBinaryStream< P > &s, PIScreenTypes::Cell &v)
 Оператор извлечения
 
template<typename P >
PIBinaryStream< P > & operator<< (PIBinaryStream< P > &s, const PIScreenTypes::TileEvent &v)
 Оператор сохранения
 
template<typename P >
PIBinaryStream< P > & operator>> (PIBinaryStream< P > &s, PIScreenTypes::TileEvent &v)
 Оператор извлечения
 

Подробное описание

Типы для PIScreen.

Перечисления

◆ Color

Color for chars or background.

Элементы перечислений
Default 

Default

Black 

Black

Red 

Red

Green 

Green

Blue 

Blue

Cyan 

Cyan

Magenta 

Magenta

Yellow 

Yellow

White 

White

Transparent 

Save previous color

◆ CharFlag

Flags for chars.

Элементы перечислений
Bold 

Bold or bright

Blink 

Blink text

Underline 

Underline text

◆ Alignment

Alignment.

Элементы перечислений
Left 

Left

Center 

Center

Right 

Right

◆ SizePolicy

Size policy.

Элементы перечислений
Fixed 

Fixed size

Preferred 

Preferred size

Expanding 

Maximum available size

Ignore 

Ignore layout logic

◆ Direction

Direction.

Элементы перечислений
Horizontal 

Horizontal

Vertical 

Vertical

◆ FocusFlag

Focus flags.

Элементы перечислений
CanHasFocus 

Tile can has focus

NextByTab 

Focus passed to next tile by tab key

NextByArrowsHorizontal 

Focus passed to next tile by arrow keys left or right

NextByArrowsVertical 

Focus passed to next tile by arrow keys up or down

NextByArrowsAll 

Focus passed to next tile by any arrow key

FocusOnMouse 

Tile focused on mouse press

FocusOnWheel 

Tile focused on wheel

FocusOnMouseOrWheel 

Tile focused on mouse press or wheel