You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
987 B
41 lines
987 B
15 years ago
|
//========================================================================
|
||
|
//
|
||
4 years ago
|
// SplashPattern.cpp
|
||
15 years ago
|
//
|
||
|
//========================================================================
|
||
|
|
||
|
#include <aconf.h>
|
||
|
|
||
|
#ifdef USE_GCC_PRAGMAS
|
||
|
#pragma implementation
|
||
|
#endif
|
||
|
|
||
|
#include "SplashMath.h"
|
||
|
#include "SplashScreen.h"
|
||
|
#include "SplashPattern.h"
|
||
|
|
||
|
//------------------------------------------------------------------------
|
||
|
// SplashPattern
|
||
|
//------------------------------------------------------------------------
|
||
|
|
||
|
SplashPattern::SplashPattern() {
|
||
|
}
|
||
|
|
||
|
SplashPattern::~SplashPattern() {
|
||
|
}
|
||
|
|
||
|
//------------------------------------------------------------------------
|
||
|
// SplashSolidColor
|
||
|
//------------------------------------------------------------------------
|
||
|
|
||
|
SplashSolidColor::SplashSolidColor(SplashColorPtr colorA) {
|
||
|
splashColorCopy(color, colorA);
|
||
|
}
|
||
|
|
||
|
SplashSolidColor::~SplashSolidColor() {
|
||
|
}
|
||
|
|
||
|
void SplashSolidColor::getColor(int /*x*/, int /*y*/, SplashColorPtr c) {
|
||
|
splashColorCopy(c, color);
|
||
|
}
|