aboutsummaryrefslogtreecommitdiff
path: root/games/blackjack/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'games/blackjack/files/patch-ad')
-rw-r--r--games/blackjack/files/patch-ad82
1 files changed, 0 insertions, 82 deletions
diff --git a/games/blackjack/files/patch-ad b/games/blackjack/files/patch-ad
deleted file mode 100644
index e9c40af96079..000000000000
--- a/games/blackjack/files/patch-ad
+++ /dev/null
@@ -1,82 +0,0 @@
---- card.cpp.orig Sun Dec 5 16:45:34 1999
-+++ card.cpp Sun Feb 2 01:06:55 2003
-@@ -201,7 +201,7 @@
- QBitmap *bitmap_p = new QBitmap(CARD_W, CARD_H, TRUE);
- QBitmap *back_bitmap_p = new QBitmap(logo_width, logo_height, logo_bits,
- TRUE);
-- QBrush fill(Qt::white);
-+ QBrush fill(QColor("white"));
- QBrush pattern(Qt::CustomPattern);
- QPainter painter;
-
-@@ -210,7 +210,7 @@
- delete (bitmap_p);
- bitmap_p = NULL;
- } else {
-- QBrush fill_ones(Qt::color1);// make a mask so we don't paint the corners
-+ QBrush fill_ones(Qt::color1); // make a mask so we don't paint the corners
- painter.setBrush(fill_ones); // make pixmap mask for card
- painter.drawRoundRect(0, 0, CARD_W, CARD_H, x_round, y_round);
- painter.end();
-@@ -221,7 +221,7 @@
- delete (pixmap_p);
- pixmap_p = NULL;
- } else {
-- painter.setPen(Qt::black);
-+ painter.setPen(QColor("black"));
-
- if (bitmap_p) // if we made a mask bitmap
- pixmap_p->setMask(*bitmap_p); // set the mask for the pixmap
-@@ -229,7 +229,7 @@
- painter.setBrush(fill);
- painter.drawRoundRect(0, 0, CARD_W, CARD_H, x_round, y_round);
- pattern.setPixmap(*back_bitmap_p);
-- pattern.setColor(Qt::red);
-+ pattern.setColor(QColor("red"));
- painter.setBrush(pattern); // set up some painter options
- painter.drawRoundRect(0, 0, CARD_W, CARD_H, x_round, y_round);
- painter.end();
-@@ -255,21 +255,21 @@
- QColor color;
- QPixmap *pixmap_p = new QPixmap(CARD_W, CARD_H);
- QBitmap *bitmap_p = new QBitmap(CARD_W, CARD_H, TRUE);
-- QBrush fill(Qt::white); // make two brushes, fill and no_fill
-+ QBrush fill(QColor("white")); // make two brushes, fill and no_fill
- QBrush no_fill(Qt::NoBrush);
- QPainter painter;
-
- if (_suit == HEART || _suit == DIAMOND)
-- color = Qt::red;
-+ color = QColor("red");
- else
-- color = Qt::black;
-+ color = QColor("black");
-
- if ((painter.begin(bitmap_p)) == FALSE) {
- cerr << "card::makePixmap(): Can't open bitmap paint device\n";
- delete (bitmap_p);
- bitmap_p = NULL;
- } else {
-- QBrush fill_ones(Qt::color1);// make a mask so we don't paint the corners
-+ QBrush fill_ones(Qt::color1); // make a mask so we don't paint the corners
- painter.setBrush(fill_ones); // make pixmap mask for card
- painter.drawRoundRect(0, 0, CARD_W, CARD_H, x_round, y_round);
- painter.end();
-@@ -281,7 +281,7 @@
- pixmap_p = NULL;
- } else {
- painter.setBrush(fill); // set up some painter options
-- painter.setPen(Qt::black);
-+ painter.setPen(QColor("black"));
-
- if (bitmap_p) // if we made a mask bitmap
- pixmap_p->setMask(*bitmap_p); // set the mask for the pixmap
-@@ -295,7 +295,7 @@
- painter.setWorldXForm(FALSE); // disable transformation for now
-
- painter.setPen(color); // draw rank and suit in corners
-- painter.setBackgroundColor(Qt::white);
-+ painter.setBackgroundColor(QColor("white"));
- painter.drawPixmap(4, 6, *_rank_bitmaps[_rank]);
- painter.drawPixmap(4, 23, *_small_suit_bitmaps[_suit]);
- painter.setWorldXForm(TRUE); // now draw flipped rank and suit