BeremizIDE.py
changeset 1766 c1e5b9f19483
parent 1762 fcc406143e5b
child 1767 c74815729afd
equal deleted inserted replaced
1765:ccf59c1f0b45 1766:c1e5b9f19483
   420         self.LocationImageList = wx.ImageList(16, 16)
   420         self.LocationImageList = wx.ImageList(16, 16)
   421         self.LocationImageDict = {}
   421         self.LocationImageDict = {}
   422 
   422 
   423         # Icons for location items
   423         # Icons for location items
   424         for imgname, itemtype in [
   424         for imgname, itemtype in [
   425             ("CONFIGURATION", LOCATION_CONFNODE),
   425                 ("CONFIGURATION", LOCATION_CONFNODE),
   426             ("RESOURCE",      LOCATION_MODULE),
   426                 ("RESOURCE",      LOCATION_MODULE),
   427             ("PROGRAM",       LOCATION_GROUP),
   427                 ("PROGRAM",       LOCATION_GROUP),
   428             ("VAR_INPUT",     LOCATION_VAR_INPUT),
   428                 ("VAR_INPUT",     LOCATION_VAR_INPUT),
   429             ("VAR_OUTPUT",    LOCATION_VAR_OUTPUT),
   429                 ("VAR_OUTPUT",    LOCATION_VAR_OUTPUT),
   430             ("VAR_LOCAL",     LOCATION_VAR_MEMORY)]:
   430                 ("VAR_LOCAL",     LOCATION_VAR_MEMORY)]:
   431             self.LocationImageDict[itemtype] = self.LocationImageList.Add(GetBitmap(imgname))
   431             self.LocationImageDict[itemtype] = self.LocationImageList.Add(GetBitmap(imgname))
   432 
   432 
   433         # Icons for other items
   433         # Icons for other items
   434         for imgname, itemtype in [
   434         for imgname, itemtype in [
   435             ("Extension", ITEM_CONFNODE)]:
   435             ("Extension", ITEM_CONFNODE)]: