summaryrefslogtreecommitdiff
path: root/plugingui/painter.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-06 09:30:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-06 09:30:52 +0100
commita0b7282b31ed31051ee98bf16e8704d5599e5461 (patch)
tree49798ac70adbac0e065781833f045bab8a65bb0b /plugingui/painter.h
parentdff2ff5b636d9d7007bf8589204e6a7138ee4004 (diff)
Major GUI workover. Hilights: A new filebrowser and new knob widget.
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r--plugingui/painter.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugingui/painter.h b/plugingui/painter.h
index c9fd60d..b45cf3a 100644
--- a/plugingui/painter.h
+++ b/plugingui/painter.h
@@ -64,11 +64,17 @@ public:
void drawRectangle(int x1, int y1, int x2, int y2);
void drawFilledRectangle(int x1, int y1, int x2, int y2);
void drawPoint(int x, int y);
- void drawCircle(int x, int y, int r);
+ void drawCircle(int x, int y, double r);
void drawFilledCircle(int x, int y, int r);
void drawImage(int x, int y, struct __img__ * img);
private:
+ void plot(int x, int y, double c);
+ double ipart(double x);
+ double round(double x);
+ double fpart(double x);
+ double rfpart(double x);
+
Widget *widget;
PixelBufferAlpha *pixbuf;
Colour colour;