cmdfx 0.2.1
Lightweight game engine for your terminal
Loading...
Searching...
No Matches
screen.hpp File Reference

C++ Extensions for the CmdFX Screen API. More...

#include <string>
#include "cmdfx/core/screen.h"

Go to the source code of this file.

Namespaces

namespace  CmdFX
 Primary namespace for CmdFX.
 
namespace  CmdFX::Screen
 C++ wrapper for the CmdFX Screen API.
 
namespace  CmdFX::Window
 C++ wrapper for the CmdFX Window API.
 

Functions

void CmdFX::Screen::getScreenSize (int *width, int *height)
 
void CmdFX::Screen::getMousePos (int *x, int *y)
 
int CmdFX::Screen::isEchoEnabled ()
 
void CmdFX::Screen::setEchoEnabled (int echoEnabled)
 
int CmdFX::Screen::isLineBuffered ()
 
void CmdFX::Screen::setLineBuffered (int lineBuffered)
 
bool CmdFX::Screen::isInTerminal ()
 
void CmdFX::Screen::ensureInTerminal ()
 
const char * CmdFX::Window::getTitle ()
 
void CmdFX::Window::setTitle (const char *title)
 
void CmdFX::Window::setTitle (const std::string &title)
 
void CmdFX::Window::getSize (int *width, int *height)
 
void CmdFX::Window::setSize (int width, int height)
 

Detailed Description

C++ Extensions for the CmdFX Screen API.

Author
Gregory Mitchell (me@gm.nosp@m.itch.nosp@m.215.x.nosp@m.yz)
Version
0.2.1
Date
2025-05-20