X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Frenddesc.h;h=cce4fd32bfa5df29ce8c3adeb6f6b90aa822bc7b;hb=0dc833151455b153bde88988b4137b64216551c8;hp=0f433d64d7a0cff153979b21b1fd57a15d5d9ecd;hpb=0962b310bc44fd9a2b4904db9b91185ff0bfd1ed;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/renddesc.h b/synfig-core/trunk/src/synfig/renddesc.h index 0f433d6..cce4fd3 100644 --- a/synfig-core/trunk/src/synfig/renddesc.h +++ b/synfig-core/trunk/src/synfig/renddesc.h @@ -55,15 +55,15 @@ class RendDesc public: enum Lock { - PX_ASPECT=(1<<0), // "_Pixel Aspect" in Locks and Links + PX_ASPECT=(1<<0), // "Pixel Aspect" in Locks and Links PX_AREA=(1<<1), // not used - PX_W=(1<<2), // "Pi_xel Width" in Locks and Links - PX_H=(1<<3), // "Pix_el Height" in Locks and Links + PX_W=(1<<2), // "Pixel Width" in Locks and Links - not used + PX_H=(1<<3), // "Pixel Height" in Locks and Links - not used - IM_ASPECT=(1<<4), // "Image _Aspect" in Locks and Links - IM_SPAN=(1<<5), // "Image _Span" in Locks and Links - IM_W=(1<<6), // "Image _Width" in Locks and Links - IM_H=(1<<7), // "Image _Height" in Locks and Links + IM_ASPECT=(1<<4), // "Image Aspect" in Locks and Links + IM_SPAN=(1<<5), // "Image Span" in Locks and Links + IM_W=(1<<6), // "Image Width" in Locks and Links + IM_H=(1<<7), // "Image Height" in Locks and Links IM_ZOOMIN=(1<<8), // not used IM_ZOOMOUT=(1<<9), // not used @@ -304,17 +304,6 @@ inline RendDesc::Lock operator~(RendDesc::Lock rhs) return static_cast(~(int)rhs); } -//! \todo This code isn't used - so how are flags checked? Using the FLAGS macro from color.h? -//! This operator is for checking RendDesc::Lock flags. -/*! Don't think of it as "less then or equal to", but think of it -** like an arrow. Is \a rhs inside of \a lhs ? -** \see RendDesc::Lock, RendDesc */ -// inline bool operator<=(RendDesc::Lock lhs, RendDesc::Lock rhs) -// { -// return (static_cast(lhs) & static_cast(rhs)) == static_cast(rhs); -// } - - }; /* end namespace synfig */ /* === E N D =============================================================== */