Aktuellste Version der GUI-main.cpp. Farben werden nun von der Shared Mamory ausgelesen.

This commit is contained in:
Edgar Schkrob 2019-11-14 12:36:40 +01:00
parent 2a8b11f6d3
commit a72cc768db

View File

@ -14,10 +14,6 @@
/** The class inherits a char *text from the Fl_Box. It also shows the window-resolution and the mouse-position.
* @param text: A pointer to a char-array, that can contain a text like a status or whatever you want.
* @parameter x: The mouse-position on the x-axis.
* @parameter y: The mouse-position on the y-axis:
* @parameter w: The width of a single pixel,
* @parameter h: The height of a single pixel.
*/
class Statusbar: public Fl_Box {
char *text;
@ -68,7 +64,6 @@ class Image : public Fl_Widget {
*/
public:
/*Constructor*/
Image(int x, int y, int w, int h) :
Fl_Widget(x, y, w, h, 0) {
buf = new uchar[w * h * 3];