Fixed Drawing of rects in Emulator.
Got frames from pixy to emulator. Slooooow.
This commit is contained in:
@@ -20,7 +20,7 @@ public:
|
||||
void clear(uint16_t color);
|
||||
void draw_rectangle(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color);
|
||||
void fill_rectangle(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color);
|
||||
void draw_bitmap_unscaled(uint16_t x, uint16_t y, uint16_t width, uint16_t height, const uint8_t* dat);
|
||||
void draw_bitmap_unscaled(uint16_t x, uint16_t y, uint16_t width, uint16_t height, const uint16_t *dat);
|
||||
|
||||
|
||||
protected:
|
||||
@@ -28,8 +28,8 @@ protected:
|
||||
~MainWindow();
|
||||
|
||||
private:
|
||||
QMutex render_mutex;
|
||||
QPixmap pixmap;
|
||||
//QMutex render_mutex;
|
||||
QImage image;
|
||||
|
||||
Ui::MainWindow *ui;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user