-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the gfxplusplus wiki!
Graphics++ (gfxpp) is a C++ GUI library. gfxpp is designed to work in a multi-threaded environment using the ShmeaDB/GNet framework. gfxpp contains the ability to print and type text. gfxpp also has fast real time graphing and is able to output various types of Graphs.
GItem is the base layer abstraction that all over are GUI related objects inherit from. GItem is made up of "Mini Components". Mini Components are described in a later section below.
Examples that use GItem:
RUComponentGLayoutGPanel
Set Background to Image Component using Image class
shmea::GPointer<shmea::Image> newImage(new shmea::Image());
newImage->LoadPNG("resources/ru.png");
// Load button
// RUImageComponent* imgTest = new RUImageComponent("resources/ru.png");
RUImageComponent* imgTest = new RUImageComponent();
imgTest->setWidth(400);
imgTest->setHeight(400);
imgTest->setBGImage(newImage);
graphsLayout->addSubItem(imgTest);
Every GUI panel must inherit from GPanel.
- Basic class example with a form
-GuiCommanders Explanation and Example
You can add GItems to this layout to stack them vertically or horizontally.
Code Example Here
Currently needs to be developed.
RUBackgroundComponentRUBorderComponentRUKeyDownRUKeyUpRULoseFocusRUMouseDownRUMouseMotionRUMouseUpRUMouseWheel