mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
5867eaf68b
* typedef for cPhs_Step * make sdk includes consistent * d_menu_quit / d_msg_scrn_explain debug * d_a_obj_testcube mostly done * d_debug_pad mostly done * jstudio tool library headers * some JStudioCameraEditor headers * d_jcam_editor mostly done * try fixing some shield regressions * d_bg_parts mostly done * fix merge errors * debug fix
40 lines
832 B
C++
40 lines
832 B
C++
#ifndef JSTUDIOTOOLLIBRARY_ANCHOR_H
|
|
#define JSTUDIOTOOLLIBRARY_ANCHOR_H
|
|
|
|
#include "JSystem/JStudio/JStudioToolLibrary/scroll.h"
|
|
|
|
namespace JStudioToolLibrary {
|
|
enum TEAnchor {
|
|
|
|
};
|
|
|
|
struct TPoint {
|
|
TPoint(const TPoint&);
|
|
TPoint(int, int);
|
|
|
|
void setX(int);
|
|
void setY(int);
|
|
|
|
int getX() const;
|
|
int getY() const;
|
|
|
|
/* 0x0 */ int iX_;
|
|
/* 0x4 */ int iY_;
|
|
};
|
|
|
|
struct TAnchor_corner {
|
|
TAnchor_corner(TEAnchor, int, int);
|
|
|
|
void setAnchor(TEAnchor);
|
|
void setAnchorPosition(const TPoint&);
|
|
void getPosition(TPoint*, const TRectangle&, int, int) const;
|
|
TEAnchor getAnchor() const;
|
|
TPoint* getAnchorPosition() const;
|
|
|
|
/* 0x0 */ TEAnchor eAnchor_;
|
|
/* 0x4 */ TPoint oAnchorPosition_;
|
|
};
|
|
}
|
|
|
|
#endif
|