[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Camino-devel] camino/src/client Theme.h Theme.cpp
From: |
AUDOUX Pascal |
Subject: |
RE: [Camino-devel] camino/src/client Theme.h Theme.cpp |
Date: |
Thu, 27 Feb 2003 15:07:33 +0100 |
faudrait alors supprimer la methode getZoomSize, puisqu'elle fait la meme
chose
> -----Message d'origine-----
> De : Philippe Fremy [mailto:address@hidden
> Envoyé : jeudi 27 février 2003 14:32
> À : address@hidden
> Objet : [Camino-devel] camino/src/client Theme.h Theme.cpp
>
>
> CVSROOT: /cvsroot/camino
> Module name: camino
> Changes by: Philippe Fremy <address@hidden>
> 03/02/27 08:32:11
>
> Modified files:
> src/client : Theme.h Theme.cpp
>
> Log message:
> method to get the tilesize
>
> Patches:
> Index: camino/src/client/Theme.cpp
> diff -u camino/src/client/Theme.cpp:1.5
> camino/src/client/Theme.cpp:1.6
> --- camino/src/client/Theme.cpp:1.5 Thu Feb 27 05:21:22 2003
> +++ camino/src/client/Theme.cpp Thu Feb 27 08:32:10 2003
> @@ -2,7 +2,7 @@
> **
> ** Camino
> **
> -** Version : $Id: Theme.cpp,v 1.5 2003/02/27 10:21:22 pfremy Exp $
> +** Version : $Id: Theme.cpp,v 1.6 2003/02/27 13:32:10 pfremy Exp $
> **
> ** Author(s) : Philippe Fremy, Pascal Audoux
> ** Creation : 22/01/2003
> @@ -56,7 +56,7 @@
> if (pixmapArray[t].size() == QSize(0,0) ) {
> qDebug("Unable to load pixmap %s",
> filename.latin1() );
> }
> - pixmapArray[t].resize( 85, 85 );
> + pixmapArray[t].resize( getTileSize(), getTileSize() );
> }
> }
>
> @@ -221,5 +221,9 @@
> return pixmapArray[ tile ];
> }
>
> +int Theme::getTileSize()
> +{
> + return 50;
> +}
>
>
> Index: camino/src/client/Theme.h
> diff -u camino/src/client/Theme.h:1.5 camino/src/client/Theme.h:1.6
> --- camino/src/client/Theme.h:1.5 Thu Feb 27 05:21:22 2003
> +++ camino/src/client/Theme.h Thu Feb 27 08:32:10 2003
> @@ -5,7 +5,7 @@
> ** Theme.h
> ** Manage theme data and pictures
> **
> -** Version : $Id: Theme.h,v 1.5 2003/02/27 10:21:22 pfremy Exp $
> +** Version : $Id: Theme.h,v 1.6 2003/02/27 13:32:10 pfremy Exp $
> ** Author(s) : Philippe Fremy, Pascal Audoux
> ** Creation : 22/01/2003
> ** Copyright: Pascal Audoux, Philippe Fremy 2003
> @@ -75,6 +75,8 @@
> // simplified theme by philippe, until Pascal creates
> the real stuff
> const QPixmap & pixmapForTile( Tile::TileType tile );
> static QString filenameForType( Tile::TileType tile );
> + //! return tileSize according to zoom and theme
> + int getTileSize();
>
> protected:
> QPixmap pixmapArray[ Tile::LAST_TILE ];
>
>
> _______________________________________________
> Camino-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/camino-devel
>
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/