1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Description: Migrate to libfltk1.3-dev to support UTF-8.
Author: Innocent De Marchi
Last-Update: 2017-12-22
--- a/DiffWindow.h
+++ b/DiffWindow.h
@@ -76,12 +76,14 @@
~DiffWindow();
void color(Fl_Color c) { view_.color(c); }
- Fl_Color color() const { return (view_.color()); }
+ //Fl_Color color() const { return (view_.color()); }
+ int color() const { return (view_.color()); }
int handle(int event);
bool load(const char *file1, const char *file2);
void resize(int X, int Y, int W, int H);
void selection_color(Fl_Color c) { view_.selection_color(c); }
- Fl_Color selection_color() const { return (view_.selection_color()); }
+ //Fl_Color selection_color() const { return (view_.selection_color()); }
+ int selection_color() const { return (view_.selection_color()); }
void showlinenum(bool b) { view_.showlinenum(b); }
bool showlinenum() const { return (view_.showlinenum()); }
void ignoreblanks(bool b) { view_.ignoreblanks(b); }
@@ -89,7 +91,8 @@
void tabwidth(int t) { view_.tabwidth(t); }
int tabwidth() const { return (view_.tabwidth()); }
void textcolor(Fl_Color c) { view_.textcolor(c); }
- Fl_Color textcolor() const { return (view_.textcolor()); }
+ //Fl_Color textcolor() const { return (view_.textcolor()); }
+ int textcolor() const { return (view_.textcolor()); }
void textfont(uchar f) { view_.textfont(f); }
uchar textfont() const { return (view_.textfont()); }
void textsize(uchar s) { view_.textsize(s); }
|