From cc8ba8e9ab38629beed5dcdfcc95be065c1e9ccc Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Tue, 19 May 2020 20:35:55 +0000 Subject: [PATCH] fix 3 git-svn-id: svn://kolibrios.org@7954 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/demos/cubeline/trunk/main.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/programs/demos/cubeline/trunk/main.cpp b/programs/demos/cubeline/trunk/main.cpp index 697469c094..1aa520b257 100644 --- a/programs/demos/cubeline/trunk/main.cpp +++ b/programs/demos/cubeline/trunk/main.cpp @@ -29,8 +29,6 @@ static struct { #define KEY_ESC 1 #define KEY_F 33 -static char *title[50] = "Cubeline / F full screen / FPS:"; - static unsigned char FullScreen = 0; static unsigned char skin = 3; @@ -159,17 +157,12 @@ static void disabletgl() delete pri; } -static void Title() -{ - SysCall(71,1,title); -} - static void draw_window(void) { __menuet__window_redraw(1); // start redraw - __menuet__define_window(win.x,win.y,win.dx,win.dy,TYPEWIN(0,0,0,1,skin,0,0,0),0,0); + __menuet__define_window(win.x,win.y,win.dx,win.dy,TYPEWIN(0,0,0,1,skin,0,0,0),0, + "Cubeline / F full screen / FPS:"); __menuet__window_redraw(2); // end redraw - Title(); } int main(void)