UILayoutTool.st
changeset 1706 16ec8113198f
parent 1680 be9c3f67a19b
child 1709 f5bb3fc6e05a
equal deleted inserted replaced
1705:121213b3d4c9 1706:16ec8113198f
  1709 
  1709 
  1710 )
  1710 )
  1711 ! !
  1711 ! !
  1712 
  1712 
  1713 !UILayoutTool::LayoutFrame class methodsFor:'image specs'!
  1713 !UILayoutTool::LayoutFrame class methodsFor:'image specs'!
       
  1714 
       
  1715 setBigBottomFixPartIcon
       
  1716     "This resource specification was automatically generated
       
  1717      by the ImageEditor of ST/X."
       
  1718 
       
  1719     "Do not manually edit this!! If it is corrupted,
       
  1720      the ImageEditor may not be able to read the specification."
       
  1721 
       
  1722     "
       
  1723      self setBigBottomFixPartIcon inspect
       
  1724      ImageEditor openOnClass:self andSelector:#setBigBottomFixPartIcon
       
  1725      Icon flushCachedIcons
       
  1726     "
       
  1727 
       
  1728     <resource: #image>
       
  1729 
       
  1730     ^Icon
       
  1731         constantNamed:#'UILayoutTool::LayoutFrame class setBigBottomFixPartIcon'
       
  1732         ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
       
  1733 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"H"H@H"H"@BDQDP@QDQH@HQDQ@ADQD @!!DQD@DQDR@BDQDP@QDQH@HQ
       
  1734 DQ@ADQD @!!DQD@DQDR@BDQDP@QDQH@H"H"@BH"H @@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 0 0 255 255 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??>@@X@A @F@@_????????????????????????????<b') ; yourself); yourself]
       
  1735 !
       
  1736 
       
  1737 setBigHorizontalFixPartIcon
       
  1738     "This resource specification was automatically generated
       
  1739      by the ImageEditor of ST/X."
       
  1740 
       
  1741     "Do not manually edit this!! If it is corrupted,
       
  1742      the ImageEditor may not be able to read the specification."
       
  1743 
       
  1744     "
       
  1745      self setBigHorizontalFixPartIcon inspect
       
  1746      ImageEditor openOnClass:self andSelector:#setBigHorizontalFixPartIcon
       
  1747      Icon flushCachedIcons
       
  1748     "
       
  1749 
       
  1750     <resource: #image>
       
  1751 
       
  1752     ^Icon
       
  1753         constantNamed:#'UILayoutTool::LayoutFrame class setBigHorizontalFixPartIcon'
       
  1754         ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
       
  1755 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@BH"H @"H"H@HQDQ@ADQD @!!DQD@DQDR@BDQDP@QDQH@HQDQ@ADQD @!!DQD@DQDR@BDQDP@QDQH@H"
       
  1756 H"@BH"H @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 0 0 255 255 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??>@@X@A??????????????????????????>@@X@A??<b') ; yourself); yourself]
       
  1757 !
       
  1758 
       
  1759 setBigTopFixPartIcon
       
  1760     "This resource specification was automatically generated
       
  1761      by the ImageEditor of ST/X."
       
  1762 
       
  1763     "Do not manually edit this!! If it is corrupted,
       
  1764      the ImageEditor may not be able to read the specification."
       
  1765 
       
  1766     "
       
  1767      self setBigTopFixPartIcon inspect
       
  1768      ImageEditor openOnClass:self andSelector:#setBigTopFixPartIcon
       
  1769      Icon flushCachedIcons
       
  1770     "
       
  1771 
       
  1772     <resource: #image>
       
  1773 
       
  1774     ^Icon
       
  1775         constantNamed:#'UILayoutTool::LayoutFrame class setBigTopFixPartIcon'
       
  1776         ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
       
  1777 @@@@@@@@@@@BH"H @"H"H@HQDQ@ADQD @!!DQD@DQDR@BDQDP@QDQH@HQDQ@ADQD @!!DQD@DQDR@BDQDP@QDQH@HQDQ@ADQD @"H"H@H"H"@@@@@@@@@@@@@@
       
  1778 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 0 0 255 255 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'?????????????????????????????8@A @F@@X@A??<b') ; yourself); yourself]
       
  1779 !
  1714 
  1780 
  1715 setBottomFixPartIcon
  1781 setBottomFixPartIcon
  1716     "This resource specification was automatically generated
  1782     "This resource specification was automatically generated
  1717      by the ImageEditor of ST/X."
  1783      by the ImageEditor of ST/X."
  1718 
  1784 
  2380             #nameKey: #setRightFixPartFrame
  2446             #nameKey: #setRightFixPartFrame
  2381             #translateLabel: true
  2447             #translateLabel: true
  2382             #isButton: true
  2448             #isButton: true
  2383             #labelImage: #(#ResourceRetriever nil #setRightFixPartIcon)
  2449             #labelImage: #(#ResourceRetriever nil #setRightFixPartIcon)
  2384           )
  2450           )
       
  2451          #(#MenuItem
       
  2452             #label: ''
       
  2453           )
       
  2454          #(#MenuItem
       
  2455             #activeHelpKey: #topFixPartLayout
       
  2456             #label: 'setBigTopFixPartFrame'
       
  2457             #itemValue: #setBigTopFixPartFrame
       
  2458             #nameKey: #setBigTopFixPartFrame
       
  2459             #translateLabel: true
       
  2460             #isButton: true
       
  2461             #labelImage: #(#ResourceRetriever nil #setBigTopFixPartIcon)
       
  2462           )
       
  2463          #(#MenuItem
       
  2464             #activeHelpKey: #horizontalFixPartLayout
       
  2465             #label: 'setBigHorizontalFixPartFrame'
       
  2466             #itemValue: #setBigHorizontalFixPartFrame
       
  2467             #nameKey: #setBigHorizontalFixPartFrame
       
  2468             #translateLabel: true
       
  2469             #isButton: true
       
  2470             #labelImage: #(#ResourceRetriever nil #setBigHorizontalFixPartIcon)
       
  2471           )
       
  2472          #(#MenuItem
       
  2473             #activeHelpKey: #bottomFixPartLayout
       
  2474             #label: 'setBigBottomFixPartFrame'
       
  2475             #itemValue: #setBigBottomFixPartFrame
       
  2476             #nameKey: #setBigBottomFixPartFrame
       
  2477             #translateLabel: true
       
  2478             #isButton: true
       
  2479             #labelImage: #(#ResourceRetriever nil #setBigBottomFixPartIcon)
       
  2480           )
  2385          )
  2481          )
  2386         nil
  2482         nil
  2387         nil
  2483         nil
  2388       )
  2484       )
  2389 ! !
  2485 ! !
  2425 
  2521 
  2426   ^ layout
  2522   ^ layout
  2427 ! !
  2523 ! !
  2428 
  2524 
  2429 !UILayoutTool::LayoutFrame methodsFor:'common frames'!
  2525 !UILayoutTool::LayoutFrame methodsFor:'common frames'!
       
  2526 
       
  2527 setBigBottomFixPartFrame
       
  2528     self
       
  2529         setFrameLeft:0   offset:0 
       
  2530         right:1          offset:0 
       
  2531         top:0            offset:30 
       
  2532         bottom:1         offset:0
       
  2533 !
       
  2534 
       
  2535 setBigHorizontalFixPartFrame
       
  2536     self
       
  2537         setFrameLeft:0   offset:0 
       
  2538         right:1          offset:0 
       
  2539         top:0            offset:30 
       
  2540         bottom:1         offset:-30
       
  2541 !
       
  2542 
       
  2543 setBigTopFixPartFrame
       
  2544     self
       
  2545         setFrameLeft:0   offset:0 
       
  2546         right:1          offset:0 
       
  2547         top:0            offset:0 
       
  2548         bottom:1         offset:-30
       
  2549 !
  2430 
  2550 
  2431 setBottomFixPartFrame
  2551 setBottomFixPartFrame
  2432     self
  2552     self
  2433         setFrameLeft:0   offset:0 
  2553         setFrameLeft:0   offset:0 
  2434         right:1          offset:0 
  2554         right:1          offset:0