@ObjPos.h 796 B

12345678910111213141516171819202122232425
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class ObjPos : Region
  4. {
  5. Memx<Property> props;
  6. TextBlack ts;
  7. Button cancel;
  8. bool applying;
  9. Vec delta;
  10. static void Cancel (ObjPos &op);
  11. static void Changed(ObjPos &op);
  12. ObjPos& create(C Vec2 &up);
  13. void apply();
  14. void move(C Vec &delta);
  15. void reset();
  16. virtual void update(C GuiPC &gpc)override;
  17. public:
  18. ObjPos();
  19. };
  20. /******************************************************************************/
  21. /******************************************************************************/
  22. /******************************************************************************/