Project

General

Profile

Feature #2340

Feature #2252: implement GUI client support

implement the window title bar

Added by Constantin Asofiei almost 10 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD

ca_upd20140729a.zip (8.48 KB) Constantin Asofiei, 07/29/2014 08:14 AM


Related issues

Related to User Interface - Bug #2427: do not allow ALT+space to show the popup menu for the OS window New

History

#1 Updated by Constantin Asofiei over 9 years ago

This version switches from a matrix bitmap to a list of activated rectangles. This allows a more dynamic approach of the screen's dimensions (considering that the window can be resized). Plus, it will simplify introduction of decimal coordinates.

Is going through runtime testing now.

#2 Updated by Marius Gligor over 9 years ago

Regarding selection of mouse source which is the widget that should handle the mouse events.
Basically we have widgets and containers. Containers should holds other widgets or containers, widgets not.
Container widgets coordinates are relative to container while mouse position is relative to window which is the ancestor container of window widgets.
I implemented a recursive algorithm to find mouse source (see AbstractContainer#findMouseSource).
The algorithm works fine but not for WindowTitleBar which is not yet properly implemented is just a dummy implementation.
For more details see #2333 note 10.

#3 Updated by Constantin Asofiei over 9 years ago

  • Status changed from WIP to Review
  • % Done changed from 0 to 80

#4 Updated by Greg Shah over 9 years ago

  • % Done changed from 80 to 100
  • Status changed from Review to Closed

#5 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 12 to GUI Support for a Complex ADM2 App

Also available in: Atom PDF