struct _GdkW32DragMoveResizeContext
{ /* The surface that is being moved/resized */
GdkSurface *surface;
/* The kind of drag-operation going on. */
GdkW32WindowDragOp op;
/* The edge that was grabbed for resizing. Not used for moving. */
GdkSurfaceEdge edge;
/* The device used to initiate the op. *Wegrabitatthebeginningandungrabitattheend.
*/
GdkDevice *device;
/* The button pressed down to initiate the op. *Theopwillbecanceledonlywhen*this*button *isreleased.
*/ int button;
/* Initial cursor position when the operation began. *Currentcursorpositionissubtractedfromittofindhowfar *tomovesurfaceborder(s).
*/ int start_root_x; int start_root_y;
/* Last processed cursor position. Values are divided by the surface *scale.
*/ int current_root_x; int current_root_y;
/* Initial surface HWND rectangle (position and size). *Thesurfaceisresized/movedrelativetothis(seestart_root_*).
*/
RECT start_rect;
/* Not used */
guint32 timestamp;
/* The cursor we should use while the operation is running. */
GdkCursor *cursor;
};
/* The cursor that GDK set for this surface via GdkDevice */
GdkWin32HCursor *cursor;
/* surface size hints */ int hint_flags;
GdkGeometry hints;
/* Non-NULL for any surface that is registered as a drop target */
drop_target_context *drop_target;
GdkSurface *transient_owner;
GSList *transient_children; int num_transients;
gboolean changing_state;
int initial_x; int initial_y;
/* left/right/top/bottom width of the shadow/resize-grip around the surface HWND
in application units, not device pixels */
RECT shadow;
guint inhibit_configure : 1;
/* If TRUE, the @temp_styles is set to the styles that were temporarily *addedtothissurface.
*/
guint have_temp_styles : 1;
/* If TRUE, the surface is in the process of being maximized. *ThisissetbyWM_SYSCOMMANDandbygdk_win32_surface_maximize(), *andisunsetwhenWM_WINDOWPOSCHANGINGishandled.
*/
guint maximizing : 1;
/* Enable all decorations? */
gboolean decorate_all;
/* Temporary styles that this HWND got for the purpose of *handlingWM_SYSMENU. *Theyareremovedatthefirstopportunity(usuallyWM_INITMENU).
*/
LONG_PTR temp_styles;
/* scale of surface on HiDPI */ int surface_scale;
GdkToplevelLayout *toplevel_layout; struct { int configured_width; int configured_height;
RECT configured_rect;
} next_layout;
gboolean force_recompute_size;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.