mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
30 lines
842 B
Plaintext
30 lines
842 B
Plaintext
--- lines.cpp.orig Sun Feb 2 01:23:47 2003
|
|
+++ lines.cpp Sun Feb 2 01:26:32 2003
|
|
@@ -13,7 +13,7 @@
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
|
|
-QColor colors[]={red,darkBlue,green,yellow,darkCyan,darkMagenta};
|
|
+QColor colors[]={QColor("red"),QColor("darkBlue"),QColor("green"),QColor("yellow"),QColor("darkCyan"),QColor("darkMagenta")};
|
|
#define NOCOLOR -1
|
|
#define RED 0
|
|
#define BLUE 1
|
|
@@ -502,7 +502,7 @@
|
|
score->setGeometry(300,120,85,45);
|
|
curScore=0;
|
|
score->display(0);
|
|
- movie=new QMovie("trolltech.gif");
|
|
+ movie=new QMovie("/usr/X11R6/share/xlines/trolltech.gif");
|
|
label=new QLabel(this,"label");
|
|
label->setFrameStyle(QFrame::Box|QFrame::Plain);
|
|
label->setMovie(*movie);
|
|
@@ -523,7 +523,7 @@
|
|
{
|
|
}
|
|
|
|
-void main(int argc,char *argv[])
|
|
+int main(int argc,char *argv[])
|
|
{
|
|
QApplication app(argc,argv);
|
|
|