TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_base_types.h File Reference
#include <stdint.h>
#include <assert.h>
#include <algorithm>
#include <functional>

Go to the source code of this file.

Classes

struct  tachyon::int2
 Integer 2D vector. More...
struct  tachyon::int3
struct  tachyon::int4
struct  tachyon::uint2
struct  tachyon::uint3
struct  tachyon::uint4
struct  tachyon::float2
struct  tachyon::float3
struct  tachyon::float4
struct  tachyon::float2x2
struct  tachyon::float3x2
 2D affine transform matrix (2 rows x 3 columns): x' = r0.x*x + r0.y*y + r0.z y' = r1.x*x + r1.y*y + r1.z More...
struct  tachyon::float4x4
struct  tachyon::byte2
struct  tachyon::byte3
struct  tachyon::byte4
struct  tachyon::short2
struct  tachyon::short3
struct  tachyon::short4
struct  tachyon::ushort2
struct  tachyon::ushort3
struct  tachyon::ushort4
struct  tachyon::color4b
struct  tachyon::color4f
struct  tachyon::IntRect

Namespaces

namespace  tachyon

Typedefs

using tachyon::OnGuiFunc = std::function<void()>
using tachyon::byte = unsigned char
using tachyon::ushort = unsigned short

Functions

uint16_t tachyon::FloatToHalf (float value)
float tachyon::HalfToFloat (uint16_t value)
int64_t tachyon::SteadyClockNowNanos ()
 Monotonic steady_clock time in nanoseconds; a plain int64_t keeps <chrono> out of widely-included headers.