Iros
Loading...
Searching...
No Matches
tty.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/types/integers.h
"
4
5
namespace
dius::tty
{
6
struct
WindowSize
{
7
u32
rows
{ 0 };
8
u32
cols
{ 0 };
9
u32
pixel_width
{ 0 };
10
u32
pixel_height
{ 0 };
11
12
auto
operator==
(
WindowSize
const
&)
const
->
bool
=
default
;
13
};
14
}
integers.h
di::types::u32
__UINT32_TYPE__ u32
Definition
integers.h:11
dius::tty
Definition
tty.h:5
dius::tty::WindowSize
Definition
tty.h:6
dius::tty::WindowSize::rows
u32 rows
Definition
tty.h:7
dius::tty::WindowSize::operator==
auto operator==(WindowSize const &) const -> bool=default
dius::tty::WindowSize::cols
u32 cols
Definition
tty.h:8
dius::tty::WindowSize::pixel_width
u32 pixel_width
Definition
tty.h:9
dius::tty::WindowSize::pixel_height
u32 pixel_height
Definition
tty.h:10
libs
dius
include
dius
tty.h
Generated by
1.13.0