mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:50:40 +00:00
Move view specifc flags to NSView.h and ad new flag for NSWindow. This
change requires a complete re-compile of GNUstep and all applications!!! git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24821 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8303f207ed
commit
b723a7e84c
4 changed files with 54 additions and 54 deletions
|
@ -109,8 +109,33 @@ typedef enum _NSFocusRingType {
|
|||
NSMutableArray *_cursor_rects;
|
||||
NSRect _invalidRect;
|
||||
NSRect _visibleRect;
|
||||
unsigned int _autoresizingMask;
|
||||
int _gstate;
|
||||
void *_nextKeyView;
|
||||
void *_previousKeyView;
|
||||
|
||||
@public
|
||||
/*
|
||||
* Flags for internal use by NSView and it's subclasses.
|
||||
*/
|
||||
struct _rFlagsType {
|
||||
/*
|
||||
* 'flipped_view' is set in NSViews designated initialiser (and other
|
||||
* methods that create views) to be the value returned by [-isFlipped]
|
||||
* This caching assumes that the value returned by [-isFlipped] will
|
||||
* not change during the views lifetime - if it does, the view must
|
||||
* be sure to change the flag accordingly.
|
||||
*/
|
||||
unsigned flipped_view:1;
|
||||
unsigned has_subviews:1; /* The view has subviews. */
|
||||
unsigned has_currects:1; /* The view has cursor rects. */
|
||||
unsigned has_trkrects:1; /* The view has tracking rects. */
|
||||
unsigned has_draginfo:1; /* View has drag types. */
|
||||
unsigned opaque_view:1; /* For views whose opacity may */
|
||||
/* change to keep track of it. */
|
||||
unsigned valid_rects:1; /* Some cursor rects may be ok. */
|
||||
unsigned needs_display:1; /* view needs display. */
|
||||
unsigned has_tooltips:1; /* The view has tooltips set. */
|
||||
} _rFlags;
|
||||
|
||||
BOOL _is_rotated_from_base;
|
||||
BOOL _is_rotated_or_scaled_from_base;
|
||||
|
@ -123,10 +148,8 @@ typedef enum _NSFocusRingType {
|
|||
BOOL _is_hidden;
|
||||
BOOL _in_live_resize;
|
||||
|
||||
unsigned int _autoresizingMask;
|
||||
NSFocusRingType _focusRingType;
|
||||
|
||||
void *_nextKeyView;
|
||||
void *_previousKeyView;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue