URL:
  <http://savannah.gnu.org/patch/?6338>

                 Summary: dynamic panel
                 Project: GNU Midnight Commander
            Submitted by: me4mc
            Submitted on: Sunday 12/09/2007 at 21:16
                Category: Screen output
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

configuring the panel split to follow the focus. this can be used for more
overview.
the use of not equally split panels can be more intuitive.

the first patch (dynpanel-hack) only introduces some lines that alter the
original behavior. the first_panel_size is always updated relative to the
columns. when you set it to something 60/20 the active panel always gets 60
display bytes while the inactive shrinks to 20. if tab to the other panel this
gets wider ant the other shrinks.

this works not very well but explains what the second patch (dynpanel) does.
besides the 10 lines all other code is for altering the layout dialog and
saving the new settings.
it trys to avoid the basic problems with the hack (startup - wrong sizes) and
coexists with the other options.

the layout dialog gets a new check box 'dynamic split' and reuses the
_first_panel_size to set the fixed size of the active panel. the second value
is undisplayed (---) and therefore the rest of the available space.

please tell me what you think about this feature and where i should improve.

peace



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sunday 12/09/2007 at 21:16  Name: mc-cvs-dynpanel-hack.patch  Size: 1kB
  By: me4mc

<http://savannah.gnu.org/patch/download.php?file_id=14600>
-------------------------------------------------------
Date: Sunday 12/09/2007 at 21:16  Name: mc-cvs-dynpanel.patch  Size: 7kB  
By: me4mc

<http://savannah.gnu.org/patch/download.php?file_id=14601>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?6338>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to