DVUI

dragAreaSet

Set the phyiscal pixel rect (inside FloatingWidowWidget) where a click-drag will move the FloatingWindowWidget.

Usually set by return from windowHeader.

Parameters

#
self:*FloatingWindowWidget
*FloatingWindowWidget
rect:Rect.Physical
Rect.Physical

Source

Implementation

#
pub fn dragAreaSet(self: *FloatingWindowWidget, rect: Rect.Physical) void {
    self.drag_area = rect;
}