mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
New symbol part list control that shows previews and has a built in editor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@529 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -37,7 +37,14 @@ class RealSize {
|
||||
: width(w), height(h)
|
||||
{}
|
||||
inline RealSize(wxSize s)
|
||||
: width(s.GetWidth()), height(s.GetHeight())
|
||||
: width(s.x), height(s.y)
|
||||
{}
|
||||
inline explicit RealSize(const Vector2D& v)
|
||||
: width(v.x), height(v.y)
|
||||
{}
|
||||
/// size of an image
|
||||
inline explicit RealSize(const wxImage& img)
|
||||
: width(img.GetWidth()), height(img.GetHeight())
|
||||
{}
|
||||
|
||||
/// Negation of a size, negates both components
|
||||
|
||||
Reference in New Issue
Block a user