Changeset 294 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
May 26, 2011 11:02:42 AM (11 years ago)
Author:
vondreele
Message:

implement mask save & load
implement copy to all for masks
refactor load controls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r289 r294  
    3434] = [wx.NewId() for _init_coll_IMAGE_Items in range(7)]
    3535
    36 [ wxID_MASKCOPY,
    37 ] = [wx.NewId() for _init_coll_MASK_Items in range(1)]
     36[ wxID_MASKCOPY, wxID_MASKSAVE, wxID_MASKLOAD,
     37] = [wx.NewId() for _init_coll_MASK_Items in range(3)]
    3838
    3939[ wxID_PAWLEYLOAD, wxID_PAWLEYIMPORT,
     
    175175        parent.Append(help='Copy mask to other images',
    176176            id=wxID_MASKCOPY, kind=wx.ITEM_NORMAL,text='Copy mask')
     177        parent.Append(help='Save mask to file',
     178            id=wxID_MASKSAVE, kind=wx.ITEM_NORMAL,text='Save mask')
     179        parent.Append(help='Load mask from file',
     180            id=wxID_MASKLOAD, kind=wx.ITEM_NORMAL,text='Load mask')
    177181
    178182    def _init_coll_Inst_Items(self,parent):
Note: See TracChangeset for help on using the changeset viewer.