summaryrefslogtreecommitdiff
path: root/test/fonts.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2022-12-17 13:16:57 +0100
committerGitHub <noreply@github.com>2022-12-17 13:16:57 +0100
commit08f6741d7b0115787309c9ee4800ecbe317c3c07 (patch)
tree9663fa697c71f5935b66acbb504edc2e48a64c11 /test/fonts.cxx
parent07041ea06e5516c6dc1b1421bfdb1f58678c56fd (diff)
Make unittest conform to CMP (#597)
Update unittest README
Diffstat (limited to 'test/fonts.cxx')
-rw-r--r--test/fonts.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fonts.cxx b/test/fonts.cxx
index 694b1d7bf..ef161eae3 100644
--- a/test/fonts.cxx
+++ b/test/fonts.cxx
@@ -265,10 +265,10 @@ Fl_Window *create_editor()
return win;
}
-class MainWindow : public Fl_Double_Window
+class Ut_Main_Window : public Fl_Double_Window
{
public:
- MainWindow(int w, int h, const char *l=0)
+ Ut_Main_Window(int w, int h, const char *l=0)
: Fl_Double_Window(w, h, l) { }
int handle(int event) {
if (event==FL_KEYBOARD && Fl::event_key()==FL_F+1) {
@@ -300,7 +300,7 @@ void create_the_forms() {
label[i] = 0;
// create the basic layout
- form = new MainWindow(550,370);
+ form = new Ut_Main_Window(550,370);
tile = new Fl_Tile(0, 0, 550, 370);