c_layout.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __C_LAYOUT_H
  3. #define __C_LAYOUT_H
  4. #include "c_group.h"
  5. #define C_LAYOUT_PARENT C_Group
  6. class C_Layout : public C_LAYOUT_PARENT {
  7. public:
  8. C_Layout(ScriptObject *object);
  9. C_Layout();
  10. virtual ~C_Layout();
  11. virtual void C_hook(ScriptObject *o);
  12. ScriptObject *getScriptObject();
  13. virtual void onDock();
  14. virtual void onUndock();
  15. virtual void onScale(double newscalevalue);
  16. virtual double getScale();
  17. virtual void setScale(double scalevalue);
  18. virtual void setDesktopAlpha(int onoff);
  19. virtual int getDesktopAlpha();
  20. virtual ScriptObject *getContainer();
  21. virtual void center();
  22. virtual void onMove();
  23. virtual void onEndMove();
  24. virtual void onUserResize(int x, int y, int w, int h);
  25. virtual void snapAdjust(int left, int top, int right, int bottom);
  26. virtual int getSnapAdjustTop();
  27. virtual int getSnapAdjustRight();
  28. virtual int getSnapAdjustLeft();
  29. virtual int getSnapAdjustBottom();
  30. virtual void setRedrawOnResize(int wantredrawonresize);
  31. virtual void beforeRedock();
  32. virtual void redock();
  33. virtual int isTransparencySafe();
  34. virtual int isLayoutAnimationSafe();
  35. virtual void onMouseEnterLayout();
  36. virtual void onMouseLeaveLayout();
  37. virtual void onSnapAdjustChanged();
  38. private:
  39. ScriptObject *obj;
  40. int inited;
  41. static int loaded;
  42. static int ondock_id;
  43. static int onundock_id;
  44. static int onscale_id;
  45. static int getscale_id;
  46. static int setscale_id;
  47. static int setdesktopalpha_id;
  48. static int getdesktopalpha_id;
  49. static int getcontainer_id;
  50. static int center_id;
  51. static int onmove_id;
  52. static int onendmove_id;
  53. static int onuserresize_id;
  54. static int snapadjust_id;
  55. static int getsnapadjusttop_id;
  56. static int getsnapadjustright_id;
  57. static int getsnapadjustleft_id;
  58. static int getsnapadjustbottom_id;
  59. static int setredrawonresize_id;
  60. static int beforeredock_id;
  61. static int redock_id;
  62. static int istransparencysafe_id;
  63. static int islayoutanimationsafe_id;
  64. static int onmouseenterlayout_id;
  65. static int onmouseleavelayout_id;
  66. static int onsnapadjustchanged_id;
  67. };
  68. #endif