summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H2
-rw-r--r--FL/Fl_Gl_Window.H2
2 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index a19788545..5c84a8d10 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -1063,6 +1063,7 @@ int main() {
// color map:
static void set_color(Fl_Color, uchar, uchar, uchar);
+ static void set_color(Fl_Color, uchar, uchar, uchar, uchar);
/**
Sets an entry in the fl_color index table. You can set it to any
8-bit RGB color. The color is not allocated until fl_color(i) is used.
@@ -1070,6 +1071,7 @@ int main() {
static void set_color(Fl_Color i, unsigned c); // platform dependent
static unsigned get_color(Fl_Color i);
static void get_color(Fl_Color i, uchar &red, uchar &green, uchar &blue);
+ static void get_color(Fl_Color i, uchar &red, uchar &green, uchar &blue, uchar &alpha);
/**
Frees the specified color from the colormap, if applicable.
If overlay is non-zero then the color is freed from the
diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H
index e3279f915..7d99f1a03 100644
--- a/FL/Fl_Gl_Window.H
+++ b/FL/Fl_Gl_Window.H
@@ -67,7 +67,9 @@ class FL_EXPORT Fl_Gl_Window : public Fl_Window {
int mode(int, const int *);
static int gl_plugin_linkage();
protected:
+ void draw_begin();
virtual void draw();
+ void draw_end();
public:
void show();