home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 March
/
Chip_1998-03_cd.bin
/
tema
/
jpcad
/
CONFIG.IN_
/
CONFIG.IN
Wrap
Text File
|
1998-01-21
|
23KB
|
661 lines
; AMOEBA initialization file
;
; predefined functions:
; CallSection
; DefineProcedure
[**init]
CallSection("**application")
CallSection("**menu")
CallSection("**keyboard")
CallSection("**mouse")
CallSection("**command prompt")
CallSection("**bars")
CallSection("**picture")
;---------------------------------------------------------------
; ADK APPLICATION configuration
;---------------------------------------------------------------
[**application]
; define procedures needed for application loading
DefineProcedure("ApplicationDirs", "S", "APPLOAD_apps_dirs", "")
DefineProcedure("LoadApplication", "S", "APPLOAD_load_apps", "")
; sem umφst∞te aplikace, kterΘ chcete naΦφst do JPCADu
; p°φklad:
; LoadApplication("c:\testy\test1.exe")
;odkomentujte nßsledujφcφ °ßdku, pokud chcete pou₧φvat aplikaci
;LDSCRIPT pro spouÜt∞nφ maker v JPCADu
; LoadApplication("macro\ldscript.exe")
;---------------------------------------------------------------
; MENU configuration
;---------------------------------------------------------------
[**menu]
; define procedures needed for menu creation
DefineProcedure("InitMenu", "", "MENU_MenuInit", "")
DefineProcedure("CreateMenu", "S", "MENU_CreateMenu", "")
DefineProcedure("CreatePopupMenu", "S", "MENU_CreatePopupMenu", "")
DefineProcedure("AddMenuItem", "SS", "MENU_AddMenuItem", "")
DefineProcedure("AddMenuItemEx", "SSI", "MENU_AddMenuItemEx", "")
DefineProcedure("AddMenuBreak", "", "MENU_AddMenuBreak", "")
DefineProcedure("AddMenuBreakEx", "I", "MENU_AddMenuBreakEx", "")
DefineProcedure("AddMenu", "SS", "MENU_AddMenu", "")
DefineProcedure("EndMenu", "", "MENU_EndMenu", "")
DefineProcedure("MainMenu", "S", "MENU_MainMenu", "")
; initialize menu data (free old menus)
InitMenu()
; create main (application) menu
CallSection("*menu-main")
CallSection("*menu-popup")
[*menu-main]
CallSection("*file")
CallSection("*edit")
CallSection("*draw")
CallSection("*transform")
CallSection("*view")
CallSection("*tools")
CallSection("*help")
CreateMenu("**menu")
AddMenu("*file", "&Soubor")
AddMenu("*edit", "&Editace")
AddMenu("*draw", "&Kreslenφ")
AddMenu("*transform", "&Modifikace")
AddMenu("*tools", "&Nßstroje")
AddMenu("*view", "&Pohled")
AddMenu("*help", "Nßpo&v∞da")
EndMenu()
MainMenu("**menu")
[*menu-popup]
; create popup menu
CreatePopupMenu("popup1")
AddMenuItem("&Koncov² bod", "'_endp\r")
AddMenuItem("&Prost°ednφ bod", "'_midp\r")
AddMenuItem("&St°ed", "'_cenp\r")
AddMenuItem("Bod &vlo₧enφ", "'_insp\r")
AddMenuBreak()
AddMenuItem("P&r∙seΦφk", "'_intp\r")
AddMenuItem("&Nejbli₧Üφ", "'_neap\r")
AddMenuItem("Ko&lm²", "'_perp\r")
AddMenuItem("&TeΦna", "'_tanp\r")
AddMenuBreak()
AddMenuItem(".&X", "'_.x\r")
AddMenuItem(".&Y", "'_.y\r")
AddMenuBreak()
AddMenuItem("Pro&dlou₧enφ", "'_contin\r")
AddMenuItem("R&ovnob∞₧ka", "'_parf\r")
AddMenuItem("Zob&ecn∞n² pr∙seΦφk","'_gintp\r")
AddMenuItem("&Zarovnej", "'_align\r")
AddMenuBreak()
AddMenuItem("&Lep","'_sticky\r")
EndMenu()
[*file]
CreatePopupMenu("*file-advanced")
AddMenuItem("&NaΦφst blok...", "\z_rblock\r")
AddMenuItem("&Ulo₧it blok...", "\z_wblock\r")
AddMenuItem("Ulo₧it &vÜechny bloky", "\z_wblocks\r")
AddMenuItem("Ulo₧it jako &bitmapu/metafile", "\z_foto\r")
EndMenu()
CreatePopupMenu("*file-database")
AddMenuItem("&VyΦistit databßzi", "\z_purge\r")
EndMenu()
CreatePopupMenu("*file")
AddMenuItemEx("&Nov²\tCtrl+N", "\z_new\r", 1)
AddMenuItemEx("&Otev°φt...\tCtrl+O", "\z_open\r", 1)
AddMenuItemEx("&Ulo₧it\tCtrl+S", "\z_save\r", 1)
AddMenuItemEx("Ulo₧it &jako...", "\z_saveas\r", 1)
AddMenuItemEx("&Aktualizovat", "\z_update\r", 2)
AddMenuItemEx("Ulo₧it &kopii jako....", "\z_saveas\r", 2)
AddMenuBreak()
AddMenu("*file-advanced", "&Import/Export...")
AddMenu("*file-database","&V²kres...")
AddMenuBreak()
AddMenuItem("Nasta&venφ tisku...", "\z_printsetup\r")
AddMenuItem("&Tisk\tCtrl+P", "\z_print\r")
AddMenuBreakEx(1)
AddMenuItemEx("MRU", "", 1) ; this is special menu entry for Most Recently Used Files
AddMenuBreak()
AddMenuItemEx("&Konec\tAlt+X", "\z_quit\r", 1)
AddMenuItemEx("&Konec && Nßvrat do dokumentu", "\z_quit\r", 2)
EndMenu()
[*edit]
CreatePopupMenu("*edit")
AddMenuItem("Krok &zp∞t\tCtrl+Z", "\z_u\r")
AddMenuItem("&Opakovat krok\tCtrl+Y", "\z_r\r")
AddMenuItem("Z&p∞t\tCtrl+Y", "\z_undo\r")
AddMenuBreak()
AddMenuItem("&Vyjmout\tCtrl+X", "\z_ccut\r")
AddMenuItem("&Kopφrovat\tCtrl+C", "\z_ccopy\r")
AddMenuItem("&Vlo₧it\tCtrl+V", "\z_cpaste\r")
AddMenuBreak()
AddMenuItem("&Smazat", "\z_erase\r")
EndMenu()
[*transform]
CreatePopupMenu("*transform")
AddMenuItem("&Kopφruj", "\z_copy\r")
AddMenuItem("&Posun", "\z_move\r")
AddMenuItem("&OtoΦ", "\z_rotate\r")
AddMenuItem("Zr&cadli", "\z_mirror\r")
AddMenuItem("&M∞°φtko", "\z_scale\r")
AddMenuItem("Po&le", "\z_array\r")
AddMenuItem("Protß&hnout", "\z_stretch\r")
AddMenuBreak()
AddMenuItem("&Editovat", "\z_edit\r")
AddMenuItem("Editovat &text", "\z_tedit\r")
AddMenuItem("Editovat &atribut", "\z_attredit\r")
AddMenuItem("Editovat atributy &bloku", "\z_insattrd\r")
AddMenuItem("&Vlastnosti", "\z_propsd\r")
AddMenuBreak()
AddMenuItem("&Rozd∞l", "\z_break\r")
AddMenuItem("&O°e₧", "\z_trim\r")
AddMenuItem("&Zaobli", "\z_fillet\r")
AddMenuItem("Zko&s", "\z_chamfer\r")
AddMenuItem("O&ffset","\z_offset\r")
EndMenu()
[*draw]
CreatePopupMenu("*dimension")
AddMenuItem("&Lineßrnφ k≤tovßnφ", "\z_dimlin\r")
AddMenuItem("K≤tovßnφ &polom∞ru", "\z_dimrad\r")
AddMenuItem("K≤tovßnφ p&r∙m∞ru", "\z_dimdia\r")
AddMenuItem("K≤tovßnφ &oblouku", "\z_dimarc\r")
AddMenuItem("k≤tovßnφ ·&hlu", "\z_dimang\r")
AddMenuItem("&NßvaznΘ k≤tovßnφ", "\z_dimgroup\r")
AddMenuItem("P∙vodnφ umφst∞nφ &textu", "\z_dimhome\r")
EndMenu()
CreatePopupMenu("*draw")
AddMenuItem("&Oblouk", "\z_arc\r")
AddMenuItem("&Atribut", "\z_attr\r")
AddMenuItem("&Kru₧nice", "\z_circle\r")
AddMenuItem("┌&seΦka", "\z_line\r")
AddMenuItem("&Polygon", "\z_solid\r")
AddMenuItem("&Text", "\z_text\r")
AddMenuItem("èra&f", "\z_hatch\r")
AddMenu("*dimension","K≤tovßnφ")
AddMenuBreak()
AddMenuItem("&Definovat blok", "\z_block\r")
AddMenuItem("&Vlo₧it blok", "\z_insertd\r")
AddMenuItem("&Skupina","\z_group\r")
AddMenuItem("&Rozbalit","\z_explode\r")
AddMenuBreak()
AddMenuItem("Kreslenφ o&d ruky", "\z_sketch\r")
EndMenu()
[*view]
CreatePopupMenu("*view")
AddMenuItem("&Zoom", "'_zoom\r")
AddMenuItem("Z&v∞tÜit\tCtrl++", "'_zoom\r2\r")
AddMenuItem("Z&menÜit\tCtrl+-", "'_zoom\r0.5\r")
AddMenuItem("&Posunutφ zobrazenφ", "'_pan\r")
AddMenuItem("&Historie\tF2", "'_history\r")
AddMenuBreak()
AddMenuItem("&Obnov\tF5", "'_regen\r")
EndMenu()
[*tools]
CreatePopupMenu("*configuration")
AddMenuItem("&Barva pozadφ", "\z_bkcolor\r")
AddMenuItem("&Jednotky", "\z_units\r")
AddMenuItem("&Kurzor", "\z_seldelta\r")
AddMenuItem("Nastavenφ p&rom∞nn²ch", "\z_setvard\r")
AddMenuItem("&NßstrojovΘ liÜty", "\z_toolbars\r")
EndMenu()
CreatePopupMenu("*filter")
AddMenuItem("&Koncov² bod", "'_endp\r")
AddMenuItem("&Prost°ednφ bod", "'_midp\r")
AddMenuItem("&St°ed", "'_cenp\r")
AddMenuItem("&Bod vlo₧enφ", "'_insp\r")
AddMenuItem("&VÜechny body", "'_allp\r")
AddMenuBreak()
AddMenuItem("P&r∙seΦφk", "'_intp\r")
AddMenuItem("&Nejbli₧Üφ", "'_neap\r")
AddMenuItem("&Kolm²", "'_perp\r")
AddMenuItem("&TeΦna", "'_tanp\r")
AddMenuBreak()
AddMenuItem(".&X", "'_.x\r")
AddMenuItem(".&Y", "'_.y\r")
AddMenuBreak()
AddMenuItem("Pro&dlou₧enφ", "'_contin\r")
AddMenuItem("R&ovnob∞₧ka", "'_parf\r")
AddMenuItem("Zob&ecn∞n² pr∙seΦφk","'_gintp\r")
AddMenuItem("&Zarovnej", "'_align\r")
AddMenuBreak()
AddMenuItem("&Lep","'_sticky\r")
EndMenu()
CreatePopupMenu("*tools-app")
AddMenuItem("&NaΦti", "\z_load\r")
AddMenuItem("&UkonΦi", "\z_unload\r")
AddMenuItem("&Aplikace", "\z_apps\r")
EndMenu()
CreatePopupMenu("*tools")
AddMenu("*configuration","&Nastavenφ")
AddMenuBreak()
AddMenu("*filter", "&Filtry")
AddMenuItem("&M°φ₧ka\tF9", "\z_grid\r")
AddMenuItem("&Orto\tF8", "\z_ortho\r")
AddMenuItem("&Barva", "\z_color\r_dialog\r")
AddMenuItem("T&yp Φßry", "\z_linetype\r_dialog\r")
AddMenuItem("Styl &textu", "\z_textstyle\r")
AddMenuItem("Styl &k≤t", "\z_dimstyle\r")
AddMenuItem("Styl Üra&fu", "\z_hatchstyle\r")
AddMenuItem("&Hladina", "\z_layerd\r")
AddMenuBreak()
AddMenuItem("E&xportovat atributy", "\z_attext\r")
AddMenuBreak()
AddMenuItem("&Vypsat", "\z_list\r")
AddMenuItem("V&zdßlenost", "\z_dist\r")
AddMenuItem("I&dentifikovat bod", "\z_id\r")
AddMenuBreak()
AddMenu("*tools-app", "&Aplikace")
EndMenu()
[*help]
CreatePopupMenu("*help")
AddMenuItem("&Obsah\tF1", "'_help\r\r")
AddMenuItem("&Vyhledat v nßpov∞d∞...\tShift+F1", "'_help\r_search for\r")
AddMenuItem("&Pr∙vodce", "'_help\rTUTORIAL.HLP\r")
AddMenuBreak()
AddMenuItem("&Pou₧itφ nßpov∞dy", "'_help\r_on help\r")
AddMenuItem("&Tip dne","'_tips\r")
AddMenuBreak()
AddMenuItem("O &aplikaci...", "'_about\r")
EndMenu()
;---------------------------------------------------------------
; KEYBOARD configuration
;---------------------------------------------------------------
[**keyboard]
DefineProcedure("InitKeyboard", "", "KEYBOARD_KeyboardInit", "")
DefineProcedure("AddVkHotKey", "SSS", "KEYBOARD_AddVkHotKey", "")
DefineProcedure("AddHotKey", "SSS", "KEYBOARD_AddHotKey", "")
InitKeyboard()
; virtual keys
AddVkHotKey("CANCEL", "c", "\z") ; must have control modifier!
AddVkHotKey("ESCAPE", "", "\c")
AddVkHotKey("F1", "", "'_help\r\r")
AddVkHotKey("F1", "s", "'_help\r\_search for\r")
AddVkHotKey("F2", "", "'_history\r")
AddVkHotKey("F5", "", "'_regen\r")
AddVkHotKey("F7", "", "'_gridsh\r")
AddVkHotKey("F8", "", "'_ortho\r")
AddVkHotKey("F9", "", "'_grid\r\r")
AddVkHotKey("BACK", "a", "\z_u\r")
AddVkHotKey("ADD", "c", "'_zoom\r2\r")
AddVkHotKey("SUBTRACT", "c", "'_zoom\r0.5\r")
;cut, copy & paste
AddVkHotKey("DELETE", "s", "\z_ccut\r")
AddVkHotKey("INSERT", "s", "\z_cpaste\r")
AddVkHotKey("INSERT", "c", "\z_ccopy\r")
; "normal" keys
; copy, cut & paste
AddHotKey("c", "c", "\z_ccopy\r")
AddHotKey("x", "c", "\z_ccut\r")
AddHotKey("v", "c", "\z_cpaste\r")
;pokud chcete pou₧φvat klßvesovΘ zkratky pro vklßdßnφ textu do editboxu na p°φkazovΘ
;°ßdce, vyma₧te v²Üe uvedenΘ p°φsluÜnΘ t°i klßvesovΘ zkratky pro copy, cut & paste,
;kterΘ jste zvyklφ pou₧φvat
;V souΦasnΘm nastavenφ se klßvesovΘ zkratky pro kopφrovßnφ, vyst°i₧enφ a vlo₧enφ
;(copy, cut & paste) pou₧φvajφ POUZE pro v²kres.
;Do p°φkazovΘ °ßdky m∙₧ete vlo₧it text ze schrßnky pokud v textovΘm polφΦku stisknete
;pravΘ tlaΦφtko myÜi - objevφ se kontextovΘ menu s p°φkazy (Pozor - nefunguje na Win32s)
; "normal" keys
;other actions
AddHotKey("x", "a", "\z_quit\r")
AddHotKey("n", "c", "\z_new\r")
AddHotKey("o", "c", "\z_open\r")
AddHotKey("s", "c", "\z_save\r")
AddHotKey("p", "c", "\z_print\r")
AddHotKey("z", "c", "\z_u\r")
AddHotKey("y", "c", "\z_r\r")
;---------------------------------------------------------------
; MOUSE configuration
;---------------------------------------------------------------
[**mouse]
DefineProcedure("InitMouse", "", "MOUSE_MouseInit", "")
DefineProcedure("AddMouseEnterButton", "SS", "MOUSE_AddMouseEnterButton", "")
DefineProcedure("AddMouseSelectButton", "SS", "MOUSE_AddMouseSelectButton", "")
DefineProcedure("AddMouseButton", "SSS", "MOUSE_AddMouseButton", "")
InitMouse()
AddMouseEnterButton("RBUTTON", "")
AddMouseSelectButton("LBUTTON", "")
AddMouseButton("LBUTTON", "a", "'_help\r")
AddMouseButton("RBUTTON", "s", "'_popup\rpopup1\r")
;---------------------------------------------------------------
; Command prompt configuration
;---------------------------------------------------------------
[**command prompt]
; define procedures needed for menu creation
DefineProcedure("CommandWindowLines", "I", "TIO_CommandWindowLines", "")
DefineProcedure("BufferSize", "I", "HISTORY2_SetBufferSize", "")
CommandWindowLines(4)
BufferSize(5000)
;---------------------------------------------------------------
; BARS configuration
;---------------------------------------------------------------
[**bars]
DefineProcedure("InitBars", "", "BARS_InitBars", "")
DefineProcedure("CreateBar", "SSIIS", "BARS_CreateBar", "")
DefineProcedure("EndBar", "", "BARS_EndBar", "")
DefineProcedure("AddBarButton", "ISS", "BARS_AddBarButton", "")
DefineProcedure("AddBarButtonEx", "ISSI", "BARS_AddBarButtonEx", "")
DefineProcedure("AddBarSeparator", "", "BARS_AddBarSeparator", "")
DefineProcedure("AddBarItem", "SSSS", "BARS_AddBarItem", "")
; destroy ald button, set image size
InitBars()
CallSection("*bars-16x15")
;CallSection("*bars-32x32")
; **note**: Toolbars with AddBarItem requires at least one button, otherwise the height is wrong
CreateBar("Status", "ICON16.BMP", 16, 15, "TB")
AddBarButton(39, "\z_layerd\r", "hladina")
AddBarItem("ENTITIES.DLL", "LAYERLST_Create", "Aktußlnφ hladina", "150")
AddBarSeparator()
AddBarButton(52, "'_linetype\r_dialog\r", "typ Φßry")
AddBarItem("ENTITIES.DLL", "LTYPELST_Create", "Aktußlnφ typ Φßry", "150")
AddBarSeparator()
AddBarButton(53, "'_color\r_dialog\r", "barva")
AddBarItem("ENTITIES.DLL", "COLORLST_Create", "Barva", "100")
EndBar()
;---------------------------------------------------------------
; BARS 16x15 pixels
;---------------------------------------------------------------
[*bars-16x15]
CreateBar("Soubor", "ICON16.BMP", 16, 15, "A")
AddBarButton(0, "\z_new\r", "nov²")
AddBarButton(1, "\z_open\r", "otev°φt")
AddBarButton(2, "\z_save\r", "ulo₧it")
AddBarButton(3, "\z_print\r", "tisk")
AddBarSeparator()
AddBarButton(73, "\z_ccut\r", "vyjmout")
AddBarButton(74, "\z_ccopy\r", "kopφrovat")
AddBarButton(75, "\z_cpaste\r", "vlo₧it")
AddBarSeparator()
AddBarButton(6, "\z_rblock\r", "naΦφst blok")
AddBarButton(7, "\z_wblock\r", "ulo₧it blok")
AddBarSeparator()
AddBarButton(4, "\z_foto\r", "foto")
AddBarSeparator()
AddBarButton(5, "\z_purge\r", "Φisti")
EndBar()
CreateBar("Kreslenφ", "ICON16.BMP", 16, 15, "A")
AddBarButton(8, "\z_block\r", "definice bloku")
AddBarButton(9, "\z_insert\r", "vlo₧enφ bloku")
AddBarButton(85, "\z_group\r", "skupina")
AddBarSeparator()
AddBarButton(11, "\z_text\r", "text")
AddBarSeparator()
AddBarButton(12, "\z_attr\r", "atribut")
AddBarSeparator()
AddBarButton(13, "\z_line\r", "·seΦka")
AddBarButton(14, "\z_arc\r", "oblouk")
AddBarButton(15, "\z_circle\r", "kru₧nice")
AddBarButton(16, "\z_solid\r", "polygon")
AddBarButton(71, "\z_hatch\r", "Üraf")
AddBarSeparator()
AddBarButton(78, "\z_sketch\r", "od ruky")
AddBarSeparator()
AddBarButton(17, "\z_dimlin\r", "lineßrnφ k≤tovßnφ")
AddBarButton(67, "\z_dimrad\r", "k≤tovßnφ polom∞ru")
AddBarButton(68, "\z_dimdia\r", "k≤tovßnφ pr∙m∞ru")
AddBarButton(69, "\z_dimarc\r", "k≤tovßnφ oblouku")
AddBarButton(70, "\z_dimang\r", "k≤tovßnφ ·hl∙")
AddBarButton(18, "\z_dimgroup\r", "nßvaznΘ k≤tovßnφ")
AddBarButton(79, "\z_dimhome\r", "p∙vodnφ pozice textu")
EndBar()
CreateBar("Zobrazenφ", "ICON16.BMP", 16, 15, "A")
AddBarButton(19, "'_zoom\r", "zoom")
AddBarButton(20, "'_zoom\r2\r", "zv∞tÜit")
AddBarButton(21, "'_zoom\r0.5\r", "zmenÜit")
AddBarButton(22, "'_zoom\r_extents\r", "zobrazit vÜe")
AddBarButton(65, "'_zoom\r_previous\r", "p°edchozφ velikost")
AddBarSeparator()
AddBarButton(23, "'_pan\r", "posunutφ zobrazenφ")
AddBarButton(24, "'_regen\r", "obnov")
EndBar()
CreateBar("Nßstroje", "ICON16.BMP", 16, 15, "A")
AddBarButton(33, "\z_erase\r", "sma₧")
AddBarSeparator()
AddBarButton(25, "\z_u\r", "krok zp∞t")
AddBarButton(26, "\z_r\r", "opakovat krok")
AddBarSeparator()
AddBarButton(50, "'_gridsh\r", "M°φ₧ka Ano/Ne")
AddBarButton(66, "'_grid\r\r", "P°ichytit do m°φ₧ky Ano/Ne")
AddBarButton(51, "'_ortho\r", "Orto Ano/Ne")
EndBar()
CreateBar("Modifikace", "ICON16.BMP", 16, 15, "A")
AddBarButton(27, "\z_copy\r", "kopφruj")
AddBarButton(48, "\z_array\r", "pole")
AddBarButton(28, "\z_move\r", "posun")
AddBarButton(29, "\z_rotate\r", "otoΦ")
AddBarButton(30, "\z_mirror\r", "zrcadli")
AddBarButton(31, "\z_scale\r", "m∞°φtko")
AddBarButton(81, "\z_stretch\r", "protßhni")
AddBarSeparator()
AddBarButton(49, "\z_break\r", "rozd∞l")
AddBarButton(34, "\z_trim\r", "o°e₧")
AddBarButton(80, "\z_extend\r", "prodlu₧")
AddBarButton(35, "\z_fillet\r", "zaobli")
AddBarButton(36, "\z_chamfer\r", "zkos")
AddBarButton(84, "\z_offset\r", "ekvidistanta")
AddBarSeparator()
AddBarButton(10, "\z_explode\r", "rozbal")
AddBarButton(32, "\z_propsd\r", "vlastnosti")
EndBar()
CreateBar("Editace", "ICON16.BMP", 16, 15, "A")
AddBarButton(37, "\z_textstyle\r", "styl textu")
AddBarButton(38, "\z_dimstyle\r", "styl k≤t")
AddBarButton(72, "\z_hatchstyle\r", "styl Ürafu")
AddBarSeparator()
AddBarButton(40, "\z_edit\r", "editovat")
AddBarButton(41, "\z_tedit\r", "editovat text")
AddBarButton(42, "\z_attredit\r", "editovat atribut")
AddBarButton(43, "\z_insattrd\r", "editovat atributy bloku")
EndBar()
CreateBar("Informace", "ICON16.BMP", 16, 15, "A")
AddBarButton(44, "'_list\r", "v²pis")
AddBarButton(45, "'_id\r", "identifikace bodu")
AddBarButton(46, "'_dist\r", "vzdßlenost")
AddBarSeparator()
AddBarButton(47, "'_help\r", "nßpov∞da")
EndBar()
CreateBar("Filtry", "ICON16.BMP", 16, 15, "A")
AddBarButton(77, "'_sticky\r", "lep")
AddBarSeparator()
AddBarButton(54, "'_endp\r", "koncov² bod")
AddBarButton(55, "'_midp\r", "prost°ednφ bod")
AddBarButton(56, "'_intp\r", "pr∙seΦφk")
AddBarButton(57, "'_cenp\r", "st°ed")
AddBarButton(58, "'_perp\r", "kolm²")
AddBarButton(59, "'_tanp\r", "teΦna")
AddBarButton(60, "'_insp\r", "bod vlo₧enφ")
AddBarButton(61, "'_neap\r", "nejbli₧Üφ bod")
AddBarButton(82, "'_parf\r", "rovnob∞₧ka")
AddBarButton(64, "'_align\r", "zarovnej")
AddBarSeparator()
AddBarButton(62, "'.x\r", ".X")
AddBarButton(63, "'.y\r", ".Y")
AddBarButton(76, "'_contin\r", "prodlou₧enφ")
AddBarButton(83, "'_gintp\r", "zobecn∞n² pr∙seΦφk")
EndBar()
;---------------------------------------------------------------
; BARS 32x32 pixels
;---------------------------------------------------------------
[*bars-32x32]
CreateBar("Soubor", "ICON32.BMP", 32, 32, "A")
AddBarButton(0, "\z_new\r", "nov²")
AddBarButton(1, "\z_open\r", "otev°φt")
AddBarButton(2, "\z_save\r", "ulo₧it")
AddBarButton(3, "\z_print\r", "tisk")
AddBarSeparator()
AddBarButton(73, "\z_ccut\r", "vyjmout")
AddBarButton(74, "\z_ccopy\r", "kopφrovat")
AddBarButton(75, "\z_cpaste\r", "vlo₧it")
AddBarSeparator()
AddBarButton(6, "\z_rblock\r", "naΦφst blok")
AddBarButton(7, "\z_wblock\r", "ulo₧it blok")
AddBarSeparator()
AddBarButton(4, "\z_foto\r", "foto")
AddBarSeparator()
AddBarButton(5, "\z_purge\r", "Φisti")
EndBar()
CreateBar("Kreslenφ", "ICON32.BMP", 32, 32, "A")
AddBarButton(8, "\z_block\r", "definice bloku")
AddBarButton(9, "\z_insert\r", "vlo₧enφ bloku")
AddBarButton(85, "\z_group\r", "skupina")
AddBarSeparator()
AddBarButton(11, "\z_text\r", "text")
AddBarSeparator()
AddBarButton(12, "\z_attr\r", "atribut")
AddBarSeparator()
AddBarButton(13, "\z_line\r", "·seΦka")
AddBarButton(14, "\z_arc\r", "oblouk")
AddBarButton(15, "\z_circle\r", "kru₧nice")
AddBarButton(16, "\z_solid\r", "polygon")
AddBarButton(71, "\z_hatch\r", "Üraf")
AddBarSeparator()
AddBarButton(78, "\z_sketch\r", "od ruky")
AddBarSeparator()
AddBarButton(17, "\z_dimlin\r", "lineßrnφ k≤tovßnφ")
AddBarButton(67, "\z_dimrad\r", "k≤tovßnφ polom∞ru")
AddBarButton(68, "\z_dimdia\r", "k≤tovßnφ pr∙m∞ru")
AddBarButton(69, "\z_dimarc\r", "k≤tovßnφ oblouku")
AddBarButton(70, "\z_dimang\r", "k≤tovßnφ ·hl∙")
AddBarButton(18, "\z_dimgroup\r", "nßvaznΘ k≤tovßnφ")
AddBarButton(79, "\z_dimhome\r", "p∙vodnφ pozice textu")
EndBar()
CreateBar("Zobrazenφ", "ICON32.BMP", 32, 32, "A")
AddBarButton(19, "'_zoom\r", "zoom")
AddBarButton(20, "'_zoom\r2\r", "zv∞tÜit")
AddBarButton(21, "'_zoom\r0.5\r", "zmenÜit")
AddBarButton(22, "'_zoom\r_extents\r", "zobrazit vÜe")
AddBarButton(65, "'_zoom\r_previous\r", "p°edchozφ velikost")
AddBarSeparator()
AddBarButton(23, "'_pan\r", "posunutφ zobrazenφ")
AddBarButton(24, "'_regen\r", "obnov")
EndBar()
CreateBar("Nßstroje", "ICON32.BMP", 32, 32, "A")
AddBarButton(33, "\z_erase\r", "sma₧")
AddBarSeparator()
AddBarButton(25, "\z_u\r", "krok zp∞t")
AddBarButton(26, "\z_r\r", "opakovat krok")
AddBarSeparator()
AddBarButton(50, "'_gridsh\r", "M°φ₧ka Ano/Ne")
AddBarButton(66, "'_grid\r\r", "P°ichytit do m°φ₧ky Ano/Ne")
AddBarButton(51, "'_ortho\r", "Orto Ano/Ne")
EndBar()
CreateBar("Modifikace", "ICON32.BMP", 32, 32, "A")
AddBarButton(27, "\z_copy\r", "kopφruj")
AddBarButton(48, "\z_array\r", "pole")
AddBarButton(28, "\z_move\r", "posun")
AddBarButton(29, "\z_rotate\r", "otoΦ")
AddBarButton(30, "\z_mirror\r", "zrcadli")
AddBarButton(31, "\z_scale\r", "m∞°φtko")
AddBarButton(81, "\z_stretch\r", "protßhni")
AddBarSeparator()
AddBarButton(49, "\z_break\r", "rozd∞lit")
AddBarButton(34, "\z_trim\r", "zkrßtit")
AddBarButton(80, "\z_extend\r", "prodlu₧")
AddBarButton(35, "\z_fillet\r", "zaoblit")
AddBarButton(36, "\z_chamfer\r", "zkosit")
AddBarButton(84, "\z_offset\r", "ekvidistanta")
AddBarSeparator()
AddBarButton(10, "\z_explode\r", "rozbalit")
AddBarButton(32, "\z_propsd\r", "vlastnosti")
EndBar()
CreateBar("Editace", "ICON32.BMP", 32, 32, "A")
AddBarButton(37, "\z_textstyle\r", "styl textu")
AddBarButton(38, "\z_dimstyle\r", "styl k≤t")
AddBarButton(72, "\z_hatchstyle\r", "styl Ürafu")
AddBarSeparator()
AddBarButton(40, "\z_edit\r", "editovat")
AddBarButton(41, "\z_tedit\r", "editovat text")
AddBarButton(42, "\z_attredit\r", "editovat atribut")
AddBarButton(43, "\z_insattrd\r", "editovat atributy bloku")
EndBar()
CreateBar("Informace", "ICON32.BMP", 32, 32, "A")
AddBarButton(44, "'_list\r", "v²pis")
AddBarButton(45, "'_id\r", "identifikace bodu")
AddBarButton(46, "'_dist\r", "vzdßlenost")
AddBarSeparator()
AddBarButton(47, "'_help\r", "nßpov∞da")
EndBar()
CreateBar("Filtry", "ICON32.BMP", 32, 32, "A")
AddBarButton(77, "'_sticky\r", "lep")
AddBarSeparator()
AddBarButton(54, "'_endp\r", "koncov² bod")
AddBarButton(55, "'_midp\r", "prost°ednφ bod")
AddBarButton(56, "'_intp\r", "pr∙seΦφk")
AddBarButton(57, "'_cenp\r", "st°ed")
AddBarButton(58, "'_perp\r", "kolm²")
AddBarButton(59, "'_tanp\r", "teΦna")
AddBarButton(60, "'_insp\r", "bod vlo₧enφ")
AddBarButton(61, "'_neap\r", "nejbli₧Üφ bod")
AddBarButton(82, "'_parf\r", "rovnob∞₧ka")
AddBarButton(64, "'_align\r", "zarovnej")
AddBarSeparator()
AddBarButton(62, "'.x\r", ".X")
AddBarButton(63, "'.y\r", ".Y")
AddBarButton(76, "'_contin\r", "prodlou₧enφ")
AddBarButton(83, "'_gintp\r", "zobecn∞n² pr∙seΦφk")
EndBar()
;---------------------------------------------------------------
; PICTURE configuration
;---------------------------------------------------------------
[**picture]
; define procedure needed for picture initialization
DefineProcedure("PictureRegisterExtension", "SS", "PICTURE_set_extensions", "picture.dll")
; and use the procedure
PictureRegisterExtension("PICBMP","BMP DIB")
PictureRegisterExtension("PICJPEG","JPEG JFIF JPE JPG")
PictureRegisterExtension("PICPCX","PCX")
PictureRegisterExtension("PICPNG","PNG")
PictureRegisterExtension("PICTIFF","TIF TIFF")