summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthiasWM <visualc.git@matthiasm.com>2023-11-29 13:16:35 +0100
committerMatthiasWM <visualc.git@matthiasm.com>2023-11-29 13:16:35 +0100
commit06e2bd7f0e295a34c28ddbb4fa7a03644540bb5c (patch)
tree0c0f9fc3cbb5d290e56ce373695de4991c78bf64 /FL
parent75c879e2ff5022a4084b259c53a769d77ae13713 (diff)
parent44b845cc42b9a0326b6aa3438462bcd1b77ddeb4 (diff)
Merge branch 'master' of https://github.com/fltk/fltk
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Bitmap.H2
-rw-r--r--FL/Fl_Graphics_Driver.H2
-rw-r--r--FL/Fl_Image.H2
-rw-r--r--FL/Fl_Pixmap.H2
-rw-r--r--FL/Fl_Text_Display.H2
5 files changed, 8 insertions, 2 deletions
diff --git a/FL/Fl_Bitmap.H b/FL/Fl_Bitmap.H
index 7fde10f5b..677af7db4 100644
--- a/FL/Fl_Bitmap.H
+++ b/FL/Fl_Bitmap.H
@@ -61,6 +61,8 @@ public:
void label(Fl_Widget*w) FL_OVERRIDE;
void label(Fl_Menu_Item*m) FL_OVERRIDE;
void uncache() FL_OVERRIDE;
+ int cache_w() {return cache_w_;}
+ int cache_h() {return cache_h_;}
};
#endif
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index 1d7c3d702..49d6d4fc4 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -383,7 +383,7 @@ public:
Fl_Fontsize size; /**< font size */
Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size);
virtual FL_EXPORT ~Fl_Font_Descriptor() {}
- short ascent, descent;
+ int ascent, descent;
unsigned int listbase;// base of display list, 0 = none
};
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H
index eb7aef3c6..a8f514f36 100644
--- a/FL/Fl_Image.H
+++ b/FL/Fl_Image.H
@@ -369,6 +369,8 @@ public:
void label(Fl_Widget*w) FL_OVERRIDE;
void label(Fl_Menu_Item*m) FL_OVERRIDE;
void uncache() FL_OVERRIDE;
+ int cache_w() {return cache_w_;}
+ int cache_h() {return cache_h_;}
/** Sets the maximum allowed image size in bytes when creating an Fl_RGB_Image object.
The image size in bytes of an Fl_RGB_Image object is the value of the product w() * h() * d().
diff --git a/FL/Fl_Pixmap.H b/FL/Fl_Pixmap.H
index ddf996fba..0efdb84c7 100644
--- a/FL/Fl_Pixmap.H
+++ b/FL/Fl_Pixmap.H
@@ -72,6 +72,8 @@ public:
void label(Fl_Widget*w) FL_OVERRIDE;
void label(Fl_Menu_Item*m) FL_OVERRIDE;
void uncache() FL_OVERRIDE;
+ int cache_w() {return cache_w_;}
+ int cache_h() {return cache_h_;}
};
#endif
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H
index 2d2d2d565..c736db1e0 100644
--- a/FL/Fl_Text_Display.H
+++ b/FL/Fl_Text_Display.H
@@ -498,7 +498,7 @@ protected:
int leftClip, int rightClip) const;
int handle_rmb(int readonly);
-
+
void draw_line_numbers(bool clearAll);
void clear_rect(int style, int x, int y, int width, int height) const;