@ObjScale.h 861 B

12345678910111213141516171819202122232425
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class ObjScale : Region
  4. {
  5. Memx<Property> props;
  6. TextBlack ts;
  7. Vec scale;
  8. flt scale_all;
  9. bool multi_val[4];
  10. static void ChangedX(ObjScale &os);
  11. static void ChangedY(ObjScale &os);
  12. static void ChangedZ(ObjScale &os);
  13. static void ChangedXYZ(ObjScale &os);
  14. ObjScale& create(C Vec2 &up);
  15. void reset(int skip=-1);
  16. virtual void update(C GuiPC &gpc)override;
  17. public:
  18. ObjScale();
  19. };
  20. /******************************************************************************/
  21. /******************************************************************************/
  22. /******************************************************************************/