#include "graphics.hpp" #include "uszo.cpp" using namespace genv; int main() { gout.open(400,400); widget x; rgbcolor sarga(255,255,0); rgbcolor fekete(0,0,0); x.cel_kereszt(200,200,10, sarga, fekete); gout << refresh; event ev; while(gin) {gin >> ev;} } #################################################################### #include "uszo.h" #include "graphics.hpp" using namespace genv; rgbcolor::rgbcolor(int r, int g, int b) : red(r), green(g), blue(b) {} void widget::cel(int x, int y, int r, rgbcolor szin){ gout << color(szin.red,szin.green,szin.blue); for(int i=-r; i