mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
Cleanup: indentation of public/protected/private keywords
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ class Rotation;
|
||||
|
||||
/// A bezier curve for evaluation
|
||||
class BezierCurve {
|
||||
public:
|
||||
public:
|
||||
/// coefficients of the equation (x,y) = at^3 + bt^2 + ct + d
|
||||
Vector2D a, b, c, d;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class Package;
|
||||
/** The actual generation is independend of the script execution
|
||||
*/
|
||||
class GeneratedImage : public ScriptValue, public IntrusiveFromThis<GeneratedImage> {
|
||||
public:
|
||||
public:
|
||||
/// Options for generating the image
|
||||
struct Options {
|
||||
Options(int width = 0, int height = 0, Package* package = nullptr, Package* local_package = nullptr, PreserveAspect preserve_aspect = ASPECT_STRETCH, bool saturate = false)
|
||||
@@ -243,7 +243,7 @@ private:
|
||||
|
||||
/// Flip an image horizontally
|
||||
class FlipImageHorizontal : public SimpleFilterImage {
|
||||
public:
|
||||
public:
|
||||
inline FlipImageHorizontal(const GeneratedImageP& image)
|
||||
: SimpleFilterImage(image)
|
||||
{}
|
||||
@@ -338,7 +338,7 @@ private:
|
||||
|
||||
/// Return a built in image
|
||||
class BuiltInImage : public GeneratedImage {
|
||||
public:
|
||||
public:
|
||||
inline BuiltInImage(const String& name)
|
||||
: name(name)
|
||||
{}
|
||||
|
||||
+2
-2
@@ -145,7 +145,7 @@ void set_alpha(Image& img, double alpha);
|
||||
/** It is created by treating black in the source image as transparent and white (red) as opaque
|
||||
*/
|
||||
class AlphaMask : public IntrusivePtrBase<AlphaMask> {
|
||||
public:
|
||||
public:
|
||||
AlphaMask();
|
||||
AlphaMask(const Image& mask);
|
||||
~AlphaMask();
|
||||
@@ -181,7 +181,7 @@ class AlphaMask : public IntrusivePtrBase<AlphaMask> {
|
||||
/// Is the mask loaded?
|
||||
inline bool isLoaded() const { return alpha; }
|
||||
|
||||
private:
|
||||
private:
|
||||
wxSize size; ///< Size of the mask
|
||||
Byte* alpha; ///< Data of alpha mask
|
||||
mutable int *lefts, *rights; ///< Row sizes
|
||||
|
||||
Reference in New Issue
Block a user