Changes between Version 3 and Version 4 of BASE_HALOS_R1


Ignore:
Timestamp:
05/09/09 17:18:51 (16 years ago)
Author:
sriggins
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_HALOS_R1

    v3 v4  
    99Halo menus are laid out with absolute coordinates defined by the halo menu.  This means that there is no coordination going on between halo menus to prevent them from overlapping.  This happens now when the user zooms the book out ot 10%, but it can happen later if plugins are allowed to provide their own halo menus. 
    1010 
     11This task should change the way halos lay out so they don't overlap when there is a small frame or the page work area is zoomed in. 
     12 
    1113== Task requirements == 
    1214 
    1315 * Determine how to handle overlapping halo menus, or more importantly how to layout halo menus in ways other than absolute coordinates 
     16 * For now, a simple minimal bounding rectangle, aligned with the selection topLeft will suffice 
    1417 
    1518== Task result == 
    16 ^(List the end product of the task (for example "Source code", "Wiki page", etc.))^ 
     19 
     20 * The result of this task is code 
    1721 
    1822== Implementation idea == 
     
    2428 
    2529== How to demo == 
    26  Demo how the halo menus lay out properly when the page work area is zoomed to 10% 
     30  
     31 * Demo how the halo menus lay out properly when the page work area is zoomed to 10%, or a small frame is created 
    2732 
    2833= Design = 
    29  Due to time constraints, we decided to not implement a new halo menu layout system.  Instead, I will add two static ints to AppHaloUtil that determine the smallest width and height of a rectangle that the halo menus should use 
     34  
     35 * Due to time constraints, we decided to not implement a new halo menu layout system.  Instead, I will add two static ints to AppHaloUtil that determine the smallest width and height of a rectangle that the halo menus should use 
    3036 
    31  I'll then write a method to return the selection bounds constrained by this minimal rectangle, and utilize it in the halo menus that wrap frames. 
     37  * I'll then write a method to return the selection bounds constrained by this minimal rectangle, and utilize it in the halo menus that wrap frames. 
    3238 
    3339= Implementation =