← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Refactor hotkeys editor dialog

 

Patch committed in r6422.  Thanks.

On 1/4/2016 3:05 PM, Chris Pavlina wrote:
> Hi,
> 
> First step in getting the hotkey configuration inside the main 
> preferences dialog is to refactor it a bit. This patch:
> 
> - Replaces the wxListCtrl with a wxTreeListCtrl, allowing expandable 
>   categories in a future change.
> 
> - Cleans up the code to make HOTKEY_LIST_CTRL function a bit better on 
>   its own.
> 
> - Migrates this dialog as well to TransferData{To,From}Window, use 
>   matching TransferData{To,From}Control methods on HOTKEY_LIST_CTRL so 
>   it is easy to embed.
> 
> Despite being replaced by a tree-type control, none of the behavior has 
> been changed yet. The appearance changes slightly due to wxTreeListCtrl 
> looking a bit different.
> 
> --
> Chris
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 



References