You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Screen class should be an abstraction around an area of the framebuffer. It should contain an x and y for the origin (origin is the top left pixel), a width, height, depth (for determining what screens should overlap it), and a pointer to the parent screen in order to determine the positioning of origin relative to the parent.
//hello.cpp// e.g: a litle window with one label//Graphics::Screen(X-origin,Y-origin, width, heigh, z-index);Graphics::Screen(0,0,100,100,1) myScreen;
Gui::Label("Hi, i'm a hello box.") label1;
//myScreen.append(Component_Instance, positionX, position Y );// This positions is relative with screen position
myScreen.append(label1, 10, 10);
myScreen.draw();
The
Screen
class should be an abstraction around an area of the framebuffer. It should contain anx
andy
for the origin (origin is the top left pixel), a width, height, depth (for determining what screens should overlap it), and a pointer to the parent screen in order to determine the positioning of origin relative to the parent.The text was updated successfully, but these errors were encountered: