mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:41:05 +00:00
Replaced _rFlags.flipped_view use with -isFlipped and deprecated
_rFlagsType.flipped_view. Still needs some work to automatically invalidate coordinates when the flipping changes e.g. between two drawing sessions. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31233 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3d9f597bca
commit
7c75329e42
6 changed files with 38 additions and 40 deletions
|
@ -124,14 +124,7 @@ PACKAGE_SCOPE
|
|||
* 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 flipped_view:1; /* Deprecated and unused. */
|
||||
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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue