#include <overviewmapimage.h>
Public Member Functions | |
| OverviewMapImage () | |
| OverviewMapImage (const Surface &image) | |
| bool | valid () const |
| void | create (const Surface &image) |
| void | read (tnstream &stream) |
| void | write (tnstream &stream) const |
| void | blit (Surface &s, const SPoint &pos, int layer=0) const |
| int | getMemoryFootprint () const |
Static Public Member Functions | |
| static SPoint | map2surface (const MapCoordinate &pos) |
| static MapCoordinate | surface2map (const SPoint &pos) |
| static void | fill (Surface &s, const SPoint &pos, SDLmm::Color color) |
| static void | fill (Surface &s, const SPoint &pos, SDL_Color color) |
| static void | fillCenter (Surface &s, const SPoint &pos, SDLmm::Color color) |
| static void | fillCenter (Surface &s, const SPoint &pos, SDL_Color color) |
| static void | lighten (Surface &s, const SPoint &pos, float value) |
Public Attributes | |
| SDLmm::ColorRGBA | segment [width][height] |
Static Public Attributes | |
| static const int | width = 4 |
| static const int | height = 4 |
Definition at line 27 of file overviewmapimage.h.
|
|
Definition at line 7 of file overviewmapimage.cpp. |
|
|
Definition at line 11 of file overviewmapimage.cpp. References create(). |
|
||||||||||||||||
|
Definition at line 136 of file overviewmapimage.cpp. References assert, height, segment, PutPixel< pixelsize, ColorMerger >::set(), and width. |
|
|
Definition at line 67 of file overviewmapimage.cpp. References IconRepository::getIcon(), height, Surface::isTransparent(), Surface::opaque, pal, segment, Surface::transparent, and width. Referenced by OverviewMapImage(). |
|
||||||||||||||||
|
Definition at line 153 of file overviewmapimage.cpp. References fill(). |
|
||||||||||||||||
|
Definition at line 158 of file overviewmapimage.cpp. Referenced by fill(), and OverviewMapHolder::updateField(). |
|
||||||||||||||||
|
Definition at line 167 of file overviewmapimage.cpp. References fillCenter(). |
|
||||||||||||||||
|
Definition at line 172 of file overviewmapimage.cpp. Referenced by fillCenter(), and OverviewMapHolder::updateField(). |
|
|
Definition at line 16 of file overviewmapimage.cpp. Referenced by TerrainType::Weather::getMemoryFootprint(). |
|
||||||||||||||||
|
Definition at line 180 of file overviewmapimage.cpp. References height, lighten_Color(), and width. Referenced by OverviewMapHolder::updateField(). |
|
|
Definition at line 23 of file overviewmapimage.cpp. References MapCoordinate::x, and MapCoordinate::y. Referenced by Weathercast::painter(), OverviewMapPanel::painter(), Weathercast::paintWeatherArea(), and OverviewMapHolder::updateField(). |
|
|
|
|
|
Definition at line 28 of file overviewmapimage.cpp. Referenced by Weathercast::mouseClick(), and OverviewMapPanel::mouseClick(). |
|
|
Definition at line 37 of file overviewmapimage.h. |
|
|
|
|
|
Definition at line 31 of file overviewmapimage.h. |
|
|
Definition at line 34 of file overviewmapimage.h. |
|
|
Definition at line 30 of file overviewmapimage.h. |
1.4.2