mirror of
https://github.com/textmate/textmate.git
synced 2026-02-14 16:34:57 -05:00
23 lines
628 B
Objective-C
23 lines
628 B
Objective-C
#include "box.h"
|
|
|
|
struct OakResizeInfo
|
|
{
|
|
int width, height;
|
|
enum { kTopLeft, kTopRight, kBottomLeft, kBottomRight } corner;
|
|
enum { kWidth, kHeight } adjustable;
|
|
};
|
|
|
|
@interface OakLayoutView : NSView
|
|
{
|
|
box_t* box;
|
|
std::map<NSView*, box_t*> views;
|
|
std::multimap<NSView*, OakResizeInfo> resize_info;
|
|
}
|
|
- (void)addView:(NSView*)aView;
|
|
- (void)addView:(NSView*)aView atEdge:(NSRectEdge)anEdge ofView:(NSView*)otherView;
|
|
- (void)removeView:(NSView*)aView;
|
|
- (void)setLocked:(BOOL)flag forView:(NSView*)aView;
|
|
- (void)addResizeInfo:(OakResizeInfo)info forView:(NSView*)aView;
|
|
- (void)removeResizeInfoForView:(NSView*)aView;
|
|
@end
|