Slippers Engine
 
Loading...
Searching...
No Matches
Panel Class Reference

Extra feature of ScreenLog. More...

#include <Panel.h>

Collaboration diagram for Panel:
Collaboration graph

Private Member Functions

void Add (char *A,...)
 Adds a new line to the panel.
 
void SetPos (float x, float y)
 Changes top left position of panel.
 

Detailed Description

Extra feature of ScreenLog.

Member Function Documentation

◆ Add()

void Panel::Add ( char * A,
... )
private

Adds a new line to the panel.

You can add floats and ints like with printf Example:

p->Add("Demo line");
p->Add("%i", demoInt);
p->Add("%3.1f", demoFloat);
Parameters
A

◆ SetPos()

void Panel::SetPos ( float x,
float y )
private

Changes top left position of panel.

Parameters
x
y