summaryrefslogtreecommitdiff
path: root/LiteEditor
diff options
context:
space:
mode:
authorAlessio Treglia <quadrispro@ubuntu.com>2010-05-02 01:22:32 +0200
committerAlessio Treglia <quadrispro@ubuntu.com>2010-05-02 01:22:32 +0200
commit75096346270d50c7b541003e8bd836eb9da82d2e (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /LiteEditor
parentc298bfa6913b48e5e16f7d3fed3839e203fadba1 (diff)
Clean old upstream branch.
Diffstat (limited to 'LiteEditor')
-rw-r--r--LiteEditor/LiteEditor.project1057
-rw-r--r--LiteEditor/aboutdlg.cpp60
-rw-r--r--LiteEditor/aboutdlg.h49
-rw-r--r--LiteEditor/aboutdlgbase.cpp105
-rw-r--r--LiteEditor/aboutdlgbase.h61
-rw-r--r--LiteEditor/acceltablebasedlg.cpp101
-rw-r--r--LiteEditor/acceltablebasedlg.h80
-rw-r--r--LiteEditor/acceltabledlg.cpp222
-rw-r--r--LiteEditor/acceltabledlg.h60
-rw-r--r--LiteEditor/add_option_dialog.cpp100
-rw-r--r--LiteEditor/add_option_dialog.h61
-rw-r--r--LiteEditor/addincludefiledlg.cpp173
-rw-r--r--LiteEditor/addincludefiledlg.h59
-rw-r--r--LiteEditor/addincludefiledlgbase.cpp152
-rw-r--r--LiteEditor/addincludefiledlgbase.h90
-rw-r--r--LiteEditor/addoptioncheckdlg.cpp138
-rw-r--r--LiteEditor/addoptioncheckdlg.h28
-rw-r--r--LiteEditor/addoptioncheckdlgbase.cpp74
-rw-r--r--LiteEditor/addoptioncheckdlgbase.h59
-rw-r--r--LiteEditor/advanced_settings.cpp317
-rw-r--r--LiteEditor/advanced_settings.h94
-rw-r--r--LiteEditor/app.cpp578
-rw-r--r--LiteEditor/app.h74
-rw-r--r--LiteEditor/attachdbgprocbasedlg.cpp100
-rw-r--r--LiteEditor/attachdbgprocbasedlg.h57
-rw-r--r--LiteEditor/attachdbgprocdlg.cpp150
-rw-r--r--LiteEditor/attachdbgprocdlg.h59
-rw-r--r--LiteEditor/batchbuildbasedlg.cpp139
-rw-r--r--LiteEditor/batchbuildbasedlg.h92
-rw-r--r--LiteEditor/batchbuilddlg.cpp277
-rw-r--r--LiteEditor/batchbuilddlg.h70
-rw-r--r--LiteEditor/breakpoint_dlg_base.cpp305
-rw-r--r--LiteEditor/breakpoint_dlg_base.h127
-rw-r--r--LiteEditor/breakpointdlg.cpp247
-rw-r--r--LiteEditor/breakpointdlg.h123
-rw-r--r--LiteEditor/breakpointpropertiesdlg.cpp214
-rw-r--r--LiteEditor/breakpointpropertiesdlg.h46
-rw-r--r--LiteEditor/breakpointsmgr.cpp1051
-rw-r--r--LiteEditor/breakpointsmgr.h321
-rw-r--r--LiteEditor/buidltab.cpp764
-rw-r--r--LiteEditor/buidltab.h144
-rw-r--r--LiteEditor/build_page.cpp193
-rw-r--r--LiteEditor/build_page.h81
-rw-r--r--LiteEditor/buildorderbasepage.cpp148
-rw-r--r--LiteEditor/buildorderbasepage.h86
-rw-r--r--LiteEditor/buildsettingstab.cpp72
-rw-r--r--LiteEditor/buildsettingstab.h44
-rw-r--r--LiteEditor/buildsettingstabbase.cpp117
-rw-r--r--LiteEditor/buildsettingstabbase.h59
-rw-r--r--LiteEditor/buildtabsettingsdata.cpp77
-rw-r--r--LiteEditor/buildtabsettingsdata.h133
-rw-r--r--LiteEditor/cc_box.cpp485
-rw-r--r--LiteEditor/cc_box.h109
-rw-r--r--LiteEditor/cc_boxbase.cpp61
-rw-r--r--LiteEditor/cc_boxbase.h71
-rw-r--r--LiteEditor/ccvirtuallistctrl.cpp112
-rw-r--r--LiteEditor/ccvirtuallistctrl.h58
-rw-r--r--LiteEditor/checkdirtreectrl.cpp203
-rw-r--r--LiteEditor/checkdirtreectrl.h63
-rw-r--r--LiteEditor/checktreectrl.cpp226
-rw-r--r--LiteEditor/checktreectrl.h96
-rw-r--r--LiteEditor/cl_editor.cpp3502
-rw-r--r--LiteEditor/cl_editor.h631
-rw-r--r--LiteEditor/clauidockart.cpp47
-rw-r--r--LiteEditor/clauidockart.h18
-rw-r--r--LiteEditor/close_all_dlg.cpp109
-rw-r--r--LiteEditor/close_all_dlg.h70
-rw-r--r--LiteEditor/code_parser.rc29
-rw-r--r--LiteEditor/colourrequest.cpp43
-rw-r--r--LiteEditor/colourrequest.h42
-rw-r--r--LiteEditor/colourthread.cpp59
-rw-r--r--LiteEditor/colourthread.h47
-rw-r--r--LiteEditor/commentpage.cpp85
-rw-r--r--LiteEditor/commentpage.h51
-rw-r--r--LiteEditor/commentpagebase.cpp137
-rw-r--r--LiteEditor/commentpagebase.h86
-rw-r--r--LiteEditor/compiler_pages.cpp601
-rw-r--r--LiteEditor/compiler_pages.h294
-rw-r--r--LiteEditor/compileradvancepage.cpp26
-rw-r--r--LiteEditor/compileradvancepage.h23
-rw-r--r--LiteEditor/compilercompileroptionspage.cpp94
-rw-r--r--LiteEditor/compilercompileroptionspage.h53
-rw-r--r--LiteEditor/compilerfiletypespage.cpp112
-rw-r--r--LiteEditor/compilerfiletypespage.h33
-rw-r--r--LiteEditor/compilerlinkeroptionspage.cpp92
-rw-r--r--LiteEditor/compilerlinkeroptionspage.h42
-rw-r--r--LiteEditor/compilerpatternspage.cpp208
-rw-r--r--LiteEditor/compilerpatternspage.h51
-rw-r--r--LiteEditor/compilerswitchespage.cpp100
-rw-r--r--LiteEditor/compilerswitchespage.h33
-rw-r--r--LiteEditor/compilertoolspage.cpp28
-rw-r--r--LiteEditor/compilertoolspage.h24
-rw-r--r--LiteEditor/configuration_manager_base_dlg.cpp120
-rw-r--r--LiteEditor/configuration_manager_base_dlg.h77
-rw-r--r--LiteEditor/configuration_manager_dlg.cpp363
-rw-r--r--LiteEditor/configuration_manager_dlg.h80
-rw-r--r--LiteEditor/context_base.cpp229
-rw-r--r--LiteEditor/context_base.h122
-rw-r--r--LiteEditor/context_cpp.cpp2805
-rw-r--r--LiteEditor/context_cpp.h213
-rw-r--r--LiteEditor/context_diff.cpp109
-rw-r--r--LiteEditor/context_diff.h45
-rw-r--r--LiteEditor/context_manager.cpp90
-rw-r--r--LiteEditor/context_manager.h55
-rw-r--r--LiteEditor/contributers.h66
-rw-r--r--LiteEditor/cpp_symbol_tree.cpp231
-rw-r--r--LiteEditor/cpp_symbol_tree.h72
-rw-r--r--LiteEditor/customstatusbar.cpp66
-rw-r--r--LiteEditor/customstatusbar.h56
-rw-r--r--LiteEditor/dbgcommandbasedlg.cpp71
-rw-r--r--LiteEditor/dbgcommandbasedlg.h50
-rw-r--r--LiteEditor/dbgcommanddlg.cpp41
-rw-r--r--LiteEditor/dbgcommanddlg.h52
-rw-r--r--LiteEditor/debuggerasciiviewer.cpp126
-rw-r--r--LiteEditor/debuggerasciiviewer.h27
-rw-r--r--LiteEditor/debuggerasciiviewerbase.cpp51
-rw-r--r--LiteEditor/debuggerasciiviewerbase.fbp293
-rw-r--r--LiteEditor/debuggerasciiviewerbase.h51
-rw-r--r--LiteEditor/debuggerpane.cpp173
-rw-r--r--LiteEditor/debuggerpane.h93
-rw-r--r--LiteEditor/debuggersettingsbasedlg.cpp260
-rw-r--r--LiteEditor/debuggersettingsbasedlg.h114
-rw-r--r--LiteEditor/debuggersettingsdlg.cpp301
-rw-r--r--LiteEditor/debuggersettingsdlg.h82
-rw-r--r--LiteEditor/debuggertip.cpp89
-rw-r--r--LiteEditor/debuggertip.h52
-rw-r--r--LiteEditor/depend_dlg_page.cpp223
-rw-r--r--LiteEditor/depend_dlg_page.h64
-rw-r--r--LiteEditor/depends_dlg.cpp117
-rw-r--r--LiteEditor/depends_dlg.h67
-rw-r--r--LiteEditor/dialogspage.cpp72
-rw-r--r--LiteEditor/dialogspage.h48
-rw-r--r--LiteEditor/dialogspagebase.cpp56
-rw-r--r--LiteEditor/dialogspagebase.h66
-rw-r--r--LiteEditor/edit_configuration.cpp195
-rw-r--r--LiteEditor/edit_configuration.h71
-rw-r--r--LiteEditor/edit_workspace_conf_dlg.cpp172
-rw-r--r--LiteEditor/edit_workspace_conf_dlg.h69
-rw-r--r--LiteEditor/editcmpfileinfobase.cpp121
-rw-r--r--LiteEditor/editcmpfileinfobase.h85
-rw-r--r--LiteEditor/editcmpfileinfodlg.cpp91
-rw-r--r--LiteEditor/editcmpfileinfodlg.h69
-rw-r--r--LiteEditor/editor_options_general_guides_panel.cpp105
-rw-r--r--LiteEditor/editor_options_general_guides_panel.h51
-rw-r--r--LiteEditor/editoroptionsgeneralcodenavpanel.cpp51
-rw-r--r--LiteEditor/editoroptionsgeneralcodenavpanel.h48
-rw-r--r--LiteEditor/editoroptionsgeneralcodenavpanelbase.cpp61
-rw-r--r--LiteEditor/editoroptionsgeneralcodenavpanelbase.fbp186
-rw-r--r--LiteEditor/editoroptionsgeneralcodenavpanelbase.h67
-rw-r--r--LiteEditor/editoroptionsgeneralguidespanelbase.cpp109
-rw-r--r--LiteEditor/editoroptionsgeneralguidespanelbase.fbp875
-rw-r--r--LiteEditor/editoroptionsgeneralguidespanelbase.h62
-rw-r--r--LiteEditor/editoroptionsgeneralindentationpanel.cpp46
-rw-r--r--LiteEditor/editoroptionsgeneralindentationpanel.h49
-rw-r--r--LiteEditor/editoroptionsgeneralindetationpanelbase.cpp52
-rw-r--r--LiteEditor/editoroptionsgeneralindetationpanelbase.fbp437
-rw-r--r--LiteEditor/editoroptionsgeneralindetationpanelbase.h49
-rw-r--r--LiteEditor/editoroptionsgeneralrightmarginpanel.cpp69
-rw-r--r--LiteEditor/editoroptionsgeneralrightmarginpanel.h52
-rw-r--r--LiteEditor/editoroptionsgeneralrightmarginpanelbase.cpp94
-rw-r--r--LiteEditor/editoroptionsgeneralrightmarginpanelbase.fbp464
-rw-r--r--LiteEditor/editoroptionsgeneralrightmarginpanelbase.h79
-rw-r--r--LiteEditor/editoroptionsgeneralsavepanel.cpp45
-rw-r--r--LiteEditor/editoroptionsgeneralsavepanel.h48
-rw-r--r--LiteEditor/editoroptionsgeneralsavepanelbase.cpp57
-rw-r--r--LiteEditor/editoroptionsgeneralsavepanelbase.fbp175
-rw-r--r--LiteEditor/editoroptionsgeneralsavepanelbase.h67
-rw-r--r--LiteEditor/editorsettings_terminal_base.cpp63
-rw-r--r--LiteEditor/editorsettings_terminal_base.h48
-rw-r--r--LiteEditor/editorsettingsbookmarks.fbp593
-rw-r--r--LiteEditor/editorsettingsbookmarksbasepanel.cpp67
-rw-r--r--LiteEditor/editorsettingsbookmarksbasepanel.h51
-rw-r--r--LiteEditor/editorsettingsbookmarkspanel.cpp57
-rw-r--r--LiteEditor/editorsettingsbookmarkspanel.h48
-rw-r--r--LiteEditor/editorsettingscaret.cpp17
-rw-r--r--LiteEditor/editorsettingscaret.h21
-rw-r--r--LiteEditor/editorsettingscaretbase.cpp47
-rw-r--r--LiteEditor/editorsettingscaretbase.fbp301
-rw-r--r--LiteEditor/editorsettingscaretbase.h45
-rw-r--r--LiteEditor/editorsettingscomments.cpp50
-rw-r--r--LiteEditor/editorsettingscomments.fbp175
-rw-r--r--LiteEditor/editorsettingscomments.h49
-rw-r--r--LiteEditor/editorsettingscommentsbase.cpp58
-rw-r--r--LiteEditor/editorsettingscommentsbase.h67
-rw-r--r--LiteEditor/editorsettingscommentsdoxygenbase.fbp616
-rw-r--r--LiteEditor/editorsettingscommentsdoxygenpanel.cpp78
-rw-r--r--LiteEditor/editorsettingscommentsdoxygenpanel.h50
-rw-r--r--LiteEditor/editorsettingscommentsdoxygenpanelbase.cpp104
-rw-r--r--LiteEditor/editorsettingscommentsdoxygenpanelbase.h80
-rw-r--r--LiteEditor/editorsettingsdialogs.cpp95
-rw-r--r--LiteEditor/editorsettingsdialogs.h61
-rw-r--r--LiteEditor/editorsettingsdialogsbase.cpp57
-rw-r--r--LiteEditor/editorsettingsdialogsbase.fbp175
-rw-r--r--LiteEditor/editorsettingsdialogsbase.h68
-rw-r--r--LiteEditor/editorsettingsdockingwidows.cpp25
-rw-r--r--LiteEditor/editorsettingsdockingwidows.h25
-rw-r--r--LiteEditor/editorsettingsdockingwindowsbase.cpp58
-rw-r--r--LiteEditor/editorsettingsdockingwindowsbase.fbp270
-rw-r--r--LiteEditor/editorsettingsdockingwindowsbase.h49
-rw-r--r--LiteEditor/editorsettingsfolding.cpp57
-rw-r--r--LiteEditor/editorsettingsfolding.h50
-rw-r--r--LiteEditor/editorsettingsfoldingbase.cpp74
-rw-r--r--LiteEditor/editorsettingsfoldingbase.fbp549
-rw-r--r--LiteEditor/editorsettingsfoldingbase.h56
-rw-r--r--LiteEditor/editorsettingsgeneralpagebase.fbp1472
-rw-r--r--LiteEditor/editorsettingslocal.cpp330
-rw-r--r--LiteEditor/editorsettingslocal.h68
-rw-r--r--LiteEditor/editorsettingslocalbase.cpp287
-rw-r--r--LiteEditor/editorsettingslocalbase.h100
-rw-r--r--LiteEditor/editorsettingsmiscbasepanel.cpp109
-rw-r--r--LiteEditor/editorsettingsmiscbasepanel.fbp1058
-rw-r--r--LiteEditor/editorsettingsmiscbasepanel.h66
-rw-r--r--LiteEditor/editorsettingsmiscpanel.cpp153
-rw-r--r--LiteEditor/editorsettingsmiscpanel.h54
-rw-r--r--LiteEditor/editorsettingsterminal.cpp16
-rw-r--r--LiteEditor/editorsettingsterminal.fbp413
-rw-r--r--LiteEditor/editorsettingsterminal.h22
-rw-r--r--LiteEditor/env_var_dlg_base.cpp120
-rw-r--r--LiteEditor/env_var_dlg_base.h79
-rw-r--r--LiteEditor/envvar_dlg.cpp151
-rw-r--r--LiteEditor/envvar_dlg.h84
-rw-r--r--LiteEditor/envvar_table.cpp134
-rw-r--r--LiteEditor/envvar_table.h31
-rw-r--r--LiteEditor/errorstab.cpp204
-rw-r--r--LiteEditor/errorstab.h58
-rw-r--r--LiteEditor/exports.h18
-rw-r--r--LiteEditor/file.xpm36
-rw-r--r--LiteEditor/filechecklist.cpp77
-rw-r--r--LiteEditor/filechecklist.h44
-rw-r--r--LiteEditor/filechecklistbase.cpp86
-rw-r--r--LiteEditor/filechecklistbase.h58
-rw-r--r--LiteEditor/filedroptarget.cpp46
-rw-r--r--LiteEditor/filedroptarget.h35
-rw-r--r--LiteEditor/fileexplorer.cpp209
-rw-r--r--LiteEditor/fileexplorer.h71
-rw-r--r--LiteEditor/fileexplorertree.cpp461
-rw-r--r--LiteEditor/fileexplorertree.h71
-rw-r--r--LiteEditor/filehistory.cpp44
-rw-r--r--LiteEditor/filehistory.h42
-rw-r--r--LiteEditor/fileview.cpp1858
-rw-r--r--LiteEditor/fileview.h190
-rw-r--r--LiteEditor/findinfilesdlg.cpp369
-rw-r--r--LiteEditor/findinfilesdlg.h67
-rw-r--r--LiteEditor/findinfilesdlgbase.cpp214
-rw-r--r--LiteEditor/findinfilesdlgbase.h81
-rw-r--r--LiteEditor/findreplacedlg.cpp515
-rw-r--r--LiteEditor/findreplacedlg.h230
-rw-r--r--LiteEditor/findresultstab.cpp604
-rw-r--r--LiteEditor/findresultstab.h98
-rw-r--r--LiteEditor/frame.cpp3748
-rw-r--r--LiteEditor/frame.h469
-rw-r--r--LiteEditor/free_text_dialog.cpp76
-rw-r--r--LiteEditor/free_text_dialog.h62
-rw-r--r--LiteEditor/generalinfo.cpp50
-rw-r--r--LiteEditor/generalinfo.h66
-rw-r--r--LiteEditor/generic_context.cpp64
-rw-r--r--LiteEditor/generic_context.h64
-rw-r--r--LiteEditor/iconsextra.cpp587
-rw-r--r--LiteEditor/implement_parent_virtual_functions.cpp127
-rw-r--r--LiteEditor/implement_parent_virtual_functions.h37
-rw-r--r--LiteEditor/implementparentvirtualfunctionsbase.cpp108
-rw-r--r--LiteEditor/implementparentvirtualfunctionsbase.fbp864
-rw-r--r--LiteEditor/implementparentvirtualfunctionsbase.h71
-rw-r--r--LiteEditor/implparentvirtualfunctionsdata.h43
-rw-r--r--LiteEditor/importfilesdialog.cpp169
-rw-r--r--LiteEditor/importfilesdialog.fbp636
-rw-r--r--LiteEditor/importfilesdialog.h81
-rw-r--r--LiteEditor/importfilessettings.cpp47
-rw-r--r--LiteEditor/importfilessettings.h69
-rw-r--r--LiteEditor/keyboardmanager.cpp141
-rw-r--r--LiteEditor/keyboardmanager.h48
-rw-r--r--LiteEditor/lexer_page.cpp335
-rw-r--r--LiteEditor/lexer_page.h97
-rw-r--r--LiteEditor/listctrlpanel.cpp151
-rw-r--r--LiteEditor/listctrlpanel.h58
-rw-r--r--LiteEditor/listctrlpanelbase.cpp33
-rw-r--r--LiteEditor/listctrlpanelbase.h45
-rw-r--r--LiteEditor/localstable.cpp251
-rw-r--r--LiteEditor/localstable.h36
-rw-r--r--LiteEditor/macromanager.cpp112
-rw-r--r--LiteEditor/macromanager.h45
-rw-r--r--LiteEditor/mainbook.cpp897
-rw-r--r--LiteEditor/mainbook.h135
-rw-r--r--LiteEditor/manager.cpp3032
-rw-r--r--LiteEditor/manager.h590
-rw-r--r--LiteEditor/memoryview.cpp180
-rw-r--r--LiteEditor/memoryview.h56
-rw-r--r--LiteEditor/memoryviewbase.cpp105
-rw-r--r--LiteEditor/memoryviewbase.h82
-rw-r--r--LiteEditor/menu_event_handlers.cpp429
-rw-r--r--LiteEditor/menu_event_handlers.h199
-rw-r--r--LiteEditor/menumanager.cpp80
-rw-r--r--LiteEditor/menumanager.h61
-rw-r--r--LiteEditor/message_pane.cpp222
-rw-r--r--LiteEditor/message_pane.h90
-rw-r--r--LiteEditor/messagepane.fbp679
-rw-r--r--LiteEditor/messagepane_base.cpp115
-rw-r--r--LiteEditor/messagepane_base.h66
-rw-r--r--LiteEditor/movefuncimplbasedlg.cpp119
-rw-r--r--LiteEditor/movefuncimplbasedlg.h80
-rw-r--r--LiteEditor/movefuncimpldlg.cpp73
-rw-r--r--LiteEditor/movefuncimpldlg.h52
-rw-r--r--LiteEditor/navbar.cpp162
-rw-r--r--LiteEditor/navbar.h54
-rw-r--r--LiteEditor/navbarbase.cpp66
-rw-r--r--LiteEditor/navbarbase.fbp361
-rw-r--r--LiteEditor/navbarbase.h60
-rw-r--r--LiteEditor/new_configuration_dlg.cpp145
-rw-r--r--LiteEditor/new_configuration_dlg.h69
-rw-r--r--LiteEditor/new_item_base_dlg.cpp85
-rw-r--r--LiteEditor/new_item_base_dlg.h52
-rw-r--r--LiteEditor/new_item_dlg.cpp246
-rw-r--r--LiteEditor/new_item_dlg.h66
-rw-r--r--LiteEditor/new_quick_watch_dlg.cpp375
-rw-r--r--LiteEditor/new_quick_watch_dlg.h68
-rw-r--r--LiteEditor/newkeyshortcutbasedlg.cpp99
-rw-r--r--LiteEditor/newkeyshortcutbasedlg.h79
-rw-r--r--LiteEditor/newkeyshortcutdlg.cpp172
-rw-r--r--LiteEditor/newkeyshortcutdlg.h56
-rw-r--r--LiteEditor/newprojectbasedlg.cpp145
-rw-r--r--LiteEditor/newprojectbasedlg.h74
-rw-r--r--LiteEditor/newprojectdlg.cpp284
-rw-r--r--LiteEditor/newprojectdlg.h81
-rw-r--r--LiteEditor/newquickwatch.cpp54
-rw-r--r--LiteEditor/newquickwatch.fbp163
-rw-r--r--LiteEditor/newquickwatch.h54
-rw-r--r--LiteEditor/newversionbasedlg.cpp82
-rw-r--r--LiteEditor/newversionbasedlg.fbp351
-rw-r--r--LiteEditor/newversionbasedlg.h76
-rw-r--r--LiteEditor/newversiondlg.cpp56
-rw-r--r--LiteEditor/newversiondlg.h50
-rw-r--r--LiteEditor/newworkspacebasedlg.cpp103
-rw-r--r--LiteEditor/newworkspacebasedlg.h61
-rw-r--r--LiteEditor/newworkspacedlg.cpp101
-rw-r--r--LiteEditor/newworkspacedlg.h54
-rw-r--r--LiteEditor/openwindowspanel.cpp156
-rw-r--r--LiteEditor/openwindowspanel.h66
-rw-r--r--LiteEditor/openwindowspanelbase.cpp53
-rw-r--r--LiteEditor/openwindowspanelbase.h70
-rw-r--r--LiteEditor/options_base_dlg2.cpp78
-rw-r--r--LiteEditor/options_base_dlg2.h53
-rw-r--r--LiteEditor/options_dlg2.cpp143
-rw-r--r--LiteEditor/options_dlg2.h74
-rw-r--r--LiteEditor/optionsdialogbase2.fbp361
-rw-r--r--LiteEditor/output_pane.cpp131
-rw-r--r--LiteEditor/output_pane.h115
-rw-r--r--LiteEditor/outputtabwindow.cpp360
-rw-r--r--LiteEditor/outputtabwindow.h84
-rw-r--r--LiteEditor/plugindlgbase.cpp64
-rw-r--r--LiteEditor/plugindlgbase.h54
-rw-r--r--LiteEditor/pluginmanager.cpp606
-rw-r--r--LiteEditor/pluginmanager.h138
-rw-r--r--LiteEditor/pluginmgrdlg.cpp154
-rw-r--r--LiteEditor/pluginmgrdlg.h50
-rw-r--r--LiteEditor/project_settings_base_dlg.cpp1060
-rw-r--r--LiteEditor/project_settings_base_dlg.h311
-rw-r--r--LiteEditor/project_settings_dlg.cpp1340
-rw-r--r--LiteEditor/project_settings_dlg.h236
-rw-r--r--LiteEditor/quickdebugbase.cpp142
-rw-r--r--LiteEditor/quickdebugbase.h92
-rw-r--r--LiteEditor/quickdebugdlg.cpp143
-rw-r--r--LiteEditor/quickdebugdlg.h56
-rw-r--r--LiteEditor/quickfindbar.cpp349
-rw-r--r--LiteEditor/quickfindbar.h76
-rw-r--r--LiteEditor/quickfindbarbase.cpp131
-rw-r--r--LiteEditor/quickfindbarbase.fbp910
-rw-r--r--LiteEditor/quickfindbarbase.h82
-rw-r--r--LiteEditor/quickoutlinedlg.cpp127
-rw-r--r--LiteEditor/quickoutlinedlg.h65
-rw-r--r--LiteEditor/refactorindexbuildjob.cpp93
-rw-r--r--LiteEditor/refactorindexbuildjob.h46
-rw-r--r--LiteEditor/renamesymbolbase.cpp106
-rw-r--r--LiteEditor/renamesymbolbase.h82
-rw-r--r--LiteEditor/renamesymboldlg.cpp115
-rw-r--r--LiteEditor/renamesymboldlg.h60
-rw-r--r--LiteEditor/replaceinfilespanel.cpp395
-rw-r--r--LiteEditor/replaceinfilespanel.h63
-rw-r--r--LiteEditor/res/16/arrow_right_green16.pngbin589 -> 0 bytes
-rw-r--r--LiteEditor/res/16/bookmark.pngbin775 -> 0 bytes
-rw-r--r--LiteEditor/res/16/class24.pngbin734 -> 0 bytes
-rw-r--r--LiteEditor/res/16/compfile.pngbin800 -> 0 bytes
-rw-r--r--LiteEditor/res/16/copy.pngbin514 -> 0 bytes
-rw-r--r--LiteEditor/res/16/cut.pngbin368 -> 0 bytes
-rw-r--r--LiteEditor/res/16/debugger_next.pngbin411 -> 0 bytes
-rw-r--r--LiteEditor/res/16/debugger_pause.pngbin3661 -> 0 bytes
-rw-r--r--LiteEditor/res/16/debugger_restart.pngbin898 -> 0 bytes
-rw-r--r--LiteEditor/res/16/debugger_start.pngbin3638 -> 0 bytes
-rw-r--r--LiteEditor/res/16/debugger_stepin.pngbin416 -> 0 bytes
-rw-r--r--LiteEditor/res/16/debugger_stepout.pngbin418 -> 0 bytes
-rw-r--r--LiteEditor/res/16/debugger_stop.pngbin3589 -> 0 bytes
-rw-r--r--LiteEditor/res/16/emptytrash.pngbin759 -> 0 bytes
-rw-r--r--LiteEditor/res/16/external_tools16.pngbin639 -> 0 bytes
-rw-r--r--LiteEditor/res/16/fileclose.pngbin820 -> 0 bytes
-rw-r--r--LiteEditor/res/16/filenew.pngbin609 -> 0 bytes
-rw-r--r--LiteEditor/res/16/find.pngbin627 -> 0 bytes
-rw-r--r--LiteEditor/res/16/folder24.pngbin438 -> 0 bytes
-rw-r--r--LiteEditor/res/16/formatter.pngbin586 -> 0 bytes
-rw-r--r--LiteEditor/res/16/formatter_settings.pngbin660 -> 0 bytes
-rw-r--r--LiteEditor/res/16/func_called24.pngbin806 -> 0 bytes
-rw-r--r--LiteEditor/res/16/func_calling24.pngbin821 -> 0 bytes
-rw-r--r--LiteEditor/res/16/func_find24.pngbin854 -> 0 bytes
-rw-r--r--LiteEditor/res/16/func_public_find.pngbin1555 -> 0 bytes
-rw-r--r--LiteEditor/res/16/gear16.pngbin3572 -> 0 bytes
-rw-r--r--LiteEditor/res/16/gear_run.pngbin854 -> 0 bytes
-rw-r--r--LiteEditor/res/16/gear_stop.pngbin803 -> 0 bytes
-rw-r--r--LiteEditor/res/16/highlight.pngbin602 -> 0 bytes
-rw-r--r--LiteEditor/res/16/next.pngbin721 -> 0 bytes
-rw-r--r--LiteEditor/res/16/open_resource.pngbin550 -> 0 bytes
-rw-r--r--LiteEditor/res/16/open_type.pngbin604 -> 0 bytes
-rw-r--r--LiteEditor/res/16/page_save.pngbin583 -> 0 bytes
-rw-r--r--LiteEditor/res/16/paste.pngbin567 -> 0 bytes
-rw-r--r--LiteEditor/res/16/plugin24.pngbin800 -> 0 bytes
-rw-r--r--LiteEditor/res/16/previous.pngbin634 -> 0 bytes
-rw-r--r--LiteEditor/res/16/process_stop.pngbin722 -> 0 bytes
-rw-r--r--LiteEditor/res/16/quickfinder.pngbin424 -> 0 bytes
-rw-r--r--LiteEditor/res/16/redo.pngbin817 -> 0 bytes
-rw-r--r--LiteEditor/res/16/ref_analyzer24.pngbin969 -> 0 bytes
-rw-r--r--LiteEditor/res/16/ref_anaylzer_settings24.pngbin894 -> 0 bytes
-rw-r--r--LiteEditor/res/16/refresh.pngbin3498 -> 0 bytes
-rw-r--r--LiteEditor/res/16/revert.pngbin714 -> 0 bytes
-rw-r--r--LiteEditor/res/16/run_unit_test.pngbin3618 -> 0 bytes
-rw-r--r--LiteEditor/res/16/save_all.pngbin651 -> 0 bytes
-rw-r--r--LiteEditor/res/16/save_as.pngbin860 -> 0 bytes
-rw-r--r--LiteEditor/res/16/search.pngbin3321 -> 0 bytes
-rw-r--r--LiteEditor/res/16/text_tree.pngbin549 -> 0 bytes
-rw-r--r--LiteEditor/res/16/undo.pngbin875 -> 0 bytes
-rw-r--r--LiteEditor/res/16/wx24.pngbin1241 -> 0 bytes
-rw-r--r--LiteEditor/res/24/arrow_green_right24.pngbin1089 -> 0 bytes
-rw-r--r--LiteEditor/res/24/bookmark.pngbin1136 -> 0 bytes
-rw-r--r--LiteEditor/res/24/class24.pngbin1605 -> 0 bytes
-rw-r--r--LiteEditor/res/24/compfile.pngbin1217 -> 0 bytes
-rw-r--r--LiteEditor/res/24/copy.pngbin644 -> 0 bytes
-rw-r--r--LiteEditor/res/24/cut.pngbin576 -> 0 bytes
-rw-r--r--LiteEditor/res/24/debugger_next.pngbin645 -> 0 bytes
-rw-r--r--LiteEditor/res/24/debugger_pause.pngbin1528 -> 0 bytes
-rw-r--r--LiteEditor/res/24/debugger_restart.pngbin1759 -> 0 bytes
-rw-r--r--LiteEditor/res/24/debugger_start.pngbin1510 -> 0 bytes
-rw-r--r--LiteEditor/res/24/debugger_stepin.pngbin741 -> 0 bytes
-rw-r--r--LiteEditor/res/24/debugger_stepout.pngbin733 -> 0 bytes
-rw-r--r--LiteEditor/res/24/debugger_stop.pngbin1316 -> 0 bytes
-rw-r--r--LiteEditor/res/24/emptytrash.pngbin1016 -> 0 bytes
-rw-r--r--LiteEditor/res/24/external_tools24.pngbin893 -> 0 bytes
-rw-r--r--LiteEditor/res/24/fileclose.pngbin1233 -> 0 bytes
-rw-r--r--LiteEditor/res/24/filenew.pngbin922 -> 0 bytes
-rw-r--r--LiteEditor/res/24/find.pngbin942 -> 0 bytes
-rw-r--r--LiteEditor/res/24/folder24.pngbin593 -> 0 bytes
-rw-r--r--LiteEditor/res/24/formatter.pngbin705 -> 0 bytes
-rw-r--r--LiteEditor/res/24/formatter_settings.pngbin959 -> 0 bytes
-rw-r--r--LiteEditor/res/24/func_called24.pngbin1216 -> 0 bytes
-rw-r--r--LiteEditor/res/24/func_calling24.pngbin1250 -> 0 bytes
-rw-r--r--LiteEditor/res/24/func_find24.pngbin1279 -> 0 bytes
-rw-r--r--LiteEditor/res/24/gear24.pngbin1535 -> 0 bytes
-rw-r--r--LiteEditor/res/24/gear_run.pngbin1253 -> 0 bytes
-rw-r--r--LiteEditor/res/24/gear_stop.pngbin1073 -> 0 bytes
-rw-r--r--LiteEditor/res/24/highlight.pngbin882 -> 0 bytes
-rw-r--r--LiteEditor/res/24/next.pngbin940 -> 0 bytes
-rw-r--r--LiteEditor/res/24/open_resource.pngbin813 -> 0 bytes
-rw-r--r--LiteEditor/res/24/open_type.pngbin975 -> 0 bytes
-rw-r--r--LiteEditor/res/24/page_save.pngbin798 -> 0 bytes
-rw-r--r--LiteEditor/res/24/paste.pngbin816 -> 0 bytes
-rw-r--r--LiteEditor/res/24/plugin24.pngbin1133 -> 0 bytes
-rw-r--r--LiteEditor/res/24/previous.pngbin907 -> 0 bytes
-rw-r--r--LiteEditor/res/24/process_stop.pngbin1078 -> 0 bytes
-rw-r--r--LiteEditor/res/24/quickfinder.pngbin495 -> 0 bytes
-rw-r--r--LiteEditor/res/24/redo.pngbin1245 -> 0 bytes
-rw-r--r--LiteEditor/res/24/ref_analyzer24.pngbin1599 -> 0 bytes
-rw-r--r--LiteEditor/res/24/ref_anaylzer_settings24.pngbin1602 -> 0 bytes
-rw-r--r--LiteEditor/res/24/refresh.pngbin1331 -> 0 bytes
-rw-r--r--LiteEditor/res/24/revert.pngbin1036 -> 0 bytes
-rw-r--r--LiteEditor/res/24/run_unit_test.pngbin1566 -> 0 bytes
-rw-r--r--LiteEditor/res/24/save_all.pngbin959 -> 0 bytes
-rw-r--r--LiteEditor/res/24/save_as.pngbin1233 -> 0 bytes
-rw-r--r--LiteEditor/res/24/search.pngbin3816 -> 0 bytes
-rw-r--r--LiteEditor/res/24/text_tree.pngbin742 -> 0 bytes
-rw-r--r--LiteEditor/res/24/undo.pngbin1220 -> 0 bytes
-rw-r--r--LiteEditor/res/24/wx24.pngbin1455 -> 0 bytes
-rw-r--r--LiteEditor/res/Checkbox_off.gifbin890 -> 0 bytes
-rw-r--r--LiteEditor/res/Checkbox_on.gifbin890 -> 0 bytes
-rw-r--r--LiteEditor/res/MessagePane/folder_home_reload.pngbin2754 -> 0 bytes
-rw-r--r--LiteEditor/res/MessagePane/message_pane_info.pngbin3820 -> 0 bytes
-rw-r--r--LiteEditor/res/MessagePane/preferences_other.pngbin2675 -> 0 bytes
-rw-r--r--LiteEditor/res/MessagePane/system_restart.pngbin2893 -> 0 bytes
-rw-r--r--LiteEditor/res/MessagePane/system_software_update.pngbin4999 -> 0 bytes
-rw-r--r--LiteEditor/res/MessagePane/warning.pngbin2741 -> 0 bytes
-rw-r--r--LiteEditor/res/about_img.pngbin38036 -> 0 bytes
-rw-r--r--LiteEditor/res/accept.pngbin781 -> 0 bytes
-rw-r--r--LiteEditor/res/arrow_left_green.pngbin570 -> 0 bytes
-rw-r--r--LiteEditor/res/arrow_right_green.pngbin589 -> 0 bytes
-rw-r--r--LiteEditor/res/breakpoint.pngbin745 -> 0 bytes
-rw-r--r--LiteEditor/res/bug.pngbin3692 -> 0 bytes
-rw-r--r--LiteEditor/res/but_green_s.pngbin713 -> 0 bytes
-rw-r--r--LiteEditor/res/chart_organisation.pngbin444 -> 0 bytes
-rw-r--r--LiteEditor/res/class.pngbin670 -> 0 bytes
-rw-r--r--LiteEditor/res/class_new.pngbin734 -> 0 bytes
-rw-r--r--LiteEditor/res/clean.pngbin792 -> 0 bytes
-rw-r--r--LiteEditor/res/close_panel.pngbin3668 -> 0 bytes
-rw-r--r--LiteEditor/res/close_panel_push.pngbin3490 -> 0 bytes
-rw-r--r--LiteEditor/res/collapse.pngbin761 -> 0 bytes
-rw-r--r--LiteEditor/res/commandprompt.pngbin678 -> 0 bytes
-rw-r--r--LiteEditor/res/configure.pngbin1288 -> 0 bytes
-rw-r--r--LiteEditor/res/conflict.pngbin401 -> 0 bytes
-rw-r--r--LiteEditor/res/cpp_blue.pngbin593 -> 0 bytes
-rw-r--r--LiteEditor/res/cross.pngbin655 -> 0 bytes
-rw-r--r--LiteEditor/res/cube_green.pngbin688 -> 0 bytes
-rw-r--r--LiteEditor/res/cube_yellow.pngbin722 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes.icobin26694 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes.pngbin741 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes_blue.pngbin801 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes_green.pngbin805 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes_modified.pngbin843 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes_ok.pngbin835 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes_red.pngbin761 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes_yellow.pngbin795 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes_yellow_modified.pngbin836 -> 0 bytes
-rw-r--r--LiteEditor/res/cubes_yellow_ok.pngbin834 -> 0 bytes
-rw-r--r--LiteEditor/res/debug_windows.pngbin733 -> 0 bytes
-rw-r--r--LiteEditor/res/document_delete.pngbin684 -> 0 bytes
-rw-r--r--LiteEditor/res/drive.pngbin3479 -> 0 bytes
-rw-r--r--LiteEditor/res/edit_add.pngbin3329 -> 0 bytes
-rw-r--r--LiteEditor/res/edit_delete.pngbin437 -> 0 bytes
-rw-r--r--LiteEditor/res/enum.pngbin518 -> 0 bytes
-rw-r--r--LiteEditor/res/enum.xpm26
-rw-r--r--LiteEditor/res/enumee.xpm56
-rw-r--r--LiteEditor/res/eraser.pngbin731 -> 0 bytes
-rw-r--r--LiteEditor/res/exclamation.pngbin701 -> 0 bytes
-rw-r--r--LiteEditor/res/execute.pngbin634 -> 0 bytes
-rw-r--r--LiteEditor/res/expand.pngbin700 -> 0 bytes
-rw-r--r--LiteEditor/res/file_explorer.pngbin612 -> 0 bytes
-rw-r--r--LiteEditor/res/find_refresh.pngbin685 -> 0 bytes
-rw-r--r--LiteEditor/res/find_what.pngbin700 -> 0 bytes
-rw-r--r--LiteEditor/res/folder.pngbin385 -> 0 bytes
-rw-r--r--LiteEditor/res/folder_development.pngbin649 -> 0 bytes
-rw-r--r--LiteEditor/res/folder_development_popup.pngbin588 -> 0 bytes
-rw-r--r--LiteEditor/res/folder_development_preferences.pngbin660 -> 0 bytes
-rw-r--r--LiteEditor/res/folder_home.pngbin545 -> 0 bytes
-rw-r--r--LiteEditor/res/func_private.pngbin646 -> 0 bytes
-rw-r--r--LiteEditor/res/func_protected.pngbin637 -> 0 bytes
-rw-r--r--LiteEditor/res/func_public.pngbin622 -> 0 bytes
-rw-r--r--LiteEditor/res/gohome.pngbin418 -> 0 bytes
-rw-r--r--LiteEditor/res/help.pngbin894 -> 0 bytes
-rw-r--r--LiteEditor/res/help_about.pngbin735 -> 0 bytes
-rw-r--r--LiteEditor/res/kstars.pngbin3445 -> 0 bytes
-rw-r--r--LiteEditor/res/link_editor.pngbin343 -> 0 bytes
-rw-r--r--LiteEditor/res/locals_view.pngbin887 -> 0 bytes
-rw-r--r--LiteEditor/res/lock.pngbin749 -> 0 bytes
-rw-r--r--LiteEditor/res/magic-wand.pngbin742 -> 0 bytes
-rw-r--r--LiteEditor/res/mail_mark_important.pngbin752 -> 0 bytes
-rw-r--r--LiteEditor/res/media_stop.pngbin705 -> 0 bytes
-rw-r--r--LiteEditor/res/member_private.pngbin735 -> 0 bytes
-rw-r--r--LiteEditor/res/member_protected.pngbin741 -> 0 bytes
-rw-r--r--LiteEditor/res/member_public.pngbin720 -> 0 bytes
-rw-r--r--LiteEditor/res/memory_view.pngbin3651 -> 0 bytes
-rw-r--r--LiteEditor/res/messagebox_info.pngbin795 -> 0 bytes
-rw-r--r--LiteEditor/res/messagebox_warning.pngbin762 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/application_x_compressed_tar.pngbin743 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/application_x_ms_dos_executable.pngbin821 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/application_x_mswinurl.pngbin722 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/application_x_php.pngbin597 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/application_x_sharedlib.pngbin1854 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/formbuilder.pngbin605 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/image_x_xpixmap.pngbin720 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/make.pngbin663 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/page_white_c.pngbin625 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/page_white_cplusplus.pngbin672 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/page_white_h.pngbin548 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/page_white_text.pngbin650 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/shellscript.pngbin563 -> 0 bytes
-rw-r--r--LiteEditor/res/mimetype/xml.pngbin572 -> 0 bytes
-rw-r--r--LiteEditor/res/modified.pngbin485 -> 0 bytes
-rw-r--r--LiteEditor/res/namespace.pngbin514 -> 0 bytes
-rw-r--r--LiteEditor/res/new_class.pngbin7960 -> 0 bytes
-rw-r--r--LiteEditor/res/ok.pngbin502 -> 0 bytes
-rw-r--r--LiteEditor/res/outbox.pngbin3490 -> 0 bytes
-rw-r--r--LiteEditor/res/package_utilities.pngbin966 -> 0 bytes
-rw-r--r--LiteEditor/res/page_close.pngbin2975 -> 0 bytes
-rw-r--r--LiteEditor/res/page_error.pngbin475 -> 0 bytes
-rw-r--r--LiteEditor/res/page_find.pngbin3562 -> 0 bytes
-rw-r--r--LiteEditor/res/page_green.pngbin639 -> 0 bytes
-rw-r--r--LiteEditor/res/page_new.pngbin682 -> 0 bytes
-rw-r--r--LiteEditor/res/page_open.pngbin537 -> 0 bytes
-rw-r--r--LiteEditor/res/page_red.pngbin554 -> 0 bytes
-rw-r--r--LiteEditor/res/page_white_c.pngbin625 -> 0 bytes
-rw-r--r--LiteEditor/res/page_white_cplusplus.pngbin672 -> 0 bytes
-rw-r--r--LiteEditor/res/page_white_h.pngbin548 -> 0 bytes
-rw-r--r--LiteEditor/res/page_white_text.pngbin650 -> 0 bytes
-rw-r--r--LiteEditor/res/page_white_text_modified.pngbin760 -> 0 bytes
-rw-r--r--LiteEditor/res/page_white_text_ok.pngbin793 -> 0 bytes
-rw-r--r--LiteEditor/res/pictures.pngbin704 -> 0 bytes
-rw-r--r--LiteEditor/res/plugin_add.pngbin691 -> 0 bytes
-rw-r--r--LiteEditor/res/puzzle.jpgbin13835 -> 0 bytes
-rw-r--r--LiteEditor/res/puzzle.pngbin62919 -> 0 bytes
-rw-r--r--LiteEditor/res/question_and_answer.pngbin3129 -> 0 bytes
-rw-r--r--LiteEditor/res/rebuild.pngbin870 -> 0 bytes
-rw-r--r--LiteEditor/res/reload.pngbin506 -> 0 bytes
-rw-r--r--LiteEditor/res/replace.pngbin789 -> 0 bytes
-rw-r--r--LiteEditor/res/svn_checkout.pngbin504 -> 0 bytes
-rw-r--r--LiteEditor/res/svn_repo.pngbin479 -> 0 bytes
-rw-r--r--LiteEditor/res/sym_wiz_bmp.pngbin56752 -> 0 bytes
-rw-r--r--LiteEditor/res/tab.pngbin544 -> 0 bytes
-rw-r--r--LiteEditor/res/tags_selected.pngbin886 -> 0 bytes
-rw-r--r--LiteEditor/res/threads.pngbin683 -> 0 bytes
-rw-r--r--LiteEditor/res/todo.pngbin625 -> 0 bytes
-rw-r--r--LiteEditor/res/trace.pngbin623 -> 0 bytes
-rw-r--r--LiteEditor/res/typedef.xpm28
-rw-r--r--LiteEditor/res/view_text.pngbin547 -> 0 bytes
-rw-r--r--LiteEditor/res/watches.pngbin681 -> 0 bytes
-rw-r--r--LiteEditor/res/window_duplicate.pngbin367 -> 0 bytes
-rw-r--r--LiteEditor/res/wrap_arrow.pngbin631 -> 0 bytes
-rw-r--r--LiteEditor/res/wx.pngbin1241 -> 0 bytes
-rw-r--r--LiteEditor/res/wxfb.pngbin605 -> 0 bytes
-rw-r--r--LiteEditor/res/wxproject.pngbin6936 -> 0 bytes
-rw-r--r--LiteEditor/resource.h38
-rw-r--r--LiteEditor/resources.cpp20317
-rw-r--r--LiteEditor/resources.xrc214
-rw-r--r--LiteEditor/setters_getters_base_dlg.cpp162
-rw-r--r--LiteEditor/setters_getters_base_dlg.h94
-rw-r--r--LiteEditor/setters_getters_dlg.cpp500
-rw-r--r--LiteEditor/setters_getters_dlg.h106
-rw-r--r--LiteEditor/settersgetterstreectrl.cpp223
-rw-r--r--LiteEditor/settersgetterstreectrl.h36
-rw-r--r--LiteEditor/shelltab.cpp359
-rw-r--r--LiteEditor/shelltab.h97
-rw-r--r--LiteEditor/simpletable.cpp355
-rw-r--r--LiteEditor/simpletable.h84
-rw-r--r--LiteEditor/simpletablebase.cpp125
-rw-r--r--LiteEditor/simpletablebase.h86
-rw-r--r--LiteEditor/singleinstancethreadjob.cpp99
-rw-r--r--LiteEditor/singleinstancethreadjob.h48
-rw-r--r--LiteEditor/stack_walker.cpp50
-rw-r--r--LiteEditor/stack_walker.h44
-rw-r--r--LiteEditor/stdwx.h51
-rw-r--r--LiteEditor/stringhighlighterjob.cpp66
-rw-r--r--LiteEditor/stringhighlighterjob.h42
-rw-r--r--LiteEditor/svninfo.cpp3
-rw-r--r--LiteEditor/symbols_dialog.cpp172
-rw-r--r--LiteEditor/symbols_dialog.h95
-rw-r--r--LiteEditor/symbols_dialog_base.cpp91
-rw-r--r--LiteEditor/symbols_dialog_base.h76
-rw-r--r--LiteEditor/syntaxhighlightbasedlg.cpp88
-rw-r--r--LiteEditor/syntaxhighlightbasedlg.h76
-rw-r--r--LiteEditor/syntaxhighlightdlg.cpp202
-rw-r--r--LiteEditor/syntaxhighlightdlg.h66
-rw-r--r--LiteEditor/tabgroupbasedlgs.cpp194
-rw-r--r--LiteEditor/tabgroupbasedlgs.h95
-rw-r--r--LiteEditor/tabgroupdlg.cpp152
-rw-r--r--LiteEditor/tabgroupdlg.h95
-rw-r--r--LiteEditor/tags_options_base_dlg.cpp385
-rw-r--r--LiteEditor/tags_options_base_dlg.h123
-rw-r--r--LiteEditor/tags_options_dlg.cpp276
-rw-r--r--LiteEditor/tags_options_dlg.h74
-rw-r--r--LiteEditor/tags_parser_search_path_dlg.cpp46
-rw-r--r--LiteEditor/tags_parser_search_path_dlg.h24
-rw-r--r--LiteEditor/tagsparsersearchpathsbasedlg.cpp60
-rw-r--r--LiteEditor/tagsparsersearchpathsbasedlg.fbp448
-rw-r--r--LiteEditor/tagsparsersearchpathsbasedlg.h51
-rw-r--r--LiteEditor/taskpanel.cpp169
-rw-r--r--LiteEditor/taskpanel.h56
-rw-r--r--LiteEditor/tasks_find_what_dlg.cpp134
-rw-r--r--LiteEditor/tasks_find_what_dlg.h33
-rw-r--r--LiteEditor/tasksfindwhatdlgbase.cpp138
-rw-r--r--LiteEditor/tasksfindwhatdlgbase.fbp1008
-rw-r--r--LiteEditor/tasksfindwhatdlgbase.h85
-rw-r--r--LiteEditor/taskspaneldata.h56
-rw-r--r--LiteEditor/threadlistbasepanel.cpp49
-rw-r--r--LiteEditor/threadlistbasepanel.h66
-rw-r--r--LiteEditor/threadlistpanel.cpp87
-rw-r--r--LiteEditor/threadlistpanel.h51
-rw-r--r--LiteEditor/tiptree.cpp112
-rw-r--r--LiteEditor/tiptree.h52
-rw-r--r--LiteEditor/tree_symbol_page.cpp10
-rw-r--r--LiteEditor/tree_symbol_page.h18
-rw-r--r--LiteEditor/treebooknodebase.cpp34
-rw-r--r--LiteEditor/treebooknodebase.h52
-rw-r--r--LiteEditor/webupdatethread.cpp175
-rw-r--r--LiteEditor/webupdatethread.h94
-rw-r--r--LiteEditor/workspace_pane.cpp319
-rw-r--r--LiteEditor/workspace_pane.h86
-rw-r--r--LiteEditor/workspacesettingsbase.cpp171
-rw-r--r--LiteEditor/workspacesettingsbase.fbp1246
-rw-r--r--LiteEditor/workspacesettingsbase.h85
-rw-r--r--LiteEditor/workspacesettingsdlg.cpp144
-rw-r--r--LiteEditor/workspacesettingsdlg.h38
-rw-r--r--LiteEditor/workspacetab.cpp348
-rw-r--r--LiteEditor/workspacetab.h71
-rw-r--r--LiteEditor/yestoallbasedlg.cpp56
-rw-r--r--LiteEditor/yestoallbasedlg.h53
-rw-r--r--LiteEditor/yestoalldlg.cpp45
-rw-r--r--LiteEditor/yestoalldlg.h30
688 files changed, 0 insertions, 104333 deletions
diff --git a/LiteEditor/LiteEditor.project b/LiteEditor/LiteEditor.project
deleted file mode 100644
index 55ac3bc8..00000000
--- a/LiteEditor/LiteEditor.project
+++ /dev/null
@@ -1,1057 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<CodeLite_Project Name="LiteEditor">
- <Plugins>
- <Plugin Name="qmake">
- <![CDATA[00060001N0004Unix0000000000000001N0011Unix_Make_J0000000000000001N0015WinDebugUnicode0000000000000001N0011WinDebug_290000000000000001N0017WinReleaseUnicode0000000000000001N0013WinRelease_29000000000000]]>
- </Plugin>
- </Plugins>
- <VirtualDirectory Name="Source Files">
- <File Name="cpp_symbol_tree.cpp"/>
- <File Name="filedroptarget.cpp"/>
- <File Name="fileview.cpp"/>
- <File Name="resources.cpp"/>
- <File Name="filehistory.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Header Files">
- <File Name="cpp_symbol_tree.h"/>
- <File Name="filedroptarget.h"/>
- <File Name="fileview.h"/>
- <File Name="menumanager.h"/>
- <File Name="resource.h"/>
- <File Name="stdwx.h"/>
- <File Name="filehistory.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Dialogs">
- <VirtualDirectory Name="Debugger">
- <File Name="breakpoint_dlg_base.cpp"/>
- <File Name="breakpoint_dlg_base.h"/>
- <File Name="breakpointdlg.h"/>
- <File Name="breakpointdlg.cpp"/>
- <File Name="debuggersettingsdlg.h"/>
- <File Name="debuggersettingsbasedlg.cpp"/>
- <File Name="debuggersettingsbasedlg.h"/>
- <File Name="debuggersettingsdlg.cpp"/>
- <File Name="dbgcommanddlg.h"/>
- <File Name="dbgcommandbasedlg.cpp"/>
- <File Name="dbgcommandbasedlg.h"/>
- <File Name="dbgcommanddlg.cpp"/>
- <File Name="attachdbgprocdlg.h"/>
- <File Name="attachdbgprocbasedlg.cpp"/>
- <File Name="attachdbgprocbasedlg.h"/>
- <File Name="attachdbgprocdlg.cpp"/>
- <File Name="quickdebugdlg.h"/>
- <File Name="quickdebugbase.cpp"/>
- <File Name="quickdebugbase.h"/>
- <File Name="quickdebugdlg.cpp"/>
- <File Name="newquickwatch.cpp"/>
- <File Name="newquickwatch.h"/>
- <File Name="new_quick_watch_dlg.h"/>
- <File Name="new_quick_watch_dlg.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Misc">
- <File Name="simpletable.cpp"/>
- <File Name="simpletable.h"/>
- <File Name="simpletablebase.h"/>
- <File Name="simpletablebase.cpp"/>
- <File Name="listctrlpanelbase.h"/>
- <File Name="listctrlpanelbase.cpp"/>
- <File Name="listctrlpanel.h"/>
- <File Name="listctrlpanel.cpp"/>
- <File Name="close_all_dlg.cpp"/>
- <File Name="close_all_dlg.h"/>
- <File Name="lexer_page.h"/>
- <File Name="lexer_page.cpp"/>
- <File Name="free_text_dialog.h"/>
- <File Name="free_text_dialog.cpp"/>
- <File Name="add_option_dialog.cpp"/>
- <File Name="add_option_dialog.h"/>
- <File Name="envvar_dlg.cpp"/>
- <File Name="envvar_dlg.h"/>
- <File Name="envvar_table.cpp"/>
- <File Name="envvar_table.h"/>
- <File Name="findreplacedlg.h"/>
- <File Name="findreplacedlg.cpp"/>
- <File Name="findinfilesdlg.h"/>
- <File Name="findinfilesdlg.cpp"/>
- <File Name="replaceinfilespanel.h"/>
- <File Name="replaceinfilespanel.cpp"/>
- <File Name="dialogspagebase.h"/>
- <File Name="dialogspage.cpp"/>
- <File Name="dialogspage.h"/>
- <File Name="dialogspagebase.cpp"/>
- <File Name="syntaxhighlightdlg.h"/>
- <File Name="syntaxhighlightbasedlg.cpp"/>
- <File Name="syntaxhighlightbasedlg.h"/>
- <File Name="syntaxhighlightdlg.cpp"/>
- <VirtualDirectory Name="EditorOptionsDlg">
- <File Name="options_base_dlg2.cpp"/>
- <File Name="options_base_dlg2.h"/>
- <File Name="options_dlg2.cpp"/>
- <File Name="options_dlg2.h"/>
- <File Name="treebooknodebase.cpp"/>
- <File Name="treebooknodebase.h"/>
- <VirtualDirectory Name="General">
- <VirtualDirectory Name="Guides">
- <File Name="editor_options_general_guides_panel.cpp"/>
- <File Name="editor_options_general_guides_panel.h"/>
- <File Name="editoroptionsgeneralguidespanelbase.cpp"/>
- <File Name="editoroptionsgeneralguidespanelbase.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Indentation">
- <File Name="editoroptionsgeneralindentationpanel.cpp"/>
- <File Name="editoroptionsgeneralindentationpanel.h"/>
- <File Name="editoroptionsgeneralindetationpanelbase.cpp"/>
- <File Name="editoroptionsgeneralindetationpanelbase.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Right Margin">
- <File Name="editoroptionsgeneralrightmarginpanel.cpp"/>
- <File Name="editoroptionsgeneralrightmarginpanel.h"/>
- <File Name="editoroptionsgeneralrightmarginpanelbase.cpp"/>
- <File Name="editoroptionsgeneralrightmarginpanelbase.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Save Options">
- <File Name="editoroptionsgeneralsavepanel.cpp"/>
- <File Name="editoroptionsgeneralsavepanel.h"/>
- <File Name="editoroptionsgeneralsavepanelbase.cpp"/>
- <File Name="editoroptionsgeneralsavepanelbase.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Code Navigation">
- <File Name="editoroptionsgeneralcodenavpanelbase.cpp"/>
- <File Name="editoroptionsgeneralcodenavpanelbase.h"/>
- <File Name="editoroptionsgeneralcodenavpanel.cpp"/>
- <File Name="editoroptionsgeneralcodenavpanel.h"/>
- </VirtualDirectory>
- </VirtualDirectory>
- <VirtualDirectory Name="Comments">
- <File Name="editorsettingscomments.cpp"/>
- <File Name="editorsettingscomments.h"/>
- <File Name="editorsettingscommentsbase.cpp"/>
- <File Name="editorsettingscommentsbase.h"/>
- <File Name="editorsettingscommentsdoxygenpanel.cpp"/>
- <File Name="editorsettingscommentsdoxygenpanel.h"/>
- <File Name="editorsettingscommentsdoxygenpanelbase.cpp"/>
- <File Name="editorsettingscommentsdoxygenpanelbase.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Bookmarks">
- <File Name="editorsettingsbookmarksbasepanel.cpp"/>
- <File Name="editorsettingsbookmarksbasepanel.h"/>
- <File Name="editorsettingsbookmarkspanel.h"/>
- <File Name="editorsettingsbookmarkspanel.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Folding">
- <File Name="editorsettingsfolding.cpp"/>
- <File Name="editorsettingsfolding.h"/>
- <File Name="editorsettingsfoldingbase.cpp"/>
- <File Name="editorsettingsfoldingbase.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Dialogs">
- <File Name="editorsettingsdialogs.cpp"/>
- <File Name="editorsettingsdialogs.h"/>
- <File Name="editorsettingsdialogsbase.cpp"/>
- <File Name="editorsettingsdialogsbase.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Misc">
- <File Name="editorsettingsmiscbasepanel.cpp"/>
- <File Name="editorsettingsmiscbasepanel.h"/>
- <File Name="editorsettingsmiscpanel.cpp"/>
- <File Name="editorsettingsmiscpanel.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Caret">
- <File Name="editorsettingscaretbase.cpp"/>
- <File Name="editorsettingscaretbase.h"/>
- <File Name="editorsettingscaret.h"/>
- <File Name="editorsettingscaret.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Terminal">
- <File Name="editorsettings_terminal_base.cpp"/>
- <File Name="editorsettings_terminal_base.h"/>
- <File Name="editorsettingsterminal.h"/>
- <File Name="editorsettingsterminal.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="DockingWindows">
- <File Name="editorsettingsdockingwindowsbase.cpp"/>
- <File Name="editorsettingsdockingwindowsbase.h"/>
- <File Name="editorsettingsdockingwidows.h"/>
- <File Name="editorsettingsdockingwidows.cpp"/>
- </VirtualDirectory>
- </VirtualDirectory>
- <File Name="findinfilesdlgbase.h"/>
- <File Name="findinfilesdlgbase.cpp"/>
- <File Name="yestoalldlg.h"/>
- <File Name="yestoallbasedlg.cpp"/>
- <File Name="yestoallbasedlg.h"/>
- <File Name="yestoalldlg.cpp"/>
- <File Name="env_var_dlg_base.h"/>
- <File Name="env_var_dlg_base.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="CodeCompletion">
- <File Name="quickoutlinedlg.cpp"/>
- <File Name="quickoutlinedlg.h"/>
- <File Name="setters_getters_base_dlg.cpp"/>
- <File Name="setters_getters_base_dlg.h"/>
- <File Name="setters_getters_dlg.cpp"/>
- <File Name="setters_getters_dlg.h"/>
- <File Name="symbols_dialog.cpp"/>
- <File Name="symbols_dialog.h"/>
- <File Name="symbols_dialog_base.cpp"/>
- <File Name="symbols_dialog_base.h"/>
- <File Name="tags_options_dlg.cpp"/>
- <File Name="tags_options_dlg.h"/>
- <File Name="addincludefiledlgbase.h"/>
- <File Name="addincludefiledlg.cpp"/>
- <File Name="addincludefiledlg.h"/>
- <File Name="addincludefiledlgbase.cpp"/>
- <File Name="movefuncimpldlg.h"/>
- <File Name="movefuncimplbasedlg.cpp"/>
- <File Name="movefuncimplbasedlg.h"/>
- <File Name="movefuncimpldlg.cpp"/>
- <File Name="tags_options_base_dlg.h"/>
- <File Name="tags_options_base_dlg.cpp"/>
- <File Name="tagsparsersearchpathsbasedlg.cpp"/>
- <File Name="tagsparsersearchpathsbasedlg.h"/>
- <File Name="tags_parser_search_path_dlg.h"/>
- <File Name="tags_parser_search_path_dlg.cpp"/>
- <File Name="implementparentvirtualfunctionsbase.cpp"/>
- <File Name="implementparentvirtualfunctionsbase.h"/>
- <File Name="implement_parent_virtual_functions.h"/>
- <File Name="implement_parent_virtual_functions.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Compiler">
- <File Name="advanced_settings.h"/>
- <File Name="advanced_settings.cpp"/>
- <File Name="editcmpfileinfodlg.h"/>
- <File Name="editcmpfileinfobase.cpp"/>
- <File Name="editcmpfileinfobase.h"/>
- <File Name="editcmpfileinfodlg.cpp"/>
- <File Name="compilertoolspage.h"/>
- <File Name="compiler_pages.cpp"/>
- <File Name="compiler_pages.h"/>
- <File Name="compileradvancepage.cpp"/>
- <File Name="compileradvancepage.h"/>
- <File Name="compilerfiletypespage.cpp"/>
- <File Name="compilerfiletypespage.h"/>
- <File Name="compilerpatternspage.cpp"/>
- <File Name="compilerpatternspage.h"/>
- <File Name="compilerswitchespage.cpp"/>
- <File Name="compilerswitchespage.h"/>
- <File Name="compilertoolspage.cpp"/>
- <File Name="addoptioncheckdlgbase.h"/>
- <File Name="compilercompileroptionspage.cpp"/>
- <File Name="compilercompileroptionspage.h"/>
- <File Name="compilerlinkeroptionspage.cpp"/>
- <File Name="compilerlinkeroptionspage.h"/>
- <File Name="addoptioncheckdlg.cpp"/>
- <File Name="addoptioncheckdlg.h"/>
- <File Name="addoptioncheckdlgbase.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Build">
- <File Name="configuration_manager_base_dlg.cpp"/>
- <File Name="configuration_manager_base_dlg.h"/>
- <File Name="configuration_manager_dlg.cpp"/>
- <File Name="configuration_manager_dlg.h"/>
- <File Name="build_page.cpp"/>
- <File Name="build_page.h"/>
- <File Name="edit_configuration.cpp"/>
- <File Name="edit_configuration.h"/>
- <File Name="edit_workspace_conf_dlg.cpp"/>
- <File Name="edit_workspace_conf_dlg.h"/>
- <File Name="new_configuration_dlg.cpp"/>
- <File Name="new_configuration_dlg.h"/>
- <File Name="buildsettingstab.h"/>
- <File Name="buildsettingstab.cpp"/>
- <File Name="buildsettingstabbase.h"/>
- <File Name="buildsettingstabbase.cpp"/>
- <File Name="batchbuilddlg.h"/>
- <File Name="batchbuildbasedlg.cpp"/>
- <File Name="batchbuildbasedlg.h"/>
- <File Name="batchbuilddlg.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="ProjectSettings">
- <File Name="depend_dlg_page.cpp"/>
- <File Name="depend_dlg_page.h"/>
- <File Name="depends_dlg.cpp"/>
- <File Name="depends_dlg.h"/>
- <File Name="project_settings_base_dlg.cpp"/>
- <File Name="project_settings_dlg.cpp"/>
- <File Name="project_settings_dlg.h"/>
- <File Name="project_settings_base_dlg.h"/>
- <File Name="buildorderbasepage.h"/>
- <File Name="buildorderbasepage.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="ProjectManagement">
- <File Name="new_item_dlg.cpp"/>
- <File Name="new_item_dlg.h"/>
- <File Name="newworkspacedlg.h"/>
- <File Name="newworkspacebasedlg.cpp"/>
- <File Name="newworkspacebasedlg.h"/>
- <File Name="newworkspacedlg.cpp"/>
- <File Name="newprojectdlg.h"/>
- <File Name="newprojectbasedlg.cpp"/>
- <File Name="newprojectbasedlg.h"/>
- <File Name="newprojectdlg.cpp"/>
- <File Name="new_item_base_dlg.h"/>
- <File Name="new_item_base_dlg.cpp"/>
- <File Name="importfilesdialog.cpp"/>
- <File Name="importfilesdialog.h"/>
- <File Name="workspacesettingsbase.cpp"/>
- <File Name="workspacesettingsbase.h"/>
- <File Name="workspacesettingsdlg.h"/>
- <File Name="workspacesettingsdlg.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Plugins">
- <File Name="pluginmgrdlg.h"/>
- <File Name="plugindlgbase.cpp"/>
- <File Name="plugindlgbase.h"/>
- <File Name="pluginmgrdlg.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="DoxygenUI">
- <File Name="commentpagebase.h"/>
- <File Name="commentpage.cpp"/>
- <File Name="commentpage.h"/>
- <File Name="commentpagebase.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Accelerators">
- <File Name="acceltabledlg.h"/>
- <File Name="acceltablebasedlg.cpp"/>
- <File Name="acceltablebasedlg.h"/>
- <File Name="acceltabledlg.cpp"/>
- <File Name="newkeyshortcutdlg.h"/>
- <File Name="newkeyshortcutbasedlg.cpp"/>
- <File Name="newkeyshortcutbasedlg.h"/>
- <File Name="newkeyshortcutdlg.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="About">
- <File Name="aboutdlg.cpp"/>
- <File Name="aboutdlg.h"/>
- <File Name="aboutdlgbase.h"/>
- <File Name="aboutdlgbase.cpp"/>
- <File Name="contributers.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Sessions">
- <File Name="tabgroupdlg.h"/>
- <File Name="tabgroupbasedlgs.cpp"/>
- <File Name="tabgroupbasedlgs.h"/>
- <File Name="tabgroupdlg.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="LocalSettings">
- <File Name="editorsettingslocal.cpp"/>
- <File Name="editorsettingslocal.h"/>
- <File Name="editorsettingslocalbase.cpp"/>
- <File Name="editorsettingslocalbase.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Tasks">
- <File Name="tasksfindwhatdlgbase.cpp"/>
- <File Name="tasksfindwhatdlgbase.h"/>
- <File Name="tasks_find_what_dlg.h"/>
- <File Name="tasks_find_what_dlg.cpp"/>
- <File Name="taskpanel.cpp"/>
- <File Name="taskpanel.h"/>
- <File Name="taskspaneldata.h"/>
- </VirtualDirectory>
- </VirtualDirectory>
- <VirtualDirectory Name="Application">
- <File Name="app.cpp"/>
- <File Name="app.h"/>
- <File Name="frame.h"/>
- <File Name="stack_walker.h"/>
- <File Name="stack_walker.cpp"/>
- <File Name="iconsextra.cpp"/>
- <File Name="generalinfo.cpp"/>
- <File Name="generalinfo.h"/>
- <File Name="frame.cpp"/>
- <File Name="customstatusbar.cpp"/>
- <File Name="customstatusbar.h"/>
- <File Name="singleinstancethreadjob.cpp"/>
- <File Name="singleinstancethreadjob.h"/>
- <File Name="webupdatethread.cpp"/>
- <File Name="webupdatethread.h"/>
- <File Name="newversionbasedlg.cpp"/>
- <File Name="newversionbasedlg.h"/>
- <File Name="newversiondlg.h"/>
- <File Name="newversiondlg.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Controls">
- <File Name="checktreectrl.cpp"/>
- <File Name="checktreectrl.h"/>
- <File Name="checkdirtreectrl.cpp"/>
- <File Name="checkdirtreectrl.h"/>
- <File Name="fileexplorertree.cpp"/>
- <File Name="fileexplorertree.h"/>
- <File Name="debuggertip.cpp"/>
- <File Name="debuggertip.h"/>
- <File Name="cc_boxbase.h"/>
- <File Name="cc_box.cpp"/>
- <File Name="cc_box.h"/>
- <File Name="cc_boxbase.cpp"/>
- <File Name="ccvirtuallistctrl.cpp"/>
- <File Name="ccvirtuallistctrl.h"/>
- <File Name="quickfindbar.h"/>
- <File Name="quickfindbar.cpp"/>
- <File Name="navbar.h"/>
- <File Name="navbar.cpp"/>
- <File Name="filechecklist.cpp"/>
- <File Name="filechecklist.h"/>
- <File Name="filechecklistbase.cpp"/>
- <File Name="filechecklistbase.h"/>
- <File Name="clauidockart.cpp"/>
- <File Name="clauidockart.h"/>
- <File Name="settersgetterstreectrl.cpp"/>
- <File Name="settersgetterstreectrl.h"/>
- <File Name="quickfindbarbase.h"/>
- <File Name="quickfindbarbase.cpp"/>
- <File Name="messagepane_base.h"/>
- <File Name="messagepane_base.cpp"/>
- <File Name="message_pane.h"/>
- <File Name="message_pane.cpp"/>
- <File Name="navbarbase.cpp"/>
- <File Name="navbarbase.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Editor">
- <File Name="context_base.h"/>
- <File Name="context_cpp.h"/>
- <File Name="context_manager.h"/>
- <File Name="generic_context.h"/>
- <File Name="menu_event_handlers.h"/>
- <File Name="context_base.cpp"/>
- <File Name="context_cpp.cpp"/>
- <File Name="context_manager.cpp"/>
- <File Name="generic_context.cpp"/>
- <File Name="menumanager.cpp"/>
- <File Name="menu_event_handlers.cpp"/>
- <File Name="cl_editor.cpp"/>
- <File Name="cl_editor.h"/>
- <File Name="renamesymboldlg.h"/>
- <File Name="renamesymbolbase.cpp"/>
- <File Name="renamesymbolbase.h"/>
- <File Name="renamesymboldlg.cpp"/>
- <File Name="stringhighlighterjob.cpp"/>
- <File Name="stringhighlighterjob.h"/>
- <File Name="context_diff.cpp"/>
- <File Name="context_diff.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Manager">
- <File Name="manager.h"/>
- <File Name="manager.cpp"/>
- <File Name="importfilessettings.cpp"/>
- <File Name="importfilessettings.h"/>
- <File Name="buildtabsettingsdata.cpp"/>
- <File Name="buildtabsettingsdata.h"/>
- <File Name="colourthread.h"/>
- <File Name="colourthread.cpp"/>
- <File Name="colourrequest.cpp"/>
- <File Name="colourrequest.h"/>
- <File Name="refactorindexbuildjob.cpp"/>
- <File Name="refactorindexbuildjob.h"/>
- <File Name="implparentvirtualfunctionsdata.h"/>
- <File Name="macromanager.h"/>
- <File Name="macromanager.cpp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="resources">
- <File Name="code_parser.rc"/>
- <File Name="svninfo.cpp"/>
- <File Name="../Runtime/rc/menu.xrc"/>
- <File Name="resources.xrc"/>
- <File Name="../Runtime/config/accelerators.conf.default"/>
- <File Name="../InnoSetup/lite_editor.iss"/>
- <File Name="../Runtime/config/codelite.xml.default.gtk"/>
- <File Name="../Runtime/config/codelite.xml.default"/>
- <File Name="../Runtime/config/codelite.xml.default.mac"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Docking Windows">
- <File Name="output_pane.cpp"/>
- <File Name="workspace_pane.cpp"/>
- <File Name="output_pane.h"/>
- <File Name="workspace_pane.h"/>
- <File Name="debuggerpane.h"/>
- <File Name="debuggerpane.cpp"/>
- <File Name="fileexplorer.cpp"/>
- <File Name="fileexplorer.h"/>
- <File Name="mainbook.cpp"/>
- <File Name="mainbook.h"/>
- <File Name="tiptree.cpp"/>
- <File Name="tiptree.h"/>
- <File Name="openwindowspanelbase.h"/>
- <File Name="openwindowspanel.cpp"/>
- <File Name="openwindowspanel.h"/>
- <File Name="openwindowspanelbase.cpp"/>
- <File Name="threadlistpanel.h"/>
- <File Name="threadlistbasepanel.cpp"/>
- <File Name="threadlistbasepanel.h"/>
- <File Name="threadlistpanel.cpp"/>
- <File Name="buidltab.cpp"/>
- <File Name="buidltab.h"/>
- <File Name="outputtabwindow.cpp"/>
- <File Name="outputtabwindow.h"/>
- <File Name="findresultstab.cpp"/>
- <File Name="findresultstab.h"/>
- <File Name="shelltab.h"/>
- <File Name="shelltab.cpp"/>
- <File Name="workspacetab.cpp"/>
- <File Name="workspacetab.h"/>
- <File Name="memoryviewbase.h"/>
- <File Name="memoryview.cpp"/>
- <File Name="memoryview.h"/>
- <File Name="memoryviewbase.cpp"/>
- <File Name="errorstab.h"/>
- <File Name="errorstab.cpp"/>
- <File Name="debuggerasciiviewerbase.cpp"/>
- <File Name="debuggerasciiviewerbase.h"/>
- <File Name="debuggerasciiviewer.h"/>
- <File Name="debuggerasciiviewer.cpp"/>
- <File Name="localstable.cpp"/>
- <File Name="localstable.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Plugins">
- <File Name="pluginmanager.h"/>
- <File Name="pluginmanager.cpp"/>
- <File Name="keyboardmanager.cpp"/>
- <File Name="keyboardmanager.h"/>
- </VirtualDirectory>
- <Dependencies>
- <Project Name="wxscintilla"/>
- <Project Name="sqlite3"/>
- <Project Name="wxsqlite3"/>
- <Project Name="CodeLite"/>
- <Project Name="plugin_sdk"/>
- <Project Name="CodeFormatter"/>
- <Project Name="DebuggerGDB"/>
- <Project Name="Subversion"/>
- <Project Name="Gizmos"/>
- <Project Name="Cscope"/>
- <Project Name="Copyright"/>
- <Project Name="UnitTestPP"/>
- </Dependencies>
- <VirtualDirectory Name="scripts">
- <File Name="../Runtime/build_update.bat"/>
- <File Name="../Runtime/update.bat"/>
- <File Name="../Runtime/make_mac_bundle.sh"/>
- <File Name="../Runtime/le_killproc.sh"/>
- <File Name="../Runtime/le_exec.sh"/>
- <File Name="../make_src_targz.sh"/>
- <File Name="../make_deb.sh"/>
- <File Name="../make_repo.sh"/>
- </VirtualDirectory>
- <VirtualDirectory Name="formbuilder">
- <File Name="newversionbasedlg.fbp"/>
- <File Name="tagsmanagementbasedlg.fbp"/>
- <File Name="optionsdialogbase2.fbp"/>
- <File Name="editoroptionsgeneralguidespanelbase.fbp"/>
- <File Name="editoroptionsgeneralindetationpanelbase.fbp"/>
- <File Name="editoroptionsgeneralrightmarginpanelbase.fbp"/>
- <File Name="editoroptionsgeneralsavepanelbase.fbp"/>
- <File Name="editoroptionsgeneralcodenavpanelbase.fbp"/>
- <File Name="editorsettingscomments.fbp"/>
- <File Name="editorsettingscommentsdoxygenbase.fbp"/>
- <File Name="editorsettingsfoldingbase.fbp"/>
- <File Name="editorsettingsbookmarks.fbp"/>
- <File Name="editorsettingsdialogsbase.fbp"/>
- <File Name="editorsettingsmiscbasepanel.fbp"/>
- <File Name="editorsettingscaretbase.fbp"/>
- <File Name="editorsettingsterminal.fbp"/>
- <File Name="debuggerasciiviewerbase.fbp"/>
- <File Name="editorsettingsdockingwindowsbase.fbp"/>
- <File Name="tagsparsersearchpathsbasedlg.fbp"/>
- <File Name="newquickwatch.fbp"/>
- <File Name="importfilesdialog.fbp"/>
- <File Name="workspacesettingsbase.fbp"/>
- <File Name="implementparentvirtualfunctionsbase.fbp"/>
- <File Name="tasksfindwhatdlgbase.fbp"/>
- <File Name="quickfindbarbase.fbp"/>
- <File Name="messagepane.fbp"/>
- <File Name="navbarbase.fbp"/>
- </VirtualDirectory>
- <VirtualDirectory Name="Debugger">
- <File Name="breakpointsmgr.h"/>
- <File Name="breakpointpropertiesdlg.cpp"/>
- <File Name="breakpointpropertiesdlg.h"/>
- <File Name="breakpointsmgr.cpp"/>
- </VirtualDirectory>
- <Options/>
- <Settings Type="Executable">
- <Configuration Name="Unix" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
- <Compiler Options="$(shell wx-config --cxxflags --debug=no --unicode=yes);-O2;$(shell pkg-config --cflags gtk+-2.0);-Wall;-fno-strict-aliasing" Required="yes" PreCompiledHeader="">
- <IncludePath Value="."/>
- <IncludePath Value="../CodeLite"/>
- <IncludePath Value="../sdk/wxsqlite3/include"/>
- <IncludePath Value="../sdk/wxscintilla/include"/>
- <IncludePath Value="../Plugin"/>
- <IncludePath Value="../Interfaces"/>
- <Preprocessor Value="__WX__"/>
- <Preprocessor Value="WXUSINGDLL"/>
- </Compiler>
- <Linker Options="-O2;$(shell wx-config --libs --unicode=yes --debug=no);$(shell pkg-config --libs gtk+-2.0)" Required="yes">
- <LibraryPath Value="../lib/gcc_lib"/>
- <Library Value="libCodeLiteu.a"/>
- <Library Value="libplugin_sdku.a"/>
- <Library Value="libwxscintillau.a"/>
- <Library Value="libwxsqlite3u.a"/>
- <Library Value="libsqlite3.a"/>
- </Linker>
- <ResourceCompiler Options="$(shell wx-config --rcflags)" Required="no"/>
- <General OutputFile="../Runtime/codelite" IntermediateDirectory="./ReleaseUnicode" Command="/home/eran/devl/codelite/Runtime/codelite" CommandArguments="" WorkingDirectory="/home/eran/devl/codelite/Runtime" PauseExecWhenProcTerminates="yes"/>
- <Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="">
- <PostConnectCommands/>
- <StartupCommands/>
- </Debugger>
- <PreBuild/>
- <PostBuild/>
- <CustomBuild Enabled="yes">
- <Target Name="configure --enable-debug">./configure --enable-debug</Target>
- <Target Name="configure">./configure</Target>
- <RebuildCommand/>
- <CleanCommand>make clean</CleanCommand>
- <BuildCommand>make</BuildCommand>
- <PreprocessFileCommand>make Debug_gcc_unicode/$(CurrentFileName).o.i</PreprocessFileCommand>
- <SingleFileCommand>make Debug_gcc_unicode/$(CurrentFileName).o</SingleFileCommand>
- <MakefileGenerationCommand>./configure</MakefileGenerationCommand>
- <ThirdPartyToolName>None</ThirdPartyToolName>
- <WorkingDirectory>$(WorkspacePath)</WorkingDirectory>
- </CustomBuild>
- <AdditionalRules>
- <CustomPostBuild/>
- <CustomPreBuild>resources.cpp
-resources.cpp: resources.xrc
- wxrc -c -v -o resources.cpp resources.xrc</CustomPreBuild>
- </AdditionalRules>
- </Configuration>
- <Configuration Name="UnixCodeLite" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
- <Compiler Options="$(shell wx-config --debug=no --cxxflags --unicode=yes);$(shell pkg-config --cflags gtk+-2.0);-O2;-Wall;-fno-strict-aliasing ;-fPIC" Required="yes" PreCompiledHeader="">
- <IncludePath Value="."/>
- <IncludePath Value="../CodeLite"/>
- <IncludePath Value="../sdk/wxsqlite3/include"/>
- <IncludePath Value="../sdk/wxscintilla/include"/>
- <IncludePath Value="../Plugin"/>
- <IncludePath Value="../Interfaces"/>
- <Preprocessor Value="__WX__"/>
- <Preprocessor Value="WXUSINGDLL"/>
- <Preprocessor Value="ON_64_BIT"/>
- </Compiler>
- <Linker Options="-O2;$(shell wx-config --debug=no --unicode=yes --libs );$(shell pkg-config --libs gtk+-2.0)" Required="yes">
- <LibraryPath Value="."/>
- <LibraryPath Value="../lib/gcc_lib"/>
- <Library Value="libplugin_sdku.a"/>
- <Library Value="libCodeLiteu.a"/>
- <Library Value="libwxscintillau.a"/>
- <Library Value="libwxsqlite3u.a"/>
- <Library Value="libsqlite3.a"/>
- </Linker>
- <ResourceCompiler Options="$(shell wx-config --rcflags)" Required="no"/>
- <General OutputFile="../Runtime/CodeLite" IntermediateDirectory="./ReleaseUnicode" Command="./CodeLite" CommandArguments="-b ." WorkingDirectory="../Runtime" PauseExecWhenProcTerminates="yes"/>
- <Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="">
- <PostConnectCommands/>
- <StartupCommands/>
- </Debugger>
- <PreBuild>
- <Command Enabled="yes">cd ../ &amp;&amp; ./le_makerevision.sh</Command>
- </PreBuild>
- <PostBuild/>
- <CustomBuild Enabled="no">
- <RebuildCommand/>
- <CleanCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI clean</CleanCommand>
- <BuildCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI</BuildCommand>
- <PreprocessFileCommand/>
- <SingleFileCommand/>
- <MakefileGenerationCommand/>
- <ThirdPartyToolName>None</ThirdPartyToolName>
- <WorkingDirectory/>
- </CustomBuild>
- <AdditionalRules>
- <CustomPostBuild/>
- <CustomPreBuild>resources.cpp
-resources.cpp: resources.xrc
- wxrc -c -v -o resources.cpp resources.xrc</CustomPreBuild>
- </AdditionalRules>
- </Configuration>
- <Configuration Name="Unix_Make_J" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
- <Compiler Options="$(shell wx-config --cxxflags --debug=no --unicode=yes);-O2;$(shell pkg-config --cflags gtk+-2.0);-Wall;-fno-strict-aliasing" Required="yes" PreCompiledHeader="">
- <IncludePath Value="."/>
- <IncludePath Value="../CodeLite"/>
- <IncludePath Value="../sdk/wxsqlite3/include"/>
- <IncludePath Value="../sdk/wxscintilla/include"/>
- <IncludePath Value="../Plugin"/>
- <IncludePath Value="../Interfaces"/>
- <Preprocessor Value="__WX__"/>
- <Preprocessor Value="WXUSINGDLL"/>
- </Compiler>
- <Linker Options="-O2;$(shell wx-config --libs --unicode=yes --debug=no);$(shell pkg-config --libs gtk+-2.0)" Required="yes">
- <LibraryPath Value="../lib/gcc_lib"/>
- <Library Value="libCodeLiteu.a"/>
- <Library Value="libplugin_sdku.a"/>
- <Library Value="libwxscintillau.a"/>
- <Library Value="libwxsqlite3u.a"/>
- <Library Value="libsqlite3.a"/>
- </Linker>
- <ResourceCompiler Options="$(shell wx-config --rcflags)" Required="no"/>
- <General OutputFile="../Runtime/codelite" IntermediateDirectory="./ReleaseUnicode" Command="/home/eran/devl/codelite/Runtime/codelite" CommandArguments="" WorkingDirectory="/home/eran/devl/codelite/Runtime" PauseExecWhenProcTerminates="yes"/>
- <Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="">
- <PostConnectCommands/>
- <StartupCommands/>
- </Debugger>
- <PreBuild/>
- <PostBuild/>
- <CustomBuild Enabled="yes">
- <Target Name="configure --enable-debug">./configure --enable-debug</Target>
- <Target Name="configure">./configure</Target>
- <RebuildCommand/>
- <CleanCommand>make clean</CleanCommand>
- <BuildCommand>make -j 2</BuildCommand>
- <PreprocessFileCommand/>
- <SingleFileCommand/>
- <MakefileGenerationCommand>./configure</MakefileGenerationCommand>
- <ThirdPartyToolName>None</ThirdPartyToolName>
- <WorkingDirectory>$(WorkspacePath)</WorkingDirectory>
- </CustomBuild>
- <AdditionalRules>
- <CustomPostBuild/>
- <CustomPreBuild>resources.cpp
-resources.cpp: resources.xrc
- wxrc -c -v -o resources.cpp resources.xrc</CustomPreBuild>
- </AdditionalRules>
- </Configuration>
- <Configuration Name="WinDebugUnicode" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
- <Compiler Options="$(shell wx-config --wxcfg=gcc_dll/mswud --debug=yes --cxxflags --unicode=yes);-Wall;-fno-strict-aliasing;-g" Required="yes" PreCompiledHeader="">
- <IncludePath Value="."/>
- <IncludePath Value="../CodeLite"/>
- <IncludePath Value="../sdk/wxsqlite3/include"/>
- <IncludePath Value="../sdk/wxscintilla/include"/>
- <IncludePath Value="../Plugin"/>
- <IncludePath Value="../Interfaces"/>
- <Preprocessor Value="__WX__"/>
- <Preprocessor Value="WXUSINGDLL"/>
- </Compiler>
- <Linker Options="-g;$(shell wx-config --debug=yes --libs --unicode=yes);-Wl,--subsystem,windows -mwindows;" Required="yes">
- <LibraryPath Value="."/>
- <LibraryPath Value="../lib/gcc_lib"/>
- <Library Value="libplugin_sdkud.a"/>
- <Library Value="libCodeLiteud.a"/>
- <Library Value="libwxscintillaud.a"/>
- <Library Value="libwxsqlite3ud.a"/>
- <Library Value="libsqlite3.a"/>
- <Library Value="libwxmsw28ud.a"/>
- </Linker>
- <ResourceCompiler Options="$(shell wx-config --rcflags)" Required="yes"/>
- <General OutputFile="../Runtime/CodeLite.exe" IntermediateDirectory="./Debug" Command="./CodeLite.exe" CommandArguments="-b . --no-plugins" WorkingDirectory="../Runtime " PauseExecWhenProcTerminates="no"/>
- <Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="">
- <PostConnectCommands/>
- <StartupCommands/>
- </Debugger>
- <PreBuild/>
- <PostBuild/>
- <CustomBuild Enabled="no">
- <Target Name="configure --enable-debug">./configure --enable-debug</Target>
- <Target Name="configure">./configure</Target>
- <RebuildCommand/>
- <CleanCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI clean</CleanCommand>
- <BuildCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI</BuildCommand>
- <PreprocessFileCommand/>
- <SingleFileCommand/>
- <MakefileGenerationCommand/>
- <ThirdPartyToolName>None</ThirdPartyToolName>
- <WorkingDirectory/>
- </CustomBuild>
- <AdditionalRules>
- <CustomPostBuild/>
- <CustomPreBuild>resources.cpp svninfo.cpp
-resources.cpp: resources.xrc
- wxrc /c /v /o resources.cpp resources.xrc
-
-svninfo.cpp:
- autorev .</CustomPreBuild>
- </AdditionalRules>
- </Configuration>
- <Configuration Name="WinDebug_29" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
- <Compiler Options="-Wall;$(shell wx-config --cxxflags --unicode=yes --debug=yes);-fno-strict-aliasing;-g" Required="yes" PreCompiledHeader="">
- <IncludePath Value="."/>
- <IncludePath Value="../CodeLite"/>
- <IncludePath Value="../sdk/wxsqlite3/include"/>
- <IncludePath Value="../sdk/wxscintilla/include"/>
- <IncludePath Value="../Plugin"/>
- <IncludePath Value="../Interfaces"/>
- <Preprocessor Value="__WX__"/>
- <Preprocessor Value="WXUSINGDLL"/>
- </Compiler>
- <Linker Options="$(shell wx-config --debug=yes --libs --unicode=yes);-Wl,--subsystem,windows -mwindows;-Wl,-M=codelite.map;" Required="yes">
- <LibraryPath Value="."/>
- <LibraryPath Value="../lib/gcc_lib"/>
- <Library Value="libplugin_sdku.a"/>
- <Library Value="libCodeLiteu.a"/>
- <Library Value="libwxscintillau.a"/>
- <Library Value="libwxsqlite3u.a"/>
- <Library Value="libsqlite3.a"/>
- <Library Value="libwxmsw29ud.a"/>
- </Linker>
- <ResourceCompiler Options="$(shell wx-config --rcflags)" Required="yes"/>
- <General OutputFile="../Runtime/CodeLite.exe" IntermediateDirectory="./Debug29" Command="./CodeLite.exe" CommandArguments="-b ." WorkingDirectory="../Runtime" PauseExecWhenProcTerminates="no"/>
- <Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="">
- <PostConnectCommands/>
- <StartupCommands/>
- </Debugger>
- <PreBuild>
- <Command Enabled="yes">autorev .</Command>
- </PreBuild>
- <PostBuild/>
- <CustomBuild Enabled="no">
- <RebuildCommand/>
- <CleanCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI clean</CleanCommand>
- <BuildCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI</BuildCommand>
- <PreprocessFileCommand/>
- <SingleFileCommand/>
- <MakefileGenerationCommand/>
- <ThirdPartyToolName>None</ThirdPartyToolName>
- <WorkingDirectory/>
- </CustomBuild>
- <AdditionalRules>
- <CustomPostBuild/>
- <CustomPreBuild>resources.cpp
-resources.cpp: resources.xrc
- wxrc /c /v /o resources.cpp resources.xrc
-</CustomPreBuild>
- </AdditionalRules>
- </Configuration>
- <Configuration Name="WinReleaseUnicode" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
- <Compiler Options="$(shell wx-config --wxcfg=gcc_dll/mswu --debug=no --cxxflags --unicode=yes);-Wall;-fno-strict-aliasing;-O2" Required="yes" PreCompiledHeader="">
- <IncludePath Value="."/>
- <IncludePath Value="../CodeLite"/>
- <IncludePath Value="../sdk/wxsqlite3/include"/>
- <IncludePath Value="../sdk/wxscintilla/include"/>
- <IncludePath Value="../Plugin"/>
- <IncludePath Value="../Interfaces"/>
- <Preprocessor Value="__WX__"/>
- <Preprocessor Value="WXUSINGDLL"/>
- </Compiler>
- <Linker Options="$(shell wx-config --debug=no --unicode=yes --libs );-Wl,--subsystem,windows -mwindows;-Wl,-M=codelite.map;-O2" Required="yes">
- <LibraryPath Value="."/>
- <LibraryPath Value="../lib/gcc_lib"/>
- <Library Value="libplugin_sdku.a"/>
- <Library Value="libCodeLiteu.a"/>
- <Library Value="libwxscintillau.a"/>
- <Library Value="libwxsqlite3u.a"/>
- <Library Value="libsqlite3.a"/>
- <Library Value="libwxmsw28u.a"/>
- </Linker>
- <ResourceCompiler Options="$(shell wx-config --rcflags)" Required="yes"/>
- <General OutputFile="../Runtime/CodeLite.exe" IntermediateDirectory="Release" Command="./CodeLite.exe" CommandArguments="-b ." WorkingDirectory="../Runtime" PauseExecWhenProcTerminates="no"/>
- <Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="">
- <PostConnectCommands/>
- <StartupCommands/>
- </Debugger>
- <PreBuild>
- <Command Enabled="yes">autorev .</Command>
- </PreBuild>
- <PostBuild/>
- <CustomBuild Enabled="no">
- <RebuildCommand/>
- <CleanCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI clean</CleanCommand>
- <BuildCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI</BuildCommand>
- <PreprocessFileCommand/>
- <SingleFileCommand/>
- <MakefileGenerationCommand/>
- <ThirdPartyToolName>None</ThirdPartyToolName>
- <WorkingDirectory/>
- </CustomBuild>
- <AdditionalRules>
- <CustomPostBuild/>
- <CustomPreBuild>resources.cpp
-resources.cpp: resources.xrc
- wxrc /c /v /o resources.cpp resources.xrc</CustomPreBuild>
- </AdditionalRules>
- </Configuration>
- <Configuration Name="WinReleaseUnicode_NoPlugins" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
- <Compiler Options="$(shell wx-config --wxcfg=gcc_dll/mswu --debug=no --cxxflags --unicode=yes);-Wall;-fno-strict-aliasing;-O2" Required="yes" PreCompiledHeader="">
- <IncludePath Value="."/>
- <IncludePath Value="../CodeLite"/>
- <IncludePath Value="../sdk/wxsqlite3/include"/>
- <IncludePath Value="../sdk/wxscintilla/include"/>
- <IncludePath Value="../Plugin"/>
- <IncludePath Value="../Interfaces"/>
- <Preprocessor Value="__WX__"/>
- <Preprocessor Value="WXUSINGDLL"/>
- </Compiler>
- <Linker Options="$(shell wx-config --debug=no --unicode=yes --libs );-Wl,--subsystem,windows -mwindows;-Wl,-M=codelite.map;-O2" Required="yes">
- <LibraryPath Value="."/>
- <LibraryPath Value="../lib/gcc_lib"/>
- <Library Value="libplugin_sdku.a"/>
- <Library Value="libCodeLiteu.a"/>
- <Library Value="libwxscintillau.a"/>
- <Library Value="libwxsqlite3u.a"/>
- <Library Value="libsqlite3.a"/>
- <Library Value="libwxmsw28u.a"/>
- </Linker>
- <ResourceCompiler Options="$(shell wx-config --rcflags)" Required="yes"/>
- <General OutputFile="../Runtime/CodeLite.exe" IntermediateDirectory="./Release" Command="./CodeLite.exe" CommandArguments="-b ." WorkingDirectory="../Runtime" PauseExecWhenProcTerminates="no"/>
- <Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="">
- <PostConnectCommands/>
- <StartupCommands/>
- </Debugger>
- <PreBuild>
- <Command Enabled="yes">autorev .</Command>
- </PreBuild>
- <PostBuild/>
- <CustomBuild Enabled="no">
- <RebuildCommand/>
- <CleanCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI clean</CleanCommand>
- <BuildCommand>mingw32-make -f LiteEditor_wsp.mk type=ReleaseANSI</BuildCommand>
- <PreprocessFileCommand/>
- <SingleFileCommand/>
- <MakefileGenerationCommand/>
- <ThirdPartyToolName>None</ThirdPartyToolName>
- <WorkingDirectory/>
- </CustomBuild>
- <AdditionalRules>
- <CustomPostBuild/>
- <CustomPreBuild>resources.cpp
-resources.cpp: resources.xrc
- wxrc /c /v /o resources.cpp resources.xrc</CustomPreBuild>
- </AdditionalRules>
- </Configuration>
- <GlobalSettings>
- <Compiler Options="">
- <IncludePath Value="."/>
- </Compiler>
- <Linker Options="">
- <LibraryPath Value="."/>
- </Linker>
- <ResourceCompiler Options=""/>
- </GlobalSettings>
- </Settings>
- <Dependencies Name="Unix">
- <Project Name="wxscintilla"/>
- <Project Name="sqlite3"/>
- <Project Name="wxsqlite3"/>
- <Project Name="CodeLite"/>
- <Project Name="plugin_sdk"/>
- <Project Name="CodeFormatter"/>
- <Project Name="DebuggerGDB"/>
- <Project Name="Gizmos"/>
- <Project Name="Cscope"/>
- <Project Name="Copyright"/>
- <Project Name="UnitTestPP"/>
- </Dependencies>
- <Dependencies Name="Unix_Make_J">
- <Project Name="wxscintilla"/>
- <Project Name="sqlite3"/>
- <Project Name="wxsqlite3"/>
- <Project Name="CodeLite"/>
- <Project Name="plugin_sdk"/>
- <Project Name="CodeFormatter"/>
- <Project Name="DebuggerGDB"/>
- <Project Name="Subversion"/>
- <Project Name="Gizmos"/>
- <Project Name="Cscope"/>
- <Project Name="Copyright"/>
- <Project Name="UnitTestPP"/>
- </Dependencies>
- <Dependencies Name="WinDebugUnicode">
- <Project Name="wxscintilla"/>
- <Project Name="sqlite3"/>
- <Project Name="wxsqlite3"/>
- <Project Name="CodeLite"/>
- <Project Name="plugin_sdk"/>
- <Project Name="CodeFormatter"/>
- <Project Name="DebuggerGDB"/>
- <Project Name="Gizmos"/>
- <Project Name="Cscope"/>
- <Project Name="Copyright"/>
- <Project Name="UnitTestPP"/>
- <Project Name="ExternalTools"/>
- <Project Name="snipwiz"/>
- <Project Name="wxFormBuilder"/>
- <Project Name="abbreviation"/>
- <Project Name="ContinuousBuild"/>
- <Project Name="QMakePlugin"/>
- <Project Name="CppChecker"/>
- <Project Name="Subversion2"/>
- <Project Name="SymbolView"/>
- </Dependencies>
- <Dependencies Name="WinReleaseUnicode_NoPlugins">
- <Project Name="wxscintilla"/>
- <Project Name="sqlite3"/>
- <Project Name="wxsqlite3"/>
- <Project Name="CodeLite"/>
- <Project Name="plugin_sdk"/>
- <Project Name="DebuggerGDB"/>
- </Dependencies>
- <Dependencies Name="WinDebugUnicode">
- <Project Name="wxscintilla"/>
- <Project Name="sqlite3"/>
- <Project Name="wxsqlite3"/>
- <Project Name="CodeLite"/>
- <Project Name="plugin_sdk"/>
- <Project Name="CodeFormatter"/>
- <Project Name="DebuggerGDB"/>
- <Project Name="Gizmos"/>
- <Project Name="Cscope"/>
- <Project Name="Copyright"/>
- <Project Name="UnitTestPP"/>
- <Project Name="ExternalTools"/>
- <Project Name="snipwiz"/>
- <Project Name="wxFormBuilder"/>
- <Project Name="abbreviation"/>
- <Project Name="ContinuousBuild"/>
- <Project Name="QMakePlugin"/>
- <Project Name="CppChecker"/>
- <Project Name="Subversion2"/>
- <Project Name="SymbolView"/>
- </Dependencies>
- <Dependencies Name="UnixCodeLite">
- <Project Name="wxscintilla"/>
- <Project Name="sqlite3"/>
- <Project Name="wxsqlite3"/>
- <Project Name="CodeLite"/>
- <Project Name="plugin_sdk"/>
- <Project Name="CodeFormatter"/>
- <Project Name="DebuggerGDB"/>
- <Project Name="Gizmos"/>
- <Project Name="Cscope"/>
- <Project Name="Copyright"/>
- <Project Name="UnitTestPP"/>
- <Project Name="abbreviation"/>
- <Project Name="snipwiz"/>
- <Project Name="ExternalTools"/>
- <Project Name="ContinuousBuild"/>
- </Dependencies>
- <Dependencies Name="WinDebug_29">
- <Project Name="wxscintilla"/>
- <Project Name="sqlite3"/>
- <Project Name="wxsqlite3"/>
- <Project Name="CodeLite"/>
- <Project Name="plugin_sdk"/>
- <Project Name="CodeFormatter"/>
- <Project Name="DebuggerGDB"/>
- <Project Name="Gizmos"/>
- <Project Name="Cscope"/>
- <Project Name="Copyright"/>
- <Project Name="UnitTestPP"/>
- <Project Name="ContinuousBuild"/>
- <Project Name="CppChecker"/>
- <Project Name="ExternalTools"/>
- <Project Name="QMakePlugin"/>
- <Project Name="Subversion2"/>
- <Project Name="SymbolView"/>
- <Project Name="abbreviation"/>
- <Project Name="wxFormBuilder"/>
- <Project Name="snipwiz"/>
- </Dependencies>
- <Dependencies Name="WinReleaseUnicode">
- <Project Name="sqlite3"/>
- <Project Name="wxscintilla"/>
- <Project Name="wxsqlite3"/>
- <Project Name="CodeLite"/>
- <Project Name="plugin_sdk"/>
- <Project Name="CodeFormatter"/>
- <Project Name="DebuggerGDB"/>
- <Project Name="Gizmos"/>
- <Project Name="Cscope"/>
- <Project Name="Copyright"/>
- <Project Name="UnitTestPP"/>
- <Project Name="ExternalTools"/>
- <Project Name="snipwiz"/>
- <Project Name="wxFormBuilder"/>
- <Project Name="abbreviation"/>
- <Project Name="ContinuousBuild"/>
- <Project Name="QMakePlugin"/>
- <Project Name="CppChecker"/>
- <Project Name="Subversion2"/>
- <Project Name="SymbolView"/>
- </Dependencies>
-</CodeLite_Project>
diff --git a/LiteEditor/aboutdlg.cpp b/LiteEditor/aboutdlg.cpp
deleted file mode 100644
index 125ef76d..00000000
--- a/LiteEditor/aboutdlg.cpp
+++ /dev/null
@@ -1,60 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : aboutdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include <wx/dcmemory.h>
-#include <wx/xrc/xmlres.h>
-#include "aboutdlg.h"
-#include "contributers.h"
-#include "windowattrmanager.h"
-
-AboutDlg::AboutDlg( wxWindow* parent, const wxString &mainTitle )
- : AboutDlgBase( parent )
-{
- m_bmp = wxXmlResource::Get()->LoadBitmap(wxT("About"));
- m_bitmap->SetBitmap(m_bmp);
-
- // set the page content
- m_htmlWin3->SetPage(wxString::FromUTF8(about_hex));
- m_buttonOk->SetFocus();
- GetSizer()->Fit(this);
-
- WindowAttrManager::Load(this, wxT("AboutDialog"), NULL);
-}
-
-AboutDlg::~AboutDlg()
-{
- WindowAttrManager::Save(this, wxT("AboutDialog"), NULL);
-}
-
-
-void AboutDlg::SetInfo(const wxString& info)
-{
- m_staticTextInformation->SetLabel(info);
-}
-
-wxString AboutDlg::GetInfo() const
-{
- return m_staticTextInformation->GetLabelText();
-}
diff --git a/LiteEditor/aboutdlg.h b/LiteEditor/aboutdlg.h
deleted file mode 100644
index 1d8a79dc..00000000
--- a/LiteEditor/aboutdlg.h
+++ /dev/null
@@ -1,49 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : aboutdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __AboutDlg__
-#define __AboutDlg__
-
-/**
-@file
-Subclass of AboutDlgBase, which is generated by wxFormBuilder.
-*/
-
-#include "aboutdlgbase.h"
-#include <wx/bitmap.h>
-
-/** Implementing AboutDlgBase */
-class AboutDlg : public AboutDlgBase
-{
- wxBitmap m_bmp;
-public:
- /** Constructor */
- AboutDlg( wxWindow* parent, const wxString &mainTitle );
- virtual ~AboutDlg();
- void SetInfo(const wxString &info);
- wxString GetInfo() const;
-};
-
-#endif // __AboutDlg__
diff --git a/LiteEditor/aboutdlgbase.cpp b/LiteEditor/aboutdlgbase.cpp
deleted file mode 100644
index 2483faaa..00000000
--- a/LiteEditor/aboutdlgbase.cpp
+++ /dev/null
@@ -1,105 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "aboutdlgbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-AboutDlgBase::AboutDlgBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_notebook1 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
- m_panel1 = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- m_bitmap = new wxStaticBitmap( m_panel1, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
- m_bitmap->SetMinSize( wxSize( 432,398 ) );
-
- bSizer3->Add( m_bitmap, 1, wxEXPAND, 5 );
-
- m_panel1->SetSizer( bSizer3 );
- m_panel1->Layout();
- bSizer3->Fit( m_panel1 );
- m_notebook1->AddPage( m_panel1, wxT("About"), true );
- m_panel4 = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- m_htmlWin3 = new wxHtmlWindow( m_panel4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO );
- bSizer4->Add( m_htmlWin3, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_panel4->SetSizer( bSizer4 );
- m_panel4->Layout();
- bSizer4->Fit( m_panel4 );
- m_notebook1->AddPage( m_panel4, wxT("Credits"), false );
-
- mainSizer->Add( m_notebook1, 1, wxEXPAND | wxALL, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 0, 2, 0, 0 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticTextHomePage = new wxStaticText( this, wxID_ANY, wxT("Home Page:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextHomePage->Wrap( -1 );
- m_staticTextHomePage->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- fgSizer1->Add( m_staticTextHomePage, 1, wxALL|wxEXPAND, 5 );
-
- m_hyperlink1 = new wxHyperlinkCtrl( this, wxID_ANY, wxT("http://www.codelite.org"), wxT("http://www.codelite.org"), wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE );
- fgSizer1->Add( m_hyperlink1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("CodeLite Forum:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- m_staticText2->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- fgSizer1->Add( m_staticText2, 0, wxALL, 5 );
-
- m_hyperlink2 = new wxHyperlinkCtrl( this, wxID_ANY, wxT("http://www.codelite.org/forum/"), wxT("http://www.codelite.org/forum/"), wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE );
- fgSizer1->Add( m_hyperlink2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Version:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- m_staticText3->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- fgSizer1->Add( m_staticText3, 0, wxALL, 5 );
-
- m_staticTextInformation = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextInformation->Wrap( -1 );
- fgSizer1->Add( m_staticTextInformation, 0, wxALL, 5 );
-
- sbSizer1->Add( fgSizer1, 1, wxEXPAND, 5 );
-
- mainSizer->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* buttonSizer;
- buttonSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- buttonSizer->Add( m_buttonOk, 0, wxALL, 5 );
-
- mainSizer->Add( buttonSizer, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-}
-
-AboutDlgBase::~AboutDlgBase()
-{
-}
diff --git a/LiteEditor/aboutdlgbase.h b/LiteEditor/aboutdlgbase.h
deleted file mode 100644
index 9e94e66c..00000000
--- a/LiteEditor/aboutdlgbase.h
+++ /dev/null
@@ -1,61 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __aboutdlgbase__
-#define __aboutdlgbase__
-
-#include <wx/bitmap.h>
-#include <wx/image.h>
-#include <wx/icon.h>
-#include <wx/statbmp.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-#include <wx/html/htmlwin.h>
-#include <wx/notebook.h>
-#include <wx/stattext.h>
-#include <wx/hyperlink.h>
-#include <wx/statbox.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class AboutDlgBase
-///////////////////////////////////////////////////////////////////////////////
-class AboutDlgBase : public wxDialog
-{
- private:
-
- protected:
- wxNotebook* m_notebook1;
- wxPanel* m_panel1;
- wxStaticBitmap* m_bitmap;
- wxPanel* m_panel4;
- wxHtmlWindow* m_htmlWin3;
- wxStaticText* m_staticTextHomePage;
- wxHyperlinkCtrl* m_hyperlink1;
- wxStaticText* m_staticText2;
- wxHyperlinkCtrl* m_hyperlink2;
- wxStaticText* m_staticText3;
- wxStaticText* m_staticTextInformation;
- wxButton* m_buttonOk;
-
- public:
-
- AboutDlgBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("About CodeLite"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~AboutDlgBase();
-
-};
-
-#endif //__aboutdlgbase__
diff --git a/LiteEditor/acceltablebasedlg.cpp b/LiteEditor/acceltablebasedlg.cpp
deleted file mode 100644
index 7cc2ce68..00000000
--- a/LiteEditor/acceltablebasedlg.cpp
+++ /dev/null
@@ -1,101 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : acceltablebasedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "acceltablebasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-AccelTableBaseDlg::AccelTableBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listCtrl1 = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_SORT_ASCENDING|wxLC_VRULES );
- bSizer4->Add( m_listCtrl1, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonEdit = new wxButton( this, wxID_ANY, wxT("&Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_buttonEdit, 0, wxALL, 5 );
-
- m_buttonDefault = new wxButton( this, wxID_ANY, wxT("&Defaults"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_buttonDefault, 0, wxALL, 5 );
-
- bSizer4->Add( bSizer3, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- bSizer1->Add( bSizer4, 1, wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_button1 = new wxButton( this, wxID_OK, wxT("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
- m_button1->SetDefault();
- bSizer2->Add( m_button1, 0, wxALL, 5 );
-
- m_button2 = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_button2, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_listCtrl1->Connect( wxEVT_COMMAND_LIST_COL_CLICK, wxListEventHandler( AccelTableBaseDlg::OnColClicked ), NULL, this );
- m_listCtrl1->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( AccelTableBaseDlg::OnItemActivated ), NULL, this );
- m_listCtrl1->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( AccelTableBaseDlg::OnItemSelected ), NULL, this );
- m_buttonEdit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AccelTableBaseDlg::OnEditButton ), NULL, this );
- m_buttonDefault->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AccelTableBaseDlg::OnButtonDefaults ), NULL, this );
- m_button1->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AccelTableBaseDlg::OnButtonOk ), NULL, this );
-}
-
-AccelTableBaseDlg::~AccelTableBaseDlg()
-{
- // Disconnect Events
- m_listCtrl1->Disconnect( wxEVT_COMMAND_LIST_COL_CLICK, wxListEventHandler( AccelTableBaseDlg::OnColClicked ), NULL, this );
- m_listCtrl1->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( AccelTableBaseDlg::OnItemActivated ), NULL, this );
- m_listCtrl1->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( AccelTableBaseDlg::OnItemSelected ), NULL, this );
- m_buttonEdit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AccelTableBaseDlg::OnEditButton ), NULL, this );
- m_buttonDefault->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AccelTableBaseDlg::OnButtonDefaults ), NULL, this );
- m_button1->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AccelTableBaseDlg::OnButtonOk ), NULL, this );
-}
diff --git a/LiteEditor/acceltablebasedlg.h b/LiteEditor/acceltablebasedlg.h
deleted file mode 100644
index 977b32d9..00000000
--- a/LiteEditor/acceltablebasedlg.h
+++ /dev/null
@@ -1,80 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : acceltablebasedlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __acceltablebasedlg__
-#define __acceltablebasedlg__
-
-#include <wx/listctrl.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class AccelTableBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class AccelTableBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxListCtrl* m_listCtrl1;
- wxButton* m_buttonEdit;
- wxButton* m_buttonDefault;
- wxStaticLine* m_staticline1;
- wxButton* m_button1;
- wxButton* m_button2;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnColClicked( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemActivated( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ){ event.Skip(); }
- virtual void OnEditButton( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonDefaults( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonOk( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- AccelTableBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Keyboard Shortcuts:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 819,530 ), long style = wxDEFAULT_DIALOG_STYLE );
- ~AccelTableBaseDlg();
-
-};
-
-#endif //__acceltablebasedlg__
diff --git a/LiteEditor/acceltabledlg.cpp b/LiteEditor/acceltabledlg.cpp
deleted file mode 100644
index c1eafbb3..00000000
--- a/LiteEditor/acceltabledlg.cpp
+++ /dev/null
@@ -1,222 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : acceltabledlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "pluginmanager.h"
-#include <wx/tokenzr.h>
-#include "globals.h"
-#include <wx/ffile.h>
-#include "newkeyshortcutdlg.h"
-#include "acceltabledlg.h"
-#include "manager.h"
-#include <algorithm>
-
-//-------------------------------------------------------------------------------
-//Helper classes for sorting
-//-------------------------------------------------------------------------------
-struct AccelSorter {
- bool operator()(const MenuItemData &rStart, const MenuItemData &rEnd) {
- return rEnd.accel.CmpNoCase(rStart.accel) < 0;
- }
-};
-
-struct ActionSorter {
- bool operator()(const MenuItemData &rStart, const MenuItemData &rEnd) {
- return rEnd.action.CmpNoCase(rStart.action) < 0;
- }
-};
-
-struct ParentSorter {
- bool operator()(const MenuItemData &rStart, const MenuItemData &rEnd) {
- return rEnd.parent.CmpNoCase(rStart.parent) < 0;
- }
-};
-//-------------------------------------------------------------------------------
-//-------------------------------------------------------------------------------
-//-------------------------------------------------------------------------------
-
-AccelTableDlg::AccelTableDlg( wxWindow* parent )
- :
- AccelTableBaseDlg( parent )
-{
- //add two columns to the list ctrl
- m_listCtrl1->InsertColumn(0, wxT("ID"));
- m_listCtrl1->InsertColumn(1, wxT("Menu"));
- m_listCtrl1->InsertColumn(2, wxT("Action"));
- m_listCtrl1->InsertColumn(3, wxT("Accelerator"));
-
- MenuItemDataMap accelMap;
- PluginManager::Get()->GetKeyboardManager()->GetAccelerators(accelMap);
- PopulateTable(accelMap);
-
- // center the dialog
- Centre();
-
- m_listCtrl1->SetFocus();
-}
-
-void AccelTableDlg::OnItemActivated( wxListEvent& event )
-{
- m_selectedItem = event.m_itemIndex;
- DoItemActivated();
-}
-
-void AccelTableDlg::OnItemSelected( wxListEvent& event )
-{
- m_selectedItem = event.m_itemIndex;
-}
-
-void AccelTableDlg::PopulateTable(const MenuItemDataMap &accelMap)
-{
- m_listCtrl1->Freeze();
- m_listCtrl1->DeleteAllItems();
-
- MenuItemDataMap::const_iterator iter = accelMap.begin();
- std::vector< MenuItemData > itemsVec;
- //convert the map into vector
- for (; iter != accelMap.end(); iter++ ) {
- itemsVec.push_back( iter->second );
- }
-
- //by default sort the items according to the parent
- std::sort(itemsVec.begin(), itemsVec.end(), ParentSorter());
-
- for (size_t i=0; i< itemsVec.size(); i++) {
-
- MenuItemData item = itemsVec.at(i);
- long row = AppendListCtrlRow(m_listCtrl1);
-
- SetColumnText(m_listCtrl1, row, 0, item.id);
- SetColumnText(m_listCtrl1, row, 1, item.parent);
- SetColumnText(m_listCtrl1, row, 2, item.action);
- SetColumnText(m_listCtrl1, row, 3, item.accel);
- }
-
- m_listCtrl1->SetColumnWidth(0, 0);
- m_listCtrl1->SetColumnWidth(1, wxLIST_AUTOSIZE);
- m_listCtrl1->SetColumnWidth(2, wxLIST_AUTOSIZE);
- m_listCtrl1->SetColumnWidth(3, wxLIST_AUTOSIZE);
-
- m_listCtrl1->SetItemState(0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
- m_listCtrl1->SetItemState(0, wxLIST_STATE_FOCUSED, wxLIST_STATE_FOCUSED);
-
- m_listCtrl1->Thaw();
-}
-
-void AccelTableDlg::OnColClicked(wxListEvent &event)
-{
- wxUnusedVar(event);
-}
-
-void AccelTableDlg::OnButtonOk(wxCommandEvent &e)
-{
- //export the content of table, and apply the changes
- wxString content;
- size_t count = m_listCtrl1->GetItemCount();
- for (size_t i=0; i<count; i++) {
- content << GetColumnText(m_listCtrl1, i, 0);
- content << wxT("|");
- content << GetColumnText(m_listCtrl1, i, 1);
- content << wxT("|");
- content << GetColumnText(m_listCtrl1, i, 2);
- content << wxT("|");
- content << GetColumnText(m_listCtrl1, i, 3);
- content << wxT("\n");
- }
-
- wxString fileName = ManagerST::Get()->GetStarupDirectory();
- fileName << wxT("/config/accelerators.conf");
-
- wxFFile file;
- if (!file.Open(fileName, wxT("w+b"))) {
- return;
- }
-
- file.Write(content);
- file.Close();
-
- //apply changes
- ManagerST::Get()->UpdateMenuAccelerators();
-
- EndModal( wxID_OK );
-}
-
-void AccelTableDlg::OnButtonDefaults(wxCommandEvent& e)
-{
- // re-load the default key bindings settings
- MenuItemDataMap accelMap;
- ManagerST::Get()->GetDefaultAcceleratorMap(accelMap);
-
- PopulateTable(accelMap);
-}
-
-void AccelTableDlg::OnEditButton(wxCommandEvent& e)
-{
- if (m_selectedItem != wxNOT_FOUND) {
- DoItemActivated();
- }
-}
-
-void AccelTableDlg::DoItemActivated()
-{
- //build the selected entry
- MenuItemData mid;
- mid.id = GetColumnText(m_listCtrl1, m_selectedItem, 0);
- mid.parent = GetColumnText(m_listCtrl1, m_selectedItem, 1);
- mid.action = GetColumnText(m_listCtrl1, m_selectedItem, 2);
- mid.accel = GetColumnText(m_listCtrl1, m_selectedItem, 3);
-
-
- if (PluginManager::Get()->GetKeyboardManager()->PopupNewKeyboardShortcutDlg(this, mid) == wxID_OK) {
- // search the list for similar accelerator
- int count = m_listCtrl1->GetItemCount();
- for (int i=0; i<count; i++) {
- if (Compare(GetColumnText(m_listCtrl1, i, 3), mid.accel) && m_selectedItem != i && mid.accel.IsEmpty() == false) {
- wxString action = GetColumnText(m_listCtrl1, i, 2);
- wxMessageBox(wxString::Format(wxT("'%s' is already assigned to: '%s'"), mid.accel.c_str(), action.c_str()), wxT("CodeLite"), wxOK|wxCENTER|wxICON_WARNING, this);
- return;
- }
- }
-
- //update the acceleration table
- SetColumnText(m_listCtrl1, m_selectedItem, 3, mid.accel);
- m_listCtrl1->SetColumnWidth(3, wxLIST_AUTOSIZE);
- }
-}
-
-bool AccelTableDlg::Compare(const wxString& accel1, const wxString& accel2)
-{
- wxArrayString accel1Tokens = wxStringTokenize(accel1, wxT("-"));
- wxArrayString accel2Tokens = wxStringTokenize(accel2, wxT("-"));
-
- if (accel1Tokens.GetCount() != accel2Tokens.GetCount()) {
- return false;
- }
-
- for (size_t i=0; i<accel1Tokens.GetCount(); i++) {
- if (accel2Tokens.Index(accel1Tokens.Item(i), false) == wxNOT_FOUND) {
- return false;
- }
- }
- return true;
-}
diff --git a/LiteEditor/acceltabledlg.h b/LiteEditor/acceltabledlg.h
deleted file mode 100644
index 25b68201..00000000
--- a/LiteEditor/acceltabledlg.h
+++ /dev/null
@@ -1,60 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : acceltabledlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __acceltabledlg__
-#define __acceltabledlg__
-
-/**
-@file
-Subclass of AccelTableBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "acceltablebasedlg.h"
-#include <map>
-#include "ikeyboard.h"
-
-/** Implementing AccelTableBaseDlg */
-class AccelTableDlg : public AccelTableBaseDlg
-{
- long m_selectedItem;
-
-protected:
- // Handlers for AccelTableBaseDlg events.
- void OnItemActivated( wxListEvent& event );
- void OnItemSelected( wxListEvent& event );
- void OnColClicked(wxListEvent &event);
- void PopulateTable(const MenuItemDataMap &accelMap);
- void OnButtonOk(wxCommandEvent &e);
- void OnButtonDefaults(wxCommandEvent &e);
- void OnEditButton(wxCommandEvent &e);
-
- void DoItemActivated();
- bool Compare(const wxString &accel1, const wxString &accel2);
-
-public:
- /** Constructor */
- AccelTableDlg( wxWindow* parent );
-};
-
-#endif // __acceltabledlg__
diff --git a/LiteEditor/add_option_dialog.cpp b/LiteEditor/add_option_dialog.cpp
deleted file mode 100644
index 28f1d26e..00000000
--- a/LiteEditor/add_option_dialog.cpp
+++ /dev/null
@@ -1,100 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : add_option_dialog.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "add_option_dialog.h"
-#include "wx/tokenzr.h"
-#include <wx/txtstrm.h>
-#include <wx/sstream.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-AddOptionDlg::AddOptionDlg( wxWindow* parent, wxString value, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer23;
- bSizer23 = new wxBoxSizer( wxVERTICAL );
-
- m_text = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB|wxTE_RICH2);
- bSizer23->Add( m_text, 1, wxALL|wxEXPAND, 5 );
-
- m_staticline9 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer23->Add( m_staticline9, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer24;
- bSizer24 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer24->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer24->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer23->Add( bSizer24, 0, wxALIGN_RIGHT, 5 );
-
- wxStringTokenizer tkz(value, wxT(";"));
- while(tkz.HasMoreTokens()){
- wxString token = tkz.GetNextToken();
- token = token.Trim();
- token = token.Trim(false);
- m_text->AppendText(token + wxT("\n"));
- }
-
- this->SetSizer( bSizer23 );
- this->Layout();
-}
-
-wxString AddOptionDlg::GetValue() const
-{
- wxStringInputStream input(m_text->GetValue());
- wxTextInputStream text(input);
-
- wxString value;
- while( !input.Eof() ){
-
- // Read the next line
- value += text.ReadLine();
- value += wxT(";");
- }
- return value.BeforeLast(wxT(';'));
-}
diff --git a/LiteEditor/add_option_dialog.h b/LiteEditor/add_option_dialog.h
deleted file mode 100644
index 61168237..00000000
--- a/LiteEditor/add_option_dialog.h
+++ /dev/null
@@ -1,61 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : add_option_dialog.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __add_option_dialog__
-#define __add_option_dialog__
-
-#include <wx/wx.h>
-
-#include <wx/statline.h>
-#include <wx/button.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class MyDialog2
-///////////////////////////////////////////////////////////////////////////////
-class AddOptionDlg : public wxDialog
-{
-private:
-
-protected:
- wxTextCtrl* m_text;
- wxStaticLine* m_staticline9;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
-
-public:
- AddOptionDlg( wxWindow* parent, wxString value = wxEmptyString, int id = wxID_ANY, wxString title = wxT("Edit"), wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 481,299 ), int style = wxDEFAULT_DIALOG_STYLE );
- wxString GetValue() const;
-};
-
-#endif //__add_option_dialog__
diff --git a/LiteEditor/addincludefiledlg.cpp b/LiteEditor/addincludefiledlg.cpp
deleted file mode 100644
index 5e2f233c..00000000
--- a/LiteEditor/addincludefiledlg.cpp
+++ /dev/null
@@ -1,173 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : addincludefiledlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "addincludefiledlg.h"
-#include "manager.h"
-#include "wx/filename.h"
-#include "wx/regex.h"
-
-wxArrayString AddIncludeFileDlg::m_includePath;
-
-AddIncludeFileDlg::AddIncludeFileDlg( wxWindow* parent, const wxString &fullpath, const wxString &text, int lineNo )
- :
- AddIncludeFileDlgBase( parent )
- , m_fullpath(fullpath)
- , m_text(text)
- , m_line(lineNo)
-{
- UpdateLineToAdd();
-
- //initialise the preview window
- //---------------------------------------------------------
- wxFont font(10, wxFONTFAMILY_TELETYPE, wxNORMAL, wxNORMAL);
- m_textCtrlPreview->MarkerDefine(0x7, wxSCI_MARK_ARROW);
- m_textCtrlPreview->MarkerSetBackground(0x7, wxT("YELLOW GREEN"));
- m_textCtrlPreview->StyleSetFont(0, font);
-
-
- //set the initial text
- m_textCtrlPreview->SetReadOnly(false);
- m_textCtrlPreview->AddText(m_text);
- m_textCtrlPreview->EmptyUndoBuffer();
- SetAndMarkLine();
- Centre();
- m_textCtrlLineToAdd->SetFocus();
-}
-
-void AddIncludeFileDlg::UpdateLineToAdd()
-{
- wxString line;
- wxFileName fn(m_fullpath);
- m_textCtrlFullPath->SetValue(fn.GetFullPath());
-
- //try to get a match in the include path for this file
- wxString pp = fn.GetFullPath();
- pp.Replace(wxT("\\"), wxT("/"));
-
- wxString rest;
- for(size_t i=0; i< m_includePath.GetCount(); i++){
- if(pp.StartsWith( m_includePath.Item(i) , &rest )){
- break;
- }
- }
-
- if(rest.IsEmpty()){
- rest = fn.GetFullName();
- }
-
- if (!ManagerST::Get()->IsFileInWorkspace(m_fullpath)) {
- line << wxT("#include <") << rest << wxT(">");
- } else {
- line << wxT("#include \"") << rest << wxT("\"");
- }
-
- m_textCtrlLineToAdd->SetValue(line);
-
-}
-
-void AddIncludeFileDlg::SetAndMarkLine()
-{
- wxString line = m_textCtrlLineToAdd->GetValue();
- m_textCtrlPreview->SetReadOnly(false);
- if (m_textCtrlPreview->CanUndo()) {
- m_textCtrlPreview->Undo();
- }
-
- m_textCtrlPreview->BeginUndoAction();
- if (m_line == wxNOT_FOUND) {
- m_line = 0;
- }
- m_textCtrlPreview->MarkerDeleteAll(0x7);
- long pos = m_textCtrlPreview->PositionFromLine(m_line);
- m_textCtrlPreview->InsertText(pos, line + wxT("\n"));
- m_textCtrlPreview->MarkerAdd(m_line, 0x7);
- m_textCtrlPreview->SetCurrentPos(pos);
- m_textCtrlPreview->SetSelectionStart(pos);
- m_textCtrlPreview->SetSelectionEnd(pos);
- m_textCtrlPreview->EnsureCaretVisible();
- m_textCtrlPreview->EndUndoAction();
- m_textCtrlPreview->SetReadOnly(true);
-}
-
-void AddIncludeFileDlg::OnTextUpdated(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- SetAndMarkLine();
-}
-
-void AddIncludeFileDlg::OnButtonDown(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- if (m_line+2 >= m_textCtrlPreview->GetLineCount()) {
- return;
- }
- m_line++;
- SetAndMarkLine();
-}
-
-void AddIncludeFileDlg::OnButtonUp(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- if (m_line-1 < 0) {
- return;
- }
- m_line--;
- SetAndMarkLine();
-}
-
-void AddIncludeFileDlg::OnButtonOK(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- //get the include file to add
- wxString fullpath = m_textCtrlFullPath->GetValue();
- static wxRegEx reIncludeFile(wxT("include *[\\\"\\<]{1}([a-zA-Z0-9_/\\.]*)"));
- wxString relativePath;
-
- if (reIncludeFile.Matches(m_textCtrlLineToAdd->GetValue())) {
- relativePath = reIncludeFile.GetMatch(m_textCtrlLineToAdd->GetValue(), 1);
- }
-
- fullpath.Replace(wxT("\\"), wxT("/"));
- relativePath.Replace(wxT("\\"), wxT("/"));
- wxFileName fn(fullpath);
-
- wxString inclPath;
- if (fullpath.EndsWith(relativePath, &inclPath) &&
- fullpath != relativePath && //dont save the '.' path this is done by default
- fn.GetFullName() != relativePath) //if the relative path is only file name, nothing to cache
- {
- m_includePath.Add(inclPath);
- }
- EndModal(wxID_OK);
-}
-
-void AddIncludeFileDlg::OnClearCachedPaths(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- m_includePath.Clear();
- UpdateLineToAdd();
- SetAndMarkLine();
-}
-
-
diff --git a/LiteEditor/addincludefiledlg.h b/LiteEditor/addincludefiledlg.h
deleted file mode 100644
index f1101021..00000000
--- a/LiteEditor/addincludefiledlg.h
+++ /dev/null
@@ -1,59 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : addincludefiledlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __addincludefiledlg__
-#define __addincludefiledlg__
-
-/**
-@file
-Subclass of AddIncludeFileDlgBase, which is generated by wxFormBuilder.
-*/
-
-#include "addincludefiledlgbase.h"
-
-/** Implementing AddIncludeFileDlgBase */
-class AddIncludeFileDlg : public AddIncludeFileDlgBase
-{
- wxString m_fullpath;
- wxString m_text;
- int m_line;
- static wxArrayString m_includePath;
-
-protected:
- void SetAndMarkLine();
- void OnTextUpdated(wxCommandEvent &e);
- void OnButtonDown(wxCommandEvent &event);
- void OnButtonUp(wxCommandEvent &event);
- void OnButtonOK(wxCommandEvent &e);
- void OnClearCachedPaths(wxCommandEvent &e);
- void UpdateLineToAdd();
-
-public:
- /** Constructor */
- AddIncludeFileDlg( wxWindow* parent, const wxString &fullpath, const wxString &text, int lineNo );
- wxString GetLineToAdd() const {return m_textCtrlLineToAdd->GetValue();}
- int GetLine() const {return m_line;}
-};
-
-#endif // __addincludefiledlg__
diff --git a/LiteEditor/addincludefiledlgbase.cpp b/LiteEditor/addincludefiledlgbase.cpp
deleted file mode 100644
index 1ae204f8..00000000
--- a/LiteEditor/addincludefiledlgbase.cpp
+++ /dev/null
@@ -1,152 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : addincludefiledlgbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "addincludefiledlgbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-AddIncludeFileDlgBase::AddIncludeFileDlgBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxSize( 250,-1 ), wxDefaultSize );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- m_mainPanel = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- m_mainPanel->SetMinSize( wxSize( 200,-1 ) );
-
- wxBoxSizer* bSizer9;
- bSizer9 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText4 = new wxStaticText( m_mainPanel, wxID_ANY, wxT("Line that will be added:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- bSizer9->Add( m_staticText4, 0, wxTOP|wxRIGHT, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- m_textCtrlLineToAdd = new wxTextCtrl( m_mainPanel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_textCtrlLineToAdd, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
-
- m_buttonClearCachedPaths = new wxButton( m_mainPanel, wxID_ANY, wxT("Clear Cached Paths"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_buttonClearCachedPaths, 0, wxALL, 5 );
-
- bSizer9->Add( bSizer6, 0, wxEXPAND, 5 );
-
- m_staticText5 = new wxStaticText( m_mainPanel, wxID_ANY, wxT("File's full path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- bSizer9->Add( m_staticText5, 0, wxTOP|wxRIGHT, 5 );
-
- m_textCtrlFullPath = new wxTextCtrl( m_mainPanel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
- bSizer9->Add( m_textCtrlFullPath, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
-
- m_staticText6 = new wxStaticText( m_mainPanel, wxID_ANY, wxT("Preview:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- bSizer9->Add( m_staticText6, 0, wxTOP|wxRIGHT, 5 );
-
- wxBoxSizer* bSizer12;
- bSizer12 = new wxBoxSizer( wxHORIZONTAL );
-
- m_textCtrlPreview = new wxScintilla( m_mainPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, wxEmptyString );
- m_textCtrlPreview->SetUseTabs( true );
- m_textCtrlPreview->SetTabWidth( 4 );
- m_textCtrlPreview->SetIndent( 4 );
- m_textCtrlPreview->SetTabIndents( true );
- m_textCtrlPreview->SetBackSpaceUnIndents( true );
- m_textCtrlPreview->SetViewEOL( false );
- m_textCtrlPreview->SetViewWhiteSpace( false );
- m_textCtrlPreview->SetMarginWidth( 2, 0 );
- m_textCtrlPreview->SetIndentationGuides( false );
- m_textCtrlPreview->SetMarginWidth( 1, 0 );
- m_textCtrlPreview->SetMarginType( 0, wxSCI_MARGIN_NUMBER );
- m_textCtrlPreview->SetMarginWidth( 0, m_textCtrlPreview->TextWidth( wxSCI_STYLE_LINENUMBER, wxT("_99999") ) );
- m_textCtrlPreview->MarkerDefine( wxSCI_MARKNUM_FOLDER, wxSCI_MARK_BOXPLUS );
- m_textCtrlPreview->MarkerSetBackground( wxSCI_MARKNUM_FOLDER, wxColour( wxT("BLACK") ) );
- m_textCtrlPreview->MarkerSetForeground( wxSCI_MARKNUM_FOLDER, wxColour( wxT("WHITE") ) );
- m_textCtrlPreview->MarkerDefine( wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_BOXMINUS );
- m_textCtrlPreview->MarkerSetBackground( wxSCI_MARKNUM_FOLDEROPEN, wxColour( wxT("BLACK") ) );
- m_textCtrlPreview->MarkerSetForeground( wxSCI_MARKNUM_FOLDEROPEN, wxColour( wxT("WHITE") ) );
- m_textCtrlPreview->MarkerDefine( wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_EMPTY );
- m_textCtrlPreview->MarkerDefine( wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_BOXPLUS );
- m_textCtrlPreview->MarkerSetBackground( wxSCI_MARKNUM_FOLDEREND, wxColour( wxT("BLACK") ) );
- m_textCtrlPreview->MarkerSetForeground( wxSCI_MARKNUM_FOLDEREND, wxColour( wxT("WHITE") ) );
- m_textCtrlPreview->MarkerDefine( wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_BOXMINUS );
- m_textCtrlPreview->MarkerSetBackground( wxSCI_MARKNUM_FOLDEROPENMID, wxColour( wxT("BLACK") ) );
- m_textCtrlPreview->MarkerSetForeground( wxSCI_MARKNUM_FOLDEROPENMID, wxColour( wxT("WHITE") ) );
- m_textCtrlPreview->MarkerDefine( wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_EMPTY );
- m_textCtrlPreview->MarkerDefine( wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_EMPTY );
- m_textCtrlPreview->SetSelBackground( true, wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHT ) );
- m_textCtrlPreview->SetSelForeground( true, wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHTTEXT ) );
- bSizer12->Add( m_textCtrlPreview, 1, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer11;
- bSizer11 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonUp = new wxButton( m_mainPanel, wxID_ANY, wxT("&Up"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer11->Add( m_buttonUp, 0, wxTOP|wxBOTTOM|wxLEFT, 5 );
-
- m_buttonDown = new wxButton( m_mainPanel, wxID_ANY, wxT("&Down"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer11->Add( m_buttonDown, 0, wxTOP|wxBOTTOM|wxLEFT, 5 );
-
- bSizer12->Add( bSizer11, 0, wxEXPAND, 0 );
-
- bSizer9->Add( bSizer12, 1, wxEXPAND, 5 );
-
- m_mainPanel->SetSizer( bSizer9 );
- m_mainPanel->Layout();
- bSizer9->Fit( m_mainPanel );
- bSizer7->Add( m_mainPanel, 1, wxEXPAND | wxALL, 5 );
-
- m_staticline5 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer7->Add( m_staticline5, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOK->SetDefault();
- bSizer8->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer7->Add( bSizer8, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer7 );
- this->Layout();
-
- // Connect Events
- m_textCtrlLineToAdd->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( AddIncludeFileDlgBase::OnTextUpdated ), NULL, this );
- m_buttonClearCachedPaths->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AddIncludeFileDlgBase::OnClearCachedPaths ), NULL, this );
- m_buttonUp->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AddIncludeFileDlgBase::OnButtonUp ), NULL, this );
- m_buttonDown->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AddIncludeFileDlgBase::OnButtonDown ), NULL, this );
- m_buttonOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( AddIncludeFileDlgBase::OnButtonOK ), NULL, this );
-}
diff --git a/LiteEditor/addincludefiledlgbase.h b/LiteEditor/addincludefiledlgbase.h
deleted file mode 100644
index e20012d0..00000000
--- a/LiteEditor/addincludefiledlgbase.h
+++ /dev/null
@@ -1,90 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : addincludefiledlgbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __addincludefiledlgbase__
-#define __addincludefiledlgbase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/wxscintilla.h>
-#ifdef __VISUALC__
-#include <wx/link_additions.h>
-#endif //__VISUALC__
-#include <wx/panel.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class AddIncludeFileDlgBase
-///////////////////////////////////////////////////////////////////////////////
-class AddIncludeFileDlgBase : public wxDialog
-{
- private:
-
- protected:
- wxPanel* m_mainPanel;
- wxStaticText* m_staticText4;
- wxTextCtrl* m_textCtrlLineToAdd;
- wxButton* m_buttonClearCachedPaths;
- wxStaticText* m_staticText5;
- wxTextCtrl* m_textCtrlFullPath;
- wxStaticText* m_staticText6;
- wxScintilla* m_textCtrlPreview;
- wxButton* m_buttonUp;
- wxButton* m_buttonDown;
- wxStaticLine* m_staticline5;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnTextUpdated( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnClearCachedPaths( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonUp( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonDown( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- AddIncludeFileDlgBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Add Include File:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 626,479 ), long style = wxDEFAULT_DIALOG_STYLE );
-
-};
-
-#endif //__addincludefiledlgbase__
diff --git a/LiteEditor/addoptioncheckdlg.cpp b/LiteEditor/addoptioncheckdlg.cpp
deleted file mode 100644
index 6926c99e..00000000
--- a/LiteEditor/addoptioncheckdlg.cpp
+++ /dev/null
@@ -1,138 +0,0 @@
-#include "addoptioncheckdlg.h"
-#include "windowattrmanager.h"
-#include <wx/tokenzr.h>
-#include <wx/txtstrm.h>
-#include <wx/sstream.h>
-#include <list>
-#include <algorithm> // std::find
-
-AddOptionCheckDlg::AddOptionCheckDlg(wxWindow* parent, const wxString& title, const Compiler::CmpCmdLineOptions& cmpOptions, const wxString& value)
-: AddOptionCheckDialogBase(parent, wxID_ANY, title)
-, m_cmpOptions(cmpOptions)
-{
- WindowAttrManager::Load(this, wxT("AddOptionCheckDlg"), NULL);
-
- // Fill the list of available options
- Compiler::CmpCmdLineOptions::const_iterator itOption = m_cmpOptions.begin();
- for ( ; itOption != m_cmpOptions.end(); ++itOption)
- {
- const Compiler::CmpCmdLineOption& cmpOption = itOption->second;
- m_checkListOptions->Append(cmpOption.help + wxT(" [") + cmpOption.name + wxT("]"));
- }
-
- // Update controls
- SetValue(value);
-}
-
-AddOptionCheckDlg::~AddOptionCheckDlg()
-{
- WindowAttrManager::Save(this, wxT("AddOptionCheckDlg"), NULL);
-}
-
-void AddOptionCheckDlg::SetValue(const wxString& value)
-{
- m_textCmdLn->SetValue(value);
-
- UpdateOptions();
- UpdateCmdLine();
-}
-
-wxString AddOptionCheckDlg::GetValue() const
-{
- return m_textCmdLn->GetValue();
-}
-
-void AddOptionCheckDlg::OnOptionToggled( wxCommandEvent& event )
-{
- UpdateCmdLine();
- UpdateOptions();
-}
-
-void AddOptionCheckDlg::OnOptionsText( wxCommandEvent& event )
-{
- UpdateCmdLine();
-}
-
-void AddOptionCheckDlg::UpdateOptions()
-{
- // Remove all check boxes
- m_checkListOptions->Freeze();
-
- for (unsigned int idx = 0; idx < m_checkListOptions->GetCount(); ++idx)
- {
- m_checkListOptions->Check(idx, false);
- }
-
- // Check all options entered
- wxString customOptions;
- wxStringTokenizer tkz(m_textCmdLn->GetValue(), wxT(";"));
- while(tkz.HasMoreTokens())
- {
- wxString token = tkz.GetNextToken();
- token = token.Trim().Trim(false);
- if (!token.empty())
- {
- Compiler::CmpCmdLineOptions::const_iterator itOption = m_cmpOptions.find(token);
- if(itOption != m_cmpOptions.end())
- {
- const Compiler::CmpCmdLineOption& cmpOption = itOption->second;
- m_checkListOptions->Check(m_checkListOptions->FindString(cmpOption.help + wxT(" [") + cmpOption.name + wxT("]")));
- }
- else
- {
- if(!customOptions.empty()) customOptions << wxT(";");
- customOptions << token;
- }
- }
- }
- m_textOptions->ChangeValue(customOptions);
-
- m_checkListOptions->Thaw();
-}
-
-void AddOptionCheckDlg::UpdateCmdLine()
-{
- // Store all actual options
- std::list<wxString> options;
- wxStringInputStream input(m_textOptions->GetValue());
- wxTextInputStream text(input);
- while( !input.Eof() ) {
- wxString option = text.ReadLine().Trim().Trim(false);
- if (!option.empty())
- {
- options.push_back(option);
- }
- }
-
- // Read check box options
- for (unsigned int idx = 0; idx < m_checkListOptions->GetCount(); ++idx)
- {
- wxString value = m_checkListOptions->GetString(idx).AfterLast(wxT('[')).BeforeLast(wxT(']'));
- if (m_checkListOptions->IsChecked(idx))
- {
- // If the option doesn't exist actually, add it
- if (std::find(options.begin(), options.end(), value) == options.end())
- {
- //options.push_back(value.AfterLast(wxT('[')).BeforeLast(wxT(']')));
- options.insert(options.begin(), value);
- }
- else
- // uncheck the option if already defined manualy
- m_checkListOptions->Check(idx, false);
- }
- }
-
- // Update the options textctrl
- wxString value;
- std::list<wxString>::const_iterator itOption = options.begin();
- for ( ; itOption != options.end(); ++itOption)
- {
- if(!value.Contains(*itOption + wxT(";")))
- {
- if(!value.empty()) value << wxT(";");
- value << *itOption;
- }
- }
- m_textCmdLn->SetValue(value);
-}
-
diff --git a/LiteEditor/addoptioncheckdlg.h b/LiteEditor/addoptioncheckdlg.h
deleted file mode 100644
index 0382c032..00000000
--- a/LiteEditor/addoptioncheckdlg.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef __addoptioncheckdlg__
-#define __addoptioncheckdlg__
-
-#include "addoptioncheckdlgbase.h"
-#include "compiler.h"
-
-class AddOptionCheckDlg : public AddOptionCheckDialogBase
-{
-protected:
- Compiler::CmpCmdLineOptions m_cmpOptions;
-
-public:
- AddOptionCheckDlg(wxWindow* parent, const wxString& title, const Compiler::CmpCmdLineOptions& cmpOptions, const wxString& value = wxEmptyString);
- ~AddOptionCheckDlg();
-
- wxString GetValue() const;
- void SetValue(const wxString& value);
-
-protected:
- void UpdateOptions();
- void UpdateCmdLine();
-
- // Event generated by wxFormBuilder
- virtual void OnOptionToggled( wxCommandEvent& event );
- virtual void OnOptionsText( wxCommandEvent& event );
-};
-
-#endif // __addoptioncheckdlg__
diff --git a/LiteEditor/addoptioncheckdlgbase.cpp b/LiteEditor/addoptioncheckdlgbase.cpp
deleted file mode 100644
index 97d651ab..00000000
--- a/LiteEditor/addoptioncheckdlgbase.cpp
+++ /dev/null
@@ -1,74 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 4 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "addoptioncheckdlgbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-AddOptionCheckDialogBase::AddOptionCheckDialogBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Check the command line options you need"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- mainSizer->Add( m_staticText1, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* optionsSizer;
- optionsSizer = new wxBoxSizer( wxVERTICAL );
-
- wxArrayString m_checkListOptionsChoices;
- m_checkListOptions = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListOptionsChoices, wxLB_EXTENDED|wxLB_MULTIPLE|wxLB_NEEDED_SB|wxLB_SORT );
- optionsSizer->Add( m_checkListOptions, 2, wxALL|wxEXPAND, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, _("Enter other options"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- optionsSizer->Add( m_staticText4, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_textOptions = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- optionsSizer->Add( m_textOptions, 1, wxALL|wxEXPAND, 5 );
-
- wxStaticBoxSizer* cmdlnSizer;
- cmdlnSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Command line") ), wxVERTICAL );
-
- m_textCmdLn = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1,50 ), wxTE_MULTILINE|wxTE_NO_VSCROLL|wxTE_READONLY|wxNO_BORDER );
- m_textCmdLn->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
- m_textCmdLn->SetMinSize( wxSize( -1,50 ) );
-
- cmdlnSizer->Add( m_textCmdLn, 0, wxEXPAND, 5 );
-
- optionsSizer->Add( cmdlnSizer, 0, wxEXPAND|wxALL, 5 );
-
- mainSizer->Add( optionsSizer, 1, wxEXPAND, 5 );
-
- m_staticline5 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline5, 0, wxEXPAND | wxALL, 5 );
-
- m_sdbSizer = new wxStdDialogButtonSizer();
- m_sdbSizerOK = new wxButton( this, wxID_OK );
- m_sdbSizer->AddButton( m_sdbSizerOK );
- m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
- m_sdbSizer->AddButton( m_sdbSizerCancel );
- m_sdbSizer->Realize();
- mainSizer->Add( m_sdbSizer, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- // Connect Events
- m_checkListOptions->Connect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( AddOptionCheckDialogBase::OnOptionToggled ), NULL, this );
- m_textOptions->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( AddOptionCheckDialogBase::OnOptionsText ), NULL, this );
-}
-
-AddOptionCheckDialogBase::~AddOptionCheckDialogBase()
-{
- // Disconnect Events
- m_checkListOptions->Disconnect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( AddOptionCheckDialogBase::OnOptionToggled ), NULL, this );
- m_textOptions->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( AddOptionCheckDialogBase::OnOptionsText ), NULL, this );
-}
diff --git a/LiteEditor/addoptioncheckdlgbase.h b/LiteEditor/addoptioncheckdlgbase.h
deleted file mode 100644
index 5a9931d0..00000000
--- a/LiteEditor/addoptioncheckdlgbase.h
+++ /dev/null
@@ -1,59 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 4 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __addoptioncheckdlgbase__
-#define __addoptioncheckdlgbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/checklst.h>
-#include <wx/textctrl.h>
-#include <wx/sizer.h>
-#include <wx/statbox.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class AddOptionCheckDialogBase
-///////////////////////////////////////////////////////////////////////////////
-class AddOptionCheckDialogBase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxCheckListBox* m_checkListOptions;
- wxStaticText* m_staticText4;
- wxTextCtrl* m_textOptions;
- wxTextCtrl* m_textCmdLn;
- wxStaticLine* m_staticline5;
- wxStdDialogButtonSizer* m_sdbSizer;
- wxButton* m_sdbSizerOK;
- wxButton* m_sdbSizerCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnOptionToggled( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnOptionsText( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- AddOptionCheckDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,450 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~AddOptionCheckDialogBase();
-
-};
-
-#endif //__addoptioncheckdlgbase__
diff --git a/LiteEditor/advanced_settings.cpp b/LiteEditor/advanced_settings.cpp
deleted file mode 100644
index 105daa59..00000000
--- a/LiteEditor/advanced_settings.cpp
+++ /dev/null
@@ -1,317 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : advanced_settings.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "windowattrmanager.h"
-#include "macros.h"
-#include "buildsettingstab.h"
-#include "advanced_settings.h"
-#include "manager.h"
-#include "editor_config.h"
-#include <wx/xrc/xmlres.h>
-#include "build_settings_config.h"
-#include "build_page.h"
-#include "compilerswitchespage.h"
-#include "compilertoolspage.h"
-#include "compilerpatternspage.h"
-#include "compileradvancepage.h"
-#include "compilerfiletypespage.h"
-#include "compilercompileroptionspage.h"
-#include "compilerlinkeroptionspage.h"
-
-BEGIN_EVENT_TABLE(AdvancedDlg, wxDialog)
- EVT_MENU(XRCID("delete_compiler"), AdvancedDlg::OnDeleteCompiler)
-END_EVENT_TABLE()
-
-///////////////////////////////////////////////////////////////////////////
-
-AdvancedDlg::AdvancedDlg( wxWindow* parent, size_t selected_page, int id, wxString title, wxPoint pos, wxSize size, int style )
- : wxDialog( parent, id, title, pos, size, style | wxRESIZE_BORDER )
- , m_rightclickMenu(NULL)
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_notebook = new wxNotebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize);
- m_compilersPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText1 = new wxStaticText( m_compilersPage, wxID_ANY, wxT("Create New Compiler:"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_staticText1, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_buttonNewCompiler = new wxButton( m_compilersPage, wxID_ANY, wxT("New..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonNewCompiler, 0, wxALL|wxALIGN_RIGHT, 5 );
-
- bSizer5->Add( bSizer4, 0, wxALIGN_RIGHT|wxEXPAND, 5 );
-
- m_staticline2 = new wxStaticLine( m_compilersPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer5->Add( m_staticline2, 0, wxEXPAND | wxRIGHT | wxLEFT, 5 );
-
- m_compilersNotebook = new wxTreebook(m_compilersPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBK_DEFAULT );
- bSizer5->Add( m_compilersNotebook, 1, wxALL|wxEXPAND, 5 );
-
- m_compilersPage->SetSizer( bSizer5 );
- m_compilersPage->Layout();
- bSizer5->Fit( m_compilersPage );
- m_notebook->AddPage( m_compilersPage, wxT("Compilers"), true );
-
- mainSizer->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
-
- m_staticline10 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline10, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* btnSizer;
- btnSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_buttonCancel, 0, wxALL, 5 );
-
- mainSizer->Add( btnSizer, 0, wxALIGN_RIGHT, 5 );
-
- m_buildSettings = new BuildTabSetting(m_notebook);
- m_notebook->AddPage(m_buildSettings, wxT("Build Output Appearance"), false);
-
- m_buildPage = new BuildPage(m_notebook);
- m_notebook->AddPage(m_buildPage, wxT("Build Systems"), false);
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- m_compilersNotebook->GetTreeCtrl()->Connect(wxEVT_CONTEXT_MENU, wxContextMenuEventHandler(AdvancedDlg::OnContextMenu), NULL, this);
- m_rightclickMenu = wxXmlResource::Get()->LoadMenu(wxT("delete_compiler_menu"));
-
- LoadCompilers();
-
- if(m_compilersNotebook->GetPageCount()){
- m_compilersNotebook->ExpandNode(0);
- m_compilersNotebook->SetSelection(1);
- }
-
- ConnectButton(m_buttonNewCompiler, AdvancedDlg::OnButtonNewClicked);
- ConnectButton(m_buttonOK, AdvancedDlg::OnButtonOKClicked);
-
- m_notebook->SetSelection( selected_page );
-
- // center the dialog
- Centre();
- this->Layout();
- GetSizer()->Fit(this);
-
- m_compilersNotebook->SetFocus();
- WindowAttrManager::Load(this, wxT("BuildSettingsDlg"), NULL);
-}
-
-void AdvancedDlg::LoadCompilers()
-{
- m_compilerPagesMap.clear();
- m_compilersNotebook->Freeze();
- m_compilersNotebook->DeleteAllPages();
-
- BuildSettingsConfigCookie cookie;
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetFirstCompiler(cookie);
- bool first (true);
- while (cmp) {
- AddCompiler(cmp, first);
- cmp = BuildSettingsConfigST::Get()->GetNextCompiler(cookie);
- first = false;
- }
-
- m_compilersNotebook->Thaw();
-}
-
-AdvancedDlg::~AdvancedDlg()
-{
- delete m_rightclickMenu;
- WindowAttrManager::Save(this, wxT("BuildSettingsDlg"), NULL);
-}
-
-void AdvancedDlg::OnButtonNewClicked(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- wxTextEntryDialog *dlg = new wxTextEntryDialog(this, wxT("Enter New Compiler Name:"), wxT("New Compiler"));
- if (dlg->ShowModal() == wxID_OK) {
- wxString name = dlg->GetValue();
- TrimString(name);
- if (name.IsEmpty() == false) {
- CreateDefaultNewCompiler(name);
- LoadCompilers();
-
- if(m_compilersNotebook->GetPageCount() > ((m_compilerPagesMap.size() *6)-1) ) {
- int start_pos = (m_compilerPagesMap.size()-1)*6;
- m_compilersNotebook->ExpandNode(start_pos);
- m_compilersNotebook->SetSelection(start_pos + 1);
- }
- SetSizerAndFit(GetSizer());
- }
- }
- dlg->Destroy();
-}
-
-void AdvancedDlg::OnButtonOKClicked(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- //save all compiler pages
- SaveCompilers();
-
- //save the build page
- m_buildPage->Save();
- m_buildSettings->Save();
-
- //mark all the projects as dirty
- wxArrayString projects;
- WorkspaceST::Get()->GetProjectList( projects );
- for ( size_t i=0; i< projects.size(); i++ ) {
- ProjectPtr proj = ManagerST::Get()->GetProject( projects.Item(i) );
- if ( proj ) {
- proj->SetModified( true );
- }
- }
- EndModal(wxID_OK);
-}
-
-void AdvancedDlg::OnDeleteCompiler(wxCommandEvent & event)
-{
- wxUnusedVar(event);
- int sel = m_compilersNotebook->GetSelection();
-
- if (sel != wxNOT_FOUND) {
- wxString name = m_compilersNotebook->GetPageText((size_t)sel);
- if (DeleteCompiler(name)) {
- m_compilersNotebook->DeletePage((size_t)sel);
-
- std::map<wxString, std::vector<ICompilerSubPage*> >::iterator iter = m_compilerPagesMap.find(name);
- if(iter != m_compilerPagesMap.end()){
- m_compilerPagesMap.erase(iter);
- }
-
- if(m_compilersNotebook->GetPageCount()){
- m_compilersNotebook->ExpandNode(0);
- m_compilersNotebook->SetSelection(1);
- }
- SetSizerAndFit(GetSizer());
- }
- }
-}
-
-void AdvancedDlg::SaveCompilers()
-{
- std::map<wxString, std::vector<ICompilerSubPage*> >::iterator iter = m_compilerPagesMap.begin();
- for(; iter != m_compilerPagesMap.end(); iter ++){
- std::vector<ICompilerSubPage*> items = iter->second;
- wxString cmpname = iter->first;
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(cmpname);
- if(cmp){
- for(size_t i=0; i<items.size(); i++){
- ICompilerSubPage* p = items.at(i);
- p->Save(cmp);
- }
- BuildSettingsConfigST::Get()->SetCompiler(cmp);//save changes
- }
- }
-}
-
-bool AdvancedDlg::CreateDefaultNewCompiler ( const wxString &name )
-{
- if ( BuildSettingsConfigST::Get()->IsCompilerExist ( name ) ) {
- wxMessageBox ( _ ( "A compiler with this name already exist" ), wxT ( "Error" ), wxOK | wxICON_HAND );
- return false;
- }
-
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler ( name );
- cmp->SetName ( name );
- BuildSettingsConfigST::Get()->SetCompiler ( cmp );
- return true;
-}
-
-void AdvancedDlg::AddCompiler(CompilerPtr cmp, bool selected)
-{
- std::vector<ICompilerSubPage*> pages;
-
- // add the root node
- m_compilersNotebook->AddPage(0, cmp->GetName(), selected);
-
- CompilerPatternsPage *p2 = new CompilerPatternsPage(m_compilersNotebook, cmp->GetName());
- pages.push_back(p2);
- m_compilersNotebook->AddSubPage(p2, _("Patterns"), false);
-
- CompilerToolsPage *p3 = new CompilerToolsPage(m_compilersNotebook, cmp->GetName());
- pages.push_back(p3);
- m_compilersNotebook->AddSubPage(p3, _("Tools"), false);
-
- CompilerSwitchesPage *p4 = new CompilerSwitchesPage(m_compilersNotebook, cmp->GetName());
- pages.push_back(p4);
- m_compilersNotebook->AddSubPage(p4, _("Switches"), false);
-
- CompilerFileTypePage *p5 = new CompilerFileTypePage(m_compilersNotebook, cmp->GetName());
- pages.push_back(p5);
- m_compilersNotebook->AddSubPage(p5, _("File Types"), false);
-
- CompilerCompilerOptionsPage *p6 = new CompilerCompilerOptionsPage(m_compilersNotebook, cmp->GetName());
- pages.push_back(p6);
- m_compilersNotebook->AddSubPage(p6, _("Compiler options"), false);
-
- CompilerLinkerOptionsPage *p7 = new CompilerLinkerOptionsPage(m_compilersNotebook, cmp->GetName());
- pages.push_back(p7);
- m_compilersNotebook->AddSubPage(p7, _("Linker options"), false);
-
- CompilerAdvancePage *p8 = new CompilerAdvancePage(m_compilersNotebook, cmp->GetName());
- pages.push_back(p8);
- m_compilersNotebook->AddSubPage(p8, _("Advanced"), false);
-
- m_compilerPagesMap[cmp->GetName()] = pages;
-}
-
-bool AdvancedDlg::DeleteCompiler ( const wxString &name )
-{
- if ( wxMessageBox ( _ ( "Remove Compiler?" ), wxT ( "Confirm" ), wxYES_NO | wxICON_QUESTION ) == wxYES ) {
- BuildSettingsConfigST::Get()->DeleteCompiler ( name );
- return true;
- }
- return false;
-}
-
-void AdvancedDlg::OnContextMenu(wxContextMenuEvent& e)
-{
- wxTreeCtrl *tree = m_compilersNotebook->GetTreeCtrl();
- wxTreeItemId item = tree->GetSelection();
-
- // only compilers have children
- if(item.IsOk() && tree->HasChildren(item)){
- PopupMenu(m_rightclickMenu);
- }
-}
diff --git a/LiteEditor/advanced_settings.h b/LiteEditor/advanced_settings.h
deleted file mode 100644
index 149735c3..00000000
--- a/LiteEditor/advanced_settings.h
+++ /dev/null
@@ -1,94 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : advanced_settings.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __advanced_settings__
-#define __advanced_settings__
-
-#include <wx/wx.h>
-
-#include <wx/button.h>
-#include "compiler.h"
-#include <wx/statline.h>
-#include <wx/treebook.h>
-#include <wx/panel.h>
-#include "build_page.h"
-#include <wx/toolbook.h>
-#include <map>
-#include <vector>
-
-///////////////////////////////////////////////////////////////////////////
-class BuildTabSetting;
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class AdvancedDlg
-///////////////////////////////////////////////////////////////////////////////
-
-class ICompilerSubPage {
-public:
- virtual void Save(CompilerPtr cmp) = 0;
-};
-
-class AdvancedDlg : public wxDialog
-{
- DECLARE_EVENT_TABLE();
- std::map<wxString, std::vector<ICompilerSubPage*> > m_compilerPagesMap;
-
-protected:
- wxNotebook* m_notebook;
- wxPanel* m_compilersPage;
- wxStaticText* m_staticText1;
- wxButton* m_buttonNewCompiler;
- wxStaticLine* m_staticline2;
- wxTreebook* m_compilersNotebook;
- wxStaticLine* m_staticline10;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
- BuildPage *m_buildPage;
- BuildTabSetting *m_buildSettings;
- wxMenu *m_rightclickMenu;
-
- void OnButtonNewClicked(wxCommandEvent &);
- void OnButtonOKClicked(wxCommandEvent &);
- void OnDeleteCompiler(wxCommandEvent &);
- void OnContextMenu(wxContextMenuEvent &e);
-
- void LoadCompilers();
- bool CreateDefaultNewCompiler(const wxString &name);
- void AddCompiler(CompilerPtr cmp, bool selected);
- bool DeleteCompiler(const wxString &name);
- void SaveCompilers();
-
-public:
- AdvancedDlg( wxWindow* parent, size_t selected_page, int id = wxID_ANY, wxString title = wxT("Build Settings"), wxPoint pos = wxDefaultPosition, wxSize size = wxSize(800, 700), int style = wxDEFAULT_DIALOG_STYLE );
- ~AdvancedDlg();
-};
-
-#endif //__advanced_settings__
diff --git a/LiteEditor/app.cpp b/LiteEditor/app.cpp
deleted file mode 100644
index 4394c745..00000000
--- a/LiteEditor/app.cpp
+++ /dev/null
@@ -1,578 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : app.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include <wx/socket.h>
-#include "fileextmanager.h"
-#include <wx/splash.h>
-#include "evnvarlist.h"
-#include "environmentconfig.h"
-#include "conffilelocator.h"
-#include "app.h"
-#include <wx/snglinst.h>
-#include <wx/image.h>
-#include <wx/filefn.h>
-#include "dirsaver.h"
-
-
-#include "xmlutils.h"
-#include "editor_config.h"
-#include <wx/xrc/xmlres.h>
-#include <wx/sysopt.h>
-#include "manager.h"
-#include "macros.h"
-#include "wx/txtstrm.h"
-#include "wx/wfstream.h"
-#include "stack_walker.h"
-#include <wx/cmdline.h>
-#include "procutils.h"
-#include "globals.h"
-#include "wx/tokenzr.h"
-#include "wx/dir.h"
-#include <wx/stdpaths.h>
-#include "frame.h"
-
-#define __PERFORMANCE
-#include "performance.h"
-
-//////////////////////////////////////////////
-// Define the version string for this codelite
-//////////////////////////////////////////////
-extern wxChar *SvnRevision;
-wxString CODELITE_VERSION_STR = wxString::Format(wxT("v2.3.0.%s"), SvnRevision);
-
-#if defined(__WXMAC__)||defined(__WXGTK__)
-#include <signal.h> // sigprocmask
-#endif
-
-#ifdef __WXMSW__
-#include <wx/msw/registry.h> //registry keys
-#endif
-
-#ifdef __WXMAC__
-#include <mach-o/dyld.h>
-
-//On Mac we determine the base path using system call
-//_NSGetExecutablePath(path, &path_len);
-wxString MacGetBasePath()
-{
- char path[257];
- uint32_t path_len = 256;
- _NSGetExecutablePath(path, &path_len);
-
- //path now contains
- //CodeLite.app/Contents/MacOS/
- wxFileName fname(wxString(path, wxConvUTF8));
-
- //remove he MacOS part of the exe path
- wxString file_name = fname.GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR);
- wxString rest;
- file_name.EndsWith(wxT("MacOS/"), &rest);
- rest.Append(wxT("SharedSupport/"));
-
- return rest;
-}
-#endif
-//-------------------------------------------------
-// helper method to draw the revision + version
-// on our splash screen
-//-------------------------------------------------
-static wxBitmap clDrawSplashBitmap(const wxBitmap& bitmap, const wxString &mainTitle)
-{
- wxBitmap bmp ( bitmap.GetWidth(), bitmap.GetHeight() );
- wxMemoryDC dcMem;
-
- dcMem.SelectObject( bmp );
- dcMem.DrawBitmap ( bitmap, 0, 0, true);
-
- //write the main title & subtitle
- wxCoord w, h;
- wxFont font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- wxFont smallfont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- font.SetPointSize(12);
- smallfont.SetPointSize(10);
- dcMem.SetFont(font);
- dcMem.GetMultiLineTextExtent(mainTitle, &w, &h);
- wxCoord bmpW = bitmap.GetWidth();
-
- //draw shadow
- dcMem.SetTextForeground(wxT("WHITE"));
-
- wxCoord textX = (bmpW - w)/2;
- dcMem.DrawText(mainTitle, textX, 11);
- dcMem.SelectObject(wxNullBitmap);
- return bmp;
-}
-
-//-----------------------------------------------------
-// Splashscreen
-//-----------------------------------------------------
-class clSplashScreen : public wxSplashScreen
-{
-public:
- clSplashScreen(const wxBitmap& bmp) : wxSplashScreen(bmp, wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, 5000, NULL, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_SIMPLE| wxFRAME_NO_TASKBAR| wxSTAY_ON_TOP)
- {
- }
-};
-
-#if wxVERSION_NUMBER < 2900
-static const wxCmdLineEntryDesc cmdLineDesc[] = {
- {wxCMD_LINE_SWITCH, wxT("v"), wxT("version"), wxT("Print current version"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_SWITCH, wxT("h"), wxT("help"), wxT("Print usage"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_SWITCH, wxT("p"), wxT("no-plugins"), wxT("Start codelite without any plugins"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_OPTION, wxT("l"), wxT("line"), wxT("Open the file at a given line number"), wxCMD_LINE_VAL_NUMBER, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_OPTION, wxT("b"), wxT("basedir"), wxT("Use this path as CodeLite installation path"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_PARAM, NULL, NULL, wxT("Input file"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE|wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_NONE }
-};
-#else
-static const wxCmdLineEntryDesc cmdLineDesc[] = {
- {wxCMD_LINE_SWITCH, "v", "version", "Print current version", wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_SWITCH, "h", "help", "Print usage", wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_SWITCH, "p", "no-plugins", "Start codelite without any plugins", wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_OPTION, "l", "line", "Open the file at a given line number", wxCMD_LINE_VAL_NUMBER, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_OPTION, "b", "basedir", "The base directory of CodeLite", wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_PARAM, NULL, NULL, "Input file", wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE|wxCMD_LINE_PARAM_OPTIONAL },
- {wxCMD_LINE_NONE }
-};
-#endif
-
-static void massCopy(const wxString &sourceDir, const wxString &spec, const wxString &destDir)
-{
- wxArrayString files;
- wxDir::GetAllFiles(sourceDir, &files, spec, wxDIR_FILES);
- for ( size_t i=0; i<files.GetCount(); i++ ) {
- wxFileName fn(files.Item(i));
- wxCopyFile(files.Item(i), destDir + wxT("/") + fn.GetFullName());
- }
-}
-
-IMPLEMENT_APP(App)
-
-extern void InitXmlResource();
-App::App(void)
- : m_pMainFrame(NULL)
- , m_singleInstance(NULL)
- , m_loadPlugins(true)
-#ifdef __WXMSW__
- , m_handler(NULL)
-#endif
-{
-}
-
-App::~App(void)
-{
- wxImage::CleanUpHandlers();
-#ifdef __WXMSW__
- if (m_handler) {
- FreeLibrary(m_handler);
- m_handler = NULL;
- }
-#endif
- if ( m_singleInstance ) {
- delete m_singleInstance;
- }
- wxAppBase::ExitMainLoop();
-}
-
-bool App::OnInit()
-{
-#if defined(__WXGTK__) || defined(__WXMAC__)
-// block signal pipe
- sigset_t mask_set;
- sigemptyset( &mask_set );
- sigaddset(&mask_set, SIGPIPE);
- sigprocmask(SIG_SETMASK, &mask_set, NULL);
-#endif
-
- wxSocketBase::Initialize();
-
-#if wxUSE_STACKWALKER
- //trun on fatal exceptions handler
- wxHandleFatalExceptions(true);
-#endif
-
-#ifdef __WXMSW__
- // as described in http://jrfonseca.dyndns.org/projects/gnu-win32/software/drmingw/
- // load the exception handler dll so we will get Dr MinGW at runtime
- m_handler = LoadLibrary(wxT("exchndl.dll"));
-#endif
-
- // Init resources and add the PNG handler
- wxSystemOptions::SetOption(_T("msw.remap"), 0);
- wxXmlResource::Get()->InitAllHandlers();
- wxImage::AddHandler( new wxPNGHandler );
- wxImage::AddHandler( new wxCURHandler );
- wxImage::AddHandler( new wxICOHandler );
- wxImage::AddHandler( new wxXPMHandler );
- wxImage::AddHandler( new wxGIFHandler );
- InitXmlResource();
- //wxLog::EnableLogging(false);
- wxString homeDir(wxEmptyString);
-
- //parse command line
- wxCmdLineParser parser;
- parser.SetDesc(cmdLineDesc);
- parser.SetCmdLine(wxAppBase::argc, wxAppBase::argv);
- if (parser.Parse() != 0) {
- return false;
- }
-
- if(parser.Found(wxT("h"))){
- // print usage
- parser.Usage();
- return false;
- }
-
- if(parser.Found(wxT("p"))){
- // Load codelite without plugins
- SetLoadPlugins(false);
- }
-
- wxString newBaseDir(wxEmptyString);
- if (parser.Found(wxT("b"), &newBaseDir)) {
- homeDir = newBaseDir;
- }
-
-#if defined (__WXGTK__)
- if (homeDir.IsEmpty()) {
- SetAppName(wxT("codelite"));
- homeDir = wxStandardPaths::Get().GetUserDataDir(); // ~/Library/Application Support/codelite or ~/.codelite
-
- //Create the directory structure
- wxLogNull noLog;
- wxMkdir(homeDir);
- wxMkdir(homeDir + wxT("/lexers/"));
- wxMkdir(homeDir + wxT("/lexers/Default"));
- wxMkdir(homeDir + wxT("/lexers/BlackTheme"));
- wxMkdir(homeDir + wxT("/rc/"));
- wxMkdir(homeDir + wxT("/images/"));
- wxMkdir(homeDir + wxT("/templates/"));
- wxMkdir(homeDir + wxT("/config/"));
-
- //copy the settings from the global location if needed
- wxString installPath( INSTALL_DIR, wxConvUTF8 );
- if ( ! CopySettings(homeDir, installPath ) ) return false;
- ManagerST::Get()->SetInstallDir( installPath );
-
- } else {
- wxFileName fn(homeDir);
- fn.MakeAbsolute();
- ManagerST::Get()->SetInstallDir( fn.GetFullPath() );
- }
-
-#elif defined (__WXMAC__)
- SetAppName(wxT("codelite"));
- homeDir = wxStandardPaths::Get().GetUserDataDir();
-
- {
- wxLogNull noLog;
-
- //Create the directory structure
- wxMkdir(homeDir);
- wxMkdir(homeDir + wxT("/lexers/"));
- wxMkdir(homeDir + wxT("/lexers/Default"));
- wxMkdir(homeDir + wxT("/lexers/BlackTheme"));
- wxMkdir(homeDir + wxT("/rc/"));
- wxMkdir(homeDir + wxT("/images/"));
- wxMkdir(homeDir + wxT("/templates/"));
- wxMkdir(homeDir + wxT("/config/"));
- }
-
- wxString installPath( MacGetBasePath() );
- ManagerST::Get()->SetInstallDir( installPath );
- //copy the settings from the global location if needed
- CopySettings(homeDir, installPath);
-
-#else //__WXMSW__
- if (homeDir.IsEmpty()) { //did we got a basedir from user?
- homeDir = ::wxGetCwd();
- }
- wxFileName fnHomdDir(homeDir + wxT("/"));
-
- // try to locate the menu/rc.xrc file
- wxFileName fn(homeDir + wxT("/rc"), wxT("menu.xrc"));
- if(!fn.FileExists()){
- // we got wrong home directory
- wxFileName appFn( wxAppBase::argv[0] );
- homeDir = appFn.GetPath();
- }
-
- if(fnHomdDir.IsRelative()){
- fnHomdDir.MakeAbsolute();
- homeDir = fnHomdDir.GetPath();
- }
-
- ManagerST::Get()->SetInstallDir( homeDir );
-#endif
-
- // Update codelite revision and Version
- EditorConfigST::Get()->Init(SvnRevision, wxT("2.0.2") );
-
- wxString curdir = wxGetCwd();
- ::wxSetWorkingDirectory(homeDir);
- // Load all of the XRC files that will be used. You can put everything
- // into one giant XRC file if you wanted, but then they become more
- // diffcult to manage, and harder to reuse in later projects.
- // The menubar
- if (!wxXmlResource::Get()->Load(wxT("rc/menu.xrc")))
- return false;
-
- // keep the startup directory
- ManagerST::Get()->SetStarupDirectory(::wxGetCwd());
-
- // set the performance output file name
- PERF_OUTPUT(wxString::Format(wxT("%s/codelite.perf"), wxGetCwd().c_str()).mb_str(wxConvUTF8));
-
- // Initialize the configuration file locater
- ConfFileLocator::Instance()->Initialize(ManagerST::Get()->GetInstallDir(), ManagerST::Get()->GetStarupDirectory());
-
- Manager *mgr = ManagerST::Get();
-
- // set the CTAGS_REPLACEMENT environment variable
- wxSetEnv(wxT("CTAGS_REPLACEMENTS"), ManagerST::Get()->GetStarupDirectory() + wxT("/ctags.replacements"));
-
- //show splashscreen here
- long style = wxSIMPLE_BORDER;
-#if defined (__WXMSW__) || defined (__WXGTK__)
- style |= wxFRAME_NO_TASKBAR;
-#endif
-
- //read the last frame size from the configuration file
- // Initialise editor configuration files
- EditorConfig *cfg = EditorConfigST::Get();
- if ( !cfg->Load() ) {
- wxLogMessage(wxT("Failed to load configuration file: ") + wxGetCwd() + wxT("/config/codelite.xml"), wxT("CodeLite"), wxICON_ERROR | wxOK);
- return false;
- }
-
- // check for single instance
- if ( !CheckSingularity(parser, curdir) ) {
- return false;
- }
-
-#ifdef __WXMSW__
- // Update PATH environment variable with the install directory and
- // MinGW default installation (if exists)
- wxString pathEnv;
- if(wxGetEnv(wxT("PATH"), &pathEnv) == false){
- wxLogMessage(_("WARNING: Failed to load environment variable PATH!"));
- } else {
- pathEnv << wxT(";") << homeDir << wxT(";");
-
- // read the installation path of MinGW & WX
- wxRegKey rk(wxT("HKEY_CURRENT_USER\\Software\\CodeLite"));
- if(rk.Exists()) {
- m_parserPaths.Clear();
- wxString strWx, strMingw;
- if(rk.HasValue(wxT("wx"))){
- rk.QueryValue(wxT("wx"), strWx);
- }
-
- if(rk.HasValue(wxT("mingw"))){
- rk.QueryValue(wxT("mingw"), strMingw);
- }
-
- EvnVarList vars;
- EnvironmentConfig::Instance()->Load();
- EnvironmentConfig::Instance()->ReadObject(wxT("Variables"), &vars);
-
- if(strWx.IsEmpty() == false) {
- // we have WX installed on this machine, set the path of WXWIN & WXCFG to point to it
- std::map<wxString, wxString> envs = vars.GetVariables(wxT("Default"));
- if(envs.find(wxT("WXWIN")) == envs.end())
- vars.AddVariable(wxT("Default"), wxT("WXWIN"), strWx);
-
- if(envs.find(wxT("WXCFG")) == envs.end())
- vars.AddVariable(wxT("Default"), wxT("WXCFG"), wxT("gcc_dll\\mswu"));
-
- EnvironmentConfig::Instance()->WriteObject(wxT("Variables"), &vars);
- wxSetEnv(wxT("WX_INCL_HOME"), strWx + wxT("\\include"));
- }
-
- if(strMingw.IsEmpty() == false) {
- // Add the installation include paths
- pathEnv << wxT(";") << strMingw << wxT("\\bin");
- wxSetEnv(wxT("MINGW_INCL_HOME"), strMingw);
- }
- }
-
- if(wxSetEnv(wxT("PATH"), pathEnv) == false){
- wxLogMessage(_("WARNING: Failed to update environment variable PATH"));
- }
- }
-#endif
-
- GeneralInfo inf;
- cfg->ReadObject(wxT("GeneralInfo"), &inf);
-
- bool showSplash = inf.GetFlags() & CL_SHOW_SPLASH ? true : false;
-
- m_splash = NULL;
- if (showSplash) {
- wxBitmap bitmap;
- wxString splashName(mgr->GetStarupDirectory() + wxT("/images/splashscreen.png"));
- if (bitmap.LoadFile(splashName, wxBITMAP_TYPE_PNG)) {
- wxString mainTitle = CODELITE_VERSION_STR;
- wxBitmap splash = clDrawSplashBitmap(bitmap, mainTitle);
- m_splash = new clSplashScreen(splash);
- }
- }
-
- // Create the main application window (a dialog in this case)
- // NOTE: Vertical dimension comprises the caption bar.
- // Horizontal dimension has to take into account the thin
- // hilighting border around the dialog (2 points in
- // Win 95).
- Frame::Initialize( parser.GetParamCount() == 0 );
- m_pMainFrame = Frame::Get();
-
- // update the accelerators table
- ManagerST::Get()->UpdateMenuAccelerators();
- m_pMainFrame->Show(TRUE);
- SetTopWindow(m_pMainFrame);
-
- long lineNumber(0);
- parser.Found(wxT("l"), &lineNumber);
- if(lineNumber > 0){
- lineNumber--;
- }else{
- lineNumber = 0;
- }
-
- for (size_t i=0; i< parser.GetParamCount(); i++) {
- wxString argument = parser.GetParam(i);
-
- //convert to full path and open it
- wxFileName fn(argument);
- fn.MakeAbsolute(curdir);
-
- if (fn.GetExt() == wxT("workspace")) {
- ManagerST::Get()->OpenWorkspace(fn.GetFullPath());
- } else {
- Frame::Get()->GetMainBook()->OpenFile(fn.GetFullPath(), wxEmptyString, lineNumber);
- }
- }
-
- wxLogMessage(wxString::Format(wxT("Install path: %s"), ManagerST::Get()->GetInstallDir().c_str()));
- wxLogMessage(wxString::Format(wxT("Startup Path: %s"), ManagerST::Get()->GetStarupDirectory().c_str()));
- return TRUE;
-}
-
-int App::OnExit()
-{
- EditorConfigST::Free();
- ConfFileLocator::Release();
- return 0;
-}
-
-bool App::CopySettings(const wxString &destDir, wxString& installPath)
-{
- wxLogNull noLog;
-
- ///////////////////////////////////////////////////////////////////////////////////////////
- // copy new settings from the global installation location which is currently located at
- // /usr/local/share/codelite/ (Linux) or at codelite.app/Contents/SharedSupport
- ///////////////////////////////////////////////////////////////////////////////////////////
- CopyDir(installPath + wxT("/templates/"), destDir + wxT("/templates/"));
- CopyDir(installPath + wxT("/lexers/"), destDir + wxT("/lexers/"));
- massCopy (installPath + wxT("/images/"), wxT("*.png"), destDir + wxT("/images/"));
- wxCopyFile(installPath + wxT("/config/codelite.xml.default"), destDir + wxT("/config/codelite.xml.default"));
- wxCopyFile(installPath + wxT("/rc/menu.xrc"), destDir + wxT("/rc/menu.xrc"));
- wxCopyFile(installPath + wxT("/index.html"), destDir + wxT("/index.html"));
- wxCopyFile(installPath + wxT("/svnreport.html"), destDir + wxT("/svnreport.html"));
- wxCopyFile(installPath + wxT("/astyle.sample"), destDir + wxT("/astyle.sample"));
- wxCopyFile(installPath + wxT("/config/accelerators.conf.default"), destDir + wxT("/config/accelerators.conf.default"));
- return true;
-}
-
-void App::OnFatalException()
-{
-#if wxUSE_STACKWALKER
- Manager *mgr = ManagerST::Get();
- wxString startdir = mgr->GetStarupDirectory();
- startdir << wxT("/crash.log");
-
- wxFileOutputStream outfile(startdir);
- wxTextOutputStream out(outfile);
- out.WriteString(wxDateTime::Now().FormatTime() + wxT("\n"));
- StackWalker walker(&out);
- walker.Walk();
- wxAppBase::ExitMainLoop();
-#endif
-}
-
-bool App::CheckSingularity(const wxCmdLineParser &parser, const wxString &curdir)
-{
- // check for single instance
- long singleInstance(1);
- EditorConfigST::Get()->GetLongValue(wxT("SingleInstance"), singleInstance);
- if ( singleInstance ) {
- const wxString name = wxString::Format(wxT("CodeLite-%s"), wxGetUserId().c_str());
-
- m_singleInstance = new wxSingleInstanceChecker(name);
- if (m_singleInstance->IsAnotherRunning()) {
- // prepare commands file for the running instance
- wxString files;
- for (size_t i=0; i< parser.GetParamCount(); i++) {
- wxString argument = parser.GetParam(i);
-
- //convert to full path and open it
- wxFileName fn(argument);
- fn.MakeAbsolute(curdir);
- files << fn.GetFullPath() << wxT("\n");
- }
-
- if (files.IsEmpty() == false) {
- Mkdir(ManagerST::Get()->GetStarupDirectory() + wxT("/ipc"));
-
- wxString file_name, tmp_file;
- tmp_file << ManagerST::Get()->GetStarupDirectory()
- << wxT("/ipc/command.msg.tmp");
-
- file_name << ManagerST::Get()->GetStarupDirectory()
- << wxT("/ipc/command.msg");
-
- // write the content to a temporary file, once completed,
- // rename the file to the actual file name
- WriteFileUTF8(tmp_file, files);
- wxRenameFile(tmp_file, file_name);
- }
- return false;
- }
- }
- return true;
-}
-
-void App::MacOpenFile(const wxString& fileName)
-{
- switch (FileExtManager::GetType(fileName)) {
- case FileExtManager::TypeWorkspace:
- ManagerST::Get()->OpenWorkspace(fileName);
- break;
- default:
- Frame::Get()->GetMainBook()->OpenFile(fileName);
- break;
- }
-}
diff --git a/LiteEditor/app.h b/LiteEditor/app.h
deleted file mode 100644
index 47f66391..00000000
--- a/LiteEditor/app.h
+++ /dev/null
@@ -1,74 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : app.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef LITEEDITOR_APP_H
-#define LITEEDITOR_APP_H
-
-#include "frame.h"
-class wxSplashScreen;
-class wxSingleInstanceChecker;
-
-class App : public wxApp
-{
- wxSplashScreen* m_splash;
- Frame * m_pMainFrame;
- wxSingleInstanceChecker *m_singleInstance;
- wxArrayString m_parserPaths;
- bool m_loadPlugins;
-
-private: // Methods
- bool CopySettings(const wxString &destDir, wxString& installPath);
- bool CheckSingularity(const wxCmdLineParser &parser, const wxString &curdir);
-
-#ifdef __WXMSW__
- HINSTANCE m_handler;
-#endif
-
-public:
- App(void);
- virtual ~App(void);
-
- void SetParserPaths(const wxArrayString& parserPaths) {
- this->m_parserPaths = parserPaths;
- }
- const wxArrayString& GetParserPaths() const {
- return m_parserPaths;
- }
- void SetLoadPlugins(bool loadPlugins) {
- this->m_loadPlugins = loadPlugins;
- }
- bool GetLoadPlugins() const {
- return m_loadPlugins;
- }
- void MacOpenFile(const wxString &fileName);
-
-protected:
- virtual bool OnInit();
- virtual int OnExit();
- virtual void OnFatalException();
-
-private:
-};
-
-#endif // LITEEDITOR_APP_H
diff --git a/LiteEditor/attachdbgprocbasedlg.cpp b/LiteEditor/attachdbgprocbasedlg.cpp
deleted file mode 100644
index ef6a8295..00000000
--- a/LiteEditor/attachdbgprocbasedlg.cpp
+++ /dev/null
@@ -1,100 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : attachdbgprocbasedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "attachdbgprocbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-AttachDbgProcBaseDlg::AttachDbgProcBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Debugger to use:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer1->Add( m_staticText3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxArrayString m_choiceDebuggerChoices;
- m_choiceDebugger = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceDebuggerChoices, 0 );
- m_choiceDebugger->SetSelection( 0 );
- fgSizer1->Add( m_choiceDebugger, 0, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( fgSizer1, 0, wxEXPAND, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Processes:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- bSizer1->Add( m_staticText4, 0, wxALL, 5 );
-
- m_listCtrlProcesses = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT );
- bSizer1->Add( m_listCtrlProcesses, 1, wxALL|wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&Attach"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_button2 = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_button2, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_listCtrlProcesses->Connect( wxEVT_COMMAND_LIST_COL_CLICK, wxListEventHandler( AttachDbgProcBaseDlg::OnSortColumn ), NULL, this );
- m_listCtrlProcesses->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( AttachDbgProcBaseDlg::OnItemActivated ), NULL, this );
- m_listCtrlProcesses->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( AttachDbgProcBaseDlg::OnItemDeselected ), NULL, this );
- m_listCtrlProcesses->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( AttachDbgProcBaseDlg::OnItemSelected ), NULL, this );
- m_buttonOk->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( AttachDbgProcBaseDlg::OnBtnAttachUI ), NULL, this );
-}
-
-AttachDbgProcBaseDlg::~AttachDbgProcBaseDlg()
-{
- // Disconnect Events
- m_listCtrlProcesses->Disconnect( wxEVT_COMMAND_LIST_COL_CLICK, wxListEventHandler( AttachDbgProcBaseDlg::OnSortColumn ), NULL, this );
- m_listCtrlProcesses->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( AttachDbgProcBaseDlg::OnItemActivated ), NULL, this );
- m_listCtrlProcesses->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( AttachDbgProcBaseDlg::OnItemDeselected ), NULL, this );
- m_listCtrlProcesses->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( AttachDbgProcBaseDlg::OnItemSelected ), NULL, this );
- m_buttonOk->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( AttachDbgProcBaseDlg::OnBtnAttachUI ), NULL, this );
-}
diff --git a/LiteEditor/attachdbgprocbasedlg.h b/LiteEditor/attachdbgprocbasedlg.h
deleted file mode 100644
index ba338036..00000000
--- a/LiteEditor/attachdbgprocbasedlg.h
+++ /dev/null
@@ -1,57 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __attachdbgprocbasedlg__
-#define __attachdbgprocbasedlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/choice.h>
-#include <wx/sizer.h>
-#include <wx/listctrl.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class AttachDbgProcBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class AttachDbgProcBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText3;
- wxChoice* m_choiceDebugger;
- wxStaticText* m_staticText4;
- wxListCtrl* m_listCtrlProcesses;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOk;
- wxButton* m_button2;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnSortColumn( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemActivated( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemDeselected( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ){ event.Skip(); }
- virtual void OnBtnAttachUI( wxUpdateUIEvent& event ){ event.Skip(); }
-
-
- public:
- AttachDbgProcBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Attach debugger to process:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 445,471 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~AttachDbgProcBaseDlg();
-
-};
-
-#endif //__attachdbgprocbasedlg__
diff --git a/LiteEditor/attachdbgprocdlg.cpp b/LiteEditor/attachdbgprocdlg.cpp
deleted file mode 100644
index fb8f2d1f..00000000
--- a/LiteEditor/attachdbgprocdlg.cpp
+++ /dev/null
@@ -1,150 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : attachdbgprocdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "attachdbgprocdlg.h"
-#include "windowattrmanager.h"
-#include "debuggermanager.h"
-#include "globals.h"
-#include "procutils.h"
-#include <algorithm>
-
-/// Ascending sorting function
-struct PIDSorter {
- bool operator()(const ProcessEntry &rStart, const ProcessEntry &rEnd) {
- return rEnd.pid < rStart.pid;
- }
-};
-
-struct NameSorter {
- bool operator()(const ProcessEntry &rStart, const ProcessEntry &rEnd) {
- return rEnd.name.CmpNoCase(rStart.name) < 0;
- }
-};
-
-AttachDbgProcDlg::AttachDbgProcDlg( wxWindow* parent )
- : AttachDbgProcBaseDlg( parent )
- , m_selectedItem(wxNOT_FOUND)
-{
- wxArrayString choices = DebuggerMgr::Get().GetAvailableDebuggers();
- m_choiceDebugger->Append(choices);
-
- if (choices.IsEmpty() == false) {
- m_choiceDebugger->SetSelection(0);
- }
-
- m_listCtrlProcesses->InsertColumn(0, wxT("PID"));
- m_listCtrlProcesses->InsertColumn(1, wxT("Name"));
-
- RefreshProcessesList();
- m_listCtrlProcesses->SetFocus();
- Centre();
-
- WindowAttrManager::Load(this, wxT("AttachDbgProcDlg"), NULL);
-}
-
-void AttachDbgProcDlg::RefreshProcessesList(int colToSort)
-{
- m_listCtrlProcesses->Freeze();
- m_listCtrlProcesses->DeleteAllItems();
-
- //Populate the list with list of processes
- std::vector<ProcessEntry> proclist;
- ProcUtils::GetProcessList(proclist);
-
- if (colToSort == 0) {//sort by PID
- std::sort(proclist.begin(), proclist.end(), PIDSorter());
-
- } else if (colToSort == 1) {//sort by name
- std::sort(proclist.begin(), proclist.end(), NameSorter());
-
- }
-
- for (size_t i=0; i<proclist.size(); i++) {
- long item = AppendListCtrlRow(m_listCtrlProcesses);
- ProcessEntry entry = proclist.at(i);
- wxString spid;
- bool selfPid = (entry.pid == (long)wxGetProcessId());
- spid << entry.pid;
- SetColumnText(m_listCtrlProcesses, item, 0, spid);
- SetColumnText(m_listCtrlProcesses, item, 1, entry.name);
-
- if(selfPid) {
- m_listCtrlProcesses->SetItemTextColour(item, wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT));
- }
- }
-
- m_listCtrlProcesses->SetColumnWidth(0, 100);
- m_listCtrlProcesses->SetColumnWidth(1, 200);
- m_listCtrlProcesses->Thaw();
-}
-
-wxString AttachDbgProcDlg::GetExeName() const
-{
- if (m_selectedItem != wxNOT_FOUND) {
- return GetColumnText(m_listCtrlProcesses, m_selectedItem, 1);
- }
- return wxEmptyString;
-}
-
-wxString AttachDbgProcDlg::GetProcessId() const
-{
- if (m_selectedItem != wxNOT_FOUND) {
- return GetColumnText(m_listCtrlProcesses, m_selectedItem, 0);
- }
- return wxEmptyString;
-}
-
-
-void AttachDbgProcDlg::OnSortColumn( wxListEvent& event )
-{
- RefreshProcessesList( event.m_col );
-}
-
-void AttachDbgProcDlg::OnItemActivated( wxListEvent& event )
-{
- m_selectedItem = event.m_itemIndex;
- EndModal(wxID_OK);
-}
-
-void AttachDbgProcDlg::OnItemDeselected( wxListEvent& event )
-{
- m_selectedItem = wxNOT_FOUND;
- wxUnusedVar(event);
-}
-
-void AttachDbgProcDlg::OnItemSelected( wxListEvent& event )
-{
- m_selectedItem = event.m_itemIndex;
- wxUnusedVar(event);
-}
-
-void AttachDbgProcDlg::OnBtnAttachUI( wxUpdateUIEvent& event )
-{
- event.Enable(m_selectedItem != wxNOT_FOUND);
-}
-
-AttachDbgProcDlg::~AttachDbgProcDlg()
-{
- WindowAttrManager::Save(this, wxT("AttachDbgProcDlg"), NULL);
-}
diff --git a/LiteEditor/attachdbgprocdlg.h b/LiteEditor/attachdbgprocdlg.h
deleted file mode 100644
index 18531c85..00000000
--- a/LiteEditor/attachdbgprocdlg.h
+++ /dev/null
@@ -1,59 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : attachdbgprocdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __attachdbgprocdlg__
-#define __attachdbgprocdlg__
-
-/**
-@file
-Subclass of AttachDbgProcBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "attachdbgprocbasedlg.h"
-
-/** Implementing AttachDbgProcBaseDlg */
-class AttachDbgProcDlg : public AttachDbgProcBaseDlg
-{
- long m_selectedItem;
-
-public:
- void RefreshProcessesList(int colToSort = -1);
-
- /** Constructor */
- AttachDbgProcDlg( wxWindow* parent );
- virtual ~AttachDbgProcDlg();
-
- wxString GetProcessId() const;
- wxString GetExeName() const;
- wxString GetDebugger() const{return m_choiceDebugger->GetStringSelection();}
-
- //events
- virtual void OnSortColumn( wxListEvent& event );
- virtual void OnItemActivated( wxListEvent& event );
- virtual void OnItemDeselected( wxListEvent& event );
- virtual void OnItemSelected( wxListEvent& event );
- virtual void OnBtnAttachUI( wxUpdateUIEvent& event );
-};
-
-#endif // __attachdbgprocdlg__
diff --git a/LiteEditor/batchbuildbasedlg.cpp b/LiteEditor/batchbuildbasedlg.cpp
deleted file mode 100644
index 1bd68586..00000000
--- a/LiteEditor/batchbuildbasedlg.cpp
+++ /dev/null
@@ -1,139 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : batchbuildbasedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "batchbuildbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-BatchBuildBaseDlg::BatchBuildBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText = new wxStaticText( this, wxID_ANY, wxT("Select the configurations to build/clean:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText->Wrap( -1 );
- bSizer1->Add( m_staticText, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- wxArrayString m_checkListConfigurationsChoices;
- m_checkListConfigurations = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListConfigurationsChoices, 0 );
- bSizer2->Add( m_checkListConfigurations, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonBuild = new wxButton( this, wxID_ANY, wxT("&Build"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonBuild->SetDefault();
- bSizer4->Add( m_buttonBuild, 0, wxALL, 5 );
-
- m_buttonClean = new wxButton( this, wxID_ANY, wxT("&Clean"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonClean, 0, wxALL, 5 );
-
- m_button3 = new wxButton( this, wxID_ANY, wxT("Check &All"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_button3, 0, wxALL, 5 );
-
- m_button4 = new wxButton( this, wxID_ANY, wxT("&Uncheck All"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_button4, 0, wxALL, 5 );
-
- bSizer3->Add( bSizer4, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonDown = new wxButton( this, wxID_ANY, wxT("Move Up"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer5->Add( m_buttonDown, 0, wxALL, 5 );
-
- m_buttonUp = new wxButton( this, wxID_ANY, wxT("Move Down"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer5->Add( m_buttonUp, 0, wxALL, 5 );
-
- bSizer3->Add( bSizer5, 1, wxEXPAND, 5 );
-
- bSizer2->Add( bSizer3, 0, wxEXPAND, 5 );
-
- bSizer1->Add( bSizer2, 1, wxEXPAND, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonClose = new wxButton( this, wxID_CANCEL, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_buttonClose, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer6, 0, wxALIGN_RIGHT, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_checkListConfigurations->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( BatchBuildBaseDlg::OnItemSelected ), NULL, this );
- m_checkListConfigurations->Connect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( BatchBuildBaseDlg::OnItemToggled ), NULL, this );
- m_buttonBuild->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnBuild ), NULL, this );
- m_buttonBuild->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BatchBuildBaseDlg::OnBuildUI ), NULL, this );
- m_buttonClean->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnClean ), NULL, this );
- m_buttonClean->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BatchBuildBaseDlg::OnCleanUI ), NULL, this );
- m_button3->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnCheckAll ), NULL, this );
- m_button4->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnUnCheckAll ), NULL, this );
- m_buttonDown->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnMoveUp ), NULL, this );
- m_buttonDown->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BatchBuildBaseDlg::OnMoveUpUI ), NULL, this );
- m_buttonUp->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnMoveDown ), NULL, this );
- m_buttonUp->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BatchBuildBaseDlg::OnMoveDownUI ), NULL, this );
- m_buttonClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnClose ), NULL, this );
-}
-
-BatchBuildBaseDlg::~BatchBuildBaseDlg()
-{
- // Disconnect Events
- m_checkListConfigurations->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( BatchBuildBaseDlg::OnItemSelected ), NULL, this );
- m_checkListConfigurations->Disconnect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( BatchBuildBaseDlg::OnItemToggled ), NULL, this );
- m_buttonBuild->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnBuild ), NULL, this );
- m_buttonBuild->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BatchBuildBaseDlg::OnBuildUI ), NULL, this );
- m_buttonClean->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnClean ), NULL, this );
- m_buttonClean->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BatchBuildBaseDlg::OnCleanUI ), NULL, this );
- m_button3->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnCheckAll ), NULL, this );
- m_button4->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnUnCheckAll ), NULL, this );
- m_buttonDown->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnMoveUp ), NULL, this );
- m_buttonDown->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BatchBuildBaseDlg::OnMoveUpUI ), NULL, this );
- m_buttonUp->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnMoveDown ), NULL, this );
- m_buttonUp->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BatchBuildBaseDlg::OnMoveDownUI ), NULL, this );
- m_buttonClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BatchBuildBaseDlg::OnClose ), NULL, this );
-}
diff --git a/LiteEditor/batchbuildbasedlg.h b/LiteEditor/batchbuildbasedlg.h
deleted file mode 100644
index eaed5ed8..00000000
--- a/LiteEditor/batchbuildbasedlg.h
+++ /dev/null
@@ -1,92 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : batchbuildbasedlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __batchbuildbasedlg__
-#define __batchbuildbasedlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/checklst.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class BatchBuildBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class BatchBuildBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText;
- wxCheckListBox* m_checkListConfigurations;
- wxButton* m_buttonBuild;
- wxButton* m_buttonClean;
- wxButton* m_button3;
- wxButton* m_button4;
- wxButton* m_buttonDown;
- wxButton* m_buttonUp;
- wxStaticLine* m_staticline2;
- wxButton* m_buttonClose;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemSelected( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnItemToggled( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnBuild( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnBuildUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnClean( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCleanUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnCheckAll( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnUnCheckAll( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnMoveUp( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnMoveUpUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnMoveDown( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnMoveDownUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnClose( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- BatchBuildBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Batch Build"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 634,512 ), long style = wxDEFAULT_DIALOG_STYLE );
- ~BatchBuildBaseDlg();
-
-};
-
-#endif //__batchbuildbasedlg__
diff --git a/LiteEditor/batchbuilddlg.cpp b/LiteEditor/batchbuilddlg.cpp
deleted file mode 100644
index 64e560d8..00000000
--- a/LiteEditor/batchbuilddlg.cpp
+++ /dev/null
@@ -1,277 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : batchbuilddlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include <wx/tokenzr.h>
-#include "globals.h"
-#include "manager.h"
-#include "workspace.h"
-#include "batchbuilddlg.h"
-
-BatchBuildDlg::BatchBuildDlg( wxWindow* parent )
- : BatchBuildBaseDlg( parent )
-{
- m_checkListConfigurations->SetFocus();
- DoInitialize();
-}
-
-void BatchBuildDlg::OnItemSelected( wxCommandEvent& event )
-{
- event.Skip();
-}
-
-void BatchBuildDlg::OnItemToggled( wxCommandEvent& event )
-{
- wxUnusedVar(event);
-}
-
-void BatchBuildDlg::OnBuild( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- m_cmd = QueueCommand::Build;
- DoSaveBatchBuildOrder();
- EndModal(wxID_OK);
-}
-
-void BatchBuildDlg::OnBuildUI( wxUpdateUIEvent& event )
-{
- bool enable(false);
- for (unsigned int i=0; i<m_checkListConfigurations->GetCount(); i++) {
- if (m_checkListConfigurations->IsChecked(i)) {
- enable = true;
- break;
- }
- }
-
- event.Enable(enable);
-}
-
-void BatchBuildDlg::OnClean( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- m_cmd = QueueCommand::Clean;
- DoSaveBatchBuildOrder();
- EndModal(wxID_OK);
-}
-
-void BatchBuildDlg::OnCleanUI( wxUpdateUIEvent& event )
-{
- bool enable(false);
- for (unsigned int i=0; i<m_checkListConfigurations->GetCount(); i++) {
- if (m_checkListConfigurations->IsChecked(i)) {
- enable = true;
- break;
- }
- }
-
- event.Enable(enable);
-}
-
-void BatchBuildDlg::OnCheckAll( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- for (unsigned int i=0; i<m_checkListConfigurations->GetCount(); i++) {
- m_checkListConfigurations->Check(i, true);
- }
-}
-
-void BatchBuildDlg::OnUnCheckAll( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- for (unsigned int i=0; i<m_checkListConfigurations->GetCount(); i++) {
- m_checkListConfigurations->Check(i, false);
- }
-}
-
-void BatchBuildDlg::OnMoveUp( wxCommandEvent& event )
-{
- wxString selectedString = m_checkListConfigurations->GetStringSelection();
-
- int sel = m_checkListConfigurations->GetSelection();
- if (sel == wxNOT_FOUND) {
- return;
- }
- bool checked = m_checkListConfigurations->IsChecked(sel);
- sel --;
- if (sel < 0) {
- return;
- }
-
- // sel contains the new position we want to place the selection string
- m_checkListConfigurations->Delete(sel + 1);
- m_checkListConfigurations->Insert(selectedString, sel);
- m_checkListConfigurations->Check(sel, checked);
- m_checkListConfigurations->Select(sel);
-}
-
-void BatchBuildDlg::OnMoveUpUI( wxUpdateUIEvent& event )
-{
- event.Skip();
-}
-
-void BatchBuildDlg::OnMoveDown( wxCommandEvent& event )
-{
- int sel = m_checkListConfigurations->GetSelection();
- if (sel == wxNOT_FOUND) {
- return;
- }
- bool checked = m_checkListConfigurations->IsChecked(sel);
- sel ++;
- if (sel >= (int)m_checkListConfigurations->GetCount()) {
- return;
- }
-
- // sel contains the new position we want to place the selection string
- wxString oldStr = m_checkListConfigurations->GetString(sel);
-
- m_checkListConfigurations->Delete(sel);
- m_checkListConfigurations->Insert(oldStr, sel - 1);
- m_checkListConfigurations->Check(sel -1, checked);
- m_checkListConfigurations->Select(sel);
-}
-
-void BatchBuildDlg::OnMoveDownUI( wxUpdateUIEvent& event )
-{
- event.Skip();
-}
-
-void BatchBuildDlg::OnClose( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- DoSaveBatchBuildOrder();
- EndModal(wxID_CANCEL);
-}
-
-void BatchBuildDlg::GetBuildInfoList(std::list<QueueCommand>& buildInfoList)
-{
- bool clean_log(true);
- for (unsigned int i=0; i<m_checkListConfigurations->GetCount(); i++) {
- if (m_checkListConfigurations->IsChecked(i)) {
- wxString text = m_checkListConfigurations->GetString(i);
- wxString project = text.BeforeFirst(wxT('|'));
- wxString config = text.AfterFirst(wxT('|'));
-
- project.Trim().Trim(false);
- config.Trim().Trim(false);
-
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(project, config);
- if (bldConf) {
-
- QueueCommand buildInfo(project, config, true, m_cmd);
- // handle custom build projects properly
- if (bldConf->IsCustomBuild()) {
- buildInfo.SetKind(QueueCommand::CustomBuild);
- switch (m_cmd) {
- case QueueCommand::Build:
- buildInfo.SetCustomBuildTarget(wxT("Build"));
- break;
- case QueueCommand::Clean:
- buildInfo.SetCustomBuildTarget(wxT("Clean"));
- break;
- }
- }
- buildInfo.SetCleanLog(clean_log);
- buildInfoList.push_back(buildInfo);
- clean_log = false;
- }
- }
- }
-}
-
-void BatchBuildDlg::DoInitialize()
-{
- // load the previously saved batch build file
- wxFileName fn(WorkspaceST::Get()->GetWorkspaceFileName());
- fn.SetExt(wxT("batch_build"));
-
- wxString content;
- wxArrayString arr;
- if (ReadFileWithConversion(fn.GetFullPath(), content)) {
- arr = wxStringTokenize(content, wxT("\n"), wxTOKEN_STRTOK);
- for (size_t i=0; i<arr.GetCount(); i++) {
- int idx = m_checkListConfigurations->Append(arr.Item(i));
- m_checkListConfigurations->Check((unsigned int)idx);
- }
- }
-
- // loop over all projects, for each project collect all available
- // build configurations and add them to the check list control
- wxArrayString projects;
- WorkspaceST::Get()->GetProjectList(projects);
- for (size_t i=0; i<projects.GetCount(); i++) {
- ProjectPtr p = ManagerST::Get()->GetProject(projects.Item(i));
- if (p) {
- ProjectSettingsPtr settings = p->GetSettings();
- if (settings) {
- ProjectSettingsCookie cookie;
- BuildConfigPtr bldConf = settings->GetFirstBuildConfiguration(cookie);
- while (bldConf) {
- wxString item(p->GetName() + wxT(" | ") + bldConf->GetName());
-
- int where = arr.Index(item);
- if (where == wxNOT_FOUND) {
- // append this item
- m_checkListConfigurations->Append(item);
- } else {
- // this item already been added,
- // remove it from the arr and continue
- arr.RemoveAt((size_t)where);
- }
-
- bldConf = settings->GetNextBuildConfiguration(cookie);
- }
- }
- }
- }
-
- // check to see which configuration was left in 'arr'
- // and remove them from the checklistbox
- for (size_t i=0; i<arr.GetCount(); i++) {
- int where = m_checkListConfigurations->FindString(arr.Item(i));
- if (where != wxNOT_FOUND) {
- m_checkListConfigurations->Delete((unsigned int)where);
- }
- }
- arr.clear();
-
- if (m_checkListConfigurations->GetCount()>0) {
- m_checkListConfigurations->Select(0);
- }
-}
-
-void BatchBuildDlg::DoSaveBatchBuildOrder()
-{
- wxFileName fn(WorkspaceST::Get()->GetWorkspaceFileName());
- fn.SetExt(wxT("batch_build"));
-
- wxString content;
- for (unsigned int i=0; i<m_checkListConfigurations->GetCount(); i++) {
- if (m_checkListConfigurations->IsChecked(i)) {
- content << m_checkListConfigurations->GetString(i) << wxT("\n");
- }
- }
-
- WriteFileWithBackup(fn.GetFullPath(), content, false);
-}
diff --git a/LiteEditor/batchbuilddlg.h b/LiteEditor/batchbuilddlg.h
deleted file mode 100644
index 213c17d4..00000000
--- a/LiteEditor/batchbuilddlg.h
+++ /dev/null
@@ -1,70 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : batchbuilddlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __batchbuilddlg__
-#define __batchbuilddlg__
-
-/**
-@file
-Subclass of BatchBuildBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "batchbuildbasedlg.h"
-#include "shell_command.h"
-#include <list>
-
-/** Implementing BatchBuildBaseDlg */
-class BatchBuildDlg : public BatchBuildBaseDlg
-{
- void DoInitialize();
- void DoSaveBatchBuildOrder();
-
-public:
- int m_cmd;
-
-protected:
- // Handlers for BatchBuildBaseDlg events.
- void OnItemSelected( wxCommandEvent& event );
- void OnItemToggled( wxCommandEvent& event );
- void OnBuild( wxCommandEvent& event );
- void OnBuildUI( wxUpdateUIEvent& event );
- void OnClean( wxCommandEvent& event );
- void OnCleanUI( wxUpdateUIEvent& event );
- void OnCheckAll( wxCommandEvent& event );
- void OnUnCheckAll( wxCommandEvent& event );
- void OnMoveUp( wxCommandEvent& event );
- void OnMoveUpUI( wxUpdateUIEvent& event );
- void OnMoveDown( wxCommandEvent& event );
- void OnMoveDownUI( wxUpdateUIEvent& event );
- void OnClose( wxCommandEvent& event );
-
-public:
- /** Constructor */
- BatchBuildDlg( wxWindow* parent );
- void GetBuildInfoList(std::list<QueueCommand> &buildInfoList);
-
-};
-
-#endif // __batchbuilddlg__
diff --git a/LiteEditor/breakpoint_dlg_base.cpp b/LiteEditor/breakpoint_dlg_base.cpp
deleted file mode 100644
index 913bca72..00000000
--- a/LiteEditor/breakpoint_dlg_base.cpp
+++ /dev/null
@@ -1,305 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Feb 8 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "breakpointdlg.h"
-
-#include "breakpoint_dlg_base.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-BreakpointTab::BreakpointTab( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listCtrlBreakpoints = new BreakpointsListctrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
- bSizer5->Add( m_listCtrlBreakpoints, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonAdd = new wxButton( this, wxID_ANY, wxT("&Add"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonAdd->SetToolTip( wxT("Add a new breakpoint or watchpoint") );
-
- bSizer6->Add( m_buttonAdd, 0, wxALL, 5 );
-
- m_buttonEdit = new wxButton( this, wxID_ANY, wxT("&Edit"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonEdit->SetToolTip( wxT("Edit the selected item") );
-
- bSizer6->Add( m_buttonEdit, 0, wxALL, 5 );
-
- m_buttonDelete = new wxButton( this, wxID_ANY, wxT("&Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonDelete->SetToolTip( wxT("Delete the selected item") );
-
- bSizer6->Add( m_buttonDelete, 0, wxALL, 5 );
-
- m_buttonDeleteAll = new wxButton( this, wxID_ANY, wxT("Delete &All"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonDeleteAll->SetToolTip( wxT("Delete all breakpoints and watchpoints") );
-
- bSizer6->Add( m_buttonDeleteAll, 0, wxALL, 5 );
-
- m_buttonApplyPending = new wxButton( this, wxID_ANY, wxT("Set Pending"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonApplyPending->SetToolTip( wxT("If this button is visible, there are breakpoints that you tried to set, but that the debugger refused. This most often happens when the breakpoint is inside a library that hadn't been loaded when the debugger started.\n\nClick to offer the breakpoints to the debugger again.") );
-
- bSizer6->Add( m_buttonApplyPending, 0, wxALL, 5 );
-
- bSizer5->Add( bSizer6, 0, wxEXPAND|wxTOP, 25 );
-
- this->SetSizer( bSizer5 );
- this->Layout();
-
- // Connect Events
- m_listCtrlBreakpoints->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( BreakpointTab::OnItemActivated ), NULL, this );
- m_listCtrlBreakpoints->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( BreakpointTab::OnItemDeselected ), NULL, this );
- m_listCtrlBreakpoints->Connect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( BreakpointTab::OnItemRightClick ), NULL, this );
- m_listCtrlBreakpoints->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( BreakpointTab::OnItemSelected ), NULL, this );
- m_buttonAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnAdd ), NULL, this );
- m_buttonEdit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnEdit ), NULL, this );
- m_buttonDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnDelete ), NULL, this );
- m_buttonDeleteAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnDeleteAll ), NULL, this );
- m_buttonApplyPending->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnApplyPending ), NULL, this );
-}
-
-BreakpointTab::~BreakpointTab()
-{
- // Disconnect Events
- m_listCtrlBreakpoints->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( BreakpointTab::OnItemActivated ), NULL, this );
- m_listCtrlBreakpoints->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( BreakpointTab::OnItemDeselected ), NULL, this );
- m_listCtrlBreakpoints->Disconnect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( BreakpointTab::OnItemRightClick ), NULL, this );
- m_listCtrlBreakpoints->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( BreakpointTab::OnItemSelected ), NULL, this );
- m_buttonAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnAdd ), NULL, this );
- m_buttonEdit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnEdit ), NULL, this );
- m_buttonDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnDelete ), NULL, this );
- m_buttonDeleteAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnDeleteAll ), NULL, this );
- m_buttonApplyPending->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointTab::OnApplyPending ), NULL, this );
-}
-
-BreakpointPropertiesDlg::BreakpointPropertiesDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText9 = new wxStaticText( this, wxID_ANY, wxT("Select the type of the breakpoint:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText9->Wrap( -1 );
- bSizer3->Add( m_staticText9, 0, wxALL, 5 );
-
- m_choicebook = new wxChoicebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxCHB_DEFAULT );
- m_panel1 = new wxPanel( m_choicebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer14;
- bSizer14 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText51 = new wxStaticText( m_panel1, wxID_ANY, wxT("Break by line, function or memory address:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText51->Wrap( -1 );
- bSizer14->Add( m_staticText51, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer111;
- bSizer111 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer2->AddGrowableCol( 1 );
- fgSizer2->SetFlexibleDirection( wxBOTH );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_checkLineno = new wxCheckBox( m_panel1, wxID_ANY, wxT("Line number"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_checkLineno, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textLineno = new wxTextCtrl( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textLineno->SetToolTip( wxT("Enter the line-number on which you wish to break. It's assumed to refer to the current file: if it doesn't, please enter the correct filepath below.") );
-
- fgSizer2->Add( m_textLineno, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBreakFunction = new wxCheckBox( m_panel1, wxID_ANY, wxT("Function name"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_checkBreakFunction, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textFunctionname = new wxTextCtrl( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textFunctionname->SetToolTip( wxT("If you wish to break when a particular function is entered, insert its name here. In C just the name will do e.g. 'main' or 'myFoo'. For C++ class methods, you need to do 'MyClass::myFoo'\n\nAlternatively you can enter a regular expression, and tick the checkbox below. A breakpoint will then be set on all matching functions.") );
-
- fgSizer2->Add( m_textFunctionname, 0, wxALL|wxEXPAND, 5 );
-
-
- fgSizer2->Add( 0, 0, 1, 0, 5 );
-
- m_checkRegex = new wxCheckBox( m_panel1, wxID_ANY, wxT("This is a regex"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkRegex->SetToolTip( wxT("If you wish to insert a breakpoint on several functions, you can tick this box, then enter a suitable regular expression in the textctrl above.") );
-
- fgSizer2->Add( m_checkRegex, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBreakMemory = new wxCheckBox( m_panel1, wxID_ANY, wxT("Memory address:"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_checkBreakMemory, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textBreakMemory = new wxTextCtrl( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textBreakMemory->SetToolTip( wxT("To break on a memory address, enter the address here.\ne.g. 0x0a1b2c3d or 12345678") );
-
- fgSizer2->Add( m_textBreakMemory, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText6 = new wxStaticText( m_panel1, wxID_ANY, wxT("In file: "), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- fgSizer2->Add( m_staticText6, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- wxBoxSizer* bSizer18;
- bSizer18 = new wxBoxSizer( wxHORIZONTAL );
-
- m_textFilename = new wxTextCtrl( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textFilename->SetToolTip( wxT("If you've entered a line-number, its assumed to refer to the current file. If it isn't, enter the correct filename here.\n\nFor a function, a file is usually not required. However, if you have several functions with the same name, in several different files (do people _really_ do that?) and you want to break on only one of those, enter the correct filename here.") );
-
- bSizer18->Add( m_textFilename, 1, wxALL, 5 );
-
- m_buttonBrowse = new wxButton( m_panel1, wxID_ANY, wxT("Browse"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer18->Add( m_buttonBrowse, 0, wxALL, 5 );
-
- fgSizer2->Add( bSizer18, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
-
- bSizer111->Add( fgSizer2, 0, wxEXPAND, 5 );
-
- bSizer14->Add( bSizer111, 1, wxEXPAND|wxALL, 0 );
-
- m_staticline5 = new wxStaticLine( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer14->Add( m_staticline5, 0, wxEXPAND | wxALL, 5 );
-
- m_panel1->SetSizer( bSizer14 );
- m_panel1->Layout();
- bSizer14->Fit( m_panel1 );
- m_choicebook->AddPage( m_panel1, wxT("Breakpoint"), true );
- m_panel2 = new wxPanel( m_choicebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer13;
- bSizer13 = new wxBoxSizer( wxVERTICAL );
-
- wxString m_radioWatchtypeChoices[] = { wxT("write only"), wxT("read only"), wxT("read-write") };
- int m_radioWatchtypeNChoices = sizeof( m_radioWatchtypeChoices ) / sizeof( wxString );
- m_radioWatchtype = new wxRadioBox( m_panel2, wxID_ANY, wxT("Type of watchpoint:"), wxDefaultPosition, wxDefaultSize, m_radioWatchtypeNChoices, m_radioWatchtypeChoices, 3, wxRA_SPECIFY_ROWS );
- m_radioWatchtype->SetSelection( 0 );
- m_radioWatchtype->SetToolTip( wxT("The usual type of watchpoint is 'write-only': that is, it's triggered whenever the target is changed.\n\nAlternatively you can choose for it to trigger when the target is read from, or either written to or read from.") );
-
- bSizer13->Add( m_radioWatchtype, 0, wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_staticText5 = new wxStaticText( m_panel2, wxID_ANY, wxT("Data to watch:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- bSizer13->Add( m_staticText5, 0, wxALL|wxEXPAND, 5 );
-
- m_textWatchExpression = new wxTextCtrl( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- m_textWatchExpression->SetToolTip( wxT("Identify the data to be watched. It can be one of:\n1) Any variable name e.g. 'foo'\n2) A memory address, suitably cast e.g.*(int*)0x12345678 will watch an int-sized block starting at this address.\nDon't include spaces in the expression: gdb can't understand them.\n3) A complex expression e.g. a*b + c/d'. The expression can use any operators valid in the program's native language.\n\nNB. A watchpoint set on a local variable will automatically be removed when the variable loses scope.") );
-
- bSizer13->Add( m_textWatchExpression, 1, wxEXPAND|wxALL, 5 );
-
- m_panel2->SetSizer( bSizer13 );
- m_panel2->Layout();
- bSizer13->Fit( m_panel2 );
- m_choicebook->AddPage( m_panel2, wxT("Watchpoint"), false );
- bSizer3->Add( m_choicebook, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("Conditional Breaks: Add any condition here"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer5->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 );
-
- m_textCond = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1,-1 ), wxTE_MULTILINE );
- m_textCond->SetToolTip( wxT("You can add a condition to any breakpoint or watchpoint. The debugger will then stop only if the condition is met.\n\nThe condition can be any simple or complex expression in your programming language,providing it returns a bool. However any variables that you use must be in scope.\n\nIf you've previously set a condition and no longer want it, just clear this textctrl.") );
-
- bSizer5->Add( m_textCond, 1, wxEXPAND|wxALL, 5 );
-
- m_staticText11 = new wxStaticText( this, wxID_ANY, wxT("Command List: Add any command(s) here"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText11->Wrap( -1 );
- bSizer5->Add( m_staticText11, 0, wxALL|wxEXPAND, 5 );
-
- m_textCommands = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- m_textCommands->SetToolTip( wxT("You can add a list of commands to any breakpoint or watchpoint. When the breakpoint is hit and the program interrupted, those commands will be executed.\n\nFor example, to print the value of the variable foo and then continue running the program, enter:\nprint foo\ncont\n\nIf you've previously entered commands, and no longer want them, just clear this textctrl.") );
-
- bSizer5->Add( m_textCommands, 1, wxEXPAND|wxALL, 5 );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 4, 0, 0 );
- fgSizer1->AddGrowableCol( 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->AddGrowableCol( 2 );
- fgSizer1->AddGrowableCol( 3 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_checkDisable = new wxCheckBox( this, wxID_ANY, wxT("Disable"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkDisable->SetToolTip( wxT("If you check this box, the breakpoint (or watchpoint) will still exist, but it won't trigger. If you uncheck it in the future, the breakpoint will work again.") );
-
- fgSizer1->Add( m_checkDisable, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- m_checkTemp = new wxCheckBox( this, wxID_ANY, wxT("Make temporary"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkTemp->SetToolTip( wxT("A temporary breakpoint (or watchpoint) is one that works only once. When it's hit it behaves like any other, except that it's then deleted.") );
-
- fgSizer1->Add( m_checkTemp, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- m_staticText7 = new wxStaticText( this, wxID_ANY, wxT("Ignore count:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText7->Wrap( -1 );
- m_staticText7->SetToolTip( wxT("Enter a count >0 to ignore this breakpoint (or watchpoint) for that number of times. It then behaves as though it is disabled, except that every time it would have triggered, the ignore count decrements.\nWhen the count reaches zero, the breakpoint becomes active again.") );
-
- fgSizer1->Add( m_staticText7, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_spinIgnore = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000000, 0 );
- fgSizer1->Add( m_spinIgnore, 1, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- bSizer5->Add( fgSizer1, 0, wxEXPAND, 5 );
-
- bSizer3->Add( bSizer5, 1, wxALL|wxEXPAND, 5 );
-
- m_staticline4 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer3->Add( m_staticline4, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer9;
- bSizer9 = new wxBoxSizer( wxHORIZONTAL );
-
- m_button6 = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_button6->SetDefault();
- bSizer9->Add( m_button6, 0, wxALL, 5 );
-
- m_button7 = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer9->Add( m_button7, 0, wxALL, 5 );
-
- bSizer3->Add( bSizer9, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer3 );
- this->Layout();
- bSizer3->Fit( this );
-
- // Connect Events
- m_choicebook->Connect( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED, wxChoicebookEventHandler( BreakpointPropertiesDlg::OnPageChanged ), NULL, this );
- m_choicebook->Connect( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING, wxChoicebookEventHandler( BreakpointPropertiesDlg::OnPageChanging ), NULL, this );
- m_checkLineno->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( BreakpointPropertiesDlg::OnCheckBreakLineno ), NULL, this );
- m_checkLineno->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BreakpointPropertiesDlg::OnCheckBreakLinenoUI ), NULL, this );
- m_checkBreakFunction->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( BreakpointPropertiesDlg::OnCheckBreakFunction ), NULL, this );
- m_checkBreakFunction->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BreakpointPropertiesDlg::OnCheckBreakFunctionUI ), NULL, this );
- m_checkBreakMemory->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( BreakpointPropertiesDlg::OnCheckBreakMemory ), NULL, this );
- m_checkBreakMemory->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BreakpointPropertiesDlg::OnCheckBreakMemoryUI ), NULL, this );
- m_buttonBrowse->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointPropertiesDlg::OnBrowse ), NULL, this );
-}
-
-BreakpointPropertiesDlg::~BreakpointPropertiesDlg()
-{
- // Disconnect Events
- m_choicebook->Disconnect( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED, wxChoicebookEventHandler( BreakpointPropertiesDlg::OnPageChanged ), NULL, this );
- m_choicebook->Disconnect( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING, wxChoicebookEventHandler( BreakpointPropertiesDlg::OnPageChanging ), NULL, this );
- m_checkLineno->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( BreakpointPropertiesDlg::OnCheckBreakLineno ), NULL, this );
- m_checkLineno->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BreakpointPropertiesDlg::OnCheckBreakLinenoUI ), NULL, this );
- m_checkBreakFunction->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( BreakpointPropertiesDlg::OnCheckBreakFunction ), NULL, this );
- m_checkBreakFunction->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BreakpointPropertiesDlg::OnCheckBreakFunctionUI ), NULL, this );
- m_checkBreakMemory->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( BreakpointPropertiesDlg::OnCheckBreakMemory ), NULL, this );
- m_checkBreakMemory->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( BreakpointPropertiesDlg::OnCheckBreakMemoryUI ), NULL, this );
- m_buttonBrowse->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( BreakpointPropertiesDlg::OnBrowse ), NULL, this );
-}
diff --git a/LiteEditor/breakpoint_dlg_base.h b/LiteEditor/breakpoint_dlg_base.h
deleted file mode 100644
index f878858d..00000000
--- a/LiteEditor/breakpoint_dlg_base.h
+++ /dev/null
@@ -1,127 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Feb 8 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __breakpoint_dlg_base__
-#define __breakpoint_dlg_base__
-
-class BreakpointsListctrl;
-
-#include <wx/listctrl.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-#include <wx/stattext.h>
-#include <wx/checkbox.h>
-#include <wx/textctrl.h>
-#include <wx/statline.h>
-#include <wx/radiobox.h>
-#include <wx/choicebk.h>
-#include <wx/spinctrl.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class BreakpointTab
-///////////////////////////////////////////////////////////////////////////////
-class BreakpointTab : public wxPanel
-{
- private:
-
- protected:
- BreakpointsListctrl* m_listCtrlBreakpoints;
- wxButton* m_buttonAdd;
- wxButton* m_buttonEdit;
- wxButton* m_buttonDelete;
- wxButton* m_buttonDeleteAll;
- wxButton* m_buttonApplyPending;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemActivated( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemDeselected( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemRightClick( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ){ event.Skip(); }
- virtual void OnAdd( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnEdit( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnDelete( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnDeleteAll( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnApplyPending( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- BreakpointTab( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~BreakpointTab();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class BreakpointPropertiesDlg
-///////////////////////////////////////////////////////////////////////////////
-class BreakpointPropertiesDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText9;
- wxChoicebook* m_choicebook;
- wxPanel* m_panel1;
- wxStaticText* m_staticText51;
- wxCheckBox* m_checkLineno;
- wxTextCtrl* m_textLineno;
- wxCheckBox* m_checkBreakFunction;
- wxTextCtrl* m_textFunctionname;
-
- wxCheckBox* m_checkRegex;
- wxCheckBox* m_checkBreakMemory;
- wxTextCtrl* m_textBreakMemory;
- wxStaticText* m_staticText6;
- wxTextCtrl* m_textFilename;
- wxButton* m_buttonBrowse;
- wxStaticLine* m_staticline5;
- wxPanel* m_panel2;
- wxRadioBox* m_radioWatchtype;
- wxStaticText* m_staticText5;
- wxTextCtrl* m_textWatchExpression;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_textCond;
- wxStaticText* m_staticText11;
- wxTextCtrl* m_textCommands;
- wxCheckBox* m_checkDisable;
- wxCheckBox* m_checkTemp;
- wxStaticText* m_staticText7;
- wxSpinCtrl* m_spinIgnore;
- wxStaticLine* m_staticline4;
- wxButton* m_button6;
- wxButton* m_button7;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnPageChanged( wxChoicebookEvent& event ){ event.Skip(); }
- virtual void OnPageChanging( wxChoicebookEvent& event ){ event.Skip(); }
- virtual void OnCheckBreakLineno( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckBreakLinenoUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnCheckBreakFunction( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckBreakFunctionUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnCheckBreakMemory( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckBreakMemoryUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnBrowse( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
-
- BreakpointPropertiesDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Breakpoint and Watchpoint Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~BreakpointPropertiesDlg();
-
-};
-
-#endif //__breakpoint_dlg_base__
diff --git a/LiteEditor/breakpointdlg.cpp b/LiteEditor/breakpointdlg.cpp
deleted file mode 100644
index 70946333..00000000
--- a/LiteEditor/breakpointdlg.cpp
+++ /dev/null
@@ -1,247 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : breakpointdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "breakpointdlg.h"
-#include "debuggermanager.h"
-#include "manager.h"
-#include "frame.h"
-#include "macros.h"
-#include "globals.h"
-
-BreakpointDlg::BreakpointDlg( wxWindow* parent )
- : BreakpointTab( parent )
- , m_selectedItem(wxNOT_FOUND)
-{
- Initialize();
-}
-
-void BreakpointDlg::Initialize()
-{
- std::vector<BreakpointInfo> bps;
- ManagerST::Get()->GetBreakpointsMgr()->GetBreakpoints(bps);
-
- // This does the display stuff
- m_listCtrlBreakpoints->Initialise(bps);
-
- // Store the internal and external ids
- m_ids.clear();
- std::vector<BreakpointInfo>::iterator iter = bps.begin();
- for(; iter != bps.end(); ++iter) {
- struct bpd_IDs IDs(*iter);
- m_ids.push_back(IDs);
- }
-
- int count = m_listCtrlBreakpoints->GetItemCount();
- bool hasitems = count > 0;
- if (hasitems) {
- // Select the first item if there's not already a selection
- if (m_selectedItem == wxNOT_FOUND) {
- m_selectedItem = 0;
- }
- if (m_selectedItem >= count) { // e.g. if the selection was the last item, then one is deleted
- m_selectedItem = count-1;
- }
- // Even if an item was previously selected, refreshing the pane means we need to reselect
- m_listCtrlBreakpoints->SetItemState(m_selectedItem, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
- }
-
- // Since any change results in Initialize() being rerun, we can do updateUI here
- m_buttonEdit->Enable(hasitems);
- m_buttonDelete->Enable(hasitems);
- m_buttonDeleteAll->Enable(hasitems);
- // The 'Apply Pending' button is more complicated: it should be hidden,
- // unless there are pending bps to apply,and the debugger is running
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- m_buttonApplyPending->Show( ManagerST::Get()->GetBreakpointsMgr()->PendingBreakpointsExist()
- && dbgr && dbgr->IsRunning() );
-}
-
-void BreakpointDlg::OnDelete(wxCommandEvent &e)
-{
- if (m_selectedItem != wxNOT_FOUND) {
- // Delete by this item's id, which was carefully stored in Initialize()
- int id = m_ids[m_selectedItem].GetBestId();
- ManagerST::Get()->GetBreakpointsMgr()->DelBreakpoint(id);
- m_selectedItem = wxNOT_FOUND;
-
- Frame::Get()->SetStatusMessage(wxT("Breakpoint successfully deleted"), 0);
- }
-
- Initialize(); // ReInitialise, as either a bp was deleted, or the data was corrupt
-}
-
-void BreakpointDlg::OnDeleteAll(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- ManagerST::Get()->GetBreakpointsMgr()->DelAllBreakpoints();
- m_selectedItem = wxNOT_FOUND;
- Initialize();
-
- Frame::Get()->SetStatusMessage(wxT("All Breakpoints deleted"), 0);
-}
-
-void BreakpointDlg::OnApplyPending(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- ManagerST::Get()->GetBreakpointsMgr()->ApplyPendingBreakpoints();
- Initialize();
-
- Frame::Get()->SetStatusMessage(wxT("Pending Breakpoints reapplied"), 0);
-}
-
-void BreakpointDlg::OnItemSelected(wxListEvent &e)
-{
- m_selectedItem = e.m_itemIndex;
-}
-
-void BreakpointDlg::OnItemDeselected(wxListEvent &e)
-{
- wxUnusedVar(e);
- m_selectedItem = wxNOT_FOUND;
-}
-
-void BreakpointDlg::OnItemActivated(wxListEvent &e)
-{
- wxString file = GetColumnText(m_listCtrlBreakpoints, e.m_itemIndex, m_listCtrlBreakpoints->GetFileColumn());
- wxString line = GetColumnText(m_listCtrlBreakpoints, e.m_itemIndex, m_listCtrlBreakpoints->GetLinenoColumn());
- long line_number;
- line.ToLong(&line_number);
-
- Frame::Get()->GetMainBook()->OpenFile(file, wxEmptyString, line_number-1);
-}
-
-void BreakpointDlg::OnItemRightClick(wxListEvent& e)
-{
- m_selectedItem = e.m_itemIndex;
- wxCommandEvent c;
- m_selectedItem = e.m_itemIndex;
- OnEdit(c);
-}
-
-void BreakpointDlg::OnEdit(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- if (m_selectedItem == wxNOT_FOUND) {
- return;
- }
-
- bool bpExist;
- ManagerST::Get()->GetBreakpointsMgr()->EditBreakpoint(m_selectedItem, bpExist);
-
- if(!bpExist){
- // the breakpoint does not exist! remove it from the UI as well
- m_listCtrlBreakpoints->DeleteItem(m_selectedItem);
- m_selectedItem = wxNOT_FOUND;
- }
-
- Initialize(); // Make any changes visible
-}
-
-void BreakpointDlg::OnAdd(wxCommandEvent& e)
-{
- wxUnusedVar(e);
-
- ManagerST::Get()->GetBreakpointsMgr()->AddBreakpoint();
- Initialize(); // Make any changes visible
-}
-
-void BreakpointsListctrl::Initialise(std::vector<BreakpointInfo>& bps)
-{
- Freeze();
- DeleteAllItems();
-
- std::vector<BreakpointInfo>::iterator iter = bps.begin();
- for (; iter != bps.end(); ++iter) {
- long item = AppendListCtrlRow(this);
-
- // Store the internal and external ids
- struct bpd_IDs IDs(*iter);
- SetColumnText(this, item, col_id, IDs.GetIdAsString(), wxNOT_FOUND);
-
- wxString type;
- if (iter->is_temp) {
- type = wxT("Temp. ");
- }
- type += ((iter->bp_type==BP_type_watchpt) ? wxT("Watchpoint") : wxT("Breakpoint"));
- SetColumnText(this, item, col_type, type, wxNOT_FOUND);
-
- wxString disabled;
- if (!iter->is_enabled) {
- disabled = wxT("disabled");
- }
- SetColumnText(this, item, col_enabled, disabled );
- SetColumnText(this, item, col_at, iter->at );
- SetColumnText(this, item, col_what, iter->what);
-
- // A breakpoint will have either a file/lineno or a function-name (e.g.main(), or a memory address)
- // A watchpoint will have watchpt_data (the variable it's watching). Display that in the 'Function' col
- if ((iter->bp_type==BP_type_watchpt) && (!iter->watchpt_data.IsEmpty())) {
- SetColumnText(this, item, col_functionname, iter->watchpt_data, wxNOT_FOUND);
-
- } else if (!iter->function_name.IsEmpty()) {
- SetColumnText(this, item, col_functionname, iter->function_name, wxNOT_FOUND);
-
- } else if (iter->memory_address.IsEmpty() == false) {
- wxString addr;
- addr << iter->memory_address;
- SetColumnText(this, item, col_memory, addr, wxNOT_FOUND);
-
- } else {
- SetColumnText(this, item, col_file, iter->file, wxNOT_FOUND);
- wxString line;
- line << iter->lineno;
- SetColumnText(this, item, col_lineno, line, wxNOT_FOUND);
-
- }
-
- wxString ignore;
- if (iter->ignore_number) {
- ignore << iter->ignore_number;
- }
- SetColumnText(this, item, col_ignorecount, ignore, wxNOT_FOUND);
-
- wxString extras; // Extras are conditions, or a commandlist. If both (unlikely!) just show the condition
- if (!iter->conditions.IsEmpty()) {
- extras = iter->conditions;
- } else if (!iter->commandlist.IsEmpty()) {
- extras = iter->commandlist;
- }
- if (!extras.IsEmpty()) {
- // We don't want to try to display massive commandlist spread over several lines...
- int index = extras.Find(wxT("\\n"));
- if (index != wxNOT_FOUND) {
- extras = extras.Left(index) + wxT("...");
- }
- SetColumnText(this, item, col_extras, extras, wxNOT_FOUND);
- }
- }
- Thaw();
-}
-
-int BreakpointsListctrl::GetSelection()
-{
- long selecteditem = -1;
- selecteditem = GetNextItem(selecteditem, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
- return (int)selecteditem;
-}
diff --git a/LiteEditor/breakpointdlg.h b/LiteEditor/breakpointdlg.h
deleted file mode 100644
index 2e62448e..00000000
--- a/LiteEditor/breakpointdlg.h
+++ /dev/null
@@ -1,123 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : breakpointdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __breakpointdlg__
-#define __breakpointdlg__
-
-/**
-@file
-Subclass of BreakpointDlgBase, which is generated by wxFormBuilder.
-@todo Add your event handlers directly to this file.
-*/
-
-#include "breakpoint_dlg_base.h"
-#include "breakpointsmgr.h"
-
-// Since a breakpoint will always have an internal id, but a valid debugger one only when the debugger's running, store both here
-struct bpd_IDs
-{
- int debugger_id;
- int internal_id;
- bpd_IDs(const BreakpointInfo& bp) { debugger_id = bp.debugger_id; internal_id = bp.internal_id; }
- // If the debugger is running, debugger_id will (should) be >0. Otherwise use the internal_id
- int GetBestId() { return debugger_id == -1 ? internal_id : debugger_id; }
- wxString GetIdAsString() // Internal IDs start at FIRST_INTERNAL_ID + 1, == 10001
- { int id = (GetBestId() > FIRST_INTERNAL_ID ? GetBestId()-FIRST_INTERNAL_ID : GetBestId());
- wxString idstr; idstr << id; return idstr;
- }
-};
-
-class BreakpointsListctrl : public wxListCtrl
-{
- enum column_ids { col_id, col_type, col_enabled, col_file, col_lineno, col_functionname, col_at, col_memory, col_what, col_ignorecount, col_extras };
-public:
- BreakpointsListctrl(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxLC_REPORT | wxLC_SINGLE_SEL)
- : wxListCtrl(parent, id, pos, size, style)
- {
- const wxChar* column_headers[] =
- {
- wxT("ID"),
- wxT("Type"),
- wxT("Enabled"),
- wxT("File"),
- wxT("Line"),
- wxT("Function"),
- wxT("At"),
- wxT("Memory"),
- wxT("What"),
- wxT("Ignored"),
- wxT("Extras")
- };
-
- for (int n=col_id; n <= col_extras;++n) {
- InsertColumn(n, column_headers[n]);
- }
-
- SetColumnWidth(col_id , 50);
- SetColumnWidth(col_type, 100);
- SetColumnWidth(col_enabled, 100);
- SetColumnWidth(col_file, 300);
- SetColumnWidth(col_lineno, 100);
- SetColumnWidth(col_functionname, 100);
- SetColumnWidth(col_at, 100);
- SetColumnWidth(col_memory, 100);
- SetColumnWidth(col_what, 100);
- SetColumnWidth(col_ignorecount, 50);
- SetColumnWidth(col_extras, 50);
- }
-
- void Initialise(std::vector<BreakpointInfo>& bps);
- int GetSelection();
- int GetLinenoColumn() {
- return col_lineno;
- }
- int GetFileColumn() {
- return col_file;
- }
-};
-
-/** Implementing BreakpointDlgBase */
-class BreakpointDlg : public BreakpointTab
-{
- long m_selectedItem;
-protected:
- void OnAdd(wxCommandEvent &e);
- void OnEdit(wxCommandEvent &e);
- void OnDelete(wxCommandEvent &e);
- void OnDeleteAll(wxCommandEvent &e);
- void OnApplyPending(wxCommandEvent &e);
- void OnItemActivated(wxListEvent &e);
- void OnItemSelected(wxListEvent &e);
- void OnItemDeselected(wxListEvent &e);
- void OnItemRightClick(wxListEvent& e);
-
- std::vector<bpd_IDs> m_ids;
-
-public:
- /** Constructor */
- BreakpointDlg( wxWindow* parent );
- void Initialize();
-};
-
-#endif // __breakpointdlg__
diff --git a/LiteEditor/breakpointpropertiesdlg.cpp b/LiteEditor/breakpointpropertiesdlg.cpp
deleted file mode 100644
index 70f0b158..00000000
--- a/LiteEditor/breakpointpropertiesdlg.cpp
+++ /dev/null
@@ -1,214 +0,0 @@
-#include <wx/msgdlg.h>
-#include <wx/filedlg.h>
-#include <wx/filename.h>
-#include "breakpointpropertiesdlg.h"
-#include "windowattrmanager.h"
-
-
-
-BreakptPropertiesDlg::BreakptPropertiesDlg( wxWindow* parent )
- : BreakpointPropertiesDlg( parent )
-{
- its_a_breakpt = true; // Default to breakpoint for new items
- whichBreakcheck = wbc_line; // and assume it'll be a line-number type
- WindowAttrManager::Load(this, wxT("BreakptPropertiesDlgAttr"), NULL);
-}
-
-BreakptPropertiesDlg::~BreakptPropertiesDlg()
-{
- WindowAttrManager::Save(this, wxT("BreakptPropertiesDlgAttr"), NULL);
-}
-
-// Insert the data from an existing breakpoint into the dialog fields
-void BreakptPropertiesDlg::EnterBPData( const BreakpointInfo &bp )
-{
- // The class BreakpointInfo& b will become the new bp, so copy the old ids
- b.debugger_id = bp.debugger_id;
- b.internal_id = bp.internal_id;
-
- if (bp.bp_type == BP_type_watchpt) {
- its_a_breakpt = false; // UpdateUI will then tick the checkbox
- m_radioWatchtype->SetSelection(bp.watchpoint_type);
- m_textWatchExpression->SetValue(bp.watchpt_data);
- } else {
- its_a_breakpt = true;
- if (bp.memory_address.IsEmpty() == false) {
- m_checkBreakMemory->SetValue(true);
- m_textBreakMemory->Clear();
- *m_textBreakMemory << bp.memory_address;
- whichBreakcheck = wbc_memory;
- } else {
- m_textFilename->SetValue(bp.file);
- if (bp.lineno != -1) {
- m_checkLineno->SetValue(true);
- m_textLineno->Clear();
- *m_textLineno << bp.lineno;
- whichBreakcheck = wbc_line;
- } else if (!bp.function_name.IsEmpty()) {
- m_checkBreakFunction->SetValue(true);
- m_textFunctionname->SetValue(bp.function_name);
- m_checkRegex->SetValue(bp.regex == true);
- whichBreakcheck = wbc_function;
- }
- }
- }
-
- // We need temporarily to Disconnect this event, otherwise it's impossible to edit a watchpoint while the debugger's running
- // as SetSelection(1) causes a wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING event, which is vetoed
- m_choicebook->Disconnect( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING, wxChoicebookEventHandler( BreakptPropertiesDlg::OnPageChanging ), NULL, this );
- if (its_a_breakpt) {
- m_choicebook->SetSelection(0);
- } else {
- m_choicebook->SetSelection(1);
- }
- m_choicebook->Connect( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING, wxChoicebookEventHandler( BreakptPropertiesDlg::OnPageChanging ), NULL, this );
-
- // if b.debugger_id > -1, the debugger must be running
- if (b.debugger_id > -1) {
- m_checkDisable->SetValue(!bp.is_enabled);
- } else {
- // On MSWin it often crashes the debugger to try to load-then-disable a bp
- // so hide the checkbox if the debugger isn't running, or we're adding a bp
- m_checkDisable->Hide();
- m_checkDisable->GetContainingSizer()->Layout();
- }
- m_checkTemp->SetValue(bp.is_temp);
- m_checkTemp->Show(its_a_breakpt); // Watchpoints can't be temporary
- m_spinIgnore->SetValue(bp.ignore_number);
- m_textCond->SetValue(bp.conditions);
- m_textCommands->SetValue(bp.commandlist);
-}
-
-void BreakptPropertiesDlg::EndModal( int retCode )
-{
- if (retCode != wxID_OK) {
- return wxDialog::EndModal(retCode);
- }
-
- long l;
- wxString contents;
- int selectedPage = m_choicebook->GetSelection();
- if (m_choicebook->GetPageText((size_t)selectedPage) == _("Watchpoint")) {
- b.bp_type = BP_type_watchpt;
- b.watchpoint_type = (WatchpointType)m_radioWatchtype->GetSelection();
- b.watchpt_data = m_textWatchExpression->GetValue();
- if (b.watchpt_data.IsEmpty()) {
- wxMessageBox(_("You don't seem to have entered a variable for the watchpoint to watch. Please try again."), wxT(":/"), wxICON_ERROR);
- return;
- }
- } else {
- // It's some flavour of breakpoint (assume standard for now). Only insert enabled data, in case a lineno sort is now a function bp
- b.bp_type = BP_type_break;
- switch (whichBreakcheck) {
- case wbc_line:
- contents = m_textLineno->GetValue();
- if ( ! contents.ToLong(&l, 0) ) {
- wxMessageBox(_("The breakpoint's line-number is invalid. Please try again."), _(":/"), wxICON_ERROR);
- return;
- }
- b.lineno = (int)l;
- b.file = m_textFilename->GetValue();
- break;
-
- case wbc_function:
- b.function_name = m_textFunctionname->GetValue();
- if (b.function_name.IsEmpty()) {
- wxMessageBox(_("You don't seem to have entered a name for the function. Please try again."), _(":/"), wxICON_ERROR);
- return;
- }
- b.regex = m_checkRegex->IsChecked();
- b.file = m_textFilename->GetValue();
- // Reset other data, so that it'll be recognised as a function bp
- b.lineno = -1;
- b.memory_address.Clear();
- break;
-
- case wbc_memory:
- contents = m_textBreakMemory->GetValue();
- b.memory_address = contents;
- break;
- }
- }
-
- if (b.debugger_id > -1) {
- b.is_enabled = ! m_checkDisable->GetValue();
- }
- b.is_temp = m_checkTemp->GetValue();
- b.ignore_number = m_spinIgnore->GetValue();
- b.conditions = m_textCond->GetValue();
- b.commandlist = m_textCommands->GetValue();
-
- wxDialog::EndModal(retCode);
-}
-
-void BreakptPropertiesDlg::OnCheckBreakLineno(wxCommandEvent& event)
-{
- if (event.IsChecked()) {
- whichBreakcheck = wbc_line;
- }
-}
-
-void BreakptPropertiesDlg::OnCheckBreakFunction(wxCommandEvent& event)
-{
- if (event.IsChecked()) {
- whichBreakcheck = wbc_function;
- }
-}
-
-void BreakptPropertiesDlg::OnCheckBreakMemory(wxCommandEvent& event)
-{
- if (event.IsChecked()) {
- whichBreakcheck = wbc_memory;
- }
-}
-
-void BreakptPropertiesDlg::OnBrowse( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- wxString newfilepath, filepath(m_textFilename->GetValue());
- if ((!filepath.IsEmpty()) && wxFileName::FileExists(filepath)) {
- newfilepath = wxFileSelector(wxT("Select file:"), filepath.c_str());
- } else {
- newfilepath = wxFileSelector(wxT("Select file:"));
- }
-
- if (!newfilepath.IsEmpty()) {
- m_textFilename->SetValue(newfilepath);
- }
-}
-
-void BreakptPropertiesDlg::OnCheckBreakLinenoUI( wxUpdateUIEvent& event )
-{
- m_checkLineno->SetValue(whichBreakcheck == wbc_line);
- m_textLineno->Enable(m_checkLineno->IsChecked() && m_checkLineno->IsEnabled());
-}
-
-void BreakptPropertiesDlg::OnCheckBreakFunctionUI( wxUpdateUIEvent& event )
-{
- m_checkBreakFunction->SetValue(whichBreakcheck == wbc_function);
- m_textFunctionname->Enable(m_checkBreakFunction->IsChecked() && m_checkBreakFunction->IsEnabled());
- m_checkRegex->Enable(m_textFunctionname->IsEnabled());
-}
-
-void BreakptPropertiesDlg::OnCheckBreakMemoryUI( wxUpdateUIEvent& event )
-{
- m_checkBreakMemory->SetValue(whichBreakcheck == wbc_memory);
- m_textBreakMemory->Enable(m_checkBreakMemory->IsChecked() && m_checkBreakMemory->IsEnabled());
- // Disable the filename textctrl if the memory check is ticked
- m_textFilename->Enable(! m_textBreakMemory->IsEnabled());
-}
-
-void BreakptPropertiesDlg::OnPageChanging(wxChoicebookEvent& event)
-{
- if (b.debugger_id != -1) {
- wxMessageBox(_("Sorry, you can't change a breakpoint to a watchpoint, or vice versa, while the debugger is running"), _("Not possible"), wxICON_ERROR | wxOK);
- event.Veto();
- }
-}
-
-void BreakptPropertiesDlg::OnPageChanged(wxChoicebookEvent& event)
-{
- its_a_breakpt = m_choicebook->GetPageText(m_choicebook->GetSelection()) == _("Breakpoint");
- m_checkTemp->Show(its_a_breakpt); // Watchpoints can't be temporary
- m_checkTemp->GetContainingSizer()->Layout();
-}
diff --git a/LiteEditor/breakpointpropertiesdlg.h b/LiteEditor/breakpointpropertiesdlg.h
deleted file mode 100644
index cf0a9390..00000000
--- a/LiteEditor/breakpointpropertiesdlg.h
+++ /dev/null
@@ -1,46 +0,0 @@
-#ifndef __breakptpropertiesdlg__
-#define __breakptpropertiesdlg__
-
-/**
-@file
-Subclass of BreakpointPropertiesDlg, which is generated by wxFormBuilder.
-*/
-
-#include "breakpoint_dlg_base.h"
-#include "debugger.h"
-
-/** Implementing BreakpointPropertiesDlg */
-class BreakptPropertiesDlg : public BreakpointPropertiesDlg
-{
-protected:
- void EndModal( int retCode );
- // Handlers for BreakptPropertiesDlg events.
- void OnCheckBreakLineno( wxCommandEvent& event );
- void OnCheckBreakFunction( wxCommandEvent& event );
- void OnCheckBreakMemory( wxCommandEvent& event );
- void OnBrowse( wxCommandEvent& event );
- void OnCheckBreakLinenoUI( wxUpdateUIEvent& event );
- void OnCheckBreakFunctionUI( wxUpdateUIEvent& event );
- void OnCheckBreakMemoryUI( wxUpdateUIEvent& event );
- void OnPageChanging(wxChoicebookEvent &event);
- void OnPageChanged(wxChoicebookEvent &event);
-
- bool its_a_breakpt; // Holds whether it's a break or a watch. Used for UpdateUI
- enum whichbreakchk { wbc_line, wbc_function, wbc_memory };
- enum whichbreakchk whichBreakcheck; // Holds which of lineno, function or memory checks should be ticked. Used for UpdateUI
-
-public:
- BreakptPropertiesDlg( wxWindow* parent );
- ~BreakptPropertiesDlg();
-
- /**
- * \brief Insert the data from an existing breakpoint into the dialog fields
- * \param parent
- * \param bp
- */
- void EnterBPData( const BreakpointInfo &bp );
-
- BreakpointInfo b; // Used to return the amended settings
-};
-
-#endif // __breakptpropertiesdlg__
diff --git a/LiteEditor/breakpointsmgr.cpp b/LiteEditor/breakpointsmgr.cpp
deleted file mode 100644
index 596a94dc..00000000
--- a/LiteEditor/breakpointsmgr.cpp
+++ /dev/null
@@ -1,1051 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : breakpointsmgr.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "wx/numdlg.h"
-#include "wx/regex.h"
-#include "breakpointsmgr.h"
-#include "debuggermanager.h"
-#include "manager.h"
-#include "frame.h"
-#include "breakpointpropertiesdlg.h"
-#include "breakpointdlg.h"
-
-//---------------------------------------------------------
-
-bool BreakptMgr::AddBreakpointByLineno(const wxString& file, const int lineno, const wxString& conditions/*=wxT("")*/, const bool is_temp/*=false*/)
-{
- BreakpointInfo bp;
- bp.Create(file, lineno, GetNextID());
- bp.origin = BO_Editor;
- if (is_temp) {
- bp.bp_type = BP_type_tempbreak;
- bp.is_temp = true;
- }
- bp.conditions = conditions;
-
- return AddBreakpoint(bp);
-}
-
-bool BreakptMgr::AddBreakpoint(const BreakpointInfo &bp)
-{
- if(bp.file.IsEmpty() && bp.function_name.IsEmpty() && bp.memory_address.IsEmpty() == false) {
- // no function nor file?
- // do nothing then
- return true;
- }
-
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- // If the debugger is already running, tell it we want a new bp
- // If not, they'll all be added together when the debugger does start
- bool contIsNeeded = PauseDebuggerIfNeeded();
-
- dbgr->Break(bp);
-
- if (contIsNeeded) {
- dbgr->Continue();
- }
- }
-
- BreakpointInfo newBreakpoint(bp);
- SetBestBPType(newBreakpoint);
-
- bool alreadyExist(false);
- for(size_t i=0; i<m_bps.size(); i++) {
- if(newBreakpoint == m_bps.at(i)) {
- // this breakpoint already exist
- alreadyExist = true;
- break;
- }
- }
-
- // Add this breakpoint to the list only if it does not already exist
- // in the breakpoint list
- if( !alreadyExist ) {
- m_bps.push_back(newBreakpoint);
- }
-
- DeleteAllBreakpointMarkers();
- RefreshBreakpointMarkers();
- return true;
-}
-
-// Add a breakpoint using the 'Properties' dialog
-void BreakptMgr::AddBreakpoint()
-{
- BreakptPropertiesDlg dlg(NULL);
- dlg.SetTitle(_("Create a breakpoint or watchpoint"));
-
- LEditor* const editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- BreakpointInfo bp;
- bp.Create(editor ? editor->GetFileName().GetFullPath() : wxString(), editor ? editor->GetCurrentLine() : -1, GetNextID());
- dlg.EnterBPData(bp);
-
- if (dlg.ShowModal() != wxID_OK) {
- return;
- }
-
- if (AddBreakpoint(dlg.b)) {
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ((!dlg.b.is_enabled) && dbgr && dbgr->IsRunning()) {
- SetBPEnabledState(dlg.b.debugger_id, dlg.b.is_enabled);
- }
- wxString msg;
- if (dlg.b.bp_type == BP_type_watchpt) {
- msg = _("Watchpoint successfully added");
- } else {
- msg = _("Breakpoint successfully added");
- }
- Frame::Get()->SetStatusMessage(msg, 0);
- }
-}
-
-void BreakptMgr::GetBreakpoints(std::vector<BreakpointInfo> &li)
-{
- li = m_bps;
-}
-
-// Get all known breakpoints for this line/file
-unsigned int BreakptMgr::GetBreakpoints(std::vector<BreakpointInfo>& li, const wxString &fileName, const int lineno)
-{
- li.clear();
- std::vector<BreakpointInfo>::iterator iter = m_bps.begin();
- for (; iter != m_bps.end(); iter++) {
- BreakpointInfo b = *iter;
- if ( (b.lineno == lineno) && (b.file == fileName) ) {
- li.push_back(b);
- }
- }
- return li.size();
-}
-
-// Try to find a breakpoint on this line/file to match the data
-// Returns whether >0 was found, with matches stored in the vector
-bool BreakptMgr::GetMatchingBreakpoints(std::vector<BreakpointInfo>& li, const wxString &fileName, const int lineno, enum BreakpointType bp_type)
-{
- std::vector<BreakpointInfo> allonline; // Start by finding all on the line
- if ( ! GetBreakpoints(allonline, fileName, lineno) ) {
- return false;
- }
-
- li.clear();
- std::vector<BreakpointInfo>::iterator iter = allonline.begin();
- for (; iter != allonline.end(); ++iter) { // Now add the matching ones to li
- BreakpointInfo b = *iter;
- if (b.bp_type == bp_type) {
- li.push_back(b);
- }
- }
- return ! li.empty();
-}
-
-wxString BreakptMgr::GetTooltip(const wxString& fileName, const int lineno)
-{
- if (fileName.IsEmpty() || lineno < 0) {
- return wxEmptyString;
- }
-
- std::vector<BreakpointInfo> li;
- GetBreakpoints(li, fileName, lineno);
-
- wxString tooltip;
- std::vector<BreakpointInfo>::iterator iter = li.begin();
- for (; iter != li.end(); ++iter) {
- if (! tooltip.IsEmpty()) {
- tooltip << wxT("\n");
- }
- if (iter->is_temp) {
- tooltip << _("Temporary ");
- }
- int id = (iter->debugger_id > 0 ? iter->debugger_id : iter->internal_id - FIRST_INTERNAL_ID);
- tooltip << wxString::Format(_("Breakpoint %d"), id);
- if (! iter->is_enabled) {
- tooltip << _(" (disabled)");
- }
- if (iter->ignore_number > 0) {
- tooltip << wxString::Format(_(", ignore-count = %u"), iter->ignore_number);
- }
-
- if (! iter->conditions.IsEmpty()) {
- tooltip << wxString::Format(_(". Condition: %s"), iter->conditions.c_str());
- }
-
- if (! iter->commandlist.IsEmpty()) {
- tooltip << wxString::Format(_(". Commands: %s"), iter->commandlist.c_str());
- }
- }
-
- return tooltip;
-}
-
-// Delete all line-type breakpoint markers in all editors
-// Done before refreshing after a delete or edit, lest it was the last bp in a file
-void BreakptMgr::DeleteAllBreakpointMarkers()
-{
- std::set<wxString> filenames = GetFilesWithBreakpointMarkers();
- std::set<wxString>::iterator filenames_iter = filenames.begin();
- for (; filenames_iter != filenames.end(); ++filenames_iter) {
- LEditor* editor = Frame::Get()->GetMainBook()->FindEditor(*filenames_iter);
- if (editor) {
- editor->DelAllBreakpointMarkers();
- }
- }
-}
-// Refresh all line-type breakpoint markers in all editors
-void BreakptMgr::RefreshBreakpointMarkers()
-{
- std::vector<LEditor*> editors;
- Frame::Get()->GetMainBook()->GetAllEditors( editors );
-
- for(size_t i=0; i<editors.size(); i++)
- DoRefreshFileBreakpoints(editors.at(i));
-}
-
-// Delete all breakpoint markers for this file, then re-mark with the currently-correct marker
-void BreakptMgr::DoRefreshFileBreakpoints(LEditor* editor)
-{
- // Load the file's line-type bps into fi, and make a set of their line-numbers
- std::multimap<int, BreakpointInfo> bps;
- for(size_t i=0; i<m_bps.size(); i++) {
- BreakpointInfo b = m_bps.at(i);
- if ((editor->GetFileName() == b.file) && (b.lineno != -1)) {
- bps.insert(std::pair<int, BreakpointInfo>(b.lineno, b));
- }
- }
-
- editor->DelAllBreakpointMarkers();
-
- // the multimap now holds a table of
- // line numbers and breakpointsInfo, collect all line numbers's breakpoint info into vector
- // and place markers
- for(std::multimap<int, BreakpointInfo>::iterator i=bps.begin(); i != bps.end(); i++){
- std::pair<std::multimap<int, BreakpointInfo>::iterator, std::multimap<int, BreakpointInfo>::iterator> range = bps.equal_range(i->first);
- std::vector<BreakpointInfo> v;
- int count=0;
- for(std::multimap<int, BreakpointInfo>::iterator it = range.first; it != range.second; it++){
- v.push_back(it->second);
- ++count;
- }
- // Inc over the rest of the range, otherwise there'll be duplication when there's >1 bp on a line
- while (--count > 0) {
- ++i;
- }
- // Now work out which is the most significant (in marker terms) and tell the editor
- DoProvideBestBP_Type(editor, v);
- }
-}
-
-// Given a list of bps, tell the editor which is the most significant (in marker terms)
-void BreakptMgr::DoProvideBestBP_Type(LEditor* editor, const std::vector<BreakpointInfo>& li)
-{
- if ((editor == NULL) || (li.size() == 0)) {
- return;
- }
- // If there's an enabled bp of any sort, it beats all disabled ones
- // Otherwise, BP_type_break > BP_type_tempbreak > BP_type_cmdlistbreak > BP_type_condbreak > BP_type_ignoredbreak
- int values[BP_LAST_MARKED_ITEM+1]; // Allow for BP_type_none = 0
- values[BP_type_break] = 100;
- values[BP_type_tempbreak] = 90;
- values[BP_type_cmdlistbreak] = 80;
- values[BP_type_condbreak] = 70;
- values[BP_type_ignoredbreak] = 60;
- values[BP_type_none] = 0;
-
- BreakpointType best = BP_type_none;
- int best_value = 0;
- bool is_disabled = false;
- std::vector<BreakpointInfo>::const_iterator iter = li.begin();
- for (; iter != li.end(); ++iter) {
- BreakpointType bpt = iter->bp_type;
- if (bpt == BP_type_invalid) {
- continue;
- }
- int val = values[bpt];
- if (!iter->is_enabled) {
- val /= 2; // Halving the value for disability means that abled always outranks disabled, without otherwise interfering with the order
- }
- if (val > best_value) {
- best = bpt;
- best_value = val;
- is_disabled = ! iter->is_enabled; // If the new item wins, store its data
- }
- }
-
-
- if (best > 0) {
- // ATTN: this wierd allocation is due to bug in optimization of g++
- // which seems to crash (removing optimization fixes this problem,
- // but we prefer to stick with optimization level 2)
- std::vector<BreakpointInfo> *v = new std::vector<BreakpointInfo>(li);
- editor->SetBreakpointMarker(li.at(0).lineno, best, is_disabled, *v);
- delete v;
- }
-}
-
-// Invalidates each debugger_id
-void BreakptMgr::DebuggerStopped()
-{
- std::vector<BreakpointInfo> newList;
- for (size_t i=0; i<m_bps.size(); i++) {
- BreakpointInfo &bp = m_bps.at(i);
- bp.debugger_id = -1;
-
- // We collect all the breakpoints which their origin
- // was the editor
- if(bp.origin == BO_Editor) {
- newList.push_back(bp);
- }
- }
-
- for (size_t i=0; i<m_pendingBreakpointsList.size(); i++) {
- BreakpointInfo &bp = m_pendingBreakpointsList.at(i);
- bp.debugger_id = -1;
-
- // We collect all the breakpoints which their origin
- // was the editor
- if(bp.origin == BO_Editor) {
- newList.push_back(bp);
- }
- }
-
- m_bps.clear();
- m_pendingBreakpointsList.clear();
-
- m_bps = newList;
- UnDisableAllBreakpoints();
-}
-
-// Since a bp can't be created disabled, enable them all here when the debugger stops
-// That way they're guaranteed all to be enabled when it starts again
-void BreakptMgr::UnDisableAllBreakpoints()
-{
- for (size_t i=0; i<m_bps.size(); i++) {
- BreakpointInfo &bp = m_bps.at(i);
- bp.is_enabled = true;
- }
-
- RefreshBreakpointMarkers(); // Make this visible to the user
-}
-
-bool BreakptMgr::DelBreakpoint(const int id)
-{
- int index = FindBreakpointById(id, m_bps);
- if (index == wxNOT_FOUND) {
- return false;
- }
-
- //remove it from the debugger if it's running
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- if (id > FIRST_INTERNAL_ID) {
- // This shouldn't happen while the debugger is running (debugger_id should be valid)
- // But if it does, assume it was a bp that gdb couldn't create, and just remove from the bp list
- } else {
- bool contIsNeeded = PauseDebuggerIfNeeded();
- if (dbgr->RemoveBreak(id)) {
- // Strangely, -break-delete doesn't output any confirmation except for ^done. So do it here
- wxString msg = ((m_bps.at(index).bp_type == BP_type_watchpt) ? wxT("Watchpoint ") : wxT("Breakpoint "));
- ManagerST::Get()->UpdateAddLine(msg + wxString::Format(_("%u deleted"), id));
- }
- if (contIsNeeded) {
- dbgr->Continue();
- }
- }
- }
-
- // Delete all markers before removing bp from the vector. Otherwise if id was the last in a file...
- DeleteAllBreakpointMarkers();
-
- m_bps.erase(m_bps.begin()+index);
-
- RefreshBreakpointMarkers();
- return true;
-}
-
-int BreakptMgr::DelBreakpointByLineno(const wxString& file, const int lineno)
-{
- wxString msg(_("Select the breakpoint to be deleted"));
- int bid = GetDesiredBreakpointIfMultiple(file, lineno, msg);
- if (bid == wxID_CANCEL || bid == BP_type_none) {
- return bid;
- }
-
- return (DelBreakpoint(bid) == true ? true : -1); // Use -1 as an arbitrary failed-to-delete flag
-}
-
-void BreakptMgr::ApplyPendingBreakpoints()
-{
- if (!PendingBreakpointsExist()) {
- return; // Nothing to do
- }
-
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (!(dbgr && dbgr->IsRunning())) {
- return; // If the debugger isn't running, there's no point (and we shouldn't have reached here anyway)
- }
- bool contIsNeeded = PauseDebuggerIfNeeded();
-
- for (size_t i=m_pendingBreakpointsList.size(); i>0; --i) {
- BreakpointInfo bp = m_pendingBreakpointsList.at(i-1);
-
- // First check to see if the debugger already accepted this one
- // The answer should be no, as acceptance should have removed it from this list
- int index = FindBreakpointById(bp.internal_id, m_bps);
- if (index != wxNOT_FOUND) {
- // Hmm. See if there's a valid debugger_id. If so, the bp *was* accepted, and shouldn't be on the pending list
- if (m_bps.at(index).debugger_id != -1) {
- m_pendingBreakpointsList.erase(m_pendingBreakpointsList.begin()+i-1);
- }
- continue; // The bp hasn't been assessed yet; it's probably pointless to try to reapply it atm
- }
-
- // This bp didn't 'take' the first time; "..try, try again" :p
- dbgr->Break(bp);
- m_bps.push_back(bp);
- }
-
- if (contIsNeeded) {
- dbgr->Continue();
- }
-
- RefreshBreakpointMarkers();
-}
-
-void BreakptMgr::DelAllBreakpoints()
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- bool contIsNeeded = PauseDebuggerIfNeeded();
- dbgr->RemoveAllBreaks();
- if (contIsNeeded) {
- dbgr->Continue();
- }
- }
-
- // Delete all markers before clearing m_bps, otherwise we won't know which files they were in
- DeleteAllBreakpointMarkers();
- m_bps.clear();
-}
-
-// Toggle a breakpoint's enabled state
-bool BreakptMgr::ToggleEnabledStateByLineno(const wxString& file, const int lineno)
-{
- wxString msg(_("Select the breakpoint that you want to alter"));
- int bid = GetDesiredBreakpointIfMultiple(file, lineno, msg);
- if (bid == wxID_CANCEL || bid == BP_type_none) {
- return false;
- }
-
- int index = FindBreakpointById(bid, m_bps);
-
- // sanity
- if (index < 0 || index >= (int)m_bps.size()) {
- wxLogMessage(wxT("ToggleEnabledStateByLineno(): Insane index"));
- return false;
- }
-
- if (! SetBPEnabledState(bid, !m_bps.at(index).is_enabled)) {
- return false;
- }
-
- m_bps.at(index).is_enabled = ! m_bps.at(index).is_enabled;
- RefreshBreakpointMarkers();
- return true;
-}
-
-// The debugger labels each breakpoint with an id and passes it here via Manager::UpdateBpAdded.
-// By storing it as BreakpointInfo::debugger_id, we can be certain that this bp refers to the gdb breakpoint
-void BreakptMgr::SetBreakpointDebuggerID(const int internal_id, const int debugger_id)
-{
- std::vector<BreakpointInfo>::iterator iter = m_bps.begin();
- for (; iter != m_bps.end(); ++iter) {
- if (iter->internal_id == internal_id) {
- // We've found the match. However, if breakpoint creation had failed, confess, then delete
- if (debugger_id == -1) {
- wxString msg;
- if (iter->bp_type == BP_type_watchpt) {
- msg = _("Watchpoint creation unsuccessful");
- } else {
- msg = _("Breakpoint creation unsuccessful");
- }
-
- // add message to the debugger tab
- ManagerST::Get()->UpdateAddLine(msg);
- DeleteAllBreakpointMarkers(); // Must do this before the erase, otherwise the last-bp-in-file will be missed
- m_bps.erase(iter);
-
- // update the UI as well
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
- RefreshBreakpointMarkers();
- return;
- }
- // Otherwise store the valid debugger_id
- iter->debugger_id = debugger_id;
- // Remove the bp from the 'pending' array
- int index = FindBreakpointById(internal_id, m_pendingBreakpointsList);
- if (index != wxNOT_FOUND) {
- m_pendingBreakpointsList.erase(m_pendingBreakpointsList.begin()+index);
- }
- // update the UI as well
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
- return;
- }
- }
- wxLogMessage(wxT("SetBreakpointDebuggerID(): Failed to match internal_id to debugger_id"));
-}
-
-// Set a breakpoint's ignore count
-bool BreakptMgr::IgnoreByLineno(const wxString& file, const int lineno)
-{
- wxString msg(_("Select the breakpoint to have its ignore-count changed"));
- int bid = GetDesiredBreakpointIfMultiple(file, lineno, msg);
- if (bid == wxID_CANCEL || bid == BP_type_none) {
- return false;
- }
-
- int index = FindBreakpointById(bid, m_bps);
-
- // sanity
- if (index < 0 || index >= (int)m_bps.size()) {
- wxLogMessage(wxT("IgnoreByLineno(): Insane index"));
- return false;
- }
-
- BreakpointInfo bp = m_bps.at(index);
- if (bp.bp_type == BP_type_invalid) {
- return false;
- }
-
- long newvalue = wxGetNumberFromUser( _("Please enter the new ignore-count"), wxT(""), wxT("Set ignore-count"), bp.ignore_number, 0, 1000000);
- if ((newvalue == -1) || (newvalue == (long)bp.ignore_number)) {
- return false;
- }
-
- if (! SetBPIgnoreCount(bid, newvalue)) {
- return false;
- }
-
- m_bps.at(index).ignore_number = newvalue;
- // Explicitly set the best type, in case the user just reset a previously-ignored bp
- SetBestBPType(m_bps.at(index));
- RefreshBreakpointMarkers();
- return true;
-}
-
-void BreakptMgr::EditBreakpointByLineno(const wxString& file, const int lineno)
-{
- wxString msg(_("Select the breakpoint to edit"));
- int bid = GetDesiredBreakpointIfMultiple(file, lineno, msg);
- if (bid == wxID_CANCEL || bid == BP_type_none) {
- return;
- }
-
- int index = FindBreakpointById(bid, m_bps);
- if (index == wxNOT_FOUND) {
- return;
- }
-
- bool dummy;
- EditBreakpoint(index, dummy);
-}
-
-void BreakptMgr::EditBreakpoint(int index, bool &bpExist)
-{
- // sanity
- bpExist = true;
- if (index < 0 || index >= (int)m_bps.size()) {
- wxLogMessage(wxT("BreakptMgr::EditBreakpoint: Insane index"));
- bpExist = false;
- return;
- }
-
- BreakpointInfo bp = m_bps.at(index);
- BreakptPropertiesDlg dlg(NULL);
- wxString title;
- if (bp.bp_type == BP_type_watchpt) {
- title = _("Properties for watchpoint ");
- } else {
- title = _("Properties for breakpoint ");
- }
- int id = bp.debugger_id;
- if (id == -1) {
- id = bp.internal_id - FIRST_INTERNAL_ID;
- }
- title << id;
- dlg.SetTitle(title);
-
- dlg.EnterBPData(bp);
- if (dlg.ShowModal() != wxID_OK) {
- return ;
- }
-
- SetBestBPType(dlg.b); // The edited data's available. Use it to determine the best bp_type
- if (bp == dlg.b) {
- // Nothing was altered
- return ;
- }
-
- // We've got our altered dlg.b If the debugger's running, we can update it now
- // Otherwise, it'll be automatically inserted correctly when the debugger starts
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- if (CanThisBreakpointBeUpdated(dlg.b, bp)) {
- if (dlg.b.ignore_number != bp.ignore_number) {
- if (! SetBPIgnoreCount(dlg.b.debugger_id, dlg.b.ignore_number)) {
- return; // Harsh, but what else can one do?
- }
- }
- if (dlg.b.is_enabled != bp.is_enabled) {
- if (! SetBPEnabledState(dlg.b.debugger_id, dlg.b.is_enabled)) {
- return ;
- }
- }
- if (dlg.b.conditions != bp.conditions) {
- if (! SetBPConditon(dlg.b)) {
- return ;
- }
- }
- if (dlg.b.commandlist != bp.commandlist) {
- if (! SetBPCommands(dlg.b)) {
- return ;
- }
- }
- } else {
- // If it can't be updated (because gdb wouldn't be able to cope with the change), replace
- bool contIsNeeded = PauseDebuggerIfNeeded();
- dbgr->RemoveBreak(bp.debugger_id);
- dbgr->Break(dlg.b);
- // dbgr->Break(bp) doesn't set the ignore/disabled/etc states
- // but we can't do it now, as we don't yet know the debugger_id
- // However it will happen later, in SetBreakpointDebuggerID
- if (contIsNeeded) {
- dbgr->Continue();
- }
- }
- }
-
- // Replace the old data with the new, in m_bps
- m_bps.at(index) = dlg.b;
- DeleteAllBreakpointMarkers();
- RefreshBreakpointMarkers();
-}
-
-void BreakptMgr::ReconcileBreakpoints(const std::vector<BreakpointInfo>& li)
-{
- std::vector<BreakpointInfo> updated_bps;
- std::vector<BreakpointInfo>::const_iterator li_iter = li.begin();
- for (; li_iter != li.end(); ++li_iter) {
- int index = FindBreakpointById(li_iter->debugger_id, m_bps);
- if (index == wxNOT_FOUND) {
- // This will happen e.g. if a bp was auto-set on Main()
- // If so, its internal_id will be invalid
- BreakpointInfo bp = *li_iter;
- bp.internal_id = GetNextID();
- updated_bps.push_back(bp);
-
- } else {
- // We've match the debugger_id from -break-list with a bp
- // Update the ignore-count, then store it in a new vector
- BreakpointInfo bp = m_bps.at(index);
- bp.ignore_number = li_iter->ignore_number;
- bp.what = li_iter->what;
- bp.at = li_iter->at;
-
- // Remove it from the m_bps list
- m_bps.erase(m_bps.begin()+index);
-
- SetBestBPType(bp); // as this might have just changed
- updated_bps.push_back(bp);
- }
- }
- // All the still-existing bps have been added to updated_bps
- // So throw away m_bps (which will contain stale bps) and replace with the new vector
- // First though, delete all markers. Otherwise, if the last in a file has been deleted...
- DeleteAllBreakpointMarkers();
-
- // All the stale breakpoints should be assigned to the 'm_pendingBreakpointList'
- m_pendingBreakpointsList = m_bps;
-
- m_bps.clear();
- SetBreakpoints(updated_bps);
-
- RefreshBreakpointMarkers();
- // update the Breakpoints pane too
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
-}
-
- // When a a breakpoint is hit, see if it's got a command-list that needs faking
-void BreakptMgr::BreakpointHit(int id)
-{
- int index = FindBreakpointById(id, m_bps);
- if ((index == wxNOT_FOUND) || (index >= FIRST_INTERNAL_ID)) {
- return;
- }
-
- BreakpointInfo bp = m_bps.at(index);
- if (bp.commandlist.IsEmpty()) {
- return;
- }
-
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- // A likely command, presumably at the end of the command-list, is 'continue' or 'cont'
- // Filter this out and do it separately, otherwise Manager::UpdateLostControl isn't called to blank the indicator
- static wxRegEx reContinue(wxT("(([[:space:]]|(^))((cont$)|(continue)))"));
- bool needsCont = false;
- wxString commands = bp.commandlist;
- if (reContinue.IsValid() && reContinue.Matches(commands)) {
- size_t start, len;
- if (reContinue.GetMatch(&start,&len)) {
- commands = commands.Left(start);
- needsCont = true;
- }
- }
- if (! commands.IsEmpty()) { // Just in case someone's _only_ command is 'continue' !
- dbgr->ExecuteCmd(commands);
- }
- if (needsCont) {
- dbgr->Continue();
- }
- }
-}
-
-/*------------------------------- Implementation -------------------------------*/
-
-// Get a breakpoint on this line. If multiple bps, ask the user to select
-int BreakptMgr::GetDesiredBreakpointIfMultiple(const wxString &fileName, const int lineno, const wxString msg /*=wxT("")*/)
-{
- std::vector<BreakpointInfo> allonline; // Start by finding all on the line
- if ( ! GetBreakpoints(allonline, fileName, lineno) ) {
- return BP_type_none;
- }
-
- if (allonline.size() == 1) {
- BreakpointInfo bp = allonline[0];
- return (bp.debugger_id == -1 ? bp.internal_id : bp.debugger_id );
- }
-
- wxString message(msg);
- if (message.IsEmpty()) {
- message = _("Please select an item");
- }
- wxDialog dlg(NULL, wxID_ANY, message,wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER );
- wxBoxSizer* sizer = new wxBoxSizer(wxVERTICAL);
- BreakpointsListctrl* list = new BreakpointsListctrl(&dlg);
- list->Initialise(allonline);
- sizer->Add( list, 1, wxEXPAND | wxALL, 20 );
- wxStdDialogButtonSizer* btnsizer = new wxStdDialogButtonSizer();
- btnsizer->AddButton( new wxButton(&dlg, wxID_OK) );
- btnsizer->AddButton( new wxButton(&dlg, wxID_CANCEL) );
- btnsizer->Realize();
- sizer->Add( btnsizer, 0, wxALIGN_CENTER_HORIZONTAL|wxBOTTOM, 25 );
- dlg.SetSizer(sizer);
- sizer->Layout();
- if (dlg.ShowModal() != wxID_OK) {
- return wxID_CANCEL;
- }
-
- int selection = list->GetSelection();
- if (selection == wxNOT_FOUND) {
- return wxID_CANCEL;
- }
-
- BreakpointInfo bp = allonline[selection];
- return (bp.debugger_id == -1 ? bp.internal_id : bp.debugger_id );
-}
-
-// Construct set of files containing bps
-std::set<wxString> BreakptMgr::GetFilesWithBreakpointMarkers()
-{
- // Make a set of all filenames containing a file-relevant variety of breakpoint
- std::set<wxString> filenames;
- std::vector<BreakpointInfo>::iterator iter = m_bps.begin();
- for (; iter != m_bps.end(); ++iter) {
- // If this bp is a lineno or function type, add its file to the set
- wxString fileName = iter->file;
- if ((!fileName.IsEmpty()) && (iter->memory_address.IsEmpty())) {
- filenames.insert(fileName);
- }
- }
-
- return filenames;
-}
-
-int BreakptMgr::FindBreakpointById(const int id, const std::vector<BreakpointInfo>& li)
-{
- std::vector<BreakpointInfo>::const_iterator iter = li.begin();
- for (; iter != li.end(); ++iter) {
- BreakpointInfo b = *iter;
- // If we were passed an id > 10000, it must be internal
- int this_id = (id > FIRST_INTERNAL_ID ? b.internal_id : b.debugger_id);
- if (id == this_id) {
- return (int)(iter - li.begin());
- }
- }
-
- return wxNOT_FOUND;
-}
-
-bool BreakptMgr::CanThisBreakpointBeUpdated(const BreakpointInfo &a, const BreakpointInfo &b) const
-{
- // Since, afaik, the only things that *can* be updated are: conditions/commands/ignores/enables,
- // return true if all but these are == (except for bp_type, which will have changed as a consequence of those)
- BreakpointInfo temp = a;
- temp.ignore_number = b.ignore_number;
- temp.is_enabled = b.is_enabled;
- temp.conditions = b.conditions;
- temp.commandlist = b.commandlist;
- temp.bp_type = b.bp_type;
- return (temp == b);
-}
-
-bool BreakptMgr::SetBPIgnoreCount(const int bid, const int ignorecount)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- // If the debugger is already running, tell it about the new ignore level
- // If not, it'll happen automatically when the debugger does start
- bool contIsNeeded = PauseDebuggerIfNeeded();
- bool result = dbgr->SetIgnoreLevel(bid, ignorecount);
- if (contIsNeeded) {
- dbgr->Continue();
- }
- return result;
- }
- return true;
-}
-
-bool BreakptMgr::SetBPCommands(const BreakpointInfo& bp)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- // If the debugger is already running, tell it about the commands
- // If not, it'll happen automatically when the debugger does start
- bool contIsNeeded = PauseDebuggerIfNeeded();
- bool result = dbgr->SetCommands(bp);
- if (contIsNeeded) {
- dbgr->Continue();
- }
- return result;
- }
- return false;
-}
-
-bool BreakptMgr::SetBPConditon(const BreakpointInfo& bp)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- // If the debugger is already running, tell it about the condition
- // If not, it'll happen automatically when the debugger does start
- bool contIsNeeded = PauseDebuggerIfNeeded();
- bool result = dbgr->SetCondition(bp);
- if (contIsNeeded) {
- dbgr->Continue();
- }
- return result;
- }
- return false;
-}
-
-bool BreakptMgr::SetBPEnabledState(const int bid, const bool enable)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- // If the debugger is already running, tell it about the new ignore level
- // If not, it'll happen automatically when the debugger does start
- bool contIsNeeded = PauseDebuggerIfNeeded();
- bool result = dbgr->SetEnabledState(bid, enable);
- if (contIsNeeded) {
- dbgr->Continue();
- }
- return result;
- }
- return true;
-}
-
-void BreakptMgr::SetBestBPType(BreakpointInfo& bp)
-{
- if (bp.bp_type == BP_type_watchpt) {
- return;
- }
-
- if (bp.ignore_number > 0) {
- bp.bp_type = BP_type_ignoredbreak;
- return;
- }
-
- if (bp.IsConditional()) {
- bp.bp_type = BP_type_condbreak;
- return;
- }
-
- if (!bp.commandlist.IsEmpty()) {
- bp.bp_type = BP_type_cmdlistbreak;
- return;
- }
-
- if (bp.is_temp) {
- bp.bp_type = BP_type_tempbreak;
- return;
- }
-
- bp.bp_type = BP_type_break; // Default option
-}
-
-// If the debugger is running but can't interact, pause it and return true (to flag needs restart)
-bool BreakptMgr::PauseDebuggerIfNeeded()
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning() && !ManagerST::Get()->DbgCanInteract()) {
- dbgr->Interrupt();
- return true;
- }
- return false;
-}
-
-void BreakptMgr::DeleteAllBreakpointsByFileName(const wxString& fileName)
-{
- std::vector<BreakpointInfo>::iterator iter = m_bps.begin();
- while (iter != m_bps.end()) {
- if ((fileName == iter->file) && (iter->lineno != -1)) {
- iter = m_bps.erase(iter);
- } else {
- ++iter;
- }
- }
-
-}
-
-void BreakptMgr::SetBreakpoints(const std::vector<BreakpointInfo>& bps)
-{
- // append the breakpoint list
- m_bps.insert(m_bps.end(), bps.begin(), bps.end());
-}
-
-void BreakptMgr::SaveSession(SessionEntry& session)
-{
- session.SetBreakpoints(m_bps);
-}
-
-void BreakptMgr::LoadSession(const SessionEntry& session)
-{
- const std::vector<BreakpointInfo>& breakpoints = session.GetBreakpoints();
- for (std::vector<BreakpointInfo>::const_iterator itr = breakpoints.begin(); itr != breakpoints.end(); ++itr) {
- BreakpointInfo bp = *itr;
- bp.internal_id = GetNextID();
- bp.origin = BO_Editor;
- AddBreakpoint(bp);
- }
- RefreshBreakpointMarkers();
-}
-
-void BreakptMgr::DragBreakpoint(LEditor* editor, int line, wxBitmap bitmap)
-{
- // See if there's a bp marker under the cursor. If so, let the user drag it
- std::vector<BreakpointInfo> lineBPs;
- if (GetBreakpoints(lineBPs, editor->GetFileName().GetFullPath(), line+1) == 0) {
- return;
- }
-
- m_dragImage = new myDragImage(editor, bitmap, lineBPs);
- m_dragImage->StartDrag();
-}
-
-void BreakptMgr::DropBreakpoint(std::vector<BreakpointInfo>& BPs, int newline)
-{
- // We've received back the vector of bps that we passed to DragBreakpoint()
- // We need to remove one from m_bps, and from the debugger if running,
- // then add it back with the lineno altered to newline
- wxString msg(_("Select the breakpoint that you want to move"));
- int bid = GetDesiredBreakpointIfMultiple(BPs[0].file, BPs[0].lineno, msg);
- if (bid == wxID_CANCEL || bid == BP_type_none) {
- return;
- }
-
- int index = FindBreakpointById(bid, m_bps);
- BreakpointInfo bp = *(m_bps.begin()+index);
- bp.lineno = newline+1;
- // AddBreakpoint() doesn't do the disabled state: it can't, and there's no good way round this
- // So if the dragged bp was disabled, we need to enable it here, otherwise it retains its disabled icon
- bp.is_enabled = true;
-
- if (DelBreakpoint(bid)) {
- AddBreakpoint(bp);
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
- }
-}
-
-//---------------------------------------------------------
-
-myDragImage::myDragImage(LEditor* ed, wxBitmap btmp, std::vector<BreakpointInfo>& BPs)
- : wxDragImage(btmp, wxCURSOR_POINT_LEFT), editor(ed), bitmap(btmp), lineBPs(BPs)
-{
- // In theory, we could pass a blank cursor to wxDragImage::BeginDrag
- // In practice, that doesn't seem to work, so do it here, and undo it in OnEndDrag()
- oldcursor = editor->SetCursor(wxCursor(wxCURSOR_BLANK));
-}
-
-bool myDragImage::StartDrag()
-{
- BeginDrag( wxPoint(0, 0),editor, false );
- wxPoint pt = editor->ScreenToClient(wxGetMousePosition());
- // Store the initial x position, as we know it must be in the bp margin
- m_startx = pt.x;
- Move(pt);
- Show();
-
- return false;
-}
-
-void myDragImage::OnMotion(wxMouseEvent& event)
-{
- Move(event.GetPosition());
- event.Skip();
-}
-
-void myDragImage::OnEndDrag(wxMouseEvent& event)
-{
- Hide();
- EndDrag();
- editor->SetCursor(oldcursor);
- editor->Disconnect(wxEVT_MOTION, wxMouseEventHandler(myDragImage::OnMotion), NULL, this);
- editor->Disconnect(wxEVT_LEFT_UP, wxMouseEventHandler(myDragImage::OnEndDrag), NULL, this);
-
- // If the cursor is within spitting distance of the bp margin, assume it's a genuine drop
- wxPoint pt = event.GetPosition();
- if ((pt.x < 0) || ((pt.x - m_startx) > 10)) {
- return;
- }
- // Find the desired new line, and check it's different from the previous
- long pos = editor->PositionFromPoint(pt);
- int newline = editor->LineFromPosition(pos);
- if ((newline+1) != lineBPs[0].lineno) {
- ManagerST::Get()->GetBreakpointsMgr()->DropBreakpoint(lineBPs, newline);
- }
-}
-
-void BreakptMgr::RefreshBreakpointsForEditor(LEditor* editor)
-{
- DoRefreshFileBreakpoints( editor );
-}
diff --git a/LiteEditor/breakpointsmgr.h b/LiteEditor/breakpointsmgr.h
deleted file mode 100644
index b271b83e..00000000
--- a/LiteEditor/breakpointsmgr.h
+++ /dev/null
@@ -1,321 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : breakpointmgr.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef BREAKPOINTS_MANAGER_H
-#define BREAKPOINTS_MANAGER_H
-
-#include "list"
-#include "vector"
-#include <set>
-#include "wx/string.h"
-#include "debugger.h"
-#include "cl_editor.h"
-#include "sessionmanager.h"
-#include "wx/arrstr.h"
-#include "wx/dragimag.h"
-
-class myDragImage;
-
-#define FIRST_INTERNAL_ID 10000
-
-class BreakptMgr
-{
- std::vector<BreakpointInfo> m_bps; // The vector of breakpoints
- std::vector<BreakpointInfo> m_pendingBreakpointsList; // These are any breakpoints that the debugger won't (yet) accept (often because they're in a plugin)
-
- int NextInternalID; // Used to give each bp a unique internal ID. Start at 10k to avoid confusion with gdb's IDs
-
- myDragImage* m_dragImage;
-
- // Delete all breakpoint markers for this file, then re-mark with the currently-correct marker
- void DoRefreshFileBreakpoints(LEditor* editor);
- void DoProvideBestBP_Type(LEditor* editor, const std::vector<BreakpointInfo>& li); // Tells the editor which is the most appropriate bp marker to show
-
- // Delete all line-type breakpoint markers in all editors
- // Done before refreshing after a delete, lest it was the last bp in a file
- void DeleteAllBreakpointMarkers();
- std::set<wxString> GetFilesWithBreakpointMarkers();
-
- /**
- * Return the index of the bp with the passed id, in the vector that will normally be m_bps
- */
- int FindBreakpointById(const int id, const std::vector<BreakpointInfo>& li);
-
- /**
- * Can gdb accept this alteration, or will be bp have to be replaced?
- */
- bool CanThisBreakpointBeUpdated(const BreakpointInfo &bp1, const BreakpointInfo &bp2) const;
-
- /**
- * Get id of the breakpoint on this line. If multiple bps, ask the user to select
- */
- int GetDesiredBreakpointIfMultiple(const wxString &fileName, const int lineno, const wxString msg = wxT(""));
-
- /**
- * Sets bp.bp_type to the value most appropriate to its contents
- */
- void SetBestBPType(BreakpointInfo& bp);
-
- /**
- * Ignore this bp
- */
- bool SetBPIgnoreCount(const int bid, const int ignorecount);
-
- /**
- * Enable or Disable this breakpoint
- */
- bool SetBPEnabledState(const int bid, const bool enable);
-
- /**
- * Set this breakpoint's condition to that in bp.condition
- */
- bool SetBPConditon(const BreakpointInfo &bp);
-
- /**
- * Set this breakpoint's command-list to that in bp.commandlist
- */
- bool SetBPCommands(const BreakpointInfo &bp);
-
- /**
- * Clear the list of breakpoints
- */
- void Clear() {
- m_bps.clear();
- }
-
-public:
-
- BreakptMgr() {
- NextInternalID = FIRST_INTERNAL_ID;
- }
-
- ~BreakptMgr() {
- Clear();
- }
-
- /**
- * @brief refresh the breakpoints marker for a given editor
- * @param editor
- */
- void RefreshBreakpointsForEditor(LEditor* editor);
-
- /**
- * Refresh all line-type breakpoint markers in all editors
- */
- void RefreshBreakpointMarkers();
-
- /**
- * @brief add list of breakpoints to the stored breakpoints list
- * @param bps
- */
- void SetBreakpoints(const std::vector<BreakpointInfo>& bps);
-
- /**
- * @brief Store list of breakpoints in the pending-breakpoints list
- * @param bps
- */
- void SetPendingBreakpoints(const std::vector<BreakpointInfo>& bps) {
- m_pendingBreakpointsList.clear(); m_pendingBreakpointsList = bps;
- }
-
- /**
- * @brief Returns true if there are pending breakpoints
- */
- bool PendingBreakpointsExist() {
- return ! m_pendingBreakpointsList.empty();
- }
-
- /**
- * Send again to the debugger any breakpoints that weren't accepted by the debugger the first time
- * (e.g. because they're inside a plugin)
- */
- void ApplyPendingBreakpoints();
-
- /**
- * @brief delete all stored breakpoints related to file. this method should does not update the
- * debugger, so it must be called *before* starting the debugger
- * @param fileName
- */
- void DeleteAllBreakpointsByFileName(const wxString &fileName);
-
- /**
- * Add a breakpoint to the current debugger at the given line-number/file
- * Depending on the parameters, a temporary/ignored/conditional/commandlist bp can be created
- */
- bool AddBreakpointByLineno(const wxString& file, const int lineno, const wxString& conditions = wxT(""), const bool is_temp = false);
-
- /**
- * Add a breakpoint using the 'Properties' dialog
- * Depending on the parameters, a temporary/ignored/conditional/commandlist bp can be created
- */
- void AddBreakpoint();
-
- /**
- * Add a break point to the current debugger
- * all breakpoints will be passed to the debugger
- * once started
- */
- bool AddBreakpoint(const BreakpointInfo &bp);
-
- /**
- * Delete break point by id
- */
- bool DelBreakpoint(const int id);
-
- /**
- * Delete break point by file and line
- */
- int DelBreakpointByLineno(const wxString& file, const int lineno);
-
- /**
- * Toggle a breakpoint's enabled state
- */
- bool ToggleEnabledStateByLineno(const wxString& file, const int lineno);
-
- /**
- * Summon the BreakptProperties dialog for a bp
- */
- void EditBreakpointByLineno(const wxString& file, const int lineno);
-
- /**
- * Set a breakpoint's ignore count
- */
- bool IgnoreByLineno(const wxString& file, const int lineno);
-
- /**
- * return list of breakpoints
- */
- void GetBreakpoints(std::vector<BreakpointInfo> &li);
-
- /**
- * When a breakpoint is added, the debugger_id it returns finally arrives here
- * Update the breakpoint with it
- */
- void SetBreakpointDebuggerID(const int internal_id, const int debugger_id);
-
- /**
- * return the number of this line's breakpoints
- * with the breakpoints themselves in li
- */
- unsigned int GetBreakpoints(std::vector<BreakpointInfo>& li, const wxString &fileName, const int lineno);
-
- /**
- * return whether this line has a breakpoint of type bp_type
- * Any matches found are returned in li
- */
- bool GetMatchingBreakpoints(std::vector<BreakpointInfo>& li, const wxString &fileName, const int lineno, enum BreakpointType bp_type);
-
- /**
- * Returns a string containing details of any breakpoints on this line
- */
- wxString GetTooltip(const wxString& fileName, const int lineno);
-
- /**
- * Update the m_bps with what the debugger really contains
- * from vector of breakpoints acquired from -break-list
- */
- void ReconcileBreakpoints(const std::vector<BreakpointInfo>& li);
-
- /**
- * Clears the debugger_ids of all breakpoints.
- * Called when the debugger has stopped, so they're no longer valid
- */
- void DebuggerStopped();
-
- /**
- * Since a bp can't be created disabled, enable them all here when the debugger stops
- * That way they're guaranteed all to be enabled when it starts again
- */
- void UnDisableAllBreakpoints();
-
- /**
- * remove all breakpoints
- */
- void DelAllBreakpoints();
-
- /**
- * The 'edit a breakpoint' dialog
- */
- void EditBreakpoint(int index, bool &bpExist);
-
- /**
- * If the debugger is running but can't interact, pause it.
- * Return true if a pause was done, to flag that a restart is needed
- */
- bool PauseDebuggerIfNeeded();
-
- /**
- * Notification from the debugger that breakpoint id was just hit
- */
- void BreakpointHit(int id);
-
- /**
- * Starts 'drag'n'drop' for breakpoints
- */
- void DragBreakpoint(LEditor* editor, int line, wxBitmap bitmap);
-
- /**
- * The 'drop' bit of breakpoints 'drag'n'drop'
- */
- void DropBreakpoint(std::vector<BreakpointInfo>& BPs, int newline);
-
- /**
- * Getter for the myDragImage pointer
- */
- myDragImage* GetDragImage() {
- return m_dragImage;
- }
-
- /**
- * Get a unique id for a breakpoint, to use when the debugger isn't running
- */
- int GetNextID() { return ++NextInternalID; }
-
- /**
- * Save session
- */
- void SaveSession(SessionEntry& session);
-
- /**
- * Load session
- */
- void LoadSession(const SessionEntry& session);
-};
-
-class myDragImage : public wxDragImage, public wxEvtHandler
-{
- LEditor* editor;
- wxBitmap bitmap;
- std::vector<BreakpointInfo> lineBPs;
- int m_startx; // The initial x position
- wxCursor oldcursor;
-
-public:
- myDragImage(LEditor* ed, wxBitmap bitmap, std::vector<BreakpointInfo>& BPs);
- bool StartDrag();
- void OnMotion(wxMouseEvent& event);
- void OnEndDrag(wxMouseEvent& event);
-
-};
-#endif //BREAKPOINTS_MANAGER_H
diff --git a/LiteEditor/buidltab.cpp b/LiteEditor/buidltab.cpp
deleted file mode 100644
index 1a8a7be1..00000000
--- a/LiteEditor/buidltab.cpp
+++ /dev/null
@@ -1,764 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buidltab.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "precompiled_header.h"
-#include <wx/ffile.h>
-#include "globals.h"
-#include "plugin.h"
-#include <wx/regex.h>
-#include <wx/xrc/xmlres.h>
-#include <wx/wxscintilla.h>
-
-#include "macros.h"
-#include "editor_config.h"
-#include "frame.h"
-#include "buildtabsettingsdata.h"
-#include "regex_processor.h"
-#include "build_settings_config.h"
-#include "mainbook.h"
-#include "cl_editor.h"
-#include "manager.h"
-#include "project.h"
-#include "buidltab.h"
-#include "errorstab.h"
-
-//#define __PERFORMANCE
-#include "performance.h"
-
-// from sdk/wxscintilla/src/scintilla/src/LexGCC.cxx:
-extern void SetGccColourFunction ( int ( *colorfunc ) ( int, const char*, size_t&, size_t& ) );
-
-BuildTab *BuildTab::s_bt;
-
-BuildTab::BuildTab ( wxWindow *parent, wxWindowID id, const wxString &name )
- : OutputTabWindow ( parent, id, name )
- , m_showMe ( BuildTabSettingsData::ShowOnStart )
- , m_autoHide ( false )
- , m_skipWarnings ( true )
- , m_building ( false )
- , m_errorCount ( 0 )
- , m_warnCount ( 0 )
-{
- m_tb->RemoveTool ( XRCID ( "repeat_output" ) );
-
- m_tb->AddTool ( XRCID ( "advance_settings" ), wxT ( "Set compiler colours..." ),
- wxXmlResource::Get()->LoadBitmap ( wxT ( "colourise" ) ), wxT ( "Set compiler colours..." ) );
- Connect ( XRCID ( "advance_settings" ),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler ( BuildTab::OnCompilerColours ), NULL, this );
- m_tb->Realize();
-
- wxTheApp->Connect ( wxEVT_SHELL_COMMAND_STARTED, wxCommandEventHandler ( BuildTab::OnBuildStarted ), NULL, this );
- wxTheApp->Connect ( wxEVT_SHELL_COMMAND_STARTED_NOCLEAN, wxCommandEventHandler ( BuildTab::OnBuildStarted ), NULL, this );
- wxTheApp->Connect ( wxEVT_SHELL_COMMAND_ADDLINE, wxCommandEventHandler ( BuildTab::OnBuildAddLine ), NULL, this );
- wxTheApp->Connect ( wxEVT_SHELL_COMMAND_PROCESS_ENDED, wxCommandEventHandler ( BuildTab::OnBuildEnded ), NULL, this );
- wxTheApp->Connect ( wxEVT_WORKSPACE_LOADED, wxCommandEventHandler ( BuildTab::OnWorkspaceLoaded ), NULL, this );
- wxTheApp->Connect ( wxEVT_WORKSPACE_CLOSED, wxCommandEventHandler ( BuildTab::OnWorkspaceClosed ), NULL, this );
- wxTheApp->Connect ( wxEVT_EDITOR_CONFIG_CHANGED, wxCommandEventHandler ( BuildTab::OnConfigChanged ), NULL, this );
-
- wxTheApp->Connect ( XRCID ( "next_error" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler ( BuildTab::OnNextBuildError ), NULL, this );
- wxTheApp->Connect ( XRCID ( "next_error" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler ( BuildTab::OnNextBuildErrorUI ), NULL, this );
-
- wxTheApp->Connect ( wxEVT_ACTIVE_EDITOR_CHANGED, wxCommandEventHandler ( BuildTab::OnActiveEditorChanged ), NULL, this );
-
- s_bt = this;
- SetGccColourFunction ( ColorLine );
- Initialize();
-}
-
-BuildTab::~BuildTab()
-{
- s_bt = NULL;
- SetGccColourFunction ( NULL );
-}
-
-int BuildTab::ColorLine ( int, const char *text, size_t &start, size_t &len )
-{
- wxString txt(text, wxConvUTF8);
-
- if(txt.Contains(wxT("Entering directory"))) {
- return wxSCI_LEX_GCC_MAKE_ENTER;
- }
-
- if(txt.Contains(wxT("Leaving directory"))) {
- return wxSCI_LEX_GCC_MAKE_LEAVING;
- }
-
- std::map<wxString,int>::iterator i = s_bt->m_lineMap.find ( _U ( text ) );
- if ( i == s_bt->m_lineMap.end() )
- return wxSCI_LEX_GCC_OUTPUT;
- std::map<int,LineInfo>::iterator j = s_bt->m_lineInfo.find ( i->second );
- if ( j == s_bt->m_lineInfo.end() )
- return wxSCI_LEX_GCC_OUTPUT;
- start = j->second.filestart;
- len = j->second.filelen;
- return j->second.linecolor;
-}
-
-void BuildTab::Initialize()
-{
- BuildTabSettingsData options;
- EditorConfigST::Get()->ReadObject ( wxT ( "build_tab_settings" ), &options );
-
- m_showMe = options.GetShowBuildPane();
- m_autoHide = options.GetAutoHide();
- m_skipWarnings = options.GetSkipWarnings();
-
- m_autoAppear = (m_showMe == BuildTabSettingsData::ShowOnStart);
-
- SetStyles ( m_sci );
-}
-
-void BuildTab::SetStyles ( wxScintilla *sci )
-{
- BuildTabSettingsData options;
- EditorConfigST::Get()->ReadObject ( wxT ( "build_tab_settings" ), &options );
-
- InitStyle ( sci, wxSCI_LEX_GCC, true );
-
- sci->StyleSetForeground ( wxSCI_LEX_GCC_MAKE_ENTER, wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT) );
- sci->StyleSetBackground ( wxSCI_LEX_GCC_MAKE_ENTER, wxSystemSettings::GetColour (wxSYS_COLOUR_WINDOW ) );
-
- sci->StyleSetForeground ( wxSCI_LEX_GCC_MAKE_LEAVING, wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT) );
- sci->StyleSetBackground ( wxSCI_LEX_GCC_MAKE_LEAVING, wxSystemSettings::GetColour (wxSYS_COLOUR_WINDOW ) );
-
- sci->StyleSetForeground ( wxSCI_LEX_GCC_OUTPUT, wxT("BLACK") );
- sci->StyleSetBackground ( wxSCI_LEX_GCC_OUTPUT, wxSystemSettings::GetColour ( wxSYS_COLOUR_WINDOW ) );
-
- sci->StyleSetForeground ( wxSCI_LEX_GCC_BUILDING, wxT("BLACK") );
- sci->StyleSetBackground ( wxSCI_LEX_GCC_BUILDING, wxSystemSettings::GetColour ( wxSYS_COLOUR_WINDOW ) );
-
- sci->StyleSetForeground ( wxSCI_LEX_GCC_WARNING, options.GetWarnColour() );
- sci->StyleSetBackground ( wxSCI_LEX_GCC_WARNING, options.GetWarnColourBg() );
-
- sci->StyleSetForeground ( wxSCI_LEX_GCC_ERROR, options.GetErrorColour() );
- sci->StyleSetBackground ( wxSCI_LEX_GCC_ERROR, options.GetErrorColourBg() );
-
- sci->StyleSetForeground ( wxSCI_LEX_GCC_FILE_LINK, wxT ( "BLUE" ) );
-
- sci->StyleSetHotSpot ( wxSCI_LEX_GCC_FILE_LINK, true );
- sci->StyleSetHotSpot ( wxSCI_LEX_GCC_BUILDING, true );
-
- wxFont defFont = wxSystemSettings::GetFont ( wxSYS_DEFAULT_GUI_FONT );
- wxFont font ( defFont.GetPointSize(), wxFONTFAMILY_TELETYPE, wxNORMAL, wxNORMAL );
- wxFont bold ( defFont.GetPointSize(), wxFONTFAMILY_TELETYPE, wxNORMAL, wxFONTWEIGHT_BOLD );
-
- sci->StyleSetFont ( wxSCI_LEX_GCC_DEFAULT, font );
- sci->StyleSetFont ( wxSCI_LEX_GCC_OUTPUT, font );
- sci->StyleSetFont ( wxSCI_LEX_GCC_BUILDING, bold );
- sci->StyleSetFont ( wxSCI_LEX_GCC_FILE_LINK, font );
- sci->StyleSetFont ( wxSCI_LEX_GCC_WARNING, options.GetBoldWarnFont() ? bold : font );
- sci->StyleSetFont ( wxSCI_LEX_GCC_ERROR, options.GetBoldErrFont() ? bold : font );
- sci->StyleSetFont ( wxSCI_LEX_GCC_MAKE_ENTER, font );
- sci->StyleSetFont ( wxSCI_LEX_GCC_MAKE_LEAVING, font );
-
- sci->Colourise ( 0, sci->GetLength() );
-}
-
-void BuildTab::Clear()
-{
- OutputTabWindow::Clear();
- Initialize();
- m_lineInfo.clear();
- m_lineMap.clear();
- m_fileMap.clear();
- m_errorCount = 0;
- m_warnCount = 0;
- m_cmp.Reset ( NULL );
- Frame::Get()->GetOutputPane()->GetErrorsTab()->ClearLines();
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if ( editor ) {
- editor->AnnotationClearAll();
- editor->AnnotationSetVisible(0); // Hidden
- editor->DelAllCompilerMarkers();
- editor->Refresh();
- }
-}
-
-void BuildTab::AppendText ( const wxString &text )
-{
- int lineno = m_sci->GetLineCount()-1; // get line number before appending new text
- OutputTabWindow::AppendText ( text );
- int newLineno = m_sci->GetLineCount()-1; // Get the new line number
- int lineCount = newLineno - lineno;
- if(lineCount == 0) {
- // We are still at the same line number
- DoProcessLine(m_sci->GetLine(lineno), lineno);
- } else {
- for(int i=0; i<lineCount; i++) {
- DoProcessLine(m_sci->GetLine(lineno+i), lineno+i);
- }
- }
-}
-
-bool BuildTab::ExtractLineInfo ( LineInfo &info, const wxString &text, const wxRegEx &re, const wxString &fileidx, const wxString &lineidx )
-{
- long fidx, lidx;
- if ( !fileidx.ToLong ( &fidx ) || !lineidx.ToLong ( &lidx ) )
- return false;
-
- if ( !re.Matches ( text ) )
- return false;
-
- size_t start;
- size_t len;
- if ( re.GetMatch ( &start, &len, fidx ) ) {
- // sometimes we get leading spaces in the filename match
- while ( len > 0 && text[start] == wxT ( ' ' ) ) {
- start++;
- len--;
- }
- info.filestart = start;
- info.filelen = len;
-
- // find the actual workspace file (if possible)
- wxString filename = text.Mid( info.filestart, info.filelen).Trim().Trim(false);
- wxFileName fn(filename);
-
- // Use the current base dir
- wxString baseDir ( m_baseDir );
- if(baseDir.IsEmpty()) {
- ProjectPtr project = ManagerST::Get()->GetProject(info.project);
- if(project) {
- baseDir = project->GetFileName().GetPath();
- }
- }
-
- fn.Normalize(wxPATH_NORM_ALL & ~wxPATH_NORM_LONG, baseDir);
- info.filename = fn.GetFullPath();
- }
-
- if ( re.GetMatch ( &start, &len, lidx ) ) {
- text.Mid ( start, len ).ToLong ( &info.linenum );
- info.linenum--; // scintilla starts counting lines from 0
- }
- return true;
-}
-
-std::map<int,BuildTab::LineInfo>::iterator BuildTab::GetNextBadLine()
-{
- // start scanning from currently marked line
- int nFoundLine = m_sci->MarkerNext(0, 255);
- std::map<int,LineInfo>::iterator i = m_lineInfo.upper_bound ( nFoundLine );
- std::map<int,LineInfo>::iterator e = m_lineInfo.end();
- for ( ; i != e && i->second.linecolor != wxSCI_LEX_GCC_ERROR &&
- ( m_skipWarnings || i->second.linecolor != wxSCI_LEX_GCC_WARNING ); i++ ) { }
- if ( i == e ) {
- // wrap around to beginning
- i = m_lineInfo.begin();
- e = m_lineInfo.lower_bound ( nFoundLine );
- for ( ; i != e && i->second.linecolor != wxSCI_LEX_GCC_ERROR &&
- ( m_skipWarnings || i->second.linecolor != wxSCI_LEX_GCC_WARNING ); i++ ) { }
- }
- return i != e ? i : m_lineInfo.end();
-}
-
-void BuildTab::DoMarkAndOpenFile ( std::map<int,LineInfo>::iterator i, bool scrollToLine )
-{
- if ( i == m_lineInfo.end() )
- return;
-
- const LineInfo &info = i->second;
- if (info.linecolor != wxSCI_LEX_GCC_ERROR && info.linecolor != wxSCI_LEX_GCC_WARNING)
- return;
-
- wxFileName filename(info.filename);
-
- ProjectPtr project = ManagerST::Get()->GetProject(info.project);
- if(project) {
- filename.Normalize(wxPATH_NORM_ALL & ~wxPATH_NORM_LONG, project->GetFileName().GetPath());
- } else {
- filename.Normalize(wxPATH_NORM_ALL & ~wxPATH_NORM_LONG);
- }
-
- LEditor *editor = Frame::Get()->GetMainBook()->OpenFile ( filename.GetFullPath(), info.project, info.linenum );
- if (editor == NULL) {
- return;
- }
-
- // mark the current error/warning line in the output tab
- m_sci->MarkerDeleteAll ( 0x7 );
- m_sci->MarkerAdd ( i->first, 0x7 );
-
- if(scrollToLine)
- m_sci->ScrollToLine ( i->first );
-
- // mark it in the errors tab too
- Frame::Get()->GetOutputPane()->GetErrorsTab()->MarkLine ( i->first );
-}
-
-void BuildTab::MarkEditor ( LEditor *editor )
-{
- if ( !editor )
- return;
-
- editor->DelAllCompilerMarkers();
- editor->AnnotationClearAll();
- editor->AnnotationSetVisible(2); // Visible with box around it
-
- BuildTabSettingsData options;
- EditorConfigST::Get()->ReadObject(wxT("build_tab_settings"), &options);
-
- // Are annotations enabled?
- if( options.GetErrorWarningStyle() == BuildTabSettingsData::EWS_NoMarkers ) {
- return;
- }
-
- std::pair<std::multimap<wxString,int>::iterator,
- std::multimap<wxString,int>::iterator> iters = m_fileMap.equal_range(editor->GetFileName().GetFullPath());
- std::multimap<wxString,int>::iterator b = iters.first;
- std::multimap<wxString,int>::iterator e = iters.second;
- if (b == m_fileMap.end())
- return;
-
- std::set<wxString> uniqueSet;
- for (; b != e; b++ ) {
-
- // get the line info related to the BuildTab's line number (b->second)
- std::map<int,LineInfo>::iterator i = m_lineInfo.find ( b->second ) ;
-
- if ( i == m_lineInfo.end() )
- continue; // safety check -- should not normally happen
-
- int line_colour = i->second.linecolor;
- if ( line_colour == wxSCI_LEX_GCC_ERROR || line_colour == wxSCI_LEX_GCC_WARNING ) {
-
- wxMemoryBuffer style_bytes;
- LineInfo lineInfo = i->second;
-
- // For performance, dont add the exact same markers to the same line number/filename
- // with the exact same tip
- wxString tipMagic;
- tipMagic << lineInfo.linenum << lineInfo.linetext;
- if(uniqueSet.find(tipMagic) != uniqueSet.end()) {
- // we already reported the exact same tip for that line
- // skip this one
- continue;
- } else {
- // add it to the unique set
- uniqueSet.insert(tipMagic);
- }
-
- // format the tip
- int line_number = lineInfo.linenum;
- wxString tip = GetBuildToolTip(editor->GetFileName().GetFullPath(), line_number, style_bytes);
-
- // Set annotations
- if ( line_number >= 0 && options.GetErrorWarningStyle() & BuildTabSettingsData::EWS_Annotations ) {
- editor->AnnotationSetText (line_number, tip);
- editor->AnnotationSetStyles(line_number, style_bytes );
- }
-
- // Set compiler bookmarks
- if ( options.GetErrorWarningStyle() & BuildTabSettingsData::EWS_Bookmarks ) {
- if ( line_colour == wxSCI_LEX_GCC_ERROR ) {
- editor->SetErrorMarker( line_number );
- } else if ( line_colour == wxSCI_LEX_GCC_WARNING ) {
- editor->SetWarningMarker( line_number );
- }
- }
-
- }
-
- }
- editor->Refresh();
-}
-
-void BuildTab::OnClearAll ( wxCommandEvent &e )
-{
- Clear();
-}
-
-void BuildTab::OnClearAllUI ( wxUpdateUIEvent& e )
-{
- e.Enable ( m_sci->GetLength() > 0 && !m_building );
-}
-
-void BuildTab::OnRepeatOutput ( wxCommandEvent& e )
-{
- e.Skip();
-}
-
-void BuildTab::OnRepeatOutputUI ( wxUpdateUIEvent& e )
-{
- e.Enable ( m_sci->GetLength() > 0 && !m_building );
-}
-
-void BuildTab::OnBuildStarted ( wxCommandEvent &e )
-{
- e.Skip();
-
- m_building = true;
-
- // Clear all compiler parsing information
- m_compilerParseInfo.clear();
-
- // Loop over all known compilers and cache the regular expressions
- BuildSettingsConfigCookie cookie;
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetFirstCompiler(cookie);
- while( cmp ) {
- CompilerPatterns cmpPatterns;
- const Compiler::CmpListInfoPattern& errPatterns = cmp->GetErrPatterns();
- const Compiler::CmpListInfoPattern& warnPatterns = cmp->GetWarnPatterns();
- Compiler::CmpListInfoPattern::const_iterator iter;
- for (iter = errPatterns.begin(); iter != errPatterns.end(); iter++) {
-
- CompiledPatternPtr compiledPatternPtr(new CompiledPattern(new wxRegEx(iter->pattern), iter->fileNameIndex, iter->lineNumberIndex));
- if(compiledPatternPtr->regex->IsValid()) {
- cmpPatterns.errorsPatterns.push_back( compiledPatternPtr );
- }
- }
-
- for (iter = warnPatterns.begin(); iter != warnPatterns.end(); iter++) {
-
- CompiledPatternPtr compiledPatternPtr(new CompiledPattern(new wxRegEx(iter->pattern), iter->fileNameIndex, iter->lineNumberIndex));
- if(compiledPatternPtr->regex->IsValid()) {
- cmpPatterns.warningPatterns.push_back( compiledPatternPtr );
- }
- }
-
- m_compilerParseInfo[cmp->GetName()] = cmpPatterns;
- cmp = BuildSettingsConfigST::Get()->GetNextCompiler(cookie);
- }
-
- if ( e.GetEventType() != wxEVT_SHELL_COMMAND_STARTED_NOCLEAN ) {
- // Reset output and counters
- Clear();
- }
-
- AppendText ( BUILD_START_MSG );
-// Frame::Get()->SetStatusMessage ( e.GetString(), 3, XRCID ( "build" ) );
- OutputPane *opane = Frame::Get()->GetOutputPane();
- if (m_showMe == BuildTabSettingsData::ShowOnEnd &&
- m_autoHide &&
- ManagerST::Get()->IsPaneVisible(opane->GetCaption()) &&
- (opane->GetNotebook()->GetCurrentPage() == this ||
- opane->GetNotebook()->GetCurrentPage() == opane->GetErrorsTab())) {
- // user prefers to see build/errors tabs only at end of unsuccessful build
- ManagerST::Get()->HidePane(opane->GetName());
- }
- m_sw.Start();
-
- // notify the plugins that the build had started
- PostCmdEvent(wxEVT_BUILD_STARTED);
-}
-
-void BuildTab::OnBuildAddLine ( wxCommandEvent &e )
-{
- e.Skip();
- AppendText ( e.GetString() );
-// if (e.GetInt() == QueueCommand::CustomBuild && e.GetString().Contains(BUILD_PROJECT_PREFIX) && !m_lineInfo.empty()) {
-// // try to show more specific progress in custom builds
-// LineInfo &info = m_lineInfo.rbegin()->second;
-// Frame::Get()->SetStatusMessage(wxString::Format(wxT("Building %s (%s)"),
-// info.project.c_str(), info.configuration.c_str()), 3, XRCID("build"));
-// }
-}
-
-void BuildTab::OnBuildEnded ( wxCommandEvent &e )
-{
- e.Skip();
-
- m_building = false;
- AppendText (BUILD_END_MSG);
-
- wxString term = wxString::Format ( wxT ( "%d errors, %d warnings" ), m_errorCount, m_warnCount );
- long elapsed = m_sw.Time() / 1000;
- if ( elapsed > 10 ) {
- long sec = elapsed % 60;
- long hours = elapsed / 3600;
- long minutes = ( elapsed % 3600 ) / 60;
- term << wxString::Format ( wxT ( ", total time: %02d:%02d:%02d seconds" ), hours, minutes, sec );
-
- }
- term << wxT ( '\n' );
- AppendText ( term );
-
-// Frame::Get()->SetStatusMessage ( wxEmptyString, 3, XRCID ( "build" ) );
-
- bool success = m_errorCount == 0 && ( m_skipWarnings || m_warnCount == 0 );
- bool viewing = ManagerST::Get()->IsPaneVisible ( Frame::Get()->GetOutputPane()->GetCaption() ) &&
- ( Frame::Get()->GetOutputPane()->GetNotebook()->GetCurrentPage() == this ||
- Frame::Get()->GetOutputPane()->GetNotebook()->GetCurrentPage() ==
- Frame::Get()->GetOutputPane()->GetErrorsTab() );
-
- if ( !success ) {
- if ( viewing ) {
- std::map<int,LineInfo>::iterator i = GetNextBadLine();
- m_sci->GotoLine ( i->first-1 ); // minus one line so user can type F4 to open the first error
- } else {
- ManagerST::Get()->ShowOutputPane ( Frame::Get()->GetOutputPane()->GetErrorsTab()->GetCaption() );
- }
- } else if ( m_autoHide && viewing ) {
- ManagerST::Get()->HidePane ( Frame::Get()->GetOutputPane()->GetCaption() );
- } else if ( m_showMe == BuildTabSettingsData::ShowOnEnd && !m_autoHide ) {
- ManagerST::Get()->ShowOutputPane ( m_name );
- }
-
- MarkEditor ( Frame::Get()->GetMainBook()->GetActiveEditor() );
-
- // notify the plugins that the build had ended
- PostCmdEvent(wxEVT_BUILD_ENDED);
-}
-
-void BuildTab::OnWorkspaceLoaded ( wxCommandEvent &e )
-{
- e.Skip();
- Clear();
-}
-
-void BuildTab::OnWorkspaceClosed ( wxCommandEvent &e )
-{
- e.Skip();
- Clear();
-}
-
-void BuildTab::OnConfigChanged ( wxCommandEvent &e )
-{
- e.Skip();
- const wxString *config = ( const wxString * ) e.GetClientData();
- if ( config && *config == wxT ( "build_tab_settings" ) ) {
- Initialize();
- Frame::Get()->GetOutputPane()->GetErrorsTab()->OnRedisplayLines ( e );
- }
-}
-
-void BuildTab::OnCompilerColours ( wxCommandEvent &e )
-{
- // tell Frame to open Advance Settings dlg on compiler colors page
- e.SetInt ( 1 );
- e.Skip();
-}
-
-void BuildTab::OnNextBuildError ( wxCommandEvent &e )
-{
- wxUnusedVar ( e );
- if ( (m_errorCount > 0) || (!m_skipWarnings && m_warnCount > 0) ) {
- std::map<int,LineInfo>::iterator i = GetNextBadLine();
- if ( i != m_lineInfo.end() ) {
- wxString showpane = m_name;
- if ( Frame::Get()->GetOutputPane()->GetNotebook()->GetCurrentPage() ==
- Frame::Get()->GetOutputPane()->GetErrorsTab() ) {
- showpane = Frame::Get()->GetOutputPane()->GetErrorsTab()->GetCaption();
- }
- ManagerST::Get()->ShowOutputPane ( showpane );
- DoMarkAndOpenFile ( i, true );
- }
- }
-}
-
-void BuildTab::OnNextBuildErrorUI ( wxUpdateUIEvent &e )
-{
- e.Enable ( (m_errorCount > 0) || (!m_skipWarnings && m_warnCount > 0) );
-}
-
-void BuildTab::OnActiveEditorChanged ( wxCommandEvent &e )
-{
- e.Skip();
- MarkEditor ( Frame::Get()->GetMainBook()->GetActiveEditor() );
-}
-
-void BuildTab::OnMouseDClick ( wxScintillaEvent &e )
-{
- PERF_START("BuildTab::OnMouseDClick");
-
- int pos = e.GetPosition();
- int style = m_sci->GetStyleAt(pos);
- int line = m_sci->LineFromPosition(pos);
-
- if ( style == wxSCI_LEX_GCC_BUILDING ) {
- m_sci->ToggleFold ( line );
- m_sci->SetSelection ( wxNOT_FOUND, pos );
-
- } else {
- PERF_BLOCK("DoMarkAndOpenFile") {
- DoMarkAndOpenFile ( m_lineInfo.find ( m_sci->LineFromPosition ( e.GetPosition() ) ), false );
- }
- }
- PERF_END();
-}
-
-wxString BuildTab::GetBuildToolTip(const wxString& fileName, int lineno, wxMemoryBuffer &styleBits)
-{
- std::pair<std::multimap<wxString,int>::iterator,
- std::multimap<wxString,int>::iterator> iters = m_fileMap.equal_range(fileName);
-
- std::multimap<wxString,int>::iterator i1 = iters.first;
- std::multimap<wxString,int>::iterator i2 = iters.second;
-
- if(i1 == m_fileMap.end())
- return wxEmptyString;
-
- wxString tip;
- for ( ; i1 != i2; i1++ ) {
- std::map<int,LineInfo>::iterator i = m_lineInfo.find ( i1->second ) ;
- if ( i != m_lineInfo.end() && i->second.linenum == lineno && (i->second.linecolor == wxSCI_LEX_GCC_ERROR || i->second.linecolor == wxSCI_LEX_GCC_WARNING )) {
- wxString text = i->second.linetext.Mid(i->second.filestart+i->second.filelen);
- if (!text.IsEmpty() && text[0] == wxT(':')) {
- text.erase(0, 1);
- }
-
- wxString tmpTip (wxT(" ") + text.Trim(false).Trim() + wxT("\n"));
-
-#if defined(__WXGTK__) || defined (__WXMAC__)
- // Remove any non ascii characters from the tip
- wxString asciiTip;
-
- for(size_t at=0; at<tmpTip.Length(); at++) {
- if( isprint((char)tmpTip.GetChar(at) ) || tmpTip.GetChar(at) == wxT('\n') ) {
- asciiTip.Append( tmpTip.GetChar(at) );
- }
- }
-
- tmpTip = asciiTip;
- tmpTip.Replace(wxT("\r"), wxT(""));
- tmpTip.Replace(wxT("\t"), wxT(" "));
-#endif
- if( tip.Contains(tmpTip) == false ) {
- for(size_t j=0; j<tmpTip.Length(); j++) {
- if( i->second.linecolor == wxSCI_LEX_GCC_WARNING ) {
- styleBits.AppendByte((char)eAnnotationStyleWarning);
- } else {
- styleBits.AppendByte((char)eAnnotationStyleError);
- }
- }
- tip << tmpTip;
- }
-
- }
- }
-
- if(tip.IsEmpty() == false) {
- tip.RemoveLast();
- styleBits.SetDataLen( styleBits.GetDataLen()-1 );
- }
-
- return tip ;
-}
-
-void BuildTab::DoProcessLine(const wxString& text, int lineno)
-{
- LineInfo info;
- info.linetext = text;
-
- if ( text.Contains ( BUILD_PROJECT_PREFIX ) ) {
- // now building the next project
- wxString prj = text.AfterFirst ( wxT ( '[' ) ).BeforeFirst ( wxT ( ']' ) );
- info.project = prj.BeforeFirst ( wxT ( '-' ) ).Trim ( false ).Trim();
- info.configuration = prj.AfterFirst ( wxT ( '-' ) ).Trim ( false ).Trim();
- info.linecolor = wxSCI_LEX_GCC_BUILDING;
- m_cmp.Reset ( NULL );
- // need to know the compiler in use for this project to extract
- // file/line and error/warning status from the text
- ProjectPtr proj = ManagerST::Get()->GetProject ( info.project );
- if ( proj ) {
- ProjectSettingsPtr settings = proj->GetSettings();
- if ( settings ) {
- BuildConfigPtr bldConf = settings->GetBuildConfiguration ( info.configuration );
- if ( !bldConf ) {
- // no buildconf matching the named conf, so use first buildconf instead
- ProjectSettingsCookie cookie;
- bldConf = settings->GetFirstBuildConfiguration ( cookie );
- }
- if ( bldConf ) {
- m_cmp = BuildSettingsConfigST::Get()->GetCompiler ( bldConf->GetCompilerType() );
- }
- }
- } else {
- // probably custom build with project names incorret
- // assign the default compiler for this purpose
- if ( BuildSettingsConfigST::Get()->IsCompilerExist(wxT("gnu g++")) ) {
- m_cmp = BuildSettingsConfigST::Get()->GetCompiler( wxT("gnu g++") );
- }
- }
- } else if ( !m_lineInfo.empty() ) {
- // consider this line part of the currently building project
- info.project = m_lineInfo.rbegin()->second.project;
- info.configuration = m_lineInfo.rbegin()->second.configuration;
- }
-
- // check for start-of-build or end-of-build messages
- if ( text.StartsWith ( BUILD_START_MSG ) || text.StartsWith ( BUILD_END_MSG ) ) {
- info.linecolor = wxSCI_LEX_GCC_BUILDING;
- }
-
- // Check for makefile directory changes lines
- if(text.Contains(wxT("Entering directory `"))) {
- wxString currentDir = text.AfterFirst(wxT('`'));
- currentDir = currentDir.BeforeLast(wxT('\''));
- m_baseDir = currentDir;
- }
-
- if ( info.linecolor == wxSCI_LEX_GCC_BUILDING || !m_cmp ) {
- // no more line info to get
- } else {
-
- // Find *warnings* first
- bool isWarning = false;
-
- CompilerPatterns cmpPatterns;
- if(!GetCompilerPatterns(m_cmp->GetName(), cmpPatterns)) {
- return;
- }
-
- // If it is not an error, maybe it's a warning
- for(size_t i=0; i<cmpPatterns.warningPatterns.size(); i++) {
- CompiledPatternPtr cmpPatterPtr = cmpPatterns.warningPatterns.at(i);
- if ( ExtractLineInfo(info, text, *(cmpPatterPtr->regex), cmpPatterPtr->fileIndex, cmpPatterPtr->lineIndex) ) {
- info.linecolor = wxSCI_LEX_GCC_WARNING;
- m_warnCount++;
- isWarning = true;
- break;
- }
- }
-
- if ( !isWarning ) {
- for(size_t i=0; i<cmpPatterns.errorsPatterns.size(); i++) {
- CompiledPatternPtr cmpPatterPtr = cmpPatterns.errorsPatterns.at(i);
- if ( ExtractLineInfo(info, text, *(cmpPatterPtr->regex), cmpPatterPtr->fileIndex, cmpPatterPtr->lineIndex) ) {
- info.linecolor = wxSCI_LEX_GCC_ERROR;
- m_errorCount++;
- break;
- }
- }
- }
- }
-
- if ( info.linecolor != wxSCI_LEX_GCC_OUTPUT ) {
- m_lineInfo[lineno] = info;
- m_lineMap[text] = lineno;
- if (!info.filename.IsEmpty() && (info.linecolor == wxSCI_LEX_GCC_ERROR || info.linecolor == wxSCI_LEX_GCC_WARNING)) {
- m_fileMap.insert(std::make_pair(info.filename, lineno));
- }
- Frame::Get()->GetOutputPane()->GetErrorsTab()->AppendLine ( lineno );
- }
-}
-
-bool BuildTab::GetCompilerPatterns(const wxString& compilerName, CompilerPatterns& patterns)
-{
- std::map<wxString, CompilerPatterns>::iterator iter = m_compilerParseInfo.find(compilerName);
- if(iter == m_compilerParseInfo.end()) {
- return false;
- }
- patterns = iter->second;
- return true;
-}
diff --git a/LiteEditor/buidltab.h b/LiteEditor/buidltab.h
deleted file mode 100644
index e2c8e33d..00000000
--- a/LiteEditor/buidltab.h
+++ /dev/null
@@ -1,144 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buidltab.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __buidltab__
-#define __buidltab__
-
-#include <map>
-#include <vector>
-#include <wx/regex.h>
-#include <wx/filename.h>
-#include <wx/stopwatch.h>
-#include "outputtabwindow.h"
-#include "compiler.h"
-#include "buildtabsettingsdata.h"
-
-class LEditor;
-
-class CompiledPattern
-{
-public:
- wxRegEx* regex;
- wxString fileIndex;
- wxString lineIndex;
-
-public:
- CompiledPattern(wxRegEx *re, const wxString &file, const wxString &line)
- : regex(re)
- , fileIndex(file)
- , lineIndex(line) {}
-
- ~CompiledPattern() {
- if (regex) {
- delete regex;
- regex = NULL;
- }
- }
-};
-
-typedef SmartPtr<CompiledPattern> CompiledPatternPtr;
-
-struct CompilerPatterns {
- std::vector<CompiledPatternPtr> errorsPatterns;
- std::vector<CompiledPatternPtr> warningPatterns;
-};
-
-class BuildTab : public OutputTabWindow
-{
- friend class ErrorsTab;
-
-private:
- /**
- * Tracks an "important" line in the build log (error, warning, etc)
- */
- struct LineInfo {
- LineInfo()
- : linenum(0), linecolor(wxSCI_LEX_GCC_OUTPUT), filestart(0), filelen(0) { }
- wxString project;
- wxString configuration;
- wxString linetext;
- wxString filename;
- long linenum;
- int linecolor;
- size_t filestart;
- size_t filelen;
- };
-
-private:
- std::map<int, LineInfo> m_lineInfo;
- std::map<wxString, int> m_lineMap;
- std::multimap<wxString,int> m_fileMap;
- int m_showMe;
- bool m_autoHide;
- bool m_skipWarnings;
- bool m_building;
- int m_errorCount;
- int m_warnCount;
- CompilerPtr m_cmp; // compiler in use during currently building project
- wxStopWatch m_sw; // times the entire build
- static BuildTab * s_bt; // self reference for ColorLine to access the m_line* maps
- std::map<wxString, CompilerPatterns> m_compilerParseInfo;
- wxString m_baseDir;
-
-private:
- static int ColorLine(int, const char *text, size_t &start, size_t &len);
- static void SetStyles(wxScintilla *sci);
-
- void Initialize ();
- void DoMarkAndOpenFile (std::map<int,LineInfo>::iterator i, bool scrollToLine);
- bool ExtractLineInfo (LineInfo &info, const wxString &text, const wxRegEx &re, const wxString &fileidx, const wxString &lineidx);
- bool GetCompilerPatterns(const wxString &compilerName, CompilerPatterns &patterns);
- void DoProcessLine (const wxString &text, int lineno);
- void MarkEditor (LEditor *editor);
- std::map<int,LineInfo>::iterator GetNextBadLine();
-
- // Event handlers
- void OnActiveEditorChanged(wxCommandEvent &e);
- void OnBuildStarted (wxCommandEvent &e);
- void OnBuildAddLine (wxCommandEvent &e);
- void OnBuildEnded (wxCommandEvent &e);
- void OnWorkspaceLoaded (wxCommandEvent &e);
- void OnWorkspaceClosed (wxCommandEvent &e);
- void OnConfigChanged (wxCommandEvent &e);
- void OnCompilerColours (wxCommandEvent &e);
- void OnClearAll (wxCommandEvent &e);
- void OnRepeatOutput (wxCommandEvent &e);
- void OnNextBuildError (wxCommandEvent &e);
- void OnClearAllUI (wxUpdateUIEvent &e);
- void OnRepeatOutputUI (wxUpdateUIEvent &e);
- void OnNextBuildErrorUI (wxUpdateUIEvent &e);
- void OnMouseDClick (wxScintillaEvent &e);
-protected:
- void Clear();
- void AppendText(const wxString &text);
-
-public:
- BuildTab(wxWindow *parent, wxWindowID id, const wxString &name);
- ~BuildTab();
-
- wxString GetBuildToolTip(const wxString &fileName, int lineno, wxMemoryBuffer &styleBits);
-
- bool GetBuildEndedSuccessfully() const {return m_errorCount == 0;}
-};
-#endif // __buidltab__
diff --git a/LiteEditor/build_page.cpp b/LiteEditor/build_page.cpp
deleted file mode 100644
index 958e0671..00000000
--- a/LiteEditor/build_page.cpp
+++ /dev/null
@@ -1,193 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : build_page.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "build_page.h"
-#include "build_settings_config.h"
-#include "editor_config.h"
-#include "buildmanager.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-BuildPage::BuildPage( wxWindow* parent, int id, wxPoint pos, wxSize size, int style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticText = new wxStaticText( this, wxID_ANY, wxT("Available Build Systems:"), wxDefaultPosition, wxDefaultSize, 0 );
- mainSizer->Add( m_staticText, 0, wxALL, 5 );
-
- m_bookBuildSystems = new wxChoicebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxCHB_DEFAULT );
- mainSizer->Add( m_bookBuildSystems, 0, wxEXPAND | wxALL, 5 );
-
- m_fixOnStartup = new wxCheckBox(this, wxID_ANY, wxT("Fix build tool path on startup"));
- mainSizer->Add( m_fixOnStartup, 0, wxEXPAND | wxALL, 5 );
-
- m_useFullPaths = new wxCheckBox(this, wxID_ANY, wxT("When compiling, pass absolute path of the file to the compiler"));
- mainSizer->Add( m_useFullPaths, 0, wxEXPAND | wxALL, 5 );
-
- long fix(1);
- EditorConfigST::Get()->GetLongValue(wxT("FixBuildToolOnStartup"), fix);
- m_fixOnStartup->SetValue(fix ? true : false);
-
- long use_full_path(1);
- EditorConfigST::Get()->GetLongValue(wxT("GenerateFullPathMakefile"), use_full_path);
- m_useFullPaths->SetValue(use_full_path ? true : false);
-
- this->SetSizer( mainSizer );
- this->Layout();
- CustomInit();
-}
-
-void BuildPage::CustomInit()
-{
- //rest of builders list
- std::list<wxString> builders;
- BuildManagerST::Get()->GetBuilders(builders);
-
- std::list<wxString>::iterator iter = builders.begin();
- for(; iter != builders.end(); iter++){
- BuilderPtr builder = BuildManagerST::Get()->GetBuilder(*iter);
- m_bookBuildSystems->AddPage(CreateBuildSystemPage(*iter), *iter, builder->IsActive());
- }
-}
-
-wxPanel *BuildPage::CreateBuildSystemPage(const wxString &name)
-{
- return new BuildSystemPage(m_bookBuildSystems, name);
-}
-
-void BuildPage::Save()
-{
- // save the "fix on startup" flag
- EditorConfigST::Get()->SaveLongValue(wxT("FixBuildToolOnStartup"), m_fixOnStartup->IsChecked() ? 1 : 0);
- EditorConfigST::Get()->SaveLongValue(wxT("GenerateFullPathMakefile"), m_useFullPaths->IsChecked() ? 1 : 0);
-
- // Save current page displayed as 'selected' builder
- int sel = (int) m_bookBuildSystems->GetSelection();
-
- //wxLogMessage(wxString::Format( wxT("selection:%d"), sel ));
- BuildSystemPage *page = dynamic_cast<BuildSystemPage*>(m_bookBuildSystems->GetPage(sel));
- if (page) {
- page->SetSelected();
- }
-
- int count = (int)m_bookBuildSystems->GetPageCount();
- for(int i=0; i<count; i++){
- BuildSystemPage *page = dynamic_cast<BuildSystemPage*>(m_bookBuildSystems->GetPage(i));
- if(page){
- page->Save();
- }
- }
-}
-
-//---------------------------------------------------------------
-// Build system page
-//---------------------------------------------------------------
-BuildSystemPage::BuildSystemPage(wxWindow *parent, wxString name)
-: wxPanel(parent)
-, m_name(name)
-{
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer4;
- fgSizer4 = new wxFlexGridSizer( 2, 0, 0 );
- fgSizer4->SetFlexibleDirection( wxBOTH );
- fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText17 = new wxStaticText( this, wxID_ANY, wxT("Build Tool:"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_staticText17, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_filePicker = new FilePicker(this);
- fgSizer4->Add( m_filePicker, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText18 = new wxStaticText( this, wxID_ANY, wxT("Build Tool Switches:"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_staticText18, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textBuildToolOptions = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textBuildToolOptions, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText19 = new wxStaticText( this, wxID_ANY, wxT("No. of concurrent jobs:"), wxDefaultPosition, wxDefaultSize, 0);
- fgSizer4->Add( m_staticText19, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5);
-
- wxArrayString choices;
- choices.Add(wxT("1"));
- choices.Add(wxT("2"));
- choices.Add(wxT("3"));
- choices.Add(wxT("4"));
- choices.Add(wxT("unlimited"));
- //choices.Add(wxT("unspecified")); // TODO: hops enable this and use to suppress -j opt switch
- m_choiceJobs = new wxComboBox(this, wxID_ANY, wxT("1"), wxDefaultPosition, wxDefaultSize, choices, wxCB_READONLY);
- fgSizer4->Add( m_choiceJobs, 1, wxALL|wxEXPAND, 5);
- fgSizer4->AddGrowableCol( 1 );
-
- bSizer6->Add( fgSizer4, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer6 );
- this->Layout();
-
- //set the default build tool path
- m_filePicker->SetPath(BuildManagerST::Get()->GetBuilder(name)->GetBuildToolName());
- m_textBuildToolOptions->SetValue(BuildManagerST::Get()->GetBuilder(name)->GetBuildToolOptions());
- m_choiceJobs->SetValue(BuildManagerST::Get()->GetBuilder(name)->GetBuildToolJobs());
-}
-
-void BuildSystemPage::Save()
-{
- //update cached builders
- BuilderPtr builder = BuildManagerST::Get()->GetBuilder(m_name);
- builder->SetBuildTool(m_filePicker->GetPath());
- builder->SetBuildToolOptions(m_textBuildToolOptions->GetValue());
- builder->SetBuildToolJobs(m_choiceJobs->GetValue());
- BuildManagerST::Get()->AddBuilder(builder);
-
- // Save the configuration
- BuildSettingsConfigST::Get()->SaveBuilderConfig(builder);
-}
-
-void BuildSystemPage::SetSelected()
-{
- BuilderPtr builder = BuildManagerST::Get()->GetBuilder(m_name);
- builder->SetActive();
-}
diff --git a/LiteEditor/build_page.h b/LiteEditor/build_page.h
deleted file mode 100644
index ebf9111a..00000000
--- a/LiteEditor/build_page.h
+++ /dev/null
@@ -1,81 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : build_page.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __build_page__
-#define __build_page__
-
-#include <wx/wx.h>
-
-#include <wx/choicebk.h>
-#include "wx/panel.h"
-#include "filepicker.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class BuildPage
-///////////////////////////////////////////////////////////////////////////////
-class BuildPage : public wxPanel
-{
-private:
-
-protected:
- wxStaticText* m_staticText;
- wxChoicebook* m_bookBuildSystems;
- wxCheckBox *m_fixOnStartup;
- wxCheckBox *m_useFullPaths;
-
- void CustomInit();
- wxPanel *CreateBuildSystemPage(const wxString &name);
-
-public:
- BuildPage( wxWindow* parent, int id = wxID_ANY, wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 500,300 ), int style = wxTAB_TRAVERSAL );
- void Save();
-};
-
-class BuildSystemPage : public wxPanel {
- wxStaticText* m_staticText17;
- FilePicker* m_filePicker;
- wxStaticText* m_staticText18;
- wxTextCtrl* m_textBuildToolOptions;
- wxString m_name;
- wxStaticText* m_staticText19;
- wxComboBox* m_choiceJobs;
-
-public:
- BuildSystemPage(wxWindow *parent, wxString name);
- virtual ~BuildSystemPage(){}
-
- void Save();
- void SetSelected();
-};
-#endif //__build_page__
diff --git a/LiteEditor/buildorderbasepage.cpp b/LiteEditor/buildorderbasepage.cpp
deleted file mode 100644
index 4a110868..00000000
--- a/LiteEditor/buildorderbasepage.cpp
+++ /dev/null
@@ -1,148 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buildorderbasepage.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "buildorderbasepage.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-DependenciesPageBase::DependenciesPageBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Select build order for configuration:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- sbSizer1->Add( m_staticText3, 0, wxALL, 5 );
-
- wxArrayString m_choiceProjectConfigChoices;
- m_choiceProjectConfig = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceProjectConfigChoices, 0 );
- m_choiceProjectConfig->SetSelection( 0 );
- sbSizer1->Add( m_choiceProjectConfig, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bSizer31;
- bSizer31 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("Projects:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer31->Add( m_staticText1, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxArrayString m_checkListProjectListChoices;
- m_checkListProjectList = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListProjectListChoices, 0 );
- bSizer31->Add( m_checkListProjectList, 1, wxEXPAND|wxALL, 5 );
-
- bSizer3->Add( bSizer31, 5, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Build Order:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bSizer4->Add( m_staticText2, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* bSizer11;
- bSizer11 = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- m_listBoxBuildOrder = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- bSizer5->Add( m_listBoxBuildOrder, 1, wxEXPAND|wxALL, 5 );
-
- bSizer11->Add( bSizer5, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonDown = new wxButton( this, wxID_ANY, wxT("Down"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_buttonDown, 0, wxALL, 5 );
-
- m_buttonUp = new wxButton( this, wxID_ANY, wxT("Up"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_buttonUp, 0, wxALL, 5 );
-
- bSizer6->Add( bSizer8, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonApply = new wxButton( this, wxID_ANY, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_buttonApply, 0, wxALL, 5 );
-
- bSizer6->Add( bSizer7, 0, 0, 5 );
-
- bSizer11->Add( bSizer6, 0, wxEXPAND, 5 );
-
- bSizer4->Add( bSizer11, 1, wxEXPAND, 5 );
-
- bSizer3->Add( bSizer4, 6, wxEXPAND, 5 );
-
- sbSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
-
- this->SetSizer( sbSizer1 );
- this->Layout();
-
- // Connect Events
- m_choiceProjectConfig->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DependenciesPageBase::OnConfigChanged ), NULL, this );
- m_checkListProjectList->Connect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( DependenciesPageBase::OnCheckListItemToggled ), NULL, this );
- m_buttonDown->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DependenciesPageBase::OnMoveDown ), NULL, this );
- m_buttonUp->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DependenciesPageBase::OnMoveUp ), NULL, this );
- m_buttonApply->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DependenciesPageBase::OnApplyButton ), NULL, this );
- m_buttonApply->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DependenciesPageBase::OnApplyButtonUI ), NULL, this );
-}
-
-DependenciesPageBase::~DependenciesPageBase()
-{
- // Disconnect Events
- m_choiceProjectConfig->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DependenciesPageBase::OnConfigChanged ), NULL, this );
- m_checkListProjectList->Disconnect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( DependenciesPageBase::OnCheckListItemToggled ), NULL, this );
- m_buttonDown->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DependenciesPageBase::OnMoveDown ), NULL, this );
- m_buttonUp->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DependenciesPageBase::OnMoveUp ), NULL, this );
- m_buttonApply->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DependenciesPageBase::OnApplyButton ), NULL, this );
- m_buttonApply->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DependenciesPageBase::OnApplyButtonUI ), NULL, this );
-}
diff --git a/LiteEditor/buildorderbasepage.h b/LiteEditor/buildorderbasepage.h
deleted file mode 100644
index 0bfac089..00000000
--- a/LiteEditor/buildorderbasepage.h
+++ /dev/null
@@ -1,86 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buildorderbasepage.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __buildorderbasepage__
-#define __buildorderbasepage__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/choice.h>
-#include <wx/checklst.h>
-#include <wx/sizer.h>
-#include <wx/listbox.h>
-#include <wx/button.h>
-#include <wx/statbox.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DependenciesPageBase
-///////////////////////////////////////////////////////////////////////////////
-class DependenciesPageBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText3;
- wxChoice* m_choiceProjectConfig;
- wxStaticText* m_staticText1;
- wxCheckListBox* m_checkListProjectList;
- wxStaticText* m_staticText2;
- wxListBox* m_listBoxBuildOrder;
- wxButton* m_buttonDown;
- wxButton* m_buttonUp;
- wxButton* m_buttonApply;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnConfigChanged( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckListItemToggled( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnMoveDown( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnMoveUp( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnApplyButton( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnApplyButtonUI( wxUpdateUIEvent& event ){ event.Skip(); }
-
-
- public:
- DependenciesPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 810,492 ), long style = wxTAB_TRAVERSAL );
- ~DependenciesPageBase();
-
-};
-
-#endif //__buildorderbasepage__
diff --git a/LiteEditor/buildsettingstab.cpp b/LiteEditor/buildsettingstab.cpp
deleted file mode 100644
index 9e442eb3..00000000
--- a/LiteEditor/buildsettingstab.cpp
+++ /dev/null
@@ -1,72 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buildsettingstab.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "frame.h"
-#include "buidltab.h"
-#include "buildsettingstab.h"
-#include "buildtabsettingsdata.h"
-#include "editor_config.h"
-
-BuildTabSetting::BuildTabSetting( wxWindow* parent )
- : BuildTabSettingsBase( parent )
-{
- BuildTabSettingsData options;
- EditorConfigST::Get()->ReadObject(wxT("build_tab_settings"), &options);
- m_checkBoxSkipeWarnings->SetValue( options.GetSkipWarnings() );
- m_colourPickerError->SetColour(options.GetErrorColourBg());
- m_colourPickerWarnings->SetColour(options.GetWarnColourBg());
- m_colourPickerErrorFg->SetColour(options.GetErrorColour());
- m_colourPickerWarningsFg->SetColour(options.GetWarnColour());
- m_checkBoxBoldErrFont->SetValue(options.GetBoldErrFont());
- m_checkBoxBoldWarnFont->SetValue(options.GetBoldWarnFont());
- m_radioBoxShowBuildTab->Select(options.GetShowBuildPane());
- m_checkBoxAutoHide->SetValue(options.GetAutoHide());
- m_checkBoxDisplayAnnotations->SetValue(options.GetErrorWarningStyle() & BuildTabSettingsData::EWS_Annotations);
- m_checkBoxDisplayMarkers->SetValue(options.GetErrorWarningStyle() & BuildTabSettingsData::EWS_Bookmarks);
-}
-
-void BuildTabSetting::Save()
-{
- BuildTabSettingsData options;
- options.SetErrorColourBg(m_colourPickerError->GetColour().GetAsString(wxC2S_HTML_SYNTAX));
- options.SetWarnColourBg(m_colourPickerWarnings->GetColour().GetAsString(wxC2S_HTML_SYNTAX));
- options.SetErrorColour(m_colourPickerErrorFg->GetColour().GetAsString(wxC2S_HTML_SYNTAX));
- options.SetWarnColour(m_colourPickerWarningsFg->GetColour().GetAsString(wxC2S_HTML_SYNTAX));
- options.SetSkipWarnings(m_checkBoxSkipeWarnings->IsChecked());
- options.SetBoldErrFont(m_checkBoxBoldErrFont->IsChecked());
- options.SetBoldWarnFont(m_checkBoxBoldWarnFont->IsChecked());
- options.SetShowBuildPane(m_radioBoxShowBuildTab->GetSelection());
- options.SetAutoHide(m_checkBoxAutoHide->IsChecked());
-
- int flag (BuildTabSettingsData::EWS_NoMarkers);
- if ( m_checkBoxDisplayAnnotations->IsChecked() ) {
- flag |= BuildTabSettingsData::EWS_Annotations;
- }
- if ( m_checkBoxDisplayMarkers->IsChecked() ) {
- flag |= BuildTabSettingsData::EWS_Bookmarks;
- }
-
- options.SetErrorWarningStyle( flag );
- EditorConfigST::Get()->WriteObject(wxT("build_tab_settings"), &options);
-}
diff --git a/LiteEditor/buildsettingstab.h b/LiteEditor/buildsettingstab.h
deleted file mode 100644
index a056366e..00000000
--- a/LiteEditor/buildsettingstab.h
+++ /dev/null
@@ -1,44 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buildsettingstab.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __buildsettingstab__
-#define __buildsettingstab__
-
-/**
-@file
-Subclass of BuildTabSettingsBase, which is generated by wxFormBuilder.
-*/
-
-#include "buildsettingstabbase.h"
-
-/** Implementing BuildTabSettingsBase */
-class BuildTabSetting : public BuildTabSettingsBase
-{
-public:
- /** Constructor */
- BuildTabSetting( wxWindow* parent );
- void Save();
-};
-
-#endif // __buildsettingstab__
diff --git a/LiteEditor/buildsettingstabbase.cpp b/LiteEditor/buildsettingstabbase.cpp
deleted file mode 100644
index 0c106852..00000000
--- a/LiteEditor/buildsettingstabbase.cpp
+++ /dev/null
@@ -1,117 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "buildsettingstabbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-BuildTabSettingsBase::BuildTabSettingsBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 3, 4, 0, 0 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer1->Add( m_staticText3, 0, wxALL, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Background colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- m_staticText4->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- fgSizer1->Add( m_staticText4, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_staticText5 = new wxStaticText( this, wxID_ANY, wxT("Foreground colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- m_staticText5->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- fgSizer1->Add( m_staticText5, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_staticText6 = new wxStaticText( this, wxID_ANY, wxT("Font weight:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- m_staticText6->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- fgSizer1->Add( m_staticText6, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("Compiler errors colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- fgSizer1->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_colourPickerError = new wxColourPickerCtrl( this, wxID_ANY, wxColour( 255, 98, 98 ), wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
- fgSizer1->Add( m_colourPickerError, 0, wxALL|wxEXPAND, 5 );
-
- m_colourPickerErrorFg = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
- fgSizer1->Add( m_colourPickerErrorFg, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBoxBoldErrFont = new wxCheckBox( this, wxID_ANY, wxT("Bold"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxBoldErrFont->SetValue(true);
-
- fgSizer1->Add( m_checkBoxBoldErrFont, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Compiler warnings colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- m_staticText2->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxEmptyString ) );
-
- fgSizer1->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_colourPickerWarnings = new wxColourPickerCtrl( this, wxID_ANY, wxColour( 255, 255, 170 ), wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
- fgSizer1->Add( m_colourPickerWarnings, 0, wxALL|wxEXPAND, 5 );
-
- m_colourPickerWarningsFg = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
- fgSizer1->Add( m_colourPickerWarningsFg, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBoxBoldWarnFont = new wxCheckBox( this, wxID_ANY, wxT("Bold"), wxDefaultPosition, wxDefaultSize, 0 );
-
- fgSizer1->Add( m_checkBoxBoldWarnFont, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxALIGN_CENTER_HORIZONTAL, 5 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->AddGrowableCol( 2 );
-
- bSizer1->Add( fgSizer1, 0, wxALL|wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer2;
- sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("General:") ), wxVERTICAL );
-
- m_checkBoxSkipeWarnings = new wxCheckBox( this, wxID_ANY, wxT("When using the menu to jump to errors, skip warnings"), wxDefaultPosition, wxDefaultSize, 0 );
-
- sbSizer2->Add( m_checkBoxSkipeWarnings, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBoxAutoHide = new wxCheckBox( this, wxID_ANY, wxT("Automatically hide the build pane when there are no errors nor warnings"), wxDefaultPosition, wxDefaultSize, 0 );
-
- sbSizer2->Add( m_checkBoxAutoHide, 0, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( sbSizer2, 0, wxEXPAND|wxALL, 5 );
-
- wxString m_radioBoxShowBuildTabChoices[] = { wxT("When build starts"), wxT("When build ends"), wxT("Don't automatically show") };
- int m_radioBoxShowBuildTabNChoices = sizeof( m_radioBoxShowBuildTabChoices ) / sizeof( wxString );
- m_radioBoxShowBuildTab = new wxRadioBox( this, wxID_ANY, wxT("Show build pane:"), wxDefaultPosition, wxDefaultSize, m_radioBoxShowBuildTabNChoices, m_radioBoxShowBuildTabChoices, 1, wxRA_SPECIFY_COLS );
- m_radioBoxShowBuildTab->SetSelection( 0 );
- bSizer1->Add( m_radioBoxShowBuildTab, 0, wxALL|wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Errors / warnings markers:") ), wxVERTICAL );
-
- m_checkBoxDisplayAnnotations = new wxCheckBox( this, wxID_ANY, wxT("Compiler errors / warnings shown in text annotations"), wxDefaultPosition, wxDefaultSize, 0 );
-
- sbSizer1->Add( m_checkBoxDisplayAnnotations, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBoxDisplayMarkers = new wxCheckBox( this, wxID_ANY, wxT("Compiler errors / warnings marked with bookmarks"), wxDefaultPosition, wxDefaultSize, 0 );
-
- sbSizer1->Add( m_checkBoxDisplayMarkers, 0, wxALL, 5 );
-
- bSizer1->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-}
-
-BuildTabSettingsBase::~BuildTabSettingsBase()
-{
-}
diff --git a/LiteEditor/buildsettingstabbase.h b/LiteEditor/buildsettingstabbase.h
deleted file mode 100644
index 43b3fb9e..00000000
--- a/LiteEditor/buildsettingstabbase.h
+++ /dev/null
@@ -1,59 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __buildsettingstabbase__
-#define __buildsettingstabbase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/clrpicker.h>
-#include <wx/checkbox.h>
-#include <wx/sizer.h>
-#include <wx/statbox.h>
-#include <wx/radiobox.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class BuildTabSettingsBase
-///////////////////////////////////////////////////////////////////////////////
-class BuildTabSettingsBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText3;
- wxStaticText* m_staticText4;
- wxStaticText* m_staticText5;
- wxStaticText* m_staticText6;
- wxStaticText* m_staticText1;
- wxColourPickerCtrl* m_colourPickerError;
- wxColourPickerCtrl* m_colourPickerErrorFg;
- wxCheckBox* m_checkBoxBoldErrFont;
- wxStaticText* m_staticText2;
- wxColourPickerCtrl* m_colourPickerWarnings;
- wxColourPickerCtrl* m_colourPickerWarningsFg;
- wxCheckBox* m_checkBoxBoldWarnFont;
- wxCheckBox* m_checkBoxSkipeWarnings;
- wxCheckBox* m_checkBoxAutoHide;
- wxRadioBox* m_radioBoxShowBuildTab;
- wxCheckBox* m_checkBoxDisplayAnnotations;
- wxCheckBox* m_checkBoxDisplayMarkers;
-
- public:
- BuildTabSettingsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 566,356 ), long style = wxTAB_TRAVERSAL );
- ~BuildTabSettingsBase();
-
-};
-
-#endif //__buildsettingstabbase__
diff --git a/LiteEditor/buildtabsettingsdata.cpp b/LiteEditor/buildtabsettingsdata.cpp
deleted file mode 100644
index 38f7d0cb..00000000
--- a/LiteEditor/buildtabsettingsdata.cpp
+++ /dev/null
@@ -1,77 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buildtabsettingsdata.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "buildtabsettingsdata.h"
-
-#include "wx/settings.h"
-
-BuildTabSettingsData::BuildTabSettingsData()
- : m_skipWarnings(false)
- , m_boldErrFont(false)
- , m_boldWarnFont(false)
- , m_showBuildPane(0)
- , m_autoHide(false)
- , m_errorWarningStyle(EWS_Bookmarks)
-{
- wxColour errColour(wxT("RED"));
- wxColour wrnColour(wxT("#AA9B49"));
-
- m_errorColour = errColour.GetAsString(wxC2S_HTML_SYNTAX);
- m_warnColour = wrnColour.GetAsString(wxC2S_HTML_SYNTAX);
-
- m_warnColourBg = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW).GetAsString(wxC2S_HTML_SYNTAX);
- m_errorColourBg = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW).GetAsString(wxC2S_HTML_SYNTAX);
-}
-
-BuildTabSettingsData::~BuildTabSettingsData()
-{
-}
-
-void BuildTabSettingsData::Serialize(Archive &arch)
-{
- arch.Write(wxT("m_errorColour"), m_errorColour);
- arch.Write(wxT("m_warnColour"), m_warnColour);
- arch.Write(wxT("m_errorColourBg"), m_errorColourBg);
- arch.Write(wxT("m_warnColourBg"), m_warnColourBg);
- arch.Write(wxT("m_skipWarnings"), m_skipWarnings);
- arch.Write(wxT("m_boldErrFont"), m_boldErrFont);
- arch.Write(wxT("m_boldWarnFont"), m_boldWarnFont);
- arch.Write(wxT("m_autoHide"), m_autoHide);
- arch.Write(wxT("m_showBuildPane"), m_showBuildPane);
- arch.Write(wxT("m_errorWarningStyle"), m_errorWarningStyle);
-}
-
-void BuildTabSettingsData::DeSerialize(Archive &arch)
-{
- arch.Read(wxT("m_errorColour"), m_errorColour);
- arch.Read(wxT("m_warnColour"), m_warnColour);
- arch.Read(wxT("m_errorColourBg"), m_errorColourBg);
- arch.Read(wxT("m_warnColourBg"), m_warnColourBg);
- arch.Read(wxT("m_skipWarnings"), m_skipWarnings);
- arch.Read(wxT("m_boldErrFont"), m_boldErrFont);
- arch.Read(wxT("m_boldWarnFont"), m_boldWarnFont);
- arch.Read(wxT("m_autoHide"), m_autoHide);
- arch.Read(wxT("m_showBuildPane"), m_showBuildPane);
- arch.Read(wxT("m_errorWarningStyle"), m_errorWarningStyle);
-}
diff --git a/LiteEditor/buildtabsettingsdata.h b/LiteEditor/buildtabsettingsdata.h
deleted file mode 100644
index e225ea9d..00000000
--- a/LiteEditor/buildtabsettingsdata.h
+++ /dev/null
@@ -1,133 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buildtabsettingsdata.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __buildtabsettingsdata__
-#define __buildtabsettingsdata__
-
-#include "serialized_object.h"
-
-class BuildTabSettingsData : public SerializedObject
-{
- bool m_skipWarnings;
- wxString m_warnColour;
- wxString m_errorColour;
- wxString m_warnColourBg;
- wxString m_errorColourBg;
- bool m_boldErrFont;
- bool m_boldWarnFont;
- bool m_showBuildPane;
- bool m_autoHide;
- int m_errorWarningStyle;
-
-private:
- BuildTabSettingsData(const BuildTabSettingsData& rhs);
- BuildTabSettingsData& operator=(const BuildTabSettingsData& rhs);
-
-public:
- enum ErrorsWarningStyle {
- EWS_NoMarkers = 0x00000000,
- EWS_Annotations = 0x00000001,
- EWS_Bookmarks = 0x00000002
- };
-
- enum ShowBuildPane {
- ShowOnStart,
- ShowOnEnd,
- DontShow,
- };
-
- BuildTabSettingsData();
- ~BuildTabSettingsData();
-
- void Serialize(Archive &arch);
- void DeSerialize(Archive &arch);
-
-
- //Setters
- void SetBoldErrFont(const bool& boldErrFont) {
- this->m_boldErrFont = boldErrFont;
- }
- void SetBoldWarnFont(const bool& boldWarnFont) {
- this->m_boldWarnFont = boldWarnFont;
- }
- void SetErrorColour(const wxString& errorColour) {
- this->m_errorColour = errorColour;
- }
- void SetErrorColourBg(const wxString& errorColourBg) {
- this->m_errorColourBg = errorColourBg;
- }
- void SetShowBuildPane(int showBuildPane) {
- this->m_showBuildPane = showBuildPane;
- }
- void SetSkipWarnings(const bool& skipWarnings) {
- this->m_skipWarnings = skipWarnings;
- }
- void SetWarnColour(const wxString& warnColour) {
- this->m_warnColour = warnColour;
- }
- void SetWarnColourBg(const wxString& warnColourBg) {
- this->m_warnColourBg = warnColourBg;
- }
- //Getters
- const bool& GetBoldErrFont() const {
- return m_boldErrFont;
- }
- const bool& GetBoldWarnFont() const {
- return m_boldWarnFont;
- }
- const wxString& GetErrorColour() const {
- return m_errorColour;
- }
- const wxString& GetErrorColourBg() const {
- return m_errorColourBg;
- }
- int GetShowBuildPane() const {
- return m_showBuildPane;
- }
- const bool& GetSkipWarnings() const {
- return m_skipWarnings;
- }
- const wxString& GetWarnColour() const {
- return m_warnColour;
- }
- const wxString& GetWarnColourBg() const {
- return m_warnColourBg;
- }
-
- //Setters
- void SetAutoHide(const bool& autoHide) {
- this->m_autoHide = autoHide;
- }
- const bool& GetAutoHide() const {
- return m_autoHide;
- }
-
- void SetErrorWarningStyle(const int& errorWarningStyle) {
- this->m_errorWarningStyle = errorWarningStyle;
- }
- const int& GetErrorWarningStyle() const {
- return m_errorWarningStyle;
- }
-};
-#endif // __buildtabsettingsdata__
diff --git a/LiteEditor/cc_box.cpp b/LiteEditor/cc_box.cpp
deleted file mode 100644
index c172fee4..00000000
--- a/LiteEditor/cc_box.cpp
+++ /dev/null
@@ -1,485 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : cc_box.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "cc_box.h"
-#include "cl_editor_tip_window.h"
-#include "cl_editor.h"
-#include "globals.h"
-#include <wx/imaglist.h>
-#include <wx/xrc/xmlres.h>
-#include "entry.h"
-#include "plugin.h"
-
-#define BOX_HEIGHT 200
-#define BOX_WIDTH 300
-
-CCBox::CCBox(LEditor* parent, bool autoHide, bool autoInsertSingleChoice)
- :
- CCBoxBase(parent, wxID_ANY, wxDefaultPosition, wxSize(0, 0))
- , m_showFullDecl(false)
- , m_height(BOX_HEIGHT)
- , m_autoHide(autoHide)
- , m_insertSingleChoice(autoInsertSingleChoice)
- , m_owner(NULL)
-{
- Hide();
-
- // load all the CC images
- wxImageList *il = new wxImageList(16, 16, true);
-
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("class")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("struct")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("namespace")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("member_public")));
-
- wxBitmap m_tpyedefBmp = wxXmlResource::Get()->LoadBitmap(wxT("typedef"));
- m_tpyedefBmp.SetMask(new wxMask(m_tpyedefBmp, wxColor(0, 128, 128)));
- il->Add(m_tpyedefBmp);
-
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("member_private")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("member_public")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("member_protected")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("func_private")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("func_public")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("func_protected")));
- wxBitmap m_macroBmp = wxXmlResource::Get()->LoadBitmap(wxT("typedef"));
- m_macroBmp.SetMask(new wxMask(m_macroBmp, wxColor(0, 128, 128)));
- il->Add(m_macroBmp);
-
- wxBitmap m_enumBmp = wxXmlResource::Get()->LoadBitmap(wxT("enum"));
- m_enumBmp.SetMask(new wxMask(m_enumBmp, wxColor(0, 128, 128)));
- il->Add(m_enumBmp);
-
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("enumerator")));
-
- //Initialise the file bitmaps
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("page_white_cplusplus")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("page_white_h")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("page_white_text")));
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("cpp_keyword")));
-
- // assign the image list and let the control take owner ship (i.e. delete it)
- m_listCtrl->AssignImageList(il, wxIMAGE_LIST_SMALL);
- m_listCtrl->InsertColumn(0, wxT("Name"));
- m_listCtrl->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOBK));
- m_listCtrl->SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOTEXT));
-
- m_listCtrl->SetFocus();
- // return the focus to scintilla
- parent->SetActive();
-}
-
-void CCBox::OnItemActivated( wxListEvent& event )
-{
- m_selectedItem = event.m_itemIndex;
- InsertSelection();
- Hide();
-
- LEditor *editor = (LEditor*)GetParent();
- if (editor) {
- editor->SetActive();
- }
-}
-
-void CCBox::OnItemDeSelected( wxListEvent& event )
-{
-#ifdef __WXMAC__
- m_listCtrl->Select(event.m_itemIndex, false);
-#endif
- m_selectedItem = wxNOT_FOUND;
-}
-
-void CCBox::OnItemSelected( wxListEvent& event )
-{
- m_selectedItem = event.m_itemIndex;
-}
-
-void CCBox::Show(const std::vector<TagEntryPtr> &tags, const wxString &word, bool showFullDecl, wxEvtHandler *owner)
-{
- if (tags.empty()) {
- return;
- }
-
- //m_height = BOX_HEIGHT;
- m_tags = tags;
- m_showFullDecl = showFullDecl;
- m_owner = owner;
- Show(word);
-}
-
-void CCBox::Adjust()
-{
- LEditor *parent = (LEditor*)GetParent();
-
- int point = parent->GetCurrentPos();
- wxPoint pt = parent->PointFromPosition(point);
-
- // add the line height
- int hh = parent->GetCurrLineHeight();
- pt.y += hh;
-
- wxSize size = parent->GetClientSize();
- int diff = size.y - pt.y;
- m_height = BOX_HEIGHT;
- if (diff < BOX_HEIGHT) {
- pt.y -= BOX_HEIGHT;
- pt.y -= hh;
-
- if (pt.y < 0) {
- // the completion box is out of screen, resotre original size
- pt.y += BOX_HEIGHT;
- pt.y += hh;
- m_height = diff;
- }
- }
-
- // adjust the X axis
- if (size.x - pt.x < BOX_WIDTH) {
- // the box is too wide to fit the screen
- if (size.x > BOX_WIDTH) {
- // the screen can contain the completion box
- pt.x = size.x - BOX_WIDTH;
- } else {
- // this will provive the maximum visible area
- pt.x = 0;
- }
- }
- Move(pt);
-}
-
-void CCBox::SelectWord(const wxString& word)
-{
- long item = m_listCtrl->FindMatch(word);
- if (item != wxNOT_FOUND) {
- // first unselect the current item
- if (m_selectedItem != wxNOT_FOUND && m_selectedItem != item) {
- m_listCtrl->Select(m_selectedItem, false);
- }
-
- m_selectedItem = item;
- SelectItem(m_selectedItem);
- } else {
- if (GetAutoHide()) {
- Hide();
- }
- }
-}
-
-void CCBox::Next()
-{
- if (m_selectedItem != wxNOT_FOUND) {
- if (m_selectedItem + 1 < m_listCtrl->GetItemCount()) {
-#ifdef __WXMAC__
- // unselect current item
- m_listCtrl->Select(m_selectedItem, false);
-#endif
- m_selectedItem++;
- // select next item
- SelectItem(m_selectedItem);
- }
- }
-}
-
-void CCBox::Previous()
-{
- if (m_selectedItem != wxNOT_FOUND) {
- if (m_selectedItem - 1 >= 0) {
-#ifdef __WXMAC__
- // unselect current item
- m_listCtrl->Select(m_selectedItem, false);
-#endif
- m_selectedItem--;
-
- // select previous item
- SelectItem(m_selectedItem);
- }
- }
-}
-
-void CCBox::SelectItem(long item)
-{
- m_listCtrl->Select(item);
- m_listCtrl->EnsureVisible(item);
-}
-
-void CCBox::Show(const wxString& word)
-{
- wxString lastName;
- size_t i(0);
- std::vector<CCItemInfo> _tags;
-
- CCItemInfo item;
- m_listCtrl->DeleteAllItems();
-
- if (m_tags.empty() == false) {
- for (; i<m_tags.size(); i++) {
- TagEntryPtr tag = m_tags.at(i);
- if (lastName != m_tags.at(i)->GetName()) {
-
- item.displayName = tag->GetName();
- item.imgId = GetImageId(*m_tags.at(i));
- _tags.push_back(item);
-
- lastName = tag->GetName();
- }
-
- if (m_showFullDecl) {
- //collect only declarations
- if (m_tags.at(i)->GetKind() == wxT("prototype")) {
- item.displayName = tag->GetName()+tag->GetSignature();
- item.imgId = GetImageId(*m_tags.at(i));
- _tags.push_back(item);
-
- }
- }
- }
- }
-
- if (_tags.size() == 1 && m_insertSingleChoice) {
- m_selectedItem = 0;
- DoInsertSelection(_tags.at(0).displayName, false);
-
- // return without calling to wxWindow::Show()
- // also, make sure we are hidden
- if ( IsShown() ) {
- Hide();
- }
- return;
- }
-
- m_listCtrl->SetColumnWidth(0, BOX_WIDTH);
- m_listCtrl->SetItems(_tags);
- m_listCtrl->SetItemCount(_tags.size());
-
- m_selectedItem = 0;
-
- m_selectedItem = m_listCtrl->FindMatch(word);
- if ( m_selectedItem == wxNOT_FOUND && GetAutoHide() ) {
- // return without calling wxWindow::Show
- return;
- }
-
- if (m_selectedItem == wxNOT_FOUND) {
- m_selectedItem = 0;
- }
-
- SetSize(BOX_WIDTH, m_height);
- GetSizer()->Layout();
- wxWindow::Show();
-
- SelectItem(m_selectedItem);
-}
-
-void CCBox::DoInsertSelection(const wxString& word, bool triggerTip)
-{
- if (m_owner) {
-
- // simply send an event and dismiss the dialog
- wxCommandEvent e(wxEVT_CCBOX_SELECTION_MADE);
- e.SetClientData( (void*)&word );
- m_owner->ProcessEvent(e);
-
- } else {
- LEditor *editor = (LEditor*)GetParent();
- int insertPos = editor->WordStartPosition(editor->GetCurrentPos(), true);
-
- editor->SetSelection(insertPos, editor->GetCurrentPos());
- editor->ReplaceSelection(word);
-
- // incase we are adding a function, add '()' at the end of the function name and place the caret in the middle
- int img_id = m_listCtrl->OnGetItemImage(m_selectedItem);
- if (img_id >= 8 && img_id <= 10) {
-
- // if full declaration was selected, dont do anything,
- // otherwise, append '()' to the inserted string, place the caret
- // in the middle, and trigger the function tooltip
-
- if (word.Find(wxT("(")) == wxNOT_FOUND && triggerTip) {
- // image id in range of 8-10 is function
- editor->InsertText(editor->GetCurrentPos(), wxT("()"));
- editor->CharRight();
- int pos = editor->GetCurrentPos();
- editor->SetSelectionStart(pos);
- editor->SetSelectionEnd(pos);
- editor->SetIndicatorCurrent(MATCH_INDICATOR);
- editor->IndicatorFillRange(pos, 1);
- // trigger function tip
- editor->CodeComplete();
-
- wxString tipContent = editor->GetContext()->CallTipContent();
- int where = tipContent.Find(wxT(" : "));
- if (where != wxNOT_FOUND) {
- tipContent = tipContent.Mid(where + 3);
- }
-
- if (tipContent.Trim().Trim(false) == wxT("()")) {
- // dont place the caret in the middle of the braces,
- // and it is OK to cancel the function calltip
- int new_pos = editor->GetCurrentPos() + 1;
- editor->SetCurrentPos(new_pos);
- editor->SetSelectionStart(new_pos);
- editor->SetSelectionEnd(new_pos);
-
- // remove the current tip that we just activated.
- // if this was the last tip, it will also make it go away
- editor->GetFunctionTip()->Remove();
- }
- }
- }
- }
-}
-
-void CCBox::InsertSelection()
-{
- if (m_selectedItem == wxNOT_FOUND) {
- return;
- }
-
- // get the selected word
- wxString word = GetColumnText(m_listCtrl, m_selectedItem, 0);
- DoInsertSelection(word);
-}
-
-int CCBox::GetImageId(const TagEntry &entry)
-{
- if (entry.GetKind() == wxT("class"))
- return 0;
-
- if (entry.GetKind() == wxT("struct"))
- return 1;
-
- if (entry.GetKind() == wxT("namespace"))
- return 2;
-
- if (entry.GetKind() == wxT("variable"))
- return 3;
-
- if (entry.GetKind() == wxT("typedef"))
- return 4;
-
- if (entry.GetKind() == wxT("member") && entry.GetAccess().Contains(wxT("private")))
- return 5;
-
- if (entry.GetKind() == wxT("member") && entry.GetAccess().Contains(wxT("public")))
- return 6;
-
- if (entry.GetKind() == wxT("member") && entry.GetAccess().Contains(wxT("protected")))
- return 7;
-
- //member with no access? (maybe part of namespace??)
- if (entry.GetKind() == wxT("member"))
- return 6;
-
- if ((entry.GetKind() == wxT("function") || entry.GetKind() == wxT("prototype")) && entry.GetAccess().Contains(wxT("private")))
- return 8;
-
- if ((entry.GetKind() == wxT("function") || entry.GetKind() == wxT("prototype")) && (entry.GetAccess().Contains(wxT("public")) || entry.GetAccess().IsEmpty()))
- return 9;
-
- if ((entry.GetKind() == wxT("function") || entry.GetKind() == wxT("prototype")) && entry.GetAccess().Contains(wxT("protected")))
- return 10;
-
- if (entry.GetKind() == wxT("macro"))
- return 11;
-
- if (entry.GetKind() == wxT("enum"))
- return 12;
-
- if (entry.GetKind() == wxT("enumerator"))
- return 13;
-
- if (entry.GetKind() == wxT("cpp_keyword"))
- return 17;
-
- // try the user defined images
- std::map<wxString, int>::iterator iter = m_userImages.find(entry.GetKind());
- if (iter != m_userImages.end()) {
- return iter->second;
- }
- return wxNOT_FOUND;
-}
-
-void CCBox::RegisterImageForKind(const wxString& kind, const wxBitmap& bmp)
-{
- wxImageList *il = m_listCtrl->GetImageList(wxIMAGE_LIST_SMALL);
- if (il && bmp.IsOk()) {
- std::map<wxString, int>::iterator iter = m_userImages.find(kind);
-
- if (iter == m_userImages.end()) {
- int id = il->Add(bmp);
- m_userImages[kind] = id;
- } else {
- // an entry for this kind already exist, replace the current image with new one
- il->Replace(iter->second, bmp);
- }
- }
-}
-
-void CCBox::NextPage()
-{
- if (m_selectedItem != wxNOT_FOUND) {
- if (m_selectedItem + 1 < m_listCtrl->GetItemCount()) {
-#ifdef __WXMAC__
-// unselect current item
- m_listCtrl->Select(m_selectedItem, false);
-#endif
- m_selectedItem += 10;
-// select next item
- SelectItem(m_selectedItem);
- } else {
-#ifdef __WXMAC__
-// unselect current item
- m_listCtrl->Select(m_selectedItem, false);
-#endif
- m_selectedItem = m_listCtrl->GetItemCount() - 1;
-// select next item
- SelectItem(m_selectedItem);
- }
- }
-}
-
-void CCBox::PreviousPage()
-{
- if (m_selectedItem != wxNOT_FOUND) {
- if (m_selectedItem - 10 >= 0) {
-#ifdef __WXMAC__
-// unselect current item
- m_listCtrl->Select(m_selectedItem, false);
-#endif
- m_selectedItem -= 10;
-
-// select previous item
- SelectItem(m_selectedItem);
- } else {
-#ifdef __WXMAC__
-// unselect current item
- m_listCtrl->Select(m_selectedItem, false);
-#endif
- m_selectedItem = 0;
-
-// select previous item
- SelectItem(m_selectedItem);
- }
- }
-}
diff --git a/LiteEditor/cc_box.h b/LiteEditor/cc_box.h
deleted file mode 100644
index 53615c1e..00000000
--- a/LiteEditor/cc_box.h
+++ /dev/null
@@ -1,109 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : cc_box.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __cc_box__
-#define __cc_box__
-
-/**
-@file
-Subclass of CCBoxBase, which is generated by wxFormBuilder.
-*/
-
-#include "cc_boxbase.h"
-#include "entry.h"
-#include <vector>
-#include <map>
-
-class LEditor;
-
-/** Implementing CCBoxBase */
-class CCBox : public CCBoxBase
-{
- int m_selectedItem;
- std::vector<TagEntryPtr> m_tags;
- bool m_showFullDecl;
- int m_height;
- bool m_autoHide;
- bool m_insertSingleChoice;
- std::map<wxString, int> m_userImages;
- wxEvtHandler *m_owner;
-
-protected:
- // Handlers for CCBoxBase events.
- void OnItemActivated( wxListEvent& event );
- void OnItemDeSelected( wxListEvent& event );
- void OnItemSelected( wxListEvent& event );
-
-protected:
- // helper methods
- int GetImageId(const TagEntry &entry);
- void SelectItem(long item);
- void Show(const wxString &word);
- void DoInsertSelection(const wxString &word, bool triggerTip = true);
-
-public:
-
- /** Constructor */
- CCBox(LEditor* parent, bool autoHide = true, bool autoInsertSingleChoice = true);
-
- void Show(const std::vector<TagEntryPtr> &tags, const wxString &word, bool showFullDecl, wxEvtHandler *owner = NULL);
- void InsertSelection();
-
- void Adjust();
-
- // can this window have focus? (no)
- bool AcceptsFocus() const {
- return false;
- }
-
- void SelectWord(const wxString &word);
- void Next();
- void Previous();
-
- //Setters
- void SetAutoHide(const bool& autoHide) {
- this->m_autoHide = autoHide;
- }
- void SetInsertSingleChoice(const bool& insertSingleChoice) {
- this->m_insertSingleChoice = insertSingleChoice;
- }
- //Getters
- const bool& GetAutoHide() const {
- return m_autoHide;
- }
- const bool& GetInsertSingleChoice() const {
- return m_insertSingleChoice;
- }
-
- /**
- * @brief register new user image fot TagEntry kind
- * @param kind the kind string that will be associated with the bitmap (TagEntry::GetKind())
- * @param bmp 16x16 bitmap
- */
- void RegisterImageForKind(const wxString &kind, const wxBitmap &bmp);
- void NextPage();
- void PreviousPage();
-};
-
-#endif // __cc_box__
diff --git a/LiteEditor/cc_boxbase.cpp b/LiteEditor/cc_boxbase.cpp
deleted file mode 100644
index 38415eca..00000000
--- a/LiteEditor/cc_boxbase.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : cc_boxbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "cc_boxbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-CCBoxBase::CCBoxBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_listCtrl = new CCVirtualListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_NO_HEADER|wxLC_REPORT|wxLC_SINGLE_SEL|wxBORDER_SIMPLE|wxLC_VIRTUAL );
- bSizer1->Add( m_listCtrl, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_listCtrl->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CCBoxBase::OnItemActivated ), NULL, this );
- m_listCtrl->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( CCBoxBase::OnItemDeSelected ), NULL, this );
- m_listCtrl->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CCBoxBase::OnItemSelected ), NULL, this );
- m_listCtrl->Connect( wxEVT_COMMAND_LIST_KEY_DOWN, wxListEventHandler( CCBoxBase::OnKeyDown ), NULL, this );
-}
-
-CCBoxBase::~CCBoxBase()
-{
- // Disconnect Events
- m_listCtrl->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CCBoxBase::OnItemActivated ), NULL, this );
- m_listCtrl->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( CCBoxBase::OnItemDeSelected ), NULL, this );
- m_listCtrl->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CCBoxBase::OnItemSelected ), NULL, this );
- m_listCtrl->Disconnect( wxEVT_COMMAND_LIST_KEY_DOWN, wxListEventHandler( CCBoxBase::OnKeyDown ), NULL, this );
-}
diff --git a/LiteEditor/cc_boxbase.h b/LiteEditor/cc_boxbase.h
deleted file mode 100644
index 7416e7d5..00000000
--- a/LiteEditor/cc_boxbase.h
+++ /dev/null
@@ -1,71 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : cc_boxbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __cc_boxbase__
-#define __cc_boxbase__
-
-#include <wx/listctrl.h>
-#include "ccvirtuallistctrl.h"
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CCBoxBase
-///////////////////////////////////////////////////////////////////////////////
-class CCBoxBase : public wxPanel
-{
- private:
-
- protected:
- CCVirtualListCtrl* m_listCtrl;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemActivated( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemDeSelected( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ){ event.Skip(); }
- virtual void OnKeyDown( wxListEvent& event ){ event.Skip(); }
-
-
- public:
- CCBoxBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 486,300 ), long style = wxTAB_TRAVERSAL );
- ~CCBoxBase();
-
-};
-
-#endif //__cc_boxbase__
diff --git a/LiteEditor/ccvirtuallistctrl.cpp b/LiteEditor/ccvirtuallistctrl.cpp
deleted file mode 100644
index fa4cc5f9..00000000
--- a/LiteEditor/ccvirtuallistctrl.cpp
+++ /dev/null
@@ -1,112 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : ccvirtuallistctrl.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "ccvirtuallistctrl.h"
-#include <wx/settings.h>
-CCVirtualListCtrl::CCVirtualListCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
- : wxListView(parent, id, pos, size, style)
-{
-}
-
-CCVirtualListCtrl::~CCVirtualListCtrl()
-{
-}
-
-wxListItemAttr* CCVirtualListCtrl::OnGetItemAttr(long item) const
-{
-#if defined(__WXMSW__)
- static wxListItemAttr attr;
- static bool first(true);
-
- if(first) {
- first = false;
- wxFont fnt = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- fnt.SetWeight(wxBOLD);
- attr.SetFont(fnt);
- }
-
- if (GetFirstSelected() == item) {
- return &attr;
-
- } else
- return NULL;
-#else // Mac
- return NULL;
-#endif
-}
-
-int CCVirtualListCtrl::OnGetItemColumnImage(long item, long column) const
-{
- wxUnusedVar(column);
- return OnGetItemImage(item);
-}
-
-int CCVirtualListCtrl::OnGetItemImage(long item) const
-{
- CCItemInfo info;
- if (item >= (long)m_tags.size()) {
- return wxNOT_FOUND;
- }
- info = m_tags.at(item);
- return info.imgId;
-}
-
-wxString CCVirtualListCtrl::OnGetItemText(long item, long column) const
-{
- CCItemInfo info;
- if (item >= (long)m_tags.size()) {
- return wxEmptyString;
- }
- info = m_tags.at(item);
- return info.displayName;
-}
-
-int CCVirtualListCtrl::FindMatch(const wxString& word)
-{
- // first try to match case sensetive
- for (size_t i=0; i<m_tags.size(); i++) {
- CCItemInfo info = m_tags.at(i);
-
- wxString s1(word);
- wxString s2(info.displayName);
- if (s2.StartsWith(s1)) {
- return static_cast<int>(i);
- }
- }
-
- // if we are here, it means we failed, try case insensitive
- for (size_t i=0; i<m_tags.size(); i++) {
- CCItemInfo info = m_tags.at(i);
-
- wxString s1(word);
- wxString s2(info.displayName);
- s1.MakeLower();
- s2.MakeLower();
- if (s2.StartsWith(s1)) {
- return static_cast<int>(i);
- }
- }
-
- return wxNOT_FOUND;
-}
diff --git a/LiteEditor/ccvirtuallistctrl.h b/LiteEditor/ccvirtuallistctrl.h
deleted file mode 100644
index fd790b99..00000000
--- a/LiteEditor/ccvirtuallistctrl.h
+++ /dev/null
@@ -1,58 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : ccvirtuallistctrl.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __ccvirtuallistctrl__
-#define __ccvirtuallistctrl__
-
-#include <wx/listctrl.h>
-#include <vector>
-
-struct CCItemInfo {
- int imgId;
- wxString displayName;
-
- void Reset() {
- imgId = wxNOT_FOUND;
- displayName = wxEmptyString;
- }
-};
-
-class CCVirtualListCtrl : public wxListView {
- std::vector<CCItemInfo> m_tags;
-public:
- CCVirtualListCtrl( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 486,300 ), long style = wxTAB_TRAVERSAL );
- ~CCVirtualListCtrl();
-
-public:
-
- void SetItems(const std::vector<CCItemInfo> &tags) { m_tags = tags; }
-
- virtual wxListItemAttr* OnGetItemAttr(long item) const;
- virtual int OnGetItemColumnImage(long item, long column) const;
- virtual int OnGetItemImage(long item) const;
- virtual wxString OnGetItemText(long item, long column) const;
- int FindMatch(const wxString &word);
-
-};
-#endif // __ccvirtuallistctrl__
diff --git a/LiteEditor/checkdirtreectrl.cpp b/LiteEditor/checkdirtreectrl.cpp
deleted file mode 100644
index 5fefe02a..00000000
--- a/LiteEditor/checkdirtreectrl.cpp
+++ /dev/null
@@ -1,203 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : checkdirtreectrl.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "checkdirtreectrl.h"
-#include "wx/dir.h"
-#include "wx/filename.h"
-
-BEGIN_EVENT_TABLE(CheckDirTreeCtrl, wxCheckTreeCtrl)
-EVT_TREE_ITEM_EXPANDED(wxID_ANY, CheckDirTreeCtrl::OnItemExpading)
-EVT_CHECKTREE_ITEM_UNSELECTED(wxID_ANY, CheckDirTreeCtrl::OnItemUnchecked)
-EVT_CHECKTREE_ITEM_SELECTED(wxID_ANY, CheckDirTreeCtrl::OnItemChecked)
-END_EVENT_TABLE()
-
-CheckDirTreeCtrl::CheckDirTreeCtrl(wxWindow *parent, const wxString &rootPath, wxWindowID id)
-: wxCheckTreeCtrl(parent, id)
-{
- BuildTree(rootPath);
-}
-
-void CheckDirTreeCtrl::BuildTree(const wxString &rootPath)
-{
- m_root = rootPath;
- DeleteAllItems();
- if(m_root.IsEmpty()){
- return;
- }
-
- wxFileName filename(m_root, wxEmptyString);
- wxTreeItemId item = AddRoot(filename.GetPath(), false, new DirTreeData(filename));
- AddChildren(item);
- Expand(item);
-}
-
-void CheckDirTreeCtrl::AddChildren(const wxTreeItemId &item)
-{
- DirTreeData *data = dynamic_cast<DirTreeData*>(GetItemData(item));
- if(data){
- wxString path = data->GetDir().GetPath();
- wxDir dir(path);
- if(wxDir::Exists(path)){
- wxFileName filename(path, wxEmptyString);
-
- Freeze();
- GetChildren(item, dir, filename.GetFullPath());
- Thaw();
-
- }
- }
-}
-
-CheckDirTreeCtrl::~CheckDirTreeCtrl()
-{
-}
-
-void CheckDirTreeCtrl::OnItemUnchecked(wxCheckTreeCtrlEvent &event)
-{
- wxTreeItemId item = event.GetItem();
- if(item.IsOk()){
- if(ItemHasChildren(item) && IsExpanded(item)) {
- //the item has children, but it is expanded, so check only this item
- Check(event.GetItem(), true);
- }
- else if(ItemHasChildren(item) && !IsExpanded(item)){
- RecursiveCheck(event.GetItem(), false);
- }
- }
- event.Skip();
-}
-
-void CheckDirTreeCtrl::OnItemChecked(wxCheckTreeCtrlEvent &event)
-{
- wxTreeItemId item = event.GetItem();
- if(item.IsOk()){
- if(ItemHasChildren(item) && IsExpanded(item)) {
- //the item has children, but it is expanded, so check only this item
- Check(event.GetItem(), true);
- }
- else if(ItemHasChildren(item) && !IsExpanded(item)){
- RecursiveCheck(event.GetItem());
- }
- }
- event.Skip();
-}
-
-void CheckDirTreeCtrl::GetChildren(const wxTreeItemId &parent, const wxDir &dir, const wxString &path)
-{
- wxString filename;
- if(!dir.IsOpened()){
- return;
- }
-
- //enumerate all directories
- bool cont = dir.GetFirst(&filename, wxEmptyString, wxDIR_DIRS);
-
- //add siblings
- while(cont){
- wxFileName dirname(path + wxT("/") + filename, wxEmptyString);
- wxTreeItemId item = AppendItem(parent, filename, IsChecked(parent), new DirTreeData(dirname));
-
- wxDir child(dirname.GetFullPath());
- if(child.IsOpened() && child.HasSubDirs()){
- //add dummy item under this node with the parent path
-// AppendItem(item, wxT("<Dummy>"), IsChecked(item), new DirTreeData(dirname));
- GetChildren(item, child, dirname.GetFullPath());
- }
- cont = dir.GetNext(&filename);
- }
-}
-
-void CheckDirTreeCtrl::OnItemExpading(wxTreeEvent &event)
-{
- wxTreeItemId item = event.GetItem();
- if(item.IsOk()){
- //get the item data
- DirTreeData *data = dynamic_cast<DirTreeData*>(GetItemData(item));
- if(data){
- wxFileName filename = data->GetDir();
- wxTreeItemIdValue cookie;
- wxTreeItemId child = GetFirstChild(item, cookie);
- if(child.IsOk()){
- wxString text = GetItemText(child);
- if(text == wxT("<Dummy>")){
- //we have a dummy node, remove it and replace it with actual nodes
- Delete(child);
- //add all children of the parent dir
- AddChildren(item);
- Expand(item);
- }
- }
- }
- }
- event.Skip();
-}
-
-void CheckDirTreeCtrl::GetUnselectedDirs(wxArrayString &arr)
-{
- //go over all loaded items, and return full path of the
- //unselected items
- std::list<wxTreeItemId> items;
- GetItemChildrenRecursive(GetRootItem(), items);
-
- std::list<wxTreeItemId>::iterator iter = items.begin();
- for(; iter != items.end(); iter++){
- wxTreeItemId item = *iter;
- if(!IsChecked(item)){
- //get the tree item data
- DirTreeData *data = dynamic_cast<DirTreeData*>(GetItemData(item));
- if(data){
- wxString text = GetItemText(item);
- //skip the dummy items insertd into the tree
- if(item != wxT("<Dummy>")){
- arr.Add(data->GetDir().GetPath());
- }
- }
- }
- }
-}
-
-void CheckDirTreeCtrl::GetSelectedDirs(wxArrayString &arr)
-{
- //go over all loaded items, and return full path of the
- //selected items
- std::list<wxTreeItemId> items;
- GetItemChildrenRecursive(GetRootItem(), items);
-
- std::list<wxTreeItemId>::iterator iter = items.begin();
- for(; iter != items.end(); iter++){
- wxTreeItemId item = *iter;
- if(IsChecked(item)){
- //get the tree item data
- DirTreeData *data = dynamic_cast<DirTreeData*>(GetItemData(item));
- if(data){
- wxString text = GetItemText(item);
- //skip the dummy items insertd into the tree
- if(item != wxT("<Dummy>")){
- arr.Add(data->GetDir().GetPath());
- }
- }
- }
- }
-}
-
diff --git a/LiteEditor/checkdirtreectrl.h b/LiteEditor/checkdirtreectrl.h
deleted file mode 100644
index c10e8018..00000000
--- a/LiteEditor/checkdirtreectrl.h
+++ /dev/null
@@ -1,63 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : checkdirtreectrl.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef CHECKDIRCTRL_H
-#define CHECKDIRCTRL_H
-
-#include "checktreectrl.h"
-#include "wx/dir.h"
-#include "wx/filename.h"
-
-class DirTreeData : public wxTreeItemData
-{
- wxFileName m_dirname;
-public:
- DirTreeData(const wxFileName &dir) : m_dirname(dir){}
- virtual ~DirTreeData(){}
-
- const wxFileName& GetDir() const {return m_dirname;}
-};
-
-
-class CheckDirTreeCtrl : public wxCheckTreeCtrl
-{
- wxString m_root;
-public:
- CheckDirTreeCtrl(wxWindow *parent, const wxString &rootPath, wxWindowID id = wxID_ANY);
- virtual ~CheckDirTreeCtrl();
- void GetUnselectedDirs(wxArrayString &arr);
- void GetSelectedDirs(wxArrayString &arr);
- void BuildTree(const wxString &rootPath);
- wxString GetRootDir(){return m_root;}
- DECLARE_EVENT_TABLE();
- void OnItemExpading(wxTreeEvent &event);
- void OnItemUnchecked(wxCheckTreeCtrlEvent &event);
- void OnItemChecked(wxCheckTreeCtrlEvent &event);
-
-private:
- void GetChildren(const wxTreeItemId &parent, const wxDir &dir, const wxString &path);
- void AddChildren(const wxTreeItemId &item);
-};
-
-#endif //CHECKDIRCTRL_H
diff --git a/LiteEditor/checktreectrl.cpp b/LiteEditor/checktreectrl.cpp
deleted file mode 100644
index c844356c..00000000
--- a/LiteEditor/checktreectrl.cpp
+++ /dev/null
@@ -1,226 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : checktreectrl.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "checktreectrl.h"
-#include <wx/dcmemory.h>
-#include <wx/renderer.h>
-#include <wx/imaglist.h>
-#include <wx/settings.h>
-
-// Images used by the checktreectrl
-
-/* XPM */
-static const char *Checkbox_off_xpm[] = {
-/* columns rows colors chars-per-pixel */
-"16 16 11 1",
-"$ c #F7F7F7",
-"% c #FFFFFF",
-". c #E7E7DE",
-" c #185284",
-"X c #DEDEDE",
-"o c #E7E7DE",
-"@ c #E7E7E7",
-"O c #EFEFE7",
-"+ c #EFEFEF",
-"# c #F7F7EF",
-"& c None",
-/* pixels */
-"&&&&&&&&&&&&&&&&",
-" ",
-" ......XooOO+.. ",
-" ....XXo@O++#.. ",
-" ...XXo@O+++#.. ",
-" ..Xoo@@++#$$.. ",
-" ..Xo@O++#+$$.. ",
-" .oo@@+++$$$$.. ",
-" .o@O++#+$$%%.. ",
-" .oO+++$$$$%%.. ",
-" .O++#$#$$%%%.. ",
-" .O++$$$$%%%%.. ",
-" .+#$#$$%%%%%.. ",
-" .............. ",
-" ",
-"&&&&&&&&&&&&&&&&"
-};
-
-
-/* XPM */
-static const char *Checkbox_on_xpm[] = {
-/* columns rows colors chars-per-pixel */
-"16 16 10 1",
-"# c #F7F7F7",
-"$ c #FFFFFF",
-"@ c #21A521",
-" c #185284",
-". c #E7E7DE",
-"X c #E7E7E7",
-"o c #EFEFE7",
-"O c #EFEFEF",
-"+ c #F7F7EF",
-"& c None",
-/* pixels */
-"&&&&&&&&&&&&&&&&",
-" ",
-" .......XooO+.. ",
-" .....XXooO+O.. ",
-" ....XXXOO@+#.. ",
-" ...XXXoO@@##.. ",
-" ...@XOO@@@##.. ",
-" ..X@@O@@@##$.. ",
-" .Xo@@@@@##$#.. ",
-" .ooO@@@##$$$.. ",
-" .oO+O@##$#$$.. ",
-" .O+O###$$$$$.. ",
-" .++###$$#$$$.. ",
-" .............. ",
-" ",
-"&&&&&&&&&&&&&&&&"
-};
-
-
-//-----------------------------------------------------------
-// wxCheckTreeCtrl
-//-----------------------------------------------------------
-
-DEFINE_EVENT_TYPE(wxEVT_CKTR_ITEM_SELECTED)
-DEFINE_EVENT_TYPE(wxEVT_CKTR_ITEM_UNSELECTED)
-
-BEGIN_EVENT_TABLE(wxCheckTreeCtrl, wxTreeCtrl)
-EVT_LEFT_DOWN(wxCheckTreeCtrl::OnLeftDown)
-EVT_LEFT_DCLICK(wxCheckTreeCtrl::OnLeftDown)
-END_EVENT_TABLE()
-
-wxCheckTreeCtrl::wxCheckTreeCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxValidator& validator, const wxString& name)
-: m_checkedBmp(16, 16)
-, m_uncheckedBmp(16, 16)
-{
- Create(parent, id, pos, size, style | wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT, validator, name);
- //create images
- m_checkedBmp = wxBitmap(Checkbox_on_xpm);
- m_uncheckedBmp = wxBitmap(Checkbox_off_xpm);
-
- //create an image list and assign it
- wxImageList *il = new wxImageList(16, 16, true);
- il->Add(m_checkedBmp); //0
- il->Add(m_uncheckedBmp); //1
-
- //will be owned by the control
- AssignImageList(il);
-}
-
-wxCheckTreeCtrl::~wxCheckTreeCtrl()
-{
-}
-
-wxTreeItemId wxCheckTreeCtrl::AddRoot(const wxString& text, bool checked, wxTreeItemData* data)
-{
- return wxTreeCtrl::AddRoot(text, checked ? 0 : 1, checked ? 0 : 1, data);
-}
-
-wxTreeItemId wxCheckTreeCtrl::AppendItem(const wxTreeItemId& parent, const wxString& text, bool checked, wxTreeItemData* data)
-{
- return wxTreeCtrl::AppendItem(parent, text, checked ? 0 : 1, checked ? 0 : 1, data);
-}
-
-void wxCheckTreeCtrl::OnLeftDown(wxMouseEvent &event)
-{
- int flags;
- wxTreeItemId item = wxTreeCtrl::HitTest(event.GetPosition(), flags);
- if(item.IsOk() && flags & wxTREE_HITTEST_ONITEMICON){
- if(IsChecked(item)){
- //fire unselect event
- wxCheckTreeCtrlEvent e(wxEVT_CKTR_ITEM_UNSELECTED, GetId());
- e.SetItem(item);
- e.SetEventObject(this);
- GetEventHandler()->ProcessEvent(e);
-
- //Veto?
- if(!e.IsAllowed()){
- return;
- }
- Check(item, false);
-
- }else{
- //fire select event
- wxCheckTreeCtrlEvent e(wxEVT_CKTR_ITEM_SELECTED, GetId());
- e.SetItem(item);
- e.SetEventObject(this);
- GetEventHandler()->ProcessEvent(e);
-
- //Veto?
- if(!e.IsAllowed()){
- return;
- }
- Check(item, true);
- }
- return;
- }
- event.Skip();
-}
-
-bool wxCheckTreeCtrl::IsChecked(const wxTreeItemId &item) const
-{
- int imgId = GetItemImage(item);
- return imgId == 0;
-}
-
-void wxCheckTreeCtrl::Check(const wxTreeItemId &item, bool check)
-{
- if(check){
- SetItemImage(item, 0);
- SetItemImage(item, 0, wxTreeItemIcon_Selected);
- }else{
- SetItemImage(item, 1);
- SetItemImage(item, 1, wxTreeItemIcon_Selected);
- }
-}
-
-void wxCheckTreeCtrl::GetItemChildrenRecursive(const wxTreeItemId &parent, std::list<wxTreeItemId> &children)
-{
- //delete the item's children
- wxTreeItemIdValue cookie;
- children.push_back(parent);
- wxTreeItemId child = GetFirstChild(parent, cookie);
- while(child.IsOk())
- {
- if(ItemHasChildren(child)){
- GetItemChildrenRecursive(child, children);
- }else{
- children.push_back(child);
- }
- child = GetNextChild(parent, cookie);
- }
-}
-
-void wxCheckTreeCtrl::RecursiveCheck(const wxTreeItemId &item, bool check)
-{
- std::list<wxTreeItemId> children;
- GetItemChildrenRecursive(item, children);
-
- std::list<wxTreeItemId>::iterator iter = children.begin();
- for(; iter != children.end(); iter++)
- {
- Check((*iter), check);
- }
-}
diff --git a/LiteEditor/checktreectrl.h b/LiteEditor/checktreectrl.h
deleted file mode 100644
index ffdc571b..00000000
--- a/LiteEditor/checktreectrl.h
+++ /dev/null
@@ -1,96 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : checktreectrl.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef CHECKTREECTRL_H
-#define CHECKTREECTRL_H
-
-#include <wx/treectrl.h>
-#include <wx/bitmap.h>
-#include "list"
-
-class wxCheckTreeCtrl : public wxTreeCtrl
-{
- wxBitmap m_checkedBmp;
- wxBitmap m_uncheckedBmp;
-
-protected:
- void GetItemChildrenRecursive(const wxTreeItemId &parent, std::list<wxTreeItemId> &children);
-
-public:
- wxCheckTreeCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxT("treeCtrl"));
- virtual ~wxCheckTreeCtrl();
-
- //override item managements functions
- virtual wxTreeItemId AddRoot(const wxString& text, bool checked, wxTreeItemData* data = NULL);
- virtual wxTreeItemId AppendItem(const wxTreeItemId& parent, const wxString& text, bool checked, wxTreeItemData* data = NULL);
-
- bool IsChecked(const wxTreeItemId& item) const;
- virtual void Check(const wxTreeItemId& item, bool check = true);
- void RecursiveCheck(const wxTreeItemId &item, bool check = true);
-
- DECLARE_EVENT_TABLE();
- virtual void OnLeftDown(wxMouseEvent &event);
-};
-
-/**
- * \brief Holds information about events associated with wxCheckTreeCtrl objects
- * This event is fired when an item is (un)selected. use the:
- * \code
- * EVT_CHECKTREE_ITEM_SELECTED() //wxEVT_CKTR_ITEM_SELECTED
- * EVT_CHECKTREE_ITEM_UNSELECTED() //wxEVT_CKTR_ITEM_UNSELECTED
- * \code
- * macros to handle them.
- */
-class wxCheckTreeCtrlEvent : public wxNotifyEvent
-{
- wxTreeItemId m_item;
-
-public:
- /**
- * \param commandType - event type
- * \param winid - window ID
- */
- wxCheckTreeCtrlEvent(wxEventType commandType = wxEVT_NULL, int winid = 0) : wxNotifyEvent(commandType, winid){}
- virtual ~wxCheckTreeCtrlEvent(){}
-
- void SetItem(const wxTreeItemId &item) { m_item = item; }
- const wxTreeItemId& GetItem() const{ return m_item; }
-};
-
-extern const wxEventType wxEVT_CKTR_ITEM_UNSELECTED;
-extern const wxEventType wxEVT_CKTR_ITEM_SELECTED;
-
-typedef void (wxEvtHandler::*wxCheckTreeCtrlEventFunction)(wxCheckTreeCtrlEvent&);
-
-#define wxCheckTreeCtrlEventHandler(func) \
- (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxCheckTreeCtrlEventFunction, &func)
-
-#define EVT_CHECKTREE_ITEM_SELECTED(winid, fn) \
- wx__DECLARE_EVT1(wxEVT_CKTR_ITEM_SELECTED, winid, wxCheckTreeCtrlEventHandler(fn))
-
-#define EVT_CHECKTREE_ITEM_UNSELECTED(winid, fn) \
- wx__DECLARE_EVT1(wxEVT_CKTR_ITEM_UNSELECTED, winid, wxCheckTreeCtrlEventHandler(fn))
-
-#endif //CHECKTREECTRL_H
-
diff --git a/LiteEditor/cl_editor.cpp b/LiteEditor/cl_editor.cpp
deleted file mode 100644
index 0b390214..00000000
--- a/LiteEditor/cl_editor.cpp
+++ /dev/null
@@ -1,3502 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : cl_editor.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "cl_editor.h"
-#include "cl_editor_tip_window.h"
-#include "new_quick_watch_dlg.h"
-#include "buildtabsettingsdata.h"
-#include "jobqueue.h"
-#include "stringhighlighterjob.h"
-#include "job.h"
-#include "drawingutils.h"
-#include "cc_box.h"
-#include "stringsearcher.h"
-#include "precompiled_header.h"
-#include "colourrequest.h"
-#include "colourthread.h"
-#include <wx/xrc/xmlres.h>
-#include <wx/ffile.h>
-#include <wx/tooltip.h>
-#include <wx/settings.h>
-#include "parse_thread.h"
-#include "ctags_manager.h"
-#include "manager.h"
-#include "menumanager.h"
-#include <wx/fdrepdlg.h>
-#include "findreplacedlg.h"
-#include "context_manager.h"
-#include "editor_config.h"
-#include "filedroptarget.h"
-#include "fileutils.h"
-#include "wx/tokenzr.h"
-#include "simpletable.h"
-#include "debuggerpane.h"
-#include "frame.h"
-#include "pluginmanager.h"
-#include "breakpointdlg.h"
-#include <sys/stat.h>
-#include <sys/types.h>
-#include "debuggersettings.h"
-#include "globals.h"
-#include "threebuttondlg.h"
-#include "debuggerconfigtool.h"
-#include "addincludefiledlg.h"
-#include "quickfindbar.h"
-#include "buidltab.h"
-#include <wx/wupdlock.h>
-#include "localworkspace.h"
-
-// fix bug in wxscintilla.h
-#ifdef EVT_SCI_CALLTIP_CLICK
-#undef EVT_SCI_CALLTIP_CLICK
-#define EVT_SCI_CALLTIP_CLICK(id, fn) DECLARE_EVENT_TABLE_ENTRY (wxEVT_SCI_CALLTIP_CLICK, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) wxStaticCastEvent( wxScintillaEventFunction, & fn ), (wxObject *) NULL),
-#endif
-
-#define NUMBER_MARGIN_ID 0
-#define EDIT_TRACKER_MARGIN_ID 1
-#define SYMBOLS_MARGIN_ID 2
-#define SYMBOLS_MARGIN_SEP_ID 3
-#define FOLD_MARGIN_ID 4
-
-#define CL_LINE_MODIFIED_STYLE 200
-#define CL_LINE_SAVED_STYLE 201
-
-#ifndef wxScintillaEventHandler
-#define wxScintillaEventHandler(func) \
- (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxScintillaEventFunction, &func)
-#endif
-
-//debugger line marker xpms
-extern const char *arrow_right_green_xpm[];
-extern const char *stop_xpm[]; // Breakpoint
-extern const char *BreakptDisabled[];
-extern const char *BreakptCommandList[];
-extern const char *BreakptCommandListDisabled[];
-extern const char *BreakptIgnore[];
-extern const char *ConditionalBreakpt[];
-extern const char *ConditionalBreakptDisabled[];
-
-const wxEventType wxCMD_EVENT_REMOVE_MATCH_INDICATOR = XRCID("remove_match_indicator");
-
-extern unsigned int UTF8Length(const wchar_t *uptr, unsigned int tlen);
-
-BEGIN_EVENT_TABLE(LEditor, wxScintilla)
-
- EVT_SCI_CHARADDED (wxID_ANY, LEditor::OnCharAdded)
- EVT_SCI_MARGINCLICK (wxID_ANY, LEditor::OnMarginClick)
- EVT_SCI_CALLTIP_CLICK (wxID_ANY, LEditor::OnCallTipClick)
- EVT_SCI_DWELLEND (wxID_ANY, LEditor::OnDwellEnd)
- EVT_SCI_UPDATEUI (wxID_ANY, LEditor::OnSciUpdateUI)
- EVT_SCI_SAVEPOINTREACHED (wxID_ANY, LEditor::OnSavePoint)
- EVT_SCI_SAVEPOINTLEFT (wxID_ANY, LEditor::OnSavePoint)
- EVT_SCI_MODIFIED (wxID_ANY, LEditor::OnChange)
- EVT_CONTEXT_MENU (LEditor::OnContextMenu)
- EVT_KEY_DOWN (LEditor::OnKeyDown)
- EVT_LEFT_DOWN (LEditor::OnLeftDown)
- EVT_MIDDLE_DOWN (LEditor::OnMiddleDown)
- EVT_MIDDLE_UP (LEditor::OnMiddleUp)
- EVT_LEFT_UP (LEditor::OnLeftUp)
- EVT_LEAVE_WINDOW (LEditor::OnLeaveWindow)
- EVT_KILL_FOCUS (LEditor::OnFocusLost)
- EVT_SCI_DOUBLECLICK (wxID_ANY, LEditor::OnLeftDClick)
- EVT_COMMAND (wxID_ANY, wxEVT_FRD_FIND_NEXT, LEditor::OnFindDialog)
- EVT_COMMAND (wxID_ANY, wxEVT_FRD_REPLACE, LEditor::OnFindDialog)
- EVT_COMMAND (wxID_ANY, wxEVT_FRD_REPLACEALL, LEditor::OnFindDialog)
- EVT_COMMAND (wxID_ANY, wxEVT_FRD_BOOKMARKALL, LEditor::OnFindDialog)
- EVT_COMMAND (wxID_ANY, wxEVT_FRD_CLOSE, LEditor::OnFindDialog)
- EVT_COMMAND (wxID_ANY, wxEVT_FRD_CLEARBOOKMARKS, LEditor::OnFindDialog)
- EVT_COMMAND (wxID_ANY, wxEVT_CMD_JOB_STATUS_VOID_PTR, LEditor::OnHighlightThread)
- EVT_COMMAND (wxID_ANY, wxCMD_EVENT_REMOVE_MATCH_INDICATOR, LEditor::OnRemoveMatchInidicator)
-END_EVENT_TABLE()
-
-// Instantiate statics
-FindReplaceDialog* LEditor::m_findReplaceDlg = NULL;
-FindReplaceData LEditor::m_findReplaceData;
-std::map<wxString, int> LEditor::ms_bookmarkShapes;
-
-LEditor::LEditor(wxWindow* parent)
- :
-#ifndef __WXMSW__
- wxScintilla (parent, wxID_ANY, wxDefaultPosition, wxSize(1, 1))
-#else
- wxScintilla (parent, wxID_ANY, wxDefaultPosition, wxSize(1, 1), wxBORDER_STATIC)
-#endif
- , m_rightClickMenu (NULL)
- , m_popupIsOn (false)
- , m_modifyTime (0)
- , m_ccBox (NULL)
- , m_isVisible (true)
- , m_hyperLinkIndicatroStart (wxNOT_FOUND)
- , m_hyperLinkIndicatroEnd (wxNOT_FOUND)
- , m_hyperLinkType (wxID_NONE)
- , m_hightlightMatchedBraces (true)
- , m_autoAddMatchedBrace (false)
- , m_autoAdjustHScrollbarWidth(true)
- , m_calltipType (ct_none)
- , m_reloadingFile (false)
- , m_functionTip (NULL)
-{
- ms_bookmarkShapes[wxT("Small Rectangle")] = wxSCI_MARK_SMALLRECT;
- ms_bookmarkShapes[wxT("Rounded Rectangle")] = wxSCI_MARK_ROUNDRECT;
- ms_bookmarkShapes[wxT("Small Arrow")] = wxSCI_MARK_ARROW;
- ms_bookmarkShapes[wxT("Circle")] = wxSCI_MARK_CIRCLE;
-
- SetSyntaxHighlight();
- CmdKeyClear(wxT('D'), wxSCI_SCMOD_CTRL); // clear Ctrl+D because we use it for something else
- Connect(wxEVT_SCI_DWELLSTART, wxScintillaEventHandler(LEditor::OnDwellStart), NULL, this);
-
- // Initialise the breakpt-marker array
- FillBPtoMarkerArray();
-
- // set EOL mode for the newly created file
- int eol = GetEOLByOS();
- int alternate_eol = GetEOLByContent();
- if (alternate_eol != wxNOT_FOUND) {
- eol = alternate_eol;
- }
- SetEOLMode(eol);
- m_functionTip = new clEditorTipWindow(this);
- m_disableSmartIndent = GetOptions()->GetDisableSmartIndent();
-}
-
-LEditor::~LEditor()
-{
-}
-
-time_t LEditor::GetFileLastModifiedTime() const
-{
- return GetFileModificationTime(m_fileName.GetFullPath());
-}
-
-void LEditor::SetSyntaxHighlight(const wxString &lexerName)
-{
- ClearDocumentStyle();
- m_context = ContextManager::Get()->NewContext(this, lexerName);
- m_rightClickMenu = m_context->GetMenu();
- m_rightClickMenu->AppendSeparator(); // separates plugins
-
- SetProperties();
-
- SetEOL();
- m_context->SetActive();
- m_context->ApplySettings();
-
- UpdateColours();
-}
-
-void LEditor::SetSyntaxHighlight()
-{
- ClearDocumentStyle();
- m_context = ContextManager::Get()->NewContextByFileName(this, m_fileName);
- m_rightClickMenu = m_context->GetMenu();
- m_rightClickMenu->AppendSeparator(); // separates plugins
-
- SetProperties();
-
- m_context->SetActive();
- m_context->ApplySettings();
- UpdateColours();
-}
-
-// Fills the struct array that marries breakpoint type to marker and mask
-void LEditor::FillBPtoMarkerArray()
-{
- BPtoMarker bpm;
- bpm.bp_type = BP_type_break;
- bpm.marker = smt_breakpoint;
- bpm.mask = mmt_breakpoint;
- bpm.marker_disabled = smt_bp_disabled;
- bpm.mask_disabled = mmt_bp_disabled;
- m_BPstoMarkers.push_back(bpm);
-
- BPtoMarker bpcmdm;
- bpcmdm.bp_type = BP_type_cmdlistbreak;
- bpcmdm.marker = smt_bp_cmdlist;
- bpcmdm.mask = mmt_bp_cmdlist;
- bpcmdm.marker_disabled = smt_bp_cmdlist_disabled;
- bpcmdm.mask_disabled = mmt_bp_cmdlist_disabled;
- m_BPstoMarkers.push_back(bpcmdm);
-
- BPtoMarker bpcondm;
- bpcondm.bp_type = BP_type_condbreak;
- bpcondm.marker = smt_cond_bp;
- bpcondm.mask = mmt_cond_bp;
- bpcondm.marker_disabled = smt_cond_bp_disabled;
- bpcondm.mask_disabled = mmt_cond_bp_disabled;
- m_BPstoMarkers.push_back(bpcondm);
-
- BPtoMarker bpignm;
- bpignm.bp_type = BP_type_ignoredbreak;
- bpignm.marker =
- bpignm.marker_disabled = smt_bp_ignored;
- bpignm.mask =
- bpignm.mask_disabled = mmt_bp_ignored; // Enabled/disabled are the same
- m_BPstoMarkers.push_back(bpignm);
-
- bpm.bp_type = BP_type_tempbreak;
- m_BPstoMarkers.push_back(bpm); // Temp is the same as non-temp
-}
-
-// Looks for a struct for this breakpoint-type
-BPtoMarker LEditor::GetMarkerForBreakpt(enum BreakpointType bp_type)
-{
- std::vector<BPtoMarker>::iterator iter = m_BPstoMarkers.begin();
- for (; iter != m_BPstoMarkers.end(); ++iter) {
- if ((*iter).bp_type == bp_type) {
- return *iter;
- }
- }
- wxLogMessage(wxT("Breakpoint type not in vector!?"));
- return *iter;
-}
-
-void LEditor::SetCaretAt(long pos)
-{
- DoSetCaretAt(pos);
- EnsureCaretVisible();
-}
-
-/// Setup some scintilla properties
-void LEditor::SetProperties()
-{
- SetMultipleSelection(true);
- SetRectangularSelectionModifier(wxSCI_SCMOD_CTRL);
- SetAdditionalSelectionTyping(true);
-
- OptionsConfigPtr options = GetOptions();
- CallTipUseStyle(1);
-
- m_hightlightMatchedBraces = options->GetHighlightMatchedBraces();
- m_autoAddMatchedBrace = options->GetAutoAddMatchedBraces();
- m_autoAdjustHScrollbarWidth = options->GetAutoAdjustHScrollBarWidth();
- m_disableSmartIndent = options->GetDisableSmartIndent();
- m_disableSemicolonShift = options->GetDisableSemicolonShift();
-
- if (!m_hightlightMatchedBraces) {
- wxScintilla::BraceHighlight(wxSCI_INVALID_POSITION, wxSCI_INVALID_POSITION);
- SetHighlightGuide(0);
- }
-
- SetViewWhiteSpace(options->GetShowWhitspaces());
- SetMouseDwellTime(500);
- SetProperty(wxT("fold"), wxT("1"));
- SetProperty(wxT("fold.html"), wxT("1"));
- SetProperty(wxT("styling.within.preprocessor"), wxT("1"));
- SetProperty(wxT("fold.comment"), wxT("1"));
-
- SetProperty(wxT("fold.at.else"), options->GetFoldAtElse() ? wxT("1") : wxT("0"));
- SetProperty(wxT("fold.preprocessor"), options->GetFoldPreprocessor() ? wxT("1") : wxT("0"));
- SetProperty(wxT("fold.compact"), options->GetFoldCompact() ? wxT("1") : wxT("0"));
-
- // Fold and comments as well
- SetProperty(wxT("fold.comment"), wxT("1"));
- SetModEventMask (wxSCI_MOD_DELETETEXT | wxSCI_MOD_INSERTTEXT | wxSCI_PERFORMED_UNDO | wxSCI_PERFORMED_REDO | wxSCI_MOD_BEFOREDELETE );
-
- int caretSlop = 1;
- int caretZone = 20;
- int caretStrict = 0;
- int caretEven = 0;
- int caretJumps = 0;
-
- SetXCaretPolicy(caretStrict | caretSlop | caretEven | caretJumps, caretZone);
-
- caretSlop = 1;
- caretZone = 1;
- caretStrict = 4;
- caretEven = 8;
- caretJumps = 0;
- SetYCaretPolicy(caretStrict | caretSlop | caretEven | caretJumps, caretZone);
-
- SetCaretWidth(options->GetCaretWidth());
- SetCaretPeriod(options->GetCaretBlinkPeriod());
- SetMarginLeft(1);
-
- // Mark current line
- SetCaretLineVisible(options->GetHighlightCaretLine());
- SetCaretLineBackground(options->GetCaretLineColour());
- SetCaretLineBackgroundAlpha(70);
- MarkerSetAlpha(smt_bookmark, 30);
-
- SetFoldFlags(options->GetUnderlineFoldLine() ? 16 : 0);
-
- //------------------------------------------
- // Margin settings
- //------------------------------------------
-
- // symbol margin
- SetMarginType(SYMBOLS_MARGIN_ID, wxSCI_MARGIN_SYMBOL);
- // Line numbes
- SetMarginType(NUMBER_MARGIN_ID, wxSCI_MARGIN_NUMBER);
-
- // line number margin displays every thing but folding, bookmarks and breakpoint
- SetMarginMask(NUMBER_MARGIN_ID, ~(mmt_folds | mmt_bookmarks | mmt_indicator | mmt_compiler | mmt_all_breakpoints));
-
- SetMarginType (EDIT_TRACKER_MARGIN_ID, 4); // Styled Text margin
- SetMarginWidth (EDIT_TRACKER_MARGIN_ID, options->GetHideChangeMarkerMargin() ? 0 : 3);
- SetMarginMask (EDIT_TRACKER_MARGIN_ID, 0);
-
- // Separators
- SetMarginType (SYMBOLS_MARGIN_SEP_ID, wxSCI_MARGIN_FORE);
- SetMarginMask (SYMBOLS_MARGIN_SEP_ID, 0);
-
- // Fold margin - allow only folder symbols to display
- SetMarginMask (FOLD_MARGIN_ID, wxSCI_MASK_FOLDERS);
-
- // Set margins' width
- SetMarginWidth (SYMBOLS_MARGIN_ID, options->GetDisplayBookmarkMargin() ? 16 : 0); // Symbol margin
-
- // If the symbols margin is hidden, hide its related separator margin
- // as well
- SetMarginWidth(SYMBOLS_MARGIN_SEP_ID, options->GetDisplayBookmarkMargin() ? 1 : 0); // Symbol margin which acts as separator
-
- // allow everything except for the folding symbols
- SetMarginMask(SYMBOLS_MARGIN_ID, ~(wxSCI_MASK_FOLDERS));
-
- // Line number margin
-#ifdef __WXMSW__
- int pixelWidth = 4 + 5*TextWidth(wxSCI_STYLE_LINENUMBER, wxT("9"));
-#else
- int pixelWidth = 4 + 5*8;
-#endif
-
- // Show number margin according to settings.
- SetMarginWidth(NUMBER_MARGIN_ID, options->GetDisplayLineNumbers() ? pixelWidth : 0);
-
- // Show the fold margin
- SetMarginWidth(FOLD_MARGIN_ID, options->GetDisplayFoldMargin() ? 12 : 0); // Fold margin
-
- // Mark fold margin & symbols margins as sensetive
- SetMarginSensitive(FOLD_MARGIN_ID, true);
- SetMarginSensitive(SYMBOLS_MARGIN_ID, true);
-
- // Right margin
- SetEdgeMode(options->GetEdgeMode());
- SetEdgeColumn(options->GetEdgeColumn());
- SetEdgeColour(options->GetEdgeColour());
-
- //---------------------------------------------------
- // Fold settings
- //---------------------------------------------------
- // Define the folding style to be square
- if ( options->GetFoldStyle() == wxT("Flatten Tree Square Headers") ) {
- DefineMarker(wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_BOXMINUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDER, wxSCI_MARK_BOXPLUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_VLINE, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_LCORNER, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_BOXPLUSCONNECTED, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_BOXMINUSCONNECTED, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_TCORNER, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
-
- } else if ( options->GetFoldStyle() == wxT("Flatten Tree Circular Headers") ) {
- DefineMarker(wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_CIRCLEMINUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDER, wxSCI_MARK_CIRCLEPLUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_VLINE, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_LCORNERCURVE, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_CIRCLEPLUSCONNECTED, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_CIRCLEMINUSCONNECTED, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_TCORNER, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
-
- } else if ( options->GetFoldStyle() == wxT("Simple") ) {
- DefineMarker(wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_MINUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDER, wxSCI_MARK_PLUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_BACKGROUND, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_BACKGROUND, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_PLUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_MINUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_BACKGROUND, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
-
- } else if ( options->GetFoldStyle() == wxT("Arrows with Background Colour") ) {
-
- wxColour bgcol = options->GetFoldBgColour();
-
- DefineMarker(wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_ARROWDOWN_IN_BOX, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDER, wxSCI_MARK_ARROW_IN_BOX, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_FULLRECT, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_FULLRECT_TAIL, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_ARROW_IN_BOX, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_ARROWDOWN_IN_BOX, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_FULLRECT_TAIL, wxColor(0xff, 0xff, 0xff), bgcol);
-
- } else if ( options->GetFoldStyle() == wxT("Simple with Background Colour") ) {
-
- wxColour bgcol = options->GetFoldBgColour();
-
- DefineMarker(wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_MINUS_IN_BOX, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDER, wxSCI_MARK_PLUS_IN_BOX, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_FULLRECT, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_FULLRECT_TAIL, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_PLUS_IN_BOX, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_MINUS_IN_BOX, wxColor(0xff, 0xff, 0xff), bgcol);
- DefineMarker(wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_FULLRECT_TAIL, wxColor(0xff, 0xff, 0xff), bgcol);
-
- } else if ( options->GetFoldStyle() == wxT("Arrows") ) {
- DefineMarker(wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_ARROWDOWN, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDER, wxSCI_MARK_ARROW, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_BACKGROUND, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_BACKGROUND, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_ARROW, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_ARROWDOWN, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- DefineMarker(wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_BACKGROUND, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
-
- }
-
- // Bookmark
- int marker = wxSCI_MARK_ARROW;
- std::map<wxString, int>::iterator iter = ms_bookmarkShapes.find(options->GetBookmarkShape());
- if ( iter != ms_bookmarkShapes.end() ) {
- marker = iter->second;
- }
-
- MarkerDefine(smt_bookmark, marker);
- MarkerSetBackground(smt_bookmark, options->GetBookmarkBgColour());
- MarkerSetForeground(smt_bookmark, options->GetBookmarkFgColour());
-
- MarkerDefineBitmap(smt_breakpoint, wxBitmap(wxImage(stop_xpm)));
- MarkerDefineBitmap(smt_bp_disabled, wxBitmap(wxImage(BreakptDisabled)));
- MarkerDefineBitmap(smt_bp_cmdlist, wxBitmap(wxImage(BreakptCommandList)));
- MarkerDefineBitmap(smt_bp_cmdlist_disabled, wxBitmap(wxImage(BreakptCommandListDisabled)));
- MarkerDefineBitmap(smt_bp_ignored, wxBitmap(wxImage(BreakptIgnore)));
- MarkerDefineBitmap(smt_cond_bp, wxBitmap(wxImage(ConditionalBreakpt)));
- MarkerDefineBitmap(smt_cond_bp_disabled, wxBitmap(wxImage(ConditionalBreakptDisabled)));
-
- //debugger line marker
- wxImage img(arrow_right_green_xpm);
- wxBitmap bmp(img);
- MarkerDefineBitmap(smt_indicator, bmp);
- MarkerSetBackground(smt_indicator, wxT("LIME GREEN"));
- MarkerSetForeground(smt_indicator, wxT("BLACK"));
-
- // warning and error markers
- MarkerDefine(smt_warning, wxSCI_MARK_SHORTARROW);
- MarkerSetForeground(smt_error, wxColor(128, 128, 0));
- MarkerSetBackground(smt_warning, wxColor(255, 215, 0));
- MarkerDefine(smt_error, wxSCI_MARK_SHORTARROW);
- MarkerSetForeground(smt_error, wxColor(128, 0, 0));
- MarkerSetBackground(smt_error, wxColor(255, 0, 0));
-
- CallTipSetBackground(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOBK));
- CallTipSetForeground(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOTEXT));
-
-#if defined(__WXMAC__)
- // turning off these two greatly improves performance
- // on Mac
- SetTwoPhaseDraw(false);
- SetBufferedDraw(false);
-
-#elif defined(__WXGTK__)
- SetTwoPhaseDraw(true);
- SetBufferedDraw(true);
-
-#else // MSW
- SetTwoPhaseDraw(true);
- SetBufferedDraw(true);
-#endif
-
- //indentation settings
- SetTabIndents(true);
- SetBackSpaceUnIndents (true);
- SetUseTabs(options->GetIndentUsesTabs());
- SetTabWidth(options->GetTabWidth());
- SetIndent(options->GetIndentWidth());
- SetIndentationGuides(options->GetShowIndentationGuidelines() ? 3 : 0);
-
- SetLayoutCache(wxSCI_CACHE_DOCUMENT);
-
- size_t frame_flags = Frame::Get()->GetFrameGeneralInfo().GetFlags();
- SetViewEOL(frame_flags & CL_SHOW_EOL ? true : false);
-
- //if no right click menu is provided by the context, use scintilla default
- //right click menu
- UsePopUp(m_rightClickMenu ? false : true);
-
-#if defined(__WXMAC__)
- IndicatorSetUnder(1, false);
- IndicatorSetUnder(2, false);
- IndicatorSetUnder(HYPERLINK_INDICATOR, false);
- IndicatorSetUnder(MATCH_INDICATOR, false);
- IndicatorSetUnder(DEBUGGER_INDICATOR, false);
-#else
- IndicatorSetUnder(1, true);
- IndicatorSetUnder(2, true);
- IndicatorSetUnder(HYPERLINK_INDICATOR, true);
- IndicatorSetUnder(MATCH_INDICATOR, true);
- IndicatorSetUnder(DEBUGGER_INDICATOR, true);
-#endif
-
- SetInidicatorValue(MATCH_INDICATOR, 1);
- SetInidicatorValue(DEBUGGER_INDICATOR, 1);
-
- SetUserIndicatorStyleAndColour(wxSCI_INDIC_SQUIGGLE, wxT("RED"));
-
- wxColour col2(wxT("LIGHT BLUE"));
- wxString val2 = EditorConfigST::Get()->GetStringValue(wxT("WordHighlightColour"));
- if (val2.IsEmpty() == false) {
- col2 = wxColour(val2);
- }
-
- IndicatorSetForeground(1, options->GetBookmarkBgColour());
- IndicatorSetForeground(2, col2);
- IndicatorSetStyle (HYPERLINK_INDICATOR, wxSCI_INDIC_PLAIN);
- IndicatorSetStyle (MATCH_INDICATOR, wxSCI_INDIC_BOX);
- IndicatorSetForeground(MATCH_INDICATOR, wxT("GREY"));
-
- IndicatorSetStyle (DEBUGGER_INDICATOR, wxSCI_INDIC_BOX);
- IndicatorSetForeground(DEBUGGER_INDICATOR, wxT("GREY"));
-
- CmdKeyClear(wxT('L'), wxSCI_SCMOD_CTRL); // clear Ctrl+D because we use it for something else
-}
-
-void LEditor::OnSavePoint(wxScintillaEvent &event)
-{
- if (!GetIsVisible())
- return;
-
- wxString title;
- if (GetModify()) {
- title << wxT("*");
-
- } else {
-
- if ( GetMarginWidth(EDIT_TRACKER_MARGIN_ID) ) {
-
- Freeze();
-
- int numlines = GetLineCount();
- for (int i=0; i<numlines; i++) {
- int style = MarginGetStyle(i);
- if ( style == CL_LINE_MODIFIED_STYLE) {
- MarginSetText (i, wxT(" "));
- MarginSetStyle(i, CL_LINE_SAVED_STYLE);
- }
- }
- Refresh();
- Thaw();
- }
- }
-
- title << GetFileName().GetFullName();
- Frame::Get()->GetMainBook()->SetPageTitle(this, title);
- if (Frame::Get()->GetMainBook()->GetActiveEditor() == this) {
- Frame::Get()->SetFrameTitle(this);
- }
-}
-
-void LEditor::OnCharAdded(wxScintillaEvent& event)
-{
- static wxChar s_lastCharEntered = 0;
-
- int pos = GetCurrentPos();
-
- // get the word and select it in the completion box
- if (IsCompletionBoxShown()) {
- int start = WordStartPosition(pos, true);
- wxString word = GetTextRange(start, pos);
-
- if ( word.IsEmpty() ) {
- HideCompletionBox();
- } else {
- m_ccBox->SelectWord(word);
- }
- }
-
- // make sure line is visible
- int curLine = LineFromPosition(pos);
- if ( !GetFoldExpanded(curLine) ) {
- ToggleFold(curLine);
- }
-
- if (IndicatorValueAt(MATCH_INDICATOR, pos) && event.GetKey() == GetCharAt(pos)) {
- CharRight();
- DeleteBack();
- }
-
- wxChar matchChar (0);
- switch ( event.GetKey() ) {
-// case ',':
-// if (m_context->IsCommentOrString(GetCurrentPos()) == false) {
-// // try to force the function tooltip
-// ShowFunctionTipFromCurrentPos();
-// }
-// break;
-//
- case ';':
- if (!m_disableSemicolonShift)
- m_context->SemicolonShift();
- break;
-
- case '(':
- if (m_context->IsCommentOrString(GetCurrentPos()) == false) {
- CodeComplete();
- }
- matchChar = ')';
- break;
-
- case '[':
- matchChar = ']';
- break;
-
- case '{':
- m_context->AutoIndent(event.GetKey());
- matchChar = '}';
- break;
-
- case ':':
- m_context->AutoIndent(event.GetKey());
-
- // fall through...
- case '.':
- case '>':
- if (m_context->IsCommentOrString(GetCurrentPos()) == false) {
- CodeComplete();
- }
- break;
- case ')':
- // Remove one tip from the queue. If the queue new size is 0
- // the tooltip is then cancelled
- GetFunctionTip()->Remove();
- break;
-
- case '}':
- m_context->AutoIndent(event.GetKey());
- break;
- case '\n': {
- // incase ENTER was hit immediatly after we inserted '{' into the code...
- if ( s_lastCharEntered == wxT('{') && m_autoAddMatchedBrace && !m_disableSmartIndent) {
- matchChar = '}';
- InsertText(pos, matchChar);
- BeginUndoAction();
- //InsertText(pos, GetEolString());
- CharRight();
-
- m_context->AutoIndent(wxT('}'));
-
- InsertText(pos, GetEolString());
- CharRight();
- SetCaretAt(pos);
-
- m_context->AutoIndent(wxT('\n'));
-
- EndUndoAction();
- } else {
-
- m_context->AutoIndent(event.GetKey());
-
- // incase we are typing in a folded line, make sure it is visible
- EnsureVisible(curLine+1);
- }
-
- }
-
- break;
- default:
- break;
- }
-
- if (matchChar && m_autoAddMatchedBrace && !m_disableSmartIndent && !m_context->IsCommentOrString(pos)) {
- if ( matchChar == ')' ) {
- // avoid adding close brace if the next char is not a whitespace
- // character
- int nextChar = SafeGetChar(pos);
- switch (nextChar) {
- case ' ' :
- case '\t':
- case '\n':
- case '\r':
- InsertText(pos, matchChar);
- SetIndicatorCurrent(MATCH_INDICATOR);
- // use grey colour rather than black, otherwise this indicator is invisible when using the
- // black theme
- IndicatorFillRange(pos, 1);
- break;
- }
- } else if (matchChar != '}') {
- InsertText(pos, matchChar);
- SetIndicatorCurrent(MATCH_INDICATOR);
- // use grey colour rather than black, otherwise this indicator is invisible when using the
- // black theme
- IndicatorFillRange(pos, 1);
-
- }
- }
-
- if ( IsCompletionBoxShown() == false ) {
- // display the keywords completion box only if user typed more than 2
- // chars && the caret is placed at the end of that word
- long startPos = WordStartPosition(pos, true);
- if (GetWordAtCaret().Len() >= 2 && pos - startPos >= 2 ) {
- m_context->OnUserTypedXChars(GetWordAtCaret());
- }
- }
-
- if ( event.GetKey() != 13 ) {
- // Dont store last character if it was \r
- s_lastCharEntered = event.GetKey();
- }
- event.Skip();
-}
-
-void LEditor::OnSciUpdateUI(wxScintillaEvent &event)
-{
- // Get current position
- long pos = GetCurrentPos();
-
- //ignore << and >>
- int charAfter = SafeGetChar(PositionAfter(pos));
- int charBefore = SafeGetChar(PositionBefore(pos));
- int beforeBefore = SafeGetChar(PositionBefore(PositionBefore(pos)));
- int charCurrnt = SafeGetChar(pos);
-
- wxString sel_text = GetSelectedText();
- SetHighlightGuide(0);
- if (m_hightlightMatchedBraces) {
- if ( sel_text.IsEmpty() == false) {
- wxScintilla::BraceHighlight(wxSCI_INVALID_POSITION, wxSCI_INVALID_POSITION);
- } else if ( (charCurrnt == '<' && charAfter == '<') || //<<
- (charCurrnt == '<' && charBefore == '<') || //<<
- (charCurrnt == '>' && charAfter == '>') || //>>
- (charCurrnt == '>' && charBefore == '>') || //>>
- (beforeBefore == '<' && charBefore == '<') || //<<
- (beforeBefore == '>' && charBefore == '>') || //>>
- (beforeBefore == '-' && charBefore == '>') || //->
- (charCurrnt == '>' && charBefore == '-' ) ) { //->
- wxScintilla::BraceHighlight(wxSCI_INVALID_POSITION, wxSCI_INVALID_POSITION);
- } else {
- if ((charCurrnt == '{' || charCurrnt == '[' || GetCharAt(pos) == '<' || charCurrnt == '(') && !m_context->IsCommentOrString(pos)) {
- BraceMatch((long)pos);
- } else if ((charBefore == '{' || charBefore == '<' || charBefore == '[' || charBefore == '(') && !m_context->IsCommentOrString(PositionBefore(pos))) {
- BraceMatch((long)PositionBefore(pos));
- } else if ((charCurrnt == '}' || charCurrnt == ']' || charCurrnt == '>' || charCurrnt == ')') && !m_context->IsCommentOrString(pos)) {
- BraceMatch((long)pos);
- } else if ((charBefore == '}' || charBefore == '>' || charBefore == ']' ||charBefore == ')') && !m_context->IsCommentOrString(PositionBefore(pos))) {
- BraceMatch((long)PositionBefore(pos));
- } else {
- wxScintilla::BraceHighlight(wxSCI_INVALID_POSITION, wxSCI_INVALID_POSITION);
- }
- }
- }
-
- int curLine = LineFromPosition(pos);
-
- //update line number
- wxString message;
-
-// int foldLevel = (GetFoldLevel(curLine) & wxSCI_FOLDLEVELNUMBERMASK) - wxSCI_FOLDLEVELBASE;
- message << wxT("Ln ")
- << curLine+1
- << wxT(", Col ")
- << GetColumn(pos)
- << wxT(", Pos ")
- << pos;
-// << wxT(", Style ")
-// << GetStyleAt(pos)
-// << wxT(", Fold ")
-// << foldLevel;
-
- // Always update the status bar with event, calling it directly causes performance degredation
- DoSetStatusMessage(message, 1);
-
- SetIndicatorCurrent(MATCH_INDICATOR);
- IndicatorClearRange(0, pos);
-
- int end = PositionFromLine(curLine+1);
- if (end >= pos && end < GetTextLength()) {
- IndicatorClearRange(end, GetTextLength()-end);
- }
-
- if (sel_text.IsEmpty()) {
- // remove indicators
- SetIndicatorCurrent(2);
- IndicatorClearRange(0, GetLength());
-#ifdef __WXMAC__
- Refresh();
-#endif
- }
-
- RecalcHorizontalScrollbar();
-
- //let the context handle this as well
- m_context->OnSciUpdateUI(event);
-}
-
-void LEditor::OnMarginClick(wxScintillaEvent& event)
-{
- int nLine = LineFromPosition(event.GetPosition());
- switch (event.GetMargin()) {
- case SYMBOLS_MARGIN_ID:
- //symbols / breakpoints margin
- {
- // If Shift-LeftDown, let the user drag any breakpoint marker
- if (event.GetShift()) {
- int markers = (MarkerGet(nLine) & mmt_all_breakpoints);
- if (! markers) {
- break;
- }
- // There doesn't seem to be an elegant way to get the defined bitmap for a marker
- wxBitmap bm;
- if (markers & mmt_bp_disabled) {
- bm = wxBitmap(wxImage(BreakptDisabled));
- } else
- if (markers & mmt_bp_cmdlist) {
- bm = wxBitmap(wxImage(BreakptCommandList));
- } else
- if (markers & mmt_bp_cmdlist_disabled) {
- bm = wxBitmap(wxImage(BreakptCommandListDisabled));
- } else
- if (markers & mmt_bp_ignored) {
- bm = wxBitmap(wxImage(BreakptIgnore));
- } else
- if (markers & mmt_cond_bp) {
- bm = wxBitmap(wxImage(ConditionalBreakpt));
- } else
- if (markers & mmt_cond_bp_disabled) {
- bm = wxBitmap(wxImage(ConditionalBreakptDisabled));
- } else {
- // Make the standard bp bitmap the default
- bm = wxBitmap(wxImage(stop_xpm));
- }
-
- // There'll probably be a tooltip from the marker. Kill it
- DoCancelCalltip();
- // The breakpoint manager organises the actual drag/drop
- BreakptMgr* bpm = ManagerST::Get()->GetBreakpointsMgr();
- bpm->DragBreakpoint(this, nLine, bm);
-
- Connect(wxEVT_MOTION, wxMouseEventHandler(myDragImage::OnMotion), NULL, bpm->GetDragImage());
- Connect(wxEVT_LEFT_UP, wxMouseEventHandler(myDragImage::OnEndDrag), NULL, bpm->GetDragImage());
-
- } else {
- ToggleBreakpoint(nLine+1);
- }
- }
- break;
- case FOLD_MARGIN_ID:
- //fold margin
- {
- ToggleFold(nLine);
-
- int caret_pos = GetCurrentPos();
- if (caret_pos != wxNOT_FOUND) {
- int caret_line = LineFromPosition(caret_pos);
- if (caret_line != wxNOT_FOUND && GetLineVisible(caret_line) == false) {
- // the caret line is hidden, make sure the caret is visible
- while (caret_line >= 0) {
- if ((GetFoldLevel(caret_line) & wxSCI_FOLDLEVELHEADERFLAG) && GetLineVisible(caret_line)) {
- SetCaretAt(PositionFromLine(caret_line));
- break;
- }
- caret_line--;
- }
- }
- }
- }
- break;
- default:
- break;
- }
-}
-
-void LEditor::DefineMarker(int marker, int markerType, wxColor fore, wxColor back)
-{
- MarkerDefine(marker, markerType);
- MarkerSetForeground(marker, fore);
- MarkerSetBackground(marker, back);
-}
-
-bool LEditor::SaveFile()
-{
- if (this->GetModify()) {
- if (GetFileName().GetFullName().Find(wxT("Untitled")) != -1 || GetFileName().GetFullName().IsEmpty()) {
- return SaveFileAs();
- }
-
- // first save the file content
- if ( !SaveToFile(m_fileName) )
- return false;
-
- // if we managed to save the file, remove the 'read only' attribute
- Frame::Get()->GetMainBook()->MarkEditorReadOnly(this, false);
-
- wxString projName = GetProjectName();
- if ( projName.Trim().Trim(false).IsEmpty() )
- return true;
-
- // clear cached file, this function does nothing if the file is not cached
- TagsManagerST::Get()->ClearCachedFile(GetFileName().GetFullPath());
-
- //
- if (ManagerST::Get()->IsShutdownInProgress() || ManagerST::Get()->IsWorkspaceClosing()) {
- return true;
- }
-
- if (TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_DISABLE_AUTO_PARSING) {
- return true;
- }
- m_context->RetagFile();
- }
- return true;
-}
-
-bool LEditor::SaveFileAs()
-{
- // Prompt the user for a new file name
- const wxString ALL(wxT("All Files (*)|*"));
- wxFileDialog dlg(this, wxT("Save As"), m_fileName.GetPath(), m_fileName.GetFullName(), ALL,
- wxFD_SAVE | wxFD_OVERWRITE_PROMPT ,
- wxDefaultPosition);
-
- if (dlg.ShowModal() == wxID_OK) {
- // get the path
- wxFileName name(dlg.GetPath());
- if ( !SaveToFile(name) ) {
- wxMessageBox(_("Failed to save file"), wxT("Error"), wxOK | wxICON_ERROR);
- return false;
- }
- m_fileName = name;
-
- // update the tab title (again) since we really want to trigger an update to the file tooltip
- Frame::Get()->GetMainBook()->SetPageTitle(this, m_fileName.GetFullName());
- Frame::Get()->SetFrameTitle(this);
-
- // update syntax highlight
- SetSyntaxHighlight();
-
- Frame::Get()->GetMainBook()->MarkEditorReadOnly(this, IsFileReadOnly(GetFileName()));
- return true;
- }
- return false;
-}
-
-// an internal function that does the actual file writing to disk
-bool LEditor::SaveToFile(const wxFileName &fileName)
-{
-
-#if defined(__WXMSW__)
- DWORD dwAttrs = GetFileAttributes(fileName.GetFullPath().c_str());
- if (dwAttrs != INVALID_FILE_ATTRIBUTES) {
- if (dwAttrs & FILE_ATTRIBUTE_READONLY) {
- if (wxMessageBox(wxString::Format(wxT("'%s' has read-only attribute set\nWould you like CodeLite to try and remove it?"), fileName.GetFullPath().c_str()), wxT("CodeLite"),
- wxYES_NO|wxICON_QUESTION|wxCENTER) == wxYES) {
- // try to clear the read-only flag from the file
- if ( SetFileAttributes(fileName.GetFullPath().c_str(), dwAttrs & ~(FILE_ATTRIBUTE_READONLY)) == FALSE ) {
- wxMessageBox(wxString::Format(wxT("Failed to open file '%s' for write"), fileName.GetFullPath().c_str()), wxT("CodeLite"), wxOK|wxCENTER|wxICON_WARNING);
- return false;
- }
- } else {
- return false;
- }
- }
- }
-#endif
-
- wxString tmp_file;
- wxFFile file(fileName.GetFullPath().GetData(), wxT("wb"));
- if (file.IsOpened() == false) {
- // Nothing to be done
- if (wxMessageBox(wxString::Format(wxT("Failed to open file '%s' for write, Override it?"), fileName.GetFullPath().GetData()), wxT("CodeLite"), wxYES_NO|wxICON_WARNING) == wxYES) {
- // try to override it
- time_t curt = GetFileModificationTime(fileName.GetFullPath());
- tmp_file << fileName.GetFullPath() << curt;
- if (file.Open(tmp_file.c_str(), wxT("wb")) == false) {
- wxMessageBox(wxString::Format(wxT("Failed to open file '%s' for write"), tmp_file.c_str()), wxT("CodeLite"), wxOK|wxICON_WARNING);
- return false;
- }
- } else {
- return false;
- }
- }
-
- // save the file using the user's defined encoding
- wxCSConv fontEncConv(GetOptions()->GetFileFontEncoding());
-
- // trim lines / append LF if needed
- TrimText();
-
- // write the content
- file.Write(GetText(), fontEncConv);
- file.Close();
-
- // if the saving was done to a temporary file, override it
- if (tmp_file.IsEmpty() == false) {
- if (wxRenameFile(tmp_file, fileName.GetFullPath(), true) == false) {
- wxMessageBox(wxString::Format(wxT("Failed to override read-only file")), wxT("CodeLite"), wxOK|wxICON_WARNING);
- return false;
- }
- }
-
- //update the modification time of the file
- m_modifyTime = GetFileModificationTime(fileName.GetFullPath());
- SetSavePoint();
-
- // update the tab title (remove the star from the file name)
- Frame::Get()->GetMainBook()->SetPageTitle(this, fileName.GetFullName());
-
- if (fileName.GetExt() != m_fileName.GetExt()) {
- // new context is required
- SetSyntaxHighlight();
- }
-
- //fire a wxEVT_FILE_SAVED event
- wxString file_name = fileName.GetFullPath();
- SendCmdEvent(wxEVT_FILE_SAVED, (void*)&file_name);
- return true;
-}
-
-//this function is called before the debugger startup
-void LEditor::UpdateBreakpoints()
-{
- ManagerST::Get()->GetBreakpointsMgr()->DeleteAllBreakpointsByFileName(GetFileName().GetFullPath());
-
- // iterate over the array and update the breakpoint manager with updated line numbers for each breakpoint
- std::map<int, std::vector<BreakpointInfo> >::iterator iter = m_breakpointsInfo.begin();
- for (; iter != m_breakpointsInfo.end(); iter++) {
- int handle = iter->first;
- int line = MarkerLineFromHandle(handle);
- if (line >= 0) {
- for (size_t i=0; i<iter->second.size(); i++) {
- iter->second.at(i).lineno = line + 1;
- }
- }
-
- ManagerST::Get()->GetBreakpointsMgr()->SetBreakpoints(iter->second);
- }
-}
-
-wxString LEditor::GetWordAtCaret()
-{
- // Get the partial word that we have
- long pos = GetCurrentPos();
- long start = WordStartPosition(pos, true);
- long end = WordEndPosition(pos, true);
- return GetTextRange(start, end);
-}
-
-//---------------------------------------------------------------------------
-// Most of the functionality for this functionality
-// is done in the Language & TagsManager objects, however,
-// as you can see below, much work still needs to be done in the application
-// layer (outside of the library) to provide the input arguments for
-// the CodeParser library
-//---------------------------------------------------------------------------
-void LEditor::CompleteWord()
-{
- m_context->CompleteWord();
-}
-
-//------------------------------------------------------------------
-// AutoCompletion, by far the nicest feature of a modern IDE
-// This function attempts to resolve the string to the left of
-// the '.', '->' operator and to display a popup menu with
-// list of possible matches
-//------------------------------------------------------------------
-void LEditor::CodeComplete()
-{
- m_context->CodeComplete();
-}
-
-
-//----------------------------------------------------------------
-// Demonstrate how to achieve symbol browsing using the CodeLite
-// library, in addition we implements here a memory for allowing
-// user to go back and forward
-//----------------------------------------------------------------
-void LEditor::GotoDefinition()
-{
- m_context->GotoDefinition();
-}
-
-void LEditor::GotoPreviousDefintion()
-{
- m_context->GotoPreviousDefintion();
-}
-
-void LEditor::OnDwellStart(wxScintillaEvent & event)
-{
- // First see if we're hovering over a breakpoint or build marker
- // Assume anywhere to the left of the fold margin qualifies
- int margin = 0;
- wxPoint pt ( ScreenToClient(wxGetMousePosition()) );
- wxRect clientRect = GetClientRect();
- /*if( clientRect.Contains(pt) == false ) {
- wxLogMessage(wxT("Dwell start called but mouse is off the client area"));
- }*/
-
- for (int n=0; n < FOLD_MARGIN_ID; ++n) {
- margin += GetMarginWidth(n);
- }
-
- if (IsContextMenuOn()) {
- // Don't cover the context menu with a tooltip!
- } else if ( event.GetX() < margin ) {
- // We can't use event.GetPosition() here, as in the margin it returns -1
- int position = PositionFromPoint(wxPoint(event.GetX(),event.GetY()));
- int line = LineFromPosition(position);
- wxString tooltip;
- wxString fname = GetFileName().GetFullPath();
- calltip_type type(ct_none);
-
- if (MarkerGet(line) & mmt_all_breakpoints) {
- tooltip = ManagerST::Get()->GetBreakpointsMgr()->GetTooltip(fname, line+1);
- type = ct_breakpoint;
-
- } else if (MarkerGet(line) & mmt_compiler) {
- wxMemoryBuffer style_bytes;
- tooltip = Frame::Get()->GetOutputPane()->GetBuildTab()->GetBuildToolTip(fname, line, style_bytes);
- type = ct_compiler_msg;
- }
-
- if (! tooltip.IsEmpty()) {
- DoShowCalltip(position, tooltip, type);
- }
-
- } else if (ManagerST::Get()->DbgCanInteract() && clientRect.Contains(pt)) {
- //debugger is running and responsive, query it about the current token
- m_context->OnDbgDwellStart(event);
-
- } else if (TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_DISP_TYPE_INFO) {
- m_context->OnDwellStart(event);
- }
-}
-
-void LEditor::OnDwellEnd(wxScintillaEvent & event)
-{
- m_context->OnDwellEnd(event);
- m_context->OnDbgDwellEnd(event);
-}
-
-void LEditor::OnCallTipClick(wxScintillaEvent& event)
-{
- m_context->OnCallTipClick(event);
-}
-
-void LEditor::OnMenuCommand(wxCommandEvent &event)
-{
- MenuEventHandlerPtr handler = MenuManager::Get()->GetHandler(event.GetId());
-
- if ( handler ) {
- handler->ProcessCommandEvent(this, event);
- }
-}
-
-void LEditor::OnUpdateUI(wxUpdateUIEvent &event)
-{
- MenuEventHandlerPtr handler = MenuManager::Get()->GetHandler(event.GetId());
-
- if ( handler ) {
- handler->ProcessUpdateUIEvent(this, event);
- }
-}
-
-//-----------------------------------------------------------------------
-// Misc functions
-//-----------------------------------------------------------------------
-
-wxString LEditor::PreviousWord(int pos, int& foundPos)
-{
- // Get the partial word that we have
- wxChar ch = 0;
- long curpos = PositionBefore( pos );
- if (curpos == 0) {
- foundPos = wxNOT_FOUND;
- return wxT("");
- }
-
- while ( true ) {
- ch = GetCharAt( curpos );
- if (ch == wxT('\t') || ch == wxT(' ') || ch == wxT('\r') || ch == wxT('\v') || ch == wxT('\n')) {
- long tmpPos = curpos;
- curpos = PositionBefore( curpos );
- if (curpos == 0 && tmpPos == curpos)
- break;
- } else {
- long start = WordStartPosition(curpos, true);
- long end = WordEndPosition (curpos, true);
- return GetTextRange(start, end);
- }
- }
- foundPos = wxNOT_FOUND;
- return wxT("");
-}
-
-wxChar LEditor::PreviousChar(const int& pos, int &foundPos, bool wantWhitespace)
-{
- wxChar ch = 0;
- long curpos = PositionBefore( pos );
- if (curpos == 0) {
- foundPos = curpos;
- return ch;
- }
-
- while ( true ) {
- ch = GetCharAt( curpos );
- if (ch == wxT('\t') || ch == wxT(' ') || ch == wxT('\r') || ch == wxT('\v') || ch == wxT('\n')) {
- //if the caller is intrested in whitepsaces,
- //simply return it
- if (wantWhitespace) {
- foundPos = curpos;
- return ch;
- }
-
- long tmpPos = curpos;
- curpos = PositionBefore( curpos );
- if (curpos == 0 && tmpPos == curpos)
- break;
- } else {
- foundPos = curpos;
- return ch;
- }
- }
- foundPos = -1;
- return ch;
-}
-
-wxChar LEditor::NextChar( const int &pos, int &foundPos )
-{
- wxChar ch = 0;
- long nextpos = pos;
- while ( true ) {
-
- if ( nextpos >= GetLength() )
- break;
-
- ch = GetCharAt( nextpos );
- if (ch == wxT('\t') || ch == wxT(' ') || ch == wxT('\r') || ch == wxT('\v') || ch == wxT('\n')) {
- nextpos = PositionAfter( nextpos );
- continue;
- } else {
- foundPos = nextpos;
- return ch;
- }
- }
- foundPos = -1;
- return ch;
-}
-
-
-int LEditor::FindString (const wxString &str, int flags, const bool down, long pos)
-{
- // initialize direction
- if ( down ) {
- SetTargetStart (pos);
- SetTargetEnd(GetLength());
- } else {
- SetTargetStart (pos);
- SetTargetEnd(0);
- }
- SetSearchFlags(flags);
-
- // search string
- int _pos = SearchInTarget(str);
- if (_pos >= 0) return _pos;
- else return -1;
-}
-
-bool LEditor::MatchBraceBack(const wxChar& chCloseBrace, const long &pos, long &matchedPos)
-{
- if (pos<=0)
- return false;
-
- wxChar chOpenBrace;
-
- switch (chCloseBrace) {
- case '}':
- chOpenBrace = '{';
- break;
- case ')':
- chOpenBrace = '(';
- break;
- case ']':
- chOpenBrace = '[';
- break;
- case '>':
- chOpenBrace = '<';
- break;
- default:
- return false;
- }
-
- long nPrevPos = pos;
- wxChar ch;
- int depth = 1;
-
- // We go backward
- while (true) {
- if (nPrevPos == 0)
- break;
- nPrevPos = PositionBefore(nPrevPos);
-
- // Make sure we are not in a comment
- if (m_context->IsCommentOrString(nPrevPos))
- continue;
-
- ch = GetCharAt(nPrevPos);
- if (ch == chOpenBrace) {
- // Dec the depth level
- depth--;
- if (depth == 0) {
- matchedPos = nPrevPos;
- return true;
- }
- } else if (ch == chCloseBrace) {
- // Inc depth level
- depth++;
- }
- }
- return false;
-}
-
-void LEditor::RecalcHorizontalScrollbar()
-{
- if (m_autoAdjustHScrollbarWidth) {
-
- // recalculate and set the length of horizontal scrollbar
- int maxPixel = 0;
- int startLine = GetFirstVisibleLine();
- int endLine = startLine + LinesOnScreen();
- if (endLine >= (GetLineCount() - 1))
- endLine--;
-
- for (int i = startLine; i <= endLine; i++) {
- int visibleLine = (int) DocLineFromVisible(i); //get actual visible line, folding may offset lines
- int endPosition = GetLineEndPosition(visibleLine); //get character position from begin
- int beginPosition = PositionFromLine(visibleLine); //and end of line
-
- wxPoint beginPos = PointFromPosition(beginPosition);
- wxPoint endPos = PointFromPosition(endPosition);
-
- int curLen = endPos.x - beginPos.x;
-
- if (maxPixel < curLen) //If its the largest line yet
- maxPixel = curLen;
- }
-
- if (maxPixel == 0)
- maxPixel++; //make sure maxPixel is valid
-
- int currentLength = GetScrollWidth(); //Get current scrollbar size
- if (currentLength != maxPixel) {
- //And if it is not the same, update it
- SetScrollWidth(maxPixel);
- }
- }
-}
-
-//--------------------------------------------------------
-// Brace match
-//--------------------------------------------------------
-void LEditor::MatchBraceAndSelect(bool selRegion)
-{
- // Get current position
- long pos = GetCurrentPos();
-
- if (GetCharAt(pos) == '{' && !m_context->IsCommentOrString(pos)) {
- BraceMatch(selRegion);
- return;
- }
-
- if (GetCharAt(PositionBefore(pos)) == '{' && !m_context->IsCommentOrString(PositionBefore(pos))) {
- SetCurrentPos(PositionBefore(pos));
- BraceMatch(selRegion);
- return;
- }
-
- if (GetCharAt(pos) == '}' && !m_context->IsCommentOrString(pos)) {
- BraceMatch(selRegion);
- return;
- }
-
- if (GetCharAt(PositionBefore(pos)) == '}' && !m_context->IsCommentOrString(PositionBefore(pos))) {
- SetCurrentPos(PositionBefore(pos));
- BraceMatch(selRegion);
- return;
- }
-}
-
-void LEditor::BraceMatch(long pos)
-{
- // Check if we have a match
- int indentCol = 0;
- long endPos = wxScintilla::BraceMatch(pos);
- if (endPos != wxSCI_INVALID_POSITION) {
- wxScintilla::BraceHighlight(pos, endPos);
- if (GetIndentationGuides() != 0 && GetIndent() > 0) {
- // Highlight indent guide if exist
- indentCol = std::min(GetLineIndentation(LineFromPosition(pos)), GetLineIndentation(LineFromPosition(endPos)));
- indentCol /= GetIndent();
- indentCol *= GetIndent(); // round down to nearest indentation guide column
- SetHighlightGuide(GetLineIndentation(LineFromPosition(pos)));
- }
- } else {
- wxScintilla::BraceBadLight(pos);
- }
- SetHighlightGuide(indentCol);
-}
-
-void LEditor::BraceMatch(const bool& bSelRegion)
-{
- // Check if we have a match
- long endPos = wxScintilla::BraceMatch(GetCurrentPos());
- if (endPos != wxSCI_INVALID_POSITION) {
- // Highlight indent guide if exist
- long startPos = GetCurrentPos();
- if (bSelRegion) {
- // Select the range
- if (endPos > startPos) {
- SetSelectionEnd(PositionAfter(endPos));
- SetSelectionStart(startPos);
- } else {
- SetSelectionEnd(PositionAfter(startPos));
- SetSelectionStart(endPos);
- }
- } else {
- SetSelectionEnd(endPos);
- SetSelectionStart(endPos);
- SetCurrentPos(endPos);
- }
- EnsureCaretVisible();
- }
-}
-
-void LEditor::SetActive()
-{
- Frame::Get()->SetFrameTitle(this);
-
- // if the find and replace dialog is opened, set ourself
- // as the event owners
- if ( m_findReplaceDlg ) {
- m_findReplaceDlg->SetEventOwner(GetEventHandler());
- }
-
- SetFocus();
- SetSCIFocus(true);
-
- m_context->SetActive();
-
- wxScintillaEvent dummy;
- OnSciUpdateUI(dummy);
-}
-
-// Popup a Find/Replace dialog
-/**
- * \brief
- * \param isReplaceDlg
- */
-void LEditor::DoFindAndReplace(bool isReplaceDlg)
-{
- if ( m_findReplaceDlg == NULL ) {
- // Create the dialog
- m_findReplaceDlg = new FindReplaceDialog(Frame::Get(), m_findReplaceData);
- m_findReplaceDlg->SetEventOwner(this->GetEventHandler());
- }
-
- if ( m_findReplaceDlg->IsShown() ) {
- // make sure that dialog has focus and that this instace
- // of LEditor is the owner for the events
- m_findReplaceDlg->SetEventOwner(this->GetEventHandler());
- m_findReplaceDlg->SetFocus();
- return;
- }
-
- // the search always starts from the current line
- //if there is a selection, set it
- if (GetSelectedText().IsEmpty() == false) {
- //if this string does not exist in the array add it
- wxString Selection(GetSelectedText());
- if (isReplaceDlg) {
- if ( !Selection.Contains(wxT("\n")) ) {
- // Don't try to use a multiline selection as the 'find' token. It looks ugly and
- // it won't be what the user wants (it'll be the 'Replace in Selection' selection)
- m_findReplaceDlg->GetData().SetFindString(GetSelectedText());
- }
- } else {
- // always set the find string in 'Find' dialog
- m_findReplaceDlg->GetData().SetFindString(GetSelectedText());
- }
- }
-
- if (isReplaceDlg) { // Zeroise
- m_findReplaceDlg->ResetReplacedCount();
- m_findReplaceDlg->SetReplacementsMessage(frd_dontshowzeros);
- }
-
- m_findReplaceDlg->Show(isReplaceDlg ? REPLACE_DLG : FIND_DLG);
-}
-
-void LEditor::OnFindDialog(wxCommandEvent& event)
-{
- EditorConfig *conf = EditorConfigST::Get();
- wxEventType type = event.GetEventType();
- bool dirDown = ! (m_findReplaceDlg->GetData().GetFlags() & wxFRD_SEARCHUP ? true : false);
-
- if ( type == wxEVT_FRD_FIND_NEXT ) {
- FindNext(m_findReplaceDlg->GetData());
- } else if ( type == wxEVT_FRD_REPLACE ) {
-
- // Perform a "Replace" operation
-
- if ( !Replace() ) {
- long res(wxNOT_FOUND);
-
- wxString msg;
- if ( dirDown ) {
- msg << wxT("CodeLite reached the end of the document, Search again from the start?");
- } else {
- msg << wxT("CodeLite reached the end of the document, Search again from the bottom?");
- }
-
- if (!conf->GetLongValue(wxT("ReplaceWrapAroundAnswer"), res)) {
- ThreeButtonDlg *dlg = new ThreeButtonDlg(NULL, msg, wxT("CodeLite"));
- res = dlg->ShowModal();
- if (dlg->GetDontAskMeAgain() && res != wxID_CANCEL) {
- //save this answer
- conf->SaveLongValue(wxT("ReplaceWrapAroundAnswer"), res);
- }
- dlg->Destroy();
- }
-
- if ( res == wxID_OK ) {
- int saved_pos = GetCurrentPos();
-
- // place the caret at the new position
- if (dirDown) {
- SetCaretAt(0);
- } else {
- SetCaretAt(GetLength());
- }
-
- // replace again
- if ( !Replace() ) {
- // restore the caret
- SetCaretAt( saved_pos );
-
- // popup a message
- wxMessageBox(_("Can not find the string '") + m_findReplaceDlg->GetData().GetFindString() + wxT("'"),
- wxT("CodeLite"),
- wxICON_WARNING);
- }
- }
- }
- } else if (type == wxEVT_FRD_REPLACEALL) {
- ReplaceAll();
- } else if (type == wxEVT_FRD_BOOKMARKALL) {
- MarkAll();
- } else if (type == wxEVT_FRD_CLEARBOOKMARKS) {
- DelAllMarkers();
- }
-}
-
-void LEditor::FindNext(const FindReplaceData &data)
-{
- EditorConfig *conf = EditorConfigST::Get();
-
- bool dirDown = ! (data.GetFlags() & wxFRD_SEARCHUP ? true : false);
- if ( !FindAndSelect(data) ) {
- long res(wxNOT_FOUND);
- wxString msg;
- if ( dirDown ) {
- msg << _("CodeLite reached the end of the document, Search again from the start?");
- } else {
- msg << _("CodeLite reached the top of the document, Search again from the bottom?");
- }
-
- if (!conf->GetLongValue(wxT("FindNextWrapAroundAnswer"), res)) {
- ThreeButtonDlg *dlg = new ThreeButtonDlg(NULL, msg, wxT("CodeLite"));
- res = dlg->ShowModal();
- if (dlg->GetDontAskMeAgain() && res != wxID_CANCEL) {
- //save this answer
- conf->SaveLongValue(wxT("FindNextWrapAroundAnswer"), res);
- }
- dlg->Destroy();
- } else {
- // The user doesn't want to be asked if it's OK to continue, but at least let him know he has
- wxString msg = dirDown ? _("Reached end of document, continued from start")
- : _("Reached top of document, continued from bottom");
- Frame::Get()->SetStatusMessage(msg, 0, XRCID("findnext"));
- }
-
- if (res == wxID_OK) {
- int saved_pos = GetCurrentPos();
- if (dirDown) {
- DoSetCaretAt(0);
- } else {
- DoSetCaretAt(GetLength());
- }
-
- if ( !FindAndSelect(data) ) {
- // restore the caret
- DoSetCaretAt( saved_pos );
- // Kill the "...continued from start" statusbar message
- Frame::Get()->SetStatusMessage(wxEmptyString, 0, XRCID("findnext"));
- wxMessageBox(_("Can not find the string '") + data.GetFindString() + wxT("'"),
- wxT("CodeLite"),
- wxOK | wxICON_WARNING);
- }
- }
- } else {
- // The string *was* found, without needing to restart from the top
- // So cancel any previous statusbar restart message
- Frame::Get()->SetStatusMessage(wxEmptyString, 0, XRCID("findnext"));
- }
-}
-
-bool LEditor::Replace()
-{
- return Replace(m_findReplaceDlg->GetData());
-}
-
-bool LEditor::FindAndSelect()
-{
- return FindAndSelect(m_findReplaceDlg->GetData());
-}
-
-bool LEditor::FindAndSelect(const FindReplaceData &data)
-{
- wxString findWhat = data.GetFindString();
- size_t flags = SearchFlags(data);
- int offset = GetCurrentPos();
-
- int dummy, dummy_len(0), dummy_c, dummy_len_c(0);
- if ( GetSelectedText().IsEmpty() == false) {
- if (flags & wxSD_SEARCH_BACKWARD) {
- // searching up
- if (StringFindReplacer::Search(GetSelectedText(), GetSelectedText().Len(), findWhat, flags, dummy, dummy_len, dummy_c, dummy_len_c) && dummy_len_c == (int)GetSelectedText().Len()) {
- // place the caret at the start of the selection so the search will skip this selected text
- int sel_start = GetSelectionStart();
- int sel_end = GetSelectionEnd();
- sel_end > sel_start ? offset = sel_start : offset = sel_end;
- }
- } else {
- // searching down
- if (StringFindReplacer::Search(GetSelectedText(), 0, findWhat, flags, dummy, dummy_len, dummy_c, dummy_len_c) && dummy_len_c == (int)GetSelectedText().Len()) {
- // place the caret at the end of the selection so the search will skip this selected text
- int sel_start = GetSelectionStart();
- int sel_end = GetSelectionEnd();
- sel_end > sel_start ? offset = sel_end : offset = sel_start;
- }
- }
- }
-
- int pos(0);
- int match_len(0);
-
- if ( StringFindReplacer::Search(GetText(), offset, findWhat, flags, pos, match_len) ) {
-
- int line = LineFromPosition(pos);
- if ( line >= 0 ) EnsureVisible(line);
- if ( flags & wxSD_SEARCH_BACKWARD ) {
- SetSelection(pos + match_len, pos);
- } else {
- SetSelection(pos, pos + match_len);
- }
-
- return true;
- }
- return false;
-}
-
-bool LEditor::FindAndSelect(const wxString &_pattern, const wxString &name)
-{
- return DoFindAndSelect(_pattern, name, 0, NavMgr::Get());
-}
-
-bool LEditor::Replace(const FindReplaceData &data)
-{
- // the string to be replaced should be selected
- if ( GetSelectedText().IsEmpty() == false ) {
- int pos(0);
- int match_len(0);
- size_t flags = SearchFlags(data);
- if ( StringFindReplacer::Search(GetSelectedText(), 0, data.GetFindString(), flags, pos, match_len) ) {
- ReplaceSelection(data.GetReplaceString());
- m_findReplaceDlg->IncReplacedCount();
- m_findReplaceDlg->SetReplacementsMessage();
- }
- }
-
- // and find another match in the document
- return FindAndSelect();
-}
-
-size_t LEditor::SearchFlags(const FindReplaceData &data)
-{
- size_t flags = 0;
- size_t wxflags = data.GetFlags();
- wxflags & wxFRD_MATCHWHOLEWORD ? flags |= wxSD_MATCHWHOLEWORD : flags = flags;
- wxflags & wxFRD_MATCHCASE ? flags |= wxSD_MATCHCASE : flags = flags;
- wxflags & wxFRD_REGULAREXPRESSION ? flags |= wxSD_REGULAREXPRESSION : flags = flags;
- wxflags & wxFRD_SEARCHUP ? flags |= wxSD_SEARCH_BACKWARD : flags = flags;
- return flags;
-}
-
-//----------------------------------------------
-// Folds
-//----------------------------------------------
-void LEditor::ToggleCurrentFold()
-{
- int line = GetCurrentLine();
- if ( line >= 0 ) {
- ToggleFold( line );
-
- if (GetLineVisible(line) == false) {
- // the caret line is hidden, make sure the caret is visible
- while (line >= 0) {
- if ((GetFoldLevel(line) & wxSCI_FOLDLEVELHEADERFLAG) && GetLineVisible(line)) {
- SetCaretAt(PositionFromLine(line));
- break;
- }
- line--;
- }
- }
- }
-}
-
-// If the cursor is on/in/below an open fold, collapse all. Otherwise expand all
-void LEditor::FoldAll()
-{
- // Colourise(0,-1); SciTE did this here, but it doesn't seem to accomplish anything
-
- // First find the current fold-point, and ask it whether or not it's folded
- int lineSeek = GetCurrentLine();
- while ( true ) {
- if ( GetFoldLevel(lineSeek) & wxSCI_FOLDLEVELHEADERFLAG ) break;
- int parentline = GetFoldParent( lineSeek ); // See if we're inside a fold area
- if ( parentline >= 0 ) {
- lineSeek = parentline;
- break;
- } else lineSeek--; // Must have been between folds
- if ( lineSeek < 0 ) return;
- }
- bool expanded = GetFoldExpanded(lineSeek);
-
- int maxLine = GetLineCount();
-
- // Some files, especially headers with #ifndef FOO_H, will collapse into one big fold
- // So, if we're collapsing, skip any all-encompassing top level fold
- bool SkipTopFold = false;
- if (expanded) {
- int topline = 0;
- while( !(GetFoldLevel(topline) & wxSCI_FOLDLEVELHEADERFLAG)) {
- // This line wasn't a fold-point, so inc until we find one
- if ( ++topline >= maxLine) return;
- }
- int BottomOfFold = GetLastChild(topline, -1);
- if (BottomOfFold >= maxLine || BottomOfFold == -1) return;
- // We've found the bottom of the topmost fold-point. See if there's another fold below it
- ++BottomOfFold;
- while( !(GetFoldLevel(BottomOfFold) & wxSCI_FOLDLEVELHEADERFLAG)) {
- if ( ++BottomOfFold >= maxLine) {
- // If we're here, the top fold must encompass the whole file, so set the flag
- SkipTopFold = true;
- break;
- }
- }
- }
-
- // Now go through the whole document, toggling folds that match the original one's level if we're collapsing
- // or all collapsed folds if we're expanding (so that internal folds get expanded too).
- // The (level & wxSCI_FOLDLEVELHEADERFLAG) means "If this level is a Fold start"
- // (level & wxSCI_FOLDLEVELNUMBERMASK) returns a value for the 'indent' of the fold.
- // This starts at wxSCI_FOLDLEVELBASE==1024. A sub fold-point == 1025, a subsub 1026...
- for (int line = 0; line < maxLine; line++) {
- int level = GetFoldLevel(line);
- // If we're skipping an all-encompassing fold, we use wxSCI_FOLDLEVELBASE+1
- if ((level & wxSCI_FOLDLEVELHEADERFLAG) &&
- (expanded ? ((level & wxSCI_FOLDLEVELNUMBERMASK) == (wxSCI_FOLDLEVELBASE + SkipTopFold)) :
- ((level & wxSCI_FOLDLEVELNUMBERMASK) >= wxSCI_FOLDLEVELBASE ))) {
- if ( GetFoldExpanded(line) == expanded ) ToggleFold( line );
- }
- }
-
- // make sure the caret is visible. If it was hidden, place it at the first visible line
- int curpos = GetCurrentPos();
- if (curpos != wxNOT_FOUND) {
- int curline = LineFromPosition(curpos);
- if (curline != wxNOT_FOUND && GetLineVisible(curline) == false) {
- // the caret line is hidden, make sure the caret is visible
- while (curline >= 0) {
- if ((GetFoldLevel(curline) & wxSCI_FOLDLEVELHEADERFLAG) && GetLineVisible(curline)) {
- SetCaretAt(PositionFromLine(curline));
- break;
- }
- curline--;
- }
- }
- }
-}
-
-//----------------------------------------------
-// Bookmarks
-//----------------------------------------------
-void LEditor::AddMarker()
-{
- int nPos = GetCurrentPos();
- int nLine = LineFromPosition(nPos);
- MarkerAdd(nLine, smt_bookmark);
-}
-
-void LEditor::DelMarker()
-{
- int nPos = GetCurrentPos();
- int nLine = LineFromPosition(nPos);
- MarkerDelete(nLine, smt_bookmark);
-}
-
-void LEditor::ToggleMarker()
-{
- // Add/Remove marker
- if ( !LineIsMarked(mmt_bookmarks) )
- AddMarker();
- else
- DelMarker();
-}
-
-bool LEditor::LineIsMarked(enum marker_mask_type mask)
-{
- int nPos = GetCurrentPos();
- int nLine = LineFromPosition(nPos);
- int nBits = MarkerGet(nLine);
- // 'mask' is a bitmap representing a bookmark, or a type of breakpt, or...
- return (nBits & mask ? true : false);
-}
-
-void LEditor::DelAllMarkers()
-{
- // Delete all markers from the view
- MarkerDeleteAll(smt_bookmark);
-
- // delete all markers as well
- SetIndicatorCurrent(1);
- IndicatorClearRange(0, GetLength());
-
- SetIndicatorCurrent(2);
- IndicatorClearRange(0, GetLength());
-
- SetIndicatorCurrent(HYPERLINK_INDICATOR);
- IndicatorClearRange(0, GetLength());
-
- SetIndicatorCurrent(DEBUGGER_INDICATOR);
- IndicatorClearRange(0, GetLength());
-}
-
-void LEditor::FindNextMarker()
-{
- int nPos = GetCurrentPos();
- int nLine = LineFromPosition(nPos);
- int mask = mmt_bookmarks;
- int nFoundLine = MarkerNext(nLine + 1, mask);
- if (nFoundLine >= 0) {
- // mark this place before jumping to next marker
- GotoLine(nFoundLine);
- } else {
- //We reached the last marker, try again from top
- int nLine = LineFromPosition(0);
- int nFoundLine = MarkerNext(nLine, mask);
- if (nFoundLine >= 0) {
- GotoLine(nFoundLine);
- }
- }
- if (nFoundLine >= 0) EnsureVisible(nFoundLine);
-}
-
-void LEditor::FindPrevMarker()
-{
- int nPos = GetCurrentPos();
- int nLine = LineFromPosition(nPos);
- int mask = mmt_bookmarks;
- int nFoundLine = MarkerPrevious(nLine - 1, mask);
- if (nFoundLine >= 0) {
- GotoLine(nFoundLine);
- } else {
- //We reached first marker, try again from button
- int nFileSize = GetLength();
- int nLine = LineFromPosition(nFileSize);
- int nFoundLine = MarkerPrevious(nLine, mask);
- if (nFoundLine >= 0) {
- GotoLine(nFoundLine);
- }
- }
- if (nFoundLine >= 0) EnsureVisible(nFoundLine);
-}
-
-bool LEditor::ReplaceAll()
-{
- int offset( 0 );
-
- wxString findWhat = m_findReplaceDlg->GetData().GetFindString();
- wxString replaceWith = m_findReplaceDlg->GetData().GetReplaceString();
- size_t flags = SearchFlags(m_findReplaceDlg->GetData());
-
- int pos(0);
- int match_len(0);
- int posInChars(0);
- int match_lenInChars(0);
-
- wxString txt;
- if ( m_findReplaceDlg->GetData().GetFlags() & wxFRD_SELECTIONONLY ) {
- txt = GetSelectedText();
- } else {
- txt = GetText();
- }
-
- bool replaceInSelectionOnly = m_findReplaceDlg->GetData().GetFlags() & wxFRD_SELECTIONONLY;
-
- BeginUndoAction();
- long savedPos = GetCurrentPos();
- while ( StringFindReplacer::Search(txt, offset, findWhat, flags, pos, match_len, posInChars, match_lenInChars) ) {
- // Manipulate the buffer
- txt.Remove(posInChars, match_lenInChars);
- txt.insert(posInChars, replaceWith);
-
- // When not in 'selection only' update the editor buffer as well
- if( !replaceInSelectionOnly ) {
- SetSelectionStart(pos);
- SetSelectionEnd (pos + match_len);
- ReplaceSelection (replaceWith);
- }
-
- m_findReplaceDlg->IncReplacedCount();
- offset = pos + UTF8Length(replaceWith, replaceWith.length()); // match_len;
- }
-
- if ( replaceInSelectionOnly ) {
- // replace the selection
- ReplaceSelection(txt);
-
- // place the caret at the end of the selection
- SetCurrentPos(GetSelectionEnd());
- EnsureCaretVisible();
-
- } else {
- // The editor buffer was already updated
- // Restore the caret
- SetCaretAt(savedPos);
- }
-
- EndUndoAction();
-
- if ( replaceInSelectionOnly )
- m_findReplaceDlg->ResetSelectionOnlyFlag();
-
- m_findReplaceDlg->SetReplacementsMessage();
- return m_findReplaceDlg->GetReplacedCount() > 0;
-}
-
-bool LEditor::MarkAll()
-{
- wxString findWhat = m_findReplaceDlg->GetData().GetFindString();
-
- if (findWhat.IsEmpty()) {
- return false;
- }
-
- // Save the caret position
- long savedPos = GetCurrentPos();
- size_t flags = SearchFlags(m_findReplaceDlg->GetData());
-
- int pos(0);
- int match_len(0);
-
- // remove reverse search
- flags &= ~ wxSD_SEARCH_BACKWARD;
- int offset(0);
-
- wxString txt;
- int fixed_offset(0);
- if ( m_findReplaceDlg->GetData().GetFlags() & wxFRD_SELECTIONONLY ) {
- txt = GetSelectedText();
- fixed_offset = GetSelectionStart();
- } else {
- txt = GetText();
- }
-
- DelAllMarkers();
-
- // set the active indicator to be 1
- SetIndicatorCurrent(1);
-
- while ( StringFindReplacer::Search(txt, offset, findWhat, flags, pos, match_len) ) {
- MarkerAdd(LineFromPosition(fixed_offset + pos), smt_bookmark);
-
- // add indicator as well
- IndicatorFillRange(fixed_offset + pos, match_len);
- offset = pos + match_len;
- }
-
- // Restore the caret
- SetCurrentPos(savedPos);
- EnsureCaretVisible();
- return true;
-}
-
-void LEditor::ReloadFile()
-{
- SetReloadingFile( true );
-
- HideCompletionBox();
- DoCancelCalltip();
-
- if (m_fileName.GetFullPath().IsEmpty() == true || m_fileName.GetFullPath().StartsWith(wxT("Untitled"))) {
- SetEOLMode(GetEOLByOS());
- SetReloadingFile( false );
- return;
- }
-
- // get the pattern of the current file
- int lineNumber = GetCurrentLine();
-
- Frame::Get()->SetStatusMessage(wxT("Loading file..."), 0, XRCID("editor"));
-
- wxString text;
- ReadFileWithConversion(m_fileName.GetFullPath(), text);
- SetText( text );
- m_modifyTime = GetFileLastModifiedTime();
-
- SetSavePoint();
- EmptyUndoBuffer();
-
- // remove breakpoints belongs to this file
- DelAllBreakpointMarkers();
-
- UpdateColours();
- SetEOL();
-
- int doclen = GetLength();
- int lastLine = LineFromPosition(doclen);
- lineNumber > lastLine ? lineNumber = lastLine : lineNumber;
-
- GotoLine(lineNumber);
- EnsureVisible(lineNumber);
-
- // mark read only files
- Frame::Get()->GetMainBook()->MarkEditorReadOnly(this, IsFileReadOnly(GetFileName()));
-
- // try to locate the pattern on which the caret was prior to reloading the file
- Frame::Get()->SetStatusMessage(wxEmptyString, 0, XRCID("editor"));
-
- SetReloadingFile( false );
- ManagerST::Get()->GetBreakpointsMgr()->RefreshBreakpointsForEditor(this);
-}
-
-void LEditor::SetEditorText(const wxString &text)
-{
- HideCompletionBox();
- SetText(text);
-
- // remove breakpoints belongs to this file
- DelAllBreakpointMarkers();
-}
-
-void LEditor::Create(const wxString &project, const wxFileName &fileName)
-{
- // set the file name
- SetFileName(fileName);
- // set the project name
- SetProject(project);
- // let the editor choose the syntax highlight to use according to file extension
- // and set the editor properties to default
- SetSyntaxHighlight();
- // reload the file from disk
- ReloadFile();
-}
-
-void LEditor::InsertTextWithIndentation(const wxString &text, int lineno)
-{
- wxString textTag = FormatTextKeepIndent(text, PositionFromLine(lineno));
- InsertText(PositionFromLine(lineno), textTag);
-}
-
-wxString LEditor::FormatTextKeepIndent(const wxString &text, int pos)
-{
- //keep the page idnetation level
- wxString textToInsert(text);
-
- int indentSize = GetIndent();
- int indent = GetLineIndentation(LineFromPosition(pos));
-
- wxString indentBlock;
- if (GetUseTabs()) {
- indent = indent / indentSize;
- for (int i=0; i<indent; i++) {
- indentBlock << wxT("\t");
- }
- } else {
- for (int i=0; i<indent; i++) {
- indentBlock << wxT(" ");
- }
- }
-
- wxString eol = GetEolString();
-
- textToInsert.Replace(wxT("\r"), wxT("\n"));
- wxArrayString lines = wxStringTokenize(textToInsert, wxT("\n"), wxTOKEN_STRTOK);
-
- textToInsert.Clear();
- for (size_t i=0; i<lines.GetCount(); i++) {
- textToInsert << indentBlock;
- textToInsert << lines.Item(i) << eol;
- }
-
- return textToInsert;
-}
-
-void LEditor::OnContextMenu(wxContextMenuEvent &event)
-{
- if (m_rightClickMenu) {
-
- wxString selectText = GetSelectedText();
- wxPoint pt = event.GetPosition();
- wxPoint clientPt = ScreenToClient(pt);
-
- // If the right-click is in the margin, provide a different context menu: bookmarks/breakpts
- int margin = 0;
- for (int n=0; n < FOLD_MARGIN_ID; ++n) { // Assume a click anywhere to the left of the fold margin is for markers
- margin += GetMarginWidth(n);
- }
- if ( clientPt.x < margin ) {
- GotoPos( PositionFromPoint(clientPt) );
- return DoBreakptContextMenu(clientPt);
- }
-
- int closePos = PositionFromPointClose(clientPt.x, clientPt.y);
- if (closePos != wxNOT_FOUND) {
- if (!selectText.IsEmpty()) {
- //If the selection text is placed under the cursor,
- //keep it selected, else, unselect the text
- //and place the caret to be under cursor
- int selStart = GetSelectionStart();
- int selEnd = GetSelectionEnd();
- if (closePos < selStart || closePos > selEnd) {
- //cursor is not over the selected text, unselect and re-position caret
- SetCaretAt(closePos);
- }
- } else {
- //no selection, just place the caret
- SetCaretAt(closePos);
- }
- }
-
- //Let the context add it dynamic content
- m_context->AddMenuDynamicContent(m_rightClickMenu);
-
- //add the debugger (if currently running) to add its dynamic content
- IDebugger *debugger = DebuggerMgr::Get().GetActiveDebugger();
- if (debugger && debugger->IsRunning()) {
- AddDebuggerContextMenu(m_rightClickMenu);
- }
-
- //turn the popupIsOn value to avoid annoying
- //calltips from firing while our menu is popped
- m_popupIsOn = true;
-
- //let the plugins hook their content
- PluginManager::Get()->HookPopupMenu(m_rightClickMenu, MenuTypeEditor);
-
- //Popup the menu
- PopupMenu(m_rightClickMenu);
-
- //let the plugins remove their hooked content
- PluginManager::Get()->UnHookPopupMenu(m_rightClickMenu, MenuTypeEditor);
-
- m_popupIsOn = false;
-
- //Let the context remove the dynamic content
- m_context->RemoveMenuDynamicContent(m_rightClickMenu);
- RemoveDebuggerContextMenu(m_rightClickMenu);
- }
- event.Skip();
-}
-
-void LEditor::OnKeyDown(wxKeyEvent &event)
-{
- //let the context process it as well
- if(GetFunctionTip()->IsActive() && event.GetKeyCode() == WXK_ESCAPE)
- GetFunctionTip()->Deactivate();
-
- if (IsCompletionBoxShown()) {
- switch (event.GetKeyCode()) {
- case WXK_NUMPAD_ENTER:
- case WXK_RETURN:
- case WXK_TAB:
- m_ccBox->InsertSelection();
- HideCompletionBox();
- return;
-
- case WXK_ESCAPE:
- case WXK_LEFT:
- case WXK_RIGHT:
- case WXK_HOME:
- case WXK_END:
- case WXK_DELETE:
- case WXK_NUMPAD_DELETE:
- HideCompletionBox();
- return;
- case WXK_UP:
- m_ccBox->Previous();
- return;
- case WXK_DOWN:
- m_ccBox->Next();
- return;
- case WXK_PAGEUP:
- m_ccBox->PreviousPage();
- return;
- case WXK_PAGEDOWN:
- m_ccBox->NextPage();
- return;
- case WXK_BACK: {
-
- if (event.ControlDown()) {
- HideCompletionBox();
- } else {
-
- wxString word = GetWordAtCaret();
- if (word.IsEmpty()) {
- HideCompletionBox();
- } else {
- word.RemoveLast();
- m_ccBox->SelectWord(word);
- }
- }
- break;
- }
- default:
- break;
- }
- }
- m_context->OnKeyDown(event);
-}
-
-void LEditor::OnLeftUp(wxMouseEvent& event)
-{
-#ifdef __WXMSW__
- long value(0);
- EditorConfigST::Get()->GetLongValue(wxT("QuickCodeNavigationUsesMouseMiddleButton"), value);
-
- if (!value) {
- DoQuickJump(event, false);
- }
-#endif
- event.Skip();
-}
-
-void LEditor::OnLeaveWindow(wxMouseEvent& event)
-{
-// DoCancelCalltip();
-
- m_hyperLinkIndicatroStart = wxNOT_FOUND;
- m_hyperLinkIndicatroEnd = wxNOT_FOUND;
- m_hyperLinkType = wxID_NONE;
-
- SetIndicatorCurrent(HYPERLINK_INDICATOR);
- IndicatorClearRange(0, GetLength());
-
- event.Skip();
-}
-
-void LEditor::OnFocusLost(wxFocusEvent &event)
-{
-// DoCancelCalltip();
- event.Skip();
-}
-
-void LEditor::OnMiddleUp(wxMouseEvent& event)
-{
-#ifdef __WXMSW__
- long value(0);
- EditorConfigST::Get()->GetLongValue(wxT("QuickCodeNavigationUsesMouseMiddleButton"), value);
-
- if (value) {
- long pos = PositionFromPointClose(event.GetX(), event.GetY());
- if (pos != wxNOT_FOUND) {
- DoSetCaretAt(pos);
- }
- DoQuickJump(event, true);
- }
-#endif
- event.Skip();
-}
-
-void LEditor::OnMiddleDown(wxMouseEvent& event)
-{
-#ifdef __WXMSW__
- long value(0);
- EditorConfigST::Get()->GetLongValue(wxT("QuickCodeNavigationUsesMouseMiddleButton"), value);
- if (value) {
- DoMarkHyperlink(event, true);
- return;
- }
-#endif
- event.Skip();
-}
-
-void LEditor::OnLeftDown(wxMouseEvent &event)
-{
- // hide completion box
- HideCompletionBox();
- GetFunctionTip()->Deactivate();
-
- if ( ManagerST::Get()->GetDisplayVariableDialog()->IsShown() )
- ManagerST::Get()->GetDisplayVariableDialog()->HideDialog();
-
-#ifdef __WXMSW__
- long value(0);
- EditorConfigST::Get()->GetLongValue(wxT("QuickCodeNavigationUsesMouseMiddleButton"), value);
-
- if (!value) {
- DoMarkHyperlink(event, false);
- }
-#endif
- PostCmdEvent(wxEVT_EDITOR_CLICKED, NULL);
- event.Skip();
-}
-
-void LEditor::OnPopupMenuUpdateUI(wxUpdateUIEvent &event)
-{
- //pass it to the context
- m_context->ProcessEvent(event);
-}
-
-
-BrowseRecord LEditor::CreateBrowseRecord()
-{
- // Remember this position before skipping to the next one
- BrowseRecord record;
- record.lineno = LineFromPosition(GetCurrentPos())+1; // scintilla counts from zero, while tagentry from 1
- record.filename = GetFileName().GetFullPath();
- record.project = GetProject();
-
- //if the file is part of the workspace set the project name
- //else, open it with empty project
- record.position = GetCurrentPos();
- return record;
-}
-
-void LEditor::DoBreakptContextMenu(wxPoint pt)
-{
- //turn the popupIsOn value to avoid annoying
- //calltips from firing while our menu is popped
- m_popupIsOn = true;
-
- int ToHereId = 0;
- wxMenu menu;
-
- // First, add/del bookmark
- menu.Append(XRCID("toggle_bookmark"), LineIsMarked(mmt_bookmarks) ? wxString(_("Remove Bookmark")) : wxString(_("Add Bookmark")) );
- menu.AppendSeparator();
-
- menu.Append(XRCID("add_breakpoint"), wxString(_("Add Breakpoint")));
- menu.Append(XRCID("insert_temp_breakpoint"), wxString(_("Add a Temporary Breakpoint")));
- menu.Append(XRCID("insert_cond_breakpoint"), wxString(_("Add a Conditional Breakpoint..")));
-
- std::vector<BreakpointInfo> lineBPs;
- ManagerST::Get()->GetBreakpointsMgr()->GetBreakpoints(lineBPs, GetFileName().GetFullPath(), GetCurrentLine()+1);
- size_t count = lineBPs.size();
-
- // What we show depends on whether there's already a bp here (or several)
- if (count > 0) {
- menu.AppendSeparator();
- if (count == 1) {
- menu.Append(XRCID("delete_breakpoint"), wxString(_("Remove Breakpoint")));
- menu.Append(XRCID("ignore_breakpoint"), wxString(_("Ignore Breakpoint")));
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- // On MSWin it often crashes the debugger to try to load-then-disable a bp
- // so don't show the menu item unless the debugger is running
- menu.Append(XRCID("toggle_breakpoint_enabled_status"),
- lineBPs[0].is_enabled ? wxString(_("Disable Breakpoint")) : wxString(_("Enable Breakpoint")));
- }
- menu.Append(XRCID("edit_breakpoint"), wxString(_("Edit Breakpoint")));
- } else if (count > 1) {
- menu.Append(XRCID("delete_breakpoint"), wxString(_("Remove a Breakpoint")));
- menu.Append(XRCID("ignore_breakpoint"), wxString(_("Ignore a Breakpoint")));
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- menu.Append(XRCID("toggle_breakpoint_enabled_status"), wxString(_("Toggle a breakpoint's enabled state")));
- }
- menu.Append(XRCID("edit_breakpoint"), wxString(_("Edit a Breakpoint")));
- }
- }
-
- if (ManagerST::Get()->DbgCanInteract()) {
- menu.AppendSeparator();
- ToHereId = wxNewId();
- menu.Append(ToHereId, _("Run to here"));
- menu.Connect(ToHereId, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(LEditor::OnDbgRunToCursor), NULL, this);
- }
-
- PopupMenu(&menu, pt.x, pt.y);
-
- m_popupIsOn = false;
-
- if (ToHereId) menu.Disconnect(ToHereId, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(LEditor::OnDbgRunToCursor), NULL, this);
-}
-
-void LEditor::AddOtherBreakpointType(wxCommandEvent &event)
-{
- bool is_temp = (event.GetId() == XRCID("insert_temp_breakpoint"));
-
- wxString conditions;
- if (event.GetId() == XRCID("insert_cond_breakpoint")) {
- conditions = wxGetTextFromUser(wxT("Enter the condition statement"), wxT("Create Conditional Breakpoint"));
- if (conditions.IsEmpty()) {
- return;
- }
- }
-
- AddBreakpoint(-1, conditions, is_temp);
-}
-
-void LEditor::OnIgnoreBreakpoint()
-{
- if (ManagerST::Get()->GetBreakpointsMgr()->IgnoreByLineno(GetFileName().GetFullPath(), GetCurrentLine()+1)) {
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
- }
-}
-
-void LEditor::OnEditBreakpoint()
-{
- ManagerST::Get()->GetBreakpointsMgr()->EditBreakpointByLineno(GetFileName().GetFullPath(), GetCurrentLine()+1);
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
-}
-
-void LEditor::ToggleBreakpointEnablement()
-{
- if (ManagerST::Get()->GetBreakpointsMgr()->ToggleEnabledStateByLineno(GetFileName().GetFullPath(), GetCurrentLine()+1)) {
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
- }
-}
-
-void LEditor::AddBreakpoint(int lineno /*= -1*/,const wxString& conditions/*=wxT("")*/, const bool is_temp/*=false*/)
-{
- if (lineno == -1) {
- lineno = GetCurrentLine()+1;
- }
-
- if (!ManagerST::Get()->GetBreakpointsMgr()->AddBreakpointByLineno(GetFileName().GetFullPath(), lineno, conditions, is_temp)) {
- wxMessageBox(_("Failed to insert breakpoint"));
- } else {
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
- wxString message( _("Breakpoint successfully added") ), prefix;
- if (is_temp) {
- prefix = _("Temporary ");
- } else if (!conditions.IsEmpty()) {
- prefix = _("Conditional ");
- }
- DoSetStatusMessage(prefix + message, 0);
- }
-}
-
-void LEditor::DelBreakpoint(int lineno /*= -1*/)
-{
- if (lineno == -1) {
- lineno = GetCurrentLine()+1;
- }
- wxString message;
- int result = ManagerST::Get()->GetBreakpointsMgr()->DelBreakpointByLineno(GetFileName().GetFullPath(), lineno);
- switch (result) {
- case true:
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
- DoSetStatusMessage(_("Breakpoint successfully deleted"), 0);
- return;
- case wxID_CANCEL:
- return;
- case false:
- message = _("No breakpoint found on this line");
- break;
- default:
- message = _("Breakpoint deletion failed");
- }
-
- wxMessageBox(message, _("Breakpoint not deleted"), wxICON_ERROR);
-}
-
-void LEditor::ToggleBreakpoint(int lineno)
-{
-// Coming from OnMarginClick() means that lineno comes from the mouse position, not necessarily the current line
- if (lineno == -1) {
- lineno = GetCurrentLine()+1;
- }
- std::vector<BreakpointInfo> lineBPs;
- if (ManagerST::Get()->GetBreakpointsMgr()->GetBreakpoints(lineBPs, GetFileName().GetFullPath(), lineno) == 0) {
- // This will (always?) be from a margin mouse-click, so assume it's a standard breakpt that's wanted
- AddBreakpoint(lineno);
- } else {
- DelBreakpoint(lineno);
- }
-}
-
-void LEditor::SetWarningMarker(int lineno)
-{
- if (lineno >= 0) {
- MarkerAdd(lineno, smt_warning);
- }
-}
-
-void LEditor::SetErrorMarker(int lineno)
-{
- if (lineno >= 0) {
- MarkerAdd(lineno, smt_error);
- }
-}
-
-void LEditor::DelAllCompilerMarkers()
-{
- MarkerDeleteAll(smt_warning);
- MarkerDeleteAll(smt_error);
-}
-
-// Maybe one day we'll display multiple bps differently
-void LEditor::SetBreakpointMarker(int lineno, BreakpointType bptype, bool is_disabled, const std::vector<BreakpointInfo>& bps)
-{
- BPtoMarker bpm = GetMarkerForBreakpt(bptype);
- sci_marker_types markertype = is_disabled ? bpm.marker_disabled : bpm.marker;
- int markerHandle = MarkerAdd(lineno-1, markertype);
-
- // keep the breakpoint info vector for this marker
- m_breakpointsInfo.insert(std::make_pair<int, std::vector<BreakpointInfo> >(markerHandle, bps));
-}
-
-void LEditor::DelAllBreakpointMarkers()
-{
- // remove the stored information
- m_breakpointsInfo.clear();
-
- for (int bp_type = BP_FIRST_ITEM; bp_type <= BP_LAST_MARKED_ITEM; ++bp_type) {
- BPtoMarker bpm = GetMarkerForBreakpt((BreakpointType)bp_type);
- MarkerDeleteAll(bpm.marker);
- MarkerDeleteAll(bpm.marker_disabled);
- }
-}
-
-void LEditor::HighlightLine(int lineno)
-{
- if ( GetLineCount() <= 0 ) {
- return;
- }
-
- int sci_line = lineno - 1;
- if (GetLineCount() < sci_line -1) {
- sci_line = GetLineCount() - 1;
- }
- MarkerAdd(sci_line, smt_indicator);
-}
-
-void LEditor::UnHighlightAll()
-{
- MarkerDeleteAll(smt_indicator);
-}
-
-void LEditor::AddDebuggerContextMenu(wxMenu *menu)
-{
- if (!ManagerST::Get()->DbgCanInteract()) {
- return;
- }
-
- wxString word = GetSelectedText();
- if (word.IsEmpty()) {
- word = GetWordAtCaret();
- if (word.IsEmpty()) {
- return;
- }
- }
-
- m_customCmds.clear();
- wxString menuItemText;
-
- wxMenuItem *item;
- item = new wxMenuItem(menu, wxID_SEPARATOR);
- menu->Prepend(item);
- m_dynItems.push_back(item);
-
- //---------------------------------------------
- // Add custom commands
- //---------------------------------------------
- menu->Prepend(XRCID("debugger_watches"), wxT("More Watches"), DoCreateDebuggerWatchMenu(word));
-
- menuItemText.Clear();
- menuItemText << wxT("Add Watch '") << word << wxT("'");
- item = new wxMenuItem(menu, wxNewId(), menuItemText);
- menu->Prepend(item);
- menu->Connect(item->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(LEditor::OnDbgAddWatch), NULL, this);
- m_dynItems.push_back(item);
-
- menuItemText.Clear();
- item = new wxMenuItem(menu, wxNewId(), _("Run to cursor"));
- menu->Prepend(item);
- menu->Connect(item->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(LEditor::OnDbgRunToCursor), NULL, this);
- m_dynItems.push_back(item);
-}
-
-void LEditor::RemoveDebuggerContextMenu(wxMenu *menu)
-{
- std::vector<wxMenuItem*>::iterator iter = m_dynItems.begin();
-
- // disconnect all event handlers
- for (; iter != m_dynItems.end(); iter++) {
- Disconnect((*iter)->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(LEditor::OnDbgCustomWatch), NULL, this);
- menu->Remove( *iter );
- }
-
- wxMenuItem *item = menu->FindItem(XRCID("debugger_watches"));
- while ( item ) {
- if (item) {
- menu->Destroy(item);
- }
- item = menu->FindItem(XRCID("debugger_watches"));
- }
-
- m_dynItems.clear();
- m_customCmds.clear();
-}
-
-void LEditor::OnDbgAddWatch(wxCommandEvent &event)
-{
- wxUnusedVar(event);
-
- wxString word = GetSelectedText();
- if (word.IsEmpty()) {
- word = GetWordAtCaret();
- if (word.IsEmpty()) {
- return;
- }
- }
- Frame::Get()->GetDebuggerPane()->GetWatchesTable()->AddExpression(word);
- Frame::Get()->GetDebuggerPane()->SelectTab(DebuggerPane::WATCHES);
- Frame::Get()->GetDebuggerPane()->GetWatchesTable()->RefreshValues();
-}
-
-void LEditor::OnDbgCustomWatch(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- wxString word = GetSelectedText();
- if (word.IsEmpty()) {
- word = GetWordAtCaret();
- if (word.IsEmpty()) {
- return;
- }
- }
-
- //find the custom command to run
- std::map<int, wxString>::iterator iter = m_customCmds.find(event.GetId());
- if (iter != m_customCmds.end()) {
- //Replace $(Variable) with the actual string
- wxString command = iter->second;
- command.Replace(wxT("$(Variable)"), word);
-
- Frame::Get()->GetDebuggerPane()->GetWatchesTable()->AddExpression(command);
- Frame::Get()->GetDebuggerPane()->SelectTab(DebuggerPane::WATCHES);
- Frame::Get()->GetDebuggerPane()->GetWatchesTable()->RefreshValues();
- }
-}
-
-void LEditor::UpdateColours()
-{
- if ( TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_COLOUR_VARS ||
- TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_COLOUR_WORKSPACE_TAGS) {
- m_context->OnFileSaved();
- } else {
- if (m_context->GetName() == wxT("C++")) {
- SetKeyWords(1, wxEmptyString);
- SetKeyWords(2, wxEmptyString);
- SetKeyWords(3, wxEmptyString);
- SetKeyWords(4, wxEmptyString);
- }
- }
-
- Colourise(0, wxSCI_INVALID_POSITION);
-}
-
-int LEditor::SafeGetChar(int pos)
-{
- if (pos < 0 || pos >= GetLength()) {
- return 0;
- }
- return GetCharAt(pos);
-}
-
-void LEditor::OnDragEnd(wxScintillaEvent& e)
-{
-// wxUnusedVar(e);
-// wxLogMessage(wxT("OnDragEnd"));
- e.Skip();
-}
-
-void LEditor::OnDragStart(wxScintillaEvent& e)
-{
-// wxUnusedVar(e);
-// wxLogMessage(wxT("OnDragStart"));
- e.Skip();
-}
-
-void LEditor::ShowCompletionBox(const std::vector<TagEntryPtr>& tags, const wxString& word, wxEvtHandler* owner)
-{
- if ( m_ccBox == NULL ) {
- // create new completion box
- m_ccBox = new CCBox(this);
- }
-
- m_ccBox->SetAutoHide(false);
- m_ccBox->SetInsertSingleChoice(false);
-
- // If the number of elements exceeds the maximum query result,
- // alert the user
- int limit ( TagsManagerST::Get()->GetDatabase()->GetSingleSearchLimit() );
- if ( tags.size() >= (size_t) limit ) {
- this->DoSetStatusMessage(wxString::Format(wxT("Too many items were found. Narrow your search criteria (Displaying %d)"), tags.size()), 0);
- }
-
- m_ccBox->Adjust();
- m_ccBox->Show(tags, word, false, owner);
-}
-
-void LEditor::ShowCompletionBox(const std::vector<TagEntryPtr>& tags, const wxString& word, bool showFullDecl, bool autoHide, bool autoInsertSingleChoice)
-{
- if ( m_ccBox == NULL ) {
- // create new completion box
- m_ccBox = new CCBox(this);
- }
-
- m_ccBox->SetAutoHide(autoHide);
- m_ccBox->SetInsertSingleChoice(autoInsertSingleChoice);
-
- // If the number of elements exceeds the maximum query result,
- // alert the user
- int limit ( TagsManagerST::Get()->GetDatabase()->GetSingleSearchLimit() );
- if ( tags.size() >= (size_t) limit ) {
- this->DoSetStatusMessage(wxString::Format(wxT("Too many items were found. Narrow your search criteria (Displaying %d)"), tags.size()), 0);
- }
-
- m_ccBox->Adjust();
- m_ccBox->Show(tags, word, showFullDecl, NULL);
-}
-
-void LEditor::HideCompletionBox()
-{
- if (IsCompletionBoxShown()) {
- m_ccBox->Hide();
- }
-}
-
-int LEditor::GetCurrLineHeight()
-{
- int point = GetCurrentPos();
- wxPoint pt = PointFromPosition(point);
-
- // calculate the line height
- int curline = LineFromPosition(point);
- int ll;
- int hh(0);
- if (curline > 0) {
- ll = curline - 1;
- int pp = PositionFromLine(ll);
- wxPoint p = PointFromPosition(pp);
- hh = pt.y - p.y;
- } else {
- ll = curline + 1;
- int pp = PositionFromLine(ll);
- wxPoint p = PointFromPosition(pp);
- hh = p.y - pt.y;
- }
-
- if (hh == 0) {
- hh = 12; // default height on most OSs
- }
-
- return hh;
-}
-
-void LEditor::DoHighlightWord()
-{
- wxString word = GetSelectedText();
- if ( word.IsEmpty() ) {
- return;
- }
-
- // to make the code "smoother" we move the search task to different thread
- StringHighlighterJob *j = new StringHighlighterJob(this, GetText().c_str(), word.c_str());
- JobQueueSingleton::Instance()->PushJob( j );
-}
-
-void LEditor::HighlightWord(bool highlight)
-{
- if (highlight) {
- DoHighlightWord();
- } else {
- SetIndicatorCurrent(2);
- IndicatorClearRange(0, GetLength());
- }
-}
-
-void LEditor::OnLeftDClick(wxScintillaEvent& event)
-{
- long highlight_word(0);
- EditorConfigST::Get()->GetLongValue(wxT("highlight_word"), highlight_word);
- if ( GetSelectedText().IsEmpty() == false && highlight_word) {
- DoHighlightWord();
- }
- event.Skip();
-}
-
-void LEditor::OnHighlightThread(wxCommandEvent& e)
-{
- // the search highlighter thread has completed the calculations, fetch the results and mark them in the editor
- std::vector<std::pair<int, int> > *matches = (std::vector<std::pair<int, int> >*) e.GetClientData();
-
- SetIndicatorCurrent(2);
-
- // clear the old markers
- IndicatorClearRange(0, GetLength());
-
- for (size_t i=0; i<matches->size(); i++) {
- std::pair<int, int> p = matches->at(i);
- IndicatorFillRange(p.first, p.second);
- }
-
- delete matches;
-}
-
-bool LEditor::IsCompletionBoxShown()
-{
- return m_ccBox && m_ccBox->IsShown();
-}
-
-int LEditor::GetCurrentLine()
-{
- // return the current line number
- int pos = GetCurrentPos();
- return LineFromPosition(pos);
-}
-
-void LEditor::DoSetCaretAt(long pos)
-{
- SetCurrentPos(pos);
- SetSelectionStart(pos);
- SetSelectionEnd(pos);
-}
-
-int LEditor::GetEOLByContent()
-{
- if (GetLength() == 0) {
- return wxNOT_FOUND;
- }
-
- // locate the first EOL
- wxString txt = GetText();
- size_t pos1 = static_cast<size_t>(txt.Find(wxT("\n")));
- size_t pos2 = static_cast<size_t>(txt.Find(wxT("\r\n")));
- size_t pos3 = static_cast<size_t>(txt.Find(wxT("\r")));
-
- size_t max_size_t = static_cast<size_t>(-1);
- // the buffer is not empty but it does not contain any EOL as well
- if (pos1 == max_size_t && pos2 == max_size_t && pos3 == max_size_t ) {
- return wxNOT_FOUND;
- }
-
- size_t first_eol_pos(0);
- pos2 < pos1 ? first_eol_pos = pos2 : first_eol_pos = pos1;
- pos3 < first_eol_pos ? first_eol_pos = pos3 : first_eol_pos = first_eol_pos;
-
- // get the EOL at first_eol_pos
- wxChar ch = SafeGetChar(first_eol_pos);
- if (ch == wxT('\n')) {
- return wxSCI_EOL_LF;
- }
-
- if ( ch == wxT('\r') ) {
- wxChar secondCh = SafeGetChar(first_eol_pos+1);
- if (secondCh == wxT('\n')) {
- return wxSCI_EOL_CRLF;
- } else {
- return wxSCI_EOL_CR;
- }
- }
- return wxNOT_FOUND;
-}
-
-int LEditor::GetEOLByOS()
-{
- OptionsConfigPtr options = GetOptions();
- if (options->GetEolMode() == wxT("Unix (LF)")) {
- return wxSCI_EOL_LF;
- } else if (options->GetEolMode() == wxT("Mac (CR)")) {
- return wxSCI_EOL_CR;
- } else if (options->GetEolMode() == wxT("Windows (CRLF)")) {
- return wxSCI_EOL_CRLF;
- } else {
- // set the EOL by the hosting OS
-#if defined(__WXMAC__)
- return wxSCI_EOL_CR;
-#elif defined(__WXGTK__)
- return wxSCI_EOL_LF;
-#else
- return wxSCI_EOL_CRLF;
-#endif
- }
-}
-
-void LEditor::ShowFunctionTipFromCurrentPos()
-{
- if (TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_DISP_FUNC_CALLTIP) {
- int pos = DoGetOpenBracePos();
- if (pos != wxNOT_FOUND) {
- m_context->CodeComplete(pos);
- }
- }
-}
-
-wxString LEditor::GetSelection()
-{
- return wxScintilla::GetSelectedText();
-}
-
-int LEditor::GetSelectionStart()
-{
- return wxScintilla::GetSelectionStart();
-}
-
-int LEditor::GetSelectionEnd()
-{
- return wxScintilla::GetSelectionEnd();
-}
-
-void LEditor::ReplaceSelection(const wxString& text)
-{
- wxScintilla::ReplaceSelection(text);
-}
-
-void LEditor::ClearUserIndicators()
-{
- SetIndicatorCurrent(USER_INDICATOR);
- IndicatorClearRange(0, GetLength());
-}
-
-int LEditor::GetUserIndicatorEnd(int pos)
-{
- return wxScintilla::IndicatorEnd(USER_INDICATOR, pos);
-}
-
-int LEditor::GetUserIndicatorStart(int pos)
-{
- return wxScintilla::IndicatorStart(USER_INDICATOR, pos);
-}
-
-void LEditor::SelectText(int startPos, int len)
-{
- SetSelectionStart(startPos);
- SetSelectionEnd(startPos + len);
-}
-
-void LEditor::SetUserIndicator(int startPos, int len)
-{
- SetIndicatorCurrent(USER_INDICATOR);
- IndicatorFillRange(startPos, len);
-}
-
-void LEditor::SetUserIndicatorStyleAndColour(int style, const wxColour& colour)
-{
- IndicatorSetForeground(USER_INDICATOR, colour);
- IndicatorSetStyle(USER_INDICATOR, style);
- IndicatorSetUnder(USER_INDICATOR, true);
-}
-
-int LEditor::GetLexerId()
-{
- return GetLexer();
-}
-
-int LEditor::GetStyleAtPos(int pos)
-{
- return GetStyleAt(pos);
-}
-
-void LEditor::RegisterImageForKind(const wxString& kind, const wxBitmap& bmp)
-{
- if ( m_ccBox == NULL ) {
- // create new completion box
- m_ccBox = new CCBox(this);
- }
-
- m_ccBox->RegisterImageForKind(kind, bmp);
-}
-
-int LEditor::WordStartPos(int pos, bool onlyWordCharacters)
-{
- return wxScintilla::WordStartPosition(pos, onlyWordCharacters);
-}
-
-int LEditor::WordEndPos(int pos, bool onlyWordCharacters)
-{
- return wxScintilla::WordEndPosition(pos, onlyWordCharacters);
-}
-
-void LEditor::DoMarkHyperlink(wxMouseEvent& event, bool isMiddle)
-{
- if (event.m_controlDown || isMiddle) {
- SetIndicatorCurrent(HYPERLINK_INDICATOR);
- long pos = PositionFromPointClose(event.GetX(), event.GetY());
-
- IndicatorSetForeground(HYPERLINK_INDICATOR, wxT("NAVY"));
-
- if (pos != wxSCI_INVALID_POSITION) {
- m_hyperLinkType = m_context->GetHyperlinkRange(pos, m_hyperLinkIndicatroStart, m_hyperLinkIndicatroEnd);
- if (m_hyperLinkType != wxID_NONE) {
- IndicatorFillRange(m_hyperLinkIndicatroStart, m_hyperLinkIndicatroEnd - m_hyperLinkIndicatroStart);
- } else {
- m_hyperLinkIndicatroStart = wxNOT_FOUND;
- m_hyperLinkIndicatroEnd = wxNOT_FOUND;
- }
- }
- }
-}
-void LEditor::DoQuickJump(wxMouseEvent& event, bool isMiddle)
-{
- if (m_hyperLinkIndicatroStart != wxNOT_FOUND && m_hyperLinkIndicatroEnd != wxNOT_FOUND) {
- // indicator is highlighted
- long pos = PositionFromPointClose(event.GetX(), event.GetY());
- if (m_hyperLinkIndicatroStart <= pos && pos <= m_hyperLinkIndicatroEnd) {
- bool altLink = (isMiddle && event.m_controlDown) || (!isMiddle && event.m_altDown);
- m_context->GoHyperlink(m_hyperLinkIndicatroStart, m_hyperLinkIndicatroEnd,
- m_hyperLinkType, altLink);
- }
- }
-
- // clear the hyper link indicators
- m_hyperLinkIndicatroStart = wxNOT_FOUND;
- m_hyperLinkIndicatroEnd = wxNOT_FOUND;
-
- SetIndicatorCurrent(HYPERLINK_INDICATOR);
- IndicatorClearRange(0, GetLength());
- event.Skip();
-}
-
-void LEditor::TrimText()
-{
- bool trim = GetOptions()->GetTrimLine();
- bool appendLf = GetOptions()->GetAppendLF();
-
- if (!trim && !appendLf) {
- return;
- }
-
- // wrap the entire operation in a single undo action
- BeginUndoAction();
-
- if (trim) {
- int maxLines = GetLineCount();
- for (int line = 0; line < maxLines; line++) {
- int lineStart = PositionFromLine(line);
- int lineEnd = GetLineEndPosition(line);
- int i = lineEnd-1;
- wxChar ch = (wxChar)(GetCharAt(i));
- while ((i >= lineStart) && ((ch == _T(' ')) || (ch == _T('\t')))) {
- i--;
- ch = (wxChar)(GetCharAt(i));
- }
- if (i < (lineEnd-1)) {
- SetTargetStart(i+1);
- SetTargetEnd(lineEnd);
- ReplaceTarget(_T(""));
- }
- }
- }
-
- if (appendLf) {
- // The following code was adapted from the SciTE sourcecode
- int maxLines = GetLineCount();
- int enddoc = PositionFromLine(maxLines);
- if (maxLines <= 1 || enddoc > PositionFromLine(maxLines-1))
- InsertText(enddoc,GetEolString());
-
- }
-
- EndUndoAction();
-}
-
-wxString LEditor::GetEolString()
-{
- wxString eol;
- switch (this->GetEOLMode()) {
- case wxSCI_EOL_CR:
- eol = wxT("\r");
- break;
- case wxSCI_EOL_CRLF:
- eol = wxT("\r\n");
- break;
- case wxSCI_EOL_LF:
- eol = wxT("\n");
- break;
- }
- return eol;
-}
-
-void LEditor::OnDbgRunToCursor(wxCommandEvent& event)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
-
- if (dbgr && dbgr->IsRunning() && ManagerST::Get()->DbgCanInteract()) {
- BreakpointInfo bp;
- bp.Create(GetFileName().GetFullPath(), GetCurrentLine()+1, ManagerST::Get()->GetBreakpointsMgr()->GetNextID());
- bp.bp_type = BP_type_tempbreak;
- dbgr->Break(bp);
- dbgr->Continue();
- }
-}
-
-void LEditor::DoSetStatusMessage(const wxString& msg, int col)
-{
- wxCommandEvent e(wxEVT_UPDATE_STATUS_BAR);
- e.SetEventObject(this);
- e.SetString(msg);
- e.SetInt(col);
- Frame::Get()->GetEventHandler()->AddPendingEvent(e);
-}
-
-void LEditor::DoShowCalltip(int pos, const wxString& tip, calltip_type type, int hltPos, int hltLen)
-{
- m_calltipType = type;
- CallTipShow(pos, tip);
- if (hltPos >= 0 && hltLen > 0) {
- CallTipSetHighlight(hltPos, hltLen + hltPos);
- }
-}
-
-void LEditor::DoCancelCalltip()
-{
- m_calltipType = ct_none;
- CallTipCancel();
- GetFunctionTip()->Deactivate();
- // let the context process this as well
- m_context->OnCalltipCancel();
-}
-
-
-int LEditor::DoGetOpenBracePos()
-{
- // determine the closest open brace from the current caret position
- int depth (0);
- int char_tested(0); // we add another performance tuning here: dont test more than 256 characters backward
- bool exit_loop (false);
-
- int pos = PositionBefore( GetCurrentPos() );
- while ( pos > 0 && char_tested < 256 ) {
- wxChar ch = SafeGetChar(pos);
- if (m_context->IsCommentOrString(pos)) {
- pos = PositionBefore(pos);
- continue;
- }
-
- char_tested++;
-
- switch (ch) {
- case wxT('{'):
- case wxT('}'):
- case wxT(';'):
- exit_loop = true;
- break;
- case wxT('('):
- depth ++;
- if (depth == 1) {
- pos = PositionAfter(pos);
- exit_loop = true;
- } else {
- pos = PositionBefore(pos);
- }
- break;
- case wxT(')'):
- depth--;
- // fall through
- default:
- pos = PositionBefore(pos);
- break;
- }
-
- if (exit_loop)
- break;
- }
-
- if (char_tested == 256) {
- return wxNOT_FOUND;
- } else if (depth == 1 && pos >= 0) {
- return pos;
- }
- return wxNOT_FOUND;
-}
-
-void LEditor::SetEOL()
-{
- // set the EOL mode
- int eol = GetEOLByOS();
- int alternate_eol = GetEOLByContent();
- if (alternate_eol != wxNOT_FOUND) {
- eol = alternate_eol;
- }
- SetEOLMode(eol);
-
-}
-
-void LEditor::OnChange(wxScintillaEvent& event)
-{
- if ( m_autoAddMatchedBrace && !m_disableSmartIndent) {
- if ( (event.GetModificationType() & wxSCI_MOD_BEFOREDELETE) && (event.GetModificationType() & wxSCI_PERFORMED_USER) ) {
- wxString deletedText = GetTextRange(event.GetPosition(), event.GetPosition() + event.GetLength());
- if ( deletedText.IsEmpty() == false && deletedText.Length() == 1 ) {
- if ( deletedText.GetChar(0) == wxT('[') || deletedText.GetChar(0) == wxT('(') ) {
- int where = wxScintilla::BraceMatch(event.GetPosition());
- if ( where != wxNOT_FOUND ) {
- wxCommandEvent e(wxCMD_EVENT_REMOVE_MATCH_INDICATOR);
- // the removal will take place after the actual deletion of the
- // character, so we set it to be position before
- e.SetInt( PositionBefore(where) );
- AddPendingEvent( e );
- }
- }
- }
- }
- }
-
- if (event.GetModificationType() & wxSCI_MOD_INSERTTEXT || event.GetModificationType() & wxSCI_MOD_DELETETEXT) {
-
- int numlines(event.GetLinesAdded());
- if ( numlines && GetReloadingFile() == false) {
- // a line was added / removed from the document, synchronized between the breakpoints on this editor
- // and the breakpoint manager
- UpdateBreakpoints();
- }
-
- // ignore this event incase we are in the middle of file reloading
- if ( GetReloadingFile() == false && GetMarginWidth(EDIT_TRACKER_MARGIN_ID) /* margin is visible */ ) {
- int curline (LineFromPosition(event.GetPosition()));
-
- if ( numlines == 0 ) {
- // probably only the current line was modified
- MarginSetText (curline, wxT(" "));
- MarginSetStyle(curline, CL_LINE_MODIFIED_STYLE);
-
- } else {
-
- for (int i=0; i<=numlines; i++) {
- MarginSetText (curline+i, wxT(" "));
- MarginSetStyle(curline+i, CL_LINE_MODIFIED_STYLE);
- }
- }
- }
- }
-}
-
-void LEditor::OnRemoveMatchInidicator(wxCommandEvent& e)
-{
- // get the current indicator end range
- if ( IndicatorValueAt(MATCH_INDICATOR, e.GetInt()) == 1 ) {
- int curpos = GetCurrentPos();
- SetSelection(e.GetInt(), e.GetInt()+1);
- ReplaceSelection(wxEmptyString);
- SetCaretAt( curpos );
- }
-}
-
-bool LEditor::FindAndSelect(const wxString &pattern, const wxString &what, int pos, NavMgr *navmgr)
-{
- return DoFindAndSelect(pattern, what, pos, navmgr);
-}
-
-
-bool LEditor::DoFindAndSelect(const wxString& _pattern, const wxString& what, int start_pos, NavMgr* navmgr)
-{
- BrowseRecord jumpfrom = CreateBrowseRecord();
-
- bool realPattern( false );
- wxString pattern ( _pattern );
- pattern.StartsWith ( wxT ( "/^" ), &pattern );
- if ( _pattern.Length() != pattern.Length() ) {
- realPattern = true;
- }
-
- if ( pattern.EndsWith ( wxT ( "$/" ) ) ) {
- pattern = pattern.Left ( pattern.Len()-2 );
- realPattern = true;
- } else if ( pattern.EndsWith ( wxT ( "/" ) ) ) {
- pattern = pattern.Left ( pattern.Len()-1 );
- realPattern = true;
- }
-
- size_t flags = wxSD_MATCHCASE;
-
- FindReplaceData data;
- data.SetFindString ( pattern );
- data.SetFlags ( flags );
-
- // keep current position
- long curr_pos = GetCurrentPos();
- int match_len ( 0 ), pos ( 0 );
-
- // set the caret at the document start
- if (start_pos < 0 || start_pos > GetLength()) {
- start_pos = 0;
- }
-
- // set the starting point
- SetCurrentPos ( 0 );
- SetSelectionStart ( 0 );
- SetSelectionEnd ( 0 );
-
- int offset( start_pos );
- bool again ( false );
- bool res ( false );
-
- do {
- again = false;
- flags = wxSD_MATCHCASE;
-
- if ( StringFindReplacer::Search ( GetText(), offset, pattern, flags, pos, match_len ) ) {
-
- int line = LineFromPosition ( pos );
- wxString dbg_line = GetLine ( line ).Trim().Trim ( false );
-
- wxString tmp_pattern ( pattern );
- if ( dbg_line.Len() != tmp_pattern.Trim().Trim ( false ).Len() ) {
- offset = pos + match_len;
- again = true;
- } else {
-
- // select only the name at the given text range
- wxString display_name = what.BeforeFirst ( wxT ( '(' ) );
-
- int match_len1 ( 0 ), pos1 ( 0 );
- flags |= wxSD_SEARCH_BACKWARD;
- flags |= wxSD_MATCHWHOLEWORD;
-
- if ( realPattern ) {
- // the inner search is done on the pattern without the part of the
- // signature
- pattern = pattern.BeforeFirst ( wxT ( '(' ) );
- }
-
- if ( StringFindReplacer::Search ( pattern, UTF8Length ( pattern, pattern.Len() ), display_name, flags, pos1, match_len1 ) ) {
-
- // select only the word
- if ( GetContext()->IsCommentOrString ( pos+pos1 ) ) {
- // try again
- offset = pos + pos1;
- again = true;
- } else {
- SetSelection ( pos + pos1, pos + pos1 + match_len1 );
- res = true;
- }
- } else {
-
- // as a fallback, mark the whole line
- SetSelection ( pos, pos + match_len );
- res = true;
- }
- }
-
- } else {
- wxLogMessage ( wxT ( "Failed to find[" ) + pattern + wxT ( "]" ) );
-
- // match failed, restore the caret
- SetCurrentPos ( curr_pos );
- SetSelectionStart ( curr_pos );
- SetSelectionEnd ( curr_pos );
- }
- } while ( again );
-
- if (res && navmgr) {
- navmgr->AddJump(jumpfrom, CreateBrowseRecord());
- }
- return res;
-}
-
-
-wxMenu* LEditor::DoCreateDebuggerWatchMenu(const wxString &word)
-{
- DebuggerSettingsData data;
- DebuggerConfigTool::Get()->ReadObject(wxT("DebuggerCommands"), &data);
- std::vector<DebuggerCmdData> cmds = data.GetCmds();
-
- wxMenu* menu = new wxMenu();
- wxMenuItem *item(NULL);
- wxString menuItemText;
-
- for (size_t i=0; i<cmds.size(); i++) {
- DebuggerCmdData cmd = cmds.at(i);
- menuItemText.Clear();
- menuItemText << wxT("Watch '") << word << wxT("' as '") << cmd.GetName() << wxT("'");
- item = new wxMenuItem(menu, wxNewId(), menuItemText);
- menu->Prepend(item);
- Connect(item->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(LEditor::OnDbgCustomWatch), NULL, this);
-// m_dynItems.push_back(item);
- m_customCmds[item->GetId()] = cmd.GetCommand();
- }
-
- return menu;
-}
-
-OptionsConfigPtr LEditor::GetOptions()
-{
- // Start by getting the global settings
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
-
- // Now let any local preferences overwrite the global equivalent
- if (ManagerST::Get()->IsWorkspaceOpen()) {
- LocalWorkspaceST::Get()->GetOptions( options, GetProject() );
- }
-
- return options;
-}
-
-bool LEditor::ReplaceAllExactMatch(const wxString& what, const wxString& replaceWith)
-{
- int offset( 0 );
- wxString findWhat = what;
- size_t flags = wxSD_MATCHWHOLEWORD | wxSD_MATCHCASE;
-
- int pos(0);
- int match_len(0);
- int posInChars(0);
- int match_lenInChars(0);
- int matchCount(0);
- wxString txt = GetText();
-
- while ( StringFindReplacer::Search(txt, offset, findWhat, flags, pos, match_len, posInChars, match_lenInChars) ) {
- txt.Remove(posInChars, match_lenInChars);
- txt.insert(posInChars, replaceWith);
- matchCount++;
- offset = pos + UTF8Length(replaceWith, replaceWith.length()); // match_len;
- }
-
- // replace the buffer
- BeginUndoAction();
- long savedPos = GetCurrentPos();
-
- SetText(txt);
- // Restore the caret
- SetCaretAt(savedPos);
-
- EndUndoAction();
- return (matchCount > 0);
-}
-
-void LEditor::SetLexerName(const wxString& lexerName)
-{
- SetSyntaxHighlight(lexerName);
-}
diff --git a/LiteEditor/cl_editor.h b/LiteEditor/cl_editor.h
deleted file mode 100644
index 1d2beda1..00000000
--- a/LiteEditor/cl_editor.h
+++ /dev/null
@@ -1,631 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : cl_editor.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef LITEEDITOR_EDITOR_H
-#define LITEEDITOR_EDITOR_H
-
-#include <wx/wxscintilla.h>
-#include <stack>
-#include <vector>
-#include <map>
-#include "entry.h"
-#include "cl_calltip.h"
-#include "wx/filename.h"
-#include "findreplacedlg.h"
-#include "context_base.h"
-#include "wx/menu.h"
-#include "browse_record.h"
-#include "navigationmanager.h"
-#include "debuggermanager.h"
-#include "breakpointsmgr.h"
-#include "plugin.h"
-
-#define DEBUGGER_INDICATOR 11
-#define MATCH_INDICATOR 10
-#define USER_INDICATOR 3
-#define HYPERLINK_INDICATOR 4
-
-class wxFindReplaceDialog;
-class CCBox;
-class clEditorTipWindow;
-
-enum sci_annotation_styles {
- eAnnotationStyleError = 128, eAnnotationStyleWarning
-};
-
-// NB The following are sci markers, which are zero based. So smt_bookmark is actually the eighth of them (important when masking it!)
-// If you add another type here, watch out for smt_LAST_BP_TYPE; and you need also to add to the enum 'marker_mask_type' below
-// The higher the value, the nearer the top of the pecking order displaywise. So keep the most important breakpoint at the top i.e. smt_breakpoint,
-// but have smt_breakpointsmt_indicator above it, so you can see the indicator when there's a breakpt too
-enum sci_marker_types { smt_bookmark=7, smt_FIRST_BP_TYPE=8, smt_cond_bp_disabled = smt_FIRST_BP_TYPE, smt_bp_cmdlist_disabled, smt_bp_disabled,
- smt_bp_ignored, smt_cond_bp, smt_bp_cmdlist, smt_breakpoint, smt_LAST_BP_TYPE = smt_breakpoint, smt_indicator, smt_warning, smt_error
- };
-
-// These are bitmap masks of the various margin markers.
-// So 256 == 0x100 == 100000000, 2^9, and masks the ninth marker, smt_cond_bp_disabled==8 (as the markers are zero-based)
-// 0x7f00 is binary 111111100000000 and masks all the 7 current breakpoint types. If you add others, change it
-enum marker_mask_type { mmt_folds=wxSCI_MASK_FOLDERS, mmt_bookmarks=128, mmt_FIRST_BP_TYPE=0x100, mmt_cond_bp_disabled=mmt_FIRST_BP_TYPE, mmt_bp_cmdlist_disabled=0x200, mmt_bp_disabled=0x400,
- mmt_bp_ignored=0x800, mmt_cond_bp=0x1000,mmt_bp_cmdlist=0x2000, mmt_breakpoint=0x4000, mmt_LAST_BP_TYPE=mmt_breakpoint, mmt_all_breakpoints=0x7f00, mmt_indicator=0x8000,
- mmt_compiler=0x30000 /* masks compiler errors/warnings */
- };
-
-enum calltip_type { ct_function_hover, ct_debugger, ct_function_proto, ct_breakpoint, ct_compiler_msg, ct_none};
-
-/**
-* @class BPtoMarker
-* Holds which marker and mask are associated with each breakpoint type
-*/
-typedef struct _BPtoMarker {
- enum BreakpointType bp_type; // An enum of possible break/watchpoint types. In debugger.h
- sci_marker_types marker;
- marker_mask_type mask;
- sci_marker_types marker_disabled;
- marker_mask_type mask_disabled;
-} BPtoMarker;
-
-extern const wxEventType wxCMD_EVENT_REMOVE_MATCH_INDICATOR;
-/**
- * \ingroup LiteEditor
- * LEditor CodeLite editing component based on Scintilla
- * LEditor provides most of the C++/C editing capablities including:
- * -# Auto Completion
- * -# Find and replace
- * -# Bookmarks
- * -# Folding
- * -# Find definition of a symbol
- * and many many more
- *
- * \version 1.0
- * first version
- *
- * \date 04-21-2007
- *
- * \author Eran
- *
- */
-class LEditor : public wxScintilla, public IEditor
-{
- wxFileName m_fileName;
- wxString m_project;
- wxStopWatch m_watch;
- ContextBasePtr m_context;
- wxMenu * m_rightClickMenu;
- std::vector<wxMenuItem*> m_dynItems;
- std::vector<BPtoMarker> m_BPstoMarkers;
- static FindReplaceDialog * m_findReplaceDlg;
- static FindReplaceData m_findReplaceData;
- int m_lastMatchPos;
- static std::map<wxString, int> ms_bookmarkShapes;
- bool m_popupIsOn;
- time_t m_modifyTime;
- std::map<int, wxString> m_customCmds;
- CCBox * m_ccBox;
- bool m_isVisible;
- int m_hyperLinkIndicatroStart;
- int m_hyperLinkIndicatroEnd;
- int m_hyperLinkType;
- bool m_hightlightMatchedBraces;
- bool m_autoAddMatchedBrace;
- std::map<int, std::vector<BreakpointInfo> > m_breakpointsInfo;
- bool m_autoAdjustHScrollbarWidth;
- calltip_type m_calltipType;
- bool m_reloadingFile;
- bool m_disableSmartIndent;
- bool m_disableSemicolonShift;
- clEditorTipWindow* m_functionTip;
-
-public:
- static FindReplaceData &GetFindReplaceData() {
- return m_findReplaceData;
- }
-
- void SetReloadingFile(const bool& reloadingFile) {
- this->m_reloadingFile = reloadingFile;
- }
- const bool& GetReloadingFile() const {
- return m_reloadingFile;
- }
-
- clEditorTipWindow* GetFunctionTip() {
- return m_functionTip;
- }
-public:
- /// Construct a LEditor object
- LEditor(wxWindow* parent);
-
- /// Default destructor
- virtual ~LEditor();
-
- // Save the editor data into file
- virtual bool SaveFile();
-
- // Save content of the editor to a given file (Save As...)
- // this function prompts the user for selecting file name
- bool SaveFileAs();
-
- void SetDisableSmartIndent(bool disableSmartIndent) {
- this->m_disableSmartIndent = disableSmartIndent;
- }
-
- bool GetDisableSmartIndent() const {
- return m_disableSmartIndent;
- }
- /**
- * @brief set the EOL mode of the file by applying this logic:
- * - if the file has content, use the current cotext EOL
- * - if the file is empty and the EOL mode is set to Default, make it EOL of the hosting OS
- * - Use the setting provided by the user
- */
- void SetEOL();
-
- void CompleteWord();
-
- // set this editor file name
- void SetFileName(const wxFileName &name) {
- m_fileName = name;
- }
-
- // Return the project name
- const wxString &GetProject() const {
- return m_project;
- }
- // Set the project name
- void SetProject(const wxString &proj) {
- m_project = proj;
- }
-
- // Attempt to display a list of members
- // after a '.' or '->' operator has been inserted into
- // the code
- void CodeComplete();
-
- // User clicked Ctrl+.
- void GotoDefinition();
-
- // User clicked Ctrl+,
- void GotoPreviousDefintion();
-
- // return the EOL according to the content
- int GetEOLByContent();
-
- int GetEOLByOS();
- /**
- * Return true if editor definition contains more
- * on its stack
- */
- bool CanGotoPreviousDefintion() {
- return NavMgr::Get()->CanPrev();
- }
-
- // Callback function for UI events
- void OnUpdateUI(wxUpdateUIEvent &event);
-
- // Callback function for menu command events
- void OnMenuCommand(wxCommandEvent &event);
-
- // try to match a brace from the current caret pos and select the region
- void MatchBraceAndSelect(bool selRegion);
-
- // Popup a find/replace dialog
- void DoFindAndReplace(bool isReplaceDlg);
-
- // set this page as active, this usually happened when user changed the notebook
- // page to this one
- virtual void SetActive();
-
- // Perform FindNext operation based on the data stored in the FindReplaceData class
- void FindNext(const FindReplaceData &data);
-
- /**
- * \brief diaply functions' calltip from the current position of the caret
- */
- void ShowFunctionTipFromCurrentPos();
-
- /**
- * Change the document's syntax highlight
- * \param lexerName the syntax highlight's lexer name (as appear in the liteeditor.xml file)
- */
- virtual void SetSyntaxHighlight(const wxString &lexerName);
-
- /**
- * Change the document's syntax highlight - use the file name to determine lexer name
- */
- virtual void SetSyntaxHighlight();
-
- /**
- * Return the document context object
- */
- ContextBasePtr GetContext() const {
- return m_context;
- }
-
- // Bookmark API
- //-----------------------------------------
-
- // Is there currently a marker at the current line?
- bool LineIsMarked(enum marker_mask_type mask);
- // Toggle marker at the current line
- void ToggleMarker();
- // Delete all markers from the current document
- void DelAllMarkers();
- // Find next marker and move cursor to that line
- void FindNextMarker();
- // Find previous marker and move cursor to that line
- void FindPrevMarker();
-
- // Replace all
- bool ReplaceAll();
- bool ReplaceAllExactMatch(const wxString &what, const wxString &replaceWith);
- // mark all occurances
- bool MarkAll();
-
- void ToggleCurrentFold();
- void FoldAll();
-
- static FindReplaceDialog* GetFindReplaceDialog() {
- return m_findReplaceDlg;
- }
-
- // Util function
- int SafeGetChar(int pos);
- wxChar PreviousChar(const int& pos, int &foundPos, bool wantWhitespace = false);
- wxString PreviousWord(int pos, int &foundPos);
- wxChar NextChar (const int& pos, int &foundPos);
-
- int FindString (const wxString &str, int flags, const bool down, long pos);
-
- bool FindAndSelect();
- bool FindAndSelect(const FindReplaceData &data);
- bool FindAndSelect(const wxString &pattern, const wxString &name);
-
- bool Replace();
- bool Replace(const FindReplaceData &data);
-
- void RecalcHorizontalScrollbar();
-
- /**
- * Add marker to the current line
- */
- void AddMarker();
-
- /**
- * Delete a marker from the current line
- */
- void DelMarker();
-
- /**
- * Attempt to match brace backward
- * \param chCloseBrace the closing brace character (can be one of: '}' ')' ']')
- * \param pos position to start the match
- * \param matchedPos output, the position of the matched brace
- * \return true on match false otherwise
- */
- bool MatchBraceBack(const wxChar& chCloseBrace, const long &pos, long &matchedPos);
-
- /**
- * Open file and clear the undo buffer
- */
- virtual void Create(const wxString &project, const wxFileName &fileName);
-
- /**
- * Insert text to the editor and keeping the page indentation
- * \param text text to enter
- * \param pos position to insert the text
- */
- void InsertTextWithIndentation(const wxString &text, int pos);
-
- virtual BrowseRecord CreateBrowseRecord();
-
- bool IsContextMenuOn() const {
- return m_popupIsOn;
- }
-
- /**
- * @brief return an approximation of the line height
- * @return line height
- */
- int GetCurrLineHeight();
-
- /**
- * toggle break point at the current line & file
- */
- void ToggleBreakpoint(int lineno = -1);
-
- /**
- * add a temporary or conditional break point at the current line & file
- */
- void AddOtherBreakpointType(wxCommandEvent &event);
-
- /**
- * toggle whether the break point at the current line & file is enabled
- */
- void ToggleBreakpointEnablement();
-
- /**
- * Ignore the break point at the current line & file
- */
- void OnIgnoreBreakpoint();
-
- /**
- * Edit a breakpoint in the BreakptProperties dialog
- */
- void OnEditBreakpoint();
-
- /**
- * Add a breakpoint at the current line & file
- * Optionally make it temporary or conditional
- */
- void AddBreakpoint(int lineno = -1, const wxString& conditions = wxT(""), const bool is_temp = false);
-
- /**
- * Delete the breakpoint at the current line & file, or lineno if from ToggleBreakpoint()
- */
- void DelBreakpoint(int lineno = -1);
-
- /**
- * @brief search the editor for pattern. If pattern is found, the editor will then search for 'what'
- * inside the pattern and will select it
- * @param pattern pattern to search in the editor
- * @param what sub string of pattern to select
- * @param pos start the search from 'pos'
- * @param navmgr Navigation manager to place browsing recrods
- * @return return true if a match was found, false otherwise
- */
- virtual bool FindAndSelect(const wxString &pattern, const wxString &what, int pos, NavMgr *navmgr);
-
- virtual void UpdateBreakpoints();
-
- //--------------------------------
- // breakpoint visualisation
- //--------------------------------
- virtual void SetBreakpointMarker(int lineno, BreakpointType bptype, bool is_disabled, const std::vector<BreakpointInfo>& li);
- virtual void DelAllBreakpointMarkers();
-
- virtual void HighlightLine(int lineno);
- virtual void UnHighlightAll();
-
- // compiler warnings and errors
- void SetWarningMarker(int lineno);
- void SetErrorMarker(int lineno);
- void DelAllCompilerMarkers();
- void DoShowCalltip(int pos, const wxString &tip, calltip_type type, int hltPos = wxNOT_FOUND, int hltLen = wxNOT_FOUND);
- void DoCancelCalltip();
- int DoGetOpenBracePos();
-
- calltip_type GetCalltipType() const {
- return m_calltipType;
- }
-
- //----------------------------------
- //File modifications
- //----------------------------------
-
- /**
- * return the last modification time (on disk) of editor's underlying file
- */
- time_t GetFileLastModifiedTime() const;
-
- /**
- * return/set the last modification time that was made by the editor
- */
- time_t GetEditorLastModifiedTime() const {
- return m_modifyTime;
- }
- void SetEditorLastModifiedTime(time_t modificationTime) {
- m_modifyTime = modificationTime;
- }
-
- /**
- * \brief run through the file content and update colours for the
- * functions / locals
- */
- void UpdateColours();
-
- /**
- * @brief display completion box. This function also moves the completion box to the current position
- * @param tags list of tags to work with
- * @param word part of the word
- * @param showFullDecl display full function declaration
- */
- void ShowCompletionBox(const std::vector<TagEntryPtr> &tags, const wxString &word, bool showFullDecl, bool autoHide = false, bool autoInsertSingleChoice = true);
-
- /**
- * @brief displays teh code completion box. Unlike the previous metho, this method accepts owner and sends an event once selection is made
- * @param tags list if tags to display
- * @param word part of the word
- * @param owner event handler to be notified once a selection is made
- */
- virtual void ShowCompletionBox(const std::vector<TagEntryPtr> &tags, const wxString &word, wxEvtHandler *owner);
-
- /**
- * @brief register new user image fot TagEntry kind
- * @param kind the kind string that will be associated with the bitmap (TagEntry::GetKind())
- * @param bmp 16x16 bitmap
- */
- virtual void RegisterImageForKind(const wxString &kind, const wxBitmap &bmp);
-
- /**
- * @brief return true if the completion box is visible
- */
- virtual bool IsCompletionBoxShown();
-
- /**
- * @brief hide the completion box if it is active.
- */
- virtual void HideCompletionBox();
-
- /**
- * @brief highlight the word where the cursor is at
- * @param highlight
- */
- void HighlightWord(bool highlight = true);
-
- void TrimText();
-
- /**
- *--------------------------------------------------
- * Implemetation for IEditor interace
- *--------------------------------------------------
- */
- virtual wxString GetEditorText() {
- return GetText();
- }
- virtual void SetEditorText(const wxString &text);
- virtual void ReloadFile();
- virtual void SetCaretAt(long pos);
- virtual long GetCurrentPosition() {
- return GetCurrentPos();
- }
- virtual const wxFileName& GetFileName() const {
- return m_fileName;
- }
- virtual const wxString &GetProjectName() const {
- return m_project;
- }
- virtual wxString GetWordAtCaret() ;
- virtual void AppendText(const wxString &text) {
- wxScintilla::AppendText(text);
- }
- virtual void InsertText(int pos, const wxString &text) {
- wxScintilla::InsertText(pos, text);
- }
- virtual int GetLength() {
- return wxScintilla::GetLength();
- }
- virtual bool IsModified() {
- return wxScintilla::GetModify();
- }
- virtual int GetEOL() {
- return wxScintilla::GetEOLMode();
- }
- virtual int GetCurrentLine();
- virtual void ReplaceSelection(const wxString &text);
- virtual wxString GetSelection();
- virtual int GetSelectionStart();
- virtual int GetSelectionEnd();
- virtual void SelectText(int startPos, int len);
-
- virtual void SetLexerName(const wxString &lexerName);
-
- // User Indicators API
- virtual void SetUserIndicatorStyleAndColour(int style, const wxColour &colour);
- virtual void SetUserIndicator(int startPos, int len);
- virtual void ClearUserIndicators();
- virtual int GetUserIndicatorStart(int pos);
- virtual int GetUserIndicatorEnd(int pos);
- virtual int GetLexerId();
- virtual int GetStyleAtPos(int pos);
-
- /**
- * @brief Get position of start of word.
- * @param pos from position
- * @param onlyWordCharacters
- */
- virtual int WordStartPos (int pos, bool onlyWordCharacters);
-
- /**
- * @brief Get position of end of word.
- * @param pos from position
- * @param onlyWordCharacters
- */
- virtual int WordEndPos (int pos, bool onlyWordCharacters);
-
- /**
- * Insert text to the editor and keeping the indentation
- * \param text text to enter
- * \param pos position to insert the text
- */
- virtual wxString FormatTextKeepIndent(const wxString &text, int pos);
-
- //----------------------------------------------------------------------------
- //----------------------------------------------------------------------------
-
- /**
- * Get editor options. Takes any workspace/project overrides into account
- */
- OptionsConfigPtr GetOptions();
-
- void SetIsVisible(const bool& isVisible) {
- this->m_isVisible = isVisible;
- }
- const bool& GetIsVisible() const {
- return m_isVisible;
- }
-
- wxString GetEolString();
-
-private:
- void FillBPtoMarkerArray();
- BPtoMarker GetMarkerForBreakpt(enum BreakpointType bp_type);
- void SetProperties();
- void DefineMarker(int marker, int markerType, wxColor fore, wxColor back);
- void SetLineNumberWidth();
- bool SaveToFile(const wxFileName &fileName);
- void BraceMatch(const bool& bSelRegion);
- void BraceMatch(long pos);
- void DoHighlightWord();
- void DoSetStatusMessage(const wxString &msg, int col);
-
- // Conevert FindReplaceDialog flags to wxSD flags
- size_t SearchFlags(const FindReplaceData &data);
-
- void AddDebuggerContextMenu(wxMenu *menu);
- void RemoveDebuggerContextMenu(wxMenu *menu);
- void DoBreakptContextMenu(wxPoint clientPt);
- void DoMarkHyperlink(wxMouseEvent &event, bool isMiddle);
- void DoQuickJump(wxMouseEvent &event, bool isMiddle);
- bool DoFindAndSelect(const wxString &pattern, const wxString &what, int start_pos, NavMgr *navmgr);
- wxMenu* DoCreateDebuggerWatchMenu(const wxString &word);
-
- DECLARE_EVENT_TABLE()
- void OnRemoveMatchInidicator(wxCommandEvent &e);
- void OnSavePoint(wxScintillaEvent &event);
- void OnCharAdded(wxScintillaEvent& event);
- void OnMarginClick(wxScintillaEvent& event);
- void OnChange(wxScintillaEvent& event);
- void OnDwellStart(wxScintillaEvent& event);
- void OnDwellEnd(wxScintillaEvent& event);
- void OnCallTipClick(wxScintillaEvent& event);
- void OnSciUpdateUI(wxScintillaEvent &event);
- void OnFindDialog(wxCommandEvent &event);
- void OnContextMenu(wxContextMenuEvent &event);
- void OnKeyDown(wxKeyEvent &event);
- void OnLeftDown(wxMouseEvent &event);
- void OnMiddleDown(wxMouseEvent &event);
- void OnMiddleUp(wxMouseEvent &event);
- void OnLeftUp(wxMouseEvent &event);
- void OnLeaveWindow(wxMouseEvent &event);
- void OnFocusLost(wxFocusEvent &event);
- void OnLeftDClick(wxScintillaEvent &event);
- void OnPopupMenuUpdateUI(wxUpdateUIEvent &event);
- void OnDbgAddWatch(wxCommandEvent &event);
- void OnDbgRunToCursor(wxCommandEvent &event);
- void OnDbgCustomWatch(wxCommandEvent &event);
- void OnDragStart(wxScintillaEvent &e);
- void OnDragEnd(wxScintillaEvent &e);
- void OnHighlightThread(wxCommandEvent &e);
- void DoSetCaretAt(long pos);
-};
-
-#endif // LITEEDITOR_EDITOR_H
diff --git a/LiteEditor/clauidockart.cpp b/LiteEditor/clauidockart.cpp
deleted file mode 100644
index 5281ac84..00000000
--- a/LiteEditor/clauidockart.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-#include "clauidockart.h"
-#include <wx/image.h>
-#include <wx/dc.h>
-
-#include "tabicons.h"
-
-CLAuiDockArt::CLAuiDockArt()
-{
- wxImage img(closetab_xpm);
- img.SetAlpha(closetab_alpha, true);
- m_bmp_close = wxBitmap(img);
-
- wxImage img2(closetab_active_xpm);
- img2.SetAlpha(closetab_active_alpha, true);
- m_bmp_close_active = wxBitmap(img2);
-
-}
-
-CLAuiDockArt::~CLAuiDockArt()
-{
-}
-
-void CLAuiDockArt::DrawPaneButton(wxDC& dc, wxWindow* window, int button, int button_state, const wxRect& rect, wxAuiPaneInfo& pane)
-{
- switch(button){
- case wxAUI_BUTTON_CLOSE: {
- wxBitmap bmp;
- switch(button_state){
- case wxAUI_BUTTON_STATE_PRESSED:
- bmp = m_bmp_close_active;
- break;
- case wxAUI_BUTTON_STATE_HIDDEN:
- break;
- case wxAUI_BUTTON_STATE_HOVER:
- case wxAUI_BUTTON_STATE_NORMAL:
- default:
- bmp = m_bmp_close;
- break;
- }
- dc.DrawBitmap(bmp, rect.x, rect.y+1, true);
- break;
- }
- default:
- wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane);
- break;
- }
-}
diff --git a/LiteEditor/clauidockart.h b/LiteEditor/clauidockart.h
deleted file mode 100644
index 4b4121e5..00000000
--- a/LiteEditor/clauidockart.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef __clauidockart__
-#define __clauidockart__
-
-#include <wx/aui/framemanager.h>
-#include <wx/aui/dockart.h>
-
-class CLAuiDockArt : public wxAuiDefaultDockArt
-{
- wxBitmap m_bmp_close;
- wxBitmap m_bmp_close_active;
-
-public:
- CLAuiDockArt();
- virtual ~CLAuiDockArt();
-
- void DrawPaneButton(wxDC& dc, wxWindow *window, int button, int button_state, const wxRect& rect, wxAuiPaneInfo& pane);
-};
-#endif // __clauidockart__
diff --git a/LiteEditor/close_all_dlg.cpp b/LiteEditor/close_all_dlg.cpp
deleted file mode 100644
index 19e6bbc8..00000000
--- a/LiteEditor/close_all_dlg.cpp
+++ /dev/null
@@ -1,109 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : close_all_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "close_all_dlg.h"
-#include "macros.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-CloseAllDialog::CloseAllDialog( wxWindow* parent, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_mainPanel = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* panelSizer;
- panelSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticMsg = new wxStaticText( m_mainPanel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- panelSizer->Add( m_staticMsg, 1, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- wxBoxSizer* buttonSizer;
- buttonSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonSave = new wxButton( m_mainPanel, wxID_ANY, wxT("Ask me for each file"), wxDefaultPosition, wxDefaultSize, 0 );
- buttonSizer->Add( m_buttonSave, 0, wxALL, 5 );
-
- m_buttonSaveAllFiles = new wxButton( m_mainPanel, wxID_ANY, wxT("Save all files"), wxDefaultPosition, wxDefaultSize, 0 );
- buttonSizer->Add( m_buttonSaveAllFiles, 0, wxALL, 5 );
-
- m_buttonDiscardChangesForAllFiles = new wxButton( m_mainPanel, wxID_ANY, wxT("Discard changes for all files"), wxDefaultPosition, wxDefaultSize, 0 );
- buttonSizer->Add( m_buttonDiscardChangesForAllFiles, 0, wxALL, 5 );
-
- panelSizer->Add( buttonSizer, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_mainPanel->SetSizer( panelSizer );
- m_mainPanel->Layout();
- panelSizer->Fit( m_mainPanel );
- mainSizer->Add( m_mainPanel, 1, wxEXPAND | wxALL, 5 );
-
- m_staticMsg->SetLabel(wxT("Some of the files are modified, what action should CodeLite take?"));
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit(this);
-
- ConnectButton(m_buttonDiscardChangesForAllFiles, CloseAllDialog::OnDiscardAllClicked);
- ConnectButton(m_buttonSaveAllFiles, CloseAllDialog::OnSaveAll);
- ConnectButton(m_buttonSave, CloseAllDialog::OnAskForEachFile);
-}
-
-void CloseAllDialog::OnDiscardAllClicked(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- EndModal(CLOSEALL_DISCARDALL);
-}
-
-void CloseAllDialog::OnSaveAll(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- EndModal(CLOSEALL_SAVEALL);
-}
-
-void CloseAllDialog::OnAskForEachFile(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- EndModal(CLOSEALL_ASKFOREACHFILE);
-}
diff --git a/LiteEditor/close_all_dlg.h b/LiteEditor/close_all_dlg.h
deleted file mode 100644
index c3ea5ff6..00000000
--- a/LiteEditor/close_all_dlg.h
+++ /dev/null
@@ -1,70 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : close_all_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __close_all_dlg__
-#define __close_all_dlg__
-
-#include <wx/wx.h>
-
-#include <wx/button.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-enum {
- CLOSEALL_SAVEALL,
- CLOSEALL_DISCARDALL,
- CLOSEALL_ASKFOREACHFILE
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CloseAllDialog
-///////////////////////////////////////////////////////////////////////////////
-class CloseAllDialog : public wxDialog
-{
-private:
-
-protected:
- wxPanel* m_mainPanel;
- wxStaticText* m_staticMsg;
- wxButton* m_buttonSave;
- wxButton* m_buttonSaveAllFiles;
- wxButton* m_buttonDiscardChangesForAllFiles;
-
- void OnDiscardAllClicked(wxCommandEvent &event);
- void OnSaveAll(wxCommandEvent &event);
- void OnAskForEachFile(wxCommandEvent &event);
-
-public:
- CloseAllDialog( wxWindow* parent, int id = wxID_ANY, wxString title = wxT("Close All"), wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 424,127 ), int style = wxDEFAULT_DIALOG_STYLE );
-};
-
-#endif //__close_all_dlg__
diff --git a/LiteEditor/code_parser.rc b/LiteEditor/code_parser.rc
deleted file mode 100644
index 6044cd5c..00000000
--- a/LiteEditor/code_parser.rc
+++ /dev/null
@@ -1,29 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : code_parser.rc
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-aaaaa ICON "res/cubes.ico"
-#include "wx/msw/wx.rc"
-1 24 "wx/msw/wx.manifest"
-
diff --git a/LiteEditor/colourrequest.cpp b/LiteEditor/colourrequest.cpp
deleted file mode 100644
index 342ee22c..00000000
--- a/LiteEditor/colourrequest.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : colourrequest.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "colourrequest.h"
-
-ColourRequest::ColourRequest()
-{
-}
-
-ColourRequest::~ColourRequest()
-{
-}
-
-void ColourRequest::SetFileToColour(const wxFileName& fileToColour)
-{
- this->m_fileToColour = fileToColour;
-}
-
-const wxFileName& ColourRequest::GetFileToColour() const
-{
- return m_fileToColour;
-}
diff --git a/LiteEditor/colourrequest.h b/LiteEditor/colourrequest.h
deleted file mode 100644
index 92658a01..00000000
--- a/LiteEditor/colourrequest.h
+++ /dev/null
@@ -1,42 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : colourrequest.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __colourrequest__
-#define __colourrequest__
-#include "wx/filename.h"
-#include "worker_thread.h"
-
-class ColourRequest : public ThreadRequest
-{
-
- wxFileName m_fileToColour;
-
-public:
- ColourRequest();
- ~ColourRequest();
-
- void SetFileToColour(const wxFileName& fileToColour) ;
- const wxFileName& GetFileToColour() const ;
-};
-#endif // __colourrequest__
diff --git a/LiteEditor/colourthread.cpp b/LiteEditor/colourthread.cpp
deleted file mode 100644
index 2c033954..00000000
--- a/LiteEditor/colourthread.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : colourthread.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "precompiled_header.h"
-#include "colourthread.h"
-#include "colourrequest.h"
-
-#if 0
-ColourThread* ColourThread::ms_instance = 0;
-
-ColourThread::ColourThread()
-{
-}
-
-ColourThread::~ColourThread()
-{
-}
-
-ColourThread* ColourThread::Instance()
-{
- if(ms_instance == 0){
- ms_instance = new ColourThread();
- }
- return ms_instance;
-}
-
-void ColourThread::Release()
-{
- if(ms_instance){
- delete ms_instance;
- }
- ms_instance = 0;
-}
-
-void ColourThread::ProcessRequest(ThreadRequest *request)
-{
-}
-#endif
diff --git a/LiteEditor/colourthread.h b/LiteEditor/colourthread.h
deleted file mode 100644
index 3b268002..00000000
--- a/LiteEditor/colourthread.h
+++ /dev/null
@@ -1,47 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : colourthread.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __colourthread__
-#define __colourthread__
-#if 0
-#include "worker_thread.h"
-
-class ColourThread : public WorkerThread {
-
- static ColourThread* ms_instance;
-
-public:
- static ColourThread* Instance();
- static void Release();
-
-private:
- ColourThread();
- ~ColourThread();
-
-public:
- virtual void ProcessRequest(ThreadRequest *request);
-};
-#endif
-#endif // __colourthread__
-
diff --git a/LiteEditor/commentpage.cpp b/LiteEditor/commentpage.cpp
deleted file mode 100644
index 41c59753..00000000
--- a/LiteEditor/commentpage.cpp
+++ /dev/null
@@ -1,85 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : commentpage.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "editor_config.h"
-#include "commentconfigdata.h"
-#include "commentpage.h"
-
-CommentPage::CommentPage( wxWindow* parent )
- :
- CommentPageBase( parent )
-{
- Initialize();
-}
-
-void CommentPage::Save()
-{
- CommentConfigData data;
- data.SetClassPattern( m_textCtrlClassPattern->GetValue() );
- data.SetFunctionPattern( m_textCtrlFunctionPattern->GetValue());
- data.SetAddStarOnCComment(m_checkBoxContCComment->IsChecked());
- data.SetContinueCppComment(m_checkBoxContinueCppComment->IsChecked());
- data.SetUseShtroodel(m_checkBoxUseShtroodel->IsChecked());
- data.SetUseSlash2Stars(m_checkBoxUseSlash2Starts->IsChecked());
-
- EditorConfigST::Get()->WriteObject(wxT("CommentConfigData"), &data);
-}
-
-void CommentPage::Initialize()
-{
- CommentConfigData data;
- EditorConfigST::Get()->ReadObject(wxT("CommentConfigData"), &data);
-
- m_textCtrlClassPattern->SetValue( data.GetClassPattern() );
- m_textCtrlFunctionPattern->SetValue( data.GetFunctionPattern() );
- m_checkBoxContCComment->SetValue( data.GetAddStarOnCComment() );
- m_checkBoxContinueCppComment->SetValue( data.GetContinueCppComment() );
- m_checkBoxUseShtroodel->SetValue( data.GetUseShtroodel() );
- m_checkBoxUseSlash2Starts->SetValue( data.GetUseSlash2Stars() );
-
- DoSetPrefix();
-}
-
-void CommentPage::OnUseAtPrefix(wxCommandEvent& e)
-{
- DoSetPrefix();
-}
-
-void CommentPage::DoSetPrefix()
-{
- bool useShtroodel = m_checkBoxUseShtroodel->IsChecked();
-
- wxString classPrefix = m_textCtrlClassPattern->GetValue();
- wxString funcPrefix = m_textCtrlFunctionPattern->GetValue();
-
- if( useShtroodel ){
- classPrefix.Replace(wxT("\\"), wxT("@"));
- funcPrefix.Replace(wxT("\\"), wxT("@"));
- } else {
- classPrefix.Replace(wxT("@"), wxT("\\"));
- funcPrefix.Replace(wxT("@"), wxT("\\"));
- }
- m_textCtrlClassPattern->SetValue(classPrefix);
- m_textCtrlFunctionPattern->SetValue(funcPrefix);
-}
diff --git a/LiteEditor/commentpage.h b/LiteEditor/commentpage.h
deleted file mode 100644
index 30810299..00000000
--- a/LiteEditor/commentpage.h
+++ /dev/null
@@ -1,51 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : commentpage.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __commentpage__
-#define __commentpage__
-
-/**
-@file
-Subclass of CommentPageBase, which is generated by wxFormBuilder.
-*/
-
-#include "commentpagebase.h"
-
-/** Implementing CommentPageBase */
-class CommentPage : public CommentPageBase
-{
-protected:
- // Handlers for CommentPageBase events.
- void Initialize();
- void OnUseAtPrefix(wxCommandEvent &e);
- void DoSetPrefix();
-
-public:
- /** Constructor */
- CommentPage( wxWindow* parent );
-
- void Save();
-};
-
-#endif // __commentpage__
diff --git a/LiteEditor/commentpagebase.cpp b/LiteEditor/commentpagebase.cpp
deleted file mode 100644
index 5286010b..00000000
--- a/LiteEditor/commentpagebase.cpp
+++ /dev/null
@@ -1,137 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : commentpagebase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "commentpagebase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-CommentPageBase::CommentPageBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("General:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- m_staticText1->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- bSizer2->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer2->Add( m_staticline1, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxEXPAND, 5 );
-
- m_checkBoxContCComment = new wxCheckBox( this, wxID_ANY, wxT("When hitting <ENTER> in a C style comment section,automatically add '*' at the next line"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxContCComment->SetValue(true);
-
- bSizer1->Add( m_checkBoxContCComment, 0, wxALL, 5 );
-
- m_checkBoxContinueCppComment = new wxCheckBox( this, wxID_ANY, wxT("When hitting <ENTER> in a C++ style comment section,automatically add '//' at the next line"), wxDefaultPosition, wxDefaultSize, 0 );
-
- bSizer1->Add( m_checkBoxContinueCppComment, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer21;
- bSizer21 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText11 = new wxStaticText( this, wxID_ANY, wxT("Doxygen:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText11->Wrap( -1 );
- m_staticText11->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- bSizer21->Add( m_staticText11, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticline11 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer21->Add( m_staticline11, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- bSizer1->Add( bSizer21, 0, wxEXPAND, 5 );
-
- m_checkBoxUseSlash2Starts = new wxCheckBox( this, wxID_ANY, wxT("Use '/**' as doxygen block start (else use '/*!')"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxUseSlash2Starts->SetValue(true);
-
- bSizer1->Add( m_checkBoxUseSlash2Starts, 0, wxALL, 5 );
-
- m_checkBoxUseShtroodel = new wxCheckBox( this, wxID_ANY, wxT("Use '@' as doxygen keyword prefix"), wxDefaultPosition, wxDefaultSize, 0 );
-
- bSizer1->Add( m_checkBoxUseShtroodel, 0, wxALL, 5 );
-
- m_staticline4 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline4, 0, wxEXPAND | wxALL, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("CodeLite contains a built-in doxygen documentation generator which adds doxygen comments to your code.\nHere you can set the prefix that will placed on top of the dynamic content of the comment:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- bSizer1->Add( m_staticText4, 0, wxALL|wxEXPAND, 5 );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->AddGrowableRow( 0 );
- fgSizer1->AddGrowableRow( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText6 = new wxStaticText( this, wxID_ANY, wxT("Class prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- fgSizer1->Add( m_staticText6, 0, wxALL, 5 );
-
- m_textCtrlClassPattern = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- fgSizer1->Add( m_textCtrlClassPattern, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticText7 = new wxStaticText( this, wxID_ANY, wxT("Function prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText7->Wrap( -1 );
- fgSizer1->Add( m_staticText7, 0, wxALL, 5 );
-
- m_textCtrlFunctionPattern = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- fgSizer1->Add( m_textCtrlFunctionPattern, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- bSizer1->Add( fgSizer1, 1, wxEXPAND, 5 );
-
- m_staticline5 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline5, 0, wxEXPAND | wxALL, 5 );
-
- m_staticText12 = new wxStaticText( this, wxID_ANY, wxT("The following macros are available:\n$(CurrentFileName), $(CurrentFilePath), $(User), $(Date), $(Name)\n$(CurrentFileFullPath), $(CurrentFileExt), $(ProjectName), $(WorksapceName)"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText12->Wrap( -1 );
- bSizer1->Add( m_staticText12, 0, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_checkBoxUseShtroodel->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( CommentPageBase::OnUseAtPrefix ), NULL, this );
-}
-
-CommentPageBase::~CommentPageBase()
-{
- // Disconnect Events
- m_checkBoxUseShtroodel->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( CommentPageBase::OnUseAtPrefix ), NULL, this );
-}
diff --git a/LiteEditor/commentpagebase.h b/LiteEditor/commentpagebase.h
deleted file mode 100644
index 5bc27738..00000000
--- a/LiteEditor/commentpagebase.h
+++ /dev/null
@@ -1,86 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : commentpagebase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __commentpagebase__
-#define __commentpagebase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/statline.h>
-#include <wx/sizer.h>
-#include <wx/checkbox.h>
-#include <wx/textctrl.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CommentPageBase
-///////////////////////////////////////////////////////////////////////////////
-class CommentPageBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxStaticLine* m_staticline1;
- wxCheckBox* m_checkBoxContCComment;
- wxCheckBox* m_checkBoxContinueCppComment;
- wxStaticText* m_staticText11;
- wxStaticLine* m_staticline11;
- wxCheckBox* m_checkBoxUseSlash2Starts;
- wxCheckBox* m_checkBoxUseShtroodel;
- wxStaticLine* m_staticline4;
- wxStaticText* m_staticText4;
- wxStaticText* m_staticText6;
- wxTextCtrl* m_textCtrlClassPattern;
- wxStaticText* m_staticText7;
- wxTextCtrl* m_textCtrlFunctionPattern;
- wxStaticLine* m_staticline5;
- wxStaticText* m_staticText12;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnUseAtPrefix( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- CommentPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 644,439 ), long style = wxTAB_TRAVERSAL );
- ~CommentPageBase();
-
-};
-
-#endif //__commentpagebase__
diff --git a/LiteEditor/compiler_pages.cpp b/LiteEditor/compiler_pages.cpp
deleted file mode 100644
index fe6fc8c5..00000000
--- a/LiteEditor/compiler_pages.cpp
+++ /dev/null
@@ -1,601 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "compiler_pages.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-CompilerPatternsBase::CompilerPatternsBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer14;
- bSizer14 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizerError;
- bSizerError = new wxBoxSizer( wxVERTICAL );
-
- wxStaticText* m_staticText161;
- m_staticText161 = new wxStaticText( this, wxID_ANY, _("Compiler Errors Patterns:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText161->Wrap( -1 );
- m_staticText161->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- bSizerError->Add( m_staticText161, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer25;
- bSizer25 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listErrPatterns = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- bSizer25->Add( m_listErrPatterns, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer26;
- bSizer26 = new wxBoxSizer( wxVERTICAL );
-
- m_btnAddErrPattern = new wxButton( this, wxID_ANY, _("Add"), wxDefaultPosition, wxDefaultSize, 0 );
- m_btnAddErrPattern->SetToolTip( _("Add new error pattern") );
-
- bSizer26->Add( m_btnAddErrPattern, 0, wxALL|wxEXPAND, 5 );
-
- m_btnDelErrPattern = new wxButton( this, wxID_ANY, _("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- m_btnDelErrPattern->SetToolTip( _("Delete the selected error pattern") );
-
- bSizer26->Add( m_btnDelErrPattern, 0, wxALL|wxEXPAND, 5 );
-
- m_btnUpdateErrPattern = new wxButton( this, wxID_ANY, _("Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
- m_btnUpdateErrPattern->SetToolTip( _("Edit the selected error pattern") );
-
- bSizer26->Add( m_btnUpdateErrPattern, 0, wxALL|wxEXPAND, 5 );
-
- bSizer25->Add( bSizer26, 0, 0, 5 );
-
- bSizerError->Add( bSizer25, 1, wxEXPAND, 5 );
-
- wxStaticLine* m_staticline5;
- m_staticline5 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizerError->Add( m_staticline5, 0, wxEXPAND | wxALL, 5 );
-
- bSizer14->Add( bSizerError, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bSizerWarnings;
- bSizerWarnings = new wxBoxSizer( wxVERTICAL );
-
- wxStaticText* m_staticText17;
- m_staticText17 = new wxStaticText( this, wxID_ANY, _("Compiler Warnings Patterns:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText17->Wrap( -1 );
- m_staticText17->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- bSizerWarnings->Add( m_staticText17, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer251;
- bSizer251 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listWarnPatterns = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- bSizer251->Add( m_listWarnPatterns, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer261;
- bSizer261 = new wxBoxSizer( wxVERTICAL );
-
- m_btnAddWarnPattern = new wxButton( this, wxID_ANY, _("Add"), wxDefaultPosition, wxDefaultSize, 0 );
- m_btnAddWarnPattern->SetToolTip( _("Add new warning pattern") );
-
- bSizer261->Add( m_btnAddWarnPattern, 0, wxALL|wxEXPAND, 5 );
-
- m_btnDelWarnPattern = new wxButton( this, wxID_ANY, _("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- m_btnDelWarnPattern->SetToolTip( _("Delete the selected warning pattern") );
-
- bSizer261->Add( m_btnDelWarnPattern, 0, wxALL|wxEXPAND, 5 );
-
- m_btnUpdateWarnPattern = new wxButton( this, wxID_ANY, _("Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
- m_btnUpdateWarnPattern->SetToolTip( _("Edit the selected warning pattern") );
-
- bSizer261->Add( m_btnUpdateWarnPattern, 0, wxALL|wxEXPAND, 5 );
-
- bSizer251->Add( bSizer261, 0, 0, 5 );
-
- bSizerWarnings->Add( bSizer251, 1, wxEXPAND, 5 );
-
- bSizer14->Add( bSizerWarnings, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer14 );
- this->Layout();
-
- // Connect Events
- m_listErrPatterns->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerPatternsBase::OnErrItemActivated ), NULL, this );
- m_btnAddErrPattern->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnAddErrPattern ), NULL, this );
- m_btnDelErrPattern->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnDelErrPattern ), NULL, this );
- m_btnDelErrPattern->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( CompilerPatternsBase::OnErrorPatternSelectedUI ), NULL, this );
- m_btnUpdateErrPattern->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnUpdateErrPattern ), NULL, this );
- m_btnUpdateErrPattern->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( CompilerPatternsBase::OnErrorPatternSelectedUI ), NULL, this );
- m_listWarnPatterns->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerPatternsBase::OnWarnItemActivated ), NULL, this );
- m_btnAddWarnPattern->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnAddWarnPattern ), NULL, this );
- m_btnDelWarnPattern->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnDelWarnPattern ), NULL, this );
- m_btnDelWarnPattern->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( CompilerPatternsBase::OnWarningPatternSelectedUI ), NULL, this );
- m_btnUpdateWarnPattern->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnUpdateWarnPattern ), NULL, this );
- m_btnUpdateWarnPattern->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( CompilerPatternsBase::OnWarningPatternSelectedUI ), NULL, this );
-}
-
-CompilerPatternsBase::~CompilerPatternsBase()
-{
- // Disconnect Events
- m_listErrPatterns->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerPatternsBase::OnErrItemActivated ), NULL, this );
- m_btnAddErrPattern->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnAddErrPattern ), NULL, this );
- m_btnDelErrPattern->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnDelErrPattern ), NULL, this );
- m_btnDelErrPattern->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( CompilerPatternsBase::OnErrorPatternSelectedUI ), NULL, this );
- m_btnUpdateErrPattern->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnUpdateErrPattern ), NULL, this );
- m_btnUpdateErrPattern->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( CompilerPatternsBase::OnErrorPatternSelectedUI ), NULL, this );
- m_listWarnPatterns->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerPatternsBase::OnWarnItemActivated ), NULL, this );
- m_btnAddWarnPattern->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnAddWarnPattern ), NULL, this );
- m_btnDelWarnPattern->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnDelWarnPattern ), NULL, this );
- m_btnDelWarnPattern->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( CompilerPatternsBase::OnWarningPatternSelectedUI ), NULL, this );
- m_btnUpdateWarnPattern->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternsBase::OnBtnUpdateWarnPattern ), NULL, this );
- m_btnUpdateWarnPattern->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( CompilerPatternsBase::OnWarningPatternSelectedUI ), NULL, this );
-}
-
-CompilerToolsBase::CompilerToolsBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxFlexGridSizer* fgSizer4;
- fgSizer4 = new wxFlexGridSizer( 7, 2, 0, 0 );
- fgSizer4->AddGrowableCol( 1 );
- fgSizer4->SetFlexibleDirection( wxBOTH );
- fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText9 = new wxStaticText( this, wxID_ANY, _("C++ Compiler Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText9->Wrap( -1 );
- fgSizer4->Add( m_staticText9, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
- m_textCompilerName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textCompilerName, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
-
- m_staticText25 = new wxStaticText( this, wxID_ANY, _("C Compiler Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText25->Wrap( -1 );
- fgSizer4->Add( m_staticText25, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlCCompilerName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textCtrlCCompilerName, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticText11 = new wxStaticText( this, wxID_ANY, _("Linker Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText11->Wrap( -1 );
- fgSizer4->Add( m_staticText11, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textLinkerName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textLinkerName, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText12 = new wxStaticText( this, wxID_ANY, _("Shared Object Linker:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText12->Wrap( -1 );
- fgSizer4->Add( m_staticText12, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textSOLinker = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textSOLinker, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText10 = new wxStaticText( this, wxID_ANY, _("Archive Tool:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText10->Wrap( -1 );
- fgSizer4->Add( m_staticText10, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textArchiveTool = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textArchiveTool, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText14 = new wxStaticText( this, wxID_ANY, _("Resource Compiler:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText14->Wrap( -1 );
- fgSizer4->Add( m_staticText14, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textResourceCmp = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textResourceCmp, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText20 = new wxStaticText( this, wxID_ANY, _("PATH environment variable:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText20->Wrap( -1 );
- m_staticText20->SetToolTip( _("You can set here the PATH environment variable that will be used for this toolset only. The value sets here will override the value set in 'Environement Variables' table. To concatenate a value to the current PATH, use the following format: $(PATH);C:\newpath (Windows) OR $(PATH):/home/eran/bin (*nix)") );
-
- fgSizer4->Add( m_staticText20, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlPathVariable = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textCtrlPathVariable->SetToolTip( _("You can set here the PATH environment variable that will be used for this toolset only. The value sets here will override the value set in 'Environement Variables' table. To concatenate a value to the current PATH, use the following format: $(PATH);C:\newpath (Windows) OR $(PATH):/home/eran/bin (*nix)") );
-
- fgSizer4->Add( m_textCtrlPathVariable, 1, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( fgSizer4 );
- this->Layout();
- fgSizer4->Fit( this );
-}
-
-CompilerToolsBase::~CompilerToolsBase()
-{
-}
-
-CompilerSwitchesBase::CompilerSwitchesBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticText8 = new wxStaticText( this, wxID_ANY, _("Double click on an entry to modify it:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText8->Wrap( -1 );
- mainSizer->Add( m_staticText8, 0, wxALL, 5 );
-
- m_listSwitches = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- mainSizer->Add( m_listSwitches, 1, wxEXPAND|wxALL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- // Connect Events
- m_listSwitches->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerSwitchesBase::OnItemActivated ), NULL, this );
- m_listSwitches->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CompilerSwitchesBase::OnItemSelected ), NULL, this );
-}
-
-CompilerSwitchesBase::~CompilerSwitchesBase()
-{
- // Disconnect Events
- m_listSwitches->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerSwitchesBase::OnItemActivated ), NULL, this );
- m_listSwitches->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CompilerSwitchesBase::OnItemSelected ), NULL, this );
-}
-
-CompilerFileTypesBase::CompilerFileTypesBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer10;
- bSizer10 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText23 = new wxStaticText( this, wxID_ANY, _("Double click on an entry to modify it:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText23->Wrap( -1 );
- bSizer10->Add( m_staticText23, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer12;
- bSizer12 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listCtrlFileTypes = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- bSizer12->Add( m_listCtrlFileTypes, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer111;
- bSizer111 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonNewFileType = new wxButton( this, wxID_ANY, _("New..."), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonNewFileType->SetDefault();
- bSizer111->Add( m_buttonNewFileType, 0, wxALL, 5 );
-
- m_buttonDeleteFileType = new wxButton( this, wxID_ANY, _("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer111->Add( m_buttonDeleteFileType, 0, wxALL, 5 );
-
- bSizer12->Add( bSizer111, 0, wxEXPAND, 5 );
-
- bSizer10->Add( bSizer12, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer10 );
- this->Layout();
-
- // Connect Events
- m_listCtrlFileTypes->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerFileTypesBase::OnFileTypeActivated ), NULL, this );
- m_listCtrlFileTypes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( CompilerFileTypesBase::OnFileTypeDeSelected ), NULL, this );
- m_listCtrlFileTypes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CompilerFileTypesBase::OnFileTypeSelected ), NULL, this );
- m_buttonNewFileType->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerFileTypesBase::OnNewFileType ), NULL, this );
- m_buttonDeleteFileType->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerFileTypesBase::OnDeleteFileType ), NULL, this );
-}
-
-CompilerFileTypesBase::~CompilerFileTypesBase()
-{
- // Disconnect Events
- m_listCtrlFileTypes->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerFileTypesBase::OnFileTypeActivated ), NULL, this );
- m_listCtrlFileTypes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( CompilerFileTypesBase::OnFileTypeDeSelected ), NULL, this );
- m_listCtrlFileTypes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CompilerFileTypesBase::OnFileTypeSelected ), NULL, this );
- m_buttonNewFileType->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerFileTypesBase::OnNewFileType ), NULL, this );
- m_buttonDeleteFileType->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerFileTypesBase::OnDeleteFileType ), NULL, this );
-}
-
-CompilerAdvanceBase::CompilerAdvanceBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer11;
- bSizer11 = new wxBoxSizer( wxVERTICAL );
-
- m_checkBoxGenerateDependenciesFiles = new wxCheckBox( this, wxID_ANY, _("Use compiler -MT switch to generate source dependencies files (*.o.d)"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer11->Add( m_checkBoxGenerateDependenciesFiles, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer7->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- m_staticText18 = new wxStaticText( this, wxID_ANY, _("Global Paths:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText18->Wrap( -1 );
- m_staticText18->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- bSizer7->Add( m_staticText18, 0, wxALL, 5 );
-
- wxFlexGridSizer* fgSizer3;
- fgSizer3 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer3->AddGrowableCol( 1 );
- fgSizer3->SetFlexibleDirection( wxBOTH );
- fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText141 = new wxStaticText( this, wxID_ANY, _("Include Path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText141->Wrap( -1 );
- fgSizer3->Add( m_staticText141, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlGlobalIncludePath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_RICH2 );
- fgSizer3->Add( m_textCtrlGlobalIncludePath, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText16 = new wxStaticText( this, wxID_ANY, _("Libraries Path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText16->Wrap( -1 );
- fgSizer3->Add( m_staticText16, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlGlobalLibPath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_RICH2 );
- fgSizer3->Add( m_textCtrlGlobalLibPath, 0, wxALL|wxEXPAND, 5 );
-
- bSizer7->Add( fgSizer3, 0, wxEXPAND, 5 );
-
- bSizer11->Add( bSizer7, 0, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxVERTICAL );
-
- m_staticline31 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer8->Add( m_staticline31, 0, wxEXPAND | wxALL, 5 );
-
- m_staticText19 = new wxStaticText( this, wxID_ANY, _("Misc:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText19->Wrap( -1 );
- m_staticText19->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- bSizer8->Add( m_staticText19, 0, wxALL, 5 );
-
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 3, 2, 0, 0 );
- fgSizer2->SetFlexibleDirection( wxBOTH );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, _("Objects extesion:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer2->Add( m_staticText3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textObjectExtension = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_RICH2 );
- fgSizer2->Add( m_textObjectExtension, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText24 = new wxStaticText( this, wxID_ANY, _("Depends extension:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText24->Wrap( -1 );
- fgSizer2->Add( m_staticText24, 0, wxALL, 5 );
-
- m_textDependExtension = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_RICH2 );
- fgSizer2->Add( m_textDependExtension, 0, wxALL, 5 );
-
- m_staticText25 = new wxStaticText( this, wxID_ANY, _("Preprocessed extension:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText25->Wrap( -1 );
- fgSizer2->Add( m_staticText25, 0, wxALL, 5 );
-
- m_textPreprocessExtension = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_RICH2 );
- fgSizer2->Add( m_textPreprocessExtension, 0, wxALL, 5 );
-
- bSizer8->Add( fgSizer2, 0, wxALL|wxEXPAND, 0 );
-
- bSizer11->Add( bSizer8, 0, wxEXPAND, 5 );
-
- this->SetSizer( bSizer11 );
- this->Layout();
- bSizer11->Fit( this );
-}
-
-CompilerAdvanceBase::~CompilerAdvanceBase()
-{
-}
-
-CompilerCompilerOptionsBase::CompilerCompilerOptionsBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer10;
- bSizer10 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText23 = new wxStaticText( this, wxID_ANY, _("Double click on an entry to modify it:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText23->Wrap( -1 );
- bSizer10->Add( m_staticText23, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer12;
- bSizer12 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listCompilerOptions = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- bSizer12->Add( m_listCompilerOptions, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer111;
- bSizer111 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonCompilerOption = new wxButton( this, wxID_ANY, _("New..."), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonCompilerOption->SetDefault();
- bSizer111->Add( m_buttonCompilerOption, 0, wxALL, 5 );
-
- m_buttonDeleteCompilerOption = new wxButton( this, wxID_ANY, _("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer111->Add( m_buttonDeleteCompilerOption, 0, wxALL, 5 );
-
- bSizer12->Add( bSizer111, 0, wxEXPAND, 5 );
-
- bSizer10->Add( bSizer12, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer10 );
- this->Layout();
-
- // Connect Events
- m_listCompilerOptions->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerCompilerOptionsBase::OnCompilerOptionActivated ), NULL, this );
- m_listCompilerOptions->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( CompilerCompilerOptionsBase::OnCompilerOptionDeSelected ), NULL, this );
- m_listCompilerOptions->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CompilerCompilerOptionsBase::OnCompilerOptionSelected ), NULL, this );
- m_buttonCompilerOption->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerCompilerOptionsBase::OnNewCompilerOption ), NULL, this );
- m_buttonDeleteCompilerOption->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerCompilerOptionsBase::OnDeleteCompilerOption ), NULL, this );
-}
-
-CompilerCompilerOptionsBase::~CompilerCompilerOptionsBase()
-{
- // Disconnect Events
- m_listCompilerOptions->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerCompilerOptionsBase::OnCompilerOptionActivated ), NULL, this );
- m_listCompilerOptions->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( CompilerCompilerOptionsBase::OnCompilerOptionDeSelected ), NULL, this );
- m_listCompilerOptions->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CompilerCompilerOptionsBase::OnCompilerOptionSelected ), NULL, this );
- m_buttonCompilerOption->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerCompilerOptionsBase::OnNewCompilerOption ), NULL, this );
- m_buttonDeleteCompilerOption->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerCompilerOptionsBase::OnDeleteCompilerOption ), NULL, this );
-}
-
-CompilerLinkerOptionsBase::CompilerLinkerOptionsBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer10;
- bSizer10 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText23 = new wxStaticText( this, wxID_ANY, _("Double click on an entry to modify it:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText23->Wrap( -1 );
- bSizer10->Add( m_staticText23, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer12;
- bSizer12 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listLinkerOptions = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- bSizer12->Add( m_listLinkerOptions, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer111;
- bSizer111 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonLinkerOption = new wxButton( this, wxID_ANY, _("New..."), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonLinkerOption->SetDefault();
- bSizer111->Add( m_buttonLinkerOption, 0, wxALL, 5 );
-
- m_buttonDeleteLinkerOption = new wxButton( this, wxID_ANY, _("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer111->Add( m_buttonDeleteLinkerOption, 0, wxALL, 5 );
-
- bSizer12->Add( bSizer111, 0, wxEXPAND, 5 );
-
- bSizer10->Add( bSizer12, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer10 );
- this->Layout();
-
- // Connect Events
- m_listLinkerOptions->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerLinkerOptionsBase::OnLinkerOptionActivated ), NULL, this );
- m_listLinkerOptions->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( CompilerLinkerOptionsBase::OnLinkerOptionDeSelected ), NULL, this );
- m_listLinkerOptions->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CompilerLinkerOptionsBase::OnLinkerOptionSelected ), NULL, this );
- m_buttonLinkerOption->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerLinkerOptionsBase::OnNewLinkerOption ), NULL, this );
- m_buttonDeleteLinkerOption->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerLinkerOptionsBase::OnDeleteLinkerOption ), NULL, this );
-}
-
-CompilerLinkerOptionsBase::~CompilerLinkerOptionsBase()
-{
- // Disconnect Events
- m_listLinkerOptions->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( CompilerLinkerOptionsBase::OnLinkerOptionActivated ), NULL, this );
- m_listLinkerOptions->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( CompilerLinkerOptionsBase::OnLinkerOptionDeSelected ), NULL, this );
- m_listLinkerOptions->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( CompilerLinkerOptionsBase::OnLinkerOptionSelected ), NULL, this );
- m_buttonLinkerOption->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerLinkerOptionsBase::OnNewLinkerOption ), NULL, this );
- m_buttonDeleteLinkerOption->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerLinkerOptionsBase::OnDeleteLinkerOption ), NULL, this );
-}
-
-CompilerOptionDlgBase::CompilerOptionDlgBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer23;
- bSizer23 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer7;
- fgSizer7 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer7->SetFlexibleDirection( wxBOTH );
- fgSizer7->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText26 = new wxStaticText( this, wxID_ANY, _("Switch"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText26->Wrap( -1 );
- fgSizer7->Add( m_staticText26, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrl18 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textCtrl18->SetValidator( wxTextValidator( wxFILTER_NONE, &m_sName ) );
-
- fgSizer7->Add( m_textCtrl18, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText27 = new wxStaticText( this, wxID_ANY, _("Help"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText27->Wrap( -1 );
- fgSizer7->Add( m_staticText27, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrl19 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textCtrl19->SetValidator( wxTextValidator( wxFILTER_NONE, &m_sHelp ) );
-
- fgSizer7->Add( m_textCtrl19, 0, wxALL|wxEXPAND, 5 );
-
- bSizer23->Add( fgSizer7, 1, wxEXPAND, 5 );
-
- m_staticline4 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer23->Add( m_staticline4, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer24;
- bSizer24 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, _("OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOK->SetDefault();
- bSizer24->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, _("cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer24->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer23->Add( bSizer24, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer23 );
- this->Layout();
-}
-
-CompilerOptionDlgBase::~CompilerOptionDlgBase()
-{
-}
-
-CompilerPatternDlgBase::CompilerPatternDlgBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizerError;
- bSizerError = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer41;
- fgSizer41 = new wxFlexGridSizer( 3, 2, 0, 0 );
- fgSizer41->AddGrowableCol( 1 );
- fgSizer41->SetFlexibleDirection( wxBOTH );
- fgSizer41->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText5 = new wxStaticText( this, wxID_ANY, _("Regex Pattern:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- fgSizer41->Add( m_staticText5, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_textPattern = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textPattern->SetValidator( wxTextValidator( wxFILTER_NONE, &m_pattern ) );
-
- fgSizer41->Add( m_textPattern, 1, wxEXPAND|wxALL, 5 );
-
- m_staticText6 = new wxStaticText( this, wxID_ANY, _("File Index in Pattern:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- fgSizer41->Add( m_staticText6, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_textFileIndex = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textFileIndex->SetValidator( wxTextValidator( wxFILTER_NUMERIC, &m_fileIdx ) );
-
- fgSizer41->Add( m_textFileIndex, 0, wxEXPAND|wxALL, 5 );
-
- m_staticText7 = new wxStaticText( this, wxID_ANY, _("Line Number in Pattern:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText7->Wrap( -1 );
- fgSizer41->Add( m_staticText7, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_textLineNumber = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textLineNumber->SetValidator( wxTextValidator( wxFILTER_NUMERIC, &m_lineIdx ) );
-
- fgSizer41->Add( m_textLineNumber, 0, wxEXPAND|wxALL, 5 );
-
- bSizerError->Add( fgSizer41, 0, wxEXPAND, 5 );
-
- m_staticline5 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizerError->Add( m_staticline5, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer24;
- bSizer24 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_ANY, _("OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOK->SetDefault();
- bSizer24->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, _("cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer24->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizerError->Add( bSizer24, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizerError );
- this->Layout();
-
- // Connect Events
- m_buttonOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternDlgBase::OnSubmit ), NULL, this );
-}
-
-CompilerPatternDlgBase::~CompilerPatternDlgBase()
-{
- // Disconnect Events
- m_buttonOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CompilerPatternDlgBase::OnSubmit ), NULL, this );
-}
diff --git a/LiteEditor/compiler_pages.h b/LiteEditor/compiler_pages.h
deleted file mode 100644
index 491f8000..00000000
--- a/LiteEditor/compiler_pages.h
+++ /dev/null
@@ -1,294 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __compiler_pages__
-#define __compiler_pages__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/listctrl.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/panel.h>
-#include <wx/textctrl.h>
-#include <wx/checkbox.h>
-#include <wx/valtext.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CompilerPatternsBase
-///////////////////////////////////////////////////////////////////////////////
-class CompilerPatternsBase : public wxPanel
-{
- private:
-
- protected:
- wxListCtrl* m_listErrPatterns;
- wxButton* m_btnAddErrPattern;
- wxButton* m_btnDelErrPattern;
- wxButton* m_btnUpdateErrPattern;
- wxListCtrl* m_listWarnPatterns;
- wxButton* m_btnAddWarnPattern;
- wxButton* m_btnDelWarnPattern;
- wxButton* m_btnUpdateWarnPattern;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnErrItemActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnBtnAddErrPattern( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnBtnDelErrPattern( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnErrorPatternSelectedUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnBtnUpdateErrPattern( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnWarnItemActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnBtnAddWarnPattern( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnBtnDelWarnPattern( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnWarningPatternSelectedUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnBtnUpdateWarnPattern( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- CompilerPatternsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~CompilerPatternsBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CompilerToolsBase
-///////////////////////////////////////////////////////////////////////////////
-class CompilerToolsBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText9;
- wxTextCtrl* m_textCompilerName;
- wxStaticText* m_staticText25;
- wxTextCtrl* m_textCtrlCCompilerName;
- wxStaticText* m_staticText11;
- wxTextCtrl* m_textLinkerName;
- wxStaticText* m_staticText12;
- wxTextCtrl* m_textSOLinker;
- wxStaticText* m_staticText10;
- wxTextCtrl* m_textArchiveTool;
- wxStaticText* m_staticText14;
- wxTextCtrl* m_textResourceCmp;
- wxStaticText* m_staticText20;
- wxTextCtrl* m_textCtrlPathVariable;
-
- public:
-
- CompilerToolsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~CompilerToolsBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CompilerSwitchesBase
-///////////////////////////////////////////////////////////////////////////////
-class CompilerSwitchesBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText8;
- wxListCtrl* m_listSwitches;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ) { event.Skip(); }
-
-
- public:
-
- CompilerSwitchesBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 438,428 ), long style = wxTAB_TRAVERSAL );
- ~CompilerSwitchesBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CompilerFileTypesBase
-///////////////////////////////////////////////////////////////////////////////
-class CompilerFileTypesBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText23;
- wxListCtrl* m_listCtrlFileTypes;
- wxButton* m_buttonNewFileType;
- wxButton* m_buttonDeleteFileType;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnFileTypeActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnFileTypeDeSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnFileTypeSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnNewFileType( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeleteFileType( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- CompilerFileTypesBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~CompilerFileTypesBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CompilerAdvanceBase
-///////////////////////////////////////////////////////////////////////////////
-class CompilerAdvanceBase : public wxPanel
-{
- private:
-
- protected:
- wxCheckBox* m_checkBoxGenerateDependenciesFiles;
- wxStaticLine* m_staticline2;
- wxStaticText* m_staticText18;
- wxStaticText* m_staticText141;
- wxTextCtrl* m_textCtrlGlobalIncludePath;
- wxStaticText* m_staticText16;
- wxTextCtrl* m_textCtrlGlobalLibPath;
- wxStaticLine* m_staticline31;
- wxStaticText* m_staticText19;
- wxStaticText* m_staticText3;
- wxTextCtrl* m_textObjectExtension;
- wxStaticText* m_staticText24;
- wxTextCtrl* m_textDependExtension;
- wxStaticText* m_staticText25;
- wxTextCtrl* m_textPreprocessExtension;
-
- public:
-
- CompilerAdvanceBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~CompilerAdvanceBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CompilerCompilerOptionsBase
-///////////////////////////////////////////////////////////////////////////////
-class CompilerCompilerOptionsBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText23;
- wxListCtrl* m_listCompilerOptions;
- wxButton* m_buttonCompilerOption;
- wxButton* m_buttonDeleteCompilerOption;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCompilerOptionActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnCompilerOptionDeSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnCompilerOptionSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnNewCompilerOption( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeleteCompilerOption( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- CompilerCompilerOptionsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~CompilerCompilerOptionsBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CompilerLinkerOptionsBase
-///////////////////////////////////////////////////////////////////////////////
-class CompilerLinkerOptionsBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText23;
- wxListCtrl* m_listLinkerOptions;
- wxButton* m_buttonLinkerOption;
- wxButton* m_buttonDeleteLinkerOption;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnLinkerOptionActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnLinkerOptionDeSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnLinkerOptionSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnNewLinkerOption( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeleteLinkerOption( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- CompilerLinkerOptionsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~CompilerLinkerOptionsBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CompilerOptionDlgBase
-///////////////////////////////////////////////////////////////////////////////
-class CompilerOptionDlgBase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText26;
- wxTextCtrl* m_textCtrl18;
- wxStaticText* m_staticText27;
- wxTextCtrl* m_textCtrl19;
- wxStaticLine* m_staticline4;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
-
- public:
- wxString m_sName;
- wxString m_sHelp;
-
- CompilerOptionDlgBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 256,140 ), long style = wxDEFAULT_DIALOG_STYLE );
- ~CompilerOptionDlgBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class CompilerPatternDlgBase
-///////////////////////////////////////////////////////////////////////////////
-class CompilerPatternDlgBase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText5;
- wxTextCtrl* m_textPattern;
- wxStaticText* m_staticText6;
- wxTextCtrl* m_textFileIndex;
- wxStaticText* m_staticText7;
- wxTextCtrl* m_textLineNumber;
- wxStaticLine* m_staticline5;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnSubmit( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
- wxString m_pattern;
- wxString m_fileIdx;
- wxString m_lineIdx;
-
- CompilerPatternDlgBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 348,160 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~CompilerPatternDlgBase();
-
-};
-
-#endif //__compiler_pages__
diff --git a/LiteEditor/compileradvancepage.cpp b/LiteEditor/compileradvancepage.cpp
deleted file mode 100644
index 47e20be0..00000000
--- a/LiteEditor/compileradvancepage.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "compileradvancepage.h"
-#include "build_settings_config.h"
-#include "compiler.h"
-
-CompilerAdvancePage::CompilerAdvancePage( wxWindow* parent, const wxString &cmpname )
-: CompilerAdvanceBase( parent )
-, m_cmpname(cmpname)
-{
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(m_cmpname);
- m_textObjectExtension->SetValue(cmp->GetObjectSuffix());
- m_textDependExtension->SetValue(cmp->GetDependSuffix());
- m_textPreprocessExtension->SetValue(cmp->GetPreprocessSuffix());
- m_checkBoxGenerateDependenciesFiles->SetValue(cmp->GetGenerateDependeciesFile());
- m_textCtrlGlobalIncludePath->SetValue(cmp->GetGlobalIncludePath());
- m_textCtrlGlobalLibPath->SetValue(cmp->GetGlobalLibPath());
-}
-
-void CompilerAdvancePage::Save(CompilerPtr cmp)
-{
- cmp->SetGenerateDependeciesFile(m_checkBoxGenerateDependenciesFiles->IsChecked());
- cmp->SetGlobalIncludePath(m_textCtrlGlobalIncludePath->GetValue());
- cmp->SetGlobalLibPath(m_textCtrlGlobalLibPath->GetValue());
- cmp->SetObjectSuffix(m_textObjectExtension->GetValue());
- cmp->SetDependSuffix(m_textDependExtension->GetValue());
- cmp->SetPreprocessSuffix(m_textPreprocessExtension->GetValue());
-}
diff --git a/LiteEditor/compileradvancepage.h b/LiteEditor/compileradvancepage.h
deleted file mode 100644
index 49799e20..00000000
--- a/LiteEditor/compileradvancepage.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef __compileradvancepage__
-#define __compileradvancepage__
-
-/**
-@file
-Subclass of CompilerAdvanceBase, which is generated by wxFormBuilder.
-*/
-
-#include "compiler_pages.h"
-#include "advanced_settings.h"
-#include "compiler.h"
-
-/** Implementing CompilerAdvanceBase */
-class CompilerAdvancePage : public CompilerAdvanceBase, public ICompilerSubPage
-{
- wxString m_cmpname;
-public:
- /** Constructor */
- CompilerAdvancePage( wxWindow* parent, const wxString &cmpname );
- virtual void Save(CompilerPtr cmp);
-};
-
-#endif // __compileradvancepage__
diff --git a/LiteEditor/compilercompileroptionspage.cpp b/LiteEditor/compilercompileroptionspage.cpp
deleted file mode 100644
index e8a3d56b..00000000
--- a/LiteEditor/compilercompileroptionspage.cpp
+++ /dev/null
@@ -1,94 +0,0 @@
-#include "compilercompileroptionspage.h"
-#include "build_settings_config.h"
-#include "compiler.h"
-#include "globals.h"
-
-CompilerCompilerOptionsPage::CompilerCompilerOptionsPage( wxWindow* parent, const wxString &cmpname )
-: CompilerCompilerOptionsBase( parent )
-, m_cmpname(cmpname)
-, m_selectedCmpOption(wxNOT_FOUND)
-{
- m_listCompilerOptions->InsertColumn(0, wxT("Switch"));
- m_listCompilerOptions->InsertColumn(1, wxT("Help"));
-
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(m_cmpname);
- const Compiler::CmpCmdLineOptions& cmpOptions = cmp->GetCompilerOptions();
- Compiler::CmpCmdLineOptions::const_iterator itCmpOption = cmpOptions.begin();
- for ( ; itCmpOption != cmpOptions.end(); ++itCmpOption)
- {
- const Compiler::CmpCmdLineOption& cmpOption = itCmpOption->second;
- long idx = m_listCompilerOptions->InsertItem(m_listCompilerOptions->GetItemCount(), cmpOption.name);
- m_listCompilerOptions->SetItem(idx, 1, cmpOption.help);
- }
-
- m_listCompilerOptions->SetColumnWidth(0, 100);
- m_listCompilerOptions->SetColumnWidth(1, wxLIST_AUTOSIZE);
-
-}
-
-void CompilerCompilerOptionsPage::Save(CompilerPtr cmp)
-{
- Compiler::CmpCmdLineOptions cmpOptions;
- for (int idx = 0; idx < m_listCompilerOptions->GetItemCount(); ++idx)
- {
- Compiler::CmpCmdLineOption cmpOption;
- cmpOption.name = m_listCompilerOptions->GetItemText(idx);
- cmpOption.help = GetColumnText(m_listCompilerOptions, idx, 1);
-
- cmpOptions[cmpOption.name] = cmpOption;
- }
- cmp->SetCompilerOptions(cmpOptions);
-}
-
-void CompilerCompilerOptionsPage::OnCompilerOptionActivated( wxListEvent& event )
-{
- if (m_selectedCmpOption == wxNOT_FOUND) {
- return;
- }
-
- wxString name = m_listCompilerOptions->GetItemText(m_selectedCmpOption);
- wxString help = GetColumnText(m_listCompilerOptions, m_selectedCmpOption, 1);
- CompilerCompilerOptionDialog dlg(this, name, help);
- if (dlg.ShowModal() == wxID_OK)
- {
- SetColumnText(m_listCompilerOptions, m_selectedCmpOption, 0, dlg.m_sName);
- SetColumnText(m_listCompilerOptions, m_selectedCmpOption, 1, dlg.m_sHelp);
- m_listCompilerOptions->SetColumnWidth(1, wxLIST_AUTOSIZE);
- }
-}
-
-void CompilerCompilerOptionsPage::OnNewCompilerOption( wxCommandEvent& event )
-{
- CompilerCompilerOptionDialog dlg(this, wxEmptyString, wxEmptyString);
- if (dlg.ShowModal() == wxID_OK)
- {
- long idx = m_listCompilerOptions->InsertItem(m_listCompilerOptions->GetItemCount(), dlg.m_sName);
- m_listCompilerOptions->SetItem(idx, 1, dlg.m_sHelp);
- m_listCompilerOptions->SetColumnWidth(1, wxLIST_AUTOSIZE);
- }
-}
-
-void CompilerCompilerOptionsPage::OnDeleteCompilerOption( wxCommandEvent& event )
-{
- if (m_selectedCmpOption != wxNOT_FOUND) {
- if (wxMessageBox(_("Are you sure you want to delete this compiler option?"), wxT("CodeLite"), wxYES_NO|wxCANCEL) == wxYES) {
- m_listCompilerOptions->DeleteItem(m_selectedCmpOption);
- m_listCompilerOptions->SetColumnWidth(1, wxLIST_AUTOSIZE);
- m_selectedCmpOption = wxNOT_FOUND;
- }
- }
-}
-
-void CompilerCompilerOptionsPage::OnCompilerOptionDeSelected(wxListEvent& event)
-{
-#ifndef __WXMAC__
- m_selectedCmpOption = wxNOT_FOUND;
-#endif
- event.Skip();
-}
-
-void CompilerCompilerOptionsPage::OnCompilerOptionSelected(wxListEvent& event)
-{
- m_selectedCmpOption = event.m_itemIndex;
- event.Skip();
-}
diff --git a/LiteEditor/compilercompileroptionspage.h b/LiteEditor/compilercompileroptionspage.h
deleted file mode 100644
index bf50b80e..00000000
--- a/LiteEditor/compilercompileroptionspage.h
+++ /dev/null
@@ -1,53 +0,0 @@
-#ifndef __compilercompileroptionspage__
-#define __compilercompileroptionspage__
-
-/**
-@file
-Subclass of CompilerCompilerOptionsBase, which is generated by wxFormBuilder.
-*/
-
-#include "compiler_pages.h"
-#include "compiler.h"
-#include "advanced_settings.h"
-
-/** Implementing CompilerCompilerOptionsBase */
-class CompilerCompilerOptionsPage : public CompilerCompilerOptionsBase, public ICompilerSubPage
-{
- wxString m_cmpname;
- long m_selectedCmpOption;
-public:
- /** Constructor */
- CompilerCompilerOptionsPage( wxWindow* parent, const wxString &cmpname );
- virtual void Save(CompilerPtr cmp);
-
-protected:
- // Virtual event handlers from wxFormBuilder base class
- virtual void OnCompilerOptionActivated( wxListEvent& event );
- virtual void OnCompilerOptionDeSelected( wxListEvent& event );
- virtual void OnCompilerOptionSelected( wxListEvent& event );
- virtual void OnNewCompilerOption( wxCommandEvent& event );
- virtual void OnDeleteCompilerOption( wxCommandEvent& event );
-};
-
-/** Implementing CompilerOptionDlgBase */
-class CompilerOptionDialog : public CompilerOptionDlgBase
-{
-public:
- CompilerOptionDialog(wxWindow* parent, const wxString& title, const wxString& name, const wxString& help, wxWindowID id = wxID_ANY)
- : CompilerOptionDlgBase(parent, id, title)
- {
- m_sName = name;
- m_sHelp = help;
- }
-};
-
-class CompilerCompilerOptionDialog : public CompilerOptionDialog
-{
-public:
- CompilerCompilerOptionDialog(wxWindow* parent, const wxString& name, const wxString& help)
- : CompilerOptionDialog(parent, wxT("Compiler option"), name, help)
- {
- }
-};
-
-#endif // __compilercompileroptionspage__
diff --git a/LiteEditor/compilerfiletypespage.cpp b/LiteEditor/compilerfiletypespage.cpp
deleted file mode 100644
index ee3b3e60..00000000
--- a/LiteEditor/compilerfiletypespage.cpp
+++ /dev/null
@@ -1,112 +0,0 @@
-#include "compilerfiletypespage.h"
-#include "editcmpfileinfodlg.h"
-#include "compiler.h"
-#include <wx/msgdlg.h>
-#include "globals.h"
-#include "build_settings_config.h"
-
-CompilerFileTypePage::CompilerFileTypePage( wxWindow* parent, const wxString &cmpname )
- : CompilerFileTypesBase( parent )
- , m_cmpname(cmpname)
- , m_selectedFileType(wxNOT_FOUND)
-{
- InitFileTypes();
-}
-
-void CompilerFileTypePage::OnFileTypeActivated(wxListEvent& event)
-{
- if (m_selectedFileType != wxNOT_FOUND) {
- EditCmpFileInfo dlg(this);
- dlg.SetCompilationLine(GetColumnText(m_listCtrlFileTypes, m_selectedFileType, 2));
- dlg.SetExtension(GetColumnText(m_listCtrlFileTypes, m_selectedFileType, 0));
- dlg.SetKind(GetColumnText(m_listCtrlFileTypes, m_selectedFileType, 1));
-
- if (dlg.ShowModal() == wxID_OK) {
- SetColumnText(m_listCtrlFileTypes, m_selectedFileType, 2, dlg.GetCompilationLine());
- SetColumnText(m_listCtrlFileTypes, m_selectedFileType, 0, dlg.GetExtension().Lower());
- SetColumnText(m_listCtrlFileTypes, m_selectedFileType, 1, dlg.GetKind());
- }
- }
- event.Skip();
-}
-
-void CompilerFileTypePage::OnFileTypeDeSelected(wxListEvent& event)
-{
-#ifndef __WXMAC__
- m_selectedFileType = wxNOT_FOUND;
-#endif
- event.Skip();
-}
-
-void CompilerFileTypePage::OnFileTypeSelected(wxListEvent& event)
-{
- m_selectedFileType = event.m_itemIndex;
- event.Skip();
-}
-
-void CompilerFileTypePage::OnDeleteFileType(wxCommandEvent& event)
-{
- if (m_selectedFileType != wxNOT_FOUND) {
- if (wxMessageBox(_("Are you sure you want to delete this file type?"), wxT("CodeLite"), wxYES_NO|wxCANCEL) == wxYES) {
- m_listCtrlFileTypes->DeleteItem(m_selectedFileType);
- m_selectedFileType = wxNOT_FOUND;
- }
- }
-}
-
-void CompilerFileTypePage::OnNewFileType(wxCommandEvent& event)
-{
- EditCmpFileInfo dlg(this);
- if (dlg.ShowModal() == wxID_OK) {
- long newItem = AppendListCtrlRow(m_listCtrlFileTypes);
- SetColumnText(m_listCtrlFileTypes, newItem, 2, dlg.GetCompilationLine());
- SetColumnText(m_listCtrlFileTypes, newItem, 0, dlg.GetExtension().Lower());
- SetColumnText(m_listCtrlFileTypes, newItem, 1, dlg.GetKind());
- }
-}
-
-void CompilerFileTypePage::InitFileTypes()
-{
- m_listCtrlFileTypes->Freeze();
- m_listCtrlFileTypes->ClearAll();
- m_listCtrlFileTypes->InsertColumn(0, wxT("Extension"));
- m_listCtrlFileTypes->InsertColumn(1, wxT("Kind"));
- m_listCtrlFileTypes->InsertColumn(2, wxT("Compilation Line"));
-
- //populate the list control
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(m_cmpname);
- if (cmp) {
- std::map<wxString, Compiler::CmpFileTypeInfo> fileTypes = cmp->GetFileTypes();
- std::map<wxString, Compiler::CmpFileTypeInfo>::iterator iter = fileTypes.begin();
- for ( ; iter != fileTypes.end(); iter++ ) {
- Compiler::CmpFileTypeInfo ft = iter->second;
-
- long item = AppendListCtrlRow(m_listCtrlFileTypes);
- SetColumnText(m_listCtrlFileTypes, item, 0, ft.extension);
- SetColumnText(m_listCtrlFileTypes, item, 1, ft.kind == Compiler::CmpFileKindSource ? wxT("Source") : wxT("Resource"));
- SetColumnText(m_listCtrlFileTypes, item, 2, ft.compilation_line);
- }
- }
-
- m_listCtrlFileTypes->SetColumnWidth(0, 70);
- m_listCtrlFileTypes->SetColumnWidth(1, 70);
- m_listCtrlFileTypes->SetColumnWidth(2, wxLIST_AUTOSIZE);
-
- m_listCtrlFileTypes->Thaw();
-}
-
-void CompilerFileTypePage::Save(CompilerPtr cmp)
-{
- std::map<wxString, Compiler::CmpFileTypeInfo> fileTypes;
- int count = m_listCtrlFileTypes->GetItemCount();
- for (int i=0; i<count; i++) {
- Compiler::CmpFileTypeInfo ft;
- ft.extension = GetColumnText(m_listCtrlFileTypes, i, 0);
- ft.kind = GetColumnText(m_listCtrlFileTypes, i, 1) == wxT("Resource") ? Compiler::CmpFileKindResource : Compiler::CmpFileKindSource;
- ft.compilation_line = GetColumnText(m_listCtrlFileTypes, i, 2);
-
- fileTypes[ft.extension] = ft;
- }
-
- cmp->SetFileTypes(fileTypes);
-}
diff --git a/LiteEditor/compilerfiletypespage.h b/LiteEditor/compilerfiletypespage.h
deleted file mode 100644
index 23058107..00000000
--- a/LiteEditor/compilerfiletypespage.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef __compilerfiletypespage__
-#define __compilerfiletypespage__
-
-/**
-@file
-Subclass of CompilerFileTypesBase, which is generated by wxFormBuilder.
-*/
-
-#include "compiler_pages.h"
-#include "advanced_settings.h"
-#include "compiler.h"
-
-/** Implementing CompilerFileTypesBase */
-class CompilerFileTypePage : public CompilerFileTypesBase, public ICompilerSubPage
-{
- wxString m_cmpname;
- long m_selectedFileType;
-protected:
- // Handlers for CompilerFileTypesBase events.
- void OnFileTypeActivated( wxListEvent& event );
- void OnFileTypeDeSelected( wxListEvent& event );
- void OnFileTypeSelected( wxListEvent& event );
- void OnNewFileType( wxCommandEvent& event );
- void OnDeleteFileType( wxCommandEvent& event );
-
- void InitFileTypes();
-public:
- /** Constructor */
- CompilerFileTypePage( wxWindow* parent, const wxString &cmpname );
- virtual void Save(CompilerPtr cmp);
-};
-
-#endif // __compilerfiletypespage__
diff --git a/LiteEditor/compilerlinkeroptionspage.cpp b/LiteEditor/compilerlinkeroptionspage.cpp
deleted file mode 100644
index 3ced9ee0..00000000
--- a/LiteEditor/compilerlinkeroptionspage.cpp
+++ /dev/null
@@ -1,92 +0,0 @@
-#include "compilerlinkeroptionspage.h"
-#include "build_settings_config.h"
-#include "compiler.h"
-#include "globals.h"
-
-CompilerLinkerOptionsPage::CompilerLinkerOptionsPage( wxWindow* parent, const wxString &cmpname )
-: CompilerLinkerOptionsBase( parent )
-, m_cmpname(cmpname)
-, m_selectedLnkOption(wxNOT_FOUND)
-{
- m_listLinkerOptions->InsertColumn(0, wxT("Switch"));
- m_listLinkerOptions->InsertColumn(1, wxT("Help"));
-
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(m_cmpname);
- const Compiler::CmpCmdLineOptions& lnkOptions = cmp->GetLinkerOptions();
- Compiler::CmpCmdLineOptions::const_iterator itLnkOption = lnkOptions.begin();
- for ( ; itLnkOption != lnkOptions.end(); ++itLnkOption)
- {
- const Compiler::CmpCmdLineOption& lnkOption = itLnkOption->second;
- long idx = m_listLinkerOptions->InsertItem(m_listLinkerOptions->GetItemCount(), lnkOption.name);
- m_listLinkerOptions->SetItem(idx, 1, lnkOption.help);
- }
- m_listLinkerOptions->SetColumnWidth(0, 100);
- m_listLinkerOptions->SetColumnWidth(1, wxLIST_AUTOSIZE);
-}
-
-void CompilerLinkerOptionsPage::Save(CompilerPtr cmp)
-{
- Compiler::CmpCmdLineOptions lnkOptions;
- for (int idx = 0; idx < m_listLinkerOptions->GetItemCount(); ++idx)
- {
- Compiler::CmpCmdLineOption lnkOption;
- lnkOption.name = m_listLinkerOptions->GetItemText(idx);
- lnkOption.help = GetColumnText(m_listLinkerOptions, idx, 1);
-
- lnkOptions[lnkOption.name] = lnkOption;
- }
- cmp->SetLinkerOptions(lnkOptions);
-}
-
-void CompilerLinkerOptionsPage::OnLinkerOptionActivated( wxListEvent& event )
-{
- if (m_selectedLnkOption == wxNOT_FOUND) {
- return;
- }
-
- wxString name = m_listLinkerOptions->GetItemText(m_selectedLnkOption);
- wxString help = GetColumnText(m_listLinkerOptions, m_selectedLnkOption, 1);
- CompilerLinkerOptionDialog dlg(this, name, help);
- if (dlg.ShowModal() == wxID_OK)
- {
- SetColumnText(m_listLinkerOptions, m_selectedLnkOption, 0, dlg.m_sName);
- SetColumnText(m_listLinkerOptions, m_selectedLnkOption, 1, dlg.m_sHelp);
- m_listLinkerOptions->SetColumnWidth(1, wxLIST_AUTOSIZE);
- }
-}
-
-void CompilerLinkerOptionsPage::OnNewLinkerOption( wxCommandEvent& event )
-{
- CompilerLinkerOptionDialog dlg(this, wxEmptyString, wxEmptyString);
- if (dlg.ShowModal() == wxID_OK)
- {
- long idx = m_listLinkerOptions->InsertItem(m_listLinkerOptions->GetItemCount(), dlg.m_sName);
- m_listLinkerOptions->SetItem(idx, 1, dlg.m_sHelp);
- m_listLinkerOptions->SetColumnWidth(1, wxLIST_AUTOSIZE);
- }
-}
-
-void CompilerLinkerOptionsPage::OnDeleteLinkerOption( wxCommandEvent& event )
-{
- if (m_selectedLnkOption != wxNOT_FOUND) {
- if (wxMessageBox(_("Are you sure you want to delete this linker option?"), wxT("CodeLite"), wxYES_NO|wxCANCEL) == wxYES) {
- m_listLinkerOptions->DeleteItem(m_selectedLnkOption);
- m_listLinkerOptions->SetColumnWidth(1, wxLIST_AUTOSIZE);
- m_selectedLnkOption = wxNOT_FOUND;
- }
- }
-}
-
-void CompilerLinkerOptionsPage::OnLinkerOptionDeSelected(wxListEvent& event)
-{
-#ifndef __WXMAC__
- m_selectedLnkOption = wxNOT_FOUND;
-#endif
- event.Skip();
-}
-
-void CompilerLinkerOptionsPage::OnLinkerOptionSelected(wxListEvent& event)
-{
- m_selectedLnkOption = event.m_itemIndex;
- event.Skip();
-}
diff --git a/LiteEditor/compilerlinkeroptionspage.h b/LiteEditor/compilerlinkeroptionspage.h
deleted file mode 100644
index 3ae9044c..00000000
--- a/LiteEditor/compilerlinkeroptionspage.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef __compilerlinkeroptionspage__
-#define __compilerlinkeroptionspage__
-
-/**
-@file
-Subclass of CompilerLinkerOptionsBase, which is generated by wxFormBuilder.
-*/
-
-#include "compiler_pages.h"
-#include "compiler.h"
-#include "advanced_settings.h"
-#include "compilercompileroptionspage.h" // for CompilerOptionDialog
-
-/** Implementing CompilerCompilerOptionsBase */
-class CompilerLinkerOptionsPage : public CompilerLinkerOptionsBase, public ICompilerSubPage
-{
- wxString m_cmpname;
- long m_selectedLnkOption;
-public:
- /** Constructor */
- CompilerLinkerOptionsPage( wxWindow* parent, const wxString &cmpname );
- virtual void Save(CompilerPtr cmp);
-
-protected:
- // Virtual event handlers from wxFormBuilder base class
- virtual void OnLinkerOptionActivated( wxListEvent& event );
- virtual void OnLinkerOptionDeSelected( wxListEvent& event );
- virtual void OnLinkerOptionSelected( wxListEvent& event );
- virtual void OnNewLinkerOption( wxCommandEvent& event );
- virtual void OnDeleteLinkerOption( wxCommandEvent& event );
-};
-
-class CompilerLinkerOptionDialog : public CompilerOptionDialog
-{
-public:
- CompilerLinkerOptionDialog(wxWindow* parent, const wxString& name, const wxString& help)
- : CompilerOptionDialog(parent, wxT("Linker option"), name, help)
- {
- }
-};
-
-#endif // __compilerlinkeroptionspage__
diff --git a/LiteEditor/compilerpatternspage.cpp b/LiteEditor/compilerpatternspage.cpp
deleted file mode 100644
index e26a340a..00000000
--- a/LiteEditor/compilerpatternspage.cpp
+++ /dev/null
@@ -1,208 +0,0 @@
-#include "compilerpatternspage.h"
-#include "build_settings_config.h"
-#include "compiler.h"
-#include "globals.h"
-#include "windowattrmanager.h"
-
-CompilerPatternsPage::CompilerPatternsPage( wxWindow* parent, const wxString &cmpname )
- : CompilerPatternsBase( parent )
- , m_cmpname(cmpname)
-{
- m_listErrPatterns->InsertColumn(0, _("Pattern"));
- m_listErrPatterns->InsertColumn(1, _("File name index"));
- m_listErrPatterns->InsertColumn(2, _("Line number index"));
-
- m_listWarnPatterns->InsertColumn(0, _("Pattern"));
- m_listWarnPatterns->InsertColumn(1, _("File name index"));
- m_listWarnPatterns->InsertColumn(2, _("Line number index"));
-
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(m_cmpname);
-
- const Compiler::CmpListInfoPattern& errPatterns = cmp->GetErrPatterns();
- Compiler::CmpListInfoPattern::const_iterator itPattern;
- for (itPattern = errPatterns.begin(); itPattern != errPatterns.end(); ++itPattern) {
- long item = AppendListCtrlRow(m_listErrPatterns);
- SetColumnText(m_listErrPatterns, item, 0, itPattern->pattern);
- SetColumnText(m_listErrPatterns, item, 1, itPattern->fileNameIndex);
- SetColumnText(m_listErrPatterns, item, 2, itPattern->lineNumberIndex);
- }
-
- const Compiler::CmpListInfoPattern& warnPatterns = cmp->GetWarnPatterns();
- for (itPattern = warnPatterns.begin(); itPattern != warnPatterns.end(); ++itPattern) {
- long item = AppendListCtrlRow(m_listWarnPatterns);
- SetColumnText(m_listWarnPatterns, item, 0, itPattern->pattern);
- SetColumnText(m_listWarnPatterns, item, 1, itPattern->fileNameIndex);
- SetColumnText(m_listWarnPatterns, item, 2, itPattern->lineNumberIndex);
- }
-
- m_listWarnPatterns->SetColumnWidth(0, 200);
- m_listWarnPatterns->SetColumnWidth(1, 50);
- m_listWarnPatterns->SetColumnWidth(2, 50);
-
- m_listErrPatterns->SetColumnWidth(0, 200);
- m_listErrPatterns->SetColumnWidth(1, 50);
- m_listErrPatterns->SetColumnWidth(2, 50);
-}
-
-void CompilerPatternsPage::Save(CompilerPtr cmp)
-{
- Compiler::CmpListInfoPattern errPatterns;
- for (int i = 0; i < m_listErrPatterns->GetItemCount(); ++i) {
- Compiler::CmpInfoPattern infoPattern;
- infoPattern.pattern = GetColumnText(m_listErrPatterns, i, 0);
- infoPattern.fileNameIndex = GetColumnText(m_listErrPatterns, i, 1);
- infoPattern.lineNumberIndex = GetColumnText(m_listErrPatterns, i, 2);
- errPatterns.push_back(infoPattern);
- }
- cmp->SetErrPatterns(errPatterns);
-
- Compiler::CmpListInfoPattern warnPatterns;
- for (int i = 0; i < m_listWarnPatterns->GetItemCount(); ++i) {
- Compiler::CmpInfoPattern infoPattern;
- infoPattern.pattern = GetColumnText(m_listWarnPatterns, i, 0);
- infoPattern.fileNameIndex = GetColumnText(m_listWarnPatterns, i, 1);
- infoPattern.lineNumberIndex = GetColumnText(m_listWarnPatterns, i, 2);
- warnPatterns.push_back(infoPattern);
- }
- cmp->SetWarnPatterns(warnPatterns);
-}
-
-void CompilerPatternsPage::OnBtnAddErrPattern( wxCommandEvent& event )
-{
- CompilerPatternDlg dlg(this, _("Add compiler error pattern"));
- if (dlg.ShowModal() == wxID_OK) {
- long item = AppendListCtrlRow( m_listErrPatterns );
- SetColumnText(m_listErrPatterns, item, 0, dlg.m_pattern);
- SetColumnText(m_listErrPatterns, item, 1, dlg.m_fileIdx);
- SetColumnText(m_listErrPatterns, item, 2, dlg.m_lineIdx);
- }
-}
-
-void CompilerPatternsPage::OnBtnDelErrPattern( wxCommandEvent& event )
-{
- int sel = m_listErrPatterns->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
- if (sel == wxNOT_FOUND) {
- return;
- }
- m_listErrPatterns->DeleteItem(sel);
-}
-
-void CompilerPatternsPage::OnBtnUpdateErrPattern( wxCommandEvent& event )
-{
- int sel = m_listErrPatterns->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
- if (sel == wxNOT_FOUND) {
- return;
- }
- DoUpdateErrPattern(sel);
-}
-
-void CompilerPatternsPage::OnErrItemActivated( wxListEvent& event )
-{
- wxLogMessage(wxT("CompilerPatternsPage::OnErrItemActivated(%d)"), event.GetIndex());
- DoUpdateErrPattern(event.GetIndex());
-}
-
-void CompilerPatternsPage::DoUpdateErrPattern(long item)
-{
- wxString pattern = GetColumnText(m_listErrPatterns, item, 0);
- wxString fileIdx = GetColumnText(m_listErrPatterns, item, 1);
- wxString lineIdx = GetColumnText(m_listErrPatterns, item, 2);
- CompilerPatternDlg dlg(this, _("Update compiler error pattern"));
- dlg.SetPattern(pattern, lineIdx, fileIdx);
- if (dlg.ShowModal() == wxID_OK) {
- SetColumnText(m_listErrPatterns, item, 0, dlg.m_pattern);
- SetColumnText(m_listErrPatterns, item, 1, dlg.m_fileIdx);
- SetColumnText(m_listErrPatterns, item, 2, dlg.m_lineIdx);
- }
-}
-
-void CompilerPatternsPage::OnBtnAddWarnPattern( wxCommandEvent& event )
-{
- CompilerPatternDlg dlg(this, _("Add compiler warning pattern"));
- if (dlg.ShowModal() == wxID_OK) {
- long item = AppendListCtrlRow( m_listWarnPatterns );
- SetColumnText(m_listWarnPatterns, item, 0, dlg.m_pattern);
- SetColumnText(m_listWarnPatterns, item, 1, dlg.m_fileIdx);
- SetColumnText(m_listWarnPatterns, item, 2, dlg.m_lineIdx);
- }
-}
-
-void CompilerPatternsPage::OnBtnDelWarnPattern( wxCommandEvent& event )
-{
- int sel = m_listWarnPatterns->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
- if (sel == wxNOT_FOUND) {
- return;
- }
- m_listWarnPatterns->DeleteItem(sel);
-}
-
-void CompilerPatternsPage::OnBtnUpdateWarnPattern( wxCommandEvent& event )
-{
- int sel = m_listWarnPatterns->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
- if (sel == wxNOT_FOUND) {
- return;
- }
- DoUpdateWarnPattern(sel);
-}
-
-void CompilerPatternsPage::OnWarnItemActivated( wxListEvent& event )
-{
- DoUpdateWarnPattern(event.GetIndex());
-}
-
-void CompilerPatternsPage::DoUpdateWarnPattern(long item)
-{
- wxString pattern = GetColumnText(m_listWarnPatterns, item, 0);
- wxString fileIdx = GetColumnText(m_listWarnPatterns, item, 1);
- wxString lineIdx = GetColumnText(m_listWarnPatterns, item, 2);
- CompilerPatternDlg dlg(this, _("Update compiler warning pattern"));
- dlg.SetPattern(pattern, lineIdx, fileIdx);
- if (dlg.ShowModal() == wxID_OK) {
- SetColumnText(m_listWarnPatterns, item, 0, dlg.m_pattern);
- SetColumnText(m_listWarnPatterns, item, 1, dlg.m_fileIdx);
- SetColumnText(m_listWarnPatterns, item, 2, dlg.m_lineIdx);
- }
-}
-
-void CompilerPatternsPage::OnErrorPatternSelectedUI(wxUpdateUIEvent& event)
-{
- int sel = m_listErrPatterns->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
- event.Enable(sel != wxNOT_FOUND);
-}
-
-void CompilerPatternsPage::OnWarningPatternSelectedUI(wxUpdateUIEvent& event)
-{
- int sel = m_listWarnPatterns->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
- event.Enable(sel != wxNOT_FOUND);
-}
-
-CompilerPatternDlg::CompilerPatternDlg(wxWindow* parent, const wxString& title)
-: CompilerPatternDlgBase(parent, wxID_ANY, title)
-{
- WindowAttrManager::Load(this, wxT("CompilerPatternDlg"), NULL);
-}
-
-CompilerPatternDlg::~CompilerPatternDlg()
-{
- WindowAttrManager::Save(this, wxT("CompilerPatternDlg"), NULL);
-}
-
-void CompilerPatternDlg::SetPattern(const wxString& pattern, const wxString& lineIdx, const wxString& fileIdx)
-{
- m_pattern = pattern;
- m_lineIdx = lineIdx;
- m_fileIdx = fileIdx;
- TransferDataToWindow();
-}
-
-void CompilerPatternDlg::OnSubmit( wxCommandEvent& event )
-{
- if (TransferDataFromWindow()) {
- if( m_pattern.Trim().IsEmpty() || m_lineIdx.Trim().IsEmpty() || m_fileIdx.Trim().IsEmpty() ) {
- wxMessageBox(_("Please fill all the fields"), wxT("CodeLite"), wxOK|wxICON_INFORMATION, this);
- return;
- }
- EndModal(wxID_OK);
- }
-}
-
diff --git a/LiteEditor/compilerpatternspage.h b/LiteEditor/compilerpatternspage.h
deleted file mode 100644
index d181efcc..00000000
--- a/LiteEditor/compilerpatternspage.h
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef __compilerpatternspage__
-#define __compilerpatternspage__
-
-/**
-@file
-Subclass of CompilerPatternsBase, which is generated by wxFormBuilder.
-*/
-
-#include "compiler_pages.h"
-#include "compiler.h"
-#include "advanced_settings.h"
-
-/** Implementing CompilerPatternsBase */
-class CompilerPatternsPage : public CompilerPatternsBase, public ICompilerSubPage
-{
- wxString m_cmpname;
-
-public:
- /** Constructor */
- CompilerPatternsPage( wxWindow* parent, const wxString &cmpname );
- virtual void Save(CompilerPtr cmp);
-
-protected:
- void DoUpdateErrPattern(long item);
- void DoUpdateWarnPattern(long item);
-
- virtual void OnBtnAddErrPattern( wxCommandEvent& event );
- virtual void OnBtnDelErrPattern( wxCommandEvent& event );
- virtual void OnBtnUpdateErrPattern( wxCommandEvent& event );
- virtual void OnErrItemActivated( wxListEvent& event );
- virtual void OnBtnAddWarnPattern( wxCommandEvent& event );
- virtual void OnBtnDelWarnPattern( wxCommandEvent& event );
- virtual void OnBtnUpdateWarnPattern( wxCommandEvent& event );
- virtual void OnWarnItemActivated( wxListEvent& event );
- virtual void OnErrorPatternSelectedUI(wxUpdateUIEvent &event);
- virtual void OnWarningPatternSelectedUI(wxUpdateUIEvent &event);
-};
-
-class CompilerPatternDlg : public CompilerPatternDlgBase
-{
-public:
- CompilerPatternDlg(wxWindow* parent, const wxString& title);
- virtual ~CompilerPatternDlg();
-
- void SetPattern(const wxString& pattern, const wxString& lineIdx, const wxString& fileIdx);
-
-protected:
- virtual void OnSubmit( wxCommandEvent& event );
-};
-
-#endif // __compilerpatternspage__
diff --git a/LiteEditor/compilerswitchespage.cpp b/LiteEditor/compilerswitchespage.cpp
deleted file mode 100644
index 46ed1796..00000000
--- a/LiteEditor/compilerswitchespage.cpp
+++ /dev/null
@@ -1,100 +0,0 @@
-#include "compilerswitchespage.h"
-#include "compiler.h"
-#include "build_settings_config.h"
-#include "globals.h"
-#include <wx/textdlg.h>
-
-CompilerSwitchesPage::CompilerSwitchesPage( wxWindow* parent, const wxString &cmpname )
- : CompilerSwitchesBase( parent )
- , m_cmpname(cmpname)
-{
- InitSwitches();
-}
-
-void CompilerSwitchesPage::AddSwitch(const wxString &name, const wxString &value, bool choose)
-{
- long item = AppendListCtrlRow(m_listSwitches);
- SetColumnText(m_listSwitches, item, 0, name);
- SetColumnText(m_listSwitches, item, 1, value);
-
- if (choose) {
- m_selSwitchName = name;
- m_selSwitchValue = value;
- }
- m_listSwitches->SetColumnWidth(0, wxLIST_AUTOSIZE);
- m_listSwitches->SetColumnWidth(0, 100);
-}
-
-void CompilerSwitchesPage::EditSwitch()
-{
- wxString message;
- message << m_selSwitchName << wxT(" switch:");
- wxTextEntryDialog dlg(this, message, wxT("Edit"), m_selSwitchValue);
- if (dlg.ShowModal() == wxID_OK) {
- wxString newVal = dlg.GetValue();
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(m_cmpname);
- cmp->SetSwitch(m_selSwitchName, dlg.GetValue());
- BuildSettingsConfigST::Get()->SetCompiler(cmp);
- InitSwitches();
- }
-}
-
-void CompilerSwitchesPage::OnItemActivated( wxListEvent& event )
-{
- //get the var name & value
- wxListItem info;
- info.m_itemId = event.m_itemIndex;
- info.m_col = 0; //name
- info.m_mask = wxLIST_MASK_TEXT;
-
- if ( m_listSwitches->GetItem(info) ) {
- m_selSwitchName = info.m_text;
- }
-
- info.m_col = 1;//value
- if ( m_listSwitches->GetItem(info)) {
- m_selSwitchValue = info.m_text;
- }
- EditSwitch();
-}
-
-void CompilerSwitchesPage::OnItemSelected( wxListEvent& event )
-{
- //get the var name & value
- wxListItem info;
- info.m_itemId = event.m_itemIndex;
- info.m_col = 0; //name
- info.m_mask = wxLIST_MASK_TEXT;
-
- if ( m_listSwitches->GetItem(info) ) {
- m_selSwitchName = info.m_text;
- }
-
- info.m_col = 1;//value
- if ( m_listSwitches->GetItem(info)) {
- m_selSwitchValue = info.m_text;
- }
-}
-
-void CompilerSwitchesPage::InitSwitches()
-{
- //insert columns:
- m_listSwitches->Freeze();
- m_listSwitches->ClearAll();
- m_listSwitches->InsertColumn(0, wxT("Name"));
- m_listSwitches->InsertColumn(1, wxT("Value"));
-
- //populate the list control
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(m_cmpname);
- Compiler::ConstIterator iter = cmp->SwitchesBegin();
- for (; iter != cmp->SwitchesEnd(); iter++) {
- AddSwitch(iter->first, iter->second, iter == cmp->SwitchesBegin());
- }
- m_listSwitches->SetColumnWidth(0, wxLIST_AUTOSIZE);
- m_listSwitches->Thaw();
-}
-
-void CompilerSwitchesPage::Save(CompilerPtr cmp)
-{
- wxUnusedVar(cmp);
-}
diff --git a/LiteEditor/compilerswitchespage.h b/LiteEditor/compilerswitchespage.h
deleted file mode 100644
index 6f616390..00000000
--- a/LiteEditor/compilerswitchespage.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef __compilerswitchespage__
-#define __compilerswitchespage__
-
-/**
-@file
-Subclass of CompilerSwitchesBase, which is generated by wxFormBuilder.
-*/
-
-#include "compiler_pages.h"
-#include "advanced_settings.h"
-#include "compiler.h"
-
-/** Implementing CompilerSwitchesBase */
-class CompilerSwitchesPage : public CompilerSwitchesBase, public ICompilerSubPage
-{
- wxString m_cmpname;
- wxString m_selSwitchName ;
- wxString m_selSwitchValue;
-protected:
- // Handlers for CompilerSwitchesBase events.
- void OnItemActivated( wxListEvent& event );
- void OnItemSelected( wxListEvent& event );
-
- void EditSwitch();
- void InitSwitches();
- void AddSwitch(const wxString &name, const wxString &value, bool choose);
-public:
- /** Constructor */
- CompilerSwitchesPage( wxWindow* parent, const wxString &cmpname );
- virtual void Save(CompilerPtr cmp);
-};
-
-#endif // __compilerswitchespage__
diff --git a/LiteEditor/compilertoolspage.cpp b/LiteEditor/compilertoolspage.cpp
deleted file mode 100644
index d74b6171..00000000
--- a/LiteEditor/compilertoolspage.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-#include "compilertoolspage.h"
-#include "build_settings_config.h"
-#include "compiler.h"
-
-CompilerToolsPage::CompilerToolsPage( wxWindow* parent, const wxString &cmpname )
- : CompilerToolsBase( parent )
- , m_cmpname(cmpname)
-{
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(m_cmpname);
- m_textArchiveTool->SetValue(cmp->GetTool(wxT("ArchiveTool")));
- m_textCompilerName->SetValue(cmp->GetTool(wxT("CompilerName")));
- m_textCtrlCCompilerName->SetValue(cmp->GetTool(wxT("C_CompilerName")));
- m_textLinkerName->SetValue(cmp->GetTool(wxT("LinkerName")));
- m_textSOLinker->SetValue(cmp->GetTool(wxT("SharedObjectLinkerName")));
- m_textResourceCmp->SetValue(cmp->GetTool(wxT("ResourceCompiler")));
- m_textCtrlPathVariable->SetValue(cmp->GetPathVariable());
-}
-
-void CompilerToolsPage::Save(CompilerPtr cmp)
-{
- cmp->SetTool(wxT("ArchiveTool"), m_textArchiveTool->GetValue());
- cmp->SetTool(wxT("CompilerName"), m_textCompilerName->GetValue());
- cmp->SetTool(wxT("C_CompilerName"), m_textCtrlCCompilerName->GetValue());
- cmp->SetTool(wxT("LinkerName"), m_textLinkerName->GetValue());
- cmp->SetTool(wxT("SharedObjectLinkerName"), m_textSOLinker->GetValue());
- cmp->SetTool(wxT("ResourceCompiler"), m_textResourceCmp->GetValue());
- cmp->SetPathVariable(m_textCtrlPathVariable->GetValue());
-}
diff --git a/LiteEditor/compilertoolspage.h b/LiteEditor/compilertoolspage.h
deleted file mode 100644
index 6b0d0b50..00000000
--- a/LiteEditor/compilertoolspage.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef __compilertoolspage__
-#define __compilertoolspage__
-
-/**
-@file
-Subclass of CompilerToolsBase, which is generated by wxFormBuilder.
-*/
-
-#include "compiler_pages.h"
-#include "advanced_settings.h"
-#include "compiler.h"
-
-/** Implementing CompilerToolsBase */
-class CompilerToolsPage : public CompilerToolsBase, public ICompilerSubPage
-{
- wxString m_cmpname;
-
-public:
- /** Constructor */
- CompilerToolsPage( wxWindow* parent, const wxString &cmpname );
- virtual void Save(CompilerPtr cmp);
-};
-
-#endif // __compilertoolspage__
diff --git a/LiteEditor/configuration_manager_base_dlg.cpp b/LiteEditor/configuration_manager_base_dlg.cpp
deleted file mode 100644
index d334170e..00000000
--- a/LiteEditor/configuration_manager_base_dlg.cpp
+++ /dev/null
@@ -1,120 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : configuration_manager_base_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "configuration_manager_base_dlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-ConfigManagerBaseDlg::ConfigManagerBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Workspace Configuration:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bSizer6->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxArrayString m_choiceConfigurationsChoices;
- m_choiceConfigurations = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceConfigurationsChoices, 0 );
- m_choiceConfigurations->SetSelection( 0 );
- bSizer6->Add( m_choiceConfigurations, 1, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( bSizer6, 0, wxEXPAND, 5 );
-
- m_staticline6 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline6, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_staticText20 = new wxStaticText( this, wxID_ANY, wxT("Available project configurations:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText20->Wrap( -1 );
- bSizer1->Add( m_staticText20, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxStaticBoxSizer* sbSizer2;
- sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_scrolledWindow = new wxScrolledWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL|wxVSCROLL|wxWANTS_CHARS );
- m_scrolledWindow->SetScrollRate( 5, 5 );
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 100, 2, 0, 0 );
- fgSizer2->AddGrowableCol( 1 );
- fgSizer2->SetFlexibleDirection( wxBOTH );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_scrolledWindow->SetSizer( fgSizer2 );
- m_scrolledWindow->Layout();
- fgSizer2->Fit( m_scrolledWindow );
- sbSizer2->Add( m_scrolledWindow, 1, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( sbSizer2, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer4->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonCancel, 0, wxALL, 5 );
-
- m_buttonApply = new wxButton( this, wxID_ANY, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonApply, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer4, 0, wxALIGN_RIGHT, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- this->Centre( wxBOTH );
-}
-
-ConfigManagerBaseDlg::~ConfigManagerBaseDlg()
-{
-}
diff --git a/LiteEditor/configuration_manager_base_dlg.h b/LiteEditor/configuration_manager_base_dlg.h
deleted file mode 100644
index 94f30051..00000000
--- a/LiteEditor/configuration_manager_base_dlg.h
+++ /dev/null
@@ -1,77 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : configuration_manager_base_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __configuration_manager_base_dlg__
-#define __configuration_manager_base_dlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/choice.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/scrolwin.h>
-#include <wx/statbox.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class ConfigManagerBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class ConfigManagerBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText2;
- wxChoice* m_choiceConfigurations;
- wxStaticLine* m_staticline6;
- wxStaticText* m_staticText20;
- wxScrolledWindow* m_scrolledWindow;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
- wxButton* m_buttonApply;
-
- public:
- ConfigManagerBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Configuration Manager"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 726,425 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~ConfigManagerBaseDlg();
-
-};
-
-#endif //__configuration_manager_base_dlg__
diff --git a/LiteEditor/configuration_manager_dlg.cpp b/LiteEditor/configuration_manager_dlg.cpp
deleted file mode 100644
index 2e353cbc..00000000
--- a/LiteEditor/configuration_manager_dlg.cpp
+++ /dev/null
@@ -1,363 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : configuration_manager_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "windowattrmanager.h"
-#include "configuration_manager_dlg.h"
-#include "manager.h"
-#include "new_configuration_dlg.h"
-#include "edit_configuration.h"
-#include "edit_workspace_conf_dlg.h"
-#include "macros.h"
-
-//----------------------------------------------------------------------------
-// Configuration Manager
-//----------------------------------------------------------------------------
-
-static int wxStringCmpFunc(const wxString& item1, const wxString& item2)
-{
- return item1.CmpNoCase(item2);
-}
-
-ConfigurationManagerDlg::ConfigurationManagerDlg( wxWindow* parent )
- : ConfigManagerBaseDlg( parent )
- , m_dirty(false)
-{
- PopulateConfigurations();
- InitDialog();
-
- WindowAttrManager::Load(this, wxT("ConfigurationManagerDlg"), NULL);
-}
-
-
-void ConfigurationManagerDlg::AddEntry(const wxString &projectName, const wxString &selectedConf)
-{
- wxFlexGridSizer *mainSizer = dynamic_cast<wxFlexGridSizer*>(m_scrolledWindow->GetSizer());
- if (!mainSizer) return;
-
- wxArrayString choices;
- wxChoice *choiceConfig = new wxChoice( m_scrolledWindow, wxID_ANY, wxDefaultPosition, wxDefaultSize, choices, 0 );
-
- // Get all configuration of the project
- ProjectSettingsPtr settings = ManagerST::Get()->GetProjectSettings(projectName);
- if (settings) {
- ProjectSettingsCookie cookie;
- BuildConfigPtr bldConf = settings->GetFirstBuildConfiguration(cookie);
- while (bldConf) {
- choiceConfig->Append(bldConf->GetName());
- bldConf = settings->GetNextBuildConfiguration(cookie);
- }
- }
- choiceConfig->Append(clCMD_NEW);
- choiceConfig->Append(clCMD_EDIT);
- ConnectChoice(choiceConfig, ConfigurationManagerDlg::OnConfigSelected);
- wxStaticText *text = new wxStaticText( m_scrolledWindow, wxID_ANY, projectName, wxDefaultPosition, wxDefaultSize, 0 );
-
- int where = choiceConfig->FindString(selectedConf);
- if (where == wxNOT_FOUND) {
- where = 0;
- }
- choiceConfig->SetSelection(where);
- mainSizer->Add(text, 0, wxALL | wxALIGN_CENTER_VERTICAL, 5);
- mainSizer->Add(choiceConfig, 1, wxEXPAND | wxALL | wxALIGN_CENTER_VERTICAL, 5);
-
- ConfigEntry entry;
- entry.project = projectName;
- entry.projectSettings = settings;
- entry.choiceControl = choiceConfig;
-
- m_projSettingsMap[choiceConfig->GetId()] = entry;
-}
-
-void ConfigurationManagerDlg::PopulateConfigurations()
-{
- //popuplate the configurations
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- if (!matrix) {
- return;
- }
-
- wxFlexGridSizer *mainSizer = dynamic_cast<wxFlexGridSizer*>(m_scrolledWindow->GetSizer());
- if (!mainSizer) return;
-
- Freeze();
- // remove old entries from the configuration table
- wxSizerItemList list = mainSizer->GetChildren();
- for ( wxSizerItemList::Node *node = list.GetFirst(); node; node = node->GetNext() ) {
- wxSizerItem *current = node->GetData();
- current->GetWindow()->Destroy();
- }
- m_projSettingsMap.clear();
-
- std::list<WorkspaceConfigurationPtr> configs = matrix->GetConfigurations();
- std::list<WorkspaceConfigurationPtr>::iterator iter = configs.begin();
-
- m_choiceConfigurations->Clear();
- for (; iter != configs.end(); iter++) {
- m_choiceConfigurations->Append((*iter)->GetName());
- }
-
- // append the 'New' & 'Delete' commands
- m_choiceConfigurations->Append(clCMD_NEW);
- m_choiceConfigurations->Append(clCMD_EDIT);
-
- int sel = m_choiceConfigurations->FindString(matrix->GetSelectedConfigurationName());
- if (sel != wxNOT_FOUND) {
- m_choiceConfigurations->SetSelection(sel);
- } else if (m_choiceConfigurations->GetCount() > 2) {
- m_choiceConfigurations->SetSelection(2);
- } else {
- m_choiceConfigurations->Append(wxT("Debug"));
- m_choiceConfigurations->SetSelection(2);
- }
-
- // keep the current workspace configuration
- m_currentWorkspaceConfiguration = m_choiceConfigurations->GetStringSelection();
-
- wxArrayString projects;
- ManagerST::Get()->GetProjectList(projects);
- projects.Sort(wxStringCmpFunc);
-
- for (size_t i=0; i<projects.GetCount(); i++) {
- wxString selConf = matrix->GetProjectSelectedConf(matrix->GetSelectedConfigurationName(), projects.Item(i));
- AddEntry(projects.Item(i), selConf);
- }
-
- Thaw();
- mainSizer->Fit(m_scrolledWindow);
- Layout();
-
-}
-
-void ConfigurationManagerDlg::LoadWorkspaceConfiguration(const wxString &confName)
-{
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- if (!matrix) {
- return;
- }
-
- m_choiceConfigurations->SetStringSelection(confName);
- std::map<int, ConfigEntry>::iterator iter = m_projSettingsMap.begin();
- for (; iter != m_projSettingsMap.end(); iter++) {
- wxString selConf = matrix->GetProjectSelectedConf(confName, iter->second.project);
- iter->second.choiceControl->SetStringSelection(selConf);
- }
-}
-
-void ConfigurationManagerDlg::LoadProjectConfiguration(const wxString &projectName)
-{
- std::map<int, ConfigEntry>::iterator iter = m_projSettingsMap.begin();
- for (; iter != m_projSettingsMap.end(); iter++) {
- if (iter->second.project == projectName) {
- iter->second.choiceControl->Clear();
-
- ProjectSettingsPtr proSet = ManagerST::Get()->GetProjectSettings(projectName);
- if (proSet) {
- ProjectSettingsCookie cookie;
- BuildConfigPtr bldConf = proSet->GetFirstBuildConfiguration(cookie);
- while (bldConf) {
- iter->second.choiceControl->Append(bldConf->GetName());
- bldConf = proSet->GetNextBuildConfiguration(cookie);
- }
-
- //append the EDIT & NEW commands
- iter->second.choiceControl->Append(clCMD_EDIT);
- iter->second.choiceControl->Append(clCMD_NEW);
-
- //select the build configuration according to the build matrix
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- if (!matrix) {
- return;
- }
-
- wxString configName = matrix->GetProjectSelectedConf(m_choiceConfigurations->GetStringSelection(), projectName);
- int match = iter->second.choiceControl->FindString(configName);
- if (match != wxNOT_FOUND) {
- iter->second.choiceControl->SetStringSelection(configName);
- } else {
- iter->second.choiceControl->SetSelection(0);
- }
-
- return;
- }
- }
- }
-}
-
-void ConfigurationManagerDlg::InitDialog()
-{
- // Connect events
- ConnectButton(m_buttonOK, ConfigurationManagerDlg::OnButtonOK);
- ConnectButton(m_buttonApply, ConfigurationManagerDlg::OnButtonApply);
- m_buttonApply->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( ConfigurationManagerDlg::OnButtonApplyUI ), NULL, this );
- ConnectChoice(m_choiceConfigurations, ConfigurationManagerDlg::OnWorkspaceConfigSelected);
-}
-
-void ConfigurationManagerDlg::OnWorkspaceConfigSelected(wxCommandEvent &event)
-{
- if (event.GetString() == clCMD_NEW) {
- OnButtonNew(event);
- } else if (event.GetString() == clCMD_EDIT) {
- //popup the delete dialog for configurations
- EditWorkspaceConfDlg *dlg = new EditWorkspaceConfDlg(this);
- dlg->ShowModal();
- dlg->Destroy();
-
- //once done, restore dialog
- PopulateConfigurations();
- } else {
- if (m_dirty) {
- if ( wxMessageBox(wxString::Format(wxT("Settings for workspace configuration '%s' have changed, would you like to save them?"), m_currentWorkspaceConfiguration.GetData()), wxT("CodeLite"), wxYES_NO|wxICON_QUESTION) == wxYES) {
- SaveCurrentSettings();
- }
- m_dirty = false;
- }
- m_currentWorkspaceConfiguration = event.GetString();
- LoadWorkspaceConfiguration(event.GetString());
- }
-}
-
-void ConfigurationManagerDlg::OnConfigSelected(wxCommandEvent &event)
-{
- std::map<int, ConfigEntry>::iterator iter = m_projSettingsMap.find(event.GetId());
- if (iter == m_projSettingsMap.end())
- return;
-
- wxString selection = event.GetString();
- if (selection == clCMD_NEW) {
- // popup the 'New Configuration' dialog
- NewConfigurationDlg *dlg = new NewConfigurationDlg(this, iter->second.project);
- dlg->ShowModal();
- dlg->Destroy();
-
- // repopulate the configurations
- LoadProjectConfiguration(iter->second.project);
-
- // clCMD_NEW does not mark the page as dirty !
-
- } else if (selection == clCMD_EDIT) {
- EditConfigurationDialog *dlg = new EditConfigurationDialog(this, iter->second.project);
- dlg->ShowModal();
- dlg->Destroy();
-
- // repopulate the configurations
- LoadProjectConfiguration(iter->second.project);
-
- m_dirty = true;
-
- } else {
- // just mark the page as dirty
- m_dirty = true;
- }
-}
-
-void ConfigurationManagerDlg::OnButtonNew(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- wxTextEntryDialog *dlg = new wxTextEntryDialog(this, wxT("Enter New Configuration Name:"), wxT("New Configuration"));
- if (dlg->ShowModal() == wxID_OK) {
- wxString value = dlg->GetValue();
- TrimString(value);
- if (value.IsEmpty() == false) {
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- if (!matrix) {
- return;
- }
-
- WorkspaceConfigurationPtr conf(new WorkspaceConfiguration(NULL));
- conf->SetName(value);
- conf->SetConfigMappingList(GetCurrentSettings());
- matrix->SetConfiguration(conf);
- //save changes
- ManagerST::Get()->SetWorkspaceBuildMatrix(matrix);
- }
- }
- PopulateConfigurations();
- dlg->Destroy();
-}
-
-void ConfigurationManagerDlg::OnButtonApply(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- SaveCurrentSettings();
-}
-
-
-WorkspaceConfiguration::ConfigMappingList ConfigurationManagerDlg::GetCurrentSettings()
-{
- //return the current settings as described by the dialog
- WorkspaceConfiguration::ConfigMappingList list;
-
- std::map<int, ConfigEntry>::iterator iter = m_projSettingsMap.begin();
- for (; iter != m_projSettingsMap.end(); iter++) {
-
- wxString value = iter->second.choiceControl->GetStringSelection();
- if (value != clCMD_NEW && value != clCMD_EDIT) {
- ConfigMappingEntry entry(iter->second.project, value);
- list.push_back(entry);
- }
- }
- return list;
-}
-
-void ConfigurationManagerDlg::OnButtonOK(wxCommandEvent &event)
-{
- OnButtonApply(event);
- EndModal(wxID_OK);
-}
-
-void ConfigurationManagerDlg::SaveCurrentSettings()
-{
- m_currentWorkspaceConfiguration = m_currentWorkspaceConfiguration.Trim().Trim(false);
-
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- if (!matrix) {
- return;
- }
-
- matrix->SetSelectedConfigurationName(m_currentWorkspaceConfiguration);
-
- WorkspaceConfigurationPtr conf = matrix->GetConfigurationByName(m_currentWorkspaceConfiguration);
- if (!conf) {
- //create new configuration
- conf = new WorkspaceConfiguration(NULL);
- conf->SetName(m_currentWorkspaceConfiguration);
- matrix->SetConfiguration(conf);
- }
-
- conf->SetConfigMappingList(GetCurrentSettings());
-
- //save changes
- ManagerST::Get()->SetWorkspaceBuildMatrix(matrix);
- m_dirty = false;
-}
-
-void ConfigurationManagerDlg::OnButtonApplyUI(wxUpdateUIEvent& event)
-{
- event.Enable(m_dirty);
-}
-
-ConfigurationManagerDlg::~ConfigurationManagerDlg()
-{
- WindowAttrManager::Save(this, wxT("ConfigurationManagerDlg"), NULL);
-}
diff --git a/LiteEditor/configuration_manager_dlg.h b/LiteEditor/configuration_manager_dlg.h
deleted file mode 100644
index 116ab87a..00000000
--- a/LiteEditor/configuration_manager_dlg.h
+++ /dev/null
@@ -1,80 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : configuration_manager_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __configuration_manager_dlg__
-#define __configuration_manager_dlg__
-
-/**
-@file
-Subclass of ConfigManagerBaseDlg, which is generated by wxFormBuilder.
-@todo Add your event handlers directly to this file.
-*/
-
-#include "configuration_manager_base_dlg.h"
-#include "smart_ptr.h"
-#include <map>
-#include "project_settings.h"
-#include "configuration_mapping.h"
-
-class ConfigEntry {
-public:
- ProjectSettingsPtr projectSettings;
- wxString project;
- wxChoice *choiceControl;
-};
-
-/** Implementing ConfigManagerBaseDlg */
-class ConfigurationManagerDlg : public ConfigManagerBaseDlg
-{
- std::map<int, ConfigEntry> m_projSettingsMap;
- bool m_dirty;
- wxString m_currentWorkspaceConfiguration;
-
-protected:
- void InitDialog();
-
- //----------------------------------
- // Events
- //----------------------------------
- void OnButtonNew(wxCommandEvent &event);
- void OnButtonOK(wxCommandEvent &event);
- void OnConfigSelected(wxCommandEvent &event);
- void OnWorkspaceConfigSelected(wxCommandEvent &event);
- void OnButtonApply(wxCommandEvent &event);
- void OnButtonApplyUI(wxUpdateUIEvent &event);
- void LoadWorkspaceConfiguration(const wxString &confName);
- void LoadProjectConfiguration(const wxString &projectName);
-
- void PopulateConfigurations();
- void AddEntry(const wxString &projectName, const wxString &selectedConf);
- WorkspaceConfiguration::ConfigMappingList GetCurrentSettings();
- void SaveCurrentSettings();
-
-public:
- /** Constructor */
- ConfigurationManagerDlg( wxWindow* parent );
- virtual ~ConfigurationManagerDlg();
-};
-
-#endif // __configuration_manager_dlg__
diff --git a/LiteEditor/context_base.cpp b/LiteEditor/context_base.cpp
deleted file mode 100644
index 270110c4..00000000
--- a/LiteEditor/context_base.cpp
+++ /dev/null
@@ -1,229 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : context_base.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include "context_base.h"
-#include "drawingutils.h"
-#include <vector>
-#include "editor_config.h"
-#include "cl_editor.h"
-#include "frame.h"
-
-#define CL_LINE_MODIFIED_STYLE 200
-#define CL_LINE_SAVED_STYLE 201
-
-ContextBase::ContextBase(LEditor *container)
- : m_container(container)
- , m_name(wxEmptyString)
-{
-}
-
-ContextBase::ContextBase(const wxString &name)
- : m_name(name)
-{
-}
-
-ContextBase::~ContextBase()
-{
-}
-
-//provide basic indentation
-void ContextBase::AutoIndent(const wxChar &ch)
-{
- if (ch == wxT('\n')) {
- //just copy the previous line indentation
- LEditor &rCtrl = GetCtrl();
- int line = rCtrl.LineFromPosition(rCtrl.GetCurrentPos());
- rCtrl.SetLineIndentation(line, rCtrl.GetLineIndentation(line-1));
- //place the caret at the end of the line
- rCtrl.SetCaretAt(rCtrl.GetLineIndentPosition(line));
- rCtrl.ChooseCaretX();
- }
-}
-
-void ContextBase::DoApplySettings(LexerConfPtr lexPtr)
-{
- LEditor &rCtrl = GetCtrl();
-
- rCtrl.StyleClearAll();
- rCtrl.SetStyleBits(rCtrl.GetStyleBitsNeeded());
-
- // Define the styles for the editing margin
- rCtrl.StyleSetBackground(CL_LINE_SAVED_STYLE, wxColour(wxT("FOREST GREEN")));
- rCtrl.StyleSetBackground(CL_LINE_MODIFIED_STYLE, wxColour(wxT("ORANGE")));
-
- // by default indicators are set to be opaque rounded box
-#if 0
- rCtrl.IndicatorSetStyle(1, wxSCI_INDIC_BOX);
- rCtrl.IndicatorSetStyle(2, wxSCI_INDIC_BOX);
-#else
- rCtrl.IndicatorSetStyle(1, wxSCI_INDIC_ROUNDBOX);
- rCtrl.IndicatorSetStyle(2, wxSCI_INDIC_ROUNDBOX);
- rCtrl.IndicatorSetAlpha(1, 80);
- rCtrl.IndicatorSetAlpha(2, 80);
-#endif
-
- bool tooltip(false);
-
- std::list<StyleProperty> styles;
- if (lexPtr) {
- styles = lexPtr->GetProperties();
- }
- std::list<StyleProperty>::iterator iter = styles.begin();
- for (; iter != styles.end(); iter++) {
-
- StyleProperty sp = (*iter);
- int size = sp.GetFontSize();
- wxString face = sp.GetFaceName();
- bool bold = sp.IsBold();
- bool italic = sp.GetItalic();
- bool underline = sp.GetUnderlined();
-
- // handle special cases
- if ( sp.GetId() == -1 ) {
- // fold margin foreground colour
- rCtrl.SetFoldMarginColour(true, sp.GetBgColour());
- rCtrl.SetFoldMarginHiColour(true, sp.GetFgColour());
-
- } else if ( sp.GetId() == -2 ) {
- // selection colour
- if(sp.GetBgColour().IsEmpty() == false)
- rCtrl.SetSelBackground(true, sp.GetBgColour());
-
- if(sp.GetFgColour().IsEmpty() == false)
- rCtrl.SetSelForeground(true, sp.GetFgColour());
-
- } else if ( sp.GetId() == -3 ) {
- // caret colour
- rCtrl.SetCaretForeground(sp.GetFgColour());
-
- } else {
- int fontSize( size );
-
- wxFont font = wxFont(size, wxFONTFAMILY_TELETYPE, italic ? wxITALIC : wxNORMAL , bold ? wxBOLD : wxNORMAL, underline, face);
- if (sp.GetId() == 0) { //default
- rCtrl.StyleSetFont(wxSCI_STYLE_DEFAULT, font);
- rCtrl.StyleSetSize(wxSCI_STYLE_DEFAULT, size);
- rCtrl.StyleSetForeground(wxSCI_STYLE_DEFAULT, (*iter).GetFgColour());
- rCtrl.StyleSetBackground(wxSCI_STYLE_DEFAULT, (*iter).GetBgColour());
- rCtrl.StyleSetSize(wxSCI_STYLE_LINENUMBER, size);
- rCtrl.SetFoldMarginColour(true, (*iter).GetBgColour());
- rCtrl.SetFoldMarginHiColour(true, (*iter).GetBgColour());
-
- // test the background colour of the editor, if it is considered "dark"
- // set the indicator to be hollow rectanlgle
- StyleProperty sp = (*iter);
- if ( DrawingUtils::IsDark(sp.GetBgColour()) ) {
- rCtrl.IndicatorSetStyle(1, wxSCI_INDIC_BOX);
- rCtrl.IndicatorSetStyle(2, wxSCI_INDIC_BOX);
- }
- } else if(sp.GetId() == wxSCI_STYLE_CALLTIP){
- tooltip = true;
- if(sp.GetFaceName().IsEmpty()){
- font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- fontSize = font.GetPointSize();
- }
- }
-
- rCtrl.StyleSetFont(sp.GetId(), font);
- rCtrl.StyleSetSize(sp.GetId(), fontSize);
-
- if(iter->GetId() == 33) {
- // Set the line number colours only if requested
- // otherwise, use default colours provided by scintilla
- if(sp.GetBgColour().IsEmpty() == false)
- rCtrl.StyleSetBackground(sp.GetId(), sp.GetBgColour());
-
- if(sp.GetFgColour().IsEmpty() == false)
- rCtrl.StyleSetForeground(sp.GetId(), sp.GetFgColour());
- else
- rCtrl.StyleSetForeground(sp.GetId(), wxT("BLACK"));
-
- } else {
- rCtrl.StyleSetForeground(sp.GetId(), sp.GetFgColour());
- rCtrl.StyleSetBackground(sp.GetId(), sp.GetBgColour());
- }
- }
- }
-
- // set the calltip font
- if( !tooltip ) {
- wxFont font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- rCtrl.StyleSetFont(wxSCI_STYLE_CALLTIP, font);
- }
-}
-
-int ContextBase::GetHyperlinkRange(int pos, int &start, int &end)
-{
- LEditor &rCtrl = GetCtrl();
- int curstyle = rCtrl.GetStyleAt(pos);
- if (curstyle == wxSCI_C_WORD2 || curstyle == wxSCI_C_GLOBALCLASS || curstyle == wxSCI_C_IDENTIFIER) {
- // get tag as hyperlink
- start = rCtrl.WordStartPos(pos, true);
- end = rCtrl.WordEndPos(pos, true);
- if (start < end)
- return XRCID("find_tag");
- }
- return wxID_NONE;
-}
-
-void ContextBase::GoHyperlink(int start, int end, int type, bool alt)
-{
- wxUnusedVar(start);
- wxUnusedVar(end);
- wxUnusedVar(type);
- wxUnusedVar(alt);
-}
-
-wxMenu* ContextBase::GetMenu()
-{
- return wxXmlResource::Get()->LoadMenu(wxT("editor_right_click_default"));
-}
-
-void ContextBase::PrependMenuItem(wxMenu *menu, const wxString &text, wxObjectEventFunction func)
-{
- wxMenuItem *item;
- wxString menuItemText;
- item = new wxMenuItem(menu, wxNewId(), text);
- menu->Prepend(item);
- menu->Connect(item->GetId(), wxEVT_COMMAND_MENU_SELECTED, func, NULL, this);
- m_dynItems.push_back(item);
-}
-
-void ContextBase::PrependMenuItem(wxMenu *menu, const wxString &text, int id)
-{
- wxMenuItem *item;
- wxString menuItemText;
- item = new wxMenuItem(menu, id, text);
- menu->Prepend(item);
- m_dynItems.push_back(item);
-}
-
-void ContextBase::PrependMenuItemSeparator(wxMenu *menu)
-{
- wxMenuItem *item;
- item = new wxMenuItem(menu, wxID_SEPARATOR);
- menu->Prepend(item);
- m_dynItems.push_back(item);
-}
diff --git a/LiteEditor/context_base.h b/LiteEditor/context_base.h
deleted file mode 100644
index db713ce9..00000000
--- a/LiteEditor/context_base.h
+++ /dev/null
@@ -1,122 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : context_base.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef CONTEXT_BASE_H
-#define CONTEXT_BASE_H
-
-#include "wx/string.h"
-#include "wx/wxscintilla.h"
-#include "smart_ptr.h"
-#include "wx/filename.h"
-#include "lexer_configuration.h"
-#include <vector>
-#include "entry.h"
-
-class LEditor;
-
-/**
- * \ingroup LiteEditor
- * \brief This class defines the language context of the editor
- *
- * \version 1.0
- * first version
- *
- * \date 04-30-2007
- *
- * \author Eran
- *
- */
-class ContextBase : public wxEvtHandler
-{
-protected:
- LEditor *m_container;
- wxString m_name;
- wxString m_selectedWord;
- std::vector<wxMenuItem*> m_dynItems;
-
-protected:
- void SetName(const wxString &name){m_name = name;}
- void DoApplySettings(LexerConfPtr lexPtr);
- void PrependMenuItem(wxMenu* menu, const wxString &text, wxObjectEventFunction func);
- void PrependMenuItem(wxMenu* menu, const wxString &text, int id);
- void PrependMenuItemSeparator(wxMenu* menu);
-
-public:
-
- // ctor-dtor
- ContextBase(LEditor *container);
- ContextBase(const wxString &name);
- virtual ~ContextBase();
-
- /**
- * Return the context parent control
- */
- LEditor &GetCtrl() { return *m_container; }
-
- /**
- * Return the context name
- */
- const wxString &GetName() const { return m_name; }
-
- // every Context derived class must implement the following methods
- virtual ContextBase *NewInstance(LEditor *container) = 0;
- virtual void ApplySettings() = 0;
-
- // functions with default implementation:
- virtual void OnCallTipClick(wxScintillaEvent& event){event.Skip();}
- virtual void OnCalltipCancel(){};
- virtual void OnDwellEnd(wxScintillaEvent & event){event.Skip();}
- virtual void OnDbgDwellEnd(wxScintillaEvent & event){event.Skip();}
- virtual void OnDwellStart(wxScintillaEvent & event){event.Skip();}
- virtual void OnDbgDwellStart(wxScintillaEvent & event){event.Skip();}
- virtual void OnKeyDown(wxKeyEvent &event) {event.Skip();}
- virtual void AddMenuDynamicContent(wxMenu *WXUNUSED(menu)) {}
- virtual void RemoveMenuDynamicContent(wxMenu *WXUNUSED(menu)) {}
- virtual void OnSciUpdateUI(wxScintillaEvent& WXUNUSED(event)){}
- virtual void OnFileSaved(){}
- virtual void OnEnterHit(){}
- virtual void RetagFile(){}
- virtual void OnUserTypedXChars(const wxString &WXUNUSED(word)){}
- virtual wxString CallTipContent(){return wxEmptyString;}
- virtual void SetActive(){}
- virtual bool IsCommentOrString(long WXUNUSED(pos)) { return false; }
- virtual void AutoIndent(const wxChar&);
- virtual void CompleteWord(){}
- virtual void CodeComplete(long pos = wxNOT_FOUND) {wxUnusedVar(pos);}
- virtual void GotoDefinition(){}
- virtual void GotoPreviousDefintion(){}
- virtual TagEntryPtr GetTagAtCaret(bool scoped, bool impl){return NULL;}
- virtual void SemicolonShift(){}
-
- // ctrl-click style navigation support
- virtual int GetHyperlinkRange(int pos, int &start, int &end);
- virtual void GoHyperlink(int start, int end, int type, bool alt);
-
- //override this method if you wish to provide context based right click menu
- virtual wxMenu *GetMenu() ;
-};
-
-typedef SmartPtr<ContextBase> ContextBasePtr;
-#endif // CONTEXT_BASE_H
-
diff --git a/LiteEditor/context_cpp.cpp b/LiteEditor/context_cpp.cpp
deleted file mode 100644
index 5fa117a0..00000000
--- a/LiteEditor/context_cpp.cpp
+++ /dev/null
@@ -1,2805 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : context_cpp.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-#include "pluginmanager.h"
-#include "drawingutils.h"
-#include "buildtabsettingsdata.h"
-#include "cl_editor_tip_window.h"
-#include "implement_parent_virtual_functions.h"
-#include "debuggerasciiviewer.h"
-#include <wx/file.h>
-#include "threebuttondlg.h"
-#include "precompiled_header.h"
-#include "debuggerconfigtool.h"
-#include "debuggersettings.h"
-#include "parse_thread.h"
-#include "cc_box.h"
-#include <wx/progdlg.h>
-#include "renamesymboldlg.h"
-#include "cpptoken.h"
-#include "globals.h"
-#include "commentconfigdata.h"
-#include "editor_config.h"
-#include "movefuncimpldlg.h"
-#include "context_cpp.h"
-#include "cl_editor.h"
-#include "ctags_manager.h"
-#include "manager.h"
-#include "symbols_dialog.h"
-#include "editor_config.h"
-#include "wx/xrc/xmlres.h"
-#include "algorithm"
-#include "language.h"
-#include "browse_record.h"
-#include "wx/tokenzr.h"
-#include "setters_getters_dlg.h"
-#include "navigationmanager.h"
-#include "wx/regex.h"
-#include <wx/choicdlg.h>
-#include "frame.h"
-#include "debuggermanager.h"
-#include "addincludefiledlg.h"
-#include "workspacetab.h"
-#include "fileview.h"
-#include "refactorindexbuildjob.h"
-#include "new_quick_watch_dlg.h"
-#include "code_completion_api.h"
-
-//#define __PERFORMANCE
-#include "performance.h"
-
-static bool IsSource(const wxString &ext)
-{
- wxString e(ext);
- e = e.MakeLower();
- return e == wxT("cpp") || e == wxT("cxx") || e == wxT("c") || e == wxT("c++") || e == wxT("cc");
-}
-
-static bool IsHeader(const wxString &ext)
-{
- wxString e(ext);
- e = e.MakeLower();
- return e == wxT("hpp") || e == wxT("h") || e == wxT("hxx");
-}
-
-#define VALIDATE_PROJECT(ctrl)\
- if(ctrl.GetProject().IsEmpty())\
- {\
- return;\
- }
-
-#define VALIDATE_WORKSPACE()\
- if(ManagerST::Get()->IsWorkspaceOpen() == false)\
- {\
- return;\
- }
-
-struct SFileSort {
- bool operator()(const wxFileName &one, const wxFileName &two) {
- return two.GetFullName().Cmp(one.GetFullName()) > 0;
- }
-};
-
-//----------------------------------------------------------------------------------
-
-struct RefactorSource {
- wxString name;
- wxString scope;
- bool isClass;
-
- RefactorSource() : name(wxEmptyString), scope(wxEmptyString), isClass(false) {
- }
-
- void Reset() {
- name.clear();
- scope.clear();
- isClass = false;
- }
-};
-
-//----------------------------------------------------------------------------------
-
-//Images initialization
-wxBitmap ContextCpp::m_classBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_structBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_namespaceBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_variableBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_tpyedefBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_memberPrivateBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_memberPublicBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_memberProtectedeBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_functionPrivateBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_functionPublicBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_functionProtectedeBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_macroBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_enumBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_enumeratorBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_cppFileBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_hFileBmp = wxNullBitmap;
-wxBitmap ContextCpp::m_otherFileBmp = wxNullBitmap;
-
-BEGIN_EVENT_TABLE(ContextCpp, wxEvtHandler)
- EVT_UPDATE_UI(XRCID("find_decl"), ContextCpp::OnUpdateUI)
- EVT_UPDATE_UI(XRCID("find_impl"), ContextCpp::OnUpdateUI)
- EVT_UPDATE_UI(XRCID("go_to_function_start"), ContextCpp::OnUpdateUI)
- EVT_UPDATE_UI(XRCID("go_to_next_function"), ContextCpp::OnUpdateUI)
- EVT_UPDATE_UI(XRCID("insert_doxy_comment"), ContextCpp::OnUpdateUI)
- EVT_UPDATE_UI(XRCID("setters_getters"), ContextCpp::OnUpdateUI)
- EVT_UPDATE_UI(XRCID("move_impl"), ContextCpp::OnUpdateUI)
-
- EVT_MENU(XRCID("swap_files"), ContextCpp::OnSwapFiles)
- EVT_MENU(XRCID("comment_selection"), ContextCpp::OnCommentSelection)
- EVT_MENU(XRCID("comment_line"), ContextCpp::OnCommentLine)
- EVT_MENU(XRCID("find_decl"), ContextCpp::OnFindDecl)
- EVT_MENU(XRCID("find_impl"), ContextCpp::OnFindImpl)
- EVT_MENU(XRCID("go_to_function_start"), ContextCpp::OnGotoFunctionStart)
- EVT_MENU(XRCID("go_to_next_function"), ContextCpp::OnGotoNextFunction)
- EVT_MENU(XRCID("insert_doxy_comment"), ContextCpp::OnInsertDoxyComment)
- EVT_MENU(XRCID("move_impl"), ContextCpp::OnMoveImpl)
- EVT_MENU(XRCID("add_impl"), ContextCpp::OnAddImpl)
- EVT_MENU(XRCID("add_multi_impl"), ContextCpp::OnAddMultiImpl)
- EVT_MENU(XRCID("add_virtual_impl"), ContextCpp::OnOverrideParentVritualFunctions)
- EVT_MENU(XRCID("add_pure_virtual_impl"), ContextCpp::OnOverrideParentVritualFunctions)
- EVT_MENU(XRCID("setters_getters"), ContextCpp::OnGenerateSettersGetters)
- EVT_MENU(XRCID("add_include_file"), ContextCpp::OnAddIncludeFile)
- EVT_MENU(XRCID("rename_function"), ContextCpp::OnRenameFunction)
- EVT_MENU(XRCID("retag_file"), ContextCpp::OnRetagFile)
-END_EVENT_TABLE()
-
-ContextCpp::ContextCpp(LEditor *container)
- : ContextBase(container)
- , m_rclickMenu(NULL)
-{
- Initialize();
-}
-
-
-ContextCpp::ContextCpp()
- : ContextBase(wxT("C++"))
- , m_rclickMenu(NULL)
-{
-}
-
-ContextCpp::~ContextCpp()
-{
- if (m_rclickMenu) {
- delete m_rclickMenu;
- m_rclickMenu = NULL;
- }
-}
-
-ContextBase *ContextCpp::NewInstance(LEditor *container)
-{
- return new ContextCpp(container);
-}
-
-void ContextCpp::OnDwellEnd(wxScintillaEvent &event)
-{
- LEditor &rCtrl = GetCtrl();
- rCtrl.DoCancelCalltip();
- event.Skip();
-}
-
-void ContextCpp::OnDwellStart(wxScintillaEvent &event)
-{
- LEditor &rCtrl = GetCtrl();
-
- VALIDATE_PROJECT(rCtrl);
-
- //before we start, make sure we are the visible window
- if (Frame::Get()->GetMainBook()->GetActiveEditor() != &rCtrl) {
- event.Skip();
- return;
- }
-
- long pos = event.GetPosition();
- int end = rCtrl.WordEndPosition(pos, true);
- int word_start = rCtrl.WordStartPosition(pos, true);
-
- // get the expression we are standing on it
- if ( IsCommentOrString( pos ) )
- return;
-
- // get the token
- wxString word = rCtrl.GetTextRange(word_start, end);
- if (word.IsEmpty()) {
- return;
- }
-
- int foundPos(wxNOT_FOUND);
- if(rCtrl.PreviousChar(word_start, foundPos) == wxT('~'))
- word.Prepend(wxT("~"));
-
- //get the expression we are hovering over
- wxString expr = GetExpression(end, false);
-
- // get the full text of the current page
- wxString text = rCtrl.GetTextRange(0, pos);
-
- // now we are ready to process the scope and build our tips
- std::vector<wxString> tips;
- int line = rCtrl.LineFromPosition(rCtrl.GetCurrentPosition())+1;
- TagsManagerST::Get()->GetHoverTip(rCtrl.GetFileName(), line, expr, word, text, tips);
-
- // display a tooltip
- wxString tooltip;
- if (tips.size() > 0) {
- tooltip << tips[0];
- for ( size_t i=1; i<tips.size(); i++ )
- tooltip << wxT("\n") << tips[i];
-
- // cancel any old calltip and display the new one
- rCtrl.DoCancelCalltip();
- rCtrl.DoShowCalltip(event.GetPosition(), tooltip, ct_function_hover);
- }
-}
-
-wxString ContextCpp::GetFileImageString(const wxString &ext)
-{
- if (IsSource(ext)) {
- return wxT("?15");
- }
- if (IsHeader(ext)) {
- return wxT("?16");
- }
- return wxT("?17");
-}
-
-wxString ContextCpp::GetImageString(const TagEntry &entry)
-{
- if (entry.GetKind() == wxT("class"))
- return wxT("?1");
-
- if (entry.GetKind() == wxT("struct"))
- return wxT("?2");
-
- if (entry.GetKind() == wxT("namespace"))
- return wxT("?3");
-
- if (entry.GetKind() == wxT("variable"))
- return wxT("?4");
-
- if (entry.GetKind() == wxT("typedef"))
- return wxT("?5");
-
- if (entry.GetKind() == wxT("member") && entry.GetAccess().Contains(wxT("private")))
- return wxT("?6");
-
- if (entry.GetKind() == wxT("member") && entry.GetAccess().Contains(wxT("public")))
- return wxT("?7");
-
- if (entry.GetKind() == wxT("member") && entry.GetAccess().Contains(wxT("protected")))
- return wxT("?8");
-
- //member with no access? (maybe part of namespace??)
- if (entry.GetKind() == wxT("member"))
- return wxT("?7");
-
- if ((entry.GetKind() == wxT("function") || entry.GetKind() == wxT("prototype")) && entry.GetAccess().Contains(wxT("private")))
- return wxT("?9");
-
- if ((entry.GetKind() == wxT("function") || entry.GetKind() == wxT("prototype")) && (entry.GetAccess().Contains(wxT("public")) || entry.GetAccess().IsEmpty()))
- return wxT("?10");
-
- if ((entry.GetKind() == wxT("function") || entry.GetKind() == wxT("prototype")) && entry.GetAccess().Contains(wxT("protected")))
- return wxT("?11");
-
- if (entry.GetKind() == wxT("macro"))
- return wxT("?12");
-
- if (entry.GetKind() == wxT("enum"))
- return wxT("?13");
-
- if (entry.GetKind() == wxT("enumerator"))
- return wxT("?14");
-
- return wxEmptyString;
-}
-
-void ContextCpp::AutoIndent(const wxChar &nChar)
-{
- LEditor &rCtrl = GetCtrl();
-
- if(rCtrl.GetDisableSmartIndent()) {
- /*ContextBase::AutoIndent(nChar);*/
- return;
- }
-
- int curpos = rCtrl.GetCurrentPos();
- if (IsComment(curpos) && nChar == wxT('\n')) {
- AutoAddComment();
- return;
- }
-
- if (IsCommentOrString(curpos)) {
- ContextBase::AutoIndent(nChar);
- return;
- }
-
- int line = rCtrl.LineFromPosition(curpos);
- if (nChar == wxT('\n')) {
-
- int prevpos (wxNOT_FOUND);
- int foundPos(wxNOT_FOUND);
- wxString word;
-
- wxChar ch = rCtrl.PreviousChar(curpos, prevpos );
- word = rCtrl.PreviousWord(curpos, foundPos);
-
- // user hit ENTER after 'else'
- if ( word == wxT("else") ) {
- int prevLine = rCtrl.LineFromPosition(prevpos);
- rCtrl.SetLineIndentation(line, rCtrl.GetIndent() + rCtrl.GetLineIndentation(prevLine));
- rCtrl.SetCaretAt(rCtrl.GetLineIndentPosition(line));
- rCtrl.ChooseCaretX(); // set new column as "current" column
- return;
- }
-
- // User typed 'ENTER' immediatly after closing brace ')'
- if ( prevpos != wxNOT_FOUND && ch == wxT(')') ) {
-
- long openBracePos (wxNOT_FOUND);
- int posWordBeforeOpenBrace(wxNOT_FOUND);
-
- if (rCtrl.MatchBraceBack(wxT(')'), prevpos, openBracePos)) {
- rCtrl.PreviousChar(openBracePos, posWordBeforeOpenBrace);
- if (posWordBeforeOpenBrace != wxNOT_FOUND) {
- word = rCtrl.PreviousWord(posWordBeforeOpenBrace, foundPos);
-
- // c++ expression with single line and should be treated separatly
- if ( word == wxT("if") || word == wxT("while") || word == wxT("for")) {
- int prevLine = rCtrl.LineFromPosition(prevpos);
- rCtrl.SetLineIndentation(line, rCtrl.GetIndent() + rCtrl.GetLineIndentation(prevLine));
- rCtrl.SetCaretAt(rCtrl.GetLineIndentPosition(line));
- rCtrl.ChooseCaretX(); // set new column as "current" column
- return;
- }
- }
- }
- }
-
- // User typed 'ENTER' immediatly after colons ':'
- if ( prevpos != wxNOT_FOUND && ch == wxT(':') ) {
- int posWordBeforeColons(wxNOT_FOUND);
-
- rCtrl.PreviousChar(prevpos, posWordBeforeColons);
- if (posWordBeforeColons != wxNOT_FOUND) {
- word = rCtrl.PreviousWord(posWordBeforeColons, foundPos);
- int prevLine = rCtrl.LineFromPosition(posWordBeforeColons);
-
- // If we found one of the following keywords, un-indent their line by (foldLevel - 1)*indentSize
- if ( word == wxT("public") || word == wxT("private") || word == wxT("protected")) {
-
- ContextBase::AutoIndent(nChar);
-
- // Indent this line according to the block indentation level
- int foldLevel = (rCtrl.GetFoldLevel(prevLine) & wxSCI_FOLDLEVELNUMBERMASK) - wxSCI_FOLDLEVELBASE;
- if (foldLevel) {
- rCtrl.SetLineIndentation(prevLine, ((foldLevel-1)*rCtrl.GetIndent()) );
- rCtrl.ChooseCaretX();
- }
- return;
- }
- }
- }
-
- // use the previous line indentation level
- if (prevpos == wxNOT_FOUND || ch != wxT('{') || IsCommentOrString(prevpos)) {
- ContextBase::AutoIndent(nChar);
- return;
- }
-
- // Open brace? increase indent size
- int prevLine = rCtrl.LineFromPosition(prevpos);
- rCtrl.SetLineIndentation(line, rCtrl.GetIndent() + rCtrl.GetLineIndentation(prevLine));
- rCtrl.SetCaretAt(rCtrl.GetLineIndentPosition(line));
-
- } else if (nChar == wxT('}')) {
-
- long matchPos = wxNOT_FOUND;
- if (!rCtrl.MatchBraceBack(wxT('}'), rCtrl.PositionBefore(curpos), matchPos))
- return;
- int secondLine = rCtrl.LineFromPosition(matchPos);
- if (secondLine == line)
- return;
- rCtrl.SetLineIndentation(line, rCtrl.GetLineIndentation(secondLine));
-
- } else if (nChar == wxT('{')) {
- wxString lineString = rCtrl.GetLine(line);
- lineString.Trim().Trim(false);
-
- int matchPos = wxNOT_FOUND;
- wxChar previousChar = rCtrl.PreviousChar(rCtrl.PositionBefore(curpos), matchPos);
- if(previousChar != wxT('{') && lineString == wxT("{")) {
- // indent this line accroding to the previous line
- int line = rCtrl.LineFromPosition(rCtrl.GetCurrentPos());
- rCtrl.SetLineIndentation(line, rCtrl.GetLineIndentation(line-1));
- rCtrl.ChooseCaretX();
- }
- }
-
- // set new column as "current" column
- rCtrl.ChooseCaretX();
-}
-
-bool ContextCpp::IsCommentOrString(long pos)
-{
- int style;
- style = GetCtrl().GetStyleAt(pos);
- return (style == wxSCI_C_COMMENT ||
- style == wxSCI_C_COMMENTLINE ||
- style == wxSCI_C_COMMENTDOC ||
- style == wxSCI_C_COMMENTLINEDOC ||
- style == wxSCI_C_COMMENTDOCKEYWORD ||
- style == wxSCI_C_COMMENTDOCKEYWORDERROR ||
- style == wxSCI_C_STRING ||
- style == wxSCI_C_STRINGEOL ||
- style == wxSCI_C_CHARACTER);
-}
-
-//=============================================================================
-// >>>>>>>>>>>>>>>>>>>>>>>> CodeCompletion API - START
-//=============================================================================
-
-//user pressed ., -> or ::
-void ContextCpp::CodeComplete(long pos)
-{
- VALIDATE_WORKSPACE();
- long from = pos;
- if (from == wxNOT_FOUND) {
- from = GetCtrl().GetCurrentPos();
- }
- DoCodeComplete(from);
-}
-
-void ContextCpp::RemoveDuplicates(std::vector<TagEntryPtr>& src, std::vector<TagEntryPtr>& target)
-{
- for (size_t i=0; i<src.size(); i++) {
- if (i == 0) {
- target.push_back(src.at(0));
- } else {
- if (src.at(i)->GetName() != target.at(target.size()-1)->GetName()) {
- target.push_back(src.at(i));
- }
- }
- }
-}
-
-wxString ContextCpp::GetExpression(long pos, bool onlyWord, LEditor *editor, bool forCC)
-{
- bool cont(true);
- int depth(0);
-
- LEditor *ctrl(NULL);
- if (!editor) {
- ctrl = &GetCtrl();
- } else {
- ctrl = editor;
- }
-
- int position( pos );
- int at(position);
- bool prevGt(false);
- bool prevColon(false);
- while (cont && depth >= 0) {
- wxChar ch =ctrl->PreviousChar(position, at, true);
- position = at;
- //Eof?
- if (ch == 0) {
- at = 0;
- break;
- }
-
- //Comment?
- int style = ctrl->GetStyleAt(pos);
- if (style == wxSCI_C_COMMENT ||
- style == wxSCI_C_COMMENTLINE ||
- style == wxSCI_C_COMMENTDOC ||
- style == wxSCI_C_COMMENTLINEDOC ||
- style == wxSCI_C_COMMENTDOCKEYWORD ||
- style == wxSCI_C_COMMENTDOCKEYWORDERROR ||
- style == wxSCI_C_STRING ||
- style == wxSCI_C_STRINGEOL ||
- style == wxSCI_C_CHARACTER) {
- continue;
- }
-
- switch (ch) {
- case wxT(';'):
- // dont include this token
- at = ctrl->PositionAfter(at);
- cont = false;
- prevColon = false;
- break;
- case wxT('-'):
- if (prevGt) {
- prevGt = false;
- //if previous char was '>', we found an arrow so reduce the depth
- //which was increased
- depth--;
- } else {
- if (depth <= 0) {
- //dont include this token
- at =ctrl->PositionAfter(at);
- cont = false;
- }
- }
- prevColon = false;
- break;
- case wxT(' '):
- case wxT('\n'):
- case wxT('\v'):
- case wxT('\t'):
- case wxT('\r'):
- prevGt = false;
- prevColon = false;
- if (depth <= 0) {
- cont = false;
- break;
- }
- break;
- case wxT('{'):
- case wxT('='):
- prevGt = false;
- prevColon = false;
- cont = false;
- break;
- case wxT('('):
- case wxT('['):
- depth--;
- prevGt = false;
- prevColon = false;
- if (depth < 0) {
- //dont include this token
- at =ctrl->PositionAfter(at);
- cont = false;
- }
- break;
- case wxT(','):
- case wxT('*'):
- case wxT('&'):
- case wxT('!'):
- case wxT('~'):
- case wxT('+'):
- case wxT('^'):
- case wxT('|'):
- case wxT('%'):
- case wxT('?'):
- prevGt = false;
- prevColon = false;
- if (depth <= 0) {
-
- //dont include this token
- at =ctrl->PositionAfter(at);
- cont = false;
- }
- break;
- case wxT('>'):
- prevGt = true;
- prevColon = false;
- depth++;
- break;
- case wxT('<'):
- prevGt = false;
- prevColon = false;
- depth--;
- if (depth < 0) {
-
- //dont include this token
- at =ctrl->PositionAfter(at);
- cont = false;
- }
- break;
- case wxT(')'):
- case wxT(']'):
- prevGt = false;
- prevColon = false;
- depth++;
- break;
- default:
- prevGt = false;
- prevColon = false;
- break;
- }
- }
-
- if (at < 0) at = 0;
- wxString expr = ctrl->GetTextRange(at, pos);
- if ( !forCC ) {
- // If we do not require the expression for CodeCompletion
- // return the un-touched buffer
- return expr;
- }
-
- //remove comments from it
- CppScanner sc;
- sc.SetText(_C(expr));
- wxString expression;
- int type=0;
- while ( (type = sc.yylex()) != 0 ) {
- wxString token = _U(sc.YYText());
- expression += token;
- expression += wxT(" ");
- }
- return expression;
-}
-
-wxString ContextCpp::GetWordUnderCaret()
-{
- LEditor &rCtrl = GetCtrl();
- // Get the partial word that we have
- long pos = rCtrl.GetCurrentPos();
- long start = rCtrl.WordStartPosition(pos, true);
- long end = rCtrl.WordEndPosition(pos, true);
- return rCtrl.GetTextRange(start, end);
-}
-
-void ContextCpp::OnContextOpenDocument(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- DoOpenWorkspaceFile();
-}
-
-void ContextCpp::RemoveMenuDynamicContent(wxMenu *menu)
-{
- std::vector<wxMenuItem*>::iterator iter = m_dynItems.begin();
- for (; iter != m_dynItems.end(); iter++) {
- menu->Destroy((*iter));
- }
- m_dynItems.clear();
- m_selectedWord.Empty();
-}
-
-void ContextCpp::AddMenuDynamicContent(wxMenu *menu)
-{
- //if we are placed over an include statement,
- //add an option in the menu to open it
- wxString fileName;
-
- LEditor &rCtrl = GetCtrl();
-// VALIDATE_PROJECT(rCtrl);
-
- wxString menuItemText;
- wxString line = rCtrl.GetCurLine();
- menuItemText.Clear();
-
- if (IsIncludeStatement(line, &fileName)) {
-
- PrependMenuItemSeparator(menu);
- menuItemText << wxT("Open Include File \"") << fileName << wxT("\"");
-
- PrependMenuItem(menu, menuItemText, wxCommandEventHandler(ContextCpp::OnContextOpenDocument));
- m_selectedWord = fileName;
-
- } else {
- int pos = rCtrl.GetCurrentPos();
- if (IsCommentOrString(pos)) {
- return;
- }
-
- wxString word = rCtrl.GetWordAtCaret();
- if (word.IsEmpty() == false) {
- PrependMenuItemSeparator(menu);
- menuItemText << wxT("Add Include File for \"") << word << wxT("\"");
- PrependMenuItem(menu, menuItemText, XRCID("add_include_file"));
- m_selectedWord = word;
- }
- }
-}
-
-void ContextCpp::OnAddIncludeFile(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- LEditor &rCtrl = GetCtrl();
-
- //get expression
- int pos = rCtrl.GetCurrentPos();
-
- if (IsCommentOrString(pos))
- return;
-
- int word_end = rCtrl.WordEndPosition(pos, true);
- wxString expr = GetExpression(word_end, false);
-
- // get the scope
- wxString text = rCtrl.GetTextRange(0, word_end);
-
- wxString word = m_selectedWord;
- if (word.IsEmpty()) {
- //try the word under the caret
- word = rCtrl.GetWordAtCaret();
- if (word.IsEmpty()) {
- return;
- }
- }
-
- std::vector<TagEntryPtr> tags;
- int line = rCtrl.LineFromPosition(rCtrl.GetCurrentPosition())+1;
- TagsManagerST::Get()->FindImplDecl(rCtrl.GetFileName(), line, expr, word, text, tags, false);
- if (tags.empty())
- return;
-
- std::map<wxString, bool> tmpmap;
-
- wxArrayString options;
-
- //remove duplicate file entries
- for (std::vector<TagEntryPtr>::size_type i=0; i< tags.size(); i++) {
- tmpmap[tags.at(i)->GetFile()] = true;
- }
-
- //convert the map to wxArrayString
- std::map<wxString, bool>::iterator iter = tmpmap.begin();
- for (; iter != tmpmap.end(); iter++) {
- options.Add(iter->first);
- }
-
- //we now got list of tags that matches 'word'
- wxString choice;
- if (options.GetCount() > 1) {
- //multiple matches
- choice = wxGetSingleChoice(wxT("Select File to Include:"), wxT("Add Include File"), options, &GetCtrl());
- } else {
- choice = options.Item(0);
- }
-
- if (choice.IsEmpty()) {
- return;
- }
-
- //check to see if this file is a workspace file
- AddIncludeFileDlg *dlg = new AddIncludeFileDlg(NULL, choice, rCtrl.GetText(), FindLineToAddInclude());
- if (dlg->ShowModal() == wxID_OK) {
- //add the line to the current document
- wxString lineToAdd = dlg->GetLineToAdd();
- int line = dlg->GetLine();
-
- long pos = rCtrl.PositionFromLine(line);
- rCtrl.InsertText(pos, lineToAdd + rCtrl.GetEolString());
- }
- dlg->Destroy();
-}
-
-bool ContextCpp::IsIncludeStatement(const wxString &line, wxString *fileName)
-{
- wxString tmpLine(line);
- wxString tmpLine1(line);
-
- //If we are on an include statement, popup a file list
- //completion list
- tmpLine = tmpLine.Trim();
- tmpLine = tmpLine.Trim(false);
- tmpLine.Replace(wxT("\t"), wxT(" "));
-
- static wxRegEx reIncludeFile(wxT("include *[\\\"\\<]{1}([a-zA-Z0-9_/\\.\\+\\-]*)"));
- if (tmpLine.StartsWith(wxT("#"), &tmpLine1)) {
- if (reIncludeFile.Matches(tmpLine1)) {
- if (fileName) {
- *fileName = reIncludeFile.GetMatch(tmpLine1, 1);
- }
- return true;
- }
- }
- return false;
-}
-
-void ContextCpp::CompleteWord()
-{
- LEditor &rCtrl = GetCtrl();
-
- VALIDATE_WORKSPACE();
-
- std::vector<TagEntryPtr> tags;
- wxString scope;
- wxString scopeName;
- wxString word;
- wxString fileName;
-
- wxString line = rCtrl.GetCurLine();
- if (IsIncludeStatement(line, &fileName)) {
- DisplayFilesCompletionBox(fileName);
- return;
- }
-
- // Make sure we are not on a comment section
- if (IsCommentOrString(rCtrl.GetCurrentPos()))
- return;
-
- // Get the partial word that we have
- long pos = rCtrl.GetCurrentPos();
- long start = rCtrl.WordStartPosition(pos, true);
- word = rCtrl.GetTextRange(start, pos);
-
- if (word.IsEmpty()) {
- // incase the 'word' is empty, test the word to the left of the current pos
- wxChar ch1 = rCtrl.SafeGetChar(pos - 1);
- wxChar ch2 = rCtrl.SafeGetChar(pos - 2);
-
- if (ch1 == wxT('.') || (ch2 == wxT('-') && ch1 == wxT('>')) ) {
- CodeComplete();
- }
- return;
- }
-
- TagsManager *mgr = TagsManagerST::Get();
-
- //get the current expression
- wxString expr = GetExpression(rCtrl.GetCurrentPos(), true);
-
- std::vector<TagEntryPtr> candidates;
- //get the full text of the current page
- wxString text = rCtrl.GetTextRange(0, rCtrl.GetCurrentPos());
- int lineNum = rCtrl.LineFromPosition(rCtrl.GetCurrentPosition())+1;
- if (mgr->WordCompletionCandidates(rCtrl.GetFileName(), lineNum, expr, text, word, candidates)) {
- DisplayCompletionBox(candidates, word, false);
- }
-}
-
-void ContextCpp::DisplayCompletionBox(const std::vector<TagEntryPtr> &tags, const wxString &word, bool showFullDecl)
-{
- // calculate the position to display the completion box
- GetCtrl().ShowCompletionBox(tags, word, showFullDecl);
-}
-
-void ContextCpp::DisplayFilesCompletionBox(const wxString &word)
-{
- wxString list;
-
- wxString fileName(word);
- fileName.Replace(wxT("\\"), wxT("/"));
- fileName = fileName.AfterLast(wxT('/'));
-
- std::vector<wxFileName> files;
- TagsManagerST::Get()->GetFiles(fileName, files);
-
- std::sort(files.begin(), files.end(), SFileSort());
-
- if ( files.empty() == false ) {
- GetCtrl().RegisterImageForKind(wxT("FileCpp"), m_cppFileBmp);
- GetCtrl().RegisterImageForKind(wxT("FileHeader"), m_hFileBmp );
- std::vector<TagEntryPtr> tags;
-
- for (size_t i=0; i<files.size(); i++) {
- TagEntryPtr t(new TagEntry());
- t->SetName(files.at(i).GetFullName());
- t->SetKind(IsSource(files.at(i).GetExt()) ? wxT("FileCpp") : wxT("FileHeader"));
- tags.push_back(t);
- }
- GetCtrl().ShowCompletionBox(tags, fileName, false, true);
- }
-}
-
-//=============================================================================
-// <<<<<<<<<<<<<<<<<<<<<<<<<<< CodeCompletion API - END
-//=============================================================================
-
-void ContextCpp::GotoPreviousDefintion()
-{
- NavMgr::Get()->NavigateBackward(PluginManager::Get());
-}
-
-TagEntryPtr ContextCpp::GetTagAtCaret(bool scoped, bool impl)
-{
- if (!ManagerST::Get()->IsWorkspaceOpen())
- return NULL;
-
- LEditor &rCtrl = GetCtrl();
-
- // Make sure we are not on a comment section
- if (IsCommentOrString(rCtrl.GetCurrentPos()))
- return NULL;
-
- // Get the word under the cursor OR the selected word
- int word_start = -1, word_end = -1;
- rCtrl.wxScintilla::GetSelection(&word_start, &word_end);
- if (word_start == word_end) {
- word_start = rCtrl.WordStartPos(word_start, true);
- word_end = rCtrl.WordEndPos(word_end, true);
- }
- wxString word = rCtrl.GetTextRange(word_start, word_end);
- if (word.IsEmpty())
- return NULL;
-
- std::vector<TagEntryPtr> tags;
- if (scoped) {
- // get tags that make sense in current scope and expression
- wxFileName fname = rCtrl.GetFileName();
- wxString expr = GetExpression(word_end, false);
- wxString text = rCtrl.GetTextRange(0, word_end);
- int line = rCtrl.LineFromPosition(rCtrl.GetCurrentPosition())+1;
- TagsManagerST::Get()->FindImplDecl(fname, line, expr, word, text, tags, impl);
- if (!impl && tags.empty()) {
- // try again, this time allow impls
- // this will find inline definitions, which have no separate declaration
- TagsManagerST::Get()->FindImplDecl(fname, line, expr, word, text, tags, true);
- }
- } else {
- // get all tags that match the name (ignore scope)
- TagsManagerST::Get()->FindSymbol(word, tags);
- }
- if (tags.empty())
- return NULL;
-
- if (tags.size() == 1) // only one tag found
- return tags[0];
-
- // popup a dialog offering the results to the user
- SymbolsDialog dlg(&rCtrl);
- dlg.AddSymbols(tags, 0);
- return dlg.ShowModal() == wxID_OK ? dlg.GetTag() : TagEntryPtr(NULL);
-}
-
-void ContextCpp::DoGotoSymbol(TagEntryPtr tag)
-{
- if (tag) {
- LEditor *editor = Frame::Get()->GetMainBook()->OpenFile(tag->GetFile(), wxEmptyString, tag->GetLine()-1);
- if (editor) {
- editor->FindAndSelect(tag->GetPattern(), tag->GetName());
- }
- }
-}
-
-void ContextCpp::GotoDefinition()
-{
- DoGotoSymbol(GetTagAtCaret(false, false));
-}
-
-void ContextCpp::SwapFiles(const wxFileName &fileName)
-{
- wxFileName otherFile(fileName);
- wxString ext = fileName.GetExt();
- wxArrayString exts;
-
- //replace the file extension
- if (IsSource(ext)) {
- //try to find a header file
- exts.Add(wxT("h"));
- exts.Add(wxT("hpp"));
- exts.Add(wxT("hxx"));
- exts.Add(wxT("hh"));
- exts.Add(wxT("h++"));
- } else {
- //try to find a implementation file
- exts.Add(wxT("cpp"));
- exts.Add(wxT("cxx"));
- exts.Add(wxT("c++"));
- exts.Add(wxT("cc"));
- exts.Add(wxT("c"));
- }
-
- for (size_t i=0; i<exts.GetCount(); i++) {
- otherFile.SetExt(exts.Item(i));
- if (TryOpenFile(otherFile))
- return;
- }
-
- long res(wxNOT_FOUND);
-
- // we failed to locate matched file, offer the user to create one
- // check to see if user already provided an answer
- otherFile.SetExt(exts.Item(0));
-
- bool userAnsweredBefore = EditorConfigST::Get()->GetLongValue(wxT("CreateSwappedFile"), res);
- if (!userAnsweredBefore) {
- // prompt the user with an "annoying" dialog
- ThreeButtonDlg dlg(Frame::Get(), _("No matched file was found, would you like to create one?"), wxT("CodeLite"));
- res = dlg.ShowModal();
- if (dlg.GetDontAskMeAgain() && res != wxID_CANCEL) {
- // the user is not interested of creating file, so dont bot
- EditorConfigST::Get()->SaveLongValue(wxT("CreateSwappedFile"), res);
- }
- }
-
- switch (res) {
- case wxID_NO:
- case wxID_CANCEL:
- return;
- case wxID_OK:
- default:
- DoCreateFile(otherFile);
- break;
- }
-}
-
-bool ContextCpp::FindSwappedFile(const wxFileName &rhs, wxString &lhs)
-{
- wxFileName otherFile(rhs);
- wxString ext = rhs.GetExt();
- wxArrayString exts;
-
- //replace the file extension
- if (IsSource(ext)) {
- //try to find a header file
- exts.Add(wxT("h"));
- exts.Add(wxT("hpp"));
- exts.Add(wxT("hxx"));
- } else {
- //try to find a implementation file
- exts.Add(wxT("cpp"));
- exts.Add(wxT("cxx"));
- exts.Add(wxT("cc"));
- exts.Add(wxT("c"));
- }
-
-
- std::vector<wxFileName> files;
- ManagerST::Get()->GetWorkspaceFiles(files, true);
-
- for (size_t j=0; j<exts.GetCount(); j++) {
- otherFile.SetExt(exts.Item(j));
- if (otherFile.FileExists()) {
- //we got a match
- lhs = otherFile.GetFullPath();
- return true;
- }
-
- for (size_t i=0; i<files.size(); i++) {
- if (files.at(i).GetFullName() == otherFile.GetFullName()) {
- lhs = files.at(i).GetFullPath();
- return true;
- }
- }
- }
- return false;
-}
-
-bool ContextCpp::TryOpenFile(const wxFileName &fileName)
-{
- if (fileName.FileExists()) {
- //we got a match
- wxString proj = ManagerST::Get()->GetProjectNameByFile(fileName.GetFullPath());
- return Frame::Get()->GetMainBook()->OpenFile(fileName.GetFullPath(), proj);
- }
-
- //ok, the file does not exist in the current directory, try to find elsewhere
- //whithin the workspace files
- std::vector<wxFileName> files;
- ManagerST::Get()->GetWorkspaceFiles(files, true);
-
- for (size_t i=0; i<files.size(); i++) {
- if (files.at(i).GetFullName() == fileName.GetFullName()) {
- wxString proj = ManagerST::Get()->GetProjectNameByFile(files.at(i).GetFullPath());
- return Frame::Get()->GetMainBook()->OpenFile(files.at(i).GetFullPath(), proj);
- }
- }
- return false;
-}
-
-//-----------------------------------------------
-// Menu event handlers
-//-----------------------------------------------
-void ContextCpp::OnSwapFiles(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- SwapFiles(GetCtrl().GetFileName());
-}
-
-
-void ContextCpp::DoMakeDoxyCommentString(DoxygenComment& dc)
-{
- LEditor &editor = GetCtrl();
- CommentConfigData data;
- EditorConfigST::Get()->ReadObject(wxT("CommentConfigData"), &data);
-
- wxString blockStart(wxT("/**\n"));
- if (!data.GetUseSlash2Stars()) {
- blockStart = wxT("/*!\n");
- }
-
- //prepend the prefix to the
- wxString classPattern = data.GetClassPattern();
- wxString funcPattern = data.GetFunctionPattern();
-
- //replace $(Name) here **before** the call to ExpandAllVariables()
- classPattern.Replace(wxT("$(Name)"), dc.name);
- funcPattern.Replace(wxT("$(Name)"), dc.name);
-
- classPattern = ExpandAllVariables(classPattern, WorkspaceST::Get(), editor.GetProjectName(), wxEmptyString, editor.GetFileName().GetFullPath());
- funcPattern = ExpandAllVariables(funcPattern, WorkspaceST::Get(), editor.GetProjectName(), wxEmptyString, editor.GetFileName().GetFullPath());
-
- dc.comment.Replace(wxT("$(ClassPattern)"), classPattern);
- dc.comment.Replace(wxT("$(FunctionPattern)"), funcPattern);
-
- //close the comment
- dc.comment << wxT(" */\n");
- dc.comment.Prepend(blockStart);
-}
-
-void ContextCpp::OnInsertDoxyComment(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- LEditor &editor = GetCtrl();
-
- VALIDATE_WORKSPACE();
-
- //get the current line text
- int lineno = editor.LineFromPosition(editor.GetCurrentPos());
-
- CommentConfigData data;
- EditorConfigST::Get()->ReadObject(wxT("CommentConfigData"), &data);
-
- //get doxygen comment based on file and line
- wxChar keyPrefix(wxT('\\'));
- if (data.GetUseShtroodel()) {
- keyPrefix = wxT('@');
- }
-
- DoxygenComment dc = TagsManagerST::Get()->GenerateDoxygenComment(editor.GetFileName().GetFullPath(), lineno, keyPrefix);
- //do we have a comment?
- if (dc.comment.IsEmpty())
- return;
-
- DoMakeDoxyCommentString(dc);
-
- editor.InsertTextWithIndentation(dc.comment, lineno);
-
- //since we just inserted a text to the document, we force a save on the
- //document, or else the parser will lose sync with the database
- //but avoid saving it, if it not part of the workspace
- editor.SaveFile();
-}
-
-void ContextCpp::OnCommentSelection(wxCommandEvent &event)
-{
- wxUnusedVar(event);
-
- LEditor &editor = GetCtrl();
- int start = editor.GetSelectionStart();
- int end = editor.GetSelectionEnd();
- if (editor.LineFromPosition(editor.PositionBefore(end)) != editor.LineFromPosition(end)) {
- end = editor.PositionBefore(end);
- }
- if (start == end)
- return;
-
- editor.SetCurrentPos(end);
-
- editor.BeginUndoAction();
- editor.InsertText(end, wxT("*/"));
- editor.InsertText(start, wxT("/*"));
- editor.EndUndoAction();
-
- editor.CharRight();
- editor.CharRight();
- editor.ChooseCaretX();
-}
-
-void ContextCpp::OnCommentLine(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- LEditor &editor = GetCtrl();
-
- int start = editor.GetSelectionStart();
- int end = editor.GetSelectionEnd();
- if (editor.LineFromPosition(editor.PositionBefore(end)) != editor.LineFromPosition(end)) {
- end = std::max(start, editor.PositionBefore(end));
- }
-
- bool doingComment = editor.GetStyleAt(start) != wxSCI_C_COMMENTLINE;
-
- int line_start = editor.LineFromPosition(start);
- int line_end = editor.LineFromPosition(end);
-
- editor.BeginUndoAction();
- for (; line_start <= line_end; line_start++) {
- start = editor.PositionFromLine(line_start);
- if (doingComment) {
- editor.InsertText(start, wxT("//"));
- } else if (editor.GetStyleAt(start) == wxSCI_C_COMMENTLINE) {
- editor.SetAnchor(start);
- editor.SetCurrentPos(editor.PositionAfter(editor.PositionAfter(start)));
- editor.DeleteBackNotLine();
- }
- }
- editor.EndUndoAction();
-
- editor.SetCaretAt(editor.PositionFromLine(line_end+1));
- editor.ChooseCaretX();
-}
-
-void ContextCpp::OnGenerateSettersGetters(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- LEditor &editor = GetCtrl();
-
- VALIDATE_WORKSPACE();
-
- long pos = editor.GetCurrentPos();
-
- if (IsCommentOrString(pos)) {
- return;
- }
-
- TagsManager *tagmgr = TagsManagerST::Get();
- std::vector<TagEntryPtr> tags;
- //get the scope name that the caret is currently at
-
- wxString text = editor.GetTextRange(0, pos);
- wxString scopeName = tagmgr->GetScopeName(text);
- tagmgr->TagsByScope(scopeName, wxT("member"), tags);
- if (tags.empty()) {
- return;
- }
-
- std::vector<TagEntryPtr> classtags;
- tagmgr->FindByPath(scopeName, classtags);
- if (classtags.empty() || classtags.size() > 1)
- return;
-
- TagEntryPtr tag = classtags.at(0);
- if (tag->GetFile().CmpNoCase(editor.GetFileName().GetFullPath()) != 0) {
-
- wxString msg;
- msg << wxT("This file does not seem to contain the declaration for '") << tag->GetName() << wxT("'\n");
- msg << wxT("The declaration of '") << tag->GetName() << wxT("' is located at '") << tag->GetFile() << wxT("'\n");
- msg << wxT("Would you like CodeLite to open this file for you?");
-
- if (wxMessageBox(msg, wxT("CodeLite"), wxYES_NO) == wxYES) {
- wxString projectName = ManagerST::Get()->GetProjectNameByFile(tag->GetFile());
- Frame::Get()->GetMainBook()->OpenFile(tag->GetFile(), projectName, tag->GetLine());
- }
- return;
- }
-
- int lineno = editor.LineFromPosition(editor.GetCurrentPos()) + 1;
-
- //get the file name and line where to insert the setters getters
- static SettersGettersDlg *s_dlg = NULL;
- if (!s_dlg) {
- s_dlg = new SettersGettersDlg(Frame::Get());
- }
-
- s_dlg->Init(tags, tag->GetFile(), lineno);
- if (s_dlg->ShowModal() == wxID_OK) {
- wxString code = s_dlg->GetGenCode();
- if (code.IsEmpty() == false) {
- editor.InsertTextWithIndentation(code, lineno);
- }
-
- if ( s_dlg->GetFormatText() )
- DoFormatEditor( &GetCtrl() );
- }
-}
-
-void ContextCpp::OnKeyDown(wxKeyEvent &event)
-{
- LEditor &ctrl = GetCtrl();
- if (ctrl.GetFunctionTip()->IsActive()) {
- switch (event.GetKeyCode()) {
- case WXK_UP:
- ctrl.GetFunctionTip()->SelectPrev(DoGetCalltipParamterIndex());
- return;
-
- case WXK_DOWN:
- ctrl.GetFunctionTip()->SelectNext(DoGetCalltipParamterIndex());
- return;
- }
- }
- event.Skip();
-}
-
-void ContextCpp::OnFindImpl(wxCommandEvent &event)
-{
- DoGotoSymbol(GetTagAtCaret(true, true));
-}
-
-void ContextCpp::OnFindDecl(wxCommandEvent &event)
-{
- DoGotoSymbol(GetTagAtCaret(true, false));
-}
-
-void ContextCpp::OnUpdateUI(wxUpdateUIEvent &event)
-{
- bool workspaceOpen = ManagerST::Get()->IsWorkspaceOpen();
- bool projectAvailable = (GetCtrl().GetProjectName().IsEmpty() == false);
-
- if (event.GetId() == XRCID("insert_doxy_comment")) {
- event.Enable(projectAvailable);
- } else if (event.GetId() == XRCID("setters_getters")) {
- event.Enable(projectAvailable);
- } else if (event.GetId() == XRCID("go_to_function_start")) {
- event.Enable(workspaceOpen);
- } else if (event.GetId() == XRCID("go_to_next_function")) {
- event.Enable(workspaceOpen);
- } else if (event.GetId() == XRCID("find_decl")) {
- event.Enable(workspaceOpen);
- } else if (event.GetId() == XRCID("find_impl")) {
- event.Enable(workspaceOpen);
- } else if (event.GetId() == XRCID("move_impl")) {
- event.Enable(projectAvailable && GetCtrl().GetSelectedText().IsEmpty() == false );
- } else {
- event.Skip();
- }
-}
-
-void ContextCpp::SetActive()
-{
- wxScintillaEvent dummy;
- OnSciUpdateUI(dummy);
-}
-
-void ContextCpp::OnSciUpdateUI(wxScintillaEvent &event)
-{
- wxUnusedVar(event);
- LEditor &ctrl = GetCtrl();
-
- static long lastPos(wxNOT_FOUND);
- static long lastLine(wxNOT_FOUND);
-
- //get the current position
- long curpos = ctrl.GetCurrentPos();
- if (curpos != lastPos) {
- lastPos = curpos;
-
- // update the calltip highlighting if needed
- DoUpdateCalltipHighlight();
-
- // update navigation bar, but do this only if it visible
- if ( !Frame::Get()->GetMainBook()->IsNavBarShown() )
- return;
-
- // we know that the position position has changed, make sure that the line
- // number has changed also
- if (ctrl.LineFromPosition(curpos) != lastLine) {
- lastLine = ctrl.LineFromPosition(curpos);
- Frame::Get()->GetMainBook()->UpdateNavBar(&ctrl);
-
- }
- }
-}
-
-void ContextCpp::OnDbgDwellEnd(wxScintillaEvent &event)
-{
- wxUnusedVar(event);
- // remove the debugger indicator
- GetCtrl().SetIndicatorCurrent(DEBUGGER_INDICATOR);
- GetCtrl().IndicatorClearRange(0, GetCtrl().GetLength());
-}
-
-void ContextCpp::OnDbgDwellStart(wxScintillaEvent & event)
-{
- static wxRegEx reCppIndentifier(wxT("[a-zA-Z_][a-zA-Z0-9_]*"));
-
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning() && ManagerST::Get()->DbgCanInteract()) {
- if ( ManagerST::Get()->GetDisplayVariableDialog()->IsShown() ) {
- // a 'Quick Show dialog' is already shown!
- // dont show another tip
- return;
- }
- }
-
- wxPoint pt;
- wxString word;
- pt.x = event.GetX();
- pt.y = event.GetY();
- LEditor &ctrl = GetCtrl();
- int pos = event.GetPosition();
- if (pos != wxNOT_FOUND) {
-
- if (IsCommentOrString(pos)) {
- return;
- }
-
- long end(0);
- long sel_start(0), sel_end(0);
-
- end = ctrl.WordEndPosition (pos, true);
-
- // if thers is no selected text, use the word calculated from the caret position
- if (!ctrl.GetSelectedText().IsEmpty()) {
- // selection is not empty, use it
- sel_start = ctrl.GetSelectionStart();
- sel_end = ctrl.GetSelectionEnd ();
- word = ctrl.GetTextRange(sel_start, sel_end);
-
- // Mark the code we are going to try and show tip for
- GetCtrl().SetIndicatorCurrent(DEBUGGER_INDICATOR);
- GetCtrl().IndicatorFillRange(sel_start, sel_end - sel_start);
-
- } else {
- word = GetExpression(end, false, &GetCtrl(), false);
- word.Trim().Trim(false);
-
- // Mark the code we are going to try and show tip for
- GetCtrl().SetIndicatorCurrent(DEBUGGER_INDICATOR);
- GetCtrl().IndicatorFillRange(end - word.length(), word.Length());
- }
-
- if (word.IsEmpty()) {
- return;
- }
- } else {
- return;
- }
-
- dbgr->CreateVariableObject( word, DBG_USERR_QUICKWACTH );
-}
-
-int ContextCpp::FindLineToAddInclude()
-{
- LEditor &ctrl = GetCtrl();
-
- int maxLineToScan = ctrl.GetLineCount();
- if (maxLineToScan > 100) {
- maxLineToScan = 100;
- }
-
- for (int i=0; i<maxLineToScan; i++) {
- if (IsIncludeStatement(ctrl.GetLine(i))) {
- return i;
- }
- }
- return wxNOT_FOUND;
-}
-
-void ContextCpp::OnMoveImpl(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- LEditor &rCtrl = GetCtrl();
- VALIDATE_WORKSPACE();
-
- //get expression
- int pos = rCtrl.GetCurrentPos();
- int word_end = rCtrl.WordEndPosition(pos, true);
- int word_start = rCtrl.WordStartPosition(pos, true);
-
- // get the scope
- wxString word = rCtrl.GetTextRange(word_start, word_end);
-
- if (word.IsEmpty())
- return;
-
- std::vector<TagEntryPtr> tags;
- int line = rCtrl.LineFromPosition(rCtrl.GetCurrentPosition())+1;
- TagsManagerST::Get()->FindSymbol(word, tags);
- if (tags.empty())
- return;
-
-
- //get this scope name
- int startPos(0);
- wxString scopeText = rCtrl.GetTextRange(startPos, rCtrl.GetCurrentPos());
-
- //get the scope name from the text
- wxString scopeName = TagsManagerST::Get()->GetScopeName(scopeText);
- if (scopeName.IsEmpty()) {
- scopeName = wxT("<global>");
- }
-
- TagEntryPtr tag;
- bool match(false);
- for (std::vector< TagEntryPtr >::size_type i=0; i< tags.size(); i++) {
- if (tags.at(i)->GetName() == word &&
- tags.at(i)->GetLine() == line &&
- tags.at(i)->GetKind() == wxT("function") &&
- tags.at(i)->GetScope() == scopeName) {
- //we got a match
- tag = tags.at(i);
- match = true;
- break;
- }
- }
-
- if (match) {
-
- long curPos = word_end;
- long blockEndPos(wxNOT_FOUND);
- long blockStartPos(wxNOT_FOUND);
- wxString content;
-
- if (DoGetFunctionBody(curPos, blockStartPos, blockEndPos, content)) {
-
- //create the functions body
- wxString body = TagsManagerST::Get()->FormatFunction(tag, FunctionFormat_Impl);
- //remove the empty content provided by this function
- body = body.BeforeLast(wxT('{'));
- body = body.Trim().Trim(false);
- body.Prepend(wxT("\n"));
- body << content << wxT("\n");
-
- wxString targetFile;
- FindSwappedFile(rCtrl.GetFileName(), targetFile);
- MoveFuncImplDlg *dlg = new MoveFuncImplDlg(NULL, body, targetFile);
- if (dlg->ShowModal() == wxID_OK) {
- //get the updated data
- targetFile = dlg->GetFileName();
- body = dlg->GetText();
- if (OpenFileAndAppend(targetFile, body)) {
- //remove the current body and replace it with ';'
- rCtrl.SetTargetEnd(blockEndPos);
- rCtrl.SetTargetStart(blockStartPos);
- rCtrl.ReplaceTarget(wxT(";"));
- }
- }
- dlg->Destroy();
- }
- }
-}
-
-bool ContextCpp::DoGetFunctionBody(long curPos, long &blockStartPos, long &blockEndPos, wxString &content)
-{
- LEditor &rCtrl = GetCtrl();
- blockStartPos = wxNOT_FOUND;
- blockEndPos = wxNOT_FOUND;
-
- //scan for the functions' start block
- while ( true ) {
- curPos = rCtrl.PositionAfter(curPos);
-
- //eof?
- if (curPos == rCtrl.GetLength()) {
- break;
- }
-
- //comment?
- if (IsCommentOrString(curPos)) {
- continue;
- }
-
- //valid character
- wxChar ch = rCtrl.GetCharAt(curPos);
- if (ch == wxT(';')) {
- //no implementation to move
- break;
- }
-
- if (ch == wxT('{')) {
- blockStartPos = curPos;
- break;
- }
- }
-
- //collect the functions' block
- if (blockStartPos != wxNOT_FOUND) {
- int depth(1);
- content << wxT("{");
- while (depth > 0) {
- curPos = rCtrl.PositionAfter(curPos);
- //eof?
- if (curPos == rCtrl.GetLength()) {
- break;
- }
-
- //comment?
- wxChar ch = rCtrl.GetCharAt(curPos);
- if (IsCommentOrString(curPos)) {
- content << ch;
- continue;
- }
-
- switch (ch) {
- case wxT('{'):
- depth++;
- break;
- case wxT('}'):
- depth--;
- break;
- }
- content << ch;
- }
-
- if (depth == 0) {
- blockEndPos = rCtrl.PositionAfter(curPos);
- }
- }
-
- return (blockEndPos > blockStartPos) &&
- (blockEndPos != wxNOT_FOUND) &&
- (blockStartPos != wxNOT_FOUND);
-}
-
-void ContextCpp::OnOverrideParentVritualFunctions(wxCommandEvent& e)
-{
- LEditor &rCtrl = GetCtrl();
- VALIDATE_WORKSPACE();
-
- // Get the text from the file start point until the current position
- int pos = rCtrl.GetCurrentPos();
- wxString context = rCtrl.GetTextRange(0, pos);
- bool onlyPure = e.GetId() == XRCID("add_pure_virtual_impl");
-
- wxString scopeName = TagsManagerST::Get()->GetScopeName(context);
- if (scopeName.IsEmpty() || scopeName == wxT("<global>")) {
- wxMessageBox(_("Cant resolve scope properly. Found <") + scopeName + wxT(">"), wxT("CodeLite"), wxICON_INFORMATION|wxOK);
- return;
- }
-
- // get map of all unimlpemented methods
- std::vector<TagEntryPtr> protos;
- TagsManagerST::Get()->GetUnOverridedParentVirtualFunctions(scopeName, onlyPure, protos);
-
- // No methods to add?
- if (protos.empty())
- return;
-
- // Locate the swapped file
- wxString targetFile(rCtrl.GetFileName().GetFullPath());
- FindSwappedFile(rCtrl.GetFileName(), targetFile);
-
- CommentConfigData data;
- EditorConfigST::Get()->ReadObject(wxT("CommentConfigData"), &data);
-
- //get doxygen comment based on file and line
- wxChar keyPrefix(wxT('\\'));
- if (data.GetUseShtroodel()) {
- keyPrefix = wxT('@');
- }
-
- ImplementParentVirtualFunctionsDialog dlg(wxTheApp->GetTopWindow(), scopeName, protos, keyPrefix, this);
- dlg.m_textCtrlImplFile->SetValue(targetFile);
- if (dlg.ShowModal() == wxID_OK) {
- wxString implFile = dlg.m_textCtrlImplFile->GetValue();
- wxString impl = dlg.GetImpl();
- wxString decl = dlg.GetDecl();
- rCtrl.InsertText(rCtrl.GetCurrentPos(), decl);
- if (dlg.m_checkBoxFormat->IsChecked())
- DoFormatEditor( &GetCtrl() );
-
- // Open teh implementation file and format it if needed
- OpenFileAppendAndFormat(implFile, impl, dlg.m_checkBoxFormat->IsChecked());
- }
-
- // Restore this file to be the active one
- Frame::Get()->GetMainBook()->OpenFile(GetCtrl().GetFileName().GetFullPath());
-}
-
-void ContextCpp::OnAddMultiImpl(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- LEditor &rCtrl = GetCtrl();
- VALIDATE_WORKSPACE();
-
- //get the text from the file start point until the current position
- int pos = rCtrl.GetCurrentPos();
- wxString context = rCtrl.GetTextRange(0, pos);
-
- wxString scopeName = TagsManagerST::Get()->GetScopeName(context);
- if (scopeName.IsEmpty() || scopeName == wxT("<global>")) {
- wxMessageBox(_("'Add Functions Implementation' can only work inside valid scope, got (") + scopeName + wxT(")"), wxT("CodeLite"), wxICON_INFORMATION|wxOK);
- return;
- }
-
- // get map of all unimlpemented methods
- std::map<wxString, TagEntryPtr> protos;
- TagsManagerST::Get()->GetUnImplementedFunctions( scopeName, protos );
-
- // the map now consist only with functions without implementation
- // create body for all of those functions
- //create the functions body
- wxString body;
- std::map<wxString, TagEntryPtr>::iterator iter = protos.begin();
-
- for (; iter != protos.end(); iter ++ ) {
- TagEntryPtr tag = iter->second;
- //use normalize function signature rather than the default one
- //this will ensure that default values are removed
- tag->SetSignature(TagsManagerST::Get()->NormalizeFunctionSig( tag->GetSignature(), Normalize_Func_Name | Normalize_Func_Reverse_Macro ));
- body << TagsManagerST::Get()->FormatFunction(tag, FunctionFormat_Impl);
- body << wxT("\n");
- }
-
- wxString targetFile;
- FindSwappedFile(rCtrl.GetFileName(), targetFile);
-
- //if no swapped file is found, use the current file
- if (targetFile.IsEmpty()) {
- targetFile = rCtrl.GetFileName().GetFullPath();
- }
-
- MoveFuncImplDlg dlg(NULL, body, targetFile);
- dlg.SetTitle(wxT("Implement All Un-Implemented Functions"));
- if (dlg.ShowModal() == wxID_OK) {
- //get the updated data
- targetFile = dlg.GetFileName();
- body = dlg.GetText();
- OpenFileAndAppend(targetFile, body);
- }
-}
-
-void ContextCpp::OnAddImpl(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- LEditor &rCtrl = GetCtrl();
- VALIDATE_WORKSPACE();
-
- //get expression
- int pos = rCtrl.GetCurrentPos();
- int word_end = rCtrl.WordEndPosition(pos, true);
- int word_start = rCtrl.WordStartPosition(pos, true);
-
- // get the scope
- wxString word = rCtrl.GetTextRange(word_start, word_end);
-
- if (word.IsEmpty())
- return;
-
- int foundPos(wxNOT_FOUND);
- if(rCtrl.PreviousChar(word_start, foundPos) == wxT('~'))
- word.Prepend(wxT("~"));
-
- std::vector<TagEntryPtr> tags;
- int line = rCtrl.LineFromPosition(rCtrl.GetCurrentPosition())+1;
-
- //get this scope name
- int startPos(0);
- wxString scopeText = rCtrl.GetTextRange(startPos, rCtrl.GetCurrentPos());
-
- //get the scope name from the text
- wxString scopeName = TagsManagerST::Get()->GetScopeName(scopeText);
- if (scopeName.IsEmpty()) {
- scopeName = wxT("<global>");
- }
-
- TagsManagerST::Get()->FindSymbol(word, tags);
- if (tags.empty())
- return;
-
- TagEntryPtr tag;
- bool match(false);
- for (std::vector< TagEntryPtr >::size_type i=0; i< tags.size(); i++) {
- if (tags.at(i)->GetName() == word &&
- tags.at(i)->GetLine() == line &&
- tags.at(i)->GetKind() == wxT("prototype") &&
- tags.at(i)->GetScope() == scopeName) {
- //we got a match
- tag = tags.at(i);
- match = true;
- break;
- }
- }
-
- if (match) {
-
- long curPos = word_end;
- long blockEndPos(wxNOT_FOUND);
- long blockStartPos(wxNOT_FOUND);
- wxString content;
-
- if (DoGetFunctionBody(curPos, blockStartPos, blockEndPos, content)) {
- //function already has body ...
- wxMessageBox(_("Function '") + tag->GetName() + wxT("' already has a body"), wxT("CodeLite"), wxICON_WARNING|wxOK);
- return;
- }
-
- //create the functions body
- //replace the function signature with the normalized one, so default values
- //will not appear in the function implementation
- wxString newSig = TagsManagerST::Get()->NormalizeFunctionSig( tag->GetSignature(), Normalize_Func_Name | Normalize_Func_Reverse_Macro);
- tag->SetSignature( newSig );
- wxString body = TagsManagerST::Get()->FormatFunction(tag, FunctionFormat_Impl);
-
- wxString targetFile;
- FindSwappedFile(rCtrl.GetFileName(), targetFile);
-
- //if no swapped file is found, use the current file
- if (targetFile.IsEmpty()) {
- targetFile = rCtrl.GetFileName().GetFullPath();
- }
-
- MoveFuncImplDlg dlg(NULL, body, targetFile);
- dlg.SetTitle(wxT("Add Function Implmentation"));
- if (dlg.ShowModal() == wxID_OK) {
- //get the updated data
- targetFile = dlg.GetFileName();
- body = dlg.GetText();
- OpenFileAndAppend(targetFile, body);
- }
- }
-}
-
-void ContextCpp::DoFormatEditor(LEditor *editor)
-{
- IPlugin *formatter = PluginManager::Get()->GetPlugin(wxT("CodeFormatter"));
- if (formatter && editor) {
- // code formatter is available, format the current source file
- wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, XRCID("format_source"));
- e.SetString(editor->GetFileName().GetFullPath());
- Frame::Get()->GetEventHandler()->ProcessEvent(e);
- }
-}
-
-bool ContextCpp::OpenFileAppendAndFormat(const wxString& fileName, const wxString& text, bool format)
-{
- LEditor *editor = OpenFileAndAppend(fileName, text);
- if (format && editor)
- DoFormatEditor(editor);
- return true;
-}
-
-LEditor* ContextCpp::OpenFileAndAppend ( const wxString &fileName, const wxString &text )
-{
- LEditor *editor = Frame::Get()->GetMainBook()->OpenFile(fileName, wxEmptyString, 0);
- if (!editor)
- return NULL;
-
- // if needed, append EOL
- if (editor->GetText().EndsWith(editor->GetEolString()) == false) {
- editor->AppendText(editor->GetEolString());
- }
-
- int lineNum = editor->GetLineCount();
- editor->GotoLine ( lineNum-1 );
- editor->AppendText ( text );
- return editor;
-}
-
-void ContextCpp::OnFileSaved()
-{
- PERF_FUNCTION();
-
- VariableList var_list;
- std::map< std::string, Variable > var_map;
- std::map< wxString, TagEntryPtr> foo_map;
- std::map<std::string, std::string> ignoreTokens;
-
- wxArrayString varList;
- wxArrayString projectTags;
-
- LEditor &rCtrl = GetCtrl();
- VALIDATE_WORKSPACE();
-
- // if there is nothing to color, go ahead and return
- if ( !(TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_COLOUR_WORKSPACE_TAGS) && !(TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_COLOUR_VARS) ) {
- return;
- }
-
- // wxSCI_C_WORD2
- if (TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_COLOUR_WORKSPACE_TAGS) {
-
- // get list of all tags from the workspace
- TagsManagerST::Get()->GetAllTagsNames(projectTags);
- }
- // wxSCI_C_GLOBALCLASS
- if (TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_COLOUR_VARS) {
- //---------------------------------------------------------------------
- // Colour local variables
- //---------------------------------------------------------------------
- PERF_BLOCK("Getting Locals") {
-
- const wxCharBuffer patbuf = _C(rCtrl.GetText());
-
- // collect list of variables
- get_variables( patbuf.data(), var_list, ignoreTokens, false);
-
- }
-
- // list all functions of this file
- std::vector< TagEntryPtr > tags;
- TagsManagerST::Get()->GetFunctions(tags, rCtrl.GetFileName().GetFullPath());
-
- PERF_BLOCK("Adding Functions") {
-
- VariableList::iterator viter = var_list.begin();
- for (; viter != var_list.end(); viter++ ) {
- Variable vv = *viter;
- varList.Add(_U(vv.m_name.c_str()));
- }
-
- // parse all function's arguments and add them as well
- for (size_t i=0; i<tags.size(); i++) {
- wxString sig = tags.at(i)->GetSignature();
- const wxCharBuffer cb = _C(sig);
- VariableList vars_list;
- get_variables(cb.data(), vars_list, ignoreTokens, true);
- VariableList::iterator it = vars_list.begin();
- for (; it != vars_list.end(); it++ ) {
- Variable var = *it;
- wxString name = _U(var.m_name.c_str());
- if (varList.Index(name) == wxNOT_FOUND) {
- // add it
- varList.Add(name);
- }
- }
- }
-
- }
- }
- PERF_BLOCK("Setting Keywords") {
-
- size_t cc_flags = TagsManagerST::Get()->GetCtagsOptions().GetFlags();
- if (cc_flags & CC_COLOUR_WORKSPACE_TAGS) {
- wxString flatStr;
- for (size_t i=0; i< projectTags.GetCount(); i++) {
- // add only entries that does not appear in the variable list
- //if (varList.Index(projectTags.Item(i)) == wxNOT_FOUND) {
- flatStr << projectTags.Item(i) << wxT(" ");
- }
- rCtrl.SetKeyWords(1, flatStr);
- } else {
- rCtrl.SetKeyWords(1, wxEmptyString);
- }
-
- if (cc_flags & CC_COLOUR_VARS) {
- // convert it to space delimited string
- wxString varFlatStr;
- for (size_t i=0; i< varList.GetCount(); i++) {
- varFlatStr << varList.Item(i) << wxT(" ");
- }
- rCtrl.SetKeyWords(3, varFlatStr);
- } else {
- rCtrl.SetKeyWords(3, wxEmptyString);
- }
- }
-}
-
-void ContextCpp::ApplySettings()
-{
- //-----------------------------------------------
- // Load laguage settings from configuration file
- //-----------------------------------------------
- SetName(wxT("C++"));
-
- // Set the key words and the lexer
- LexerConfPtr lexPtr;
- // Read the configuration file
- if (EditorConfigST::Get()->IsOk()) {
- lexPtr = EditorConfigST::Get()->GetLexer(wxT("C++"));
- }
-
- // Update the control
- LEditor &rCtrl = GetCtrl();
- rCtrl.SetLexer((int)lexPtr->GetLexerId());
-
- wxString keyWords = lexPtr->GetKeyWords(0);
- keyWords.Replace(wxT("\n"), wxT(" "));
- keyWords.Replace(wxT("\r"), wxT(" "));
- rCtrl.SetKeyWords(0, keyWords);
-
- DoApplySettings( lexPtr );
-
- //create all images used by the cpp context
- wxImage img;
- if (m_classBmp.IsOk() == false) {
- m_classBmp = wxXmlResource::Get()->LoadBitmap(wxT("class"));
- m_structBmp = wxXmlResource::Get()->LoadBitmap(wxT("struct"));
- m_namespaceBmp = wxXmlResource::Get()->LoadBitmap(wxT("namespace"));
- m_variableBmp = wxXmlResource::Get()->LoadBitmap(wxT("member_public"));
- m_tpyedefBmp = wxXmlResource::Get()->LoadBitmap(wxT("typedef"));
- m_tpyedefBmp.SetMask(new wxMask(m_tpyedefBmp, wxColor(0, 128, 128)));
-
- m_memberPrivateBmp = wxXmlResource::Get()->LoadBitmap(wxT("member_private"));
- m_memberPublicBmp = wxXmlResource::Get()->LoadBitmap(wxT("member_public"));
- m_memberProtectedeBmp = wxXmlResource::Get()->LoadBitmap(wxT("member_protected"));
- m_functionPrivateBmp = wxXmlResource::Get()->LoadBitmap(wxT("func_private"));
- m_functionPublicBmp = wxXmlResource::Get()->LoadBitmap(wxT("func_public"));
- m_functionProtectedeBmp = wxXmlResource::Get()->LoadBitmap(wxT("func_protected"));
- m_macroBmp = wxXmlResource::Get()->LoadBitmap(wxT("typedef"));
- m_macroBmp.SetMask(new wxMask(m_macroBmp, wxColor(0, 128, 128)));
-
- m_enumBmp = wxXmlResource::Get()->LoadBitmap(wxT("enum"));
- m_enumBmp.SetMask(new wxMask(m_enumBmp, wxColor(0, 128, 128)));
-
- m_enumeratorBmp = wxXmlResource::Get()->LoadBitmap(wxT("enumerator"));
-
- //Initialise the file bitmaps
- m_cppFileBmp = wxXmlResource::Get()->LoadBitmap(wxT("page_white_cplusplus"));
- m_hFileBmp = wxXmlResource::Get()->LoadBitmap(wxT("page_white_h"));
- m_otherFileBmp = wxXmlResource::Get()->LoadBitmap(wxT("page_white_text"));
- }
-
- //register the images
- rCtrl.ClearRegisteredImages();
- rCtrl.RegisterImage(1, m_classBmp);
- rCtrl.RegisterImage(2, m_structBmp);
- rCtrl.RegisterImage(3, m_namespaceBmp);
- rCtrl.RegisterImage(4, m_variableBmp);
- rCtrl.RegisterImage(5, m_tpyedefBmp);
- rCtrl.RegisterImage(6, m_memberPrivateBmp);
- rCtrl.RegisterImage(7, m_memberPublicBmp);
- rCtrl.RegisterImage(8, m_memberProtectedeBmp);
- rCtrl.RegisterImage(9, m_functionPrivateBmp);
- rCtrl.RegisterImage(10, m_functionPublicBmp);
- rCtrl.RegisterImage(11, m_functionProtectedeBmp);
- rCtrl.RegisterImage(12, m_macroBmp);
- rCtrl.RegisterImage(13, m_enumBmp);
- rCtrl.RegisterImage(14, m_enumeratorBmp);
- rCtrl.RegisterImage(15, m_cppFileBmp);
- rCtrl.RegisterImage(16, m_hFileBmp);
- rCtrl.RegisterImage(17, m_otherFileBmp);
-
- //delete uneeded commands
- rCtrl.CmdKeyClear('/', wxSCI_SCMOD_CTRL);
- rCtrl.CmdKeyClear('/', wxSCI_SCMOD_CTRL|wxSCI_SCMOD_SHIFT);
-
- // update word characters to allow '~' as valid word character
- rCtrl.SetWordChars(wxT("_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"));
-
- // Error
- wxFont guiFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- BuildTabSettingsData cmpColoursOptions;
-
- EditorConfigST::Get()->ReadObject ( wxT ( "build_tab_settings" ), &cmpColoursOptions);
- rCtrl.StyleSetBackground(eAnnotationStyleError, DrawingUtils::LightColour(cmpColoursOptions.GetErrorColour(), 9.0));
- rCtrl.StyleSetForeground(eAnnotationStyleError, cmpColoursOptions.GetErrorColour());
- rCtrl.StyleSetFont(eAnnotationStyleError, guiFont);
-
- // Warning
- rCtrl.StyleSetBackground(eAnnotationStyleWarning, DrawingUtils::LightColour(cmpColoursOptions.GetErrorColour(), 9.0));
- rCtrl.StyleSetForeground(eAnnotationStyleWarning, cmpColoursOptions.GetWarnColour());
- rCtrl.StyleSetFont(eAnnotationStyleWarning, guiFont);
-}
-
-void ContextCpp::Initialize()
-{
- //load the context menu from the resource manager
- m_rclickMenu = wxXmlResource::Get()->LoadMenu(wxT("editor_right_click"));
-}
-
-void ContextCpp::AutoAddComment()
-{
- LEditor &rCtrl = GetCtrl();
-
- CommentConfigData data;
- EditorConfigST::Get()->ReadObject(wxT("CommentConfigData"), &data);
-
- int curpos = rCtrl.GetCurrentPos();
- int line = rCtrl.LineFromPosition(curpos);
- int cur_style = rCtrl.GetStyleAt(curpos);
-
- bool dontadd = false;
- switch (cur_style) {
- case wxSCI_C_COMMENTLINE:
- dontadd = rCtrl.GetLine(line-1).Trim().Trim(false) == wxT("//") || !data.GetContinueCppComment();
- break;
- case wxSCI_C_COMMENT:
- case wxSCI_C_COMMENTDOC:
- dontadd = !data.GetAddStarOnCComment();
- break;
- default:
- dontadd = true;
- break;
- }
- if (dontadd) {
- ContextBase::AutoIndent(wxT('\n'));
- return;
- }
-
- wxString toInsert;
- switch (cur_style) {
- case wxSCI_C_COMMENTLINE:
- if (rCtrl.GetStyleAt(rCtrl.PositionAfter(curpos)) != wxSCI_C_COMMENTLINE) {
- toInsert = wxT("// ");
- }
- break;
- case wxSCI_C_COMMENT:
- case wxSCI_C_COMMENTDOC:
- if (rCtrl.GetStyleAt(rCtrl.PositionBefore(rCtrl.PositionBefore(curpos))) == cur_style) {
- toInsert = rCtrl.GetCharAt(rCtrl.GetLineIndentPosition(line-1)) == wxT('*') ? wxT("* ") : wxT(" * ");
- }
- break;
- }
- rCtrl.SetLineIndentation(line, rCtrl.GetLineIndentation(line-1));
- int insertPos = rCtrl.GetLineIndentPosition(line);
- rCtrl.InsertText(insertPos, toInsert);
- rCtrl.SetCaretAt(insertPos + toInsert.Length());
- rCtrl.ChooseCaretX(); // set new column as "current" column
-}
-
-bool ContextCpp::IsComment(long pos)
-{
- int style;
- style = GetCtrl().GetStyleAt(pos);
- return (style == wxSCI_C_COMMENT ||
- style == wxSCI_C_COMMENTLINE ||
- style == wxSCI_C_COMMENTDOC ||
- style == wxSCI_C_COMMENTLINEDOC ||
- style == wxSCI_C_COMMENTDOCKEYWORD ||
- style == wxSCI_C_COMMENTDOCKEYWORDERROR );
-}
-
-void ContextCpp::OnRenameFunction(wxCommandEvent& e)
-{
- VALIDATE_WORKSPACE();
-
- LEditor &rCtrl = GetCtrl();
- CppTokensMap l;
-
- //get expression
- int pos = rCtrl.GetCurrentPos();
- int word_end = rCtrl.WordEndPosition(pos, true);
- int word_start = rCtrl.WordStartPosition(pos, true);
-
- // get the scope
- wxString word = rCtrl.GetTextRange(word_start, word_end);
- if (word.IsEmpty())
- return;
-
- // search to see if we are on a valid tag
- RefactorSource source;
- if (!ResolveWord(&rCtrl, word_start, word, &source)) {
- // parsing of the initial expression failed, abort
- return;
- }
-
- if (!Frame::Get()->GetMainBook()->SaveAll(true, false))
- return;
-
- wxLogMessage(wxT("Refactoring: ") + source.name + wxT(" of scope: ") + source.scope);
-
- // load all tokens, first we need to parse the workspace files...
- BuildRefactorDatabase(word, l);
- std::list<CppToken> tokens;
-
- // incase no tokens were found (possibly cause of user pressing cancel
- // abort this operation
- l.findTokens(word, tokens);
- if (tokens.empty()) {
- return;
- }
-
- wxString msg;
- msg << wxT("Found ") << tokens.size() << wxT(" instances of ") << word;
- wxLogMessage(msg);
-
- // create an empty hidden instance of LEditor
- LEditor *editor = new LEditor(rCtrl.GetParent());
- editor->Show(false);
- editor->SetIsVisible(false);
-
- // Get expressions for the CC to work with:
- RefactorSource target;
- std::list<CppToken> candidates;
- std::list<CppToken> possibleCandidates;
-
- wxProgressDialog* prgDlg = new wxProgressDialog (wxT("Parsing matches..."), wxT("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"), (int)tokens.size(), NULL, wxPD_APP_MODAL | wxPD_SMOOTH | wxPD_AUTO_HIDE | wxPD_CAN_ABORT);
- prgDlg->GetSizer()->Fit(prgDlg);
- prgDlg->Layout();
- prgDlg->Centre();
-
- std::list<CppToken>::iterator iter = tokens.begin();
- int counter(0);
-
- for (; iter != tokens.end(); iter++) {
- CppToken token = *iter;
- editor->Create(wxEmptyString, token.getFilename());
- token.setLineNo( editor->LineFromPosition( (int)token.getOffset() ) + 1 );
- token.setLine( editor->GetLine( token.getLineNo()-1 ) );
-
- wxString msg;
- wxFileName f(token.getFilename());
- msg << wxT("Parsing expression ") << counter << wxT("/") << tokens.size() << wxT(" in file: ") << f.GetFullName();
- if ( !prgDlg->Update(counter, msg) ) {
- // user clicked 'Cancel'
- prgDlg->Destroy();
- editor->Destroy();
- return;
- }
-
- counter++;
-
- // reset the result
- target.Reset();
- if (ResolveWord(editor, token.getOffset(), word, &target)) {
-
- if (target.name == source.name && target.scope == source.scope) {
- // full match
- candidates.push_back( token );
- } else if (target.name == source.scope && !source.isClass) {
- // source is function, and target is class
- candidates.push_back( token );
- } else if (target.name == source.name && source.isClass) {
- // source is class, and target is ctor
- candidates.push_back( token );
- } else {
- // add it to the possible match list
- possibleCandidates.push_back( token );
- }
- } else {
- // resolved word failed, add it to the possible list
- possibleCandidates.push_back( token );
- }
- }
-
- editor->Destroy();
- prgDlg->Destroy();
-
- // display the refactor dialog
- RenameSymbol *dlg = new RenameSymbol(&rCtrl, candidates, possibleCandidates, source.name);
- if (dlg->ShowModal() == wxID_OK) {
- std::list<CppToken> matches;
-
- dlg->GetMatches( matches );
- if (matches.empty() == false) {
- ReplaceInFiles(dlg->GetWord(), matches);
- }
- }
- dlg->Destroy();
-}
-
-void ContextCpp::BuildRefactorDatabase ( const wxString& word, CppTokensMap &l )
-{
- wxArrayString projects;
- ManagerST::Get()->GetProjectList ( projects );
- std::vector<wxFileName> files;
-
- for ( size_t i=0; i<projects.GetCount(); i++ ) {
- ProjectPtr proj = ManagerST::Get()->GetProject ( projects.Item ( i ) );
- if ( proj ) {
- proj->GetFiles ( files, true );
- }
- }
- RefactorIndexBuildJob job ( files, word.c_str() );
- job.Parse ( word, l );
-}
-
-void ContextCpp::ReplaceInFiles ( const wxString &word, std::list<CppToken> &li )
-{
- int off = 0;
- wxString file_name ( wxEmptyString );
-
- for ( std::list<CppToken>::iterator iter = li.begin(); iter != li.end(); iter++ ) {
- CppToken &token = *iter;
- if ( file_name == token.getFilename() ) {
- // update next token offset in case we are still in the same file
- token.setOffset ( token.getOffset() + off );
- } else {
- // switched file
- off = 0;
- file_name = token.getFilename();
- }
- LEditor *editor = Frame::Get()->GetMainBook()->OpenFile(token.getFilename(), wxEmptyString, 0);
- if (editor != NULL && (editor->GetFileName().GetFullPath().CmpNoCase(token.getFilename()) == 0) ) {
- editor->SetSelection ( token.getOffset(), token.getOffset()+token.getName().Len() );
- if ( editor->GetSelectionStart() != editor->GetSelectionEnd() ) {
- editor->ReplaceSelection ( word );
- off += word.Len() - token.getName().Len();
- }
- }
- }
-}
-
-bool ContextCpp::ResolveWord(LEditor *ctrl, int pos, const wxString &word, RefactorSource *rs)
-{
- std::vector<TagEntryPtr> tags;
- // try to process the current expression
- wxString expr = GetExpression(pos + word.Len(), false, ctrl);
-
- // get the scope
- //Optimize the text for large files
- int line = ctrl->LineFromPosition(pos)+1;
- wxString text = ctrl->GetTextRange(0, pos + word.Len());
-
- // we simply collect declarations & implementations
-
- //try implemetation first
- bool found(false);
- TagsManagerST::Get()->FindImplDecl(ctrl->GetFileName(), line, expr, word, text, tags, true, true);
- if (tags.empty() == false) {
- // try to see if we got a function and not class/struct
-
- for (size_t i=0; i<tags.size(); i++) {
- TagEntryPtr tag = tags.at(i);
- // find first non class/struct tag
- if (tag->GetKind() != wxT("class") && tag->GetKind() != wxT("struct")) {
-
- // if there is no match, add it anyways
- if (!found) {
- rs->isClass = (tag->GetKind() == wxT("class") ||tag->GetKind() == wxT("struct"));
- rs->name = tag->GetName();
- rs->scope = tag->GetScope();
- found = true;
- } else if (rs->scope == wxT("<global>") && rs->isClass == false) {
- // give predecense to <global> variables
- rs->isClass = (tag->GetKind() == wxT("class") ||tag->GetKind() == wxT("struct"));
- rs->name = tag->GetName();
- rs->scope = tag->GetScope();
- found = true;
- }
- found = true;
- }
- }
-
- // if no match was found, keep the first result but keep searching
- if ( !found ) {
- TagEntryPtr tag = tags.at(0);
- rs->scope = tag->GetScope();
- rs->name = tag->GetName();
- rs->isClass = (tag->GetKind() == wxT("class") ||tag->GetKind() == wxT("struct"));
- found = true;
- } else {
- return true;
- }
- }
-
- // Ok, the "implementation" search did not yield definite results, try declaration
- tags.clear();
- TagsManagerST::Get()->FindImplDecl(ctrl->GetFileName(), line, expr, word, text, tags, false, true);
- if (tags.empty() == false) {
- // try to see if we got a function and not class/struct
- for (size_t i=0; i<tags.size(); i++) {
- TagEntryPtr tag = tags.at(i);
- // find first non class/struct tag
- if (tag->GetKind() != wxT("class") && tag->GetKind() != wxT("struct")) {
- rs->name = tag->GetName();
- rs->scope = tag->GetScope();
- return true;
- }
- }
-
- // if no match was found, keep the first result but keep searching
- if ( !found ) {
- TagEntryPtr tag = tags.at(0);
- rs->scope = tag->GetScope();
- rs->name = tag->GetName();
- rs->isClass = (tag->GetKind() == wxT("class") ||tag->GetKind() == wxT("struct"));
- }
- return true;
- }
-
- // if we got so far, CC failed to parse the expression
- return false;
-}
-
-void ContextCpp::OnRetagFile(wxCommandEvent& e)
-{
- VALIDATE_WORKSPACE();
-
- wxUnusedVar(e);
- LEditor &ctrl = GetCtrl();
- if ( ctrl.GetModify() ) {
- wxMessageBox(wxString::Format(wxT("Please save the file before retagging it")));
- return;
- }
-
- RetagFile();
- ctrl.SetActive();
-}
-
-void ContextCpp::RetagFile()
-{
- LEditor &ctrl = GetCtrl();
- ManagerST::Get()->RetagFile(ctrl.GetFileName().GetFullPath());
-
- // incase this file is not cache this function does nothing
- TagsManagerST::Get()->ClearCachedFile(ctrl.GetFileName().GetFullPath());
-
-// // clear all the queries which holds reference to this file
-// TagsManagerST::Get()->GetWorkspaceTagsCache()->DeleteByFilename(ctrl.GetFileName().GetFullPath());
-//
-// // clear also the swapped file
-// wxString targetFile;
-// if (FindSwappedFile(ctrl.GetFileName(), targetFile) && targetFile.IsEmpty() == false) {
-// TagsManagerST::Get()->GetWorkspaceTagsCache()->DeleteByFilename(targetFile);
-// }
-}
-
-void ContextCpp::OnUserTypedXChars(const wxString &word)
-{
- // user typed more than 3 chars, display completion box with C++ keywords
- if ( IsCommentOrString(GetCtrl().GetCurrentPos()) ) {
- return;
- }
-
- if (TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_CPP_KEYWORD_ASISST) {
- std::vector<TagEntryPtr> tags;
- MakeCppKeywordsTags(word, tags);
- if ( tags.empty() == false ) {
- GetCtrl().ShowCompletionBox(tags, // list of tags
- word, // partial word
- false, // dont show full declaration
- true, // auto hide if there is no match in the list
- false); // do not automatically insert word if there is only single choice
- }
- }
-}
-
-void ContextCpp::MakeCppKeywordsTags(const wxString &word, std::vector<TagEntryPtr>& tags)
-{
- wxString cppWords = wxT("and and_eq asm auto bitand bitor bool break case catch char class compl const const_cast continue default delete "
- "do double dynamic_cast else enum explicit export extern false float for friend goto if inline int long mutable namespace "
- "new not not_eq operator or or_eq private protected public register reinterpret_cast return short signed sizeof size_t static "
- "static_cast struct switch template this throw true try typedef typeid typename union unsigned using virtual void volatile "
- "wchar_t while xor xor_eq ");
-
- // add preprocessors
- cppWords << wxT("ifdef undef define defined include endif elif ifndef ");
-
- wxString s1(word);
- wxArrayString wordsArr = wxStringTokenize(cppWords, wxT(" "));
- for (size_t i=0; i<wordsArr.GetCount(); i++) {
-
- wxString s2(wordsArr.Item(i));
- if (s2.StartsWith(s1) || s2.Lower().StartsWith(s1.Lower())) {
- TagEntryPtr tag ( new TagEntry() );
- tag->SetName(wordsArr.Item(i));
- tag->SetKind(wxT("cpp_keyword"));
- tags.push_back(tag);
- }
- }
-}
-
-wxString ContextCpp::CallTipContent()
-{
- // if we have an active call tip, return its content
- if (GetCtrl().GetFunctionTip()->IsActive())
- return GetCtrl().GetFunctionTip()->GetText();
-
- return wxEmptyString;
-}
-
-void ContextCpp::DoCodeComplete(long pos)
-{
- long currentPosition = pos;
- bool showFuncProto = false;
- int pos1, pos2, end;
- LEditor &rCtrl = GetCtrl();
- wxChar ch = rCtrl.PreviousChar(pos, pos1);
-
- // Make sure we are not on a comment section
- if (IsCommentOrString(rCtrl.PositionBefore(pos))) {
- return;
- }
-
- // Search for first non-whitespace wxChar
-
- bool showFullDecl(false);
-
- switch (ch) {
- case '.':
- // Class / Struct completion
- rCtrl.PreviousChar(pos1, end);
- break;
- case '>':
- // Check previous character if is '-'
- // We open drop box as well
- if (rCtrl.PreviousChar(pos1, pos2) == '-') {
- rCtrl.PreviousChar(pos2, end);
- } else {
- return;
- }
- break;
- case ':':
- // Check previous character if is ':'
- // We open drop box as well
- if (rCtrl.PreviousChar(pos1, pos2) == wxT(':')) {
- rCtrl.PreviousChar(pos2, end);
- showFullDecl = true;
- } else {
- return;
- }
- break;
- case '(':
- showFuncProto = true;
- //is this setting is on?
- if (!(TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_DISP_FUNC_CALLTIP)) {
- return;
- }
- rCtrl.PreviousChar(pos1, end);
- break;
- default:
- return;
- }
-
- //get expression
- wxString expr = GetExpression(currentPosition, false);
-
- // get the scope
- // Optimize the text for large files
- int line = rCtrl.LineFromPosition(rCtrl.GetCurrentPosition())+1;
- int startPos(0);
-
- // enable faster scope name resolving if needed
- if ( !(TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_ACCURATE_SCOPE_RESOLVING) ) {
- TagEntryPtr t = TagsManagerST::Get()->FunctionFromFileLine(rCtrl.GetFileName(), line);
- if ( t ) {
- startPos = rCtrl.PositionFromLine( t->GetLine() - 1);
- if ( startPos > currentPosition ) {
- startPos = 0;
- }
- }
- }
-
- wxString text = rCtrl.GetTextRange(startPos, currentPosition);
-
- // collect all text from 0 - first scope found
- // this will help us detect statements like 'using namespace foo;'
- if (startPos) { //> 0
- //get the first function on this file
- int endPos(0);
- int endPos1(0);
- int endPos2(0);
- TagEntryPtr t2 = TagsManagerST::Get()->FirstFunctionOfFile(rCtrl.GetFileName());
- if ( t2 ) {
- endPos1 = rCtrl.PositionFromLine( t2->GetLine() - 1);
- if (endPos1 > 0 && endPos1 <= startPos) {
- endPos = endPos1;
- }
- }
-
- TagEntryPtr t3 = TagsManagerST::Get()->FirstScopeOfFile(rCtrl.GetFileName());
- if ( t3 ) {
- endPos2 = rCtrl.PositionFromLine( t3->GetLine() - 1);
- if (endPos2 > 0 && endPos2 <= startPos && endPos2 < endPos1) {
- endPos = endPos2;
- }
- }
-
- wxString globalText = rCtrl.GetTextRange(0, endPos);
- globalText.Append(wxT(";"));
- text.Prepend(globalText);
- }
-
- std::vector<TagEntryPtr> candidates;
- if ( showFuncProto ) {
- //for function prototype, the last char entered was '(', this will break
- //the logic of the Getexpression() method to workaround this, we search for
- //expression one char before the current position
- expr = GetExpression(rCtrl.PositionBefore(currentPosition), false);
-
- //display function tooltip
- int word_end = rCtrl.WordEndPosition(end, true);
- int word_start = rCtrl.WordStartPosition(end, true);
-
- // get the token
- wxString word = rCtrl.GetTextRange(word_start, word_end);
- rCtrl.GetFunctionTip()->Add( TagsManagerST::Get()->GetFunctionTip(rCtrl.GetFileName(), line, expr, text, word) );
- rCtrl.GetFunctionTip()->Highlight(DoGetCalltipParamterIndex());
-
- // In an ideal world, we would like our tooltip to be placed
- // on top of the caret.
- wxPoint pt = rCtrl.PointFromPosition(currentPosition);
- rCtrl.GetFunctionTip()->Activate(pt, rCtrl.GetCurrLineHeight(), rCtrl.StyleGetBackground(wxSCI_C_DEFAULT));
-
- } else {
-
- if (TagsManagerST::Get()->AutoCompleteCandidates(rCtrl.GetFileName(), line, expr, text, candidates)) {
- DisplayCompletionBox(candidates, wxEmptyString, showFullDecl);
- }
- }
-
-}
-
-int ContextCpp::GetHyperlinkRange(int pos, int &start, int &end)
-{
- LEditor &rCtrl = GetCtrl();
- int lineNum = rCtrl.LineFromPosition(pos);
- wxString fileName;
- wxString line = rCtrl.GetLine(lineNum);
- if (IsIncludeStatement(line, &fileName)) {
- start = rCtrl.PositionFromLine(lineNum)+line.find(fileName);
- end = start + fileName.size();
- return start <= pos && pos <= end ? XRCID("open_include_file") : wxID_NONE;
- }
- return ContextBase::GetHyperlinkRange(pos, start, end);
-}
-
-void ContextCpp::GoHyperlink(int start, int end, int type, bool alt)
-{
- if (type == XRCID("open_include_file")) {
- m_selectedWord = GetCtrl().GetTextRange(start, end);
- DoOpenWorkspaceFile();
- } else {
- if (type == XRCID("find_tag")) {
- wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED,
- alt ? XRCID("find_impl") : XRCID("find_decl"));
- Frame::Get()->GetEventHandler()->AddPendingEvent(e);
- }
- }
-}
-
-void ContextCpp::DoOpenWorkspaceFile()
-{
- wxFileName fileName(m_selectedWord);
- wxString tmpName(m_selectedWord);
-
- tmpName.Replace(wxT("\\"), wxT("/"));
- if (tmpName.Contains(wxT("..")))
- tmpName = fileName.GetFullName();
-
- std::vector<wxFileName> files, files2;
- TagsManagerST::Get()->GetFiles(fileName.GetFullName(), files);
- //filter out the all files that does not have an exact match
- for (size_t i=0; i<files.size(); i++) {
- wxString curFileName = files.at(i).GetFullPath();
- curFileName.Replace(wxT("\\"), wxT("/"));
- if (curFileName.EndsWith(tmpName)) {
- files2.push_back(files.at(i));
- }
- }
-
- wxString fileToOpen;
- if (files2.size() > 1) {
- wxArrayString choices;
- for (size_t i=0; i<files2.size(); i++) {
- choices.Add(files2.at(i).GetFullPath());
- }
-
- fileToOpen = wxGetSingleChoice(wxT("Select file to open:"), wxT("Select file"), choices, &GetCtrl());
- } else if (files2.size() == 1) {
- fileToOpen = files2.at(0).GetFullPath();
- }
-
-
- if (fileToOpen.IsEmpty() == false) {
- Frame::Get()->GetMainBook()->OpenFile(fileToOpen);
- }
-}
-
-void ContextCpp::DoCreateFile(const wxFileName& fn)
-{
- // get the file name from the user
- wxString new_file = wxGetTextFromUser(_("New File Name:"), _("Create File"), fn.GetFullPath(), Frame::Get());
- if (new_file.IsEmpty()) {
- // user clicked cancel
- return;
- }
-
- // if the project is part of a project, add this file to the same project
- // (under the same virtual folder as well)
- if (GetCtrl().GetProject().IsEmpty() == false) {
- ProjectPtr p = ManagerST::Get()->GetProject(GetCtrl().GetProject());
- if (p) {
- wxString vd = p->GetVDByFileName(GetCtrl().GetFileName().GetFullPath());
- vd.Prepend(p->GetName() + wxT(":"));
-
- if (vd.IsEmpty() == false) {
- Frame::Get()->GetWorkspaceTab()->GetFileView()->CreateAndAddFile(new_file, vd);
- }
- }
- } else {
- // just a plain file
- wxFile file;
- if ( !file.Create ( new_file.GetData(), true ) )
- return;
-
- if ( file.IsOpened() ) {
- file.Close();
- }
- }
-
- TryOpenFile(wxFileName(new_file));
-}
-
-void ContextCpp::OnGotoFunctionStart(wxCommandEvent& event)
-{
- int line_number = GetCtrl().LineFromPosition(GetCtrl().GetCurrentPos());
- TagEntryPtr tag = TagsManagerST::Get()->FunctionFromFileLine(GetCtrl().GetFileName(), line_number);
- if (tag) {
- // move the caret to the function start
- BrowseRecord jumpfrom = GetCtrl().CreateBrowseRecord();
- GetCtrl().SetCaretAt(GetCtrl().PositionFromLine(tag->GetLine()-1));
- // add an entry to the navigation manager
- NavMgr::Get()->AddJump(jumpfrom, GetCtrl().CreateBrowseRecord());
- }
-}
-
-void ContextCpp::OnGotoNextFunction(wxCommandEvent& event)
-{
- int line_number = GetCtrl().LineFromPosition(GetCtrl().GetCurrentPos());
- TagEntryPtr tag = TagsManagerST::Get()->FunctionFromFileLine(GetCtrl().GetFileName(), line_number+1, true);
- if (tag) {
- // move the caret to the function start
- BrowseRecord jumpfrom = GetCtrl().CreateBrowseRecord();
- GetCtrl().SetCaretAt(GetCtrl().PositionFromLine(tag->GetLine()-1));
- // add an entry to the navigation manager
- NavMgr::Get()->AddJump(jumpfrom, GetCtrl().CreateBrowseRecord());
- }
-}
-
-void ContextCpp::OnCallTipClick(wxScintillaEvent& e)
-{
- wxUnusedVar(e);
-}
-
-void ContextCpp::OnCalltipCancel()
-{
-}
-
-int ContextCpp::DoGetCalltipParamterIndex()
-{
- int index(0);
- LEditor &ctrl = GetCtrl();
- int pos = ctrl.DoGetOpenBracePos();
- if (pos != wxNOT_FOUND) {
-
- // loop over the text from pos -> current position and count the number of commas found
- int depth(0);
- bool exit_loop(false);
-
- while ( pos < ctrl.GetCurrentPos() && !exit_loop ) {
- wxChar ch = ctrl.SafeGetChar(pos);
- wxChar ch_before = ctrl.SafeGetChar(ctrl.PositionBefore(pos));
-
- if (IsCommentOrString(pos)) {
- pos = ctrl.PositionAfter(pos);
- continue;
- }
-
- switch (ch) {
- case wxT(','):
- if (depth == 0) index++;
- break;
- case wxT('{'):
- case wxT('}'):
- case wxT(';'):
- // error?
- exit_loop = true;
- break;
- case wxT('('):
- case wxT('<'):
- case wxT('['):
- depth++;
- break;
- case wxT('>'):
- if ( ch_before == wxT('-') ) {
- // operator noting to do
- break;
- }
- // fall through
- case wxT(')'):
- case wxT(']'):
- depth--;
- break;
- default:
- break;
- }
- pos = ctrl.PositionAfter(pos);
- }
- }
- return index;
-}
-
-void ContextCpp::DoUpdateCalltipHighlight()
-{
- LEditor &ctrl = GetCtrl();
- if (ctrl.GetFunctionTip()->IsActive()) {
- ctrl.GetFunctionTip()->Highlight(DoGetCalltipParamterIndex());
- }
-}
-
-void ContextCpp::SemicolonShift()
-{
- int foundPos (wxNOT_FOUND);
- int semiColonPos(wxNOT_FOUND);
- LEditor &ctrl = GetCtrl();
- if (ctrl.NextChar(ctrl.GetCurrentPos(), semiColonPos) == wxT(')')) {
-
- // test to see if we are inside a 'for' statement
- long openBracePos (wxNOT_FOUND);
- int posWordBeforeOpenBrace(wxNOT_FOUND);
-
- if (ctrl.MatchBraceBack(wxT(')'), semiColonPos, openBracePos)) {
- ctrl.PreviousChar(openBracePos, posWordBeforeOpenBrace);
- if (posWordBeforeOpenBrace != wxNOT_FOUND) {
- wxString word = ctrl.PreviousWord(posWordBeforeOpenBrace, foundPos);
-
- // c++ expression with single line and should be treated separatly
- if ( word == wxT("for"))
- return;
-
- // At the current pos, we got a ';'
- // at semiColonPos we got ;
- // switch
- ctrl.DeleteBack();
- ctrl.SetCurrentPos(semiColonPos);
- ctrl.InsertText(semiColonPos, wxT(";"));
- ctrl.SetCaretAt(semiColonPos+1);
- ctrl.GetFunctionTip()->Deactivate();
- }
- }
- }
-}
diff --git a/LiteEditor/context_cpp.h b/LiteEditor/context_cpp.h
deleted file mode 100644
index 017c559f..00000000
--- a/LiteEditor/context_cpp.h
+++ /dev/null
@@ -1,213 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : context_cpp.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef CONTEXT_CPP_H
-#define CONTEXT_CPP_H
-
-#include "context_base.h"
-#include "cpptoken.h"
-#include "ctags_manager.h"
-#include <map>
-#include "entry.h"
-
-class RefactorSource;
-
-class ContextCpp : public ContextBase
-{
- std::map<wxString, int> m_propertyInt;
- wxMenu *m_rclickMenu;
-
- //images used by the C++ context
- static wxBitmap m_classBmp;
- static wxBitmap m_structBmp;
- static wxBitmap m_namespaceBmp;
- static wxBitmap m_variableBmp;
- static wxBitmap m_tpyedefBmp;
- static wxBitmap m_memberPrivateBmp;
- static wxBitmap m_memberPublicBmp;
- static wxBitmap m_memberProtectedeBmp;
- static wxBitmap m_functionPrivateBmp;
- static wxBitmap m_functionPublicBmp;
- static wxBitmap m_functionProtectedeBmp;
- static wxBitmap m_macroBmp;
- static wxBitmap m_enumBmp;
- static wxBitmap m_enumeratorBmp;
- static wxBitmap m_cppFileBmp;
- static wxBitmap m_hFileBmp;
- static wxBitmap m_otherFileBmp;
-
-private:
- bool TryOpenFile(const wxFileName &fileName);
- void DisplayCompletionBox(const std::vector<TagEntryPtr> &tags, const wxString &word, bool showFullDecl);
- void DisplayFilesCompletionBox(const wxString &word);
- bool DoGetFunctionBody(long curPos, long &blockStartPos, long &blockEndPos, wxString &content);
- void Initialize();
- void DoCodeComplete(long pos);
- void DoCreateFile(const wxFileName &fn);
- int DoGetCalltipParamterIndex();
- void DoUpdateCalltipHighlight();
-
-public:
- ContextCpp(LEditor *container);
- virtual ~ContextCpp();
- ContextCpp();
- virtual ContextBase *NewInstance(LEditor *container);
- virtual void CompleteWord();
- virtual void CodeComplete(long pos = wxNOT_FOUND);
- virtual void GotoDefinition();
- virtual void GotoPreviousDefintion();
- virtual TagEntryPtr GetTagAtCaret(bool scoped, bool impl);
- virtual void AutoIndent(const wxChar&);
- virtual bool IsCommentOrString(long pos);
- virtual bool IsComment(long pos);
- virtual void AddMenuDynamicContent(wxMenu *menu);
- virtual void RemoveMenuDynamicContent(wxMenu *menu);
- virtual void ApplySettings();
- virtual void RetagFile();
- virtual wxString CallTipContent();
- virtual void SetActive();
-
- virtual void SemicolonShift();
-
- // ctrl-click style navigation support
- virtual int GetHyperlinkRange(int pos, int &start, int &end);
- virtual void GoHyperlink(int start, int end, int type, bool alt);
-
- //override swapfiles features
- virtual void SwapFiles(const wxFileName &fileName);
-
- //Event handlers
- virtual void OnDwellEnd(wxScintillaEvent &event);
- virtual void OnDwellStart(wxScintillaEvent &event);
- virtual void OnDbgDwellEnd(wxScintillaEvent &event);
- virtual void OnDbgDwellStart(wxScintillaEvent &event);
- virtual void OnSciUpdateUI(wxScintillaEvent &event);
- virtual void OnFileSaved();
- virtual void AutoAddComment();
-
- //Capture menu events
- //return this context specific right click menu
- virtual wxMenu *GetMenu() {
- return m_rclickMenu;
- }
- virtual void OnSwapFiles(wxCommandEvent &event);
- virtual void OnInsertDoxyComment(wxCommandEvent &event);
- virtual void OnCommentSelection(wxCommandEvent &event);
- virtual void OnCommentLine(wxCommandEvent &event);
- virtual void OnGenerateSettersGetters(wxCommandEvent &event);
- virtual void OnFindImpl(wxCommandEvent &event);
- virtual void OnFindDecl(wxCommandEvent &event);
- virtual void OnGotoFunctionStart(wxCommandEvent &event);
- virtual void OnGotoNextFunction(wxCommandEvent& event);
- virtual void OnKeyDown(wxKeyEvent &event);
- virtual void OnUpdateUI(wxUpdateUIEvent &event);
- virtual void OnContextOpenDocument(wxCommandEvent &event);
- virtual void OnAddIncludeFile(wxCommandEvent &e);
- virtual void OnMoveImpl(wxCommandEvent &e);
- virtual void OnAddImpl(wxCommandEvent &e);
- virtual void OnAddMultiImpl(wxCommandEvent &e);
- virtual void OnOverrideParentVritualFunctions(wxCommandEvent &e);
- virtual void OnRenameFunction(wxCommandEvent &e);
- virtual void OnRetagFile(wxCommandEvent &e);
- virtual void OnUserTypedXChars(const wxString &word);
- virtual void OnCallTipClick(wxScintillaEvent &e);
- virtual void OnCalltipCancel();
- DECLARE_EVENT_TABLE();
-
-private:
- wxString GetWordUnderCaret();
- wxString GetFileImageString(const wxString &ext);
- wxString GetImageString(const TagEntry &entry);
- wxString GetExpression(long pos, bool onlyWord, LEditor *editor = NULL, bool forCC = true);
- void DoGotoSymbol(TagEntryPtr tag);
- bool IsIncludeStatement(const wxString &line, wxString *fileName = NULL);
- void RemoveDuplicates(std::vector<TagEntryPtr>& src, std::vector<TagEntryPtr>& target);
- int FindLineToAddInclude();
- void MakeCppKeywordsTags(const wxString &word, std::vector<TagEntryPtr> &tags);
- void DoOpenWorkspaceFile();
-
-public:
- void DoMakeDoxyCommentString(DoxygenComment &dc);
-
-private:
- /**
- * \brief try to find a swapped file for this rhs. The logic is based on the C++ coding conventions
- * a swapped file for a.cpp will be a.h or a.hpp
- * \param rhs input
- * \param lhs output
- * \return true if such sibling file exist, false otherwise
- */
- bool FindSwappedFile(const wxFileName &rhs, wxString &lhs);
-
- /**
- * \brief parse list of files and construct a token database that will be used for refactoring
- * \param word word to search
- * \param files list of files to parse
- */
- void BuildRefactorDatabase(const wxString& word, CppTokensMap &l);
-
- /**
- * \brief replace list of tokens representd by li with 'word'
- * \param li
- * \return
- */
- void ReplaceInFiles(const wxString &word, std::list<CppToken> &li);
-
- /**
- * \brief
- * \param ctrl
- * \param pos
- * \param word
- * \param rs
- * \return
- */
- bool ResolveWord(LEditor *ctrl, int pos, const wxString &word, RefactorSource *rs);
-
- /**
- * \brief open file specified by the 'fileName' parameter and append 'text'
- * to its content
- * \param fileName file to open. Must be in full path
- * \param text string text to append
- * \return true on success, false otherwise
- */
- LEditor* OpenFileAndAppend(const wxString &fileName, const wxString &text);
-
- /**
- * @brief open file specified by the 'fileName' parameter and append 'text'
- * to its content
- * @param fileName file to open. Must be in full path
- * @param text string text to append
- * @param format set to true of formatting should take place after text insertion
- * @return true on success, false otherwise
- */
- bool OpenFileAppendAndFormat(const wxString &fileName, const wxString &text, bool format);
-
- /**
- * @brief format editor
- * @param editor
- */
- void DoFormatEditor(LEditor *editor);
-};
-
-#endif // CONTEXT_CPP_H
diff --git a/LiteEditor/context_diff.cpp b/LiteEditor/context_diff.cpp
deleted file mode 100644
index b3a987e9..00000000
--- a/LiteEditor/context_diff.cpp
+++ /dev/null
@@ -1,109 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : context_diff.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include <wx/regex.h>
-#include "frame.h"
-#include "manager.h"
-#include "editor_config.h"
-#include "cl_editor.h"
-#include "context_diff.h"
-
-ContextDiff::ContextDiff()
- : ContextBase(wxT("Diff"))
-{
-}
-
-ContextDiff::ContextDiff(LEditor *container)
- : ContextBase(container)
-{
- SetName(wxT("Diff"));
- ApplySettings();
-}
-
-ContextDiff::~ContextDiff()
-{
-}
-
-ContextBase* ContextDiff::NewInstance(LEditor* container)
-{
- return new ContextDiff(container);
-}
-
-void ContextDiff::ApplySettings()
-{
- LexerConfPtr lexPtr;
- if (EditorConfigST::Get()->IsOk()) {
- lexPtr = EditorConfigST::Get()->GetLexer(GetName());
- }
- GetCtrl().SetLexer(lexPtr ? lexPtr->GetLexerId() : wxSCI_LEX_NULL);
- DoApplySettings(lexPtr);
-}
-
-int ContextDiff::GetHyperlinkRange(int pos, int& start, int& end)
-{
- LEditor &rCtrl = GetCtrl();
- int lineNum = rCtrl.LineFromPosition(pos);
- wxString line = rCtrl.GetLine(lineNum);
- wxString fileName;
- if (line.StartsWith(wxT("Index: "), &fileName) || line.StartsWith(wxT("--- "), &fileName) || line.StartsWith(wxT("+++ "), &fileName)) {
- fileName = fileName.BeforeFirst(wxT('(')).Trim(false).Trim();
- start = rCtrl.PositionFromLine(lineNum) + line.find(fileName);
- end = start + fileName.size();
- return start <= pos && pos <= end ? XRCID("open_working_copy") : wxID_NONE;
- }
- wxString edit;
- if (line.StartsWith(wxT("@@ ")) && line.Trim().EndsWith(wxT(" @@"))) {
- start = rCtrl.PositionFromLine(lineNum);
- end = rCtrl.GetLineEndPosition(lineNum);
- return XRCID("open_at_line");
- }
- return wxID_NONE;
-}
-
-void ContextDiff::GoHyperlink(int start, int end, int type, bool alt)
-{
- LEditor &rCtrl = GetCtrl();
-
- wxString text = rCtrl.GetTextRange(start, end);
- wxString fileName;
- int lineNum = wxNOT_FOUND;
-
- if (type == XRCID("open_working_copy")) {
- fileName = text;
- } else if (type == XRCID("open_at_line")) {
- wxRegEx re(wxT("@@ -[0-9]+,[0-9]+ \\+([0-9]+),[0-9]+ @@"));
- size_t start, len;
- long line;
- if (re.IsValid() && re.Matches(text) && re.GetMatch(&start, &len, 1) && text.Mid(start,len).ToLong(&line)) {
- lineNum = line;
- }
- // FIXME: search backwards for "+++ filename", since this could be a directory diff
- rCtrl.GetFileName().GetFullName().EndsWith(wxT(".diff"), &fileName);
- }
- wxFileName fn = ManagerST::Get()->FindFile(fileName);
- if (fn.IsOk()) {
- Frame::Get()->GetMainBook()->OpenFile(fn.GetFullPath(), wxEmptyString, lineNum);
- }
-}
-
diff --git a/LiteEditor/context_diff.h b/LiteEditor/context_diff.h
deleted file mode 100644
index f5627c32..00000000
--- a/LiteEditor/context_diff.h
+++ /dev/null
@@ -1,45 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : context_diff.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __contextdiff__
-#define __contextdiff__
-
-class LEditor;
-
-
-class ContextDiff : public ContextBase
-{
-public:
- ContextDiff();
- ContextDiff(LEditor *container);
- ~ContextDiff();
-
- virtual void ApplySettings();
- virtual ContextBase* NewInstance(LEditor *container);
-
- // ctrl-click style navigation support
- virtual int GetHyperlinkRange(int pos, int &start, int &end);
- virtual void GoHyperlink(int start, int end, int type, bool alt);
-};
-
-#endif // __contextdiff__
diff --git a/LiteEditor/context_manager.cpp b/LiteEditor/context_manager.cpp
deleted file mode 100644
index c53e6212..00000000
--- a/LiteEditor/context_manager.cpp
+++ /dev/null
@@ -1,90 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : context_manager.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/tokenzr.h>
-#include "context_manager.h"
-#include "context_cpp.h"
-#include "context_diff.h"
-#include "context_base.h"
-#include "generic_context.h"
-#include "editor_config.h"
-
-ContextManager::ContextManager()
-{
- // register available contexts
- m_contextPool[wxT("C++")] = new ContextCpp();
- m_contextPool[wxT("Diff")] = new ContextDiff();
-
- // load generic lexers
- EditorConfig::ConstIterator iter = EditorConfigST::Get()->LexerBegin();
- for(; iter != EditorConfigST::Get()->LexerEnd(); iter++){
- LexerConfPtr lex = iter->second;
- if (m_contextPool.find(lex->GetName()) == m_contextPool.end()) {
- m_contextPool[lex->GetName()] = new ContextGeneric(lex->GetName());
- }
- }
-
- // make sure there is a "fallback" lexer for unrecognized file types
- if (m_contextPool.find(wxT("Text")) == m_contextPool.end()) {
- m_contextPool[wxT("Text")] = new ContextGeneric(wxT("Text"));
- }
-}
-
-ContextManager::~ContextManager()
-{
-}
-
-ContextBasePtr ContextManager::NewContext(LEditor *parent, const wxString &lexerName)
-{
- // this function is actually a big switch ....
- std::map<wxString, ContextBasePtr>::iterator iter = m_contextPool.find(lexerName);
- if( iter == m_contextPool.end()){
- return m_contextPool[wxT("Text")]->NewInstance(parent);
- }
-
- return iter->second->NewInstance((LEditor*)parent);
-}
-
-ContextBasePtr ContextManager::NewContextByFileName (LEditor *parent, const wxFileName &fileName)
-{
- EditorConfig::ConstIterator iter = EditorConfigST::Get()->LexerBegin();
- for ( ; iter != EditorConfigST::Get()->LexerEnd(); iter++ ) {
- LexerConfPtr lexer = iter->second;
- wxString lexExt = lexer->GetFileSpec();
- wxStringTokenizer tkz ( lexExt, wxT ( ";" ) );
- while ( tkz.HasMoreTokens() ) {
- wxString ext = tkz.NextToken();
- wxString fullname = fileName.GetFullName();
-
- ext.MakeLower(); fullname.MakeLower();
- if ( wxMatchWild ( ext, fullname ) ) {
- return ContextManager::Get()->NewContext ( parent, lexer->GetName() );
- }
- }
- }
-
- // return the default context
- return ContextManager::Get()->NewContext ( parent, wxT ( "Text" ) );
-}
-
diff --git a/LiteEditor/context_manager.h b/LiteEditor/context_manager.h
deleted file mode 100644
index 2b9d02a4..00000000
--- a/LiteEditor/context_manager.h
+++ /dev/null
@@ -1,55 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : context_manager.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef CONTEXT_MANAGER_H
-#define CONTEXT_MANAGER_H
-
-#include "singleton.h"
-#include "wx/string.h"
-#include "map"
-#include "context_base.h"
-#include "wx/window.h"
-
-class ContextManager;
-
-class ContextManager : public Singleton<ContextManager> {
- friend class Singleton<ContextManager>;
- std::map<wxString, ContextBasePtr> m_contextPool;
-
-public:
- /**
- * Return new context by name
- * \param lexerName the lexer name
- * \param parent the context parent
- * \return
- */
- ContextBasePtr NewContext(LEditor *parent, const wxString &lexerName);
-
- ContextBasePtr NewContextByFileName(LEditor *parent, const wxFileName &fileName);
-
-private:
- ContextManager();
- virtual ~ContextManager();
-};
-#endif // CONTEXT_MANAGER_H
diff --git a/LiteEditor/contributers.h b/LiteEditor/contributers.h
deleted file mode 100644
index d5213db6..00000000
--- a/LiteEditor/contributers.h
+++ /dev/null
@@ -1,66 +0,0 @@
-const char about_hex [] ={
- 0x3C,0x68,0x74,0x6D,0x6C,0x3E,0x0D,0x0A,0x3C,0x62,0x6F,0x64,0x79,0x3E,
- 0x0D,0x0A,0x3C,0x74,0x61,0x62,0x6C,0x65,0x20,0x77,0x69,0x64,0x74,0x68,
- 0x3D,0x22,0x31,0x30,0x30,0x25,0x22,0x20,0x62,0x6F,0x72,0x64,0x65,0x72,
- 0x3D,0x30,0x3E,0x0D,0x0A,0x3C,0x74,0x72,0x3E,0x3C,0x74,0x64,0x20,0x76,
- 0x61,0x6C,0x69,0x67,0x6E,0x3D,0x74,0x6F,0x70,0x20,0x63,0x6F,0x6C,0x73,
- 0x70,0x61,0x6E,0x3D,0x32,0x20,0x62,0x67,0x63,0x6F,0x6C,0x6F,0x72,0x3D,
- 0x22,0x4C,0x49,0x47,0x48,0x54,0x20,0x42,0x4C,0x55,0x45,0x22,0x3E,0x3C,
- 0x73,0x74,0x72,0x6F,0x6E,0x67,0x3E,0x44,0x65,0x76,0x65,0x6C,0x6F,0x70,
- 0x65,0x72,0x73,0x3C,0x2F,0x73,0x74,0x72,0x6F,0x6E,0x67,0x3E,0x3C,0x2F,
- 0x74,0x64,0x3E,0x3C,0x2F,0x74,0x72,0x3E,0x0D,0x0A,0x3C,0x74,0x72,0x3E,
- 0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,0x67,0x6E,0x3D,0x74,0x6F,0x70,
- 0x3E,0x45,0x72,0x61,0x6E,0x20,0x49,0x66,0x72,0x61,0x68,0x3C,0x2F,0x74,
- 0x64,0x3E,0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,0x67,0x6E,0x3D,0x74,
- 0x6F,0x70,0x3E,0x50,0x72,0x6F,0x6A,0x65,0x63,0x74,0x20,0x61,0x64,0x6D,
- 0x69,0x6E,0x20,0x61,0x6E,0x64,0x20,0x63,0x6F,0x72,0x65,0x20,0x64,0x65,
- 0x76,0x65,0x6C,0x6F,0x70,0x65,0x72,0x2E,0x3C,0x2F,0x74,0x64,0x3E,0x3C,
- 0x2F,0x74,0x72,0x3E,0x0D,0x0A,0x3C,0x74,0x72,0x3E,0x3C,0x74,0x64,0x20,
- 0x76,0x61,0x6C,0x69,0x67,0x6E,0x3D,0x74,0x6F,0x70,0x3E,0x20,0x26,0x6E,
- 0x62,0x73,0x70,0x20,0x3C,0x2F,0x74,0x64,0x3E,0x3C,0x2F,0x74,0x72,0x3E,
- 0x0D,0x0A,0x3C,0x74,0x72,0x3E,0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,
- 0x67,0x6E,0x3D,0x74,0x6F,0x70,0x20,0x63,0x6F,0x6C,0x73,0x70,0x61,0x6E,
- 0x3D,0x32,0x20,0x62,0x67,0x63,0x6F,0x6C,0x6F,0x72,0x3D,0x22,0x4C,0x49,
- 0x47,0x48,0x54,0x20,0x42,0x4C,0x55,0x45,0x22,0x3E,0x3C,0x73,0x74,0x72,
- 0x6F,0x6E,0x67,0x3E,0x43,0x6F,0x6E,0x74,0x72,0x69,0x62,0x75,0x74,0x65,
- 0x72,0x73,0x20,0x2F,0x20,0x53,0x70,0x65,0x63,0x69,0x61,0x6C,0x20,0x74,
- 0x68,0x61,0x6E,0x6B,0x73,0x3C,0x2F,0x73,0x74,0x72,0x6F,0x6E,0x67,0x3E,
- 0x3C,0x2F,0x74,0x64,0x3E,0x3C,0x2F,0x74,0x72,0x3E,0x0D,0x0A,0x3C,0x74,
- 0x72,0x3E,0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,0x67,0x6E,0x3D,0x74,
- 0x6F,0x70,0x3E,0x44,0x61,0x76,0x69,0x64,0x20,0x48,0x61,0x72,0x74,0x3C,
- 0x2F,0x74,0x64,0x3E,0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,0x67,0x6E,
- 0x3D,0x74,0x6F,0x70,0x3E,0x4C,0x69,0x6E,0x75,0x78,0x20,0x36,0x34,0x62,
- 0x69,0x74,0x2C,0x20,0x72,0x70,0x6D,0x20,0x70,0x61,0x63,0x6B,0x61,0x67,
- 0x69,0x6E,0x67,0x2C,0x20,0x70,0x61,0x74,0x63,0x68,0x65,0x73,0x3C,0x2F,
- 0x74,0x64,0x3E,0x3C,0x2F,0x74,0x72,0x3E,0x0D,0x0A,0x3C,0x74,0x72,0x3E,
- 0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,0x67,0x6E,0x3D,0x74,0x6F,0x70,
- 0x3E,0x46,0x72,0x61,0x6E,0x6B,0x20,0x4C,0x69,0x63,0x68,0x74,0x6E,0x65,
- 0x72,0x3C,0x2F,0x74,0x64,0x3E,0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,
- 0x67,0x6E,0x3D,0x74,0x6F,0x70,0x3E,0x53,0x6E,0x69,0x70,0x57,0x69,0x7A,
- 0x20,0x70,0x6C,0x75,0x67,0x69,0x6E,0x20,0x64,0x65,0x76,0x65,0x6C,0x6F,
- 0x70,0x65,0x72,0x3C,0x2F,0x74,0x64,0x3E,0x3C,0x2F,0x74,0x72,0x3E,0x0D,
- 0x0A,0x3C,0x74,0x72,0x3E,0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,0x67,
- 0x6E,0x3D,0x74,0x6F,0x70,0x3E,0x4A,0x61,0x63,0x65,0x6B,0x20,0x4B,0x75,
- 0x63,0x68,0x61,0x72,0x73,0x6B,0x69,0x3C,0x2F,0x74,0x64,0x3E,0x3C,0x74,
- 0x64,0x20,0x76,0x61,0x6C,0x69,0x67,0x6E,0x3D,0x74,0x6F,0x70,0x3E,0x55,
- 0x6E,0x69,0x63,0x6F,0x64,0x65,0x20,0x61,0x6E,0x64,0x20,0x4D,0x75,0x6C,
- 0x74,0x69,0x62,0x79,0x74,0x65,0x20,0x73,0x75,0x70,0x70,0x6F,0x72,0x74,
- 0x3C,0x2F,0x74,0x64,0x3E,0x3C,0x2F,0x74,0x72,0x3E,0x0D,0x0A,0x3C,0x74,
- 0x72,0x3E,0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,0x67,0x6E,0x3D,0x74,
- 0x6F,0x70,0x3E,0x4D,0x61,0x72,0x69,0x61,0x6E,0x6E,0x65,0x20,0x47,0x61,
- 0x67,0x6E,0x6F,0x6E,0x3C,0x2F,0x74,0x64,0x3E,0x3C,0x74,0x64,0x20,0x76,
- 0x61,0x6C,0x69,0x67,0x6E,0x3D,0x74,0x6F,0x70,0x3E,0x4D,0x61,0x63,0x20,
- 0x50,0x50,0x43,0x20,0x70,0x61,0x63,0x6B,0x61,0x67,0x69,0x6E,0x67,0x20,
- 0x61,0x6E,0x64,0x20,0x69,0x6E,0x69,0x74,0x69,0x61,0x6C,0x20,0x70,0x6F,
- 0x72,0x74,0x65,0x72,0x20,0x74,0x6F,0x20,0x4D,0x61,0x63,0x20,0x4F,0x53,
- 0x20,0x58,0x3C,0x2F,0x74,0x64,0x3E,0x3C,0x2F,0x74,0x72,0x3E,0x0D,0x0A,
- 0x3C,0x74,0x72,0x3E,0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,0x69,0x67,0x6E,
- 0x3D,0x74,0x6F,0x70,0x3E,0x53,0x63,0x6F,0x74,0x74,0x20,0x44,0x6F,0x6C,
- 0x69,0x6D,0x3C,0x2F,0x74,0x64,0x3E,0x3C,0x74,0x64,0x20,0x76,0x61,0x6C,
- 0x69,0x67,0x6E,0x3D,0x74,0x6F,0x70,0x3E,0x56,0x61,0x72,0x69,0x6F,0x75,
- 0x73,0x20,0x69,0x6D,0x70,0x72,0x6F,0x76,0x65,0x6D,0x65,0x6E,0x74,0x73,
- 0x20,0x2F,0x20,0x62,0x75,0x67,0x20,0x66,0x69,0x78,0x65,0x73,0x3C,0x2F,
- 0x74,0x64,0x3E,0x3C,0x2F,0x74,0x72,0x3E,0x0D,0x0A,0x3C,0x2F,0x74,0x61,
- 0x62,0x6C,0x65,0x3E,0x0D,0x0A,0x3C,0x2F,0x62,0x6F,0x64,0x79,0x3E,0x0D,
- 0x0A,0x3C,0x2F,0x68,0x74,0x6D,0x6C,0x3E,0x0D,0x0A,
- 0x00};
diff --git a/LiteEditor/cpp_symbol_tree.cpp b/LiteEditor/cpp_symbol_tree.cpp
deleted file mode 100644
index 11c6d033..00000000
--- a/LiteEditor/cpp_symbol_tree.cpp
+++ /dev/null
@@ -1,231 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : cpp_symbol_tree.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "precompiled_header.h"
-#include "stringsearcher.h"
-#include "stringsearcher.h"
-#include "cl_editor.h"
-
-#include "cpp_symbol_tree.h"
-#include "manager.h"
-#include "frame.h"
-#include <wx/xrc/xmlres.h>
-#include <wx/imaglist.h>
-
-IMPLEMENT_DYNAMIC_CLASS(CppSymbolTree, SymbolTree)
-
-const wxEventType wxEVT_CMD_CPP_SYMBOL_ITEM_SELECTED = wxNewEventType();
-
-//----------------------------------------------------------------
-// accessory function
-//----------------------------------------------------------------
-wxImageList* CreateSymbolTreeImages()
-{
- wxImageList *images = new wxImageList(16, 16, true);
-
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("project"))); // 0
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("namespace"))); // 1
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("globals"))); // 2
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("class"))); // 3
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("struct"))); // 4
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("func_public"))); // 5
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("func_protected"))); // 6
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("func_private"))); // 7
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("member_public"))); // 8
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("member_protected")));// 9
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("member_private"))); // 10
-
- wxBitmap bmp;
-
- // typedef
- bmp = wxXmlResource::Get()->LoadBitmap(_T("typedef")); // 11
- bmp.SetMask(new wxMask(bmp, wxColor(0, 128, 128)));
- images->Add(bmp);
-
- // macro (same icon as typedef)
- bmp = wxXmlResource::Get()->LoadBitmap(_T("typedef")); // 12
- bmp.SetMask(new wxMask(bmp, wxColor(0, 128, 128)));
- images->Add(bmp);
-
- bmp = wxXmlResource::Get()->LoadBitmap(_T("enum")); // 13
- bmp.SetMask(new wxMask(bmp, wxColor(0, 128, 128)));
- images->Add(bmp);
-
- bmp = wxXmlResource::Get()->LoadBitmap(wxT("enumerator")); //14
- images->Add(bmp);
-
- bmp = wxXmlResource::Get()->LoadBitmap(wxT("class_view")); //15
- images->Add(bmp);
- return images;
-}
-
-CppSymbolTree::CppSymbolTree()
-{
-}
-
-CppSymbolTree::CppSymbolTree(wxWindow *parent, const wxWindowID id, const wxPoint &pos, const wxSize &size, long style)
- : SymbolTree(parent, id, pos, size, style)
-{
- Connect(GetId(), wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, wxTreeEventHandler(CppSymbolTree::OnMouseRightUp));
- Connect(GetId(), wxEVT_LEFT_DCLICK, wxMouseEventHandler(CppSymbolTree::OnMouseDblClick));
- Connect(GetId(), wxEVT_COMMAND_TREE_KEY_DOWN, wxTreeEventHandler(CppSymbolTree::OnItemActivated));
-}
-
-void CppSymbolTree::OnMouseRightUp(wxTreeEvent &event)
-{
- wxTreeItemId item = event.GetItem();
- if (item.IsOk()) {
- SelectItem(item, true);
- }
-}
-
-void CppSymbolTree::OnMouseDblClick(wxMouseEvent& event)
-{
- //-----------------------------------------------------
- // We override the doubleclick on item event
- // to demonstrate how to access the tag information
- // stored in the symbol tree
- //-----------------------------------------------------
-
- wxTreeItemId treeItem = GetSelection();
- if (!treeItem) {
- event.Skip();
- return;
- }
-
- // Make sure the double click was done on an actual item
- int flags = wxTREE_HITTEST_ONITEMLABEL;
- if (HitTest(event.GetPosition(), flags) != treeItem) {
- event.Skip();
- return;
- }
-
- DoItemActivated(treeItem, event, true);
-}
-
-bool CppSymbolTree::ActivateSelectedItem()
-{
- wxTreeItemId item = GetSelection();
- wxTreeEvent dummy;
- return DoItemActivated(item, dummy, true);
-}
-
-bool CppSymbolTree::DoItemActivated(wxTreeItemId item, wxEvent &event, bool notify)
-{
- //-----------------------------------------------------
- // Each tree items, keeps a private user data that
- // holds the key for searching the its corresponding
- // node in the m_tree data structure
- //-----------------------------------------------------
- if (item.IsOk() == false)
- return false;
-
- MyTreeItemData* itemData = static_cast<MyTreeItemData*>(GetItemData(item));
- if ( !itemData ) {
- event.Skip();
- return false;
- }
-
- wxString filename = itemData->GetFileName();
- wxString project = ManagerST::Get()->GetProjectNameByFile(filename);
- wxString pattern = itemData->GetPattern();
- int lineno = itemData->GetLine();
-
- // Open the file and set the cursor to line number
- if(Frame::Get()->GetMainBook()->OpenFile(filename, project, lineno-1)) {
- // get the editor, and search for the pattern in the file
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (editor) {
- FindAndSelect(editor, pattern, GetItemText(item));
- }
- }
-
- // post an event that an item was activated
- if ( notify ) {
- wxCommandEvent e(wxEVT_CMD_CPP_SYMBOL_ITEM_SELECTED);
- e.SetEventObject(this);
- wxPostEvent(GetEventHandler(), e);
- }
- return true;
-}
-
-void CppSymbolTree::OnItemActivated(wxTreeEvent &event)
-{
- if (event.GetKeyCode() == WXK_RETURN) {
- wxTreeItemId item = GetSelection();
- DoItemActivated(item, event, true);
- } else {
- event.Skip();
- }
-}
-
-void CppSymbolTree::AdvanceSelection(bool forward)
-{
- wxTreeItemId item = GetSelection();
- if (!item.IsOk()) {
- return;
- }
-
- wxTreeItemId nextItem;
- if (forward) {
- //Item is visible, scroll to it to make sure GetNextVisible() wont
- //fail
- ScrollTo(item);
- nextItem = GetNextVisible(item);
- } else {
- nextItem = TryGetPrevItem(item);
- }
-
- if (nextItem.IsOk()) {
- SelectItem(nextItem);
- }
-}
-
-wxTreeItemId CppSymbolTree::TryGetPrevItem(wxTreeItemId item)
-{
- wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
-
- // find out the starting point
- wxTreeItemId prevItem = GetPrevSibling(item);
- if ( !prevItem.IsOk() ) {
- prevItem = GetItemParent(item);
- }
-
- // from there we must be able to navigate until this item
- while ( prevItem.IsOk() ) {
- ScrollTo(prevItem);
- const wxTreeItemId nextItem = GetNextVisible(prevItem);
- if ( !nextItem.IsOk() || nextItem == item )
- return prevItem;
-
- prevItem = nextItem;
- }
-
- return wxTreeItemId();
-}
-
-void CppSymbolTree::FindAndSelect(LEditor* editor, wxString& pattern, const wxString& name)
-{
- editor->FindAndSelect(pattern, name);
-}
diff --git a/LiteEditor/cpp_symbol_tree.h b/LiteEditor/cpp_symbol_tree.h
deleted file mode 100644
index bbdc74e6..00000000
--- a/LiteEditor/cpp_symbol_tree.h
+++ /dev/null
@@ -1,72 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : cpp_symbol_tree.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef LITEEDITOR_CPP_SYMBOL_TREE_H
-#define LITEEDITOR_CPP_SYMBOL_TREE_H
-
-#include "symbol_tree.h"
-#include "stack"
-
-extern const wxEventType wxEVT_CMD_CPP_SYMBOL_ITEM_SELECTED;
-
-/// This class represents the GUI tree for the C++ symbols
-class CppSymbolTree : public SymbolTree
-{
- std::stack<wxTreeItemId> m_itemsStack;
-
-public:
-
- CppSymbolTree();
-
- /// Nothing special here, just call our parent constructor
- CppSymbolTree(wxWindow *parent, const wxWindowID id, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxTR_HIDE_ROOT | wxTR_HAS_BUTTONS);
-
-
- /// destructor
- virtual ~CppSymbolTree()
- {};
-
- //activate the selected item.
- //If there is no selection, retun false,
- //else try to open the file associated with the
- //selected item
- //return true on successfull operation false otherwise
- bool ActivateSelectedItem();
-
- //advance the selection to next item (if possible)
- void AdvanceSelection(bool forward = true);
-
-protected:
- virtual void OnMouseDblClick(wxMouseEvent& event);
- virtual void OnMouseRightUp(wxTreeEvent& event);
- virtual void OnItemActivated(wxTreeEvent &event);
- bool DoItemActivated(wxTreeItemId item, wxEvent &event, bool notify);
- void FindAndSelect(LEditor *editor, wxString &pattern, const wxString &name);
-
- wxTreeItemId TryGetPrevItem(wxTreeItemId item);
-
- DECLARE_DYNAMIC_CLASS(CppSymbolTree)
-};
-
-#endif // LITEEDITOR_CPP_SYMBOL_TREE_H
diff --git a/LiteEditor/customstatusbar.cpp b/LiteEditor/customstatusbar.cpp
deleted file mode 100644
index 2d54e246..00000000
--- a/LiteEditor/customstatusbar.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : customstatusbar.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "progressctrl.h"
-#include "customstatusbar.h"
-
-BEGIN_EVENT_TABLE(CustomStatusBar, wxStatusBar)
-EVT_SIZE(CustomStatusBar::OnSize)
-END_EVENT_TABLE()
-
-CustomStatusBar::CustomStatusBar(wxWindow *parent, wxWindowID id)
-: wxStatusBar(parent, id)
-{
- SetFieldsCount(5);
- m_gauge = new ProgressCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize);
- m_gauge->SetMaxRange(200);
-}
-
-CustomStatusBar::~CustomStatusBar()
-{
-}
-
-void CustomStatusBar::OnSize(wxSizeEvent& event)
-{
- if ( !m_gauge ){
- event.Skip();
- return;
- }
-
- wxRect rect;
- GetFieldRect(4, rect);
- m_gauge->SetSize(rect.x+1, rect.y+1, rect.width-2, rect.height-2);
- event.Skip();
-}
-
-void CustomStatusBar::ResetGauge(int range)
-{
- m_gauge->SetMaxRange((size_t)range);
- m_gauge->Update(0, wxEmptyString);
-}
-
-void CustomStatusBar::Update(int value, const wxString& message)
-{
- m_gauge->Update((size_t)value, message);
-}
diff --git a/LiteEditor/customstatusbar.h b/LiteEditor/customstatusbar.h
deleted file mode 100644
index 038ac246..00000000
--- a/LiteEditor/customstatusbar.h
+++ /dev/null
@@ -1,56 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : customstatusbar.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __customstatusbar__
-#define __customstatusbar__
-
-#include <wx/statusbr.h>
-#include <wx/gauge.h>
-
-class ProgressCtrl;
-
-class CustomStatusBar : public wxStatusBar {
- ProgressCtrl *m_gauge;
-public:
- CustomStatusBar(wxWindow *parent, wxWindowID id = wxID_ANY);
- virtual ~CustomStatusBar();
-
- /**
- * @brief clear the gauge and set its max range
- * @param range new gauge range
- */
- void ResetGauge(int range);
-
- /**
- * @brief
- * @param vlaue
- * @param message
- */
- void Update(int vlaue, const wxString &message);
-
- // event handlers
- DECLARE_EVENT_TABLE()
- void OnSize(wxSizeEvent& event);
-};
-#endif // __customstatusbar__
diff --git a/LiteEditor/dbgcommandbasedlg.cpp b/LiteEditor/dbgcommandbasedlg.cpp
deleted file mode 100644
index c7867057..00000000
--- a/LiteEditor/dbgcommandbasedlg.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "dbgcommandbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-DbgCommandBaseDlg::DbgCommandBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer1->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_textCtrlName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_textCtrlName, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Expression:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer1->Add( m_staticText3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_textCtrlCommand = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_textCtrlCommand, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Debugger command:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- fgSizer1->Add( m_staticText4, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrtDebuggerCommand = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_textCtrtDebuggerCommand, 0, wxALL|wxEXPAND, 5 );
-
- bSizer7->Add( fgSizer1, 1, wxEXPAND|wxALL, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer7->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- bSizer8->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer7->Add( bSizer8, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
-
- this->SetSizer( bSizer7 );
- this->Layout();
-
- this->Centre( wxBOTH );
-}
-
-DbgCommandBaseDlg::~DbgCommandBaseDlg()
-{
-}
diff --git a/LiteEditor/dbgcommandbasedlg.h b/LiteEditor/dbgcommandbasedlg.h
deleted file mode 100644
index 4965eac6..00000000
--- a/LiteEditor/dbgcommandbasedlg.h
+++ /dev/null
@@ -1,50 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __dbgcommandbasedlg__
-#define __dbgcommandbasedlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DbgCommandBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class DbgCommandBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText2;
- wxTextCtrl* m_textCtrlName;
- wxStaticText* m_staticText3;
- wxTextCtrl* m_textCtrlCommand;
- wxStaticText* m_staticText4;
- wxTextCtrl* m_textCtrtDebuggerCommand;
- wxStaticLine* m_staticline2;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- public:
- DbgCommandBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Debugger Type"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 456,190 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~DbgCommandBaseDlg();
-
-};
-
-#endif //__dbgcommandbasedlg__
diff --git a/LiteEditor/dbgcommanddlg.cpp b/LiteEditor/dbgcommanddlg.cpp
deleted file mode 100644
index 71deb340..00000000
--- a/LiteEditor/dbgcommanddlg.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : dbgcommanddlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "dbgcommanddlg.h"
-#include "windowattrmanager.h"
-
-DbgCommandDlg::DbgCommandDlg( wxWindow* parent )
- : DbgCommandBaseDlg( parent )
-{
- Centre();
- GetSizer()->Fit(this);
- m_textCtrlName->SetFocus();
-
- WindowAttrManager::Load(this, wxT("dbgcommanddlg"), NULL);
-}
-
-DbgCommandDlg::~DbgCommandDlg()
-{
- WindowAttrManager::Save(this, wxT("dbgcommanddlg"), NULL);
-}
diff --git a/LiteEditor/dbgcommanddlg.h b/LiteEditor/dbgcommanddlg.h
deleted file mode 100644
index 5cc7a4f5..00000000
--- a/LiteEditor/dbgcommanddlg.h
+++ /dev/null
@@ -1,52 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : dbgcommanddlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __dbgcommanddlg__
-#define __dbgcommanddlg__
-
-/**
-@file
-Subclass of DbgCommandBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "dbgcommandbasedlg.h"
-
-/** Implementing DbgCommandBaseDlg */
-class DbgCommandDlg : public DbgCommandBaseDlg
-{
-public:
- /** Constructor */
- DbgCommandDlg( wxWindow* parent );
- virtual ~DbgCommandDlg();
-
- wxString GetExpression(){return m_textCtrlCommand->GetValue();}
- wxString GetName (){return m_textCtrlName->GetValue();}
- wxString GetDbgCommand(){return m_textCtrtDebuggerCommand->GetValue();}
-
- void SetDbgCommand(const wxString &dbgCmd){m_textCtrtDebuggerCommand->SetValue(dbgCmd);}
- void SetName (const wxString &name){m_textCtrlName->SetValue(name);}
- void SetExpression(const wxString &cmd){m_textCtrlCommand->SetValue(cmd);}
-};
-
-#endif // __dbgcommanddlg__
diff --git a/LiteEditor/debuggerasciiviewer.cpp b/LiteEditor/debuggerasciiviewer.cpp
deleted file mode 100644
index 91d17440..00000000
--- a/LiteEditor/debuggerasciiviewer.cpp
+++ /dev/null
@@ -1,126 +0,0 @@
-#include "debuggerasciiviewer.h"
-#include "frame.h"
-#include "debuggerpane.h"
-#include "manager.h"
-#include "debugger.h"
-
-static void sDefineMarker(wxScintilla *s, int marker, int markerType, wxColor fore, wxColor back)
-{
- s->MarkerDefine(marker, markerType);
- s->MarkerSetForeground(marker, fore);
- s->MarkerSetBackground(marker, back);
-}
-
-DebuggerAsciiViewer::DebuggerAsciiViewer( wxWindow* parent )
- : DebuggerAsciiViewerBase( parent )
-{
- wxFont font(8, wxFONTFAMILY_TELETYPE, wxNORMAL, wxNORMAL);
-
- // hide all margins
- m_textView->SetMarginWidth(0, 0);
- m_textView->SetMarginWidth(1, 0);
- m_textView->SetMarginWidth(2, 0);
- m_textView->SetMarginWidth(3, 0);
- m_textView->SetMarginWidth(4, 0);
-
- m_textView->SetMarginSensitive(4, true);
- m_textView->SetProperty(wxT("fold"), wxT("1"));
-
- sDefineMarker(m_textView, wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_BOXMINUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- sDefineMarker(m_textView, wxSCI_MARKNUM_FOLDER, wxSCI_MARK_BOXPLUS, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- sDefineMarker(m_textView, wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_VLINE, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- sDefineMarker(m_textView, wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_LCORNER, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- sDefineMarker(m_textView, wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_BOXPLUSCONNECTED, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- sDefineMarker(m_textView, wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_BOXMINUSCONNECTED, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
- sDefineMarker(m_textView, wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_TCORNER, wxColor(0xff, 0xff, 0xff), wxColor(0x80, 0x80, 0x80));
-
- // set wrapped line indicator
- m_textView->SetWrapVisualFlags(1);
- m_textView->SetWrapStartIndent(4);
- m_textView->SetScrollWidthTracking(true);
- m_textView->StyleSetForeground(wxSCI_STYLE_DEFAULT, wxT("GREY"));
-
- // Set wrap mode on
- m_textView->SetWrapMode(wxSCI_WRAP_WORD);
- // Use NULL lexer
- m_textView->SetLexer(wxSCI_LEX_CPP);
- m_textView->SetMarginMask(4, wxSCI_MASK_FOLDERS);
-
- // Set TELETYPE font (monospace)
- m_textView->StyleSetFont(wxSCI_STYLE_DEFAULT, font);
- m_textView->StyleSetSize(wxSCI_STYLE_DEFAULT, 12 );
-
- m_textView->SetReadOnly(true);
-
- wxTheApp->Connect(wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(DebuggerAsciiViewer::OnEdit), NULL, this);
- wxTheApp->Connect(wxID_SELECTALL, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(DebuggerAsciiViewer::OnEdit), NULL, this);
- wxTheApp->Connect(wxID_COPY, wxEVT_UPDATE_UI, wxUpdateUIEventHandler(DebuggerAsciiViewer::OnEditUI), NULL, this);
- wxTheApp->Connect(wxID_SELECTALL, wxEVT_UPDATE_UI, wxUpdateUIEventHandler(DebuggerAsciiViewer::OnEditUI), NULL, this);
-}
-
-bool DebuggerAsciiViewer::IsFocused()
-{
- wxWindow *win = wxWindow::FindFocus();
- return (win && win == m_textView);
-}
-
-void DebuggerAsciiViewer::UpdateView(const wxString &expr, const wxString &value)
-{
- m_textCtrlExpression->SetValue(expr);
-
- wxString evaluated (value);
- evaluated.Replace(wxT("\r\n"), wxT("\n"));
- evaluated.Replace(wxT("\n,"), wxT(",\n"));
- evaluated.Replace(wxT("\n\n"), wxT("\n"));
-
- m_textView->SetReadOnly(false);
- m_textView->ClearAll();
- m_textView->SetText(evaluated);
- m_textView->SetReadOnly(true);
-
-}
-
-void DebuggerAsciiViewer::OnClearView(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- UpdateView(wxT(""), wxT(""));
-}
-
-
-void DebuggerAsciiViewer::OnEditUI(wxUpdateUIEvent& e)
-{
- if ( !IsFocused() ) {
- e.Skip();
- return;
- }
- switch ( e.GetId() ) {
- case wxID_SELECTALL:
- e.Enable(true);
- break;
- case wxID_COPY:
- e.Enable( m_textView->GetSelectedText().IsEmpty() == false );
- break;
- default:
- e.Enable(false);
- break;
- }
-}
-
-void DebuggerAsciiViewer::OnEdit(wxCommandEvent& e)
-{
- if ( !IsFocused() ) {
- e.Skip();
- return;
- }
-
- switch ( e.GetId() ) {
- case wxID_SELECTALL:
- m_textView->SelectAll();
- break;
- case wxID_COPY:
- m_textView->Copy();
- break;
- default:
- break;
- }
-}
diff --git a/LiteEditor/debuggerasciiviewer.h b/LiteEditor/debuggerasciiviewer.h
deleted file mode 100644
index 6b022049..00000000
--- a/LiteEditor/debuggerasciiviewer.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef __debuggerasciiviewer__
-#define __debuggerasciiviewer__
-
-/**
-@file
-Subclass of DebuggerAsciiViewerBase, which is generated by wxFormBuilder.
-*/
-
-#include "debuggerasciiviewerbase.h"
-
-class IDebugger;
-
-/** Implementing DebuggerAsciiViewerBase */
-class DebuggerAsciiViewer : public DebuggerAsciiViewerBase
-{
- void OnClearView(wxCommandEvent &e);
- void OnEdit (wxCommandEvent &e);
- void OnEditUI(wxUpdateUIEvent &e);
-
- bool IsFocused();
-public:
- /** Constructor */
- DebuggerAsciiViewer( wxWindow* parent );
- void UpdateView (const wxString &expr, const wxString &value);
-};
-
-#endif // __debuggerasciiviewer__
diff --git a/LiteEditor/debuggerasciiviewerbase.cpp b/LiteEditor/debuggerasciiviewerbase.cpp
deleted file mode 100644
index 456d4d1b..00000000
--- a/LiteEditor/debuggerasciiviewerbase.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "debuggerasciiviewerbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-DebuggerAsciiViewerBase::DebuggerAsciiViewerBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Displaying:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- m_staticText1->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- bSizer2->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlExpression = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY|wxTE_RICH2 );
- m_textCtrlExpression->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
-
- bSizer2->Add( m_textCtrlExpression, 1, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_buttonClear = new wxButton( this, wxID_ANY, _("&Clear"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonClear->SetDefault();
- bSizer2->Add( m_buttonClear, 0, wxALL, 5 );
-
- mainSizer->Add( bSizer2, 0, wxEXPAND, 5 );
-
- m_textView = new wxScintilla(this);
- mainSizer->Add( m_textView, 1, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- // Connect Events
- m_buttonClear->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerAsciiViewerBase::OnClearView ), NULL, this );
-}
-
-DebuggerAsciiViewerBase::~DebuggerAsciiViewerBase()
-{
- // Disconnect Events
- m_buttonClear->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerAsciiViewerBase::OnClearView ), NULL, this );
-}
diff --git a/LiteEditor/debuggerasciiviewerbase.fbp b/LiteEditor/debuggerasciiviewerbase.fbp
deleted file mode 100644
index 12528f64..00000000
--- a/LiteEditor/debuggerasciiviewerbase.fbp
+++ /dev/null
@@ -1,293 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">debuggerasciiviewerbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">DebuggerAsciiViewerBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">DebuggerAsciiViewerBase</property>
- <property name="pos"></property>
- <property name="size">225,95</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer2</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font">,90,92,-1,70,0</property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Displaying:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">1</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg">wxSYS_COLOUR_BTNFACE</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_textCtrlExpression</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxTE_READONLY|wxTE_RICH2</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">&amp;Clear</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonClear</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnClearView</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="CustomControl" expanded="1">
- <property name="bg"></property>
- <property name="class">wxScintilla</property>
- <property name="construction">m_textView = new wxScintilla(this);</property>
- <property name="context_help"></property>
- <property name="declaration">wxScintilla *m_textView;</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="include">#include &lt;wx/wxscintilla.h&gt;</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_textView</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="settings"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/debuggerasciiviewerbase.h b/LiteEditor/debuggerasciiviewerbase.h
deleted file mode 100644
index 115b3d1c..00000000
--- a/LiteEditor/debuggerasciiviewerbase.h
+++ /dev/null
@@ -1,51 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __debuggerasciiviewerbase__
-#define __debuggerasciiviewerbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/wxscintilla.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DebuggerAsciiViewerBase
-///////////////////////////////////////////////////////////////////////////////
-class DebuggerAsciiViewerBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxTextCtrl* m_textCtrlExpression;
- wxButton* m_buttonClear;
- wxScintilla *m_textView;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnClearView( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- DebuggerAsciiViewerBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 225,95 ), long style = wxTAB_TRAVERSAL );
- ~DebuggerAsciiViewerBase();
-
-};
-
-#endif //__debuggerasciiviewerbase__
diff --git a/LiteEditor/debuggerpane.cpp b/LiteEditor/debuggerpane.cpp
deleted file mode 100644
index 43bfc3be..00000000
--- a/LiteEditor/debuggerpane.cpp
+++ /dev/null
@@ -1,173 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : debuggerpane.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/aui/framemanager.h>
-#include "debuggerasciiviewer.h"
-#include "localstable.h"
-#include "dockablepane.h"
-#include "editor_config.h"
-#include "detachedpanesinfo.h"
- #include "wx/dcbuffer.h"
-#include "memoryview.h"
-#include "debuggerpane.h"
-#include "simpletable.h"
-#include "listctrlpanel.h"
-#include "wx/xrc/xmlres.h"
-#include "manager.h"
-#include "breakpointdlg.h"
-#include "threadlistpanel.h"
-
-const wxString DebuggerPane::LOCALS = wxT("Locals");
-const wxString DebuggerPane::WATCHES = wxT("Watches");
-const wxString DebuggerPane::FRAMES = wxT("Call Stack");
-const wxString DebuggerPane::BREAKPOINTS = wxT("Breakpoints");
-const wxString DebuggerPane::THREADS = wxT("Threads");
-const wxString DebuggerPane::MEMORY = wxT("Memory");
-const wxString DebuggerPane::ASCII_VIEWER = wxT("Ascii Viewer");
-
-#define ADD_DEBUGGER_PAGE(win, name, bmp) \
- if( detachedPanes.Index(name) != wxNOT_FOUND ) {\
- new DockablePane(GetParent(), m_book, win, name, bmp, wxSize(200, 200));\
- } else {\
- m_book->AddPage(win, name, name, bmp, false);\
- }
-
-BEGIN_EVENT_TABLE(DebuggerPane, wxPanel)
- EVT_PAINT(DebuggerPane::OnPaint)
- EVT_ERASE_BACKGROUND(DebuggerPane::OnEraseBg)
- EVT_SIZE(DebuggerPane::OnSize)
- EVT_BOOK_PAGE_CHANGED(wxID_ANY, DebuggerPane::OnPageChanged)
-END_EVENT_TABLE()
-
-DebuggerPane::DebuggerPane(wxWindow *parent, const wxString &caption, wxAuiManager *mgr)
- : wxPanel(parent, wxID_ANY, wxDefaultPosition, wxSize(400, 300))
- , m_caption(caption)
- , m_initDone(false)
- , m_mgr(mgr)
-{
- CreateGUIControls();
-}
-
-DebuggerPane::~DebuggerPane()
-{
-}
-
-void DebuggerPane::OnPageChanged(NotebookEvent &event)
-{
- if (m_initDone) {
- if (event.GetEventObject() == m_book) {
- ManagerST::Get()->UpdateDebuggerPane();
- } else {
- event.Skip();
- }
- }
-}
-
-void DebuggerPane::CreateGUIControls()
-{
- wxBoxSizer *mainSizer = new wxBoxSizer(wxVERTICAL);
- SetSizer(mainSizer);
-
- long bookStyle = wxVB_TOP;
- EditorConfigST::Get()->GetLongValue(wxT("DebuggerBook"), bookStyle);
-
- m_book = new Notebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, bookStyle);
- mainSizer->Add(m_book, 1, wxEXPAND|wxALL, 1);
-
- // Calculate the widthest tab (the one with the 'Call Stack' label)
- int xx, yy;
- wxFont fnt = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- wxWindow::GetTextExtent(wxT("Breakpoints"), &xx, &yy, NULL, NULL, &fnt);
- m_book->SetFixedTabWidth(xx + 20 + 16); // Icon + Text
-
- // load list of detached panes
- wxArrayString detachedPanes;
- DetachedPanesInfo dpi;
- EditorConfigST::Get()->ReadObject(wxT("DetachedPanesList"), &dpi);
- detachedPanes = dpi.GetPanes();
-
- m_localsTable = new LocalsTable(m_book);
- ADD_DEBUGGER_PAGE(m_localsTable, LOCALS, wxXmlResource::Get()->LoadBitmap(wxT("locals_view")));
-
- //add the watches view
- m_watchesTable = new WatchesTable(m_book);
- ADD_DEBUGGER_PAGE(m_watchesTable, WATCHES, wxXmlResource::Get()->LoadBitmap(wxT("watches")));
-
- m_asciiViewer = new DebuggerAsciiViewer(this);
- ADD_DEBUGGER_PAGE(m_asciiViewer, ASCII_VIEWER, wxXmlResource::Get()->LoadBitmap(wxT("text_view")));
-
- m_frameList = new ListCtrlPanel(m_book);
- ADD_DEBUGGER_PAGE(m_frameList, FRAMES, wxXmlResource::Get()->LoadBitmap(wxT("frames")));
-
- m_breakpoints = new BreakpointDlg(m_book);
- ADD_DEBUGGER_PAGE(m_breakpoints, BREAKPOINTS, wxXmlResource::Get()->LoadBitmap(wxT("breakpoint")));
-
- m_threads = new ThreadListPanel(m_book);
- ADD_DEBUGGER_PAGE(m_threads, THREADS, wxXmlResource::Get()->LoadBitmap(wxT("threads")));
-
- m_memory = new MemoryView(m_book);
- ADD_DEBUGGER_PAGE(m_memory, MEMORY, wxXmlResource::Get()->LoadBitmap(wxT("memory_view")));
-
- m_initDone = true;
-}
-
-void DebuggerPane::SelectTab(const wxString &tabName)
-{
- for (size_t i=0; i< m_book->GetPageCount(); i++) {
- if (m_book->GetPageText(i) == tabName) {
- m_book->SetSelection(i);
- break;
- }
- }
-}
-
-void DebuggerPane::Clear()
-{
- GetLocalsTable()->Clear();
- GetWatchesTable()->Clear();
- GetFrameListView()->Clear();
- GetThreadsView()->Clear();
- GetMemoryView()->Clear();
-}
-
-void DebuggerPane::OnEraseBg(wxEraseEvent &e)
-{
- wxUnusedVar(e);
-}
-
-void DebuggerPane::OnPaint(wxPaintEvent &e)
-{
- wxUnusedVar(e);
- wxBufferedPaintDC dc(this);
- dc.SetPen( wxSystemSettings::GetColour(wxSYS_COLOUR_3DSHADOW) );
- dc.SetBrush( *wxTRANSPARENT_BRUSH );
-
- dc.DrawRectangle( wxRect(GetSize()) );
-}
-
-void DebuggerPane::OnSize(wxSizeEvent &e)
-{
- Refresh();
- e.Skip();
-}
diff --git a/LiteEditor/debuggerpane.h b/LiteEditor/debuggerpane.h
deleted file mode 100644
index 25fbd340..00000000
--- a/LiteEditor/debuggerpane.h
+++ /dev/null
@@ -1,93 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : debuggerpane.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef DEBUGGERPANE_H
-#define DEBUGGERPANE_H
-
-#include "wx/panel.h"
-#include "custom_notebook.h"
-#include <wx/imaglist.h>
-
-class ListCtrlPanel;
-class LocalsTable;
-class WatchesTable;
-class BreakpointDlg;
-class ThreadListPanel;
-class MemoryView;
-class wxAuiManager;
-class DebuggerAsciiViewer;
-
-class DebuggerPane : public wxPanel
-{
-public:
- static const wxString LOCALS;
- static const wxString WATCHES;
- static const wxString FRAMES;
- static const wxString BREAKPOINTS;
- static const wxString THREADS;
- static const wxString MEMORY;
- static const wxString ASCII_VIEWER;
-
-private:
- Notebook * m_book;
- LocalsTable * m_localsTable;
- wxString m_caption;
- WatchesTable * m_watchesTable;
- ListCtrlPanel * m_frameList;
- BreakpointDlg * m_breakpoints;
- ThreadListPanel* m_threads;
- MemoryView * m_memory;
- DebuggerAsciiViewer* m_asciiViewer;
- bool m_initDone;
- wxAuiManager * m_mgr;
-
-private:
- void CreateGUIControls();
- void OnPageChanged(NotebookEvent &event);
-
-public:
- DebuggerPane(wxWindow *parent, const wxString &caption, wxAuiManager *mgr);
- virtual ~DebuggerPane();
-
- //setters/getters
- const wxString & GetCaption() const{return m_caption;}
- LocalsTable * GetLocalsTable() {return m_localsTable;}
- WatchesTable * GetWatchesTable(){return m_watchesTable;}
- ListCtrlPanel * GetFrameListView(){return m_frameList;}
- BreakpointDlg * GetBreakpointView(){return m_breakpoints;}
- ThreadListPanel * GetThreadsView(){return m_threads;}
- MemoryView * GetMemoryView(){return m_memory;}
- DebuggerAsciiViewer* GetAsciiViewer(){return m_asciiViewer;}
-
- Notebook *GetNotebook(){return m_book;}
- void SelectTab(const wxString &tabName);
- void Clear();
-
- DECLARE_EVENT_TABLE()
- void OnEraseBg(wxEraseEvent &e);
- void OnPaint(wxPaintEvent &e);
- void OnSize(wxSizeEvent &e);
-};
-#endif //DEBUGGERPANE_H
-
diff --git a/LiteEditor/debuggersettingsbasedlg.cpp b/LiteEditor/debuggersettingsbasedlg.cpp
deleted file mode 100644
index ab1bb354..00000000
--- a/LiteEditor/debuggersettingsbasedlg.cpp
+++ /dev/null
@@ -1,260 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "debuggersettingsbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-DebuggerSettingsBaseDlg::DebuggerSettingsBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_notebook2 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
- m_panel1 = new wxPanel( m_notebook2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- m_book = new wxNotebook( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNB_LEFT );
-
- bSizer3->Add( m_book, 1, wxEXPAND | wxALL, 5 );
-
- m_panel1->SetSizer( bSizer3 );
- m_panel1->Layout();
- bSizer3->Fit( m_panel1 );
- m_notebook2->AddPage( m_panel1, wxT("Loaded Debuggers"), true );
- m_panel2 = new wxPanel( m_notebook2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listCtrl1 = new wxListCtrl( m_panel2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- bSizer5->Add( m_listCtrl1, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonNewType = new wxButton( m_panel2, wxID_ANY, wxT("&New..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_buttonNewType, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonEdit = new wxButton( m_panel2, wxID_ANY, wxT("Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_buttonEdit, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonDelete = new wxButton( m_panel2, wxID_ANY, wxT("&Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_buttonDelete, 0, wxALL|wxEXPAND, 5 );
-
- bSizer5->Add( bSizer6, 0, wxEXPAND, 5 );
-
- bSizer4->Add( bSizer5, 1, wxEXPAND, 5 );
-
- m_panel2->SetSizer( bSizer4 );
- m_panel2->Layout();
- bSizer4->Fit( m_panel2 );
- m_notebook2->AddPage( m_panel2, wxT("PreDefined Types"), false );
-
- bSizer1->Add( m_notebook2, 1, wxEXPAND | wxALL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_listCtrl1->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( DebuggerSettingsBaseDlg::OnItemActivated ), NULL, this );
- m_listCtrl1->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( DebuggerSettingsBaseDlg::OnItemDeselected ), NULL, this );
- m_listCtrl1->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( DebuggerSettingsBaseDlg::OnItemSelected ), NULL, this );
- m_buttonNewType->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerSettingsBaseDlg::OnNewShortcut ), NULL, this );
- m_buttonEdit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerSettingsBaseDlg::OnEditShortcut ), NULL, this );
- m_buttonDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerSettingsBaseDlg::OnDeleteShortcut ), NULL, this );
- m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerSettingsBaseDlg::OnButtonCancel ), NULL, this );
-}
-
-DebuggerSettingsBaseDlg::~DebuggerSettingsBaseDlg()
-{
- // Disconnect Events
- m_listCtrl1->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( DebuggerSettingsBaseDlg::OnItemActivated ), NULL, this );
- m_listCtrl1->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( DebuggerSettingsBaseDlg::OnItemDeselected ), NULL, this );
- m_listCtrl1->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( DebuggerSettingsBaseDlg::OnItemSelected ), NULL, this );
- m_buttonNewType->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerSettingsBaseDlg::OnNewShortcut ), NULL, this );
- m_buttonEdit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerSettingsBaseDlg::OnEditShortcut ), NULL, this );
- m_buttonDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerSettingsBaseDlg::OnDeleteShortcut ), NULL, this );
- m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerSettingsBaseDlg::OnButtonCancel ), NULL, this );
-}
-
-DebuggerPageBase::DebuggerPageBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- m_choicebook1 = new wxChoicebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxCHB_DEFAULT );
- m_panel3 = new wxPanel( m_choicebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer10;
- bSizer10 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText1 = new wxStaticText( m_panel3, wxID_ANY, wxT("Debugger path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer10->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrDbgPath = new wxTextCtrl( m_panel3, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer10->Add( m_textCtrDbgPath, 1, wxALL|wxEXPAND, 5 );
-
- m_buttonBrowse = new wxButton( m_panel3, wxID_ANY, wxT("Browse"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer10->Add( m_buttonBrowse, 0, wxALL, 5 );
-
- bSizer8->Add( bSizer10, 0, wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( m_panel3, wxID_ANY, wxT("Options:") ), wxVERTICAL );
-
- wxGridSizer* gSizer3;
- gSizer3 = new wxGridSizer( 4, 1, 0, 0 );
-
- m_checkBoxEnablePendingBreakpoints = new wxCheckBox( m_panel3, wxID_ANY, wxT("Enable pending breakpoints"), wxDefaultPosition, wxDefaultSize, 0 );
- gSizer3->Add( m_checkBoxEnablePendingBreakpoints, 0, wxALL, 5 );
-
- m_checkBreakAtWinMain = new wxCheckBox( m_panel3, wxID_ANY, wxT("Automatically set breakpoint at main"), wxDefaultPosition, wxDefaultSize, 0 );
- gSizer3->Add( m_checkBreakAtWinMain, 0, wxALL, 5 );
-
- m_catchThrow = new wxCheckBox( m_panel3, wxID_ANY, wxT("Break when C++ exception is thrown"), wxDefaultPosition, wxDefaultSize, 0 );
- gSizer3->Add( m_catchThrow, 0, wxALL, 5 );
-
- m_checkBoxDebugAssert = new wxCheckBox( m_panel3, wxID_ANY, wxT("Break at assertion failure (MinGW only)"), wxDefaultPosition, wxDefaultSize, 0 );
- gSizer3->Add( m_checkBoxDebugAssert, 0, wxALL, 5 );
-
- sbSizer1->Add( gSizer3, 1, wxEXPAND|wxALL, 5 );
-
- bSizer8->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
-
- wxStaticBoxSizer* sbSizer4;
- sbSizer4 = new wxStaticBoxSizer( new wxStaticBox( m_panel3, wxID_ANY, wxT("Debugger Tooltip:") ), wxVERTICAL );
-
- wxGridSizer* gSizer31;
- gSizer31 = new wxGridSizer( 2, 1, 0, 0 );
-
- m_showTooltips = new wxCheckBox( m_panel3, wxID_ANY, wxT("While debugging, show debugger tooltips"), wxDefaultPosition, wxDefaultSize, 0 );
- gSizer31->Add( m_showTooltips, 0, wxEXPAND|wxALL, 5 );
-
- m_checkBoxAutoExpand = new wxCheckBox( m_panel3, wxID_ANY, wxT("Auto expand items under the cursor"), wxDefaultPosition, wxDefaultSize, 0 );
- gSizer31->Add( m_checkBoxAutoExpand, 0, wxEXPAND|wxALL, 5 );
-
- sbSizer4->Add( gSizer31, 0, wxEXPAND|wxALL, 5 );
-
- bSizer8->Add( sbSizer4, 0, wxEXPAND|wxALL, 5 );
-
- wxStaticBoxSizer* sbSizer3;
- sbSizer3 = new wxStaticBoxSizer( new wxStaticBox( m_panel3, wxID_ANY, wxT("Display:") ), wxHORIZONTAL );
-
- wxFlexGridSizer* fgSizer21;
- fgSizer21 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer21->SetFlexibleDirection( wxBOTH );
- fgSizer21->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText2 = new wxStaticText( m_panel3, wxID_ANY, wxT("Set a limit on how many elements of an array GDB will print (including strings)"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- m_staticText2->SetToolTip( wxT(" For no limit, set it to 0") );
-
- fgSizer21->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_spinCtrlNumElements = new wxSpinCtrl( m_panel3, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10000, 200 );
- m_spinCtrlNumElements->SetToolTip( wxT("For no limit, set it to 0") );
-
- fgSizer21->Add( m_spinCtrlNumElements, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_checkBoxExpandLocals = new wxCheckBox( m_panel3, wxID_ANY, wxT("Evaluate items in the 'Locals' view based on the 'PreDefined' types where possible"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer21->Add( m_checkBoxExpandLocals, 0, wxALL, 5 );
-
-
- fgSizer21->Add( 0, 0, 1, wxEXPAND, 5 );
-
- sbSizer3->Add( fgSizer21, 1, wxEXPAND|wxALL, 5 );
-
- bSizer8->Add( sbSizer3, 0, wxEXPAND|wxALL, 5 );
-
- wxStaticBoxSizer* sbSizer2;
- sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( m_panel3, wxID_ANY, wxT("Misc:") ), wxVERTICAL );
-
- wxGridSizer* gSizer2;
- gSizer2 = new wxGridSizer( 4, 1, 0, 0 );
-
- m_checkBoxEnableLog = new wxCheckBox( m_panel3, wxID_ANY, wxT("Enable full debugger logging"), wxDefaultPosition, wxDefaultSize, 0 );
- gSizer2->Add( m_checkBoxEnableLog, 0, wxALL, 5 );
-
- m_checkShowTerminal = new wxCheckBox( m_panel3, wxID_ANY, wxT("Show debugger terminal"), wxDefaultPosition, wxDefaultSize, 0 );
- gSizer2->Add( m_checkShowTerminal, 0, wxALL, 5 );
-
- m_checkUseRelativePaths = new wxCheckBox( m_panel3, wxID_ANY, wxT("Use file name only for breakpoints (NO full paths)"), wxDefaultPosition, wxDefaultSize, 0 );
- gSizer2->Add( m_checkUseRelativePaths, 0, wxALL, 5 );
-
- sbSizer2->Add( gSizer2, 1, wxEXPAND|wxALL, 5 );
-
- bSizer8->Add( sbSizer2, 0, wxEXPAND|wxALL, 5 );
-
- m_panel3->SetSizer( bSizer8 );
- m_panel3->Layout();
- bSizer8->Fit( m_panel3 );
- m_choicebook1->AddPage( m_panel3, wxT("General"), true );
- m_panel4 = new wxPanel( m_choicebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer9;
- bSizer9 = new wxBoxSizer( wxVERTICAL );
-
- m_textCtrlStartupCommands = new wxTextCtrl( m_panel4, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB|wxTE_RICH2 );
- m_textCtrlStartupCommands->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) );
-
- bSizer9->Add( m_textCtrlStartupCommands, 1, wxALL|wxEXPAND, 5 );
-
- m_panel4->SetSizer( bSizer9 );
- m_panel4->Layout();
- bSizer9->Fit( m_panel4 );
- m_choicebook1->AddPage( m_panel4, wxT("Startup Commands"), false );
- bSizer7->Add( m_choicebook1, 1, wxEXPAND | wxALL, 5 );
-
- this->SetSizer( bSizer7 );
- this->Layout();
- bSizer7->Fit( this );
-
- // Connect Events
- m_buttonBrowse->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerPageBase::OnBrowse ), NULL, this );
- m_checkBoxDebugAssert->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DebuggerPageBase::OnDebugAssert ), NULL, this );
-}
-
-DebuggerPageBase::~DebuggerPageBase()
-{
- // Disconnect Events
- m_buttonBrowse->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DebuggerPageBase::OnBrowse ), NULL, this );
- m_checkBoxDebugAssert->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DebuggerPageBase::OnDebugAssert ), NULL, this );
-}
diff --git a/LiteEditor/debuggersettingsbasedlg.h b/LiteEditor/debuggersettingsbasedlg.h
deleted file mode 100644
index ee5eac90..00000000
--- a/LiteEditor/debuggersettingsbasedlg.h
+++ /dev/null
@@ -1,114 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __debuggersettingsbasedlg__
-#define __debuggersettingsbasedlg__
-
-#include <wx/gdicmn.h>
-#include <wx/notebook.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-#include <wx/bitmap.h>
-#include <wx/image.h>
-#include <wx/icon.h>
-#include <wx/listctrl.h>
-#include <wx/button.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-#include <wx/stattext.h>
-#include <wx/textctrl.h>
-#include <wx/checkbox.h>
-#include <wx/statbox.h>
-#include <wx/spinctrl.h>
-#include <wx/choicebk.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DebuggerSettingsBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class DebuggerSettingsBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxNotebook* m_notebook2;
- wxPanel* m_panel1;
- wxNotebook* m_book;
- wxPanel* m_panel2;
- wxListCtrl* m_listCtrl1;
- wxButton* m_buttonNewType;
- wxButton* m_buttonEdit;
- wxButton* m_buttonDelete;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnItemDeselected( wxListEvent& event ) { event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnNewShortcut( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnEditShortcut( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeleteShortcut( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- DebuggerSettingsBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Debugger Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 537,451 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~DebuggerSettingsBaseDlg();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DebuggerPageBase
-///////////////////////////////////////////////////////////////////////////////
-class DebuggerPageBase : public wxPanel
-{
- private:
-
- protected:
- wxChoicebook* m_choicebook1;
- wxPanel* m_panel3;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_textCtrDbgPath;
- wxButton* m_buttonBrowse;
- wxCheckBox* m_checkBoxEnablePendingBreakpoints;
- wxCheckBox* m_checkBreakAtWinMain;
- wxCheckBox* m_catchThrow;
- wxCheckBox* m_checkBoxDebugAssert;
- wxCheckBox* m_showTooltips;
- wxCheckBox* m_checkBoxAutoExpand;
- wxStaticText* m_staticText2;
- wxSpinCtrl* m_spinCtrlNumElements;
- wxCheckBox* m_checkBoxExpandLocals;
-
- wxCheckBox* m_checkBoxEnableLog;
- wxCheckBox* m_checkShowTerminal;
- wxCheckBox* m_checkUseRelativePaths;
- wxPanel* m_panel4;
- wxTextCtrl* m_textCtrlStartupCommands;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnBrowse( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDebugAssert( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- DebuggerPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~DebuggerPageBase();
-
-};
-
-#endif //__debuggersettingsbasedlg__
diff --git a/LiteEditor/debuggersettingsdlg.cpp b/LiteEditor/debuggersettingsdlg.cpp
deleted file mode 100644
index e94b43d2..00000000
--- a/LiteEditor/debuggersettingsdlg.cpp
+++ /dev/null
@@ -1,301 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : debuggersettingsdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "debuggersettingsdlg.h"
-#include "windowattrmanager.h"
-#include "editor_config.h"
-#include "debuggermanager.h"
-#include "macros.h"
-#include "manager.h"
-#include "globals.h"
-#include "dbgcommanddlg.h"
-#include "debuggerconfigtool.h"
-
-//-------------------------------------------------------------------
-DebuggerPage::DebuggerPage(wxWindow *parent, wxString title)
- : DebuggerPageBase(parent)
- , m_title(title)
-{
- DebuggerInformation info;
- if(DebuggerMgr::Get().GetDebuggerInformation(m_title, info)){
- m_textCtrDbgPath->SetValue(info.path);
- m_checkBoxEnableLog->SetValue(info.enableDebugLog);
- m_checkBoxEnablePendingBreakpoints->SetValue(info.enablePendingBreakpoints);
- m_checkBreakAtWinMain->SetValue(info.breakAtWinMain);
- m_checkShowTerminal->SetValue(info.showTerminal);
- m_checkUseRelativePaths->SetValue(info.useRelativeFilePaths);
- m_catchThrow->SetValue(info.catchThrow);
- m_spinCtrlNumElements->SetValue(info.maxDisplayStringSize);
- m_showTooltips->SetValue(info.showTooltips);
- m_checkBoxAutoExpand->SetValue(info.autoExpandTipItems);
- m_textCtrlStartupCommands->SetValue( info.startupCommands );
-
- m_checkBoxExpandLocals->SetValue(info.resolveLocals);
-#ifdef __WXMSW__
- m_checkBoxDebugAssert->SetValue(info.debugAsserts);
-#endif
- }
-
-#ifndef __WXMSW__
- m_checkBoxDebugAssert->SetValue(false);
- m_checkBoxDebugAssert->Enable(false);
-#endif
-
-}
-
-DebuggerPage::~DebuggerPage()
-{
-}
-
-void DebuggerPage::OnBrowse(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxString newfilepath, filepath(m_textCtrDbgPath->GetValue());
- if ((!filepath.IsEmpty()) && wxFileName::FileExists(filepath)) {
- newfilepath = wxFileSelector(wxT("Select file:"), filepath.c_str());
- } else {
- newfilepath = wxFileSelector(wxT("Select file:"));
- }
-
- if (!newfilepath.IsEmpty()) {
- m_textCtrDbgPath->SetValue(newfilepath);
- }
-}
-
-void DebuggerPage::OnDebugAssert(wxCommandEvent& e)
-{
- if ( e.IsChecked() ) {
- m_checkBoxEnablePendingBreakpoints->SetValue(true);
- }
-}
-
-//-------------------------------------------------------------------
-
-DebuggerSettingsDlg::DebuggerSettingsDlg( wxWindow* parent )
- :DebuggerSettingsBaseDlg( parent )
- , m_selectedItem(wxNOT_FOUND)
-{
- //fill the notebook with the available debuggers
- Initialize();
- ConnectButton(m_buttonOK, DebuggerSettingsDlg::OnOk);
-
- // center the dialog
- Centre();
-
- m_listCtrl1->SetFocus();
- GetSizer()->Fit(this);
- WindowAttrManager::Load(this, wxT("DbgSettingsDlg"), NULL);
-}
-
-void DebuggerSettingsDlg::Initialize()
-{
- DebuggerMgr &mgr = DebuggerMgr::Get();
- wxArrayString debuggers = mgr.GetAvailableDebuggers();
- for (size_t i=0; i<debuggers.GetCount(); i++) {
- //create page per-debugger
- m_book->AddPage(new DebuggerPage(m_book, debuggers.Item(i)), debuggers.Item(i), true);
- }
-
- m_listCtrl1->InsertColumn(0, wxT("Type"));
- m_listCtrl1->InsertColumn(1, wxT("Expression"));
- m_listCtrl1->InsertColumn(2, wxT("Debugger Command"));
-
- //add items from the saved items
- DebuggerConfigTool::Get()->ReadObject(wxT("DebuggerCommands"), &m_data);
-
- //Populate the list with the items from the configuration file
- std::vector<DebuggerCmdData> cmds = m_data.GetCmds();
- for (size_t i=0; i<cmds.size(); i++) {
- DebuggerCmdData cmd = cmds.at(i);
-
- long item = AppendListCtrlRow(m_listCtrl1);
- SetColumnText(m_listCtrl1, item, 0, cmd.GetName());
- SetColumnText(m_listCtrl1, item, 1, cmd.GetCommand());
- SetColumnText(m_listCtrl1, item, 2, cmd.GetDbgCommand());
- }
- m_listCtrl1->SetColumnWidth(0, 100);
- m_listCtrl1->SetColumnWidth(1, 200);
-}
-
-void DebuggerSettingsDlg::OnOk(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- //go over the debuggers and set the debugger path
- for (size_t i=0; i<(size_t)m_book->GetPageCount(); i++) {
- DebuggerPage *page = (DebuggerPage *)m_book->GetPage(i);
-
- //find the debugger
- DebuggerInformation info;
- DebuggerMgr::Get().GetDebuggerInformation(page->m_title, info);
-
- //populate the information and save it
- info.enableDebugLog = page->m_checkBoxEnableLog->GetValue();
- info.enablePendingBreakpoints = page->m_checkBoxEnablePendingBreakpoints->GetValue();
- info.path = page->m_textCtrDbgPath->GetValue();
- info.name = page->m_title;
- info.breakAtWinMain = page->m_checkBreakAtWinMain->IsChecked();
- info.showTerminal = page->m_checkShowTerminal->IsChecked();
- info.consoleCommand = EditorConfigST::Get()->GetOptions()->GetProgramConsoleCommand();
- info.useRelativeFilePaths = page->m_checkUseRelativePaths->IsChecked();
- info.catchThrow = page->m_catchThrow->IsChecked();
- info.showTooltips = page->m_showTooltips->IsChecked();
- info.startupCommands = page->m_textCtrlStartupCommands->GetValue();
- info.maxDisplayStringSize = page->m_spinCtrlNumElements->GetValue();
- info.resolveLocals = page->m_checkBoxExpandLocals->IsChecked();
-#ifdef __WXMSW__
- info.debugAsserts = page->m_checkBoxDebugAssert->IsChecked();
-#endif
- info.autoExpandTipItems = page->m_checkBoxAutoExpand->IsChecked();
- DebuggerMgr::Get().SetDebuggerInformation(page->m_title, info);
- }
-
- //copy the commands the serialized object m_data
- int count = m_listCtrl1->GetItemCount();
- std::vector<DebuggerCmdData> cmdArr;
- for(int i=0; i<count; i++){
- DebuggerCmdData cmd;
- cmd.SetName ( GetColumnText(m_listCtrl1, i, 0) );
- cmd.SetCommand ( GetColumnText(m_listCtrl1, i, 1) );
- cmd.SetDbgCommand( GetColumnText(m_listCtrl1, i, 2) );
- cmdArr.push_back(cmd);
- }
- m_data.SetCmds(cmdArr);
-
- //save the debugger commands
- DebuggerConfigTool::Get()->WriteObject(wxT("DebuggerCommands"), &m_data);
- EndModal(wxID_OK);
-}
-
-void DebuggerSettingsDlg::OnButtonCancel(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- EndModal(wxID_CANCEL);
-}
-
-void DebuggerSettingsDlg::OnNewShortcut(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- DbgCommandDlg *dlg = new DbgCommandDlg(this);
- if (dlg->ShowModal() == wxID_OK) {
- //add new command to the table
- wxString name = dlg->GetName();
- wxString expression = dlg->GetExpression();
- wxString dbgCmd = dlg->GetDbgCommand();
- long item;
- wxListItem info;
-
- //make sure that the expression does not exist
- int count = m_listCtrl1->GetItemCount();
- for(int i=0; i<count; i++){
- wxString existingName = GetColumnText(m_listCtrl1, i, 0);
- if(name == existingName){
- dlg->Destroy();
- wxMessageBox(_("Debugger type with the same name already exist"), wxT("CodeLite"), wxOK | wxICON_INFORMATION);
- return;
- }
- }
-
- // Set the item display name
- info.SetColumn(0);
- item = m_listCtrl1->InsertItem(info);
-
- SetColumnText(m_listCtrl1, item, 0, name );
- SetColumnText(m_listCtrl1, item, 1, expression );
- SetColumnText(m_listCtrl1, item, 2, dbgCmd);
-
- m_listCtrl1->SetColumnWidth(0, 100);
- m_listCtrl1->SetColumnWidth(1, 200);
- m_listCtrl1->SetColumnWidth(1, 200);
- }
- dlg->Destroy();
-}
-
-void DebuggerSettingsDlg::OnItemSelected(wxListEvent &e)
-{
- m_selectedItem = e.m_itemIndex;
-}
-
-void DebuggerSettingsDlg::OnItemDeselected(wxListEvent &e)
-{
-
- wxUnusedVar(e);
- m_selectedItem = wxNOT_FOUND;
-}
-
-void DebuggerSettingsDlg::OnEditShortcut(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- DoEditItem();
-}
-
-void DebuggerSettingsDlg::OnDeleteShortcut(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- DoDeleteItem();
-}
-
-void DebuggerSettingsDlg::OnItemActivated(wxListEvent &e)
-{
- m_selectedItem = e.m_itemIndex;
- DoEditItem();
-}
-
-void DebuggerSettingsDlg::DoEditItem()
-{
- //Edit the selection
- if (m_selectedItem == wxNOT_FOUND) {
- return;
- }
-
- //popup edit dialog
- DbgCommandDlg dlg(this);
-
- wxString name = GetColumnText(m_listCtrl1, m_selectedItem, 0);
- wxString expr = GetColumnText(m_listCtrl1, m_selectedItem, 1);
- wxString dbgCmd= GetColumnText(m_listCtrl1, m_selectedItem, 2);
-
- dlg.SetName(name);
- dlg.SetExpression(expr);
- dlg.SetDbgCommand(dbgCmd);
-
- if (dlg.ShowModal() == wxID_OK) {
- SetColumnText(m_listCtrl1, m_selectedItem, 0, dlg.GetName());
- SetColumnText(m_listCtrl1, m_selectedItem, 1, dlg.GetExpression());
- SetColumnText(m_listCtrl1, m_selectedItem, 2, dlg.GetDbgCommand());
- }
-}
-
-void DebuggerSettingsDlg::DoDeleteItem()
-{
- if (m_selectedItem == wxNOT_FOUND) {
- return;
- }
- m_listCtrl1->DeleteItem(m_selectedItem);
- m_selectedItem = wxNOT_FOUND;
-}
-
-DebuggerSettingsDlg::~DebuggerSettingsDlg()
-{
- WindowAttrManager::Save(this, wxT("DbgSettingsDlg"), NULL);
-}
diff --git a/LiteEditor/debuggersettingsdlg.h b/LiteEditor/debuggersettingsdlg.h
deleted file mode 100644
index 8c4c4ea2..00000000
--- a/LiteEditor/debuggersettingsdlg.h
+++ /dev/null
@@ -1,82 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : debuggersettingsdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __debuggersettingsdlg__
-#define __debuggersettingsdlg__
-
-/**
-@file
-Subclass of DebuggerSettingsBaseDlg, which is generated by wxFormBuilder.
-@todo Add your event handlers directly to this file.
-*/
-
-#include "debuggersettingsbasedlg.h"
-#include "filepicker.h"
-#include "debuggersettings.h"
-
-class DebuggerSettingsDlg;
-class wxCheckBox;
-class DebuggerPageBase;
-
-class DebuggerPage : public DebuggerPageBase
-{
- friend class DebuggerSettingsDlg;
- wxString m_title;
-
-protected:
- void OnBrowse (wxCommandEvent &e);
- void OnDebugAssert(wxCommandEvent &e);
-public:
- DebuggerPage(wxWindow *parent, wxString title);
- virtual ~DebuggerPage();
-};
-
-/** Implementing DebuggerSettingsBaseDlg */
-class DebuggerSettingsDlg : public DebuggerSettingsBaseDlg
-{
- long m_selectedItem;
- DebuggerSettingsData m_data;
-
-protected:
- void Initialize();
- void OnOk(wxCommandEvent &e);
- void OnNewShortcut(wxCommandEvent &e);
- void OnDeleteShortcut(wxCommandEvent &e);
- void OnEditShortcut(wxCommandEvent &e);
- void OnItemSelected(wxListEvent &e);
- void OnItemDeselected(wxListEvent &e);
- void OnItemActivated(wxListEvent &e);
- void OnButtonCancel(wxCommandEvent &e);
-
-private:
- void DoEditItem();
- void DoDeleteItem();
-
-public:
- /** Constructor */
- DebuggerSettingsDlg( wxWindow* parent );
- virtual ~DebuggerSettingsDlg();
-};
-
-#endif // __debuggersettingsdlg__
diff --git a/LiteEditor/debuggertip.cpp b/LiteEditor/debuggertip.cpp
deleted file mode 100644
index 09bd4438..00000000
--- a/LiteEditor/debuggertip.cpp
+++ /dev/null
@@ -1,89 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : debuggertip.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #if 0
-#include "debuggertip.h"
-#include "tiptree.h"
-#include "wx/stattext.h"
-#include "wx/statline.h"
-#include "wx/dcbuffer.h"
-#include "manager.h"
-#include "editor.h"
-
-DebuggerTip::DebuggerTip(wxWindow *parent, const wxString &expression, TreeNode<wxString, NodeData> *tree, long pos)
-: wxPopupWindow(parent)
-{
- SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOBK));
- Initialize(expression, tree, pos);
-}
-
-DebuggerTip::~DebuggerTip()
-{
-}
-
-void DebuggerTip::Initialize(const wxString &expression, TreeNode<wxString, NodeData> *tree, long pos)
-{
- wxBoxSizer *topSizer = new wxBoxSizer(wxVERTICAL);
- SetSizer(topSizer);
-
- wxBoxSizer *sz = new wxBoxSizer(wxVERTICAL);
- wxPanel *mainPanel = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER );
- mainPanel->SetSizer(sz);
-
- wxBoxSizer *hsz = new wxBoxSizer(wxHORIZONTAL);
-
- wxStaticText *text = new wxStaticText(mainPanel, wxID_ANY, wxT("Expression: "));
- wxFont font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- font.SetWeight(wxBOLD);
-
- text->SetFont(font);
- hsz->Add(text, 0, wxEXPAND|wxALL, 5);
-
- wxStaticText *expr = new wxStaticText(mainPanel, wxID_ANY, expression);
- hsz->Add(expr, 0, wxEXPAND|wxALL, 5);
- sz->Add(hsz, 0, wxEXPAND);
-
- wxStaticLine *staticline = new wxStaticLine(mainPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL);
- sz->Add(staticline, 0, wxEXPAND|wxALL, 5);
-
- m_localVarsTree = new TipTree(mainPanel, wxID_ANY, wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT | wxTR_HIDE_ROOT | wxNO_BORDER);
- m_localVarsTree->BuildTree(tree);
- sz->Add(m_localVarsTree, 1, wxALL|wxEXPAND, 5);
- sz->SetMinSize(200, 200);
-
- topSizer->Add(sz, 1, wxEXPAND|wxALL, 1);
- sz->Fit(mainPanel);
- topSizer->Fit(this);
-
- //set the tip window at the caret place
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if(editor){
- wxPoint pt = editor->PointFromPosition(pos);
- //pt is in wxScintilla coordinates, need to convert them into
- //the screen coordinates
- wxPoint displayPt = editor->ClientToScreen(pt);
- this->Position(displayPt, wxSize(0, 0));
- }
-}
-#endif
diff --git a/LiteEditor/debuggertip.h b/LiteEditor/debuggertip.h
deleted file mode 100644
index 05a39559..00000000
--- a/LiteEditor/debuggertip.h
+++ /dev/null
@@ -1,52 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : debuggertip.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef DEBUGGERTIP_H
-#define DEBUGGERTIP_H
-
-#if 0
-#include "wx/popupwin.h"
-#include "tree_node.h"
-#include "debuggerobserver.h"
-
-class TipTree;
-
-class DebuggerTip : public wxPopupWindow
-{
- TipTree *m_localVarsTree;
-protected:
- void OnTreeSized(wxCommandEvent &event);
-
-public:
- DebuggerTip(wxWindow *parent, const wxString &expression, TreeNode<wxString, NodeData> *tree, long pos);
- ~DebuggerTip();
-
- void Initialize(const wxString &expression, TreeNode<wxString, NodeData> *tree, long pos);
-};
-
-#endif //DEBUGGERTIP_H
-
-
-#endif
-
diff --git a/LiteEditor/depend_dlg_page.cpp b/LiteEditor/depend_dlg_page.cpp
deleted file mode 100644
index aad3b65e..00000000
--- a/LiteEditor/depend_dlg_page.cpp
+++ /dev/null
@@ -1,223 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : depend_dlg_page.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "manager.h"
-#include "project.h"
-#include "depend_dlg_page.h"
-
-DependenciesPage::DependenciesPage( wxWindow* parent, const wxString &projectName )
- : DependenciesPageBase( parent )
- , m_projectName(projectName)
- , m_dirty(false)
-{
- Init();
-}
-
-void DependenciesPage::OnConfigChanged( wxCommandEvent& event )
-{
- if(m_dirty) {
- // save old configuration
- if(wxMessageBox(wxString::Format(wxT("Build order for configuration '%s' has been modified, would you like to save it?"), m_currentSelection.GetData()), wxT("CodeLite"), wxYES_NO|wxICON_QUESTION) == wxYES){
- Save();
- }
- m_dirty = false;
- }
-
- m_currentSelection = event.GetString();
- // switch to new configuration
- DoPopulateControl(m_currentSelection);
-}
-
-void DependenciesPage::OnMoveUp( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- OnUpCommand(m_listBoxBuildOrder);
-}
-
-void DependenciesPage::OnMoveDown( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- OnDownCommand(m_listBoxBuildOrder);
-}
-
-void DependenciesPage::OnUpCommand(wxListBox *list)
-{
- wxString selectedString = list->GetStringSelection();
-
- int sel = list->GetSelection();
- if (sel == wxNOT_FOUND) {
- return;
- }
-
- sel --;
- if (sel < 0) {
- return;
- }
-
- // sel contains the new position we want to place the selection string
- list->Delete(sel + 1);
- list->Insert(selectedString, sel);
- list->Select(sel);
- m_dirty = true;
-}
-
-void DependenciesPage::OnDownCommand(wxListBox *list)
-{
- int sel = list->GetSelection();
- if (sel == wxNOT_FOUND) {
- return;
- }
-
- sel ++;
- if (sel >= (int)list->GetCount()) {
- return;
- }
-
- // sel contains the new position we want to place the selection string
- wxString oldStr = list->GetString(sel);
-
- list->Delete(sel);
- list->Insert(oldStr, sel - 1);
- list->Select(sel);
- m_dirty = true;
-}
-
-void DependenciesPage::Save()
-{
- //create project dependencie list
- ProjectPtr proj = ManagerST::Get()->GetProject(m_projectName);
-
- wxArrayString depsArr;
- for (size_t i=0; i<m_listBoxBuildOrder->GetCount(); i++) {
- depsArr.Add(m_listBoxBuildOrder->GetString((unsigned int)i));
- }
-
- if(m_currentSelection.IsEmpty()) {
- return;
- }
-
- proj->SetDependencies(depsArr, m_currentSelection);
- m_dirty = false;
-}
-
-void DependenciesPage::OnCheckListItemToggled(wxCommandEvent &event)
-{
- int item = event.GetSelection();
- wxString name = m_checkListProjectList->GetString((unsigned int)item);
- if (!m_checkListProjectList->IsChecked((unsigned int)item)) {
- unsigned int buildOrderId = m_listBoxBuildOrder->FindString(name);
- if (buildOrderId != (unsigned int)wxNOT_FOUND) {
- m_listBoxBuildOrder->Delete(buildOrderId);
- }
- } else {
- m_listBoxBuildOrder->Append(name);
- }
- m_dirty = true;
-}
-
-void DependenciesPage::Init()
-{
- wxString errMsg;
- ProjectPtr proj = WorkspaceST::Get()->FindProjectByName(m_projectName, errMsg);
- if (proj) {
-
- // populate the choice control with the list of available configurations for this project
- ProjectSettingsPtr settings = proj->GetSettings();
- if ( settings ) {
- ProjectSettingsCookie cookie;
- BuildConfigPtr bldConf = settings->GetFirstBuildConfiguration(cookie);
- while (bldConf) {
- m_choiceProjectConfig->Append(bldConf->GetName());
- bldConf = settings->GetNextBuildConfiguration(cookie);
- }
- }
-
- // by default select the first configuration
- if (m_choiceProjectConfig->GetCount()>0) {
- m_choiceProjectConfig->SetSelection(0);
- }
-
- // select the active configuration
- BuildConfigPtr selBuildConf = WorkspaceST::Get()->GetProjBuildConf(m_projectName, wxEmptyString);
- if (selBuildConf) {
- int where = m_choiceProjectConfig->FindString(selBuildConf->GetName());
- if (where != wxNOT_FOUND) {
- m_choiceProjectConfig->SetSelection(where);
- }
- }
-
- m_currentSelection = m_choiceProjectConfig->GetStringSelection();
- DoPopulateControl( m_choiceProjectConfig->GetStringSelection() );
-
- } else {
- wxMessageBox(errMsg, wxT("CodeLite"));
- return;
- }
-}
-
-void DependenciesPage::DoPopulateControl(const wxString& configuration)
-{
- wxString errMsg;
- ProjectPtr proj = WorkspaceST::Get()->FindProjectByName(m_projectName, errMsg);
- if(!proj) {
- return;
- }
-
- m_listBoxBuildOrder->Clear();
- m_checkListProjectList->Clear();
-
- //initialize the build order listbox
- wxArrayString depArr = proj->GetDependencies(configuration);
- size_t i=0;
- for (i=0; i<depArr.GetCount(); i++) {
- wxString item = depArr.Item(i);
- m_listBoxBuildOrder->Append(item);
- }
-
- //initialize the project dependencies check list
- wxArrayString projArr;
- ManagerST::Get()->GetProjectList(projArr);
-
- for (i=0; i<projArr.GetCount(); i++) {
-
- if (projArr.Item(i) != m_projectName) {
- int idx = m_checkListProjectList->Append(projArr.Item(i));
- m_checkListProjectList->Check(idx, depArr.Index(projArr.Item(i)) != wxNOT_FOUND);
- }
- }
-
-}
-
-void DependenciesPage::OnApplyButton(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- Save();
-}
-
-void DependenciesPage::OnApplyButtonUI(wxUpdateUIEvent& event)
-{
- event.Enable(m_dirty);
-}
-
diff --git a/LiteEditor/depend_dlg_page.h b/LiteEditor/depend_dlg_page.h
deleted file mode 100644
index ea27ebee..00000000
--- a/LiteEditor/depend_dlg_page.h
+++ /dev/null
@@ -1,64 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : depend_dlg_page.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __depend_dlg_page__
-#define __depend_dlg_page__
-
-/**
-@file
-Subclass of DependenciesPage, which is generated by wxFormBuilder.
-*/
-
-#include "buildorderbasepage.h"
-
-/** Implementing DependenciesPage */
-class DependenciesPage : public DependenciesPageBase
-{
- wxString m_projectName;
- bool m_dirty;
- wxString m_currentSelection;
-
-protected:
- // Handlers for DependenciesPage events.
- void OnConfigChanged( wxCommandEvent& event );
- void OnCheckListItemToggled( wxCommandEvent& event );
- void OnMoveUp( wxCommandEvent& event );
- void OnMoveDown( wxCommandEvent& event );
- void OnApplyButton(wxCommandEvent &event);
- void OnApplyButtonUI(wxUpdateUIEvent &event);
-
-protected:
- void Init();
- void OnUpCommand(wxListBox *list);
- void OnDownCommand(wxListBox *list);
- void DoPopulateControl(const wxString &configuration);
-
-public:
- /** Constructor */
- DependenciesPage( wxWindow* parent, const wxString &projectName );
- void Save();
-};
-
-#endif // __depend_dlg_page__
diff --git a/LiteEditor/depends_dlg.cpp b/LiteEditor/depends_dlg.cpp
deleted file mode 100644
index 52f183a0..00000000
--- a/LiteEditor/depends_dlg.cpp
+++ /dev/null
@@ -1,117 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : depends_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "depends_dlg.h"
-#include "depend_dlg_page.h"
-#include "manager.h"
-#include <wx/choicebk.h>
-#include "macros.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-DependenciesDlg::DependenciesDlg( wxWindow* parent, const wxString &projectName, int id, wxString title, wxPoint pos, wxSize size, int style )
-: wxDialog( parent, id, title, pos, size, style )
-, m_projectName(projectName)
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_book = new wxChoicebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxCHB_DEFAULT );
- mainSizer->Add( m_book, 1, wxEXPAND | wxALL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* btnSizer;
- btnSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_ANY, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_buttonCancel, 0, wxALL, 5 );
-
- mainSizer->Add( btnSizer, 0, wxALIGN_RIGHT, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- m_book->GetChoiceCtrl()->SetFocus();
- Centre();
- Init();
-}
-
-void DependenciesDlg::Init()
-{
- //fill the pages of the choice book
- wxArrayString projects;
- ManagerST::Get()->GetProjectList(projects);
- wxString activeProj = ManagerST::Get()->GetActiveProjectName();
- for(size_t i=0; i<projects.GetCount(); i++){
- m_book->AddPage(new DependenciesPage(m_book, projects.Item(i)), projects.Item(i), m_projectName == projects.Item(i));
- }
-
- //connect events
- ConnectButton(m_buttonOK, DependenciesDlg::OnButtonOK);
- ConnectButton(m_buttonCancel, DependenciesDlg::OnButtonCancel);
-}
-
-void DependenciesDlg::OnButtonOK(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- for(size_t i=0; i<m_book->GetPageCount(); i++){
- DependenciesPage *page = dynamic_cast<DependenciesPage *>( m_book->GetPage(i) );
- if(page){
- page->Save();
- }
- }
- EndModal(wxID_OK);
-}
-
-void DependenciesDlg::OnButtonCancel(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- EndModal(wxID_CANCEL);
-}
diff --git a/LiteEditor/depends_dlg.h b/LiteEditor/depends_dlg.h
deleted file mode 100644
index 3e792761..00000000
--- a/LiteEditor/depends_dlg.h
+++ /dev/null
@@ -1,67 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : depends_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __depends_dlg__
-#define __depends_dlg__
-
-#include <wx/wx.h>
-
-#include <wx/choicebk.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DependenciesDlg
-///////////////////////////////////////////////////////////////////////////////
-class DependenciesDlg : public wxDialog
-{
-private:
-
-protected:
- wxChoicebook* m_book;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
- wxString m_projectName;
-
- void Init();
- virtual void OnButtonOK(wxCommandEvent &event);
- virtual void OnButtonCancel(wxCommandEvent &event);
-
-public:
- DependenciesDlg( wxWindow* parent, const wxString &projectName, int id = wxID_ANY, wxString title = wxT("Build Order"), wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 700,450 ), int style = wxDEFAULT_DIALOG_STYLE );
-
-};
-
-#endif //__depends_dlg__
diff --git a/LiteEditor/dialogspage.cpp b/LiteEditor/dialogspage.cpp
deleted file mode 100644
index c88ba11f..00000000
--- a/LiteEditor/dialogspage.cpp
+++ /dev/null
@@ -1,72 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : dialogspage.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editor_config.h"
-#include "dialogspage.h"
-
-DialogsPage::DialogsPage( wxWindow* parent )
-:
-DialogsPageBase( parent )
-{
- Initialize();
-}
-
-void DialogsPage::Initialize()
-{
- long adjustCpuNumber(0);
- long replaceWrapAround(0);
- long findNextWrapAround(0);
- long buildBeforeDebug(0);
-
- EditorConfigST::Get()->GetLongValue(wxT("AdjustCPUNumber"), adjustCpuNumber);
- EditorConfigST::Get()->GetLongValue(wxT("ReplaceWrapAroundAnswer"), replaceWrapAround);
- EditorConfigST::Get()->GetLongValue(wxT("FindNextWrapAroundAnswer"), findNextWrapAround);
- EditorConfigST::Get()->GetLongValue(wxT("BuildBeforeDebug"), buildBeforeDebug);
-
- int idx;
-
- // the value stored is 0 / 1
- idx = m_checkListAnswers->Append(wxT("Adjust number of build processes according to CPU"));
- m_checkListAnswers->Check((unsigned int)idx, adjustCpuNumber ? true : false);
-
- // the value stored is wxID_OK / wxID_NO
- idx = m_checkListAnswers->Append(wxT("Wrap around 'Replace' operation"));
- m_checkListAnswers->Check((unsigned int)idx, replaceWrapAround == wxID_OK);
-
- // the value stored is wxID_OK / wxID_NO
- idx = m_checkListAnswers->Append(wxT("Wrap around 'Find' operation"));
- m_checkListAnswers->Check((unsigned int)idx, findNextWrapAround == wxID_OK);
-
- idx = m_checkListAnswers->Append(wxT("Always Build before debugging"));
- m_checkListAnswers->Check((unsigned int)idx, buildBeforeDebug == wxID_OK);
-}
-
-void DialogsPage::Save()
-{
- EditorConfigST::Get()->SaveLongValue(wxT("AdjustCPUNumber"), m_checkListAnswers->IsChecked(0) ? 1 : 0);
- EditorConfigST::Get()->SaveLongValue(wxT("ReplaceWrapAroundAnswer"), m_checkListAnswers->IsChecked(1) ? wxID_OK : wxID_NO);
- EditorConfigST::Get()->SaveLongValue(wxT("FindNextWrapAroundAnswer"), m_checkListAnswers->IsChecked(2) ? wxID_OK : wxID_NO);
- EditorConfigST::Get()->SaveLongValue(wxT("BuildBeforeDebug"), m_checkListAnswers->IsChecked(3) ? wxID_OK : wxID_NO);
-}
diff --git a/LiteEditor/dialogspage.h b/LiteEditor/dialogspage.h
deleted file mode 100644
index f79f1d66..00000000
--- a/LiteEditor/dialogspage.h
+++ /dev/null
@@ -1,48 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : dialogspage.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __dialogspage__
-#define __dialogspage__
-
-/**
-@file
-Subclass of DialogsPageBase, which is generated by wxFormBuilder.
-*/
-
-#include "dialogspagebase.h"
-
-/** Implementing DialogsPageBase */
-class DialogsPage : public DialogsPageBase
-{
-protected:
- void Initialize();
-
-public:
- /** Constructor */
- DialogsPage( wxWindow* parent );
- void Save();
-};
-
-#endif // __dialogspage__
diff --git a/LiteEditor/dialogspagebase.cpp b/LiteEditor/dialogspagebase.cpp
deleted file mode 100644
index 59458d4f..00000000
--- a/LiteEditor/dialogspagebase.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : dialogspagebase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "dialogspagebase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-DialogsPageBase::DialogsPageBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticText = new wxStaticText( this, wxID_ANY, wxT("Below is a list of the 'annoying' dialogs answers, you can modify \nthe answer of a dialog by checking / unchecking the saved answer"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText->Wrap( -1 );
- mainSizer->Add( m_staticText, 0, wxALL, 5 );
-
- wxArrayString m_checkListAnswersChoices;
- m_checkListAnswers = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListAnswersChoices, 0 );
- mainSizer->Add( m_checkListAnswers, 1, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-}
-
-DialogsPageBase::~DialogsPageBase()
-{
-}
diff --git a/LiteEditor/dialogspagebase.h b/LiteEditor/dialogspagebase.h
deleted file mode 100644
index e8a59816..00000000
--- a/LiteEditor/dialogspagebase.h
+++ /dev/null
@@ -1,66 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : dialogspagebase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __dialogspagebase__
-#define __dialogspagebase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/checklst.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DialogsPageBase
-///////////////////////////////////////////////////////////////////////////////
-class DialogsPageBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText;
- wxCheckListBox* m_checkListAnswers;
-
- public:
- DialogsPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~DialogsPageBase();
-
-};
-
-#endif //__dialogspagebase__
diff --git a/LiteEditor/edit_configuration.cpp b/LiteEditor/edit_configuration.cpp
deleted file mode 100644
index b2c6360f..00000000
--- a/LiteEditor/edit_configuration.cpp
+++ /dev/null
@@ -1,195 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : edit_configuration.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "edit_configuration.h"
-#include "manager.h"
-#include "project_settings.h"
-#include "macros.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditConfigurationDialog::EditConfigurationDialog( wxWindow* parent, const wxString &projectName, int id, wxString title, wxPoint pos, wxSize size, int style )
-: wxDialog( parent, id, title, pos, size, style )
-, m_projectName(projectName)
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer15;
- bSizer15 = new wxBoxSizer( wxVERTICAL );
-
- m_panel6 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer17;
- bSizer17 = new wxBoxSizer( wxHORIZONTAL );
-
- m_configurationsList = new wxListBox( m_panel6, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- bSizer17->Add( m_configurationsList, 1, wxALL|wxEXPAND, 5 );
-
- ProjectSettingsPtr settings = ManagerST::Get()->GetProjectSettings(m_projectName);
- if(settings){
- ProjectSettingsCookie cookie;
- BuildConfigPtr bldConf = settings->GetFirstBuildConfiguration(cookie);
- while(bldConf){
- m_configurationsList->Append(bldConf->GetName());
- bldConf = settings->GetNextBuildConfiguration(cookie);
- }
- }
- if(m_configurationsList->GetCount() > 0)
- m_configurationsList->SetSelection(0);
-
- wxBoxSizer* bSizer18;
- bSizer18 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonDelete = new wxButton( m_panel6, wxID_ANY, wxT("&Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer18->Add( m_buttonDelete, 0, wxALL, 5 );
-
- m_buttonRename = new wxButton( m_panel6, wxID_ANY, wxT("&Rename"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer18->Add( m_buttonRename, 0, wxALL, 5 );
- bSizer17->Add( bSizer18, 0, wxEXPAND, 5 );
-
- m_panel6->SetSizer( bSizer17 );
- m_panel6->Layout();
- bSizer17->Fit( m_panel6 );
- bSizer15->Add( m_panel6, 1, wxALL|wxEXPAND, 5 );
-
- m_staticline9 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer15->Add( m_staticline9, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer16;
- bSizer16 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonClose = new wxButton( this, wxID_OK, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer16->Add( m_buttonClose, 0, wxALL, 5 );
-
- bSizer15->Add( bSizer16, 0, wxALIGN_CENTER, 5 );
-
- this->SetSizer( bSizer15 );
- this->Layout();
-
- ConnectListBoxDClick(m_configurationsList, EditConfigurationDialog::OnItemDclick);
- ConnectButton(m_buttonClose, EditConfigurationDialog::OnButtonClose);
- ConnectButton(m_buttonRename, EditConfigurationDialog::OnButtonRename);
- ConnectButton(m_buttonDelete, EditConfigurationDialog::OnButtonDelete);
-}
-
-void EditConfigurationDialog::RenameConfiguration(const wxString &oldName, const wxString &newName)
-{
- ProjectSettingsPtr settings = ManagerST::Get()->GetProjectSettings(m_projectName);
- if(settings){
- BuildConfigPtr bldConf = settings->GetBuildConfiguration(oldName);
- if(bldConf){
- settings->RemoveConfiguration(oldName);
- bldConf->SetName(newName);
- settings->SetBuildConfiguration(bldConf);
- //save changes
- ManagerST::Get()->SetProjectSettings(m_projectName, settings);
-
- //update the control
- m_configurationsList->Clear();
- ProjectSettingsCookie cookie;
- BuildConfigPtr bldConf = settings->GetFirstBuildConfiguration(cookie);
- while(bldConf){
- m_configurationsList->Append(bldConf->GetName());
- bldConf = settings->GetNextBuildConfiguration(cookie);
- }
- if(m_configurationsList->GetCount()>0)
- m_configurationsList->SetSelection(0);
- }
- }
-}
-
-void EditConfigurationDialog::OnItemDclick(wxCommandEvent &event)
-{
- wxString oldName = event.GetString();
- wxTextEntryDialog *dlg = new wxTextEntryDialog(this, wxT("Enter New Name:"), wxT("Rename"), oldName);
- dlg->SetTextValidator(wxFILTER_ASCII);
-
- if(dlg->ShowModal() == wxID_OK){
- wxString newName = dlg->GetValue();
- RenameConfiguration(oldName, newName);
- }
-}
-
-void EditConfigurationDialog::OnButtonClose(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- EndModal(wxID_OK);
-}
-
-void EditConfigurationDialog::OnButtonRename(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- wxString oldName = m_configurationsList->GetStringSelection();
- if(oldName.IsEmpty()){
- return;
- }
- wxTextEntryDialog *dlg = new wxTextEntryDialog(this, wxT("Enter New Name:"), wxT("Rename"), oldName);
- dlg->SetTextValidator(wxFILTER_ASCII);
-
- if(dlg->ShowModal() == wxID_OK){
- wxString newName = dlg->GetValue();
- RenameConfiguration(oldName, newName);
- }
-}
-
-void EditConfigurationDialog::OnButtonDelete(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- wxString selection = m_configurationsList->GetStringSelection() ;
- if(selection.IsEmpty()){
- return;
- }
- wxString msg(wxT("Remove configuration '"));
- msg << selection << wxT("' ?");
- if(wxMessageBox(msg, wxT("Confirm"), wxYES_NO | wxCANCEL | wxICON_QUESTION) == wxYES){
- ProjectSettingsPtr settings = ManagerST::Get()->GetProjectSettings(m_projectName);
- if(settings){
- settings->RemoveConfiguration(selection);
- m_configurationsList->Delete(m_configurationsList->GetSelection());
- if(m_configurationsList->GetCount()>0)
- m_configurationsList->SetSelection(0);
-
- //save changes
- ManagerST::Get()->SetProjectSettings(m_projectName, settings);
- }
- }
-}
diff --git a/LiteEditor/edit_configuration.h b/LiteEditor/edit_configuration.h
deleted file mode 100644
index 53a22338..00000000
--- a/LiteEditor/edit_configuration.h
+++ /dev/null
@@ -1,71 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : edit_configuration.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __edit_configuration__
-#define __edit_configuration__
-
-#include <wx/wx.h>
-
-#include <wx/button.h>
-#include <wx/panel.h>
-#include <wx/statline.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditConfigurationDialog
-///////////////////////////////////////////////////////////////////////////////
-class EditConfigurationDialog : public wxDialog
-{
-private:
-
-protected:
- wxPanel* m_panel6;
- wxListBox* m_configurationsList;
- wxButton* m_buttonDelete;
- wxButton* m_buttonRename;
- wxStaticLine* m_staticline9;
- wxButton* m_buttonClose;
- wxString m_projectName;
-
- void OnItemDclick(wxCommandEvent &event);
- void OnButtonClose(wxCommandEvent &event);
- void OnButtonRename(wxCommandEvent &event);
- void OnButtonDelete(wxCommandEvent &event);
-
- void RenameConfiguration(const wxString &oldName, const wxString &newName);
-
-public:
- EditConfigurationDialog( wxWindow* parent, const wxString &projectName, int id = wxID_ANY, wxString title = wxT("Edit Configurations"), wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 338,199 ), int style = wxDEFAULT_DIALOG_STYLE );
-};
-
-#endif //__edit_configuration__
diff --git a/LiteEditor/edit_workspace_conf_dlg.cpp b/LiteEditor/edit_workspace_conf_dlg.cpp
deleted file mode 100644
index e21916df..00000000
--- a/LiteEditor/edit_workspace_conf_dlg.cpp
+++ /dev/null
@@ -1,172 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : edit_workspace_conf_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "edit_workspace_conf_dlg.h"
-#include "macros.h"
-#include "manager.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditWorkspaceConfDlg::EditWorkspaceConfDlg( wxWindow* parent, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_wspConfList = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- mainSizer->Add( m_wspConfList, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* btnSizer;
- btnSizer = new wxBoxSizer( wxVERTICAL );
-
- m_buttonRename = new wxButton( this, wxID_ANY, wxT("&Rename"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_buttonRename, 0, wxALL, 5 );
-
- m_buttonDelete = new wxButton( this, wxID_ANY, wxT("&Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_buttonDelete, 0, wxALL, 5 );
-
- m_buttonClose = new wxButton( this, wxID_CANCEL, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_buttonClose, 0, wxALL, 5 );
-
- mainSizer->Add( btnSizer, 0, wxEXPAND, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- CustomInit();
-}
-
-void EditWorkspaceConfDlg::OnListBoxDClick(wxCommandEvent &event)
-{
- DoRename(event.GetString());
-}
-
-void EditWorkspaceConfDlg::CustomInit()
-{
- //fill the list box
- FillList();
-
- ConnectButton(m_buttonDelete, EditWorkspaceConfDlg::OnDelete);
- ConnectButton(m_buttonRename, EditWorkspaceConfDlg::OnRename);
- ConnectListBoxDClick(m_wspConfList, EditWorkspaceConfDlg::OnRename);
-}
-
-void EditWorkspaceConfDlg::FillList()
-{
- m_wspConfList->Clear();
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- std::list<WorkspaceConfigurationPtr> confs;
-
- confs = matrix->GetConfigurations();
- std::list<WorkspaceConfigurationPtr>::iterator iter = confs.begin();
-
- for(; iter != confs.end(); iter++){
- m_wspConfList->Append((*iter)->GetName());
- m_wspConfList->SetSelection(0);
- }
-}
-
-void EditWorkspaceConfDlg::OnDelete(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- if(m_wspConfList->GetCount() == 0){
- return;
- }
- wxString delMe = m_wspConfList->GetStringSelection();
- if(delMe.IsEmpty()){
- return;
- }
-
- //remove the requested workspace build configuration
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- wxString msg;
- msg << wxT("Remove workspace configuration '") << delMe << wxT("' ?");
- if(wxMessageBox(msg, wxT("CodeLite"), wxICON_QUESTION | wxYES_NO | wxCANCEL) == wxYES){
- matrix->RemoveConfiguration(delMe);
- //apply changes
- ManagerST::Get()->SetWorkspaceBuildMatrix(matrix);
-
- //refresh list
- FillList();
- }
-}
-
-void EditWorkspaceConfDlg::DoRename(const wxString &selItem)
-{
- wxTextEntryDialog *dlg = new wxTextEntryDialog(this, wxT("New Configuration Name:"), wxT("Rename"), selItem);
- if(dlg->ShowModal() == wxID_OK){
- wxString newName = dlg->GetValue();
- TrimString(newName);
- if(!newName.IsEmpty()){
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- WorkspaceConfigurationPtr conf = matrix->GetConfigurationByName(selItem);
- //rename the configuration
- conf->SetName(newName);
- matrix->SetConfiguration(conf);
- matrix->RemoveConfiguration(selItem);
-
- //apply changes
- ManagerST::Get()->SetWorkspaceBuildMatrix(matrix);
- //refresh list
- FillList();
- }
- }
- dlg->Destroy();
-}
-
-void EditWorkspaceConfDlg::OnRename(wxCommandEvent &event)
-{
- wxString changeMe;
- wxUnusedVar(event);
- if(m_wspConfList->GetCount() == 0){
- return;
- }
-
- changeMe = m_wspConfList->GetStringSelection();
- if(changeMe.IsEmpty()){
- return;
- }
-
- DoRename(changeMe);
-}
diff --git a/LiteEditor/edit_workspace_conf_dlg.h b/LiteEditor/edit_workspace_conf_dlg.h
deleted file mode 100644
index c674eb23..00000000
--- a/LiteEditor/edit_workspace_conf_dlg.h
+++ /dev/null
@@ -1,69 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : edit_workspace_conf_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __edit_workspace_conf_dlg__
-#define __edit_workspace_conf_dlg__
-
-#include <wx/wx.h>
-
-#include <wx/button.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditWorkspaceConfDlg
-///////////////////////////////////////////////////////////////////////////////
-class EditWorkspaceConfDlg : public wxDialog
-{
-private:
- void CustomInit();
- void FillList();
- void DoRename(const wxString &selItem);
-
-protected:
- wxListBox* m_wspConfList;
- wxButton* m_buttonRename;
- wxButton* m_buttonDelete;
- wxButton* m_buttonClose;
-
-protected:
- //event handlers
- void OnDelete(wxCommandEvent &event);
- void OnRename(wxCommandEvent &event);
- void OnListBoxDClick(wxCommandEvent &event);
-
-public:
- EditWorkspaceConfDlg( wxWindow* parent, int id = wxID_ANY, wxString title = wxT("Edit Workspace Configuration"), wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 362,261 ), int style = wxDEFAULT_DIALOG_STYLE );
-
-};
-
-#endif //__edit_workspace_conf_dlg__
diff --git a/LiteEditor/editcmpfileinfobase.cpp b/LiteEditor/editcmpfileinfobase.cpp
deleted file mode 100644
index 3a08f383..00000000
--- a/LiteEditor/editcmpfileinfobase.cpp
+++ /dev/null
@@ -1,121 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editcmpfileinfobase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editcmpfileinfobase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditCmpFileInfoBase::EditCmpFileInfoBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxSize( -1,-1 ), wxSize( -1,-1 ) );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("File type:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer1->Add( m_staticText3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlFileType = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_textCtrlFileType, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Handle file has:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer1->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxString m_choiceFileTypeIsChoices[] = { wxT("Source"), wxT("Resource") };
- int m_choiceFileTypeIsNChoices = sizeof( m_choiceFileTypeIsChoices ) / sizeof( wxString );
- m_choiceFileTypeIs = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceFileTypeIsNChoices, m_choiceFileTypeIsChoices, 0 );
- m_choiceFileTypeIs->SetSelection( 0 );
- fgSizer1->Add( m_choiceFileTypeIs, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Compilation line:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- fgSizer1->Add( m_staticText4, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
-
- fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
-
- bSizer1->Add( fgSizer1, 0, wxEXPAND, 5 );
-
- m_textCtrl2 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_RICH2|wxTE_WORDWRAP );
- m_textCtrl2->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) );
- m_textCtrl2->SetMinSize( wxSize( 600,-1 ) );
-
- bSizer1->Add( m_textCtrl2, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonHelp = new wxButton( this, wxID_ANY, wxT("Help..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonHelp, 0, wxALL, 5 );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- bSizer2->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
- bSizer1->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_textCtrlFileType->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( EditCmpFileInfoBase::OnFileTypeText ), NULL, this );
- m_textCtrl2->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( EditCmpFileInfoBase::OnCompilationLine ), NULL, this );
- m_buttonHelp->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditCmpFileInfoBase::OnButtonHelp ), NULL, this );
- m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditCmpFileInfoBase::OnButtonOk ), NULL, this );
- m_buttonOk->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditCmpFileInfoBase::OnButtonOkUI ), NULL, this );
- m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditCmpFileInfoBase::OnButtonCancel ), NULL, this );
-}
-
-EditCmpFileInfoBase::~EditCmpFileInfoBase()
-{
- // Disconnect Events
- m_textCtrlFileType->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( EditCmpFileInfoBase::OnFileTypeText ), NULL, this );
- m_textCtrl2->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( EditCmpFileInfoBase::OnCompilationLine ), NULL, this );
- m_buttonHelp->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditCmpFileInfoBase::OnButtonHelp ), NULL, this );
- m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditCmpFileInfoBase::OnButtonOk ), NULL, this );
- m_buttonOk->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditCmpFileInfoBase::OnButtonOkUI ), NULL, this );
- m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditCmpFileInfoBase::OnButtonCancel ), NULL, this );
-}
diff --git a/LiteEditor/editcmpfileinfobase.h b/LiteEditor/editcmpfileinfobase.h
deleted file mode 100644
index 20e86784..00000000
--- a/LiteEditor/editcmpfileinfobase.h
+++ /dev/null
@@ -1,85 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editcmpfileinfobase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editcmpfileinfobase__
-#define __editcmpfileinfobase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/choice.h>
-#include <wx/sizer.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditCmpFileInfoBase
-///////////////////////////////////////////////////////////////////////////////
-class EditCmpFileInfoBase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText3;
- wxTextCtrl* m_textCtrlFileType;
- wxStaticText* m_staticText2;
- wxChoice* m_choiceFileTypeIs;
- wxStaticText* m_staticText4;
-
- wxTextCtrl* m_textCtrl2;
- wxButton* m_buttonHelp;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnFileTypeText( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCompilationLine( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonHelp( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonOk( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonOkUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- EditCmpFileInfoBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("File Type Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~EditCmpFileInfoBase();
-
-};
-
-#endif //__editcmpfileinfobase__
diff --git a/LiteEditor/editcmpfileinfodlg.cpp b/LiteEditor/editcmpfileinfodlg.cpp
deleted file mode 100644
index 2ec2c183..00000000
--- a/LiteEditor/editcmpfileinfodlg.cpp
+++ /dev/null
@@ -1,91 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editcmpfileinfodlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "windowattrmanager.h"
-#include "macrosdlg.h"
-#include "editcmpfileinfodlg.h"
-
-EditCmpFileInfo::EditCmpFileInfo( wxWindow* parent)
- : EditCmpFileInfoBase( parent )
-{
- WindowAttrManager::Load(this, wxT("EditCmpFileInfo"), NULL);
-}
-
-void EditCmpFileInfo::OnFileTypeText( wxCommandEvent& event )
-{
- event.Skip();
-}
-
-void EditCmpFileInfo::OnCompilationLine( wxCommandEvent& event )
-{
- event.Skip();
-}
-
-void EditCmpFileInfo::OnButtonOk( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- EndModal(wxID_OK);
-}
-
-void EditCmpFileInfo::OnButtonOkUI( wxUpdateUIEvent& event )
-{
- event.Enable(!m_textCtrl2->IsEmpty() && !m_textCtrlFileType->IsEmpty());
-}
-
-void EditCmpFileInfo::OnButtonCancel( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- EndModal(wxID_CANCEL);
-}
-
-void EditCmpFileInfo::SetCompilationLine(const wxString& s)
-{
- m_textCtrl2->SetValue(s);
-}
-
-void EditCmpFileInfo::SetExtension(const wxString& s)
-{
- m_textCtrlFileType->SetValue(s);
-}
-
-void EditCmpFileInfo::SetKind(const wxString& s)
-{
- int where = m_choiceFileTypeIs->FindString(s);
- if (where != wxNOT_FOUND) {
- m_choiceFileTypeIs->Select(where);
- }
-}
-
-void EditCmpFileInfo::OnButtonHelp(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- MacrosDlg dlg(this, MacrosDlg::MacrosCompiler);
- dlg.ShowModal();
-}
-
-EditCmpFileInfo::~EditCmpFileInfo()
-{
- WindowAttrManager::Save(this, wxT("EditCmpFileInfo"), NULL);
-}
diff --git a/LiteEditor/editcmpfileinfodlg.h b/LiteEditor/editcmpfileinfodlg.h
deleted file mode 100644
index f75118d6..00000000
--- a/LiteEditor/editcmpfileinfodlg.h
+++ /dev/null
@@ -1,69 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editcmpfileinfodlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editcmpfileinfodlg__
-#define __editcmpfileinfodlg__
-
-/**
-@file
-Subclass of EditCmpFileInfoBase, which is generated by wxFormBuilder.
-*/
-
-#include "editcmpfileinfobase.h"
-
-/** Implementing EditCmpFileInfoBase */
-class EditCmpFileInfo : public EditCmpFileInfoBase
-{
-protected:
- // Handlers for EditCmpFileInfoBase events.
- void OnFileTypeText( wxCommandEvent& event );
- void OnCompilationLine( wxCommandEvent& event );
- void OnButtonOk( wxCommandEvent& event );
- void OnButtonOkUI( wxUpdateUIEvent& event );
- void OnButtonCancel( wxCommandEvent& event );
- void OnButtonHelp( wxCommandEvent& event );
-public:
- /** Constructor */
- EditCmpFileInfo( wxWindow* parent);
- virtual ~EditCmpFileInfo();
-
- wxString GetCompilationLine() {
- return m_textCtrl2->GetValue();
- }
- wxString GetKind() {
- return m_choiceFileTypeIs->GetStringSelection();
- }
- wxString GetExtension() {
- return m_textCtrlFileType->GetValue();
- }
-
- void SetCompilationLine(const wxString &s) ;
-
- void SetExtension(const wxString &s) ;
-
- void SetKind(const wxString &s) ;
-};
-
-#endif // __editcmpfileinfodlg__
diff --git a/LiteEditor/editor_options_general_guides_panel.cpp b/LiteEditor/editor_options_general_guides_panel.cpp
deleted file mode 100644
index a092ecff..00000000
--- a/LiteEditor/editor_options_general_guides_panel.cpp
+++ /dev/null
@@ -1,105 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editor_options_general_guides_panel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include <wx/wxscintilla.h>
-#include "editor_options_general_guides_panel.h"
-
-EditorOptionsGeneralGuidesPanel::EditorOptionsGeneralGuidesPanel( wxWindow* parent )
-: EditorOptionsGeneralGuidesPanelBase( parent )
-, TreeBookNode<EditorOptionsGeneralGuidesPanel>()
-{
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
-
- m_displayLineNumbers->SetValue(options->GetDisplayLineNumbers());
- m_checkBoxMatchBraces->SetValue(options->GetHighlightMatchedBraces());
- m_showIndentationGuideLines->SetValue(options->GetShowIndentationGuidelines());
- m_checkBoxAutoCompleteBraces->SetValue(options->GetAutoAddMatchedBraces());
- m_checkBoxAdjustScrollbarSize->SetValue(options->GetAutoAdjustHScrollBarWidth());
-
- m_highlightCaretLine->SetValue(options->GetHighlightCaretLine());
- m_caretLineColourPicker->SetColour(options->GetCaretLineColour());
- m_choiceEOL->SetStringSelection(options->GetEolMode());
- m_checkBoxHideChangeMarkerMargin->SetValue( options->GetHideChangeMarkerMargin() );
- m_checkBoxDisableSemicolonShift->SetValue( options->GetDisableSemicolonShift() );
- EnableDisableCaretLineColourPicker();
-
- switch (options->GetShowWhitspaces()) {
- case wxSCI_WS_VISIBLEALWAYS:
- m_whitespaceStyle->SetStringSelection(wxT("Visible always"));
- break;
- case wxSCI_WS_VISIBLEAFTERINDENT:
- m_whitespaceStyle->SetStringSelection(wxT("Visible after indentation"));
- break;
- case wxSCI_WS_INDENTVISIBLE:
- m_whitespaceStyle->SetStringSelection(wxT("Indentation only"));
- break;
- default:
- m_whitespaceStyle->SetStringSelection(wxT("Invisible"));
- break;
- }
-
-}
-
-
-void EditorOptionsGeneralGuidesPanel::Save(OptionsConfigPtr options)
-{
- options->SetDisplayLineNumbers( m_displayLineNumbers->IsChecked() );
- options->SetHighlightMatchedBraces(m_checkBoxMatchBraces->IsChecked());
- options->SetShowIndentationGuidelines( m_showIndentationGuideLines->IsChecked() );
- options->SetHighlightCaretLine( m_highlightCaretLine->IsChecked() );
- options->SetAutoAdjustHScrollBarWidth(m_checkBoxAdjustScrollbarSize->IsChecked());
- options->SetCaretLineColour(m_caretLineColourPicker->GetColour());
- options->SetAutoAddMatchedBraces(m_checkBoxAutoCompleteBraces->IsChecked());
- options->SetEolMode(m_choiceEOL->GetStringSelection());
- options->SetHideChangeMarkerMargin( m_checkBoxHideChangeMarkerMargin->IsChecked() );
- options->SetDisableSemicolonShift( m_checkBoxDisableSemicolonShift->IsChecked() );
-
- // save the whitespace visibility
- int style(wxSCI_WS_INVISIBLE); // inivisble
- if (m_whitespaceStyle->GetStringSelection() == wxT("Visible always")) {
- style = wxSCI_WS_VISIBLEALWAYS;
- } else if (m_whitespaceStyle->GetStringSelection() == wxT("Visible after indentation")) {
- style = wxSCI_WS_VISIBLEAFTERINDENT;
- } else if (m_whitespaceStyle->GetStringSelection() == wxT("Indentation only")) {
- style = wxSCI_WS_INDENTVISIBLE;
- }
- options->SetShowWhitspaces(style);
-}
-
-void EditorOptionsGeneralGuidesPanel::EnableDisableCaretLineColourPicker()
-{
- if (m_highlightCaretLine->IsChecked()) {
- m_staticText1->Enable();
- m_caretLineColourPicker->Enable();
- } else {
- m_staticText1->Disable();
- m_caretLineColourPicker->Disable();
- }
-}
-
-void EditorOptionsGeneralGuidesPanel::OnHighlightCaretLine(wxCommandEvent& e)
-{
- EnableDisableCaretLineColourPicker();
-}
diff --git a/LiteEditor/editor_options_general_guides_panel.h b/LiteEditor/editor_options_general_guides_panel.h
deleted file mode 100644
index 09890332..00000000
--- a/LiteEditor/editor_options_general_guides_panel.h
+++ /dev/null
@@ -1,51 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editor_options_general_guides_panel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editor_options_general_guides_panel__
-#define __editor_options_general_guides_panel__
-
-/**
-@file
-Subclass of EditorOptionsGeneralGuidesPanelBase, which is generated by wxFormBuilder.
-*/
-
-#include "editoroptionsgeneralguidespanelbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorOptionsGeneralGuidesPanelBase */
-class EditorOptionsGeneralGuidesPanel
- : public EditorOptionsGeneralGuidesPanelBase
- , public TreeBookNode<EditorOptionsGeneralGuidesPanel>
-{
- void EnableDisableCaretLineColourPicker();
- void OnHighlightCaretLine(wxCommandEvent& e);
-public:
- /** Constructor */
- EditorOptionsGeneralGuidesPanel( wxWindow* parent );
-
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editor_options_general_guides_panel__
diff --git a/LiteEditor/editoroptionsgeneralcodenavpanel.cpp b/LiteEditor/editoroptionsgeneralcodenavpanel.cpp
deleted file mode 100644
index c6ebc322..00000000
--- a/LiteEditor/editoroptionsgeneralcodenavpanel.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralcodenavpanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editoroptionsgeneralcodenavpanel.h"
-
-EditorOptionsGeneralCodeNavPanel::EditorOptionsGeneralCodeNavPanel( wxWindow* parent )
-: EditorOptionsGeneralCodeNavPanelBase( parent )
-, TreeBookNode<EditorOptionsGeneralCodeNavPanel>()
-{
- long value = 0;
- EditorConfigST::Get()->GetLongValue(wxT("QuickCodeNavigationUsesMouseMiddleButton"), value);
- switch(value){
- case 1:
- m_radioBoxNavigationMethodLeft->SetValue(false);
- m_radioBoxNavigationMethodMiddle->SetValue(true);
- break;
- case 0:
- default:
- m_radioBoxNavigationMethodLeft->SetValue(true);
- m_radioBoxNavigationMethodMiddle->SetValue(false);
- break;
- }
-}
-
-
-void EditorOptionsGeneralCodeNavPanel::Save(OptionsConfigPtr options)
-{
- EditorConfigST::Get()->SaveLongValue(wxT("QuickCodeNavigationUsesMouseMiddleButton"), m_radioBoxNavigationMethodMiddle->GetValue() ? 1 : 0);
-}
diff --git a/LiteEditor/editoroptionsgeneralcodenavpanel.h b/LiteEditor/editoroptionsgeneralcodenavpanel.h
deleted file mode 100644
index 3a01f10b..00000000
--- a/LiteEditor/editoroptionsgeneralcodenavpanel.h
+++ /dev/null
@@ -1,48 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralcodenavpanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editoroptionsgeneralcodenavpanel__
-#define __editoroptionsgeneralcodenavpanel__
-
-/**
-@file
-Subclass of EditorOptionsGeneralCodeNavPanelBase, which is generated by wxFormBuilder.
-*/
-
-#include "editoroptionsgeneralcodenavpanelbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorOptionsGeneralCodeNavPanelBase */
-class EditorOptionsGeneralCodeNavPanel
-: public EditorOptionsGeneralCodeNavPanelBase
-, public TreeBookNode<EditorOptionsGeneralCodeNavPanel>
-{
-public:
- /** Constructor */
- EditorOptionsGeneralCodeNavPanel( wxWindow* parent );
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editoroptionsgeneralcodenavpanel__
diff --git a/LiteEditor/editoroptionsgeneralcodenavpanelbase.cpp b/LiteEditor/editoroptionsgeneralcodenavpanelbase.cpp
deleted file mode 100644
index cf22b98a..00000000
--- a/LiteEditor/editoroptionsgeneralcodenavpanelbase.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralcodenavpanelbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editoroptionsgeneralcodenavpanelbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorOptionsGeneralCodeNavPanelBase::EditorOptionsGeneralCodeNavPanelBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_radioBoxNavigationMethodLeft = new wxRadioButton( this, wxID_ANY, _("Ctrl+Mouse left button jumps to declaration\nCtrl+Alt+Mouse left button jumps to implementation"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
- m_radioBoxNavigationMethodLeft->SetValue( true );
- mainSizer->Add( m_radioBoxNavigationMethodLeft, 0, wxALL, 5 );
-
- m_radioBoxNavigationMethodMiddle = new wxRadioButton( this, wxID_ANY, _("Mouse middle button jumps to declaration\nCtrl+Mouse middle button jumps to implementation"), wxDefaultPosition, wxDefaultSize, 0 );
- mainSizer->Add( m_radioBoxNavigationMethodMiddle, 0, wxALL, 5 );
-
- bSizer2->Add( mainSizer, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer2 );
- this->Layout();
- bSizer2->Fit( this );
-}
-
-EditorOptionsGeneralCodeNavPanelBase::~EditorOptionsGeneralCodeNavPanelBase()
-{
-}
diff --git a/LiteEditor/editoroptionsgeneralcodenavpanelbase.fbp b/LiteEditor/editoroptionsgeneralcodenavpanelbase.fbp
deleted file mode 100644
index 52a8f9a3..00000000
--- a/LiteEditor/editoroptionsgeneralcodenavpanelbase.fbp
+++ /dev/null
@@ -1,186 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editoroptionsgeneralcodenavpanelbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorOptionsGeneralCodeNavPanelBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorOptionsGeneralCodeNavPanelBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer2</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxRadioButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Ctrl+Mouse left button jumps to declaration&#x0A;Ctrl+Alt+Mouse left button jumps to implementation</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_radioBoxNavigationMethodLeft</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxRB_GROUP</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">1</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRadioButton"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxRadioButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Mouse middle button jumps to declaration&#x0A;Ctrl+Mouse middle button jumps to implementation</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_radioBoxNavigationMethodMiddle</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">0</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRadioButton"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editoroptionsgeneralcodenavpanelbase.h b/LiteEditor/editoroptionsgeneralcodenavpanelbase.h
deleted file mode 100644
index 90630d06..00000000
--- a/LiteEditor/editoroptionsgeneralcodenavpanelbase.h
+++ /dev/null
@@ -1,67 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralcodenavpanelbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editoroptionsgeneralcodenavpanelbase__
-#define __editoroptionsgeneralcodenavpanelbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/radiobut.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorOptionsGeneralCodeNavPanelBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorOptionsGeneralCodeNavPanelBase : public wxPanel
-{
- private:
-
- protected:
- wxRadioButton* m_radioBoxNavigationMethodLeft;
- wxRadioButton* m_radioBoxNavigationMethodMiddle;
-
- public:
- EditorOptionsGeneralCodeNavPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~EditorOptionsGeneralCodeNavPanelBase();
-
-};
-
-#endif //__editoroptionsgeneralcodenavpanelbase__
diff --git a/LiteEditor/editoroptionsgeneralguidespanelbase.cpp b/LiteEditor/editoroptionsgeneralguidespanelbase.cpp
deleted file mode 100644
index 4fec9600..00000000
--- a/LiteEditor/editoroptionsgeneralguidespanelbase.cpp
+++ /dev/null
@@ -1,109 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editoroptionsgeneralguidespanelbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorOptionsGeneralGuidesPanelBase::EditorOptionsGeneralGuidesPanelBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 0, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_displayLineNumbers = new wxCheckBox( this, wxID_ANY, _("Display line numbers"), wxDefaultPosition, wxDefaultSize, 0 );
- m_displayLineNumbers->SetToolTip( _("Show line numbers margin") );
-
- fgSizer1->Add( m_displayLineNumbers, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_showIndentationGuideLines = new wxCheckBox( this, wxID_ANY, _("Show indentation guidelines"), wxDefaultPosition, wxDefaultSize, 0 );
- m_showIndentationGuideLines->SetToolTip( _("Turn on indentation highlights guides (small vertical lines)") );
-
- fgSizer1->Add( m_showIndentationGuideLines, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_checkBoxMatchBraces = new wxCheckBox( this, wxID_ANY, _("Highlight matched braces"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxMatchBraces->SetToolTip( _("Highlight matched braces") );
-
- fgSizer1->Add( m_checkBoxMatchBraces, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_checkBoxAutoCompleteBraces = new wxCheckBox( this, wxID_ANY, _("Auto Complete Braces"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxAutoCompleteBraces->SetToolTip( _("Auto add matching close brace") );
-
- fgSizer1->Add( m_checkBoxAutoCompleteBraces, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_highlightCaretLine = new wxCheckBox( this, wxID_ANY, _("Highlight caret line"), wxDefaultPosition, wxDefaultSize, 0 );
- m_highlightCaretLine->SetToolTip( _("Highlight the caret line") );
-
- fgSizer1->Add( m_highlightCaretLine, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- m_checkBoxAdjustScrollbarSize = new wxCheckBox( this, wxID_ANY, _("Auto adjust editor's horizontal scrollbar width"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxAdjustScrollbarSize->SetToolTip( _("Adujst the horizontal scrollbar width to the editor's content") );
-
- fgSizer1->Add( m_checkBoxAdjustScrollbarSize, 0, wxALL, 5 );
-
- m_checkBoxHideChangeMarkerMargin = new wxCheckBox( this, wxID_ANY, _("Hide change marker margin"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxHideChangeMarkerMargin->SetToolTip( _("Hide / Display the change marker margin (red/green marks when line is modified)") );
-
- fgSizer1->Add( m_checkBoxHideChangeMarkerMargin, 0, wxALL, 5 );
-
- m_checkBoxDisableSemicolonShift = new wxCheckBox( this, wxID_ANY, _("Disable semicolon shift"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxDisableSemicolonShift->SetToolTip( _("Auto swap between semicolon and closing brace") );
-
- fgSizer1->Add( m_checkBoxDisableSemicolonShift, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Caret line backgound color:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- fgSizer1->Add( m_staticText1, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
-
- m_caretLineColourPicker = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE|wxCLRP_SHOW_LABEL );
- fgSizer1->Add( m_caretLineColourPicker, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Whitespace visibility:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer1->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
-
- wxString m_whitespaceStyleChoices[] = { _("Invisible"), _("Visible always"), _("Visible after indentation"), _("Indentation only") };
- int m_whitespaceStyleNChoices = sizeof( m_whitespaceStyleChoices ) / sizeof( wxString );
- m_whitespaceStyle = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_whitespaceStyleNChoices, m_whitespaceStyleChoices, 0 );
- m_whitespaceStyle->SetSelection( 0 );
- fgSizer1->Add( m_whitespaceStyle, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, _("EOL Mode:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- m_staticText4->SetToolTip( _("Set the editor's EOL mode (End Of Line)") );
-
- fgSizer1->Add( m_staticText4, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- wxString m_choiceEOLChoices[] = { _("Default"), _("Mac (CR)"), _("Windows (CRLF)"), _("Unix (LF)") };
- int m_choiceEOLNChoices = sizeof( m_choiceEOLChoices ) / sizeof( wxString );
- m_choiceEOL = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceEOLNChoices, m_choiceEOLChoices, 0 );
- m_choiceEOL->SetSelection( 0 );
- m_choiceEOL->SetToolTip( _("Set the editor's EOL mode (End Of Line). When set to 'Default' CodeLite will set the EOL according to the hosting OS") );
-
- fgSizer1->Add( m_choiceEOL, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- bSizer1->Add( fgSizer1, 1, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
- bSizer1->Fit( this );
-
- // Connect Events
- m_highlightCaretLine->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( EditorOptionsGeneralGuidesPanelBase::OnHighlightCaretLine ), NULL, this );
-}
-
-EditorOptionsGeneralGuidesPanelBase::~EditorOptionsGeneralGuidesPanelBase()
-{
- // Disconnect Events
- m_highlightCaretLine->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( EditorOptionsGeneralGuidesPanelBase::OnHighlightCaretLine ), NULL, this );
-}
diff --git a/LiteEditor/editoroptionsgeneralguidespanelbase.fbp b/LiteEditor/editoroptionsgeneralguidespanelbase.fbp
deleted file mode 100644
index 65262eed..00000000
--- a/LiteEditor/editoroptionsgeneralguidespanelbase.fbp
+++ /dev/null
@@ -1,875 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editoroptionsgeneralguidespanelbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorOptionsGeneralGuidesPanelBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorOptionsGeneralGuidesPanelBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">0,1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer1</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">0</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Display line numbers</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_displayLineNumbers</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Show line numbers margin</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Show indentation guidelines</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_showIndentationGuideLines</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Turn on indentation highlights guides (small vertical lines)</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Highlight matched braces</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxMatchBraces</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Highlight matched braces</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Auto Complete Braces</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxAutoCompleteBraces</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Auto add matching close brace</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Highlight caret line</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_highlightCaretLine</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Highlight the caret line</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox">OnHighlightCaretLine</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Auto adjust editor&apos;s horizontal scrollbar width</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxAdjustScrollbarSize</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Adujst the horizontal scrollbar width to the editor&apos;s content</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Hide change marker margin</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxHideChangeMarkerMargin</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Hide / Display the change marker margin (red/green marks when line is modified)</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Disable semicolon shift</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxDisableSemicolonShift</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Auto swap between semicolon and closing brace</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Caret line backgound color:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxColourPickerCtrl" expanded="1">
- <property name="bg"></property>
- <property name="colour"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_caretLineColourPicker</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxCLRP_DEFAULT_STYLE|wxCLRP_SHOW_LABEL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnColourChanged"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Whitespace visibility:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices">&quot;Invisible&quot; &quot;Visible always&quot; &quot;Visible after indentation&quot; &quot;Indentation only&quot;</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_whitespaceStyle</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">0</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">EOL Mode:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText4</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Set the editor&apos;s EOL mode (End Of Line)</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices">&quot;Default&quot; &quot;Mac (CR)&quot; &quot;Windows (CRLF)&quot; &quot;Unix (LF)&quot;</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_choiceEOL</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">0</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip">Set the editor&apos;s EOL mode (End Of Line). When set to &apos;Default&apos; CodeLite will set the EOL according to the hosting OS</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editoroptionsgeneralguidespanelbase.h b/LiteEditor/editoroptionsgeneralguidespanelbase.h
deleted file mode 100644
index d08e74e4..00000000
--- a/LiteEditor/editoroptionsgeneralguidespanelbase.h
+++ /dev/null
@@ -1,62 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editoroptionsgeneralguidespanelbase__
-#define __editoroptionsgeneralguidespanelbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/checkbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/stattext.h>
-#include <wx/clrpicker.h>
-#include <wx/choice.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorOptionsGeneralGuidesPanelBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorOptionsGeneralGuidesPanelBase : public wxPanel
-{
- private:
-
- protected:
- wxCheckBox* m_displayLineNumbers;
- wxCheckBox* m_showIndentationGuideLines;
- wxCheckBox* m_checkBoxMatchBraces;
- wxCheckBox* m_checkBoxAutoCompleteBraces;
- wxCheckBox* m_highlightCaretLine;
- wxCheckBox* m_checkBoxAdjustScrollbarSize;
- wxCheckBox* m_checkBoxHideChangeMarkerMargin;
- wxCheckBox* m_checkBoxDisableSemicolonShift;
- wxStaticText* m_staticText1;
- wxColourPickerCtrl* m_caretLineColourPicker;
- wxStaticText* m_staticText2;
- wxChoice* m_whitespaceStyle;
- wxStaticText* m_staticText4;
- wxChoice* m_choiceEOL;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnHighlightCaretLine( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- EditorOptionsGeneralGuidesPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~EditorOptionsGeneralGuidesPanelBase();
-
-};
-
-#endif //__editoroptionsgeneralguidespanelbase__
diff --git a/LiteEditor/editoroptionsgeneralindentationpanel.cpp b/LiteEditor/editoroptionsgeneralindentationpanel.cpp
deleted file mode 100644
index e188e289..00000000
--- a/LiteEditor/editoroptionsgeneralindentationpanel.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralindentationpanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editoroptionsgeneralindentationpanel.h"
-
-EditorOptionsGeneralIndentationPanel::EditorOptionsGeneralIndentationPanel( wxWindow* parent )
-: EditorOptionsGeneralIndetationPanelBase( parent )
-, TreeBookNode<EditorOptionsGeneralIndentationPanel>()
-{
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- m_checkBoxDisableSmartIdent->SetValue(options->GetDisableSmartIndent());
- m_indentsUsesTabs->SetValue(options->GetIndentUsesTabs());
- m_indentWidth->SetValue(options->GetIndentWidth());
- m_tabWidth->SetValue(options->GetTabWidth());
-}
-
-void EditorOptionsGeneralIndentationPanel::Save(OptionsConfigPtr options)
-{
- options->SetIndentUsesTabs(m_indentsUsesTabs->IsChecked());
- options->SetIndentWidth(m_indentWidth->GetValue());
- options->SetTabWidth(m_tabWidth->GetValue());
- options->SetDisableSmartIndent(m_checkBoxDisableSmartIdent->IsChecked());
-}
-
diff --git a/LiteEditor/editoroptionsgeneralindentationpanel.h b/LiteEditor/editoroptionsgeneralindentationpanel.h
deleted file mode 100644
index 5ec29edc..00000000
--- a/LiteEditor/editoroptionsgeneralindentationpanel.h
+++ /dev/null
@@ -1,49 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralindentationpanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editoroptionsgeneralindentationpanel__
-#define __editoroptionsgeneralindentationpanel__
-
-/**
-@file
-Subclass of EditorOptionsGeneralIndetationPanelBase, which is generated by wxFormBuilder.
-*/
-
-#include "editoroptionsgeneralindetationpanelbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorOptionsGeneralIndetationPanelBase */
-class EditorOptionsGeneralIndentationPanel
-: public EditorOptionsGeneralIndetationPanelBase
-, public TreeBookNode<EditorOptionsGeneralIndentationPanel>
-{
-public:
- /** Constructor */
- EditorOptionsGeneralIndentationPanel( wxWindow* parent );
-
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editoroptionsgeneralindentationpanel__
diff --git a/LiteEditor/editoroptionsgeneralindetationpanelbase.cpp b/LiteEditor/editoroptionsgeneralindetationpanelbase.cpp
deleted file mode 100644
index f619e122..00000000
--- a/LiteEditor/editoroptionsgeneralindetationpanelbase.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editoroptionsgeneralindetationpanelbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorOptionsGeneralIndetationPanelBase::EditorOptionsGeneralIndetationPanelBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_checkBoxDisableSmartIdent = new wxCheckBox( this, wxID_ANY, _("Disable Smart Indentation"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer1->Add( m_checkBoxDisableSmartIdent, 0, wxALL|wxEXPAND, 5 );
-
- m_indentsUsesTabs = new wxCheckBox( this, wxID_ANY, _("Use tabs in indentation"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer1->Add( m_indentsUsesTabs, 0, wxALL|wxEXPAND, 5 );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Columns per indentation level:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- fgSizer1->Add( m_staticText1, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
-
- m_indentWidth = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 20, 4 );
- fgSizer1->Add( m_indentWidth, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Columns per tab character in document:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer1->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
-
- m_tabWidth = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 20, 4 );
- fgSizer1->Add( m_tabWidth, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( fgSizer1, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
- bSizer1->Fit( this );
-}
-
-EditorOptionsGeneralIndetationPanelBase::~EditorOptionsGeneralIndetationPanelBase()
-{
-}
diff --git a/LiteEditor/editoroptionsgeneralindetationpanelbase.fbp b/LiteEditor/editoroptionsgeneralindetationpanelbase.fbp
deleted file mode 100644
index 38496bf4..00000000
--- a/LiteEditor/editoroptionsgeneralindetationpanelbase.fbp
+++ /dev/null
@@ -1,437 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editoroptionsgeneralindetationpanelbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorOptionsGeneralIndentationPanelBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorOptionsGeneralIndetationPanelBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Disable Smart Indentation</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxDisableSmartIdent</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Use tabs in indentation</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_indentsUsesTabs</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer1</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Columns per indentation level:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">4</property>
- <property name="max">20</property>
- <property name="maximum_size"></property>
- <property name="min">1</property>
- <property name="minimum_size"></property>
- <property name="name">m_indentWidth</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Columns per tab character in document:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">4</property>
- <property name="max">20</property>
- <property name="maximum_size"></property>
- <property name="min">1</property>
- <property name="minimum_size"></property>
- <property name="name">m_tabWidth</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editoroptionsgeneralindetationpanelbase.h b/LiteEditor/editoroptionsgeneralindetationpanelbase.h
deleted file mode 100644
index a01d7087..00000000
--- a/LiteEditor/editoroptionsgeneralindetationpanelbase.h
+++ /dev/null
@@ -1,49 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editoroptionsgeneralindetationpanelbase__
-#define __editoroptionsgeneralindetationpanelbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/checkbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/stattext.h>
-#include <wx/spinctrl.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorOptionsGeneralIndetationPanelBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorOptionsGeneralIndetationPanelBase : public wxPanel
-{
- private:
-
- protected:
- wxCheckBox* m_checkBoxDisableSmartIdent;
- wxCheckBox* m_indentsUsesTabs;
- wxStaticText* m_staticText1;
- wxSpinCtrl* m_indentWidth;
- wxStaticText* m_staticText2;
- wxSpinCtrl* m_tabWidth;
-
- public:
-
- EditorOptionsGeneralIndetationPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~EditorOptionsGeneralIndetationPanelBase();
-
-};
-
-#endif //__editoroptionsgeneralindetationpanelbase__
diff --git a/LiteEditor/editoroptionsgeneralrightmarginpanel.cpp b/LiteEditor/editoroptionsgeneralrightmarginpanel.cpp
deleted file mode 100644
index edafd1f4..00000000
--- a/LiteEditor/editoroptionsgeneralrightmarginpanel.cpp
+++ /dev/null
@@ -1,69 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralrightmarginpanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editoroptionsgeneralrightmarginpanel.h"
-#include <wx/wxscintilla.h>
-
-EditorOptionsGeneralRightMarginPanel::EditorOptionsGeneralRightMarginPanel( wxWindow* parent )
-: EditorOptionsGeneralRightMarginPanelBase( parent )
-, TreeBookNode<EditorOptionsGeneralRightMarginPanel>()
-{
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- m_radioBtnRMDisabled->SetValue(options->GetEdgeMode() == wxSCI_EDGE_NONE);
- m_radioBtnRMLine->SetValue(options->GetEdgeMode() == wxSCI_EDGE_LINE);
- m_radioBtnRMBackground->SetValue(options->GetEdgeMode() == wxSCI_EDGE_BACKGROUND);
- m_rightMarginColumn->SetValue(options->GetEdgeColumn());
- m_rightMarginColour->SetColour(options->GetEdgeColour());
- EnableDisableRightMargin();
-}
-
-void EditorOptionsGeneralRightMarginPanel::Save(OptionsConfigPtr options)
-{
- options->SetEdgeMode(m_radioBtnRMLine->GetValue() ? wxSCI_EDGE_LINE :
- m_radioBtnRMBackground->GetValue() ? wxSCI_EDGE_BACKGROUND
- : wxSCI_EDGE_NONE);
- options->SetEdgeColumn(m_rightMarginColumn->GetValue());
- options->SetEdgeColour(m_rightMarginColour->GetColour());
-}
-
-void EditorOptionsGeneralRightMarginPanel::OnRightMarginIndicator(wxCommandEvent& e)
-{
- EnableDisableRightMargin();
-}
-
-void EditorOptionsGeneralRightMarginPanel::EnableDisableRightMargin()
-{
- if(m_radioBtnRMDisabled->GetValue()){
- m_rightMarginColour->Disable();
- m_rightMarginColumn->Disable();
- m_staticText1->Disable();
- m_staticText2->Disable();
- } else {
- m_rightMarginColour->Enable();
- m_rightMarginColumn->Enable();
- m_staticText1->Enable();
- m_staticText2->Enable();
- }
-}
diff --git a/LiteEditor/editoroptionsgeneralrightmarginpanel.h b/LiteEditor/editoroptionsgeneralrightmarginpanel.h
deleted file mode 100644
index 1e7b810e..00000000
--- a/LiteEditor/editoroptionsgeneralrightmarginpanel.h
+++ /dev/null
@@ -1,52 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralrightmarginpanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editoroptionsgeneralrightmarginpanel__
-#define __editoroptionsgeneralrightmarginpanel__
-
-/**
-@file
-Subclass of EditorOptionsGeneralRightMarginPanelBase, which is generated by wxFormBuilder.
-*/
-
-#include "editoroptionsgeneralrightmarginpanelbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorOptionsGeneralRightMarginPanelBase */
-class EditorOptionsGeneralRightMarginPanel
-: public EditorOptionsGeneralRightMarginPanelBase
-, public TreeBookNode<EditorOptionsGeneralRightMarginPanel>
-{
-protected:
- void OnRightMarginIndicator(wxCommandEvent& e);
- void EnableDisableRightMargin();
-public:
- /** Constructor */
- EditorOptionsGeneralRightMarginPanel( wxWindow* parent );
-
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editoroptionsgeneralrightmarginpanel__
diff --git a/LiteEditor/editoroptionsgeneralrightmarginpanelbase.cpp b/LiteEditor/editoroptionsgeneralrightmarginpanelbase.cpp
deleted file mode 100644
index c311c8e7..00000000
--- a/LiteEditor/editoroptionsgeneralrightmarginpanelbase.cpp
+++ /dev/null
@@ -1,94 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralrightmarginpanelbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editoroptionsgeneralrightmarginpanelbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorOptionsGeneralRightMarginPanelBase::EditorOptionsGeneralRightMarginPanelBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_radioBtnRMDisabled = new wxRadioButton( this, wxID_ANY, _("Disabled"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
- m_radioBtnRMDisabled->SetValue( true );
- bSizer4->Add( m_radioBtnRMDisabled, 0, wxALL, 5 );
-
- m_radioBtnRMLine = new wxRadioButton( this, wxID_ANY, _("Line"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_radioBtnRMLine, 0, wxALL, 5 );
-
- m_radioBtnRMBackground = new wxRadioButton( this, wxID_ANY, _("Background"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_radioBtnRMBackground, 0, wxALL, 5 );
-
- bSizer3->Add( bSizer4, 0, wxEXPAND, 5 );
-
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer2->AddGrowableCol( 1 );
- fgSizer2->SetFlexibleDirection( wxBOTH );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Indicator Column"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- fgSizer2->Add( m_staticText1, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_rightMarginColumn = new wxSpinCtrl( this, wxID_ANY, wxT("80"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 256, 0 );
- fgSizer2->Add( m_rightMarginColumn, 0, wxALL|wxEXPAND|wxRIGHT, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Indicator Colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer2->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_rightMarginColour = new wxColourPickerCtrl( this, wxID_ANY, wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT ), wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE|wxCLRP_SHOW_LABEL );
- fgSizer2->Add( m_rightMarginColour, 0, wxALL|wxEXPAND|wxRIGHT, 5 );
-
- bSizer3->Add( fgSizer2, 1, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( bSizer3 );
- this->Layout();
-
- // Connect Events
- m_radioBtnRMDisabled->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( EditorOptionsGeneralRightMarginPanelBase::OnRightMarginIndicator ), NULL, this );
- m_radioBtnRMLine->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( EditorOptionsGeneralRightMarginPanelBase::OnRightMarginIndicator ), NULL, this );
- m_radioBtnRMBackground->Connect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( EditorOptionsGeneralRightMarginPanelBase::OnRightMarginIndicator ), NULL, this );
-}
-
-EditorOptionsGeneralRightMarginPanelBase::~EditorOptionsGeneralRightMarginPanelBase()
-{
- // Disconnect Events
- m_radioBtnRMDisabled->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( EditorOptionsGeneralRightMarginPanelBase::OnRightMarginIndicator ), NULL, this );
- m_radioBtnRMLine->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( EditorOptionsGeneralRightMarginPanelBase::OnRightMarginIndicator ), NULL, this );
- m_radioBtnRMBackground->Disconnect( wxEVT_COMMAND_RADIOBUTTON_SELECTED, wxCommandEventHandler( EditorOptionsGeneralRightMarginPanelBase::OnRightMarginIndicator ), NULL, this );
-}
diff --git a/LiteEditor/editoroptionsgeneralrightmarginpanelbase.fbp b/LiteEditor/editoroptionsgeneralrightmarginpanelbase.fbp
deleted file mode 100644
index d931e7e1..00000000
--- a/LiteEditor/editoroptionsgeneralrightmarginpanelbase.fbp
+++ /dev/null
@@ -1,464 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editoroptionsgeneralrightmarginpanelbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorOptionsGeneralRightMarginPanelBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorOptionsGeneralRightMarginPanelBase</property>
- <property name="pos"></property>
- <property name="size">263,143</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size">-1,-1</property>
- <property name="name">bSizer3</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer4</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxRadioButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Disabled</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_radioBtnRMDisabled</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxRB_GROUP</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">1</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRadioButton">OnRightMarginIndicator</event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxRadioButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Line</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_radioBtnRMLine</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">0</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRadioButton">OnRightMarginIndicator</event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxRadioButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Background</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_radioBtnRMBackground</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">0</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRadioButton">OnRightMarginIndicator</event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer2</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Indicator Column</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxRIGHT</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">0</property>
- <property name="max">256</property>
- <property name="maximum_size"></property>
- <property name="min">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_rightMarginColumn</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">80</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Indicator Colour:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxRIGHT</property>
- <property name="proportion">0</property>
- <object class="wxColourPickerCtrl" expanded="1">
- <property name="bg"></property>
- <property name="colour">wxSYS_COLOUR_WINDOWTEXT</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_rightMarginColour</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxCLRP_DEFAULT_STYLE|wxCLRP_SHOW_LABEL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnColourChanged"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editoroptionsgeneralrightmarginpanelbase.h b/LiteEditor/editoroptionsgeneralrightmarginpanelbase.h
deleted file mode 100644
index 381bfaa3..00000000
--- a/LiteEditor/editoroptionsgeneralrightmarginpanelbase.h
+++ /dev/null
@@ -1,79 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralrightmarginpanelbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editoroptionsgeneralrightmarginpanelbase__
-#define __editoroptionsgeneralrightmarginpanelbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/radiobut.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/stattext.h>
-#include <wx/spinctrl.h>
-#include <wx/clrpicker.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorOptionsGeneralRightMarginPanelBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorOptionsGeneralRightMarginPanelBase : public wxPanel
-{
- private:
-
- protected:
- wxRadioButton* m_radioBtnRMDisabled;
- wxRadioButton* m_radioBtnRMLine;
- wxRadioButton* m_radioBtnRMBackground;
- wxStaticText* m_staticText1;
- wxSpinCtrl* m_rightMarginColumn;
- wxStaticText* m_staticText2;
- wxColourPickerCtrl* m_rightMarginColour;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnRightMarginIndicator( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- EditorOptionsGeneralRightMarginPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 263,143 ), long style = wxTAB_TRAVERSAL );
- ~EditorOptionsGeneralRightMarginPanelBase();
-
-};
-
-#endif //__editoroptionsgeneralrightmarginpanelbase__
diff --git a/LiteEditor/editoroptionsgeneralsavepanel.cpp b/LiteEditor/editoroptionsgeneralsavepanel.cpp
deleted file mode 100644
index 860fa0a0..00000000
--- a/LiteEditor/editoroptionsgeneralsavepanel.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralsavepanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editoroptionsgeneralsavepanel.h"
-
-EditorOptionsGeneralSavePanel::EditorOptionsGeneralSavePanel( wxWindow* parent )
-: EditorOptionsGeneralSavePanelBase( parent )
-, TreeBookNode<EditorOptionsGeneralSavePanel>()
-{
- long trim(0);
- EditorConfigST::Get()->GetLongValue(wxT("EditorTrimEmptyLines"), trim);
- m_checkBoxTrimLine->SetValue(trim ? true : false);
-
- long appendLf(0);
- EditorConfigST::Get()->GetLongValue(wxT("EditorAppendLf"), appendLf);
- m_checkBoxAppendLF->SetValue(appendLf ? true : false);
-}
-
-void EditorOptionsGeneralSavePanel::Save(OptionsConfigPtr options)
-{
- EditorConfigST::Get()->SaveLongValue(wxT("EditorTrimEmptyLines"), m_checkBoxTrimLine->IsChecked() ? 1 : 0);
- EditorConfigST::Get()->SaveLongValue(wxT("EditorAppendLf"), m_checkBoxAppendLF->IsChecked() ? 1 : 0);
-}
diff --git a/LiteEditor/editoroptionsgeneralsavepanel.h b/LiteEditor/editoroptionsgeneralsavepanel.h
deleted file mode 100644
index 30a5bb63..00000000
--- a/LiteEditor/editoroptionsgeneralsavepanel.h
+++ /dev/null
@@ -1,48 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralsavepanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editoroptionsgeneralsavepanel__
-#define __editoroptionsgeneralsavepanel__
-
-/**
-@file
-Subclass of EditorOptionsGeneralSavePanelBase, which is generated by wxFormBuilder.
-*/
-
-#include "editoroptionsgeneralsavepanelbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorOptionsGeneralSavePanelBase */
-class EditorOptionsGeneralSavePanel
-: public EditorOptionsGeneralSavePanelBase
-, public TreeBookNode<EditorOptionsGeneralSavePanel>
-{
-public:
- /** Constructor */
- EditorOptionsGeneralSavePanel( wxWindow* parent );
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editoroptionsgeneralsavepanel__
diff --git a/LiteEditor/editoroptionsgeneralsavepanelbase.cpp b/LiteEditor/editoroptionsgeneralsavepanelbase.cpp
deleted file mode 100644
index 5c4e31f4..00000000
--- a/LiteEditor/editoroptionsgeneralsavepanelbase.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralsavepanelbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editoroptionsgeneralsavepanelbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorOptionsGeneralSavePanelBase::EditorOptionsGeneralSavePanelBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_checkBoxTrimLine = new wxCheckBox( this, wxID_ANY, _("When saving files, trim empty lines"), wxDefaultPosition, wxDefaultSize, 0 );
-
- mainSizer->Add( m_checkBoxTrimLine, 0, wxALL, 5 );
-
- m_checkBoxAppendLF = new wxCheckBox( this, wxID_ANY, _("If missing, append EOL at end of file"), wxDefaultPosition, wxDefaultSize, 0 );
-
- mainSizer->Add( m_checkBoxAppendLF, 0, wxALL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-}
-
-EditorOptionsGeneralSavePanelBase::~EditorOptionsGeneralSavePanelBase()
-{
-}
diff --git a/LiteEditor/editoroptionsgeneralsavepanelbase.fbp b/LiteEditor/editoroptionsgeneralsavepanelbase.fbp
deleted file mode 100644
index 3f482621..00000000
--- a/LiteEditor/editoroptionsgeneralsavepanelbase.fbp
+++ /dev/null
@@ -1,175 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editoroptionsgeneralsavepanelbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorOptionsGeneralSavePanelBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorOptionsGeneralSavePanelBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">When saving files, trim empty lines</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxTrimLine</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">If missing, append EOL at end of file</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxAppendLF</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editoroptionsgeneralsavepanelbase.h b/LiteEditor/editoroptionsgeneralsavepanelbase.h
deleted file mode 100644
index dd837d73..00000000
--- a/LiteEditor/editoroptionsgeneralsavepanelbase.h
+++ /dev/null
@@ -1,67 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editoroptionsgeneralsavepanelbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editoroptionsgeneralsavepanelbase__
-#define __editoroptionsgeneralsavepanelbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/checkbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorOptionsGeneralSavePanelBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorOptionsGeneralSavePanelBase : public wxPanel
-{
- private:
-
- protected:
- wxCheckBox* m_checkBoxTrimLine;
- wxCheckBox* m_checkBoxAppendLF;
-
- public:
- EditorOptionsGeneralSavePanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~EditorOptionsGeneralSavePanelBase();
-
-};
-
-#endif //__editoroptionsgeneralsavepanelbase__
diff --git a/LiteEditor/editorsettings_terminal_base.cpp b/LiteEditor/editorsettings_terminal_base.cpp
deleted file mode 100644
index dab7d93e..00000000
--- a/LiteEditor/editorsettings_terminal_base.cpp
+++ /dev/null
@@ -1,63 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettings_terminal_base.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorSettingsTerminalBase::EditorSettingsTerminalBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Enter here the command to be used by CodeLite for launching consoles:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bSizer1->Add( m_staticText2, 0, wxALL|wxEXPAND, 5 );
-
- m_textCtrlProgramConsoleCmd = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer1->Add( m_textCtrlProgramConsoleCmd, 0, wxALL|wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Where:") ), wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, _("$(TITLE)"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- m_staticText3->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- fgSizer1->Add( m_staticText3, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, _("The console title"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- fgSizer1->Add( m_staticText4, 0, wxALL, 5 );
-
- m_staticText5 = new wxStaticText( this, wxID_ANY, _("$(CMD)"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- m_staticText5->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- fgSizer1->Add( m_staticText5, 0, wxALL, 5 );
-
- m_staticText6 = new wxStaticText( this, wxID_ANY, _("The command to execute"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- fgSizer1->Add( m_staticText6, 0, wxALL, 5 );
-
- sbSizer1->Add( fgSizer1, 1, wxEXPAND, 5 );
-
- bSizer1->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-}
-
-EditorSettingsTerminalBase::~EditorSettingsTerminalBase()
-{
-}
diff --git a/LiteEditor/editorsettings_terminal_base.h b/LiteEditor/editorsettings_terminal_base.h
deleted file mode 100644
index 0b2a866e..00000000
--- a/LiteEditor/editorsettings_terminal_base.h
+++ /dev/null
@@ -1,48 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettings_terminal_base__
-#define __editorsettings_terminal_base__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/sizer.h>
-#include <wx/statbox.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorSettingsTerminalBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorSettingsTerminalBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText2;
- wxTextCtrl* m_textCtrlProgramConsoleCmd;
- wxStaticText* m_staticText3;
- wxStaticText* m_staticText4;
- wxStaticText* m_staticText5;
- wxStaticText* m_staticText6;
-
- public:
- EditorSettingsTerminalBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~EditorSettingsTerminalBase();
-
-};
-
-#endif //__editorsettings_terminal_base__
diff --git a/LiteEditor/editorsettingsbookmarks.fbp b/LiteEditor/editorsettingsbookmarks.fbp
deleted file mode 100644
index fbbf43e6..00000000
--- a/LiteEditor/editorsettingsbookmarks.fbp
+++ /dev/null
@@ -1,593 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettingsbookmarksbasepanel</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">0</property>
- <property name="name">EditorSettingsBookmarksBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsBookmarksBasePanel</property>
- <property name="pos"></property>
- <property name="size">500,300</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer2</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">1</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Display Breakpoints / Bookmarks margin</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_displaySelection</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Bookmark Shape:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices">&quot;Small Rectangle&quot; &quot;Rounded Rectangle&quot; &quot;Circle&quot; &quot;Small Arrow&quot;</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_bookMarkShape</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">0</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">0,1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer1</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">0</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Select the bookmark background colour:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText4</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_RIGHT|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxColourPickerCtrl" expanded="1">
- <property name="bg"></property>
- <property name="colour"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_backgroundColor</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxCLRP_DEFAULT_STYLE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnColourChanged"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Select the bookmark foreground colour:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText5</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_RIGHT|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxColourPickerCtrl" expanded="1">
- <property name="bg"></property>
- <property name="colour"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_foregroundColor</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxCLRP_DEFAULT_STYLE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnColourChanged"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Select word highlight colour:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText6</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_RIGHT|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxColourPickerCtrl" expanded="1">
- <property name="bg"></property>
- <property name="colour"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_highlightColor</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxCLRP_DEFAULT_STYLE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnColourChanged"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingsbookmarksbasepanel.cpp b/LiteEditor/editorsettingsbookmarksbasepanel.cpp
deleted file mode 100644
index 0b314164..00000000
--- a/LiteEditor/editorsettingsbookmarksbasepanel.cpp
+++ /dev/null
@@ -1,67 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingsbookmarksbasepanel.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorSettingsBookmarksBasePanel::EditorSettingsBookmarksBasePanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxVERTICAL );
-
- m_displaySelection = new wxCheckBox( this, wxID_ANY, wxT("Display Breakpoints / Bookmarks margin"), wxDefaultPosition, wxDefaultSize, 0 );
- m_displaySelection->SetValue(true);
- bSizer2->Add( m_displaySelection, 0, wxALL, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Bookmark Shape:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- bSizer2->Add( m_staticText3, 0, wxALL, 5 );
-
- wxString m_bookMarkShapeChoices[] = { wxT("Small Rectangle"), wxT("Rounded Rectangle"), wxT("Circle"), wxT("Small Arrow") };
- int m_bookMarkShapeNChoices = sizeof( m_bookMarkShapeChoices ) / sizeof( wxString );
- m_bookMarkShape = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_bookMarkShapeNChoices, m_bookMarkShapeChoices, 0 );
- m_bookMarkShape->SetSelection( 0 );
- bSizer2->Add( m_bookMarkShape, 0, wxALL|wxEXPAND, 5 );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 0, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Select the bookmark background colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- fgSizer1->Add( m_staticText4, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_backgroundColor = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
- fgSizer1->Add( m_backgroundColor, 0, wxALIGN_RIGHT|wxALL|wxEXPAND, 5 );
-
- m_staticText5 = new wxStaticText( this, wxID_ANY, wxT("Select the bookmark foreground colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- fgSizer1->Add( m_staticText5, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
-
- m_foregroundColor = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
- fgSizer1->Add( m_foregroundColor, 0, wxALIGN_RIGHT|wxALL|wxEXPAND, 5 );
-
- m_staticText6 = new wxStaticText( this, wxID_ANY, wxT("Select word highlight colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- fgSizer1->Add( m_staticText6, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
-
- m_highlightColor = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
- fgSizer1->Add( m_highlightColor, 0, wxALIGN_RIGHT|wxALL|wxEXPAND, 5 );
-
- bSizer2->Add( fgSizer1, 0, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( bSizer2 );
- this->Layout();
-}
-
-EditorSettingsBookmarksBasePanel::~EditorSettingsBookmarksBasePanel()
-{
-}
diff --git a/LiteEditor/editorsettingsbookmarksbasepanel.h b/LiteEditor/editorsettingsbookmarksbasepanel.h
deleted file mode 100644
index 0aa6868b..00000000
--- a/LiteEditor/editorsettingsbookmarksbasepanel.h
+++ /dev/null
@@ -1,51 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingsbookmarksbasepanel__
-#define __editorsettingsbookmarksbasepanel__
-
-#include <wx/string.h>
-#include <wx/checkbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/stattext.h>
-#include <wx/choice.h>
-#include <wx/clrpicker.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorSettingsBookmarksBasePanel
-///////////////////////////////////////////////////////////////////////////////
-class EditorSettingsBookmarksBasePanel : public wxPanel
-{
- private:
-
- protected:
- wxCheckBox* m_displaySelection;
- wxStaticText* m_staticText3;
- wxChoice* m_bookMarkShape;
- wxStaticText* m_staticText4;
- wxColourPickerCtrl* m_backgroundColor;
- wxStaticText* m_staticText5;
- wxColourPickerCtrl* m_foregroundColor;
- wxStaticText* m_staticText6;
- wxColourPickerCtrl* m_highlightColor;
-
- public:
-
- EditorSettingsBookmarksBasePanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~EditorSettingsBookmarksBasePanel();
-
-};
-
-#endif //__editorsettingsbookmarksbasepanel__
diff --git a/LiteEditor/editorsettingsbookmarkspanel.cpp b/LiteEditor/editorsettingsbookmarkspanel.cpp
deleted file mode 100644
index 24799a27..00000000
--- a/LiteEditor/editorsettingsbookmarkspanel.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsbookmarkspanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingsbookmarkspanel.h"
-
-EditorSettingsBookmarksPanel::EditorSettingsBookmarksPanel( wxWindow* parent )
-: EditorSettingsBookmarksBasePanel( parent )
-, TreeBookNode<EditorSettingsBookmarksPanel>()
-{
- m_backgroundColor->SetColour(wxColour(255,0,255));
- m_foregroundColor->SetColour(wxColour(255,0,255));
- m_highlightColor->SetColour(wxString(wxT("LIGHT BLUE")));
-
- //get the editor's options from the disk
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- m_displaySelection->SetValue(options->GetDisplayBookmarkMargin());
- m_bookMarkShape->SetStringSelection(options->GetBookmarkShape());
- m_backgroundColor->SetColour(options->GetBookmarkBgColour());
- m_foregroundColor->SetColour(options->GetBookmarkFgColour());
-
- wxString val1 = EditorConfigST::Get()->GetStringValue(wxT("WordHighlightColour"));
- if (val1.IsEmpty() == false) {
- m_highlightColor->SetColour(val1);
- }
-}
-
-
-void EditorSettingsBookmarksPanel::Save(OptionsConfigPtr options)
-{
- options->SetDisplayBookmarkMargin( m_displaySelection->IsChecked() );
- options->SetBookmarkShape( m_bookMarkShape->GetStringSelection());
- options->SetBookmarkBgColour( m_backgroundColor->GetColour() );
- options->SetBookmarkFgColour( m_foregroundColor->GetColour() );
- EditorConfigST::Get()->SaveStringValue(wxT("WordHighlightColour"), m_highlightColor->GetColour().GetAsString());
-}
diff --git a/LiteEditor/editorsettingsbookmarkspanel.h b/LiteEditor/editorsettingsbookmarkspanel.h
deleted file mode 100644
index a64b44b3..00000000
--- a/LiteEditor/editorsettingsbookmarkspanel.h
+++ /dev/null
@@ -1,48 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsbookmarkspanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsetthingsbookmarkspanel__
-#define __editorsetthingsbookmarkspanel__
-
-/**
-@file
-Subclass of EditorSettingsBookmarksBasePanel, which is generated by wxFormBuilder.
-*/
-
-#include "editorsettingsbookmarksbasepanel.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorSettingsBookmarksBasePanel */
-class EditorSettingsBookmarksPanel
-: public EditorSettingsBookmarksBasePanel
-, public TreeBookNode<EditorSettingsBookmarksPanel>
-{
-public:
- /** Constructor */
- EditorSettingsBookmarksPanel( wxWindow* parent );
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editorsetthingsbookmarkspanel__
diff --git a/LiteEditor/editorsettingscaret.cpp b/LiteEditor/editorsettingscaret.cpp
deleted file mode 100644
index 12b26b95..00000000
--- a/LiteEditor/editorsettingscaret.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "editorsettingscaret.h"
-#include "editor_config.h"
-
-EditorSettingsCaret::EditorSettingsCaret( wxWindow* parent )
- :EditorSettingsCaretBase( parent )
- , TreeBookNode<EditorSettingsCaret>()
-{
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- m_spinCtrlBlinkPeriod->SetValue(options->GetCaretBlinkPeriod());
- m_spinCtrlCaretWidth->SetValue(options->GetCaretWidth());
-}
-
-void EditorSettingsCaret::Save(OptionsConfigPtr options)
-{
- options->SetCaretBlinkPeriod(m_spinCtrlBlinkPeriod->GetValue());
- options->SetCaretWidth(m_spinCtrlCaretWidth->GetValue());
-}
diff --git a/LiteEditor/editorsettingscaret.h b/LiteEditor/editorsettingscaret.h
deleted file mode 100644
index 5e1a3826..00000000
--- a/LiteEditor/editorsettingscaret.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef __editorsettingscaret__
-#define __editorsettingscaret__
-
-/**
-@file
-Subclass of EditorSettingsCaretBase, which is generated by wxFormBuilder.
-*/
-
-#include "editorsettingscaretbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorSettingsCaretBase */
-class EditorSettingsCaret : public EditorSettingsCaretBase, public TreeBookNode<EditorSettingsCaret>
-{
-public:
- /** Constructor */
- EditorSettingsCaret( wxWindow* parent );
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editorsettingscaret__
diff --git a/LiteEditor/editorsettingscaretbase.cpp b/LiteEditor/editorsettingscaretbase.cpp
deleted file mode 100644
index f5491192..00000000
--- a/LiteEditor/editorsettingscaretbase.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingscaretbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorSettingsCaretBase::EditorSettingsCaretBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Caret blink period (milliseconds):"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- fgSizer1->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- m_spinCtrlBlinkPeriod = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 1000, 500 );
- m_spinCtrlBlinkPeriod->SetToolTip( _("Set the caret blink period in milliseconds. Setting the period to 0 stops the caret blinking ") );
-
- fgSizer1->Add( m_spinCtrlBlinkPeriod, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, _("Caret width (pixels):"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer1->Add( m_staticText3, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- m_spinCtrlCaretWidth = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 10, 1 );
- fgSizer1->Add( m_spinCtrlCaretWidth, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- mainSizer->Add( fgSizer1, 1, wxEXPAND, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-}
-
-EditorSettingsCaretBase::~EditorSettingsCaretBase()
-{
-}
diff --git a/LiteEditor/editorsettingscaretbase.fbp b/LiteEditor/editorsettingscaretbase.fbp
deleted file mode 100644
index b3060016..00000000
--- a/LiteEditor/editorsettingscaretbase.fbp
+++ /dev/null
@@ -1,301 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettingscaretbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorSettingsCaretBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsCaretBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols"></property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer1</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Caret blink period (milliseconds):</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">500</property>
- <property name="max">1000</property>
- <property name="maximum_size"></property>
- <property name="min">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_spinCtrlBlinkPeriod</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip">Set the caret blink period in milliseconds. Setting the period to 0 stops the caret blinking </property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Caret width (pixels):</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">1</property>
- <property name="max">10</property>
- <property name="maximum_size"></property>
- <property name="min">1</property>
- <property name="minimum_size"></property>
- <property name="name">m_spinCtrlCaretWidth</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingscaretbase.h b/LiteEditor/editorsettingscaretbase.h
deleted file mode 100644
index daed60af..00000000
--- a/LiteEditor/editorsettingscaretbase.h
+++ /dev/null
@@ -1,45 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingscaretbase__
-#define __editorsettingscaretbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/spinctrl.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorSettingsCaretBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorSettingsCaretBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxSpinCtrl* m_spinCtrlBlinkPeriod;
- wxStaticText* m_staticText3;
- wxSpinCtrl* m_spinCtrlCaretWidth;
-
- public:
- EditorSettingsCaretBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~EditorSettingsCaretBase();
-
-};
-
-#endif //__editorsettingscaretbase__
diff --git a/LiteEditor/editorsettingscomments.cpp b/LiteEditor/editorsettingscomments.cpp
deleted file mode 100644
index 062bbfed..00000000
--- a/LiteEditor/editorsettingscomments.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingscomments.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingscomments.h"
-#include "commentconfigdata.h"
-
-EditorSettingsComments::EditorSettingsComments( wxWindow* parent )
-: EditorSettingsCommentsBase( parent )
-, TreeBookNode<EditorSettingsComments>()
-{
- CommentConfigData data;
- EditorConfigST::Get()->ReadObject(wxT("CommentConfigData"), &data);
-
- m_checkBoxContCComment->SetValue( data.GetAddStarOnCComment() );
- m_checkBoxContinueCppComment->SetValue( data.GetContinueCppComment() );
-}
-
-
-void EditorSettingsComments::Save(OptionsConfigPtr options)
-{
- CommentConfigData data;
- EditorConfigST::Get()->ReadObject(wxT("CommentConfigData"), &data);
-
- data.SetAddStarOnCComment(m_checkBoxContCComment->IsChecked());
- data.SetContinueCppComment(m_checkBoxContinueCppComment->IsChecked());
-
- EditorConfigST::Get()->WriteObject(wxT("CommentConfigData"), &data);
-}
diff --git a/LiteEditor/editorsettingscomments.fbp b/LiteEditor/editorsettingscomments.fbp
deleted file mode 100644
index f6f807e4..00000000
--- a/LiteEditor/editorsettingscomments.fbp
+++ /dev/null
@@ -1,175 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettingscommentsbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorSettingsCommentsBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsCommentsBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">1</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">When hitting &lt;ENTER&gt; in a C style comment section,&#x0A;automatically add &apos;*&apos; at the next line</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxContCComment</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">When hitting &lt;ENTER&gt; in a C++ style comment section,&#x0A;automatically add &apos;//&apos; at the next line</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxContinueCppComment</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingscomments.h b/LiteEditor/editorsettingscomments.h
deleted file mode 100644
index 323ae129..00000000
--- a/LiteEditor/editorsettingscomments.h
+++ /dev/null
@@ -1,49 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingscomments.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingscomments__
-#define __editorsettingscomments__
-
-/**
-@file
-Subclass of EditorSettingsCommentsBase, which is generated by wxFormBuilder.
-*/
-
-#include "editorsettingscommentsbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorSettingsCommentsBase */
-class EditorSettingsComments
-: public EditorSettingsCommentsBase
-, public TreeBookNode<EditorSettingsComments>
-{
-public:
- /** Constructor */
- EditorSettingsComments( wxWindow* parent );
-
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editorsettingscomments__
diff --git a/LiteEditor/editorsettingscommentsbase.cpp b/LiteEditor/editorsettingscommentsbase.cpp
deleted file mode 100644
index a5170863..00000000
--- a/LiteEditor/editorsettingscommentsbase.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingscommentsbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingscommentsbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorSettingsCommentsBase::EditorSettingsCommentsBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_checkBoxContCComment = new wxCheckBox( this, wxID_ANY, _("When hitting <ENTER> in a C style comment section,\nautomatically add '*' at the next line"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxContCComment->SetValue(true);
-
- mainSizer->Add( m_checkBoxContCComment, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBoxContinueCppComment = new wxCheckBox( this, wxID_ANY, _("When hitting <ENTER> in a C++ style comment section,\nautomatically add '//' at the next line"), wxDefaultPosition, wxDefaultSize, 0 );
-
- mainSizer->Add( m_checkBoxContinueCppComment, 0, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-}
-
-EditorSettingsCommentsBase::~EditorSettingsCommentsBase()
-{
-}
diff --git a/LiteEditor/editorsettingscommentsbase.h b/LiteEditor/editorsettingscommentsbase.h
deleted file mode 100644
index d0aac9af..00000000
--- a/LiteEditor/editorsettingscommentsbase.h
+++ /dev/null
@@ -1,67 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingscommentsbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingscommentsbase__
-#define __editorsettingscommentsbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/checkbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorSettingsCommentsBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorSettingsCommentsBase : public wxPanel
-{
- private:
-
- protected:
- wxCheckBox* m_checkBoxContCComment;
- wxCheckBox* m_checkBoxContinueCppComment;
-
- public:
- EditorSettingsCommentsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~EditorSettingsCommentsBase();
-
-};
-
-#endif //__editorsettingscommentsbase__
diff --git a/LiteEditor/editorsettingscommentsdoxygenbase.fbp b/LiteEditor/editorsettingscommentsdoxygenbase.fbp
deleted file mode 100644
index 50202ae0..00000000
--- a/LiteEditor/editorsettingscommentsdoxygenbase.fbp
+++ /dev/null
@@ -1,616 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettingscommentsdoxygenpanelbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">0</property>
- <property name="name">EditorSettingsCommentsDoxygenPanelBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size">-1,-1</property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsCommentsDoxygenPanelBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer2</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">1</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Use &apos;/**&apos; as doxygen block start (else use &apos;/*!&apos;)</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxUseSlash2Stars</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Use &apos;@&apos; as doxygen keyword prefix</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxUseShtroodel</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox">OnUseAtPrefix</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">CodeLite contains a built-in doxygen documentation generator which&#x0A;adds doxygen comments to your code. Here you can set the prefix &#x0A;that will be placed on top of the dynamic content of the comment:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer1</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Class prefix:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText4</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_textCtrlClassPattern</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxTE_MULTILINE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Function prefix:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText5</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_textCtrlFunctionPattern</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxTE_MULTILINE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">The following macros are available:&#x0A;$(CurrentFileName), $(CurrentFilePath), $(User), $(Date), $(Name)&#x0A;$(CurrentFileFullPath), $(CurrentFileExt), $(ProjectName), $(WorksapceName)</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingscommentsdoxygenpanel.cpp b/LiteEditor/editorsettingscommentsdoxygenpanel.cpp
deleted file mode 100644
index fe058b35..00000000
--- a/LiteEditor/editorsettingscommentsdoxygenpanel.cpp
+++ /dev/null
@@ -1,78 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingscommentsdoxygenpanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingscommentsdoxygenpanel.h"
-#include "commentconfigdata.h"
-
-EditorSettingsCommentsDoxygenPanel::EditorSettingsCommentsDoxygenPanel( wxWindow* parent )
-: EditorSettingsCommentsDoxygenPanelBase( parent )
-, TreeBookNode<EditorSettingsCommentsDoxygenPanel>()
-{
- CommentConfigData data;
- EditorConfigST::Get()->ReadObject(wxT("CommentConfigData"), &data);
-
- m_textCtrlClassPattern->SetValue( data.GetClassPattern() );
- m_textCtrlFunctionPattern->SetValue( data.GetFunctionPattern() );
- m_checkBoxUseShtroodel->SetValue( data.GetUseShtroodel() );
- m_checkBoxUseSlash2Stars->SetValue( data.GetUseSlash2Stars() );
-
- DoSetPrefix();
-}
-
-void EditorSettingsCommentsDoxygenPanel::Save(OptionsConfigPtr)
-{
- CommentConfigData data;
- EditorConfigST::Get()->ReadObject(wxT("CommentConfigData"), &data);
-
- data.SetClassPattern( m_textCtrlClassPattern->GetValue() );
- data.SetFunctionPattern( m_textCtrlFunctionPattern->GetValue());
- data.SetUseShtroodel(m_checkBoxUseShtroodel->IsChecked());
- data.SetUseSlash2Stars(m_checkBoxUseSlash2Stars->IsChecked());
-
- EditorConfigST::Get()->WriteObject(wxT("CommentConfigData"), &data);
-}
-
-void EditorSettingsCommentsDoxygenPanel::DoSetPrefix()
-{
- bool useShtroodel = m_checkBoxUseShtroodel->IsChecked();
-
- wxString classPrefix = m_textCtrlClassPattern->GetValue();
- wxString funcPrefix = m_textCtrlFunctionPattern->GetValue();
-
- if( useShtroodel ){
- classPrefix.Replace(wxT("\\"), wxT("@"));
- funcPrefix.Replace(wxT("\\"), wxT("@"));
- } else {
- classPrefix.Replace(wxT("@"), wxT("\\"));
- funcPrefix.Replace(wxT("@"), wxT("\\"));
- }
- m_textCtrlClassPattern->SetValue(classPrefix);
- m_textCtrlFunctionPattern->SetValue(funcPrefix);
-}
-
-void EditorSettingsCommentsDoxygenPanel::OnUseAtPrefix(wxCommandEvent& event)
-{
- DoSetPrefix();
-}
diff --git a/LiteEditor/editorsettingscommentsdoxygenpanel.h b/LiteEditor/editorsettingscommentsdoxygenpanel.h
deleted file mode 100644
index 606eea4f..00000000
--- a/LiteEditor/editorsettingscommentsdoxygenpanel.h
+++ /dev/null
@@ -1,50 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingscommentsdoxygenpanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingscommentsdoxygenpanel__
-#define __editorsettingscommentsdoxygenpanel__
-
-/**
-@file
-Subclass of EditorSettingsCommentsDoxygenPanelBase, which is generated by wxFormBuilder.
-*/
-
-#include "editorsettingscommentsdoxygenpanelbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorSettingsCommentsDoxygenPanelBase */
-class EditorSettingsCommentsDoxygenPanel
-: public EditorSettingsCommentsDoxygenPanelBase
-, public TreeBookNode<EditorSettingsCommentsDoxygenPanel>
-{
- void DoSetPrefix();
- void OnUseAtPrefix(wxCommandEvent& event);
-public:
- /** Constructor */
- EditorSettingsCommentsDoxygenPanel( wxWindow* parent );
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editorsettingscommentsdoxygenpanel__
diff --git a/LiteEditor/editorsettingscommentsdoxygenpanelbase.cpp b/LiteEditor/editorsettingscommentsdoxygenpanelbase.cpp
deleted file mode 100644
index 24d9b727..00000000
--- a/LiteEditor/editorsettingscommentsdoxygenpanelbase.cpp
+++ /dev/null
@@ -1,104 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingscommentsdoxygenpanelbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingscommentsdoxygenpanelbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorSettingsCommentsDoxygenPanelBase::EditorSettingsCommentsDoxygenPanelBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxVERTICAL );
-
- m_checkBoxUseSlash2Stars = new wxCheckBox( this, wxID_ANY, wxT("Use '/**' as doxygen block start (else use '/*!')"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxUseSlash2Stars->SetValue(true);
-
- bSizer2->Add( m_checkBoxUseSlash2Stars, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBoxUseShtroodel = new wxCheckBox( this, wxID_ANY, wxT("Use '@' as doxygen keyword prefix"), wxDefaultPosition, wxDefaultSize, 0 );
-
- bSizer2->Add( m_checkBoxUseShtroodel, 0, wxALL|wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer2->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("CodeLite contains a built-in doxygen documentation generator which\nadds doxygen comments to your code. Here you can set the prefix \nthat will be placed on top of the dynamic content of the comment:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- bSizer2->Add( m_staticText3, 0, wxALL|wxEXPAND, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer2->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Class prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- fgSizer1->Add( m_staticText4, 0, wxALL, 5 );
-
- m_textCtrlClassPattern = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- fgSizer1->Add( m_textCtrlClassPattern, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText5 = new wxStaticText( this, wxID_ANY, wxT("Function prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- fgSizer1->Add( m_staticText5, 0, wxALL, 5 );
-
- m_textCtrlFunctionPattern = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- fgSizer1->Add( m_textCtrlFunctionPattern, 1, wxALL|wxEXPAND, 5 );
-
- bSizer2->Add( fgSizer1, 1, wxEXPAND, 5 );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("The following macros are available:\n$(CurrentFileName), $(CurrentFilePath), $(User), $(Date), $(Name)\n$(CurrentFileFullPath), $(CurrentFileExt), $(ProjectName), $(WorksapceName)"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer2->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( bSizer2, 0, wxEXPAND, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
- bSizer1->Fit( this );
-
- // Connect Events
- m_checkBoxUseShtroodel->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( EditorSettingsCommentsDoxygenPanelBase::OnUseAtPrefix ), NULL, this );
-}
-
-EditorSettingsCommentsDoxygenPanelBase::~EditorSettingsCommentsDoxygenPanelBase()
-{
- // Disconnect Events
- m_checkBoxUseShtroodel->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( EditorSettingsCommentsDoxygenPanelBase::OnUseAtPrefix ), NULL, this );
-}
diff --git a/LiteEditor/editorsettingscommentsdoxygenpanelbase.h b/LiteEditor/editorsettingscommentsdoxygenpanelbase.h
deleted file mode 100644
index 3aad9295..00000000
--- a/LiteEditor/editorsettingscommentsdoxygenpanelbase.h
+++ /dev/null
@@ -1,80 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingscommentsdoxygenpanelbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingscommentsdoxygenpanelbase__
-#define __editorsettingscommentsdoxygenpanelbase__
-
-#include <wx/string.h>
-#include <wx/checkbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/statline.h>
-#include <wx/stattext.h>
-#include <wx/textctrl.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorSettingsCommentsDoxygenPanelBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorSettingsCommentsDoxygenPanelBase : public wxPanel
-{
- private:
-
- protected:
- wxCheckBox* m_checkBoxUseSlash2Stars;
- wxCheckBox* m_checkBoxUseShtroodel;
- wxStaticLine* m_staticline1;
- wxStaticText* m_staticText3;
- wxStaticLine* m_staticline2;
- wxStaticText* m_staticText4;
- wxTextCtrl* m_textCtrlClassPattern;
- wxStaticText* m_staticText5;
- wxTextCtrl* m_textCtrlFunctionPattern;
- wxStaticText* m_staticText1;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnUseAtPrefix( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- EditorSettingsCommentsDoxygenPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~EditorSettingsCommentsDoxygenPanelBase();
-
-};
-
-#endif //__editorsettingscommentsdoxygenpanelbase__
diff --git a/LiteEditor/editorsettingsdialogs.cpp b/LiteEditor/editorsettingsdialogs.cpp
deleted file mode 100644
index d3f7ec37..00000000
--- a/LiteEditor/editorsettingsdialogs.cpp
+++ /dev/null
@@ -1,95 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsdialogs.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingsdialogs.h"
-
-EditorSettingsDialogs::EditorSettingsDialogs( wxWindow* parent )
- : EditorSettingsDialogsBase( parent )
- , TreeBookNode<EditorSettingsDialogs>()
-{
- long adjustCpuNumber(0);
- long replaceWrapAround(0);
- long findNextWrapAround(0);
- long buildBeforeDebug(0);
- long createSwappedFile(0);
-
- bAdjustCPUNumber = EditorConfigST::Get()->GetLongValue(wxT("AdjustCPUNumber"), adjustCpuNumber);
- bReplaceWrapAroundAnswer = EditorConfigST::Get()->GetLongValue(wxT("ReplaceWrapAroundAnswer"), replaceWrapAround);
- bFindNextWrapAroundAnswer = EditorConfigST::Get()->GetLongValue(wxT("FindNextWrapAroundAnswer"), findNextWrapAround);
- bBuildBeforeDebug = EditorConfigST::Get()->GetLongValue(wxT("BuildBeforeDebug"), buildBeforeDebug);
- bCreateSwappedFile = EditorConfigST::Get()->GetLongValue(wxT("CreateSwappedFile"), createSwappedFile);
-
- // the value stored is 0 / 1
- if (bAdjustCPUNumber) {
- AdjustCPUNumber_idx = m_checkListAnswers->Append(wxT("Adjust number of build processes according to CPU"));
- m_checkListAnswers->Check((unsigned int)AdjustCPUNumber_idx, adjustCpuNumber ? true : false);
- }
-
- // the value stored is wxID_OK / wxID_NO
- if (bReplaceWrapAroundAnswer) {
- ReplaceWrapAroundAnswer_idx = m_checkListAnswers->Append(wxT("Wrap around 'Replace' operation"));
- m_checkListAnswers->Check((unsigned int)ReplaceWrapAroundAnswer_idx, replaceWrapAround == wxID_OK);
- }
-
- // the value stored is wxID_OK / wxID_NO
- if (bFindNextWrapAroundAnswer) {
- FindNextWrapAroundAnswer_idx = m_checkListAnswers->Append(wxT("Wrap around 'Find' operation"));
- m_checkListAnswers->Check((unsigned int)FindNextWrapAroundAnswer_idx, findNextWrapAround == wxID_OK);
- }
-
- if (bBuildBeforeDebug) {
- BuildBeforeDebug_idx = m_checkListAnswers->Append(wxT("Always Build before debugging"));
- m_checkListAnswers->Check((unsigned int)BuildBeforeDebug_idx, buildBeforeDebug == wxID_OK);
- }
-
- if (bCreateSwappedFile) {
- CreateSwappedFile_idx = m_checkListAnswers->Append(wxT("If swapped file does not exist, create one"));
- m_checkListAnswers->Check((unsigned int)CreateSwappedFile_idx, createSwappedFile == wxID_OK);
- }
-
-}
-
-EditorSettingsDialogs::~EditorSettingsDialogs()
-{
-
-}
-
-void EditorSettingsDialogs::Save(OptionsConfigPtr)
-{
- if(bAdjustCPUNumber)
- EditorConfigST::Get()->SaveLongValue(wxT("AdjustCPUNumber"), m_checkListAnswers->IsChecked(AdjustCPUNumber_idx) ? 1 : 0);
-
- if(bReplaceWrapAroundAnswer)
- EditorConfigST::Get()->SaveLongValue(wxT("ReplaceWrapAroundAnswer"), m_checkListAnswers->IsChecked(ReplaceWrapAroundAnswer_idx) ? wxID_OK : wxID_NO);
-
- if(bFindNextWrapAroundAnswer)
- EditorConfigST::Get()->SaveLongValue(wxT("FindNextWrapAroundAnswer"), m_checkListAnswers->IsChecked(FindNextWrapAroundAnswer_idx) ? wxID_OK : wxID_NO);
-
- if(bBuildBeforeDebug)
- EditorConfigST::Get()->SaveLongValue(wxT("BuildBeforeDebug"), m_checkListAnswers->IsChecked(BuildBeforeDebug_idx) ? wxID_OK : wxID_NO);
-
- if(bCreateSwappedFile)
- EditorConfigST::Get()->SaveLongValue(wxT("CreateSwappedFile"), m_checkListAnswers->IsChecked(CreateSwappedFile_idx) ? wxID_OK : wxID_NO);
-}
diff --git a/LiteEditor/editorsettingsdialogs.h b/LiteEditor/editorsettingsdialogs.h
deleted file mode 100644
index 4a076483..00000000
--- a/LiteEditor/editorsettingsdialogs.h
+++ /dev/null
@@ -1,61 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsdialogs.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingsdialogs__
-#define __editorsettingsdialogs__
-
-/**
-@file
-Subclass of EditorSettingsDialogsBase, which is generated by wxFormBuilder.
-*/
-
-#include "editorsettingsdialogsbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorSettingsDialogsBase */
-class EditorSettingsDialogs
- : public EditorSettingsDialogsBase
- , public TreeBookNode<EditorSettingsDialogs>
-{
- bool bAdjustCPUNumber;
- bool bReplaceWrapAroundAnswer;
- bool bFindNextWrapAroundAnswer;
- bool bBuildBeforeDebug;
- bool bCreateSwappedFile;
-
- int AdjustCPUNumber_idx;
- int ReplaceWrapAroundAnswer_idx;
- int FindNextWrapAroundAnswer_idx;
- int BuildBeforeDebug_idx;
- int CreateSwappedFile_idx;
-
-public:
- /** Constructor */
- EditorSettingsDialogs( wxWindow* parent );
- virtual ~EditorSettingsDialogs();
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editorsettingsdialogs__
diff --git a/LiteEditor/editorsettingsdialogsbase.cpp b/LiteEditor/editorsettingsdialogsbase.cpp
deleted file mode 100644
index 11615b30..00000000
--- a/LiteEditor/editorsettingsdialogsbase.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsdialogsbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingsdialogsbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorSettingsDialogsBase::EditorSettingsDialogsBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Below is a list of the 'annoying' dialogs answers, you can modify \nthe answer of a dialog by checking / unchecking the saved answer"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- mainSizer->Add( m_staticText1, 0, wxALL, 5 );
-
- wxArrayString m_checkListAnswersChoices;
- m_checkListAnswers = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListAnswersChoices, 0 );
- mainSizer->Add( m_checkListAnswers, 1, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-}
-
-EditorSettingsDialogsBase::~EditorSettingsDialogsBase()
-{
-}
diff --git a/LiteEditor/editorsettingsdialogsbase.fbp b/LiteEditor/editorsettingsdialogsbase.fbp
deleted file mode 100644
index ca885aab..00000000
--- a/LiteEditor/editorsettingsdialogsbase.fbp
+++ /dev/null
@@ -1,175 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettingsdialogsbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorSettingsDialogsBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsDialogsBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Below is a list of the &apos;annoying&apos; dialogs answers, you can modify &#x0A;the answer of a dialog by checking / unchecking the saved answer</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxCheckListBox" expanded="1">
- <property name="bg"></property>
- <property name="choices"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkListAnswers</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckListBox"></event>
- <event name="OnCheckListBoxDClick"></event>
- <event name="OnCheckListBoxToggled"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingsdialogsbase.h b/LiteEditor/editorsettingsdialogsbase.h
deleted file mode 100644
index 6cad54ff..00000000
--- a/LiteEditor/editorsettingsdialogsbase.h
+++ /dev/null
@@ -1,68 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsdialogsbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 21 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingsdialogsbase__
-#define __editorsettingsdialogsbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/checklst.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorSettingsDialogsBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorSettingsDialogsBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxCheckListBox* m_checkListAnswers;
-
- public:
- EditorSettingsDialogsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~EditorSettingsDialogsBase();
-
-};
-
-#endif //__editorsettingsdialogsbase__
diff --git a/LiteEditor/editorsettingsdockingwidows.cpp b/LiteEditor/editorsettingsdockingwidows.cpp
deleted file mode 100644
index 8d373110..00000000
--- a/LiteEditor/editorsettingsdockingwidows.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "editorsettingsdockingwidows.h"
-#include "editor_config.h"
-
-EditorSettingsDockingWindows::EditorSettingsDockingWindows( wxWindow* parent )
- : EditorSettingsDockingWindowsBase( parent )
-{
- m_checkBoxHideOutputPaneOnClick->SetValue(EditorConfigST::Get()->GetOptions()->GetHideOutpuPaneOnUserClick());
- m_checkBoxHideOutputPaneNotIfDebug->SetValue(EditorConfigST::Get()->GetOptions()->GetHideOutputPaneNotIfDebug());
- m_checkBoxShowQuickFinder->SetValue(EditorConfigST::Get()->GetOptions()->GetShowQuickFinder());
-
- m_checkBoxHideOutputPaneNotIfDebug->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditorSettingsDockingWindows::OnHideOutputPaneNotIfDebugUI ), NULL, this );
-}
-
-void EditorSettingsDockingWindows::Save(OptionsConfigPtr options)
-{
- options->SetHideOutpuPaneOnUserClick( m_checkBoxHideOutputPaneOnClick->IsChecked() );
- options->SetHideOutputPaneNotIfDebug( m_checkBoxHideOutputPaneNotIfDebug->IsChecked() );
- options->SetShowQuickFinder( m_checkBoxShowQuickFinder->IsChecked() );
-}
-
-void EditorSettingsDockingWindows::OnHideOutputPaneNotIfDebugUI(wxUpdateUIEvent& event)
-{
- event.Enable( m_checkBoxHideOutputPaneOnClick->IsChecked() );
-}
-
diff --git a/LiteEditor/editorsettingsdockingwidows.h b/LiteEditor/editorsettingsdockingwidows.h
deleted file mode 100644
index 5022ca2f..00000000
--- a/LiteEditor/editorsettingsdockingwidows.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef __editorsettingsdockingwidows__
-#define __editorsettingsdockingwidows__
-
-/**
-@file
-Subclass of EditorSettingsDockingWindowsBase, which is generated by wxFormBuilder.
-*/
-
-#include "editorsettingsdockingwindowsbase.h"
-#include "treebooknodebase.h"
-#include "optionsconfig.h"
-
-/** Implementing EditorSettingsDockingWindowsBase */
-class EditorSettingsDockingWindows
-: public EditorSettingsDockingWindowsBase
-, public TreeBookNode<EditorSettingsDockingWindows>
-{
- void OnHideOutputPaneNotIfDebugUI(wxUpdateUIEvent& event);
-public:
- /** Constructor */
- EditorSettingsDockingWindows( wxWindow* parent );
- virtual void Save(OptionsConfigPtr options);
-};
-
-#endif // __editorsettingsdockingwidows__
diff --git a/LiteEditor/editorsettingsdockingwindowsbase.cpp b/LiteEditor/editorsettingsdockingwindowsbase.cpp
deleted file mode 100644
index 7b1936d8..00000000
--- a/LiteEditor/editorsettingsdockingwindowsbase.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Feb 8 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingsdockingwindowsbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorSettingsDockingWindowsBase::EditorSettingsDockingWindowsBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Output Pane:") ), wxVERTICAL );
-
- m_checkBoxHideOutputPaneOnClick = new wxCheckBox( this, wxID_ANY, _("When user clicks inside an editor, hide the output pane"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxHideOutputPaneOnClick->SetToolTip( _("When e.g. you compile your project, or use 'Find in Files', the Output Pane opens to show the results. If this box is ticked, it will automatically close as soon as you click in the editor.") );
-
- sbSizer1->Add( m_checkBoxHideOutputPaneOnClick, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxVERTICAL );
-
- m_checkBoxHideOutputPaneNotIfDebug = new wxCheckBox( this, wxID_ANY, _("...unless it's the 'Debug' tab showing"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxHideOutputPaneNotIfDebug->SetValue(true);
- m_checkBoxHideOutputPaneNotIfDebug->SetToolTip( _("Don't automatically close the Output Pane on an editor click if it's the Debug tab that's showing. You probably don't want it to close whenever you set a breakpoint, for example.") );
-
- bSizer2->Add( m_checkBoxHideOutputPaneNotIfDebug, 0, wxALL, 5 );
-
- sbSizer1->Add( bSizer2, 0, wxLEFT, 25 );
-
- mainSizer->Add( sbSizer1, 0, wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer2;
- sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Output Pane Control Bar:") ), wxVERTICAL );
-
- m_checkBoxShowQuickFinder = new wxCheckBox( this, wxID_ANY, _("Enable Quick Finder bar"), wxDefaultPosition, wxDefaultSize, 0 );
- sbSizer2->Add( m_checkBoxShowQuickFinder, 0, wxALL|wxEXPAND, 5 );
-
- mainSizer->Add( sbSizer2, 0, wxEXPAND, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- // Connect Events
- m_checkBoxHideOutputPaneNotIfDebug->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditorSettingsDockingWindowsBase::OnHideOutputPaneNotIfDebugUI ), NULL, this );
-}
-
-EditorSettingsDockingWindowsBase::~EditorSettingsDockingWindowsBase()
-{
- // Disconnect Events
- m_checkBoxHideOutputPaneNotIfDebug->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditorSettingsDockingWindowsBase::OnHideOutputPaneNotIfDebugUI ), NULL, this );
-}
diff --git a/LiteEditor/editorsettingsdockingwindowsbase.fbp b/LiteEditor/editorsettingsdockingwindowsbase.fbp
deleted file mode 100644
index b00048e7..00000000
--- a/LiteEditor/editorsettingsdockingwindowsbase.fbp
+++ /dev/null
@@ -1,270 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettingsdockingwindowsbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorSettingsDockingWindowsBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsDockingWindowsBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="1">
- <property name="id">wxID_ANY</property>
- <property name="label">Output Pane:</property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">When user clicks inside an editor, hide the output pane</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxHideOutputPaneOnClick</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">When e.g. you compile your project, or use &apos;Find in Files&apos;, the Output Pane opens to show the results. If this box is ticked, it will automatically close as soon as you click in the editor.</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">25</property>
- <property name="flag">wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer2</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">1</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">...unless it&apos;s the &apos;Debug&apos; tab showing</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxHideOutputPaneNotIfDebug</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Don&apos;t automatically close the Output Pane on an editor click if it&apos;s the Debug tab that&apos;s showing. You probably don&apos;t want it to close whenever you set a breakpoint, for example.</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnHideOutputPaneNotIfDebugUI</event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="1">
- <property name="id">wxID_ANY</property>
- <property name="label">Output Pane Control Bar:</property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer2</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Enable Quick Finder bar</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxShowQuickFinder</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingsdockingwindowsbase.h b/LiteEditor/editorsettingsdockingwindowsbase.h
deleted file mode 100644
index ff9dbf50..00000000
--- a/LiteEditor/editorsettingsdockingwindowsbase.h
+++ /dev/null
@@ -1,49 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Feb 8 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingsdockingwindowsbase__
-#define __editorsettingsdockingwindowsbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/checkbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/statbox.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorSettingsDockingWindowsBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorSettingsDockingWindowsBase : public wxPanel
-{
- private:
-
- protected:
- wxCheckBox* m_checkBoxHideOutputPaneOnClick;
- wxCheckBox* m_checkBoxHideOutputPaneNotIfDebug;
- wxCheckBox* m_checkBoxShowQuickFinder;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnHideOutputPaneNotIfDebugUI( wxUpdateUIEvent& event ) { event.Skip(); }
-
-
- public:
-
- EditorSettingsDockingWindowsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~EditorSettingsDockingWindowsBase();
-
-};
-
-#endif //__editorsettingsdockingwindowsbase__
diff --git a/LiteEditor/editorsettingsfolding.cpp b/LiteEditor/editorsettingsfolding.cpp
deleted file mode 100644
index 5c8410fc..00000000
--- a/LiteEditor/editorsettingsfolding.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsfolding.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingsfolding.h"
-
-EditorSettingsFolding::EditorSettingsFolding( wxWindow* parent )
-: EditorSettingsFoldingBase( parent )
-, TreeBookNode<EditorSettingsFolding>()
-{
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- m_displayMargin->SetValue(options->GetDisplayFoldMargin());
- m_underlineFolded->SetValue(options->GetUnderlineFoldLine());
- m_foldPreprocessors->SetValue(options->GetFoldPreprocessor());
- m_foldCompact->SetValue(options->GetFoldCompact());
- m_foldElse->SetValue(options->GetFoldAtElse());
- m_foldStyle->SetStringSelection( options->GetFoldStyle() );
- m_colourPicker->SetColour(options->GetFoldBgColour());
-}
-
-
-void EditorSettingsFolding::Save(OptionsConfigPtr options)
-{
- options->SetDisplayFoldMargin(m_displayMargin->GetValue());
- options->SetUnderlineFoldLine(m_underlineFolded->GetValue());
- options->SetFoldPreprocessor(m_foldPreprocessors->GetValue());
- options->SetFoldCompact(m_foldCompact->GetValue());
- options->SetFoldAtElse(m_foldElse->GetValue());
- options->SetFoldStyle(m_foldStyle->GetStringSelection());
- options->SetFoldBgColour(m_colourPicker->GetColour());
-}
-
-void EditorSettingsFolding::OnFoldColourUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_foldStyle->GetStringSelection() == wxT("Arrows with Background Colour") || m_foldStyle->GetStringSelection() == wxT("Simple with Background Colour"));
-}
diff --git a/LiteEditor/editorsettingsfolding.h b/LiteEditor/editorsettingsfolding.h
deleted file mode 100644
index 916db2f7..00000000
--- a/LiteEditor/editorsettingsfolding.h
+++ /dev/null
@@ -1,50 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsfolding.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingsfolding__
-#define __editorsettingsfolding__
-
-/**
-@file
-Subclass of EditorSettingsFoldingBase, which is generated by wxFormBuilder.
-*/
-
-#include "editorsettingsfoldingbase.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorSettingsFoldingBase */
-class EditorSettingsFolding
-: public EditorSettingsFoldingBase
-, public TreeBookNode<EditorSettingsFolding>
-{
- void OnFoldColourUI(wxUpdateUIEvent &e);
-
-public:
- /** Constructor */
- EditorSettingsFolding( wxWindow* parent );
- void Save(OptionsConfigPtr options);
-};
-
-#endif // __editorsettingsfolding__
diff --git a/LiteEditor/editorsettingsfoldingbase.cpp b/LiteEditor/editorsettingsfoldingbase.cpp
deleted file mode 100644
index 0b884ade..00000000
--- a/LiteEditor/editorsettingsfoldingbase.cpp
+++ /dev/null
@@ -1,74 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingsfoldingbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorSettingsFoldingBase::EditorSettingsFoldingBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_displayMargin = new wxCheckBox( this, wxID_ANY, _("Display Folding Margin"), wxDefaultPosition, wxDefaultSize, 0 );
- m_displayMargin->SetValue(true);
-
- mainSizer->Add( m_displayMargin, 0, wxALL, 5 );
-
- m_underlineFolded = new wxCheckBox( this, wxID_ANY, _("Underline Folded Line"), wxDefaultPosition, wxDefaultSize, 0 );
- m_underlineFolded->SetValue(true);
-
- mainSizer->Add( m_underlineFolded, 0, wxALL, 5 );
-
- m_foldPreprocessors = new wxCheckBox( this, wxID_ANY, _("Fold Preprocessors"), wxDefaultPosition, wxDefaultSize, 0 );
-
- mainSizer->Add( m_foldPreprocessors, 0, wxALL, 5 );
-
- m_foldCompact = new wxCheckBox( this, wxID_ANY, _("Fold Compact"), wxDefaultPosition, wxDefaultSize, 0 );
-
- mainSizer->Add( m_foldCompact, 0, wxALL, 5 );
-
- m_foldElse = new wxCheckBox( this, wxID_ANY, _("Fold At Else"), wxDefaultPosition, wxDefaultSize, 0 );
-
- mainSizer->Add( m_foldElse, 0, wxALL, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Fold Style"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- mainSizer->Add( m_staticText2, 0, wxALL, 5 );
-
- wxString m_foldStyleChoices[] = { _("Simple"), _("Arrows"), _("Arrows with Background Colour"), _("Simple with Background Colour"), _("Flatten Tree Square Headers"), _("Flatten Tree Circular Headers") };
- int m_foldStyleNChoices = sizeof( m_foldStyleChoices ) / sizeof( wxString );
- m_foldStyle = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_foldStyleNChoices, m_foldStyleChoices, 0 );
- m_foldStyle->SetSelection( 1 );
- mainSizer->Add( m_foldStyle, 0, wxALL|wxEXPAND, 5 );
-
- wxGridSizer* gSizer1;
- gSizer1 = new wxGridSizer( 2, 2, 0, 0 );
-
- m_staticText21 = new wxStaticText( this, wxID_ANY, _("Folding background base colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText21->Wrap( -1 );
- gSizer1->Add( m_staticText21, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_colourPicker = new wxColourPickerCtrl( this, wxID_ANY, *wxBLACK, wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
- gSizer1->Add( m_colourPicker, 0, wxALL|wxEXPAND, 5 );
-
- mainSizer->Add( gSizer1, 0, wxEXPAND, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- // Connect Events
- m_staticText21->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditorSettingsFoldingBase::OnFoldColourUI ), NULL, this );
- m_colourPicker->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditorSettingsFoldingBase::OnFoldColourUI ), NULL, this );
-}
-
-EditorSettingsFoldingBase::~EditorSettingsFoldingBase()
-{
- // Disconnect Events
- m_staticText21->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditorSettingsFoldingBase::OnFoldColourUI ), NULL, this );
- m_colourPicker->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditorSettingsFoldingBase::OnFoldColourUI ), NULL, this );
-}
diff --git a/LiteEditor/editorsettingsfoldingbase.fbp b/LiteEditor/editorsettingsfoldingbase.fbp
deleted file mode 100644
index d344a58f..00000000
--- a/LiteEditor/editorsettingsfoldingbase.fbp
+++ /dev/null
@@ -1,549 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettingsfoldingbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">EditorSettingsFoldingBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsFoldingBase</property>
- <property name="pos"></property>
- <property name="size">366,224</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">1</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Display Folding Margin</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_displayMargin</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">1</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Underline Folded Line</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_underlineFolded</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Fold Preprocessors</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_foldPreprocessors</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Fold Compact</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_foldCompact</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Fold At Else</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_foldElse</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Fold Style</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices">&quot;Simple&quot; &quot;Arrows&quot; &quot;Arrows with Background Colour&quot; &quot;Simple with Background Colour&quot; &quot;Flatten Tree Square Headers&quot; &quot;Flatten Tree Circular Headers&quot;</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_foldStyle</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">1</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">gSizer1</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Folding background base colour:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText21</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnFoldColourUI</event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxColourPickerCtrl" expanded="1">
- <property name="bg"></property>
- <property name="colour"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_colourPicker</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxCLRP_DEFAULT_STYLE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnColourChanged"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnFoldColourUI</event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingsfoldingbase.h b/LiteEditor/editorsettingsfoldingbase.h
deleted file mode 100644
index 4a004897..00000000
--- a/LiteEditor/editorsettingsfoldingbase.h
+++ /dev/null
@@ -1,56 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingsfoldingbase__
-#define __editorsettingsfoldingbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/checkbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/stattext.h>
-#include <wx/choice.h>
-#include <wx/clrpicker.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorSettingsFoldingBase
-///////////////////////////////////////////////////////////////////////////////
-class EditorSettingsFoldingBase : public wxPanel
-{
- private:
-
- protected:
- wxCheckBox* m_displayMargin;
- wxCheckBox* m_underlineFolded;
- wxCheckBox* m_foldPreprocessors;
- wxCheckBox* m_foldCompact;
- wxCheckBox* m_foldElse;
- wxStaticText* m_staticText2;
- wxChoice* m_foldStyle;
- wxStaticText* m_staticText21;
- wxColourPickerCtrl* m_colourPicker;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnFoldColourUI( wxUpdateUIEvent& event ){ event.Skip(); }
-
-
- public:
- EditorSettingsFoldingBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 366,224 ), long style = wxTAB_TRAVERSAL );
- ~EditorSettingsFoldingBase();
-
-};
-
-#endif //__editorsettingsfoldingbase__
diff --git a/LiteEditor/editorsettingsgeneralpagebase.fbp b/LiteEditor/editorsettingsgeneralpagebase.fbp
deleted file mode 100644
index 45067013..00000000
--- a/LiteEditor/editorsettingsgeneralpagebase.fbp
+++ /dev/null
@@ -1,1472 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettingsgeneralpagebase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">0</property>
- <property name="name">EditorSettingsGeneralPageBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsGeneralPageBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="1">
- <property name="id">wxID_ANY</property>
- <property name="label">Guides</property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">3</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer2</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Display line numbers</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_displayLineNumbers</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Disply line numbers margin</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Highlight matched braces</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxMatchBraces</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">When enabled, mark matching brace with unique colour</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Show indentation guidelines</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_showIndentationGuideLines</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Display horizontal guides for matching braces &quot;{&quot;</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Highlight caret line</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_highlighyCaretLine</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Set different background colour for the line containing the caret</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox">OnHighlightCaretLine</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Auto Complete Braces</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxAutoCompleteBraces</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">Automatically insert corresponding },],) when user typed {,(,[</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="spacer" expanded="1">
- <property name="height">0</property>
- <property name="permission">protected</property>
- <property name="width">0</property>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Caret line background colour:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText9</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxColourPickerCtrl" expanded="1">
- <property name="bg"></property>
- <property name="colour"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_caretLineColourPicker</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxCLRP_DEFAULT_STYLE|wxCLRP_SHOW_LABEL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnColourChanged"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="spacer" expanded="1">
- <property name="height">0</property>
- <property name="permission">protected</property>
- <property name="width">0</property>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Whitespace visibility:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText4</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices">&quot;Invisible&quot; &quot;Visible always&quot; &quot;Visible after indentation&quot; &quot;Indentation only&quot;</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_whitespaceStyle</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">0</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="spacer" expanded="1">
- <property name="height">0</property>
- <property name="permission">protected</property>
- <property name="width">0</property>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="1">
- <property name="id">wxID_ANY</property>
- <property name="label">Indentation</property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer6</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Use tabs in indentation</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_indentsUsesTabs</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip">If clear, only spaces will be used for indentation.&#x0A;If set, a mixture of tabs and spaces will be used.</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer31</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Columns per indentation level:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">4</property>
- <property name="max">20</property>
- <property name="maximum_size"></property>
- <property name="min">1</property>
- <property name="minimum_size"></property>
- <property name="name">m_indentWidth</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Columns per tab character in document:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText31</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">4</property>
- <property name="max">20</property>
- <property name="maximum_size"></property>
- <property name="min">1</property>
- <property name="minimum_size"></property>
- <property name="name">m_tabWidth</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="0">
- <property name="id">wxID_ANY</property>
- <property name="label">Right Margin Indicator</property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer4</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer3</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxRadioButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Disabled</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_radioBtnRMDisabled</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxRB_GROUP</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">1</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRadioButton">OnRightMarginIndicator</event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxRadioButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Line</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_radioBtnRMLine</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">0</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRadioButton">OnRightMarginIndicator</event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxRadioButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Background</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_radioBtnRMBackground</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">0</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRadioButton">OnRightMarginIndicator</event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer3</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Indicator Column:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText41</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">0</property>
- <property name="max">256</property>
- <property name="maximum_size"></property>
- <property name="min">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_rightMarginColumn</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value">80</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Indicator Colour:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText5</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxLEFT|wxRIGHT</property>
- <property name="proportion">0</property>
- <object class="wxColourPickerCtrl" expanded="1">
- <property name="bg"></property>
- <property name="colour">192,192,192</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_rightMarginColour</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxCLRP_DEFAULT_STYLE|wxCLRP_SHOW_LABEL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnColourChanged"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="0">
- <property name="id">wxID_ANY</property>
- <property name="label">Save Options</property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer3</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">When saving file, trim empty lines</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxTrimLine</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">If missing, append EOL at end of file</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxAppendLF</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxRadioBox" expanded="1">
- <property name="bg"></property>
- <property name="choices">&quot;Ctrl+Mouse left button jumps to declaration / Ctrl+Alt+Mouse left button jumps to implementation&quot; &quot;Mouse middle button jumps to declaration / Ctrl+Mouse middle button jumps to implementation&quot;</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Quick Code Navigation </property>
- <property name="majorDimension">1</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_radioBoxNavigationMethod</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">0</property>
- <property name="size"></property>
- <property name="style">wxRA_SPECIFY_COLS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRadioBox"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingslocal.cpp b/LiteEditor/editorsettingslocal.cpp
deleted file mode 100644
index dc8bea55..00000000
--- a/LiteEditor/editorsettingslocal.cpp
+++ /dev/null
@@ -1,330 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2009 by Eran Ifrah
-// file name : editorsettingslocal.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingslocal.h"
-#include "windowattrmanager.h"
-#include <wx/wxscintilla.h>
-#include <wx/fontmap.h>
-
-EditorSettingsLocal::EditorSettingsLocal( OptionsConfigPtr hrOptions, wxXmlNode* nde, enum prefsLevel level /*=pLevel_dunno*/, wxWindow* parent /*=NULL*/, wxWindowID id /*=wxID_ANY*/, const wxString& title /*=wxT("Local Preferences")*/)
- : LocalEditorSettingsbase( parent, id, title ), higherOptions(hrOptions), node(nde)
-{
- wxString label = title;
- if (level == pLevel_workspace) {
- label = wxT("Workspace local editor preferences");
- } else if (level == pLevel_project) {
- label = wxT("Project local editor preferences");
- }
- SetTitle(label);
-
- localOptions = new LocalOptionsConfig;
- LocalOptionsConfig pOC(localOptions, node);
-
- DisplayHigherValues(higherOptions); // Sets the 'global'? defaults, and the enabling checkboxes to disabling
- DisplayLocalValues(localOptions); // Sets any previous 'local' prefs, and the corresponding enabling-checkboxes to enabling
-
- WindowAttrManager::Load(this, wxT("EditorSettingsLocal"), NULL);
-}
-
-EditorSettingsLocal::~EditorSettingsLocal()
-{
- WindowAttrManager::Save(this, wxT("EditorSettingsLocal"), NULL);
-}
-
-void EditorSettingsLocal::DisplayHigherValues( const OptionsConfigPtr options )
-{
- // There should be 'global' (or workspace if this will be a project setting) values for each setting
- // Insert them all, but leave the enabling checkboxes ticked, so the items will be disabled
- m_indentsUsesTabs->SetValue(options->GetIndentUsesTabs());
- m_indentWidth->SetValue(options->GetIndentWidth());
- m_tabWidth->SetValue(options->GetTabWidth());
- m_displayLineNumbers->SetValue(options->GetDisplayLineNumbers());
- m_showIndentationGuideLines->SetValue(options->GetShowIndentationGuidelines());
-
- m_highlightCaretLine->SetValue(options->GetHighlightCaretLine());
- m_checkBoxTrimLine->SetValue(options->GetTrimLine());
- m_checkBoxAppendLF->SetValue(options->GetAppendLF());
-
- m_checkBoxHideChangeMarkerMargin->SetValue( options->GetHideChangeMarkerMargin() );
- m_checkBoxDisplayFoldMargin->SetValue( options->GetDisplayFoldMargin() );
- m_displayBookmarkMargin->SetValue( options->GetDisplayBookmarkMargin() );
-
- switch (options->GetShowWhitspaces()) {
- case wxSCI_WS_VISIBLEALWAYS:
- m_whitespaceStyle->SetStringSelection(wxT("Visible always"));
- break;
- case wxSCI_WS_VISIBLEAFTERINDENT:
- m_whitespaceStyle->SetStringSelection(wxT("Visible after indentation"));
- break;
- case wxSCI_WS_INDENTVISIBLE:
- m_whitespaceStyle->SetStringSelection(wxT("Indentation only"));
- break;
- default:
- m_whitespaceStyle->SetStringSelection(wxT("Invisible"));
- break;
- }
-
- m_choiceEOL->SetStringSelection(options->GetEolMode());
-
- wxArrayString astrEncodings;
- wxFontEncoding fontEnc;
- int iCurrSelId = 0;
- size_t iEncCnt = wxFontMapper::GetSupportedEncodingsCount();
- for (size_t i = 0; i < iEncCnt; i++) {
- fontEnc = wxFontMapper::GetEncoding(i);
- if (wxFONTENCODING_SYSTEM == fontEnc) { // skip system, it is changed to UTF-8 in optionsconfig
- continue;
- }
- astrEncodings.Add(wxFontMapper::GetEncodingName(fontEnc));
- if (fontEnc == options->GetFileFontEncoding()) {
- iCurrSelId = i;
- }
- }
- m_fileEncoding->Append(astrEncodings);
- m_fileEncoding->SetSelection(iCurrSelId);
-}
-
-void EditorSettingsLocal::DisplayLocalValues( const LocalOptionsConfigPtr options )
-{
- // There will be 'global' values already present for each setting
- // Override this with any valid previously-make local pref, then untick the corresponding enabling checkbox, so that item will be enabled
-
- if (options->IndentUsesTabsIsValid()) {
- m_indentsUsesTabs->SetValue(options->GetIndentUsesTabs());
- m_indentsUsesTabsEnable->SetValue(false);
- }
- if (options->IndentWidthIsValid()) {
- m_indentWidth->SetValue(options->GetIndentWidth());
- m_indentWidthEnable->SetValue(false);
- }
-
- if (options->TabWidthIsValid()) {
- m_tabWidth->SetValue(options->GetTabWidth());
- m_tabWidthEnable->SetValue(false);
- }
- if (options->DisplayLineNumbersIsValid()) {
- m_displayLineNumbers->SetValue(options->GetDisplayLineNumbers());
- m_displayLineNumbersEnable->SetValue(false);
- }
- if (options->ShowIndentationGuidelinesIsValid()) {
- m_showIndentationGuideLines->SetValue(options->GetShowIndentationGuidelines());
- m_showIndentationGuideLinesEnable->SetValue(false);
- }
- if (options->HighlightCaretLineIsValid()) {
- m_highlightCaretLine->SetValue(options->GetHighlightCaretLine());
- m_highlightCaretLineEnable->SetValue(false);
- }
- if (options->TrimLineIsValid()) {
- m_checkBoxTrimLine->SetValue(options->GetHighlightCaretLine());
- m_checkBoxTrimLineEnable->SetValue(false);
- }
- if (options->AppendLFIsValid()) {
- m_checkBoxAppendLF->SetValue(options->GetHighlightCaretLine());
- m_checkBoxAppendLFEnable->SetValue(false);
- }
- if (options->HideChangeMarkerMarginIsValid()) {
- m_checkBoxHideChangeMarkerMargin->SetValue( options->GetHideChangeMarkerMargin() );
- m_checkBoxHideChangeMarkerMarginEnable->SetValue(false);
- }
- if (options->DisplayFoldMarginIsValid()) {
- m_checkBoxDisplayFoldMargin->SetValue( options->GetDisplayFoldMargin() );
- m_checkBoxDisplayFoldMarginEnable->SetValue(false);
- }
- if (options->DisplayBookmarkMarginIsValid()) {
- m_displayBookmarkMargin->SetValue( options->GetDisplayBookmarkMargin() );
- m_displayBookmarkMarginEnable->SetValue(false);
- }
-
- if (options->ShowWhitespacesIsValid()) {
- switch (options->GetShowWhitespaces()) {
- case wxSCI_WS_VISIBLEALWAYS:
- m_whitespaceStyle->SetStringSelection(wxT("Visible always"));
- break;
- case wxSCI_WS_VISIBLEAFTERINDENT:
- m_whitespaceStyle->SetStringSelection(wxT("Visible after indentation"));
- break;
- case wxSCI_WS_INDENTVISIBLE:
- m_whitespaceStyle->SetStringSelection(wxT("Indentation only"));
- break;
- default:
- m_whitespaceStyle->SetStringSelection(wxT("Invisible"));
- break;
- }
- m_whitespaceStyleEnable->SetValue(false);
- }
-
- if (options->EolModeIsValid()) {
- m_choiceEOL->SetStringSelection( options->GetEolMode() );
- m_choiceEOLEnable->SetValue(false);
- }
-
- if (options->FileFontEncodingIsValid()) {
- wxArrayString entries = m_fileEncoding->GetStrings();
- for (size_t n = 0; n < entries.GetCount(); ++n) {
- if ( entries.Item(n) == wxFontMapper::GetEncodingName(options->GetFileFontEncoding()) ) {
- m_fileEncoding->SetSelection(n);
- break;
- }
- }
- m_fileEncodingEnable->SetValue(false);
- }
-}
-
-void EditorSettingsLocal::OnOK( wxCommandEvent& event )
-{
- // Kill the old LocalOptionsConfigPtr, which now holds stale data
- localOptions.Reset( new LocalOptionsConfig );
-
- // Assume that, for any items still disabled, the user wants to use the global setting
- // That's true even if he decided to change an item, then disabled it again
- // or if there *was* a local pref, which is now to be deleted
- if (m_indentsUsesTabs->IsEnabled()) {
- GetLocalOpts()->SetIndentUsesTabs( m_indentsUsesTabs->GetValue() );
- }
- if (m_indentWidth->IsEnabled()) {
- GetLocalOpts()->SetIndentWidth( m_indentWidth->GetValue() );
- }
- if (m_tabWidth->IsEnabled()) {
- GetLocalOpts()->SetTabWidth( m_tabWidth->GetValue() );
- }
- if (m_displayLineNumbers->IsEnabled()) {
- GetLocalOpts()->SetDisplayLineNumbers( m_displayLineNumbers->GetValue() );
- }
- if (m_showIndentationGuideLines->IsEnabled()) {
- GetLocalOpts()->SetShowIndentationGuidelines( m_showIndentationGuideLines->GetValue() );
- }
- if (m_highlightCaretLine->IsEnabled()) {
- GetLocalOpts()->SetHighlightCaretLine( m_highlightCaretLine->GetValue() );
- }
- if (m_checkBoxTrimLine->IsEnabled()) {
- GetLocalOpts()->SetTrimLine( m_checkBoxTrimLine->GetValue() );
- }
- if (m_checkBoxAppendLF->IsEnabled()) {
- GetLocalOpts()->SetAppendLF( m_checkBoxAppendLF->GetValue() );
- }
- if (m_checkBoxHideChangeMarkerMargin->IsEnabled()) {
- GetLocalOpts()->SetHideChangeMarkerMargin( m_checkBoxHideChangeMarkerMargin->GetValue() );
- }
- if (m_checkBoxDisplayFoldMargin->IsEnabled()) {
- GetLocalOpts()->SetDisplayFoldMargin( m_checkBoxDisplayFoldMargin->GetValue() );
- }
- if (m_displayBookmarkMargin->IsEnabled()) {
- GetLocalOpts()->SetDisplayBookmarkMargin( m_displayBookmarkMargin->GetValue() );
- }
- if (m_whitespaceStyle->IsEnabled()) {
- int style(wxSCI_WS_INVISIBLE);
- if (m_whitespaceStyle->GetStringSelection() == wxT("Visible always")) {
- style = wxSCI_WS_VISIBLEALWAYS;
- } else if (m_whitespaceStyle->GetStringSelection() == wxT("Visible after indentation")) {
- style = wxSCI_WS_VISIBLEAFTERINDENT;
- } else if (m_whitespaceStyle->GetStringSelection() == wxT("Indentation only")) {
- style = wxSCI_WS_INDENTVISIBLE;
- }
- GetLocalOpts()->SetShowWhitespaces(style);
- }
- if (m_choiceEOL->IsEnabled()) {
- GetLocalOpts()->SetEolMode( m_choiceEOL->GetStringSelection() );
- }
- if (m_fileEncoding->IsEnabled()) {
- GetLocalOpts()->SetFileFontEncoding( m_fileEncoding->GetStringSelection() );
- }
-
- EndModal(wxID_OK);
-}
-
-void EditorSettingsLocal::indentsUsesTabsUpdateUI( wxUpdateUIEvent& event )
-{
- m_indentsUsesTabs->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::indentWidthUpdateUI( wxUpdateUIEvent& event )
-{
- m_indentWidth->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
- m_staticTextindentWidth->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::tabWidthUpdateUI( wxUpdateUIEvent& event )
-{
- m_tabWidth->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
- m_staticTexttabWidth->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::displayBookmarkMarginUpdateUI( wxUpdateUIEvent& event )
-{
- m_displayBookmarkMargin->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::checkBoxDisplayFoldMarginUpdateUI( wxUpdateUIEvent& event )
-{
- m_checkBoxDisplayFoldMargin->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::checkBoxHideChangeMarkerMarginUpdateUI( wxUpdateUIEvent& event )
-{
- m_checkBoxHideChangeMarkerMargin->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::displayLineNumbersUpdateUI( wxUpdateUIEvent& event )
-{
- m_displayLineNumbers->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::showIndentationGuideLinesUpdateUI( wxUpdateUIEvent& event )
-{
- m_showIndentationGuideLines->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::highlightCaretLineUpdateUI( wxUpdateUIEvent& event )
-{
- m_highlightCaretLine->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::checkBoxTrimLineUpdateUI( wxUpdateUIEvent& event )
-{
- m_checkBoxTrimLine->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::checkBoxAppendLFUpdateUI( wxUpdateUIEvent& event )
-{
- m_checkBoxAppendLF->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::whitespaceStyleUpdateUI( wxUpdateUIEvent& event )
-{
- m_whitespaceStyle->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
- m_staticTextwhitespaceStyle->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::choiceEOLUpdateUI( wxUpdateUIEvent& event )
-{
- m_choiceEOL->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
- m_EOLstatic->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
-
-void EditorSettingsLocal::fileEncodingUpdateUI( wxUpdateUIEvent& event )
-{
- m_fileEncoding->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
- m_staticTextfileEncoding->Enable( ! ((wxCheckBox*)event.GetEventObject())->IsChecked() );
-}
diff --git a/LiteEditor/editorsettingslocal.h b/LiteEditor/editorsettingslocal.h
deleted file mode 100644
index 227eaa98..00000000
--- a/LiteEditor/editorsettingslocal.h
+++ /dev/null
@@ -1,68 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2009 by Eran Ifrah
-// file name : editorsettingslocal.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingslocal__
-#define __editorsettingslocal__
-
-#include "editorsettingslocalbase.h"
-#include "optionsconfig.h"
-#include "localworkspace.h"
-
-class EditorSettingsLocal : public LocalEditorSettingsbase
-{
-public:
- EditorSettingsLocal( OptionsConfigPtr higherOptions, wxXmlNode* node, enum prefsLevel level = pLevel_dunno, wxWindow* parent = NULL, wxWindowID id = wxID_ANY, const wxString& title = wxT("Local Preferences"));
- ~EditorSettingsLocal();
-
- LocalOptionsConfigPtr GetLocalOpts() const {
- return localOptions;
- }
-
-protected:
- void DisplayHigherValues( const OptionsConfigPtr options );
- void DisplayLocalValues( const LocalOptionsConfigPtr options );
-
- void indentsUsesTabsUpdateUI( wxUpdateUIEvent& event );
- void indentWidthUpdateUI( wxUpdateUIEvent& event );
- void tabWidthUpdateUI( wxUpdateUIEvent& event );
- void displayBookmarkMarginUpdateUI( wxUpdateUIEvent& event );
- void checkBoxDisplayFoldMarginUpdateUI( wxUpdateUIEvent& event );
- void checkBoxHideChangeMarkerMarginUpdateUI( wxUpdateUIEvent& event );
- void displayLineNumbersUpdateUI( wxUpdateUIEvent& event );
- void showIndentationGuideLinesUpdateUI( wxUpdateUIEvent& event );
- void highlightCaretLineUpdateUI( wxUpdateUIEvent& event );
- void checkBoxTrimLineUpdateUI( wxUpdateUIEvent& event );
- void checkBoxAppendLFUpdateUI( wxUpdateUIEvent& event );
- void whitespaceStyleUpdateUI( wxUpdateUIEvent& event );
- void choiceEOLUpdateUI( wxUpdateUIEvent& event );
- void fileEncodingUpdateUI( wxUpdateUIEvent& event );
-
- void OnOK( wxCommandEvent& event );
-
- LocalOptionsConfigPtr localOptions;
- OptionsConfigPtr higherOptions;
- wxXmlNode* node;
-};
-#endif // __editorsettingslocal__
diff --git a/LiteEditor/editorsettingslocalbase.cpp b/LiteEditor/editorsettingslocalbase.cpp
deleted file mode 100644
index 20cffea9..00000000
--- a/LiteEditor/editorsettingslocalbase.cpp
+++ /dev/null
@@ -1,287 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingslocalbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-LocalEditorSettingsbase::LocalEditorSettingsbase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticText = new wxStaticText( this, wxID_ANY, wxT("Untick one or more checkboxes to set any local preferences, "), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText->Wrap( -1 );
- mainSizer->Add( m_staticText, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 10 );
-
- wxStaticBoxSizer* sbSizer6;
- sbSizer6 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Indentation") ), wxVERTICAL );
-
- wxFlexGridSizer* fgSizer31;
- fgSizer31 = new wxFlexGridSizer( 0, 2, 0, 20 );
- fgSizer31->AddGrowableCol( 1 );
- fgSizer31->SetFlexibleDirection( wxBOTH );
- fgSizer31->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_indentsUsesTabsEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_indentsUsesTabsEnable->SetValue(true);
- fgSizer31->Add( m_indentsUsesTabsEnable, 0, wxALL, 5 );
-
- m_indentsUsesTabs = new wxCheckBox( this, wxID_ANY, wxT("Use tabs in indentation"), wxDefaultPosition, wxDefaultSize, 0 );
- m_indentsUsesTabs->SetToolTip( wxT("If clear, only spaces will be used for indentation.\nIf set, a mixture of tabs and spaces will be used.") );
-
- fgSizer31->Add( m_indentsUsesTabs, 0, wxALL, 5 );
-
- m_tabWidthEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_tabWidthEnable->SetValue(true);
- fgSizer31->Add( m_tabWidthEnable, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticTexttabWidth = new wxStaticText( this, wxID_ANY, wxT("Columns per tab character in document:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTexttabWidth->Wrap( -1 );
- bSizer7->Add( m_staticTexttabWidth, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
-
- bSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_tabWidth = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 20, 4 );
- bSizer7->Add( m_tabWidth, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- fgSizer31->Add( bSizer7, 1, wxEXPAND, 5 );
-
- m_indentWidthEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_indentWidthEnable->SetValue(true);
- fgSizer31->Add( m_indentWidthEnable, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticTextindentWidth = new wxStaticText( this, wxID_ANY, wxT("Columns per indentation level:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextindentWidth->Wrap( -1 );
- bSizer6->Add( m_staticTextindentWidth, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
-
- bSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_indentWidth = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 20, 4 );
- bSizer6->Add( m_indentWidth, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- fgSizer31->Add( bSizer6, 1, wxEXPAND, 5 );
-
- sbSizer6->Add( fgSizer31, 1, wxEXPAND, 5 );
-
- mainSizer->Add( sbSizer6, 0, wxALL|wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer11;
- sbSizer11 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Margins") ), wxVERTICAL );
-
- wxFlexGridSizer* fgSizer21;
- fgSizer21 = new wxFlexGridSizer( 0, 2, 0, 20 );
- fgSizer21->AddGrowableCol( 1 );
- fgSizer21->SetFlexibleDirection( wxBOTH );
- fgSizer21->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_displayBookmarkMarginEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_displayBookmarkMarginEnable->SetValue(true);
- fgSizer21->Add( m_displayBookmarkMarginEnable, 0, wxALL, 5 );
-
- m_displayBookmarkMargin = new wxCheckBox( this, wxID_ANY, wxT("Display Breakpoints / Bookmarks margin"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer21->Add( m_displayBookmarkMargin, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_checkBoxDisplayFoldMarginEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_checkBoxDisplayFoldMarginEnable->SetValue(true);
- fgSizer21->Add( m_checkBoxDisplayFoldMarginEnable, 0, wxALL, 5 );
-
- m_checkBoxDisplayFoldMargin = new wxCheckBox( this, wxID_ANY, wxT("Display Folding margin"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxDisplayFoldMargin->SetToolTip( wxT("Display the margin that lets you 'fold' individual functions, or sections of functions, to hide their contents") );
-
- fgSizer21->Add( m_checkBoxDisplayFoldMargin, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_checkBoxHideChangeMarkerMarginEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_checkBoxHideChangeMarkerMarginEnable->SetValue(true);
- fgSizer21->Add( m_checkBoxHideChangeMarkerMarginEnable, 0, wxALL, 5 );
-
- m_checkBoxHideChangeMarkerMargin = new wxCheckBox( this, wxID_ANY, wxT("Hide change marker margin"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxHideChangeMarkerMargin->SetToolTip( wxT("Display the margin in which a coloured line marks any altered line") );
-
- fgSizer21->Add( m_checkBoxHideChangeMarkerMargin, 0, wxALL, 5 );
-
- sbSizer11->Add( fgSizer21, 1, wxEXPAND, 5 );
-
- mainSizer->Add( sbSizer11, 1, wxALL|wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Misc") ), wxVERTICAL );
-
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 0, 2, 0, 20 );
- fgSizer2->AddGrowableCol( 1 );
- fgSizer2->SetFlexibleDirection( wxBOTH );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_displayLineNumbersEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_displayLineNumbersEnable->SetValue(true);
- fgSizer2->Add( m_displayLineNumbersEnable, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_displayLineNumbers = new wxCheckBox( this, wxID_ANY, wxT("Display line numbers"), wxDefaultPosition, wxDefaultSize, 0 );
- m_displayLineNumbers->SetToolTip( wxT("Display line numbers margin") );
-
- fgSizer2->Add( m_displayLineNumbers, 0, wxALL, 5 );
-
- m_showIndentationGuideLinesEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_showIndentationGuideLinesEnable->SetValue(true);
- fgSizer2->Add( m_showIndentationGuideLinesEnable, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_showIndentationGuideLines = new wxCheckBox( this, wxID_ANY, wxT("Show indentation guidelines"), wxDefaultPosition, wxDefaultSize, 0 );
- m_showIndentationGuideLines->SetToolTip( wxT("Display horizontal guides for matching braces \"{\"") );
-
- fgSizer2->Add( m_showIndentationGuideLines, 0, wxALL, 5 );
-
- m_highlightCaretLineEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_highlightCaretLineEnable->SetValue(true);
- fgSizer2->Add( m_highlightCaretLineEnable, 0, wxALL, 5 );
-
- m_highlightCaretLine = new wxCheckBox( this, wxID_ANY, wxT("Highlight caret line"), wxDefaultPosition, wxDefaultSize, 0 );
- m_highlightCaretLine->SetToolTip( wxT("Set a different background colour for the line containing the caret") );
-
- fgSizer2->Add( m_highlightCaretLine, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_checkBoxTrimLineEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_checkBoxTrimLineEnable->SetValue(true);
- fgSizer2->Add( m_checkBoxTrimLineEnable, 0, wxALL, 5 );
-
- m_checkBoxTrimLine = new wxCheckBox( this, wxID_ANY, wxT("When saving files, trim empty lines"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_checkBoxTrimLine, 0, wxALL, 5 );
-
- m_checkBoxAppendLFEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_checkBoxAppendLFEnable->SetValue(true);
- fgSizer2->Add( m_checkBoxAppendLFEnable, 0, wxALL, 5 );
-
- m_checkBoxAppendLF = new wxCheckBox( this, wxID_ANY, wxT("If missing, append EOL at end of file"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxAppendLF->SetToolTip( wxT("Make sure the file finishes with an end-of-line") );
-
- fgSizer2->Add( m_checkBoxAppendLF, 0, wxALL, 5 );
-
- m_whitespaceStyleEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_whitespaceStyleEnable->SetValue(true);
- fgSizer2->Add( m_whitespaceStyleEnable, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- wxGridSizer* gSizer2;
- gSizer2 = new wxGridSizer( 2, 2, 0, 0 );
-
- m_staticTextwhitespaceStyle = new wxStaticText( this, wxID_ANY, wxT("Whitespace visibility:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextwhitespaceStyle->Wrap( -1 );
- gSizer2->Add( m_staticTextwhitespaceStyle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- wxString m_whitespaceStyleChoices[] = { wxT("Invisible"), wxT("Visible always"), wxT("Visible after indentation"), wxT("Indentation only") };
- int m_whitespaceStyleNChoices = sizeof( m_whitespaceStyleChoices ) / sizeof( wxString );
- m_whitespaceStyle = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_whitespaceStyleNChoices, m_whitespaceStyleChoices, 0 );
- m_whitespaceStyle->SetSelection( 0 );
- gSizer2->Add( m_whitespaceStyle, 0, wxALL, 5 );
-
- fgSizer2->Add( gSizer2, 1, wxEXPAND, 5 );
-
- m_choiceEOLEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_choiceEOLEnable->SetValue(true);
- fgSizer2->Add( m_choiceEOLEnable, 0, wxALL, 5 );
-
- wxGridSizer* gSizer1;
- gSizer1 = new wxGridSizer( 2, 2, 0, 0 );
-
- m_EOLstatic = new wxStaticText( this, wxID_ANY, wxT("EOL Mode:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_EOLstatic->Wrap( -1 );
- gSizer1->Add( m_EOLstatic, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- wxString m_choiceEOLChoices[] = { wxT("Default"), wxT("Mac (CR)"), wxT("Windows (CRLF)"), wxT("Unix (LF)") };
- int m_choiceEOLNChoices = sizeof( m_choiceEOLChoices ) / sizeof( wxString );
- m_choiceEOL = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceEOLNChoices, m_choiceEOLChoices, 0 );
- m_choiceEOL->SetSelection( 0 );
- m_choiceEOL->SetToolTip( wxT("Set the editor's EOL mode (End Of Line). When set to 'Default' CodeLite will set the EOL according to the hosting OS") );
-
- gSizer1->Add( m_choiceEOL, 1, wxALL|wxEXPAND, 5 );
-
- fgSizer2->Add( gSizer1, 1, wxEXPAND, 5 );
-
- m_fileEncodingEnable = new wxCheckBox( this, wxID_ANY, wxT("Use global setting"), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT );
- m_fileEncodingEnable->SetValue(true);
- fgSizer2->Add( m_fileEncodingEnable, 0, wxALL, 5 );
-
- wxGridSizer* gSizer21;
- gSizer21 = new wxGridSizer( 2, 2, 0, 0 );
-
- m_staticTextfileEncoding = new wxStaticText( this, wxID_ANY, wxT("File font encoding"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextfileEncoding->Wrap( -1 );
- gSizer21->Add( m_staticTextfileEncoding, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- wxArrayString m_fileEncodingChoices;
- m_fileEncoding = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_fileEncodingChoices, 0 );
- m_fileEncoding->SetSelection( 0 );
- gSizer21->Add( m_fileEncoding, 0, wxALL|wxEXPAND, 5 );
-
- fgSizer2->Add( gSizer21, 1, wxEXPAND, 5 );
-
- sbSizer1->Add( fgSizer2, 1, wxEXPAND, 5 );
-
- mainSizer->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_button1 = new wxButton( this, wxID_OK, wxT("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
- m_button1->SetDefault();
- bSizer4->Add( m_button1, 0, wxALL, 5 );
-
- m_button2 = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_button2, 0, wxALL, 5 );
-
- mainSizer->Add( bSizer4, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- // Connect Events
- m_indentsUsesTabsEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::indentsUsesTabsUpdateUI ), NULL, this );
- m_tabWidthEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::tabWidthUpdateUI ), NULL, this );
- m_indentWidthEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::indentWidthUpdateUI ), NULL, this );
- m_displayBookmarkMarginEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::displayBookmarkMarginUpdateUI ), NULL, this );
- m_checkBoxDisplayFoldMarginEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::checkBoxDisplayFoldMarginUpdateUI ), NULL, this );
- m_checkBoxHideChangeMarkerMarginEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::checkBoxHideChangeMarkerMarginUpdateUI ), NULL, this );
- m_displayLineNumbersEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::displayLineNumbersUpdateUI ), NULL, this );
- m_showIndentationGuideLinesEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::showIndentationGuideLinesUpdateUI ), NULL, this );
- m_highlightCaretLineEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::highlightCaretLineUpdateUI ), NULL, this );
- m_checkBoxTrimLineEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::checkBoxTrimLineUpdateUI ), NULL, this );
- m_checkBoxAppendLFEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::checkBoxAppendLFUpdateUI ), NULL, this );
- m_whitespaceStyleEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::whitespaceStyleUpdateUI ), NULL, this );
- m_choiceEOLEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::choiceEOLUpdateUI ), NULL, this );
- m_fileEncodingEnable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::fileEncodingUpdateUI ), NULL, this );
- m_button1->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( LocalEditorSettingsbase::OnOK ), NULL, this );
-}
-
-LocalEditorSettingsbase::~LocalEditorSettingsbase()
-{
- // Disconnect Events
- m_indentsUsesTabsEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::indentsUsesTabsUpdateUI ), NULL, this );
- m_tabWidthEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::tabWidthUpdateUI ), NULL, this );
- m_indentWidthEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::indentWidthUpdateUI ), NULL, this );
- m_displayBookmarkMarginEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::displayBookmarkMarginUpdateUI ), NULL, this );
- m_checkBoxDisplayFoldMarginEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::checkBoxDisplayFoldMarginUpdateUI ), NULL, this );
- m_checkBoxHideChangeMarkerMarginEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::checkBoxHideChangeMarkerMarginUpdateUI ), NULL, this );
- m_displayLineNumbersEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::displayLineNumbersUpdateUI ), NULL, this );
- m_showIndentationGuideLinesEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::showIndentationGuideLinesUpdateUI ), NULL, this );
- m_highlightCaretLineEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::highlightCaretLineUpdateUI ), NULL, this );
- m_checkBoxTrimLineEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::checkBoxTrimLineUpdateUI ), NULL, this );
- m_checkBoxAppendLFEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::checkBoxAppendLFUpdateUI ), NULL, this );
- m_whitespaceStyleEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::whitespaceStyleUpdateUI ), NULL, this );
- m_choiceEOLEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::choiceEOLUpdateUI ), NULL, this );
- m_fileEncodingEnable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( LocalEditorSettingsbase::fileEncodingUpdateUI ), NULL, this );
- m_button1->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( LocalEditorSettingsbase::OnOK ), NULL, this );
-}
diff --git a/LiteEditor/editorsettingslocalbase.h b/LiteEditor/editorsettingslocalbase.h
deleted file mode 100644
index ea72f497..00000000
--- a/LiteEditor/editorsettingslocalbase.h
+++ /dev/null
@@ -1,100 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingslocalbase__
-#define __editorsettingslocalbase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/checkbox.h>
-#include <wx/spinctrl.h>
-#include <wx/sizer.h>
-#include <wx/statbox.h>
-#include <wx/choice.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class LocalEditorSettingsbase
-///////////////////////////////////////////////////////////////////////////////
-class LocalEditorSettingsbase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText;
- wxCheckBox* m_indentsUsesTabsEnable;
- wxCheckBox* m_indentsUsesTabs;
- wxCheckBox* m_tabWidthEnable;
- wxStaticText* m_staticTexttabWidth;
-
- wxSpinCtrl* m_tabWidth;
- wxCheckBox* m_indentWidthEnable;
- wxStaticText* m_staticTextindentWidth;
-
- wxSpinCtrl* m_indentWidth;
- wxCheckBox* m_displayBookmarkMarginEnable;
- wxCheckBox* m_displayBookmarkMargin;
- wxCheckBox* m_checkBoxDisplayFoldMarginEnable;
- wxCheckBox* m_checkBoxDisplayFoldMargin;
- wxCheckBox* m_checkBoxHideChangeMarkerMarginEnable;
- wxCheckBox* m_checkBoxHideChangeMarkerMargin;
- wxCheckBox* m_displayLineNumbersEnable;
- wxCheckBox* m_displayLineNumbers;
- wxCheckBox* m_showIndentationGuideLinesEnable;
- wxCheckBox* m_showIndentationGuideLines;
- wxCheckBox* m_highlightCaretLineEnable;
- wxCheckBox* m_highlightCaretLine;
- wxCheckBox* m_checkBoxTrimLineEnable;
- wxCheckBox* m_checkBoxTrimLine;
- wxCheckBox* m_checkBoxAppendLFEnable;
- wxCheckBox* m_checkBoxAppendLF;
- wxCheckBox* m_whitespaceStyleEnable;
- wxStaticText* m_staticTextwhitespaceStyle;
- wxChoice* m_whitespaceStyle;
- wxCheckBox* m_choiceEOLEnable;
- wxStaticText* m_EOLstatic;
- wxChoice* m_choiceEOL;
- wxCheckBox* m_fileEncodingEnable;
- wxStaticText* m_staticTextfileEncoding;
- wxChoice* m_fileEncoding;
- wxButton* m_button1;
- wxButton* m_button2;
-
- // Virtual event handlers, overide them in your derived class
- virtual void indentsUsesTabsUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void tabWidthUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void indentWidthUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void displayBookmarkMarginUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void checkBoxDisplayFoldMarginUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void checkBoxHideChangeMarkerMarginUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void displayLineNumbersUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void showIndentationGuideLinesUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void highlightCaretLineUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void checkBoxTrimLineUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void checkBoxAppendLFUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void whitespaceStyleUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void choiceEOLUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void fileEncodingUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnOK( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- LocalEditorSettingsbase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Local Preferences"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~LocalEditorSettingsbase();
-
-};
-
-#endif //__editorsettingslocalbase__
diff --git a/LiteEditor/editorsettingsmiscbasepanel.cpp b/LiteEditor/editorsettingsmiscbasepanel.cpp
deleted file mode 100644
index 43c4764a..00000000
--- a/LiteEditor/editorsettingsmiscbasepanel.cpp
+++ /dev/null
@@ -1,109 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingsmiscbasepanel.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EditorSettingsMiscBasePanel::EditorSettingsMiscBasePanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxString m_toolbarIconSizeChoices[] = { wxT("Toolbar uses small icons (16x16)"), wxT("Toolbar uses large icons (24x24)") };
- int m_toolbarIconSizeNChoices = sizeof( m_toolbarIconSizeChoices ) / sizeof( wxString );
- m_toolbarIconSize = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_toolbarIconSizeNChoices, m_toolbarIconSizeChoices, 0 );
- m_toolbarIconSize->SetSelection( 1 );
- bSizer1->Add( m_toolbarIconSize, 0, wxALL|wxEXPAND, 5 );
-
- m_useSingleToolbar = new wxCheckBox( this, wxID_ANY, wxT("Use single toolbar"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer1->Add( m_useSingleToolbar, 0, wxALL, 5 );
-
- m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("File font encoding"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- fgSizer1->Add( m_staticText1, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- wxArrayString m_fileEncodingChoices;
- m_fileEncoding = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_fileEncodingChoices, 0 );
- m_fileEncoding->SetSelection( 0 );
- fgSizer1->Add( m_fileEncoding, 0, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( fgSizer1, 0, wxEXPAND|wxALL, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- m_showSplashScreen = new wxCheckBox( this, wxID_ANY, wxT("Show splashscreen on startup"), wxDefaultPosition, wxDefaultSize, 0 );
- m_showSplashScreen->SetValue(true);
- bSizer1->Add( m_showSplashScreen, 0, wxALL, 5 );
-
- m_singleAppInstance = new wxCheckBox( this, wxID_ANY, wxT("Allow only single instance running"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer1->Add( m_singleAppInstance, 0, wxALL, 5 );
-
- m_versionCheckOnStartup = new wxCheckBox( this, wxID_ANY, wxT("Check for new version on startup"), wxDefaultPosition, wxDefaultSize, 0 );
- m_versionCheckOnStartup->SetValue(true);
- bSizer1->Add( m_versionCheckOnStartup, 0, wxALL, 5 );
-
- m_fullFilePath = new wxCheckBox( this, wxID_ANY, wxT("Show file's full path in frame title"), wxDefaultPosition, wxDefaultSize, 0 );
- m_fullFilePath->SetValue(true);
- bSizer1->Add( m_fullFilePath, 0, wxALL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 0, 2, 0, 0 );
- fgSizer2->AddGrowableCol( 1 );
- fgSizer2->SetFlexibleDirection( wxBOTH );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Clear recent workspace / files history"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer2->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_clearButton = new wxButton( this, wxID_ANY, wxT("&Clear"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_clearButton, 0, wxALIGN_RIGHT|wxALL|wxEXPAND, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Max items kept in find / replace dialog:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer2->Add( m_staticText3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_maxItemsFindReplace = new wxSpinCtrl( this, wxID_ANY, wxT("10"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 50, 10 );
- fgSizer2->Add( m_maxItemsFindReplace, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Maximum number of tabs opened in the editor:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- fgSizer2->Add( m_staticText4, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_spinCtrlMaxOpenTabs = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 5, 30, 15 );
- fgSizer2->Add( m_spinCtrlMaxOpenTabs, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- bSizer1->Add( fgSizer2, 0, wxEXPAND|wxALL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_clearButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditorSettingsMiscBasePanel::OnClearButtonClick ), NULL, this );
- m_clearButton->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditorSettingsMiscBasePanel::OnClearUI ), NULL, this );
-}
-
-EditorSettingsMiscBasePanel::~EditorSettingsMiscBasePanel()
-{
- // Disconnect Events
- m_clearButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditorSettingsMiscBasePanel::OnClearButtonClick ), NULL, this );
- m_clearButton->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditorSettingsMiscBasePanel::OnClearUI ), NULL, this );
-}
diff --git a/LiteEditor/editorsettingsmiscbasepanel.fbp b/LiteEditor/editorsettingsmiscbasepanel.fbp
deleted file mode 100644
index f4ebb994..00000000
--- a/LiteEditor/editorsettingsmiscbasepanel.fbp
+++ /dev/null
@@ -1,1058 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettingsmiscbasepanel</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">0</property>
- <property name="name">EditorSettingsMiscBasePanel</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsMiscBasePanel</property>
- <property name="pos"></property>
- <property name="size">598,476</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices">&quot;Toolbar uses small icons (16x16)&quot; &quot;Toolbar uses large icons (24x24)&quot;</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_toolbarIconSize</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">1</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Use single toolbar</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_useSingleToolbar</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer1</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">File font encoding</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_fileEncoding</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">0</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">1</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Show splashscreen on startup</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_showSplashScreen</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Allow only single instance running</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_singleAppInstance</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">1</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Check for new version on startup</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_versionCheckOnStartup</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">1</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Show file&apos;s full path in frame title</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_fullFilePath</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer2</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">0</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Clear recent workspace / files history</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_RIGHT|wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">&amp;Clear</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_clearButton</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnClearButtonClick</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnClearUI</event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Max items kept in find / replace dialog:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">10</property>
- <property name="max">50</property>
- <property name="maximum_size"></property>
- <property name="min">1</property>
- <property name="minimum_size"></property>
- <property name="name">m_maxItemsFindReplace</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value">10</property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Maximum number of tabs opened in the editor:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText4</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxSpinCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="initial">15</property>
- <property name="max">30</property>
- <property name="maximum_size"></property>
- <property name="min">5</property>
- <property name="minimum_size"></property>
- <property name="name">m_spinCtrlMaxOpenTabs</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxSP_ARROW_KEYS</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSpinCtrl"></event>
- <event name="OnSpinCtrlText"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingsmiscbasepanel.h b/LiteEditor/editorsettingsmiscbasepanel.h
deleted file mode 100644
index 4104e9c2..00000000
--- a/LiteEditor/editorsettingsmiscbasepanel.h
+++ /dev/null
@@ -1,66 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingsmiscbasepanel__
-#define __editorsettingsmiscbasepanel__
-
-#include <wx/string.h>
-#include <wx/choice.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/checkbox.h>
-#include <wx/statline.h>
-#include <wx/stattext.h>
-#include <wx/sizer.h>
-#include <wx/button.h>
-#include <wx/spinctrl.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EditorSettingsMiscBasePanel
-///////////////////////////////////////////////////////////////////////////////
-class EditorSettingsMiscBasePanel : public wxPanel
-{
- private:
-
- protected:
- wxChoice* m_toolbarIconSize;
- wxCheckBox* m_useSingleToolbar;
- wxStaticLine* m_staticline3;
- wxStaticText* m_staticText1;
- wxChoice* m_fileEncoding;
- wxStaticLine* m_staticline2;
- wxCheckBox* m_showSplashScreen;
- wxCheckBox* m_singleAppInstance;
- wxCheckBox* m_versionCheckOnStartup;
- wxCheckBox* m_fullFilePath;
- wxStaticLine* m_staticline1;
- wxStaticText* m_staticText2;
- wxButton* m_clearButton;
- wxStaticText* m_staticText3;
- wxSpinCtrl* m_maxItemsFindReplace;
- wxStaticText* m_staticText4;
- wxSpinCtrl* m_spinCtrlMaxOpenTabs;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnClearButtonClick( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnClearUI( wxUpdateUIEvent& event ) { event.Skip(); }
-
-
- public:
-
- EditorSettingsMiscBasePanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 598,476 ), long style = wxTAB_TRAVERSAL );
- ~EditorSettingsMiscBasePanel();
-
-};
-
-#endif //__editorsettingsmiscbasepanel__
diff --git a/LiteEditor/editorsettingsmiscpanel.cpp b/LiteEditor/editorsettingsmiscpanel.cpp
deleted file mode 100644
index a38beef3..00000000
--- a/LiteEditor/editorsettingsmiscpanel.cpp
+++ /dev/null
@@ -1,153 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsmiscpanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "editorsettingsmiscpanel.h"
-#include "generalinfo.h"
-#include "frame.h"
-#include "manager.h"
-#include "pluginmanager.h"
-#include "wx/wxprec.h"
-#include <wx/fontmap.h>
-
-EditorSettingsMiscPanel::EditorSettingsMiscPanel( wxWindow* parent )
- : EditorSettingsMiscBasePanel( parent )
- , TreeBookNode<EditorSettingsMiscPanel>()
- , m_restartRequired (false)
-{
- GeneralInfo info = Frame::Get()->GetFrameGeneralInfo();
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- if (options->GetIconsSize() == 16) {
- m_toolbarIconSize->SetSelection(0);
- } else {
- m_toolbarIconSize->SetSelection(1);
- }
-
- m_useSingleToolbar->SetValue(!PluginManager::Get()->AllowToolbar());
-
- wxArrayString astrEncodings;
- wxFontEncoding fontEnc;
- int iCurrSelId = 0;
- size_t iEncCnt = wxFontMapper::GetSupportedEncodingsCount();
- for (size_t i = 0; i < iEncCnt; i++) {
- fontEnc = wxFontMapper::GetEncoding(i);
- if (wxFONTENCODING_SYSTEM == fontEnc) { // skip system, it is changed to UTF-8 in optionsconfig
- continue;
- }
- astrEncodings.Add(wxFontMapper::GetEncodingName(fontEnc));
- if (fontEnc == options->GetFileFontEncoding()) {
- iCurrSelId = i;
- }
- }
-
- m_fileEncoding->Append(astrEncodings);
- m_fileEncoding->SetSelection(iCurrSelId);
-
- long single_instance(1);
- EditorConfigST::Get()->GetLongValue(wxT("SingleInstance"), single_instance);
- m_singleAppInstance->SetValue(single_instance ? true : false);
-
- long check(1);
- EditorConfigST::Get()->GetLongValue(wxT("CheckNewVersion"), check);
- m_versionCheckOnStartup->SetValue(check ? true : false);
-
- check = 1;
- EditorConfigST::Get()->GetLongValue(wxT("ShowFullPathInFrameTitle"), check);
- m_fullFilePath->SetValue(check ? true : false);
-
- bool showSplash = info.GetFlags() & CL_SHOW_SPLASH ? true : false;
- m_showSplashScreen->SetValue(showSplash);
-
- long max_items(10);
- EditorConfigST::Get()->GetLongValue(wxT("MaxItemsInFindReplaceDialog"), max_items);
- m_maxItemsFindReplace->SetValue(max_items);
-
- long maxTabs(15);
- EditorConfigST::Get()->GetLongValue(wxT("MaxOpenedTabs"), maxTabs);
- m_spinCtrlMaxOpenTabs->SetValue(maxTabs);
-}
-
-void EditorSettingsMiscPanel::OnClearButtonClick( wxCommandEvent& )
-{
- ManagerST::Get()->ClearWorkspaceHistory();
- Frame::Get()->GetMainBook()->ClearFileHistory();
-}
-
-void EditorSettingsMiscPanel::Save(OptionsConfigPtr options)
-{
-
- if (m_showSplashScreen->IsChecked()) {
- Frame::Get()->SetFrameFlag(true, CL_SHOW_SPLASH);
- } else {
- Frame::Get()->SetFrameFlag(false, CL_SHOW_SPLASH);
- }
-
- EditorConfigST::Get()->SaveLongValue(wxT("SingleInstance"), m_singleAppInstance->IsChecked() ? 1 : 0);
- EditorConfigST::Get()->SaveLongValue(wxT("CheckNewVersion"), m_versionCheckOnStartup->IsChecked() ? 1 : 0);
- EditorConfigST::Get()->SaveLongValue(wxT("ShowFullPathInFrameTitle"), m_fullFilePath->IsChecked() ? 1 : 0);
-
- bool oldUseSingleToolbar = !PluginManager::Get()->AllowToolbar();
- EditorConfigST::Get()->SaveLongValue(wxT("UseSingleToolbar"), m_useSingleToolbar->IsChecked() ? 1 : 0);
-
- int value = m_maxItemsFindReplace->GetValue();
- if (value < 1 || value > 50) {
- value = 10;
- }
-
- EditorConfigST::Get()->SaveLongValue(wxT("MaxItemsInFindReplaceDialog"), value);
- EditorConfigST::Get()->SaveLongValue(wxT("MaxOpenedTabs"), m_spinCtrlMaxOpenTabs->GetValue());
-
- //check to see of the icon size was modified
- int oldIconSize(24);
-
- OptionsConfigPtr oldOptions = EditorConfigST::Get()->GetOptions();
- if (oldOptions) {
- oldIconSize = oldOptions->GetIconsSize();
- }
-
- int iconSize(24);
- if (m_toolbarIconSize->GetSelection() == 0) {
- iconSize = 16;
- }
- options->SetIconsSize(iconSize);
-
- // save file font encoding
- options->SetFileFontEncoding(m_fileEncoding->GetStringSelection());
-
- if (oldIconSize != iconSize || oldUseSingleToolbar != m_useSingleToolbar->IsChecked()) {
- EditorConfigST::Get()->SaveLongValue(wxT("LoadSavedPrespective"), 0);
- //notify the user
- m_restartRequired = true;
- } else {
- EditorConfigST::Get()->SaveLongValue(wxT("LoadSavedPrespective"), 1);
- }
-}
-
-void EditorSettingsMiscPanel::OnClearUI(wxUpdateUIEvent& e)
-{
- wxArrayString a1, a2;
- Frame::Get()->GetMainBook()->GetRecentlyOpenedFiles(a1);
- ManagerST::Get()->GetRecentlyOpenedWorkspaces(a2);
- e.Enable(!a1.IsEmpty() && !a2.IsEmpty());
-}
diff --git a/LiteEditor/editorsettingsmiscpanel.h b/LiteEditor/editorsettingsmiscpanel.h
deleted file mode 100644
index 36beb515..00000000
--- a/LiteEditor/editorsettingsmiscpanel.h
+++ /dev/null
@@ -1,54 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : editorsettingsmiscpanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __editorsettingsmiscpanel__
-#define __editorsettingsmiscpanel__
-
-/**
-@file
-Subclass of EditorSettingsMiscBasePanel, which is generated by wxFormBuilder.
-*/
-
-#include "editorsettingsmiscbasepanel.h"
-#include "treebooknodebase.h"
-/** Implementing EditorSettingsMiscBasePanel */
-class EditorSettingsMiscPanel
-: public EditorSettingsMiscBasePanel
-, public TreeBookNode<EditorSettingsMiscPanel>
-{
- bool m_restartRequired;
-protected:
- // Handlers for EditorSettingsMiscBasePanel events.
- void OnClearButtonClick( wxCommandEvent& event );
- void OnClearUI(wxUpdateUIEvent &e);
-public:
- /** Constructor */
- EditorSettingsMiscPanel( wxWindow* parent );
- void Save(OptionsConfigPtr options);
- virtual bool IsRestartRequired() { return this->m_restartRequired; }
-
-};
-
-#endif // __editorsettingsmiscpanel__
diff --git a/LiteEditor/editorsettingsterminal.cpp b/LiteEditor/editorsettingsterminal.cpp
deleted file mode 100644
index e61915bc..00000000
--- a/LiteEditor/editorsettingsterminal.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "editorsettingsterminal.h"
-#include "editor_config.h"
-
-EditorSettingsTerminal::EditorSettingsTerminal( wxWindow* parent )
- : EditorSettingsTerminalBase( parent )
- , TreeBookNode<EditorSettingsTerminal>()
-
-{
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- m_textCtrlProgramConsoleCmd->SetValue(options->GetProgramConsoleCommand());
-}
-
-void EditorSettingsTerminal::Save(OptionsConfigPtr options)
-{
- options->SetProgramConsoleCommand (m_textCtrlProgramConsoleCmd->GetValue());
-}
diff --git a/LiteEditor/editorsettingsterminal.fbp b/LiteEditor/editorsettingsterminal.fbp
deleted file mode 100644
index 4ed55545..00000000
--- a/LiteEditor/editorsettingsterminal.fbp
+++ /dev/null
@@ -1,413 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">editorsettings_terminal_base</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">editorsettings_terminal_base</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">EditorSettingsTerminalBase</property>
- <property name="pos"></property>
- <property name="size">500,300</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="0">
- <property name="minimum_size"></property>
- <property name="name">bSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Enter here the command to be used by CodeLite for launching consoles:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_textCtrlProgramConsoleCmd</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="0">
- <property name="id">wxID_ANY</property>
- <property name="label">Where:</property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="0">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer1</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font">,90,92,-1,70,0</property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">$(TITLE)</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">The console title</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText4</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font">,90,92,-1,70,0</property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">$(CMD)</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText5</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">The command to execute</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText6</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/editorsettingsterminal.h b/LiteEditor/editorsettingsterminal.h
deleted file mode 100644
index 4109301b..00000000
--- a/LiteEditor/editorsettingsterminal.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef __editorsettingsterminal__
-#define __editorsettingsterminal__
-
-/**
-@file
-Subclass of EditorSettingsTerminalBase, which is generated by wxFormBuilder.
-*/
-
-#include "editorsettings_terminal_base.h"
-#include "treebooknodebase.h"
-
-/** Implementing EditorSettingsTerminalBase */
-class EditorSettingsTerminal : public EditorSettingsTerminalBase, public TreeBookNode<EditorSettingsTerminal>
-{
-public:
- /** Constructor */
- EditorSettingsTerminal( wxWindow* parent );
- void Save(OptionsConfigPtr options);
-
-};
-
-#endif // __editorsettingsterminal__
diff --git a/LiteEditor/env_var_dlg_base.cpp b/LiteEditor/env_var_dlg_base.cpp
deleted file mode 100644
index 095e13d5..00000000
--- a/LiteEditor/env_var_dlg_base.cpp
+++ /dev/null
@@ -1,120 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "env_var_dlg_base.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EnvVarsTableDlgBase::EnvVarsTableDlgBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("Define here set of environment variables which will be applied by CodeLite before launching processes.\n\nVariables are defined in the format of NAME=VALUE"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- sbSizer1->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Available environment sets:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- m_staticText2->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxEmptyString ) );
-
- bSizer1->Add( m_staticText2, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxVERTICAL );
-
- m_notebook1 = new wxChoicebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxCHB_DEFAULT );
- m_panel1 = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- m_textCtrlDefault = new wxScintilla(m_panel1);
- bSizer5->Add( m_textCtrlDefault, 1, wxEXPAND, 5 );
-
- m_panel1->SetSizer( bSizer5 );
- m_panel1->Layout();
- bSizer5->Fit( m_panel1 );
- m_notebook1->AddPage( m_panel1, wxT("Default"), false );
- bSizer2->Add( m_notebook1, 1, wxEXPAND|wxALL, 5 );
-
- bSizer6->Add( bSizer2, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonNewSet = new wxButton( this, wxID_ANY, wxT("&New Set..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_buttonNewSet, 0, wxALL, 5 );
-
- m_buttonDeleteSet = new wxButton( this, wxID_ANY, wxT("Delete Set"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_buttonDeleteSet, 0, wxALL, 5 );
-
- bSizer6->Add( bSizer7, 0, wxEXPAND, 5 );
-
- bSizer1->Add( bSizer6, 1, wxEXPAND, 5 );
-
- m_staticline4 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline4, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- bSizer3->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
- bSizer1->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_buttonNewSet->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EnvVarsTableDlgBase::OnNewSet ), NULL, this );
- m_buttonDeleteSet->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EnvVarsTableDlgBase::OnDeleteSet ), NULL, this );
- m_buttonDeleteSet->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EnvVarsTableDlgBase::OnDeleteSetUI ), NULL, this );
- m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EnvVarsTableDlgBase::OnButtonOk ), NULL, this );
-}
-
-EnvVarsTableDlgBase::~EnvVarsTableDlgBase()
-{
- // Disconnect Events
- m_buttonNewSet->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EnvVarsTableDlgBase::OnNewSet ), NULL, this );
- m_buttonDeleteSet->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EnvVarsTableDlgBase::OnDeleteSet ), NULL, this );
- m_buttonDeleteSet->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EnvVarsTableDlgBase::OnDeleteSetUI ), NULL, this );
- m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EnvVarsTableDlgBase::OnButtonOk ), NULL, this );
-}
-
-EnvVarSetPage::EnvVarSetPage( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- m_textCtrl = new wxScintilla(this);
- bSizer6->Add( m_textCtrl, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer6 );
- this->Layout();
-}
-
-EnvVarSetPage::~EnvVarSetPage()
-{
-}
diff --git a/LiteEditor/env_var_dlg_base.h b/LiteEditor/env_var_dlg_base.h
deleted file mode 100644
index 35c3ee10..00000000
--- a/LiteEditor/env_var_dlg_base.h
+++ /dev/null
@@ -1,79 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __env_var_dlg_base__
-#define __env_var_dlg_base__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/statbox.h>
-#include <wx/wxscintilla.h>
-#include <wx/panel.h>
-#include <wx/choicebk.h>
-#include <wx/button.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EnvVarsTableDlgBase
-///////////////////////////////////////////////////////////////////////////////
-class EnvVarsTableDlgBase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxStaticText* m_staticText2;
- wxChoicebook* m_notebook1;
- wxPanel* m_panel1;
- wxScintilla* m_textCtrlDefault;
- wxButton* m_buttonNewSet;
- wxButton* m_buttonDeleteSet;
- wxStaticLine* m_staticline4;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnNewSet( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeleteSet( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeleteSetUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnButtonOk( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- EnvVarsTableDlgBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Environment Variables"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~EnvVarsTableDlgBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EnvVarSetPage
-///////////////////////////////////////////////////////////////////////////////
-class EnvVarSetPage : public wxPanel
-{
- private:
-
- protected:
-
- public:
- wxScintilla* m_textCtrl;
-
- EnvVarSetPage( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~EnvVarSetPage();
-
-};
-
-#endif //__env_var_dlg_base__
diff --git a/LiteEditor/envvar_dlg.cpp b/LiteEditor/envvar_dlg.cpp
deleted file mode 100644
index 6e71d377..00000000
--- a/LiteEditor/envvar_dlg.cpp
+++ /dev/null
@@ -1,151 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : envvar_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "envvar_dlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-EnvVarDlg::EnvVarDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- m_panel1 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer2->AddGrowableCol( 1 );
- fgSizer2->SetFlexibleDirection( wxBOTH );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText1 = new wxStaticText( m_panel1, wxID_ANY, wxT("Variable Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- fgSizer2->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textName = new wxTextCtrl( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textName->SetMinSize( wxSize( 300,-1 ) );
-
- fgSizer2->Add( m_textName, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText2 = new wxStaticText( m_panel1, wxID_ANY, wxT("Variable Value:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer2->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textValue = new wxTextCtrl( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_textValue, 1, wxALL|wxEXPAND, 5 );
-
- m_panel1->SetSizer( fgSizer2 );
- m_panel1->Layout();
- fgSizer2->Fit( m_panel1 );
- bSizer4->Add( m_panel1, 0, wxEXPAND | wxALL, 5 );
-
- m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer4->Add( m_staticline3, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* bSizer11;
- bSizer11 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOK->SetDefault();
- bSizer11->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCacnel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer11->Add( m_buttonCacnel, 0, wxALL, 5 );
-
- bSizer4->Add( bSizer11, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer4 );
- this->Layout();
- bSizer4->Fit( this );
- m_textName->SetFocus();
- this->Centre( wxBOTH );
-}
-
-EnvVarDlg::~EnvVarDlg()
-{
-}
-
-void EnvVarDlg::SetStaticText1(const wxString& txt)
-{
- m_staticText1->SetLabel(txt);
-}
-
-void EnvVarDlg::SetStaticText2(const wxString& txt)
-{
- m_staticText2->SetLabel(txt);
-}
-
-wxString EnvVarDlg::GetName() const
-{
- return m_textName->GetValue();
-}
-
-wxString EnvVarDlg::GetValue() const
-{
- return m_textValue->GetValue();
-}
-
-void EnvVarDlg::SetName(const wxString& name)
-{
- m_textName->SetValue(name);
-}
-
-void EnvVarDlg::SetValue(const wxString& name)
-{
- m_textValue->SetValue(name);
-}
-
-void EnvVarDlg::DisableName()
-{
- m_textValue->SetFocus();
- m_textName->Enable(false);
-}
-
-void EnvVarDlg::DisableValue()
-{
- m_textName->SetFocus();
- m_textValue->Enable(false);
-}
-
diff --git a/LiteEditor/envvar_dlg.h b/LiteEditor/envvar_dlg.h
deleted file mode 100644
index 74be494d..00000000
--- a/LiteEditor/envvar_dlg.h
+++ /dev/null
@@ -1,84 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : envvar_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __envvar_dlg__
-#define __envvar_dlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class EnvVarDlg
-///////////////////////////////////////////////////////////////////////////////
-class EnvVarDlg : public wxDialog
-{
-private:
-
-protected:
- wxPanel* m_panel1;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_textName;
- wxStaticText* m_staticText2;
- wxTextCtrl* m_textValue;
- wxStaticLine* m_staticline3;
- wxButton* m_buttonOK;
- wxButton* m_buttonCacnel;
-
-public:
- EnvVarDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Environment Variable"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE );
- ~EnvVarDlg();
-
- wxString GetName() const ;
- wxString GetValue() const ;
- void SetName(const wxString &name);
- void SetValue(const wxString &name);
- void SetStaticText1(const wxString &txt);
- void SetStaticText2(const wxString &txt);
- void DisableName();
- void DisableValue();
-
-};
-
-#endif //__envvar_dlg__
diff --git a/LiteEditor/envvar_table.cpp b/LiteEditor/envvar_table.cpp
deleted file mode 100644
index 1d63eaa5..00000000
--- a/LiteEditor/envvar_table.cpp
+++ /dev/null
@@ -1,134 +0,0 @@
-#include "envvar_table.h"
-#include <wx/wupdlock.h>
-#include "evnvarlist.h"
-#include "environmentconfig.h"
-#include "windowattrmanager.h"
-
-EnvVarsTableDlg::EnvVarsTableDlg( wxWindow* parent )
- : EnvVarsTableDlgBase( parent )
-{
- EvnVarList vars;
- EnvironmentConfig::Instance()->ReadObject(wxT("Variables"), &vars);
- std::map<wxString, wxString> envSets = vars.GetEnvVarSets();
- wxString activePage = vars.GetActiveSet();
-
- wxScintilla *sci = m_textCtrlDefault;
- sci->StyleClearAll();
- sci->SetLexer(wxSCI_LEX_NULL);
-
- wxFont defFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- wxFont font(defFont.GetPointSize(), wxFONTFAMILY_TELETYPE, wxNORMAL, wxNORMAL);
-
- for (int i=0; i<=wxSCI_STYLE_DEFAULT; i++) {
- sci->StyleSetBackground(i, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
- sci->StyleSetForeground(i, *wxBLACK);
- sci->StyleSetFont(i, font);
- }
-
- WindowAttrManager::Load(this, wxT("EnvVarsTableDlg"), NULL);
- std::map<wxString, wxString>::iterator iter = envSets.begin();
- for (; iter != envSets.end(); iter++) {
- wxString name = iter->first;
- wxString content = iter->second;
-
- if (name == wxT("Default")) {
- m_textCtrlDefault->SetText(content);
- } else {
- DoAddPage(name, content, false);
- }
- }
-
- m_notebook1->SetSelection(0);
- for (size_t i=0; i<m_notebook1->GetPageCount(); i++) {
- if (m_notebook1->GetPageText(i) == activePage) {
- m_notebook1->GetPage(i)->SetFocus();
- m_notebook1->SetSelection(i);
- break;
- }
- }
-}
-
-EnvVarsTableDlg::~EnvVarsTableDlg()
-{
- WindowAttrManager::Save(this, wxT("EnvVarsTableDlg"), NULL);
-}
-
-void EnvVarsTableDlg::OnLeftUp( wxMouseEvent& event )
-{
-}
-
-void EnvVarsTableDlg::OnButtonOk( wxCommandEvent& event )
-{
- EvnVarList vars;
-
- std::map<wxString, wxString> envSets;
-
- wxString content = m_textCtrlDefault->GetText();
- wxString name = wxT("Default");
- content.Trim().Trim(false);
- envSets[name] = content;
-
- for (size_t i=1; i<m_notebook1->GetPageCount(); i++) {
- if (i == (size_t)m_notebook1->GetSelection()) {
- vars.SetActiveSet(m_notebook1->GetPageText(i));
- }
-
- EnvVarSetPage *page = (EnvVarSetPage*) m_notebook1->GetPage(i);
- wxString content = page->m_textCtrl->GetText();
- wxString name = m_notebook1->GetPageText(i);
- content.Trim().Trim(false);
- envSets[name] = content;
- }
- vars.SetEnvVarSets(envSets);
- EnvironmentConfig::Instance()->WriteObject(wxT("Variables"), &vars);
- event.Skip();
-}
-
-void EnvVarsTableDlg::OnNewSet( wxCommandEvent& event )
-{
- wxString name = wxGetTextFromUser(wxT("Enter Name:"));
- if(name.IsEmpty())
- return;
-
- DoAddPage(name, wxT(""), false);
-}
-
-void EnvVarsTableDlg::OnDeleteSet(wxCommandEvent& event)
-{
- wxUnusedVar(event);
-
- int selection = m_notebook1->GetSelection();
- if(selection == wxNOT_FOUND)
- return;
-
- wxString name = m_notebook1->GetPageText((size_t)selection);
- if(wxMessageBox(wxString::Format(wxT("Are you sure you want to delete '%s' environment variables set?"), name.c_str()), wxT("Confirm"), wxYES_NO|wxICON_QUESTION) != wxYES)
- return;
- m_notebook1->DeletePage((size_t)selection);
-}
-
-void EnvVarsTableDlg::OnDeleteSetUI(wxUpdateUIEvent& event)
-{
- int i = m_notebook1->GetSelection();
- event.Enable(i != wxNOT_FOUND && m_notebook1->GetPageText(i) != wxT("Default"));
-}
-
-void EnvVarsTableDlg::DoAddPage(const wxString &name, const wxString &content, bool select)
-{
- wxWindowUpdateLocker locker(this);
- EnvVarSetPage *page = new EnvVarSetPage(m_notebook1, wxID_ANY, wxDefaultPosition, wxSize(0,0));
- wxScintilla *sci = page->m_textCtrl;
- sci->StyleClearAll();
- sci->SetLexer(wxSCI_LEX_NULL);
-
- wxFont defFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- wxFont font(defFont.GetPointSize(), wxFONTFAMILY_TELETYPE, wxNORMAL, wxNORMAL);
-
- for (int i=0; i<=wxSCI_STYLE_DEFAULT; i++) {
- sci->StyleSetBackground(i, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
- sci->StyleSetForeground(i, *wxBLACK);
- sci->StyleSetFont(i, font);
- }
- sci->SetText(content);
- m_notebook1->AddPage(page, name, select);
-}
diff --git a/LiteEditor/envvar_table.h b/LiteEditor/envvar_table.h
deleted file mode 100644
index 825995f2..00000000
--- a/LiteEditor/envvar_table.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef __envvar_table__
-#define __envvar_table__
-
-/**
-@file
-Subclass of EnvVarsTableDlgBase, which is generated by wxFormBuilder.
-*/
-
-#include "env_var_dlg_base.h"
-
-/** Implementing EnvVarsTableDlgBase */
-class EnvVarsTableDlg : public EnvVarsTableDlgBase
-{
-protected:
- void DoAddPage(const wxString &name, const wxString &content, bool select);
-
-protected:
- // Handlers for EnvVarsTableDlgBase events.
- void OnLeftUp( wxMouseEvent& event );
- void OnButtonOk( wxCommandEvent& event );
- void OnNewSet( wxCommandEvent& event );
- void OnDeleteSet( wxCommandEvent& event );
- void OnDeleteSetUI( wxUpdateUIEvent& event );
-
-public:
- /** Constructor */
- EnvVarsTableDlg( wxWindow* parent );
- virtual ~EnvVarsTableDlg();
-};
-
-#endif // __envvar_table__
diff --git a/LiteEditor/errorstab.cpp b/LiteEditor/errorstab.cpp
deleted file mode 100644
index 09acbcba..00000000
--- a/LiteEditor/errorstab.cpp
+++ /dev/null
@@ -1,204 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buidltab.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include "globals.h"
-#include "errorstab.h"
-#include "findresultstab.h"
-
-
-BEGIN_EVENT_TABLE ( ErrorsTab, OutputTabWindow )
- EVT_MENU ( XRCID ( "show_errors" ), ErrorsTab::OnRedisplayLines )
- EVT_MENU ( XRCID ( "show_warnings" ), ErrorsTab::OnRedisplayLines )
-END_EVENT_TABLE()
-
-
-ErrorsTab::ErrorsTab ( BuildTab *bt, wxWindow *parent, wxWindowID id, const wxString &name )
- : OutputTabWindow ( parent, id, name )
- , m_bt ( bt )
-{
- m_autoAppear = false; // BuildTab controls this tab's auto-appearance
-
- m_tb->RemoveTool ( XRCID ( "repeat_output" ) );
- m_tb->AddCheckTool ( XRCID ( "show_errors" ), wxT ( "Errors" ), wxXmlResource::Get()->LoadBitmap ( wxT ( "error" ) ), wxNullBitmap, wxT ( "Show build errors" ) );
- m_tb->ToggleTool ( XRCID ( "show_errors" ), true );
-
- m_tb->AddCheckTool ( XRCID ( "show_warnings" ), wxT ( "Warnings" ), wxXmlResource::Get()->LoadBitmap ( wxT ( "project_conflict" ) ), wxNullBitmap, wxT ( "Show build warnings" ) );
- m_tb->ToggleTool ( XRCID ( "show_warnings" ), true );
- m_tb->Realize();
-
- FindResultsTab::SetStyles ( m_sci );
-}
-
-ErrorsTab::~ErrorsTab()
-{
-}
-
-void ErrorsTab::ClearLines()
-{
- Clear();
- m_lineMap.clear();
-}
-
-bool ErrorsTab::IsShowing ( int linecolor )
-{
- switch ( linecolor ) {
- case wxSCI_LEX_GCC_BUILDING:
- return true;
- case wxSCI_LEX_GCC_ERROR:
- return m_tb->GetToolState ( XRCID ( "show_errors" ) );
- case wxSCI_LEX_GCC_WARNING:
- return m_tb->GetToolState ( XRCID ( "show_warnings" ) );
- }
- return false;
-}
-
-void ErrorsTab::AppendLine ( int line )
-{
- std::map<int,BuildTab::LineInfo>::iterator i = m_bt->m_lineInfo.find ( line );
- if ( i == m_bt->m_lineInfo.end() || !IsShowing ( i->second.linecolor ) )
- return;
- if ( i->second.linecolor == wxSCI_LEX_GCC_BUILDING ) {
- if ( i->second.linetext[0] == wxT ( '-' ) ) {
- m_lineMap[m_sci->GetLineCount()-1] = line;
- AppendText ( i->second.linetext );
- }
- return;
- }
-
- wxString filename = i->second.linetext.Mid ( i->second.filestart, i->second.filelen );
- wxString prevfile;
- if ( !m_lineMap.empty() ) {
- std::map<int,BuildTab::LineInfo>::iterator p = m_bt->m_lineInfo.find ( m_lineMap.rbegin()->second );
- prevfile = p->second.linetext.Mid ( p->second.filestart, p->second.filelen );
- }
- if ( prevfile != filename ) {
- // new file -- put file name on its own line
- AppendText ( filename + wxT ( "\n" ) );
- }
-
- int lineno = m_sci->GetLineCount()-1;
- m_lineMap[lineno] = line;
-
- // remove "...filename:" from line text
- wxString text = i->second.linetext.Mid ( i->second.filestart + i->second.filelen );
- if ( !text.IsEmpty() && text[0] == wxT ( ':' ) ) {
- text = text.Mid ( 1 );
- }
- // pad (possible) line number to 5 spaces
- int pos = text.Find ( wxT ( ':' ) );
- if ( pos < 0 || pos > 4 ) {
- pos = 0;
- }
- text.Pad ( 5-pos, wxT ( ' ' ), false );
-
- AppendText ( text );
- m_sci->SetIndicatorCurrent ( i->second.linecolor == wxSCI_LEX_GCC_ERROR ? 2 : 1 );
- m_sci->IndicatorFillRange ( m_sci->PositionFromLine ( lineno ), 5 );
-}
-
-void ErrorsTab::MarkLine ( int line )
-{
- std::map<int,BuildTab::LineInfo>::iterator i = m_bt->m_lineInfo.find ( line );
- if ( i == m_bt->m_lineInfo.end() || !IsShowing ( i->second.linecolor ) )
- return;
- for ( std::map<int,int>::iterator j = m_lineMap.begin(); j != m_lineMap.end(); j++ ) {
- if ( j->second == line ) {
- m_sci->MarkerDeleteAll ( 0x7 );
- m_sci->MarkerAdd ( j->first, 0x7 );
- m_sci->EnsureVisible ( j->first );
- m_sci->EnsureCaretVisible();
-
- // clear selection
- int pos = m_sci->PositionFromLine ( j->first );
- m_sci->SetSelection ( wxNOT_FOUND, pos );
- }
- }
-}
-
-void ErrorsTab::OnRedisplayLines ( wxCommandEvent& e )
-{
- wxUnusedVar ( e );
-
- int marked = -1;
- ClearLines();
- for ( int i = 0; i < m_bt->m_sci->GetLineCount(); i++ ) {
- AppendLine ( i );
- if ( m_bt->m_sci->MarkerGet ( i ) & 1<<0x7 ) {
- marked = i;
- }
- }
- if ( marked >= 0 ) {
- MarkLine ( marked );
- }
-}
-
-void ErrorsTab::OnMouseDClick ( wxScintillaEvent &e )
-{
- int pos = e.GetPosition();
- int style = m_sci->GetStyleAt(pos);
- int line = m_sci->LineFromPosition(pos);
-
- if ( style == wxSCI_LEX_FIF_FILE ) {
-
- m_sci->ToggleFold ( line );
-
- // clear the selection
- m_sci->SetSelection ( wxNOT_FOUND, pos );
-
- } else {
-
- m_sci->SetSelection ( wxNOT_FOUND, e.GetPosition() );
- std::map<int,int>::iterator i = m_lineMap.find ( m_sci->LineFromPosition ( e.GetPosition() ) );
- if ( i != m_lineMap.end() ) {
- std::map<int,BuildTab::LineInfo>::iterator m = m_bt->m_lineInfo.find ( i->second );
- if ( m != m_bt->m_lineInfo.end() || m->second.linecolor != wxSCI_LEX_GCC_BUILDING ) {
- m_bt->DoMarkAndOpenFile ( m, true );
- return;
- }
- }
- OutputTabWindow::OnMouseDClick ( e );
- }
-
-}
-
-void ErrorsTab::OnClearAll ( wxCommandEvent& e )
-{
- m_bt->OnClearAll ( e );
-}
-
-void ErrorsTab::OnClearAllUI ( wxUpdateUIEvent& e )
-{
- m_bt->OnClearAllUI ( e );
-}
-
-void ErrorsTab::OnRepeatOutput ( wxCommandEvent& e )
-{
- m_bt->OnRepeatOutput ( e );
-}
-
-void ErrorsTab::OnRepeatOutputUI ( wxUpdateUIEvent& e )
-{
- m_bt->OnRepeatOutputUI ( e );
-}
diff --git a/LiteEditor/errorstab.h b/LiteEditor/errorstab.h
deleted file mode 100644
index 87e8de43..00000000
--- a/LiteEditor/errorstab.h
+++ /dev/null
@@ -1,58 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : buidltab.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __errorstab__
-#define __errorstab__
-
-#include <vector>
-#include "buidltab.h"
-
-
-class ErrorsTab : public OutputTabWindow
-{
- friend class BuildTab;
-
-private:
- BuildTab *m_bt;
- std::map<int,int> m_lineMap;
-
- void ClearLines();
- bool IsShowing(int line);
- void AppendLine(int line);
- void MarkLine(int line);
-
- void OnRedisplayLines(wxCommandEvent &e);
- void OnClearAll (wxCommandEvent &e);
- void OnRepeatOutput (wxCommandEvent &e);
- void OnClearAllUI (wxUpdateUIEvent &e);
- void OnRepeatOutputUI(wxUpdateUIEvent &e);
- void OnMouseDClick (wxScintillaEvent &e);
- DECLARE_EVENT_TABLE()
-
-public:
- ErrorsTab(BuildTab *bt, wxWindow *parent, wxWindowID id, const wxString &name);
- ~ErrorsTab();
-};
-
-#endif // __errorstab__
diff --git a/LiteEditor/exports.h b/LiteEditor/exports.h
deleted file mode 100644
index b3fbbf3d..00000000
--- a/LiteEditor/exports.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef EXPORTS_H
-#define EXPORTS_H
-
-#ifdef WXDLLIMPEXP_LE
-#undef WXDLLIMPEXP_LE
-#endif
-
-#ifdef WXMAKINGDLL_LE
-# define WXDLLIMPEXP_LE WXEXPORT
-#elif defined(WXUSINGDLL_LE)
-# define WXDLLIMPEXP_LE WXIMPORT
-#else
-# define WXDLLIMPEXP_LE
-#endif // WXDLLIMPEXP_LE
-
-
-#endif //EXPORTS_H
-
diff --git a/LiteEditor/file.xpm b/LiteEditor/file.xpm
deleted file mode 100644
index 71e49d00..00000000
--- a/LiteEditor/file.xpm
+++ /dev/null
@@ -1,36 +0,0 @@
-/* XPM */
-static const char *xpm_file[] = {
-"16 16 16 2",
-"00 c black",
-"01 c #848484",
-"02 c #D6D6CE",
-"03 c gray100",
-"04 c none",
-"05 c gray100",
-"06 c gray100",
-"07 c gray100",
-"08 c gray100",
-"09 c gray100",
-"10 c gray100",
-"11 c gray100",
-"12 c gray100",
-"13 c gray100",
-"14 c gray100",
-"15 c gray100",
-"04040404040404040404040404040404",
-"04040101010101010101010104040404",
-"04040103030303030303030001040404",
-"04040103030303030303030002010404",
-"04040103030000000000030000000004",
-"04040103030303030303030303030004",
-"04040103030000000000000003030004",
-"04040103030303030303030303030004",
-"04040103030000000000000003030004",
-"04040103030303030303030303030004",
-"04040103030000000000000003030004",
-"04040103030303030303030303030004",
-"04040103030000000000000003030004",
-"04040103030303030303030303030004",
-"04040103030303030303030303030004",
-"04040000000000000000000000000004"
-};
diff --git a/LiteEditor/filechecklist.cpp b/LiteEditor/filechecklist.cpp
deleted file mode 100644
index 00df9b00..00000000
--- a/LiteEditor/filechecklist.cpp
+++ /dev/null
@@ -1,77 +0,0 @@
-#include "filechecklist.h"
-#include "windowattrmanager.h"
-
-FileCheckList::FileCheckList(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size)
- : FileCheckListBase( parent, id, title, pos, size )
- , m_baseDir(wxGetCwd())
-{
- WindowAttrManager::Load(this, wxT("FileCheckListAttr"), NULL);
-}
-
-FileCheckList::~FileCheckList()
-{
- WindowAttrManager::Save(this, wxT("FileCheckListAttr"), NULL);
-}
-
-void FileCheckList::OnCheckAll( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- for (size_t i = 0; i < m_files.size(); i++) {
- m_files[i].second = true;
- m_fileCheckList->Check(i, true);
- }
-}
-
-void FileCheckList::OnClearAll( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- for (size_t i = 0; i < m_files.size(); i++) {
- m_files[i].second = false;
- m_fileCheckList->Check(i, false);
- }
-}
-
-void FileCheckList::OnFileSelected( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- ShowFilePath(event.GetSelection());
-}
-
-void FileCheckList::OnFileCheckChanged(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- m_files[event.GetInt()].second = m_fileCheckList->IsChecked(event.GetInt());
-}
-
-void FileCheckList::ShowFilePath(size_t n)
-{
- wxFileName file = m_files[n].first;
- file.MakeRelativeTo(m_baseDir.GetFullPath());
- m_selectedFilePath->SetValue(file.GetFullPath());
-}
-
-void FileCheckList::SetCaption(const wxString &caption)
-{
- m_caption->SetLabel(caption);
-}
-
-void FileCheckList::SetBaseDir(const wxFileName& dir)
-{
- m_baseDir = dir;
- m_baseDir.MakeAbsolute();
-}
-
-void FileCheckList::SetFiles(const std::vector<std::pair<wxFileName, bool> > &files)
-{
- m_files = files;
- m_fileCheckList->Clear();
- for (size_t i = 0; i < m_files.size(); i++) {
- m_fileCheckList->Append(m_files[i].first.GetFullName());
- m_fileCheckList->Check(i, m_files[i].second);
- }
- m_selectedFilePath->Clear();
- if (!m_files.empty()) {
- m_fileCheckList->Select(0);
- ShowFilePath(0);
- }
-}
diff --git a/LiteEditor/filechecklist.h b/LiteEditor/filechecklist.h
deleted file mode 100644
index f0711276..00000000
--- a/LiteEditor/filechecklist.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef __filechecklist__
-#define __filechecklist__
-
-/**
-@file
-Subclass of filechecklistbase, which is generated by wxFormBuilder.
-*/
-
-#include <vector>
-#include <wx/filename.h>
-#include "filechecklistbase.h"
-
-/** Implementing filechecklistbase */
-class FileCheckList : public FileCheckListBase
-{
- std::vector<std::pair<wxFileName,bool> > m_files;
- wxFileName m_baseDir;
-
-protected:
- // Handlers for filechecklistbase events.
- void OnCheckAll( wxCommandEvent& event );
- void OnClearAll( wxCommandEvent& event );
- void OnFileSelected( wxCommandEvent& event );
- void OnFileCheckChanged( wxCommandEvent& event );
-
- void ShowFilePath(size_t n);
-
-public:
- /** Constructor */
- FileCheckList( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString,
- const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize);
- ~FileCheckList();
-
- void SetCancellable(bool can) { m_cancelButton->Show(can); }
- void SetCaption(const wxString &caption);
- void SetBaseDir(const wxFileName &dir);
-
- void SetFiles(const std::vector<std::pair<wxFileName, bool> > &files);
- const std::vector<std::pair<wxFileName,bool> > &GetFiles() const {
- return m_files;
- }
-};
-
-#endif // __filechecklist__
diff --git a/LiteEditor/filechecklistbase.cpp b/LiteEditor/filechecklistbase.cpp
deleted file mode 100644
index 73cad6f2..00000000
--- a/LiteEditor/filechecklistbase.cpp
+++ /dev/null
@@ -1,86 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "filechecklistbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-FileCheckListBase::FileCheckListBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_caption = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_caption->Wrap( -1 );
- bSizer1->Add( m_caption, 0, wxALL|wxEXPAND, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- wxArrayString m_fileCheckListChoices;
- m_fileCheckList = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), m_fileCheckListChoices, wxLB_NEEDED_SB|wxLB_SINGLE );
- bSizer3->Add( m_fileCheckList, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- m_clearAll = new wxButton( this, wxID_ANY, wxT("C&lear All"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_clearAll, 0, wxALL, 5 );
-
- m_checkAllButton = new wxButton( this, wxID_ANY, wxT("Check &All"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_checkAllButton, 0, wxALL, 5 );
-
- bSizer3->Add( bSizer4, 0, wxEXPAND, 5 );
-
- bSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
-
- m_selectedFilePath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
- m_selectedFilePath->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
-
- bSizer1->Add( m_selectedFilePath, 0, wxALL|wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_okButton = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_okButton->SetDefault();
- bSizer2->Add( m_okButton, 0, wxALL, 5 );
-
- m_cancelButton = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_cancelButton, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
- bSizer1->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_fileCheckList->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( FileCheckListBase::OnFileSelected ), NULL, this );
- m_fileCheckList->Connect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( FileCheckListBase::OnFileCheckChanged ), NULL, this );
- m_clearAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FileCheckListBase::OnClearAll ), NULL, this );
- m_checkAllButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FileCheckListBase::OnCheckAll ), NULL, this );
-}
-
-FileCheckListBase::~FileCheckListBase()
-{
- // Disconnect Events
- m_fileCheckList->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( FileCheckListBase::OnFileSelected ), NULL, this );
- m_fileCheckList->Disconnect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( FileCheckListBase::OnFileCheckChanged ), NULL, this );
- m_clearAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FileCheckListBase::OnClearAll ), NULL, this );
- m_checkAllButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FileCheckListBase::OnCheckAll ), NULL, this );
-}
diff --git a/LiteEditor/filechecklistbase.h b/LiteEditor/filechecklistbase.h
deleted file mode 100644
index 162e0c6b..00000000
--- a/LiteEditor/filechecklistbase.h
+++ /dev/null
@@ -1,58 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __filechecklistbase__
-#define __filechecklistbase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/statline.h>
-#include <wx/checklst.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/textctrl.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class FileCheckListBase
-///////////////////////////////////////////////////////////////////////////////
-class FileCheckListBase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_caption;
- wxStaticLine* m_staticline2;
- wxCheckListBox* m_fileCheckList;
- wxButton* m_clearAll;
- wxButton* m_checkAllButton;
- wxTextCtrl* m_selectedFilePath;
- wxStaticLine* m_staticline1;
- wxButton* m_okButton;
- wxButton* m_cancelButton;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnFileSelected( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnFileCheckChanged( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnClearAll( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckAll( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- FileCheckListBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Select Files"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~FileCheckListBase();
-
-};
-
-#endif //__filechecklistbase__
diff --git a/LiteEditor/filedroptarget.cpp b/LiteEditor/filedroptarget.cpp
deleted file mode 100644
index e8bf1343..00000000
--- a/LiteEditor/filedroptarget.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : filedroptarget.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "filedroptarget.h"
-#include "frame.h"
-
-FileDropTarget::FileDropTarget()
- : wxFileDropTarget()
-{
-}
-
-FileDropTarget::~FileDropTarget()
-{
-}
-
-bool FileDropTarget::OnDropFiles(wxCoord x, wxCoord y, const wxArrayString &filenames)
-{
- wxUnusedVar(x);
- wxUnusedVar(y);
- for(size_t i=0; i<filenames.GetCount(); i++){
- Frame::Get()->GetMainBook()->OpenFile(filenames.Item(i));
- }
- return true;
-}
-
diff --git a/LiteEditor/filedroptarget.h b/LiteEditor/filedroptarget.h
deleted file mode 100644
index c23efcf9..00000000
--- a/LiteEditor/filedroptarget.h
+++ /dev/null
@@ -1,35 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : filedroptarget.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef DROPFILETARGET_H
-#define DROPFILETARGET_H
-
-#include <wx/dnd.h>
-class FileDropTarget : public wxFileDropTarget {
-public:
- FileDropTarget();
- virtual ~FileDropTarget();
- virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
-};
-#endif //DROPFILETARGET_H
diff --git a/LiteEditor/fileexplorer.cpp b/LiteEditor/fileexplorer.cpp
deleted file mode 100644
index 95d6a7b4..00000000
--- a/LiteEditor/fileexplorer.cpp
+++ /dev/null
@@ -1,209 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : fileexplorer.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "wx/xrc/xmlres.h"
-#include "fileexplorer.h"
-#include "fileexplorertree.h"
-#include "wx/sizer.h"
-#include "wx/tokenzr.h"
-
-#include "macros.h"
-#include "globals.h"
-#include "plugin.h"
-#include "editor_config.h"
-#include "manager.h"
-#include "workspace_pane.h"
-#include "frame.h"
-
-FileExplorer::FileExplorer(wxWindow *parent, const wxString &caption)
-: wxPanel(parent, wxID_ANY, wxDefaultPosition, wxSize(250, 300))
-, m_caption(caption)
-, m_isLinkedToEditor(false)
-#ifdef __WXMSW__
-#if wxUSE_FSVOLUME
-, m_thread(this)
-#endif
-#endif
-{
- long link(1);
- EditorConfigST::Get()->GetLongValue(wxT("LinkFileExplorerToEditor"), link);
- m_isLinkedToEditor = link ? true : false;
- CreateGUIControls();
-}
-
-FileExplorer::~FileExplorer()
-{
-}
-
-void FileExplorer::CreateGUIControls()
-{
- wxBoxSizer *mainSizer = new wxBoxSizer(wxVERTICAL);
- SetSizer(mainSizer);
-
- wxToolBar *tb = new wxToolBar(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER);
-
- mainSizer->Add(tb, 0, wxEXPAND);
-
-#ifdef __WXMSW__
-#if wxUSE_FSVOLUME
- wxArrayString volumes;
- Connect(wxEVT_THREAD_VOLUME_COMPLETED, wxCommandEventHandler(FileExplorer::OnVolumes), NULL, this);
-
- m_thread.Create();
- m_thread.Run();
-
- m_volumes = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, volumes, 0 );
- mainSizer->Add(m_volumes, 0, wxEXPAND|wxALL, 1);
- ConnectChoice(m_volumes, FileExplorer::OnVolumeChanged);
-#endif
-#endif
-
- m_fileTree = new FileExplorerTree(this, wxID_ANY);
- m_fileTree->Connect(wxVDTC_ROOT_CHANGED, wxCommandEventHandler(FileExplorer::OnRootChanged), NULL, this);
- mainSizer->Add(m_fileTree, 1, wxEXPAND|wxALL, 1);
-
- tb->AddTool(XRCID("link_editor"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("link_editor")), wxT("Link Editor"), wxITEM_CHECK);
- tb->ToggleTool(XRCID("link_editor"), m_isLinkedToEditor);
- tb->AddTool(XRCID("collapse_all"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("collapse")), wxT("Collapse All"), wxITEM_NORMAL);
- tb->AddTool(XRCID("go_home"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("gohome")), wxT("Goto Current Directory"), wxITEM_NORMAL);
- tb->Realize();
-
- Connect( XRCID("link_editor"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileExplorer::OnLinkEditor ));
- Connect( XRCID("collapse_all"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileExplorer::OnCollapseAll ));
- Connect( XRCID("go_home"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileExplorer::OnGoHome ));
-
- mainSizer->Layout();
-
- wxTheApp->Connect(XRCID("show_in_explorer"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorer::OnShowFile), NULL, this);
- wxTheApp->Connect(XRCID("show_in_explorer"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(FileExplorer::OnShowFileUI), NULL, this);
- wxTheApp->Connect(wxEVT_WORKSPACE_LOADED, wxCommandEventHandler(FileExplorer::OnWorkspaceLoaded), NULL, this);
- wxTheApp->Connect(wxEVT_ACTIVE_EDITOR_CHANGED, wxCommandEventHandler(FileExplorer::OnActiveEditorChanged), NULL, this);
-}
-
-void FileExplorer::OnCollapseAll(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- m_fileTree->CollapseAll();
- wxTreeItemId root = m_fileTree->GetRootItem();
- if (root.IsOk()) {
- m_fileTree->Expand(m_fileTree->GetRootItem());
- }
- wxTreeItemId sel = m_fileTree->GetSelection();
- if (sel.IsOk()) {
- m_fileTree->EnsureVisible(sel);
- }
- m_fileTree->SetFocus();
-}
-
-void FileExplorer::OnGoHome(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- m_fileTree->ExpandToPath(wxGetCwd());
- m_fileTree->SetFocus();
-}
-
-void FileExplorer::OnLinkEditor(wxCommandEvent &e)
-{
- m_isLinkedToEditor = !m_isLinkedToEditor;
- EditorConfigST::Get()->SaveLongValue(wxT("LinkFileExplorerToEditor"), m_isLinkedToEditor ? 1 : 0);
- if (m_isLinkedToEditor) {
- OnActiveEditorChanged(e);
- }
-}
-
-void FileExplorer::OnShowFile(wxCommandEvent& e)
-{
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (editor && editor->GetFileName().FileExists()) {
- m_fileTree->ExpandToPath(editor->GetFileName());
- ManagerST::Get()->ShowWorkspacePane(m_caption);
- }
- e.Skip();
-}
-
-void FileExplorer::OnShowFileUI(wxUpdateUIEvent& e)
-{
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- e.Enable(editor && editor->GetFileName().FileExists());
-}
-
-void FileExplorer::OnActiveEditorChanged(wxCommandEvent& e)
-{
- e.Skip();
- if (m_isLinkedToEditor) {
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (editor && editor->GetFileName().FileExists()) {
- m_fileTree->ExpandToPath(editor->GetFileName());
- }
- }
-}
-
-void FileExplorer::OnWorkspaceLoaded(wxCommandEvent& e)
-{
- e.Skip();
- wxUnusedVar(e);
- if (m_isLinkedToEditor) {
- m_fileTree->ExpandToPath(WorkspaceST::Get()->GetWorkspaceFileName().GetPath());
- }
-}
-
-void FileExplorer::OnRootChanged(wxCommandEvent &e)
-{
- wxTreeItemId root = m_fileTree->GetRootItem();
- if(root.IsOk()){
- wxString vol = m_fileTree->GetItemText(root);
-#ifdef __WXMSW__
-#if wxUSE_FSVOLUME
- if(m_volumes->FindString(vol) == wxNOT_FOUND) {
- m_volumes->AppendString(vol);
- }
- m_volumes->SetStringSelection(vol);
-#endif
-#endif
- SendCmdEvent(wxEVT_FILE_EXP_INIT_DONE);
- }
- e.Skip();
-}
-
-#ifdef __WXMSW__
-#if wxUSE_FSVOLUME
-void FileExplorer::OnVolumeChanged(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- m_fileTree->SetRootPath(m_volumes->GetStringSelection());
- m_fileTree->SetFocus();
-}
-
-void FileExplorer::OnVolumes(wxCommandEvent &e)
-{
- wxString curvol = m_volumes->GetStringSelection();
- wxArrayString volumes = wxStringTokenize(e.GetString(), wxT(";"), wxTOKEN_STRTOK);
- int where = volumes.Index(curvol);
- if(where != wxNOT_FOUND){
- volumes.RemoveAt((size_t)where);
- }
- m_volumes->Append(volumes);
-}
-#endif
-#endif
diff --git a/LiteEditor/fileexplorer.h b/LiteEditor/fileexplorer.h
deleted file mode 100644
index b3819e9e..00000000
--- a/LiteEditor/fileexplorer.h
+++ /dev/null
@@ -1,71 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : fileexplorer.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef FILEEXPLORER_H
-#define FILEEXPLORER_H
-
-#include "wx/panel.h"
-#include "wx/choice.h"
-#include "volumelocatorthread.h"
-
-class FileExplorerTree;
-
-class FileExplorer : public wxPanel
-{
-private:
- FileExplorerTree *m_fileTree;
- wxString m_caption;
- bool m_isLinkedToEditor;
-
- void CreateGUIControls();
-
- void OnLinkEditor(wxCommandEvent &e);
- void OnCollapseAll(wxCommandEvent &e);
- void OnGoHome(wxCommandEvent &e);
- void OnShowFile(wxCommandEvent &e);
- void OnShowFileUI(wxUpdateUIEvent &e);
- void OnWorkspaceLoaded(wxCommandEvent &e);
- void OnActiveEditorChanged(wxCommandEvent &e);
- void OnRootChanged(wxCommandEvent &e);
-
-#ifdef __WXMSW__
-#if wxUSE_FSVOLUME
- wxChoice *m_volumes;
- VolumeLocatorThread m_thread;
-
- void OnVolumeChanged(wxCommandEvent &e);
- void OnVolumes(wxCommandEvent &e);
-#endif // wxUSE_FSVOLUME
-#endif // __WXMSW__
-
-public:
- FileExplorer(wxWindow *parent, const wxString &caption);
- virtual ~FileExplorer();
-
- const wxString &GetCaption() const{return m_caption;}
- FileExplorerTree *GetFileTree() {return m_fileTree;}
-};
-
-#endif //FILEEXPLORER_H
-
diff --git a/LiteEditor/fileexplorertree.cpp b/LiteEditor/fileexplorertree.cpp
deleted file mode 100644
index d619d13e..00000000
--- a/LiteEditor/fileexplorertree.cpp
+++ /dev/null
@@ -1,461 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : fileexplorertree.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "fileexplorertree.h"
-#include "localworkspace.h"
-#include "editor_config.h"
-#include "dirsaver.h"
-#include "manager.h"
-#include "ctags_manager.h"
-#include "wx/xrc/xmlres.h"
-#include "pluginmanager.h"
-#include "globals.h"
-#include "dirsaver.h"
-#include "procutils.h"
-#include "frame.h"
-#include <wx/mimetype.h>
-
-BEGIN_EVENT_TABLE(FileExplorerTree, wxVirtualDirTreeCtrl)
- EVT_TREE_ITEM_MENU(wxID_ANY, FileExplorerTree::OnContextMenu)
- EVT_TREE_ITEM_ACTIVATED(wxID_ANY, FileExplorerTree::OnItemActivated)
- EVT_TREE_ITEM_EXPANDED(wxID_ANY, FileExplorerTree::OnExpanded)
-END_EVENT_TABLE()
-
-FileExplorerTree::FileExplorerTree(wxWindow *parent, wxWindowID id)
- : wxVirtualDirTreeCtrl(parent, id)
- , m_rclickMenu(NULL)
- , m_itemsAdded(false)
-{
- m_rclickMenu = wxXmlResource::Get()->LoadMenu(wxT("file_explorer_menu"));
- Connect(XRCID("open_file"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnOpenFile), NULL, this);
- Connect(XRCID("open_file_in_text_editor"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnOpenFileInTextEditor), NULL, this);
- Connect(XRCID("refresh_node"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnRefreshNode), NULL, this);
- Connect(XRCID("delete_node"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnDeleteNode), NULL, this);
- Connect(XRCID("search_node"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnSearchNode), NULL, this);
- Connect(XRCID("tags_add_global_include"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnTagNode), NULL, this);
- Connect(XRCID("tags_add_global_exclude"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnTagNode), NULL, this);
- Connect(XRCID("tags_add_workspace_include"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnTagNode), NULL, this);
- Connect(XRCID("tags_add_workspace_exclude"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnTagNode), NULL, this);
- Connect(XRCID("open_shell"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnOpenShell), NULL, this);
- Connect(XRCID("open_with_default_application"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FileExplorerTree::OnOpenWidthDefaultApp), NULL, this);
- Connect(GetId(), wxEVT_LEFT_DCLICK, wxMouseEventHandler( FileExplorerTree::OnMouseDblClick ) );
- Connect(GetId(), wxEVT_COMMAND_TREE_KEY_DOWN, wxTreeEventHandler(FileExplorerTree::OnKeyDown));
-
- TagsManagerST::Get()->Connect(wxEVT_UPDATE_FILETREE_EVENT, wxCommandEventHandler(FileExplorerTree::OnTagsUpdated), NULL, this);
-}
-
-FileExplorerTree::~FileExplorerTree()
-{
- if (m_rclickMenu) {
- delete m_rclickMenu;
- m_rclickMenu = NULL;
- }
-}
-
-void FileExplorerTree::OnKeyDown(wxTreeEvent &e)
-{
- if (e.GetKeyCode() == WXK_RETURN || e.GetKeyCode() == WXK_NUMPAD_ENTER) {
- wxTreeItemId item = GetSelection();
- DoItemActivated(item);
- } else if (e.GetKeyCode() == WXK_DELETE || e.GetKeyCode() == WXK_NUMPAD_DELETE) {
- wxCommandEvent dummy;
- OnDeleteNode(dummy);
- } else {
- e.Skip();
- }
-}
-
-void FileExplorerTree::OnDeleteNode(wxCommandEvent &e)
-{
- wxTreeItemId item = GetSelection();
- bool needRefresh = false;
-
- if (item.IsOk()) {
- wxString fp = GetFullPath(item).GetFullPath();
- VdtcTreeItemBase *b = (VdtcTreeItemBase *)GetItemData(item);
- if (b && b->IsDir()) {
- wxString msg;
- msg << wxT("'") << GetItemText(item) << wxT("' is a directory. Are you sure you want to remove it and its content?");
- if (wxMessageBox(msg, wxT("Remove Directory"), wxICON_WARNING|wxYES_NO|wxCANCEL) == wxYES) {
- if (!RemoveDirectory(fp)) {
- wxMessageBox(_("Failed to remove directory"), wxT("Remove Directory"), wxICON_ERROR | wxOK);
- } else {
- needRefresh = true;
- }
- }
- } else {
- if (wxRemoveFile(fp)) {
- needRefresh = true;
- }
- }
- if (needRefresh) {
- wxTreeItemId parent = GetItemParent(item);
- if (parent.IsOk()) {
- //select the parent, and call refresh.
- //by making the parent the selected item,
- //we force the refresh to take place on the parent node
- SelectItem(parent);
- wxCommandEvent dummy;
- OnRefreshNode(dummy);
- }
- }
- }
-
- e.Skip();
-}
-
-void FileExplorerTree::OnSearchNode(wxCommandEvent &e)
-{
- wxTreeItemId item = GetSelection();
- if (item.IsOk()) {
- wxCommandEvent ff(wxEVT_COMMAND_MENU_SELECTED, XRCID("find_in_files"));
- ff.SetString(GetFullPath(item).GetFullPath());
- Frame::Get()->GetEventHandler()->AddPendingEvent(ff);
- }
- e.Skip();
-}
-
-void FileExplorerTree::OnTagNode(wxCommandEvent &e)
-{
- bool retagRequires (false);
- wxTreeItemId item = GetSelection();
- if (item.IsOk()) {
-
- TagsOptionsData tod = Frame::Get()->GetTagsOptions();
- wxString path = GetFullPath(item).GetFullPath();
- if ( path.EndsWith(wxT("\\")) || path.EndsWith(wxT("/")) ) {
- path.RemoveLast();
- }
-
- if ( e.GetId() == XRCID("tags_add_global_include") ) {
- // add this directory as include path
- wxArrayString arr = tod.GetParserSearchPaths();
- if ( arr.Index( path ) == wxNOT_FOUND ) {
- arr.Add( path );
- tod.SetParserSearchPaths( arr );
-
- Frame::Get()->UpdateTagsOptions( tod );
- retagRequires = true;
- }
- } else if ( e.GetId() == XRCID("tags_add_global_exclude") ){
- wxArrayString arr = tod.GetParserExcludePaths();
- if ( arr.Index(path) == wxNOT_FOUND ) {
- arr.Add( path );
- tod.SetParserExcludePaths( arr );
-
- Frame::Get()->UpdateTagsOptions( tod );
- retagRequires = true;
- }
- } else if ( e.GetId() == XRCID("tags_add_workspace_include") ){
- wxArrayString includePaths, excludePaths;
- LocalWorkspaceST::Get()->GetParserPaths(includePaths, excludePaths);
-
- if ( includePaths.Index(path) == wxNOT_FOUND ) {
- includePaths.Add( path );
- // Write down the new paths
- LocalWorkspaceST::Get()->SetParserPaths(includePaths, excludePaths);
- // Update the parser
- ManagerST::Get()->UpdateParserPaths();
- retagRequires = true;
- }
- } else if ( e.GetId() == XRCID("tags_add_workspace_exclude") ){
- wxArrayString includePaths, excludePaths;
- LocalWorkspaceST::Get()->GetParserPaths(includePaths, excludePaths);
-
- if ( excludePaths.Index(path) == wxNOT_FOUND ) {
- excludePaths.Add( path );
- // Write down the new paths
- LocalWorkspaceST::Get()->SetParserPaths(includePaths, excludePaths);
- // Update the parser
- ManagerST::Get()->UpdateParserPaths();
- retagRequires = true;
- }
- }
-
- // send notification to the main frame to perform retag
- if ( retagRequires ) {
- wxCommandEvent event( wxEVT_COMMAND_MENU_SELECTED, XRCID("retag_workspace") );
- Frame::Get()->GetEventHandler()->AddPendingEvent( event );
- }
- }
-}
-
-void FileExplorerTree::OnContextMenu(wxTreeEvent &event)
-{
- wxTreeItemId item = event.GetItem();
- if (item.IsOk()) {
- SelectItem(item);
- if (m_rclickMenu) {
- wxMenuItem *tagItem = m_rclickMenu->FindChildItem(XRCID("tag_node"));
- if (tagItem) {
- tagItem->Enable(IsDirNode(item));
- }
- //let the plugins hook their content
- PluginManager::Get()->HookPopupMenu(m_rclickMenu, MenuTypeFileExplorer);
- PopupMenu(m_rclickMenu);
- //let the plugins remove their hooked content
- PluginManager::Get()->UnHookPopupMenu(m_rclickMenu, MenuTypeFileExplorer);
- }
- }
-}
-
-void FileExplorerTree::DoOpenItem(const wxTreeItemId &item)
-{
- if (item.IsOk()) {
- wxFileName fn = GetFullPath(item);
- if (fn.GetExt() == wxT("workspace")) {
- //open workspace
- ManagerST::Get()->OpenWorkspace(fn.GetFullPath());
-
- } else {
-
- // Send event to the plugins to see if any plugin want to handle this file differently
- wxString file_path = fn.GetFullPath();
- if (SendCmdEvent(wxEVT_TREE_ITEM_FILE_ACTIVATED, &file_path)) {
- return;
- }
-
- Frame::Get()->GetMainBook()->OpenFile(fn.GetFullPath(), wxEmptyString);
- }
- }
-}
-
-void FileExplorerTree::DoOpenItemInTextEditor(const wxTreeItemId &item)
-{
- if (item.IsOk()) {
- wxFileName fn = GetFullPath(item);
- Frame::Get()->GetMainBook()->OpenFile(fn.GetFullPath(), wxEmptyString);
- }
-}
-
-void FileExplorerTree::OnMouseDblClick( wxMouseEvent &event )
-{
- wxTreeItemId item = GetSelection();
- // Make sure the double click was done on an actual item
- int flags = wxTREE_HITTEST_ONITEMLABEL;
-
- if (HitTest( event.GetPosition(), flags ) == item) {
- DoItemActivated( item );
- return;
- }
- event.Skip();
-}
-
-void FileExplorerTree::DoItemActivated(const wxTreeItemId &item)
-{
- if (item.IsOk()) {
- VdtcTreeItemBase *b = (VdtcTreeItemBase *)GetItemData(item);
- if (b && b->IsDir()) {
- Freeze();
- if (IsExpanded(item)) {
- Collapse(item);
- } else {
- Expand(item);
- }
- Thaw();
- } else {
- DoOpenItem(item);
- }
- }
-}
-
-void FileExplorerTree::OnItemActivated(wxTreeEvent &event)
-{
- DoItemActivated(event.GetItem());
- event.Skip();
-}
-
-void FileExplorerTree::OnOpenFile(wxCommandEvent &e)
-{
- //Get the selected item
- wxUnusedVar(e);
- wxTreeItemId item = GetSelection();
- DoOpenItem(item);
-}
-
-void FileExplorerTree::OnOpenFileInTextEditor(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- wxTreeItemId item = GetSelection();
- DoOpenItemInTextEditor(item);
-}
-
-TreeItemInfo FileExplorerTree::GetSelectedItemInfo()
-{
- wxTreeItemId item = GetSelection();
- TreeItemInfo info;
- info.m_item = item;
- if ( item.IsOk() ) {
- //set the text of the item
- info.m_text = GetItemText( item );
- info.m_fileName = GetFullPath(item);
- }
- return info;
-}
-
-void FileExplorerTree::OnRefreshNode(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- wxTreeItemId item = GetSelection();
- wxFileName path = GetFullPath(item); // save here because item gets clobbered by DoReloadNode()
-
- Freeze();
-
- m_itemsAdded = false;
- DoReloadNode(item);
- if (m_itemsAdded) { // check if new items need to be bolded
- if(TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_MARK_TAGS_FILES_IN_BOLD) {
- std::vector<wxFileName> files;
- TagsManagerST::Get()->GetFiles(GetFullPath(item).GetFullPath(), files);
- DoTagsUpdated(files, true);
- }
- m_itemsAdded = false;
- }
-
- Thaw();
-}
-
-void FileExplorerTree::OnOpenShell(wxCommandEvent &event)
-{
- DirSaver ds;
- wxTreeItemId item = GetSelection();
- if (item.IsOk()) {
- wxFileName fullpath = GetFullPath(item);
-
- DirSaver ds;
- wxSetWorkingDirectory(fullpath.GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR));
-
- if (!ProcUtils::Shell()) {
- wxMessageBox(_("Failed to load shell terminal"), wxT("CodeLite"), wxICON_WARNING|wxOK);
- return;
- }
- }
-}
-
-void FileExplorerTree::OnOpenWidthDefaultApp(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxTreeItemId item = GetSelection();
- if (item.IsOk()) {
- wxFileName fullpath = GetFullPath(item);
- wxMimeTypesManager *mgr = wxTheMimeTypesManager;
- wxFileType *type = mgr->GetFileTypeFromExtension(fullpath.GetExt());
- if ( type ) {
- wxString cmd = type->GetOpenCommand(fullpath.GetFullPath());
- delete type;
-
- if ( cmd.IsEmpty() == false ) {
- wxExecute(cmd);
- return;
- }
- }
-
- // fallback code: suggest to the user to open the file with CL
- if (wxMessageBox(wxString::Format(wxT("Could not find default application for file '%s'\nWould you like CodeLite to open it?"), fullpath.GetFullName().c_str()), wxT("CodeLite"),
- wxICON_QUESTION|wxYES_NO) == wxYES) {
- DoOpenItem( item );
- }
- }
-}
-
-void FileExplorerTree::OnExpanded(wxTreeEvent &event)
-{
- wxTreeItemId item = event.GetItem();
- if (item.IsOk() && m_itemsAdded) { // check if new items need to be bolded
- if( TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_MARK_TAGS_FILES_IN_BOLD ){
- std::vector<wxFileName> files;
- TagsManagerST::Get()->GetFiles(GetFullPath(item).GetFullPath(), files);
- DoTagsUpdated(files, true);
- }
- m_itemsAdded = false;
- }
-}
-
-void FileExplorerTree::OnAddedItems(const wxTreeItemId &parent)
-{
- m_itemsAdded = true;
-}
-
-void FileExplorerTree::OnTagsUpdated(wxCommandEvent &e)
-{
- std::vector<wxFileName> *files = (std::vector<wxFileName>*)e.GetClientData();
- if(TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_MARK_TAGS_FILES_IN_BOLD){
- DoTagsUpdated(*files, e.GetInt() ? true : false);
- }
-}
-
-// Mark files (and their directories) bold in file explorer
-// Intended to highlight files that contribute tags.
-void FileExplorerTree::DoTagsUpdated(const std::vector<wxFileName>& files, bool bold)
-{
- // we use this map as a queue of nodes to check, where nodes are guaranteed to be sorted
- // by full pathname, and no duplicates will occur
- std::map<wxString, std::pair<wxTreeItemId, bool> > nodes;
-
- // insert the list of files in the map
- for (unsigned i = 0; i < files.size(); i++) {
- wxTreeItemId id = GetItemByFullPath(files[i], false);
- if (id.IsOk())
- // note: use GetFullPath(id) to get the path, rather than files[i], in case
- // the returned node is an ancestor dir of the file (this happens when the file
- // explorer tree is not fully expanded, which is most of the time).
- nodes[GetFullPath(id).GetFullPath()] = std::make_pair(id, bold);
- }
- if (nodes.empty())
- return;
-
- Freeze();
- // now we process the queue. first, note we traverse the map in reverse. this way we
- // always process all children of a node before we process the node itself. the 'bold'
- // flag of a given directory is just the logical-or of all the bold flags of its children
- // but we want to compute this lazily.
- for (std::map<wxString, std::pair<wxTreeItemId, bool> >::reverse_iterator n = nodes.rbegin();
- n != nodes.rend(); n++) {
- wxTreeItemId id = n->second.first;
- bold = n->second.second;
- if (!bold && IsDirNode(id)) {
- // need to make sure no other child of directory is still bold before we can clear it
- wxTreeItemIdValue cookie = 0;
- for (wxTreeItemId ch = GetFirstChild(id, cookie); ch.IsOk(); ch = GetNextChild(id, cookie))
- if (IsBold(ch)) {
- bold = true;
- break;
- }
- }
- if (IsBold(id) == bold) {
- // this node's bold flag is still the same, so we can short-circuit the upward propagation
- // from this node.
- continue;
- }
- // update the node's flag, and propagate upwards.
- SetItemBold(id, bold);
- id = GetItemParent(id);
- if (id.IsOk()) {
- wxString path = GetFullPath(id).GetFullPath();
- // here's the logical-or part, at least for the paths that we are explicitly processing:
- nodes.insert(std::make_pair(path, std::make_pair(id, false))).first->second.second |= bold;
- }
- }
- Thaw();
-}
diff --git a/LiteEditor/fileexplorertree.h b/LiteEditor/fileexplorertree.h
deleted file mode 100644
index 48569323..00000000
--- a/LiteEditor/fileexplorertree.h
+++ /dev/null
@@ -1,71 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : fileexplorertree.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef FILEEXPLORERTREE_H
-#define FILEEXPLORERTREE_H
-
-#include "virtualdirtreectrl.h"
-#include "imanager.h"
-
-class wxMenu;
-
-class FileExplorerTree : public wxVirtualDirTreeCtrl
-{
- wxMenu *m_rclickMenu;
- bool m_itemsAdded; // flags new items when node expanded, so we can call DoTagsUpdated()
-
-private:
- void DoOpenItem(const wxTreeItemId& item);
- void DoOpenItemInTextEditor(const wxTreeItemId& item);
- void DoItemActivated(const wxTreeItemId &item);
-
- void OnTagsUpdated(wxCommandEvent &e);
- void DoTagsUpdated(const std::vector<wxFileName>& files, bool bold);
-
-public:
- FileExplorerTree(wxWindow *parent, wxWindowID id = wxID_ANY);
- virtual ~FileExplorerTree();
- TreeItemInfo GetSelectedItemInfo();
-
-protected:
- DECLARE_EVENT_TABLE()
- virtual void OnContextMenu(wxTreeEvent &event);
- virtual void OnItemActivated(wxTreeEvent &event);
- virtual void OnOpenFile(wxCommandEvent &event);
- virtual void OnOpenFileInTextEditor(wxCommandEvent &event);
- virtual void OnRefreshNode(wxCommandEvent &event);
- virtual void OnDeleteNode(wxCommandEvent &event);
- virtual void OnSearchNode(wxCommandEvent &event);
- virtual void OnTagNode(wxCommandEvent &event);
- virtual void OnMouseDblClick( wxMouseEvent &event );
- virtual void OnKeyDown( wxTreeEvent &event );
- virtual void OnOpenShell(wxCommandEvent &event);
- virtual void OnOpenWidthDefaultApp(wxCommandEvent &e);
- virtual void OnExpanded(wxTreeEvent &event);
- virtual void OnAddedItems(const wxTreeItemId &parent);
-};
-
-#endif //FILEEXPLORERTREE_H
-
-
diff --git a/LiteEditor/filehistory.cpp b/LiteEditor/filehistory.cpp
deleted file mode 100644
index eafc31e6..00000000
--- a/LiteEditor/filehistory.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : filehistory.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "filehistory.h"
-
-FileHistory::FileHistory()
-{
-}
-
-/**
- * \brief
- */
-FileHistory::~FileHistory()
-{
-}
-
-void FileHistory::GetFiles(wxArrayString &files)
-{
- for(size_t i=0; i<GetCount(); i++)
- {
- files.Add(m_fileHistory[i]);
- }
-}
diff --git a/LiteEditor/filehistory.h b/LiteEditor/filehistory.h
deleted file mode 100644
index 7e545ed0..00000000
--- a/LiteEditor/filehistory.h
+++ /dev/null
@@ -1,42 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : filehistory.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef FILE_HISTORY_H
-#define FILE_HISTORY_H
-
-#include "wx/docview.h"
-
-class FileHistory : public wxFileHistory
-{
-public:
- FileHistory();
- virtual ~FileHistory();
-
- /**
- * \brief
- * \param files
- */
- void GetFiles(wxArrayString &files);
-};
-#endif //FILE_HISTORY_H
diff --git a/LiteEditor/fileview.cpp b/LiteEditor/fileview.cpp
deleted file mode 100644
index e68e1eab..00000000
--- a/LiteEditor/fileview.cpp
+++ /dev/null
@@ -1,1858 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : fileview.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/tokenzr.h>
-#include "build_settings_config.h"
-#include "environmentconfig.h"
-#include "evnvarlist.h"
-#include "pluginmanager.h"
-#include "workspacesettingsdlg.h"
-#include "importfilesdialog.h"
-#include "fileview.h"
-#include "frame.h"
-#include "nameanddescdlg.h"
-#include "globals.h"
-#include "manager.h"
-#include "tree.h"
-#include <wx/xrc/xmlres.h>
-#include "wx/imaglist.h"
-#include <wx/textdlg.h>
-#include <deque>
-#include "new_item_dlg.h"
-#include "project_settings_dlg.h"
-#include "depends_dlg.h"
-#include "buildmanager.h"
-#include "macros.h"
-#include "pluginmanager.h"
-#include "dirtraverser.h"
-#include "ctags_manager.h"
-#include <wx/progdlg.h>
-#include "editor_config.h"
-#include "yestoalldlg.h"
-#include "editorsettingslocal.h"
-#include "localworkspace.h"
-
-
-IMPLEMENT_DYNAMIC_CLASS(FileViewTree, wxTreeCtrl)
-
-static const wxString gsCustomTargetsMenu(wxT("Custom Build Targets"));
-
-BEGIN_EVENT_TABLE( FileViewTree, wxTreeCtrl )
- EVT_TREE_BEGIN_DRAG( wxID_ANY, FileViewTree::OnItemBeginDrag )
- EVT_TREE_END_DRAG( wxID_ANY, FileViewTree::OnItemEndDrag )
-END_EVENT_TABLE()
-FileViewTree::FileViewTree()
-{
-}
-
-void FileViewTree::ConnectEvents()
-{
- Connect( XRCID( "local_workspace_prefs" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnLocalPrefs ), NULL, this );
- Connect( XRCID( "local_workspace_settings" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnLocalWorkspaceSettings ), NULL, this );
-
- Connect( XRCID( "remove_project" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnRemoveProject ), NULL, this );
- Connect( XRCID( "set_as_active" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnSetActive ), NULL, this );
- Connect( XRCID( "new_item" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnNewItem ), NULL, this );
- Connect( XRCID( "add_existing_item" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnAddExistingItem ), NULL, this );
- Connect( XRCID( "new_virtual_folder" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnNewVirtualFolder ), NULL, this );
- Connect( XRCID( "remove_virtual_folder" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnRemoveVirtualFolder ), NULL, this );
- Connect( XRCID( "local_project_prefs" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnLocalPrefs ), NULL, this );
- Connect( XRCID( "project_properties" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnProjectProperties ), NULL, this );
- Connect( XRCID( "sort_item" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnSortItem ), NULL, this );
- Connect( XRCID( "remove_item" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnRemoveItem ), NULL, this );
- Connect( XRCID( "export_makefile" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnExportMakefile ), NULL, this );
- Connect( XRCID( "save_as_template" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnSaveAsTemplate ), NULL, this );
- Connect( XRCID( "build_order" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnBuildOrder ), NULL, this );
- Connect( XRCID( "clean_project" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnClean ), NULL, this );
- Connect( XRCID( "build_project" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnBuild ), NULL, this );
- Connect( XRCID( "rebuild_project" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnReBuild ), NULL, this );
- Connect( XRCID( "generate_makefile" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnRunPremakeStep ), NULL, this );
- Connect( XRCID( "stop_build" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnStopBuild ), NULL, this );
- Connect( XRCID( "retag_project" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnRetagProject ), NULL, this );
- Connect( XRCID( "build_project_only" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnBuildProjectOnly ), NULL, this );
- Connect( XRCID( "clean_project_only" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnCleanProjectOnly ), NULL, this );
- Connect( XRCID( "rebuild_project_only" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnRebuildProjectOnly), NULL, this );
- Connect( XRCID( "import_directory" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnImportDirectory ), NULL, this );
- Connect( XRCID( "compile_item" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnCompileItem ), NULL, this );
- Connect( XRCID( "preprocess_item" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnPreprocessItem ), NULL, this );
- Connect( XRCID( "rename_item" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnRenameItem ), NULL, this );
- Connect( XRCID( "rename_virtual_folder" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( FileViewTree::OnRenameVirtualFolder ), NULL, this );
-
- Connect( XRCID( "remove_project" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "set_as_active" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "new_item" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "add_existing_item" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "new_virtual_folder" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "remove_virtual_folder" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "project_properties" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "sort_item" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "remove_item" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "export_makefile" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "save_as_template" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "build_order" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "clean_project" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "build_project" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "rebuild_project" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "retag_project" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "retag_workspace" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "build_project_only" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "clean_project_only" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "rebuild_project_only" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "import_directory" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "compile_item" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "preprocess_item" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "rename_item" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "generate_makefile" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
- Connect( XRCID( "local_workspace_settings" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FileViewTree::OnBuildInProgress ), NULL, this );
-}
-
-void FileViewTree::OnBuildInProgress( wxUpdateUIEvent &event )
-{
- event.Enable( !ManagerST::Get()->IsBuildInProgress() );
-}
-
-FileViewTree::FileViewTree( wxWindow *parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style )
-{
- Create( parent, id, pos, size, style );
-
- // Initialise images map
- wxImageList *images = new wxImageList( 16, 16, true );
- images->Add( wxXmlResource::Get()->LoadBitmap( wxT( "project" ) ) ); //0
- images->Add( wxXmlResource::Get()->LoadBitmap( wxT( "folder" ) ) ); //1
- images->Add( wxXmlResource::Get()->LoadBitmap( wxT( "page_white_c" ) ) ); //2
- images->Add( wxXmlResource::Get()->LoadBitmap( wxT( "page_white_cplusplus" ) ) ); //3
- images->Add( wxXmlResource::Get()->LoadBitmap( wxT( "page_white_h" ) ) ); //4
- images->Add( wxXmlResource::Get()->LoadBitmap( wxT( "page_white_text" ) ) ); //5
- images->Add( wxXmlResource::Get()->LoadBitmap( wxT( "workspace" ) ) ); //6
- images->Add( wxXmlResource::Get()->LoadBitmap( wxT( "formbuilder" ) ) ); //7
- AssignImageList( images );
-
- Connect( GetId(), wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, wxTreeEventHandler( FileViewTree::OnPopupMenu ) );
- Connect( GetId(), wxEVT_LEFT_DCLICK, wxMouseEventHandler( FileViewTree::OnMouseDblClick ) );
- Connect( GetId(), wxEVT_COMMAND_TREE_KEY_DOWN, wxTreeEventHandler( FileViewTree::OnItemActivated ) );
-}
-
-FileViewTree::~FileViewTree()
-{
- delete m_folderMenu;
- delete m_projectMenu;
- delete m_fileMenu;
- delete m_workspaceMenu;
-}
-
-void FileViewTree::Create( wxWindow *parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style )
-{
- bool multi (false);
- long val (0);
- if(EditorConfigST::Get()->GetLongValue(wxT("WspTreeMultipleSelection"), val) == false) {val = 0;}
- val ? multi = true : multi = false;
-
-#ifndef __WXGTK__
- style |= ( wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT );
-#else
- style |= ( wxTR_HAS_BUTTONS );
-#endif
- if (multi) style |= wxTR_MULTIPLE;
-
- wxTreeCtrl::Create( parent, id, pos, size, style );
-
- BuildTree();
-
- // Load the popup menu
- m_folderMenu = wxXmlResource::Get()->LoadMenu( wxT( "file_tree_folder" ) );
- m_projectMenu = wxXmlResource::Get()->LoadMenu( wxT( "file_tree_project" ) );
- m_fileMenu = wxXmlResource::Get()->LoadMenu( wxT( "file_tree_file" ) );
- m_workspaceMenu = wxXmlResource::Get()->LoadMenu( wxT( "workspace_popup_menu" ) );
- ConnectEvents();
-}
-
-void FileViewTree::BuildTree()
-{
- bool multi (false);
- long val (0);
- if(EditorConfigST::Get()->GetLongValue(wxT("WspTreeMultipleSelection"), val) == false) {val = 0;}
- val ? multi = true : multi = false;
-
- DeleteAllItems();
- long flags = GetWindowStyle();
- if ( multi ) {
- SetWindowStyle( flags | wxTR_MULTIPLE );
- } else {
- SetWindowStyle( flags & ~(wxTR_MULTIPLE) );
- }
- m_itemsToSort.clear();
-
-
- if ( ManagerST::Get()->IsWorkspaceOpen() ) {
- // Add an invisible tree root
- ProjectItem data;
- data.m_displayName = WorkspaceST::Get()->GetName();
- data.m_kind = ProjectItem::TypeWorkspace;
-
- wxTreeItemId root = AddRoot( data.m_displayName, 6, -1, new FilewViewTreeItemData( data ) );
- m_itemsToSort[root.m_pItem] = true;
-
- wxArrayString list;
- ManagerST::Get()->GetProjectList( list );
-
- Freeze();
- for ( size_t n=0; n<list.GetCount(); n++ ) {
- BuildProjectNode( list.Item( n ) );
- }
-
- SortTree();
- Thaw();
-
- //set selection to first item
- SelectItem( root, HasFlag(wxTR_MULTIPLE) ? false : true );
- }
-}
-
-void FileViewTree::SortItem(wxTreeItemId &item)
-{
- if (item.IsOk() && ItemHasChildren(item)) {
- SortChildren(item);
- }
-}
-
-void FileViewTree::SortTree()
-{
- //sort the tree
- std::map<void*, bool>::const_iterator iter = m_itemsToSort.begin();
- for (; iter != m_itemsToSort.end(); iter ++) {
- wxTreeItemId item = iter->first;
- SortItem(item);
- }
- m_itemsToSort.clear();
-}
-
-wxTreeItemId FileViewTree::GetSingleSelection()
-{
-#if wxVERSION_NUMBER > 2900
- return GetFocusedItem();
-#else
- if ( HasFlag(wxTR_MULTIPLE) ) {
- wxTreeItemId invalid;
- wxArrayTreeItemIds arr;
- size_t count = GetMultiSelection( arr );
- return (count > 0) ? arr.Item(0) : invalid;
-
- } else {
- // Single selection tree
- return GetSelection();
- }
-#endif
-}
-
-int FileViewTree::GetIconIndex( const ProjectItem &item )
-{
- int icondIndex( 5 );
- switch ( item.GetKind() ) {
- case ProjectItem::TypeProject:
- icondIndex = 0;
- break;
- case ProjectItem::TypeVirtualDirectory:
- icondIndex = 1; // Folder
- break;
- case ProjectItem::TypeFile: {
- wxFileName filename( item.GetFile() );
- if ( filename.GetExt().CmpNoCase( wxT( "cpp" ) ) == 0 ) {
- icondIndex = 3;
- } else if ( filename.GetExt().CmpNoCase( wxT( "cxx" ) ) == 0 ) {
- icondIndex = 3;
- } else if ( filename.GetExt().CmpNoCase( wxT( "c++" ) ) == 0 ) {
- icondIndex = 3;
- } else if ( filename.GetExt().CmpNoCase( wxT( "cc" ) ) == 0 ) {
- icondIndex = 3;
- } else if ( filename.GetExt().CmpNoCase( wxT( "c" ) ) == 0 ) {
- icondIndex = 2;
- } else if ( filename.GetExt().CmpNoCase( wxT( "h" ) ) == 0 ) {
- icondIndex = 4;
- } else if ( filename.GetExt().CmpNoCase( wxT( "hpp" ) ) == 0 ) {
- icondIndex = 4;
- } else if ( filename.GetExt().CmpNoCase(wxT("fbp")) == 0) {
- icondIndex = 7;
- } else {
- icondIndex = 5;
- }
- break;
- }
- default:
- icondIndex = 5; // Text file
- break;
- }
- return icondIndex;
-}
-
-void FileViewTree::BuildProjectNode( const wxString &projectName )
-{
- wxString err_msg;
- ProjectPtr prj = WorkspaceST::Get()->FindProjectByName ( projectName, err_msg );
- ProjectTreePtr tree = prj->AsTree();
- TreeWalker<wxString, ProjectItem> walker( tree->GetRoot() );
-
- std::map<wxString, wxTreeItemId> items;
- for ( ; !walker.End(); walker++ ) {
- // Add the item to the tree
- ProjectTreeNode* node = walker.GetNode();
- wxTreeItemId parentHti;
- if ( node->IsRoot() ) {
- parentHti = GetRootItem();
- } else {
- wxString parentKey = node->GetParent()->GetKey();
- if ( items.find( parentKey ) == items.end() )
- continue;
- parentHti = items.find( parentKey )->second;
- }
-
- wxTreeItemId hti = AppendItem( parentHti, // parent
- node->GetData().GetDisplayName(), // display name
- GetIconIndex( node->GetData() ), // item image index
- GetIconIndex( node->GetData() ), // selected item image
- new FilewViewTreeItemData( node->GetData() ) );
- m_itemsToSort[parentHti.m_pItem] = true;
-
- // Set active project with bold
- wxString activeProjectName = ManagerST::Get()->GetActiveProjectName();
- wxString displayName = node->GetData().GetDisplayName();
-
- if ( parentHti == GetRootItem() && displayName == activeProjectName) {
- SetItemBold( hti );
- }
-
- items[node->GetKey()] = hti;
- }
-}
-
-//-----------------------------------------------
-// Event handlers
-//-----------------------------------------------
-
-void FileViewTree::PopupContextMenu( wxMenu *menu, MenuType type, const wxString &projectName )
-{
- std::vector<wxMenuItem*> dynItems;
- wxMenuItem *item(NULL);
- std::map<wxString, wxString> targets;
-
- if ( type == MenuTypeFileView_Project ) {
-
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf && bldConf->IsCustomBuild()) {
- wxString toolName = bldConf->GetToolName();
- if (toolName != wxT("None")) {
- //add the custom execution command
- item = new wxMenuItem(menu, wxID_SEPARATOR);
- menu->Prepend(item);
- dynItems.push_back(item);
-
- wxString menu_text(wxT("Run ") + toolName);
-
- item = new wxMenuItem(menu, XRCID("generate_makefile"), menu_text, wxEmptyString, wxITEM_NORMAL);
- menu->Prepend(item);
- dynItems.push_back(item);
- }
-
- // append the custom build targets
- targets = bldConf->GetCustomTargets();
- if (targets.empty() == false) {
- wxMenu *customTargetsMenu = new wxMenu();
-
- // get list of custom targets, and create menu entry for each target
- std::map<wxString, wxString>::iterator iter = targets.begin();
- for (; iter != targets.end(); iter++) {
- item = new wxMenuItem(customTargetsMenu, wxXmlResource::GetXRCID(iter->first.c_str()), iter->first, wxEmptyString, wxITEM_NORMAL);
- customTargetsMenu->Append(item);
- Frame::Get()->Connect(wxXmlResource::GetXRCID(iter->first.c_str()), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(Frame::OnBuildCustomTarget));
- }
-
- // iterator over the menu items and search for 'Project Only' target
- // this is the position that we want to place our custom targets menu
- wxMenuItemList items = menu->GetMenuItems();
- wxMenuItemList::iterator liter = items.begin();
- size_t position(0);
- for (; liter != items.end(); liter++) {
- wxMenuItem *mi = *liter;
- if (mi->GetId() == XRCID("project_only")) {
- break;
- }
- position++;
- }
- menu->Insert(position, XRCID("custom_targets"), gsCustomTargetsMenu, customTargetsMenu);
- }
- }
- }
-
- if (ManagerST::Get()->IsBuildInProgress() == false) {
- PluginManager::Get()->HookPopupMenu( menu, type );
- }
-
- PopupMenu( menu );
-
- if (ManagerST::Get()->IsBuildInProgress() == false) {
- //let the plugins remove their hooked content
- PluginManager::Get()->UnHookPopupMenu( menu, type );
- }
-
- //remove the custom makefile hooked menu items
- for (size_t i=0; i<dynItems.size(); i++) {
- menu->Destroy(dynItems.at(i));
- }
-
- // remove the dynamic menus added by the 'Custom Targets'
- int customTargetsID = menu->FindItem(gsCustomTargetsMenu);
- if (customTargetsID != wxNOT_FOUND) {
- menu->Destroy(customTargetsID);
-
- // disconnect events
- std::map<wxString, wxString>::iterator iter = targets.begin();
- for (; iter != targets.end(); iter++) {
- Frame::Get()->Disconnect(wxXmlResource::GetXRCID(iter->first.c_str()), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(Frame::OnBuildCustomTarget));
- }
- }
-}
-
-void FileViewTree::OnPopupMenu( wxTreeEvent &event )
-{
- if ( event.GetItem().IsOk() ) {
- if ( IsSelected(event.GetItem()) == false ) {
- // Don't call SelectItem() if it's already selected: in <wx2.9 it toggles!
- SelectItem(event.GetItem());
- }
- wxTreeItemId item = event.GetItem();
-
- if ( item.IsOk() ) {
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
- switch ( data->GetData().GetKind() ) {
- case ProjectItem::TypeProject:
- PopupContextMenu( m_projectMenu, MenuTypeFileView_Project, data->GetData().GetDisplayName() );
- break;
- case ProjectItem::TypeVirtualDirectory:
- PopupContextMenu( m_folderMenu, MenuTypeFileView_Folder );
- break;
- case ProjectItem::TypeFile:
- PopupContextMenu( m_fileMenu, MenuTypeFileView_File );
- break;
- case ProjectItem::TypeWorkspace:
- PopupContextMenu( m_workspaceMenu, MenuTypeFileView_Workspace );
- break;
- default:
- break;
- }
- }
- }
-}
-
-TreeItemInfo FileViewTree::GetSelectedItemInfo()
-{
- wxTreeItemId item = GetSingleSelection();
- TreeItemInfo info;
- info.m_item = item;
- if ( item.IsOk() ) {
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
-
- //set the text of the item
- info.m_text = GetItemText( item );
- info.m_itemType = data->GetData().GetKind();
- info.m_fileName = data->GetData().GetFile();
- if (info.m_itemType == ProjectItem::TypeVirtualDirectory) {
- //incase of virtual directories, set the file name to be the directory of
- //the project
- wxString path = GetItemPath(item);
- wxString project = path.BeforeFirst(wxT(':'));
- info.m_fileName = wxFileName(ManagerST::Get()->GetProjectCwd(project), wxEmptyString);
- }
- }
- return info;
-}
-
-void FileViewTree::OnMouseDblClick( wxMouseEvent &event )
-{
- wxArrayTreeItemIds items;
- size_t num = GetMultiSelection( items );
- if ( num <= 0 ) {
- event.Skip();
- return;
- }
-
- // Make sure the double click was done on an actual item
- int flags = wxTREE_HITTEST_ONITEMLABEL;
- for ( size_t i=0; i<num; i++ ) {
- if ( HitTest( event.GetPosition(), flags ) == items.Item( i ) ) {
- wxTreeItemId item = items.Item( i );
- DoItemActivated( item, event );
- return;
- }
- }
- event.Skip();
-}
-
-void FileViewTree::DoItemActivated( wxTreeItemId &item, wxEvent &event )
-{
- //-----------------------------------------------------
- // Each tree items, keeps a private user data that
- // holds the key for searching the its corresponding
- // node in the m_tree data structure
- //-----------------------------------------------------
- if ( item.IsOk() == false )
- return;
- FilewViewTreeItemData* itemData = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
- if ( !itemData ) {
- event.Skip();
- return;
- }
-
- //if file item was hit, open it
- if ( itemData->GetData().GetKind() == ProjectItem::TypeFile ) {
-
- wxString filename = itemData->GetData().GetFile();
- wxString project = itemData->GetData().Key().BeforeFirst( wxT( ':' ) );
-
- // Convert the file name to be in absolute path
- wxFileName fn( filename );
- fn.MakeAbsolute( ManagerST::Get()->GetProjectCwd( project ) );
-
- // send event to the plugins to see if they want the file opening in another way
- wxString file_path = fn.GetFullPath();
- if (SendCmdEvent(wxEVT_TREE_ITEM_FILE_ACTIVATED, &file_path)) {
- return;
- }
- Frame::Get()->GetMainBook()->OpenFile( fn.GetFullPath(), project, -1 );
-
- } else if ( itemData->GetData().GetKind() == ProjectItem::TypeProject ) {
- // make it active
- DoSetProjectActive(item);
- } else {
- event.Skip();
- }
-}
-
-void FileViewTree::OnExportMakefile( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString projectName, errMsg;
- BuilderPtr builder = BuildManagerST::Get()->GetSelectedBuilder(); // use current builder
- projectName = GetItemText( item );
- if ( !builder->Export( projectName, wxEmptyString, false, true, errMsg ) ) {
- wxMessageBox( errMsg, wxT( "CodeLite" ), wxICON_HAND );
- return;
- }
- }
-}
-
-void FileViewTree::OnRemoveProject( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
- if ( data->GetData().GetKind() == ProjectItem::TypeProject ) {
- DoRemoveProject( data->GetData().GetDisplayName() );
- }
- }
-}
-
-void FileViewTree::OnSortItem( wxCommandEvent &WXUNUSED( event ) )
-{
- wxTreeItemId item = GetSingleSelection();
- SortItem(item);
-}
-
-bool FileViewTree::AddFilesToVirtualFolder(const wxString& vdFullPath, wxArrayString& paths)
-{
- wxArrayString actualAdded;
- ManagerST::Get()->AddFilesToProject( paths, vdFullPath, actualAdded );
-
- // locate the item
- wxTreeItemId item = ItemByFullPath(vdFullPath);
- if (item.IsOk()) {
- for ( size_t i=0; i<actualAdded.Count(); i++ ) {
-
- // Add the tree node
- wxFileName fnFileName( actualAdded.Item( i ) );
- wxString path( vdFullPath );
- path += wxT( ":" );
- path += fnFileName.GetFullName();
- ProjectItem projItem( path, fnFileName.GetFullName(), fnFileName.GetFullPath(), ProjectItem::TypeFile );
-
- wxTreeItemId hti = AppendItem( item, // parent
- projItem.GetDisplayName(), // display name
- GetIconIndex( projItem ), // item image index
- GetIconIndex( projItem ), // selected item image
- new FilewViewTreeItemData( projItem ) );
- wxUnusedVar( hti );
- }
-
- SortItem(item);
- Expand( item );
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
- return true;
- }
- return false;
-}
-
-bool FileViewTree::AddFilesToVirtualFolderIntelligently(const wxString& vdFullPath, wxArrayString& paths)
-{
- // Note: This is only used atm to place a pair of cpp/h files, so I'm not checking paths.
- // If you use the function for anything else in the future...
-
- // The files passed in 'paths' may be a .cpp and an .h. See if there's a :src and :include folder to put them in
- wxString srcname, includename;
- size_t basenamelen = vdFullPath.rfind(wxT(":src"));
- if (basenamelen == wxString::npos) {
- basenamelen = vdFullPath.rfind(wxT(":include"));
- if (basenamelen == wxString::npos) {
- // The selected folder name ends neither in :src nor in :include, so we can't be intelligent this time
- return false;
- }
- }
- // OK, the selected folder is suitable; but check there's a matching pair
- wxString basename = vdFullPath.Left(basenamelen);
- srcname = basename + wxT(":src");
- includename = basename + wxT(":include");
- wxTreeItemId srcitem = ItemByFullPath(srcname);
- wxTreeItemId includeitem = ItemByFullPath(includename);
- if (!srcitem.IsOk() || !includeitem.IsOk()) {
- return false;
- }
- // We're winning. Now it's just a matter of putting the cpp file into :src, etc
- wxArrayString cppfiles, hfiles;
- for (int c = (int)paths.GetCount()-1; c >= 0 ; --c) {
- wxString file = paths.Item(c);
- if (file.Right(4) == wxT(".cpp")) {
- cppfiles.Add(file);
- paths.RemoveAt(c);
- } else if (file.Right(2) == wxT(".h")) {
- hfiles.Add(file);
- paths.RemoveAt(c);
- }
- }
- // Finally do the Adds
- AddFilesToVirtualFolder(srcname, cppfiles);
- AddFilesToVirtualFolder(includename, hfiles);
- // There shouldn't have been any other files passed; but if there were, add them to the selected folder
- if (paths.GetCount()) {
- AddFilesToVirtualFolder(vdFullPath, paths);
- }
-
- return true;
-}
-
-bool FileViewTree::AddFilesToVirtualFolder(wxTreeItemId &item, wxArrayString &paths)
-{
- if (item.IsOk() == false)
- return false;
-
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
- switch ( data->GetData().GetKind() ) {
- case ProjectItem::TypeVirtualDirectory:
- //OK
- break;
- default:
- return false;
- }
-
- wxArrayString actualAdded;
- wxString vdPath = GetItemPath( item );
- wxString project;
- project = vdPath.BeforeFirst( wxT( ':' ) );
- ManagerST::Get()->AddFilesToProject( paths, vdPath, actualAdded );
- for ( size_t i=0; i<actualAdded.Count(); i++ ) {
-
- // Add the tree node
- wxFileName fnFileName( actualAdded.Item( i ) );
- wxString path( vdPath );
- path += wxT( ":" );
- path += fnFileName.GetFullName();
- ProjectItem projItem( path, fnFileName.GetFullName(), fnFileName.GetFullPath(), ProjectItem::TypeFile );
-
- wxTreeItemId hti = AppendItem( item, // parent
- projItem.GetDisplayName(), // display name
- GetIconIndex( projItem ), // item image index
- GetIconIndex( projItem ), // selected item image
- new FilewViewTreeItemData( projItem ) );
- wxUnusedVar( hti );
- }
-
- SortItem(item);
- Expand( item );
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
- return true;
-}
-
-void FileViewTree::OnAddExistingItem( wxCommandEvent & WXUNUSED( event ) )
-{
- static wxString start_path(wxEmptyString);
-
- wxTreeItemId item = GetSingleSelection();
- if ( !item.IsOk() ) {
- return;
- }
- const wxString ALL( wxT("All Files (*)|*|")
- wxT( "C/C++ Source Files (*.c;*.cpp;*.cxx;*.cc)|*.c;*.cpp;*.cxx;*.cc|" )
- wxT( "C/C++ Header Files (*.h;*.hpp;*.hxx;*.hh;*.inl;*.inc)|*.h;*.hpp;*.hxx;*.hh;*.inl;*.inc" ) );
- wxString vdPath = GetItemPath( item );
- wxString project;
- project = vdPath.BeforeFirst( wxT( ':' ) );
-
- wxArrayString paths;
- ProjectPtr proj = ManagerST::Get()->GetProject( project );
- if (start_path.IsEmpty()) {
- start_path = proj->GetFileName().GetPath();
- }
-
- wxFileDialog *dlg = new wxFileDialog( this, wxT( "Add Existing Item" ), start_path, wxEmptyString, ALL, wxFD_MULTIPLE | wxFD_OPEN | wxFD_FILE_MUST_EXIST , wxDefaultPosition );
- if ( dlg->ShowModal() == wxID_OK ) {
- dlg->GetPaths( paths );
-
- if (paths.IsEmpty() == false) {
- // keep the last used path
- wxFileName fn(paths.Item(0));
- start_path = fn.GetPath();
- }
- AddFilesToVirtualFolder(item, paths);
- }
- dlg->Destroy();
- // this event is already sent by AddFilesToVirtualFolder() -> AddFilesToProject()
- //SendCmdEvent(wxEVT_PROJ_FILE_ADDED, (void*)&paths);
-}
-
-void FileViewTree::OnNewItem( wxCommandEvent & WXUNUSED( event ) )
-{
- wxTreeItemId item = GetSingleSelection();
- if ( !item.IsOk() ) {
- return;
- }
-
- wxString path = GetItemPath( item );
-
- // Project name
- wxString projName = path.BeforeFirst( wxT( ':' ) );
- wxString projCwd = ManagerST::Get()->GetProjectCwd( projName );
-
- NewItemDlg dlg(Frame::Get(), projCwd);
- dlg.SetTitle(_("New Item"));
- if ( dlg.ShowModal() == wxID_OK ) {
- DoAddNewItem(item, dlg.GetFileName().GetFullPath(), path);
- }
-}
-
-void FileViewTree::OnSetActive( wxCommandEvent & WXUNUSED( event ) )
-{
- wxTreeItemId item = GetSingleSelection();
- DoSetProjectActive( item );
-}
-
-void FileViewTree::DoSetProjectActive( wxTreeItemId &item )
-{
- if ( item.IsOk() ) {
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
- if ( data->GetData().GetKind() == ProjectItem::TypeProject ) {
-
- wxString curActiveProj = ManagerST::Get()->GetActiveProjectName();
-
- // find previous active project and remove its bold style
- wxTreeItemIdValue cookie;
- wxTreeItemId child = GetFirstChild( GetRootItem(), cookie );
- while ( child.IsOk() ) {
- FilewViewTreeItemData *childData = static_cast<FilewViewTreeItemData*>( GetItemData( child ) );
- if ( childData && childData->GetData().GetDisplayName() == curActiveProj ) {
- SetItemBold( child, false );
- break;
- }
- child = GetNextChild( GetRootItem(), cookie );
- }
-
- ManagerST::Get()->SetActiveProject( data->GetData().GetDisplayName() );
- SetItemBold( item );
- }
- }
-
-}
-
-void FileViewTree::OnRemoveVirtualFolder( wxCommandEvent & WXUNUSED( event ) )
-{
- wxTreeItemId item = GetSingleSelection();
- DoRemoveVirtualFolder( item );
-}
-
-void FileViewTree::OnRemoveItem( wxCommandEvent &WXUNUSED( event ) )
-{
- DoRemoveItems();
-}
-
-void FileViewTree::DoRemoveItems()
-{
- wxArrayTreeItemIds items;
- size_t num = GetMultiSelection( items );
- if ( !num ) {
- return;
- }
-
- bool ApplyToEachFile = false;
-
- for ( size_t i=0; i<num; i++ ) {
- wxTreeItemId item = items.Item( i );
- wxString name = GetItemText( item );
-
- if( !item.IsOk() ) {
- continue;
- }
-
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
-
- if ( data ) {
- switch (data->GetData().GetKind()) {
- case ProjectItem::TypeFile: {
- int result = wxID_YES;
- if ( ApplyToEachFile==false ) {
- wxString message;
- message << wxT( "Are you sure you want remove '" ) << name << wxT( "' ?" );
- if (num > 1) {
- // For multiple selections, use a YesToAll dialog
- YesToAllDlg dlg(this, message);
- dlg.SetCheckboxText(wxString(wxT("Apply to all Files")));
- result = dlg.ShowModal();
- ApplyToEachFile = dlg.GetIsChecked();
- } else {
- result = wxMessageBox( message, wxT("Are you sure?"), wxYES_NO | wxICON_QUESTION, this );
- }
- }
- if ( result==wxID_CANCEL || (result==wxID_NO && ApplyToEachFile==true) ) {
- return; // Assume Cancel or No+ApplyToEachFile means for folders etc too, not just files
- }
- if ( result==wxID_YES || result==wxYES ) {
- wxTreeItemId parent = GetItemParent( item );
- if ( parent.IsOk() ) {
- wxString path = GetItemPath( parent );
- ManagerST::Get()->RemoveFile( data->GetData().GetFile(), path );
-
- wxString file_name(data->GetData().GetFile());
- Delete( item );
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
- }
- }
- }
- break;
- case ProjectItem::TypeVirtualDirectory:
- DoRemoveVirtualFolder(item);
- break;
- case ProjectItem::TypeProject:
- DoRemoveProject(name);
- break;
- default:
- break;
- }
-
-
- }
- }
-}
-
-void FileViewTree::DoRemoveVirtualFolder( wxTreeItemId &item )
-{
- wxString name = GetItemText( item );
- wxString message( wxT( "'" ) + name + wxT( "'" ) );
- message << wxT( " and all its content will be removed from the project." );
-
- if ( wxMessageBox( message, wxT( "CodeLite" ), wxYES_NO|wxICON_WARNING ) == wxYES ) {
- wxString path = GetItemPath( item );
- ManagerST::Get()->RemoveVirtualDirectory( path );
-
- DeleteChildren( item );
- Delete( item );
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
- }
-}
-
-void FileViewTree::OnNewVirtualFolder( wxCommandEvent & WXUNUSED( event ) )
-{
- static int count = 0;
- wxString defaultName( wxT( "NewDirectory" ) );
- defaultName << count++;
-
- wxTreeItemId item = GetSingleSelection();
-
- wxTextEntryDialog dlg( NULL, wxT( "Virtual Directory Name:" ), wxT( "New Virtual Directory" ), defaultName );
- dlg.Centre();
- if ( dlg.ShowModal() == wxID_OK && dlg.GetValue().Trim().IsEmpty() == false) {
- DoAddVirtualFolder( item, dlg.GetValue() );
- }
-}
-
-void FileViewTree::DoAddVirtualFolder( wxTreeItemId &parent, const wxString &text )
-{
- wxString path = GetItemPath(parent) + wxT(":") + text;
- ManagerST::Get()->AddVirtualDirectory(path);
-
- ProjectItem itemData(path, text, wxEmptyString, ProjectItem::TypeVirtualDirectory);
- AppendItem( parent, // parent
- itemData.GetDisplayName(), // display name
- GetIconIndex( itemData ), // item image index
- GetIconIndex( itemData ), // selected item image
- new FilewViewTreeItemData( itemData ) );
-
- SortItem( parent );
- Expand( parent );
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
-}
-
-wxString FileViewTree::GetItemPath( wxTreeItemId &item )
-{
- std::deque<wxString> queue;
- wxString text = GetItemText( item );
- queue.push_front( text );
-
- wxTreeItemId p = GetItemParent( item );
- while ( p.IsOk() && p != GetRootItem() ) {
-
- text = GetItemText( p );
- queue.push_front( text );
- p = GetItemParent( p );
- }
-
- wxString path;
- size_t count = queue.size();
- for ( size_t i=0; i<count; i++ ) {
- path += queue.front();
- path += wxT( ":" );
- queue.pop_front();
- }
-
- if ( !queue.empty() ) {
- path += queue.front();
- } else {
- path = path.BeforeLast( wxT( ':' ) );
- }
-
- return path;
-}
-
-void FileViewTree::OnLocalPrefs( wxCommandEvent& event )
-{
- if (!ManagerST::Get()->IsWorkspaceOpen()) {
- return; // Probably not possible, but...
- }
-
- wxXmlNode* lwsnode = LocalWorkspaceST::Get()->GetLocalWorkspaceOptionsNode();
- // Don't check lwsnode: it'll be NULL if there are currently no local workspace options
-
- // Start by getting the global settings
- OptionsConfigPtr higherOptions = EditorConfigST::Get()->GetOptions();
-
- // If we're setting workspace options, run the dialog and return
- if (event.GetId() == XRCID("local_workspace_prefs")) {
- EditorSettingsLocal dlg(higherOptions, lwsnode, pLevel_workspace, this);
- if (dlg.ShowModal() == wxID_OK &&
- LocalWorkspaceST::Get()->SetWorkspaceOptions(dlg.GetLocalOpts()) ) {
- Frame::Get()->GetMainBook()->ApplySettingsChanges();
- // Notify plugins that some settings have changed
- PostCmdEvent( wxEVT_EDITOR_SETTINGS_CHANGED );
- }
- return;
- }
-
- // Otherwise we're getting project prefs
- wxTreeItemId item = GetSingleSelection();
- if ( !item.IsOk() ) {
- return;
- }
-
- wxXmlNode* lpnode = LocalWorkspaceST::Get()->GetLocalProjectOptionsNode(GetItemText(item));
- // Don't check lpnode: it'll be NULL if there are currently no local project options
- // Merge any local workspace options with the global ones inside 'higherOptions'
- LocalOptionsConfig wsOC(higherOptions, lwsnode);
-
- EditorSettingsLocal dlg(higherOptions, lpnode, pLevel_project, this);
- if (dlg.ShowModal() == wxID_OK &&
- LocalWorkspaceST::Get()->SetProjectOptions(dlg.GetLocalOpts(), GetItemText(item)) ) {
- Frame::Get()->GetMainBook()->ApplySettingsChanges();
- // Notify plugins that some settings have changed
- PostCmdEvent( wxEVT_EDITOR_SETTINGS_CHANGED );
- }
- }
-
-void FileViewTree::OnProjectProperties( wxCommandEvent & WXUNUSED( event ) )
-{
- wxTreeItemId item = GetSingleSelection();
- if (!item.IsOk()) {
- return;
- }
-
- wxString projectName( GetItemText( item ) );
- wxString title( projectName );
- title << wxT( " Project Settings" );
-
- //open the project properties dialog
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- //find the project configuration name that matches the workspace selected configuration
- ProjectSettingsDlg *dlg = new ProjectSettingsDlg( Frame::Get(), matrix->GetProjectSelectedConf( matrix->GetSelectedConfigurationName(), projectName ),
- projectName,
- title );
- dlg->ShowModal();
-
- //mark this project as modified
- ProjectPtr proj = ManagerST::Get()->GetProject(projectName);
- if (proj) {
- proj->SetModified(true);
- }
-
- dlg->Destroy();
-}
-
-void FileViewTree::DoRemoveProject( const wxString &name )
-{
- wxString message ( wxT( "You are about to remove project '" ) );
- message << name << wxT( "' " );
- message << wxT( " from the workspace, click 'Yes' to proceed or 'No' to abort." );
- if ( wxMessageBox ( message, wxT( "Confirm" ), wxYES_NO ) == wxYES ) {
- ManagerST::Get()->RemoveProject( name );
- // SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED); -- sent by WorkspaceTab
- }
-}
-
-int FileViewTree::OnCompareItems(const wxTreeItemId& item1, const wxTreeItemId& item2)
-{
- // used for SortChildren, reroute to our sort routine
- FilewViewTreeItemData *a = (FilewViewTreeItemData *)GetItemData(item1),
- *b = (FilewViewTreeItemData *)GetItemData(item2);
- if (a && b)
- return OnCompareItems(a,b);
-
- return 0;
-}
-
-int FileViewTree::OnCompareItems(const FilewViewTreeItemData *a, const FilewViewTreeItemData *b)
-{
- // if dir and other is not, dir has preference
- if (a->GetData().GetKind() == ProjectItem::TypeVirtualDirectory &&
- b->GetData().GetKind() == ProjectItem::TypeFile)
- return -1;
- else if (b->GetData().GetKind() == ProjectItem::TypeVirtualDirectory &&
- a->GetData().GetKind() == ProjectItem::TypeFile)
- return 1;
-
- // else let ascii fight it out
- return a->GetData().GetDisplayName().CmpNoCase(b->GetData().GetDisplayName());
-}
-
-void FileViewTree::OnSaveAsTemplate( wxCommandEvent & WXUNUSED( event ) )
-{
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString name = GetItemText( item );
- ProjectPtr proj = ManagerST::Get()->GetProject( name );
- if ( proj ) {
- NameAndDescDlg dlg(Frame::Get(), PluginManager::Get(), name);
- if ( dlg.ShowModal() == wxID_OK ) {
- wxString newName = dlg.GetName();
- wxString desc = dlg.GetDescription();
- wxString type = dlg.GetType();
-
- newName = newName.Trim().Trim(false);
- desc = desc.Trim().Trim(false);
-
- if ( newName.IsEmpty() == false ) {
- wxString tmplateDir = ManagerST::Get()->GetStarupDirectory() + wxT ( "/templates/projects/" ) + newName + wxT ( "/" );
- Mkdir ( tmplateDir );
-
- Project newProj( *proj );
- newProj.SetProjectInternalType( type );
- newProj.CopyTo ( tmplateDir, newName, desc );
- }
- }
- }
- }
-}
-
-void FileViewTree::OnBuildOrder( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- DependenciesDlg dlg ( Frame::Get(), GetItemText( item ) );
- dlg.ShowModal();
- }
-}
-
-void FileViewTree::OnClean( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString projectName = GetItemText( item );
- wxString conf;
-
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- conf = bldConf->GetName();
- }
- QueueCommand buildInfo(projectName, conf, false, QueueCommand::Clean);
-
- if (bldConf && bldConf->IsCustomBuild()) {
- buildInfo.SetKind(QueueCommand::CustomBuild);
- buildInfo.SetCustomBuildTarget(wxT("Clean"));
- }
- ManagerST::Get()->PushQueueCommand(buildInfo);
- ManagerST::Get()->ProcessCommandQueue();
- }
-}
-
-void FileViewTree::OnBuild( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString projectName = GetItemText( item );
-
- wxString conf;
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- conf = bldConf->GetName();
- }
-
- QueueCommand buildInfo(projectName, conf, false, QueueCommand::Build);
- if (bldConf && bldConf->IsCustomBuild()) {
- buildInfo.SetKind(QueueCommand::CustomBuild);
- buildInfo.SetCustomBuildTarget(wxT("Build"));
- }
- ManagerST::Get()->PushQueueCommand(buildInfo);
- ManagerST::Get()->ProcessCommandQueue();
- }
-}
-
-void FileViewTree::OnCompileItem(wxCommandEvent &e)
-{
- wxUnusedVar( e );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
- if (data->GetData().GetKind() == ProjectItem::TypeFile) {
- Manager *mgr = ManagerST::Get();
- wxTreeItemId parent = GetItemParent( item );
- if ( parent.IsOk() ) {
- wxString logmsg;
- wxString path = GetItemPath( parent );
- wxString proj = path.BeforeFirst(wxT(':'));
- logmsg << wxT("Compiling file: ") << data->GetData().GetFile() << wxT(" of project ") << proj << wxT("\n");
- mgr->CompileFile(proj, data->GetData().GetFile());
- }
- }
- }
-}
-
-void FileViewTree::OnPreprocessItem(wxCommandEvent &e)
-{
- wxUnusedVar( e );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
- if (data->GetData().GetKind() == ProjectItem::TypeFile) {
- Manager *mgr = ManagerST::Get();
- wxTreeItemId parent = GetItemParent( item );
- if ( parent.IsOk() ) {
- wxString logmsg;
- wxString path = GetItemPath( parent );
- wxString proj = path.BeforeFirst(wxT(':'));
- logmsg << wxT("Preprocessing file: ") << data->GetData().GetFile() << wxT(" of project ") << proj << wxT("\n");
- mgr->CompileFile(proj, data->GetData().GetFile(), true);
- }
- }
- }
-}
-
-
-void FileViewTree::OnStopBuild( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- ManagerST::Get()->StopBuild();
-}
-
-void FileViewTree::OnItemActivated( wxTreeEvent &event )
-{
- if ( event.GetKeyCode() == WXK_RETURN ) {
- wxArrayTreeItemIds items;
- size_t num = GetMultiSelection( items );
- if ( num > 0 ) {
- for ( size_t i=0; i<num; i++ ) {
- wxTreeItemId item = items.Item( i );
- DoItemActivated( item, event );
- }
- }
- } else if (event.GetKeyCode() == WXK_DELETE || event.GetKeyCode() == WXK_NUMPAD_DELETE ) {
- DoRemoveItems();
- } else {
- event.Skip();
- }
-}
-
-size_t FileViewTree::GetMultiSelection( wxArrayTreeItemIds &arr )
-{
- if ( HasFlag(wxTR_MULTIPLE) ) {
- // we are using multiple selection tree
- return GetSelections( arr );
- } else {
- wxTreeItemId sel = GetSelection();
- if(sel.IsOk()) {
- arr.Add( sel );
- return 1;
- }
- arr.Clear();
- return 0;
- }
-}
-
-void FileViewTree::OnRetagProject( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString projectName = GetItemText( item );
- ManagerST::Get()->RetagProject( projectName, true );
- }
-}
-
-void FileViewTree::OnRetagWorkspace( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- ManagerST::Get()->RetagWorkspace(true);
-}
-
-void FileViewTree::OnItemBeginDrag( wxTreeEvent &event )
-{
- wxArrayTreeItemIds selections;
- size_t num = GetMultiSelection( selections );
-
- m_draggedItems.Clear();
- for (size_t n=0; n < num; ++n) {
- wxTreeItemId item = selections[n];
- if ( item.IsOk() && item != GetRootItem() ) {
- // If it's a file, add it to the array
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
- if ( data && data->GetData().GetKind() == ProjectItem::TypeFile ) {
- m_draggedItems.Add(item);
- }
- }
- }
-
- // Allow the event only if there were any valid selections
- if (m_draggedItems.GetCount() > 0) {
- event.Allow();
- }
-}
-
-void FileViewTree::OnItemEndDrag( wxTreeEvent &event )
-{
- wxTreeItemId itemDst = event.GetItem();
- if (!itemDst.IsOk()) {
- return;
- }
-
- wxString targetVD, fromVD;
- while ( true ) {
- if (!itemDst.IsOk()) {
- return;
- }
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( itemDst ) );
- if ( data && data->GetData().GetKind() == ProjectItem::TypeVirtualDirectory ) {
- break; // Found a vd, so break out of the while loop
- }
- // We're only allowed to drag items between virtual folders, so find the parent folder
- itemDst = GetItemParent( itemDst );
- }
-
- wxTreeItemId target = itemDst;
- if ( target.IsOk() ) {
- targetVD = GetItemPath( target );
- } else {
- return;
- }
-
- for (size_t n=0; n < m_draggedItems.GetCount(); ++n) {
- wxTreeItemId itemSrc = m_draggedItems.Item(n);
- wxTreeItemId fromItem = GetItemParent( itemSrc );
- if ( fromItem.IsOk() ) {
- fromVD = GetItemPath( fromItem );
- } else {
- continue;
- }
-
- if ( fromVD == targetVD ) {
- // Not much point dropping onto the same virtual dir
- continue;
- }
-
- //the file name to remove
- FilewViewTreeItemData *srcData = static_cast<FilewViewTreeItemData*>( GetItemData( itemSrc ) );
-
- // no tree-item-data? skip this one
- if ( !srcData ) continue;
-
- wxString filename = srcData->GetData().GetFile();
-
- ProjectItem itemData = srcData->GetData();
-
- //call the manager to remove them in the underlying project
- if ( ManagerST::Get()->MoveFileToVD( filename, fromVD, targetVD ) ) {
- //remove the item from its current node, and place it under the
- //new parent node
- AppendItem( target, // parent
- itemData.GetDisplayName(), // display name
- GetIconIndex( itemData ), // item image index
- GetIconIndex( itemData ), // selected item image
- new FilewViewTreeItemData( itemData ) );
- Delete( itemSrc );
- Expand( target );
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
- }
- }
-}
-
-void FileViewTree::OnBuildProjectOnly( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString projectName = GetItemText( item );
-
- wxString conf;
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- conf = bldConf->GetName();
- }
-
- QueueCommand info(projectName, conf, true, QueueCommand::Build);
- if (bldConf && bldConf->IsCustomBuild()) {
- info.SetKind(QueueCommand::CustomBuild);
- info.SetCustomBuildTarget(wxT("Build"));
- }
- ManagerST::Get()->PushQueueCommand( info );
- ManagerST::Get()->ProcessCommandQueue();
- }
-}
-
-void FileViewTree::OnCleanProjectOnly( wxCommandEvent &event )
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString projectName = GetItemText( item );
-
- wxString conf;
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- conf = bldConf->GetName();
- }
-
- QueueCommand info(projectName, conf, true, QueueCommand::Clean);
- if (bldConf && bldConf->IsCustomBuild()) {
- info.SetKind(QueueCommand::CustomBuild);
- info.SetCustomBuildTarget(wxT("Clean"));
- }
-
- ManagerST::Get()->PushQueueCommand(info);
- ManagerST::Get()->ProcessCommandQueue();
- }
-}
-
-void FileViewTree::ExpandToPath(const wxString &project, const wxFileName &fileName)
-{
- wxTreeItemId root = GetRootItem();
- if (!root.IsOk())
- return;
-
- wxTreeItemIdValue cookie;
- for (wxTreeItemId child = GetFirstChild(root, cookie); child.IsOk(); child = GetNextChild(root, cookie)) {
- FilewViewTreeItemData *childData = static_cast<FilewViewTreeItemData*>( GetItemData( child ) );
- if (childData->GetData().GetDisplayName() == project) {
- wxTreeItemId fileItem = fileName.GetName().IsEmpty() ? child : FindItemByPath(child, ManagerST::Get()->GetProjectCwd( project ), fileName.GetFullPath());
- if (fileItem.IsOk()) {
- // Now we're using a wxTR_MULTIPLE tree, we need to unselect here, otherwise all project files get selected
- // And,no, SelectItem(fileItem, false) isn't the answer: in 2.8 it toggles (a wx bug) and the 'selected' tab ends up unselected
- if ( HasFlag( wxTR_MULTIPLE ) ) {
- UnselectAll();
- }
-
- SelectItem(fileItem);
-
- if ( IsVisible( fileItem ) == false ) {
- EnsureVisible( fileItem );
- }
- } else {
- wxString message;
- message << wxT("Failed to find file: ") << fileName.GetFullPath() << wxT(" in FileView.");
- wxLogMessage(message);
- }
- break;
- }
- }
-
-}
-
-wxTreeItemId FileViewTree::FindItemByPath(wxTreeItemId &parent, const wxString &projectPath, const wxString &fileName)
-{
- if (!parent.IsOk())
- return wxTreeItemId();
-
- if (!ItemHasChildren(parent))
- return wxTreeItemId();
-
- wxTreeItemIdValue cookie;
- wxTreeItemId child = GetFirstChild(parent, cookie);
- while (child.IsOk()) {
- FilewViewTreeItemData *childData = static_cast<FilewViewTreeItemData*>( GetItemData( child ) );
- wxFileName fn(childData->GetData().GetFile());
- fn.MakeAbsolute( projectPath );
- if (fn.GetFullPath().CmpNoCase(fileName) == 0) {
- return child;
- }
-
- if (ItemHasChildren(child)) {
- wxTreeItemId res = FindItemByPath(child, projectPath, fileName);
- if (res.IsOk()) {
- return res;
- }
- }
- child = GetNextChild(parent, cookie);
- }
- return wxTreeItemId();
-}
-
-wxTreeItemId FileViewTree::ItemByFullPath(const wxString &fullPath)
-{
- if (!ItemHasChildren(GetRootItem()))
- return wxTreeItemId();
-
- wxTreeItemId parent = GetRootItem();
- wxArrayString texts = wxStringTokenize(fullPath, wxT(":"), wxTOKEN_STRTOK);
- for (size_t i=0; i<texts.GetCount(); i++) {
- parent = DoGetItemByText(parent, texts.Item(i));
- if (parent.IsOk() == false) {
- return wxTreeItemId();
- }
- }
- return parent;
-}
-
-
-void FileViewTree::OnImportDirectory(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- wxTreeItemId item = GetSingleSelection();
- if ( !item.IsOk() ) {
- return;
- }
-
- wxString vdPath = GetItemPath( item );
- wxString project;
- project = vdPath.BeforeFirst(wxT(':'));
- ProjectPtr proj = ManagerST::Get()->GetProject( project );
-
- bool extlessFiles(false);
- wxArrayString dirs;
- wxArrayString files;
- wxArrayString all_files;
- wxString filespec;
- ImportFilesDialog dlg(Frame::Get());
-
- if(dlg.ShowModal() != wxID_OK) {
- return;
- }
-
- extlessFiles = dlg.ExtlessFiles();
- dlg.GetDirectories( dirs );
- filespec = dlg.GetFileMask();
-
- wxDir::GetAllFiles(dlg.GetBaseDir(), &all_files);
-
- wxStringTokenizer tok(filespec, wxT(";"));
- std::set<wxString> specMap;
- while ( tok.HasMoreTokens() ) {
- wxString v = tok.GetNextToken().AfterLast(wxT('*'));
- v = v.AfterLast(wxT('.')).MakeLower();
- specMap.insert( v );
- }
-
- //filter non interesting files
- for (size_t i=0; i<all_files.GetCount(); i++) {
- wxFileName fn(all_files.Item(i));
-
- if (dirs.Index(fn.GetPath()) == wxNOT_FOUND) {
- continue;
- }
-
- /* always excluded by default */
- wxString filepath = fn.GetPath();
- if( filepath.Contains(wxT(".svn")) || filepath.Contains(wxT(".cvs")) ||
- filepath.Contains(wxT(".arch-ids")) || filepath.Contains(wxT("arch-inventory")) ||
- filepath.Contains(wxT("autom4te.cache")) || filepath.Contains(wxT("BitKeeper")) ||
- filepath.Contains(wxT(".bzr")) || filepath.Contains(wxT(".bzrignore")) ||
- filepath.Contains(wxT("CVS")) || filepath.Contains(wxT(".cvsignore")) ||
- filepath.Contains(wxT("_darcs")) || filepath.Contains(wxT(".deps")) ||
- filepath.Contains(wxT("EIFGEN")) || filepath.Contains(wxT(".git")) ||
- filepath.Contains(wxT(".hg")) || filepath.Contains(wxT("PENDING")) ||
- filepath.Contains(wxT("RCS")) || filepath.Contains(wxT("RESYNC")) ||
- filepath.Contains(wxT("SCCS")) || filepath.Contains(wxT("{arch}")))
- {
- continue;
- }
-
- if ( specMap.empty() ) {
- files.Add(all_files.Item(i));
- } else if (fn.GetExt().IsEmpty() & extlessFiles) {
- files.Add(all_files.Item(i));
- } else if (specMap.find(fn.GetExt().MakeLower()) != specMap.end()) {
- files.Add(all_files.Item(i));
- }
- }
-
- wxString path = dlg.GetBaseDir();
- //{ Fixe bug 2847625
- if (path.EndsWith(wxT("/")) || path.EndsWith(wxT("\\"))) {
- path.RemoveLast();
- }//} Fixe bug 2847625
-
- wxFileName rootPath(path);
-
- // loop over the files and construct for each file a record with
- // the following information:
- // -virtual directory (full path, starting from project level)
- // -display name
- // -full path of the file
- proj->BeginTranscation();
- {
- // Create a progress dialog
- wxProgressDialog *prgDlg = new wxProgressDialog (wxT("Importing files ..."), wxT("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"), (int)files.GetCount(), NULL, wxPD_APP_MODAL | wxPD_SMOOTH | wxPD_AUTO_HIDE);
- prgDlg->GetSizer()->Fit(prgDlg);
- prgDlg->Layout();
- prgDlg->Centre();
-
- // get list of files
- std::vector<wxFileName> vExistingFiles;
- wxArrayString existingFiles;
-
- proj->GetFiles(vExistingFiles, true);
- for (size_t i=0; i<vExistingFiles.size(); i++) {
- existingFiles.Add(vExistingFiles.at(i).GetFullPath());
- }
-
- for (size_t i=0; i<files.GetCount(); i++) {
- wxFileName fn(files.Item(i));
-
- // if the file already exist, skip it
- if (existingFiles.Index(fn.GetFullPath()) != wxNOT_FOUND) {
- continue;
- }
-
- FileViewItem fvitem;
- fvitem.fullpath = fn.GetFullPath();
- fvitem.displayName = fn.GetFullName();
-
- fn.MakeRelativeTo(path);
-
- wxString relativePath = fn.GetPath();
- relativePath.Replace(wxT("/"), wxT(":"));
- relativePath.Replace(wxT("\\"), wxT(":"));
-
- if (relativePath.IsEmpty()) {
- //the file is probably under the root, add it under
- //a virtual directory with the name of the target
- //root folder
- relativePath = rootPath.GetName();
- }
- relativePath.Append(wxT(":"));
-
- fvitem.virtualDir = relativePath;
- DoAddItem(proj, fvitem);
-
- wxString msg;
- msg << wxT("Adding file: ") << fn.GetFullPath();
- prgDlg->Update((int)i, msg);
- }
- m_itemsToSort.clear();
- prgDlg->Destroy();
- }
-
- //save the project file to disk
- proj->CommitTranscation();
-
- // reload the project
- wxString curr_proj_name ( proj->GetName() );
- bool was_active ( ManagerST::Get()->GetActiveProjectName() == curr_proj_name );
- ManagerST::Get()->RemoveProject( proj->GetName() );
- ManagerST::Get()->AddProject(proj->GetFileName().GetFullPath());
-
- // restore the active project
- if ( was_active ) {
- MarkActive( curr_proj_name );
- }
-}
-
-void FileViewTree::DoAddItem(ProjectPtr proj, const FileViewItem &item)
-{
- if (!proj) {
- return;
- }
-
- // first add the virtual directory, if it already exist,
- // this function does nothing
- proj->CreateVirtualDir(item.virtualDir, true);
-
- // add the file.
- // For performance reasons, we dont go through the Workspace API
- // but directly through the project API
- proj->FastAddFile(item.fullpath, item.virtualDir);
-}
-
-void FileViewTree::OnRunPremakeStep(wxCommandEvent &event)
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString projectName = GetItemText( item );
- ManagerST::Get()->RunCustomPreMakeCommand( projectName );
- }
-}
-
-void FileViewTree::OnRenameItem(wxCommandEvent& e)
-{
- wxUnusedVar( e );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- FilewViewTreeItemData *data = static_cast<FilewViewTreeItemData*>( GetItemData( item ) );
- if (data->GetData().GetKind() == ProjectItem::TypeFile) {
- wxTreeItemId parent = GetItemParent( item );
- if ( parent.IsOk() ) {
-
- wxString path = GetItemPath( parent );
- wxString proj = path.BeforeFirst(wxT(':'));
-
- ProjectPtr p = ManagerST::Get()->GetProject(proj);
- if ( p ) {
- // prompt user for new name
- wxString newName = wxGetTextFromUser(wxT("New file name:"), wxT("Rename file:"), GetItemText(item));
- if ( newName.IsEmpty() == false ) {
-
- wxFileName tmp(data->GetData().GetFile());
- tmp.SetFullName(newName);
-
- if (tmp.FileExists()) {
- wxMessageBox(_("A File with that name already exists!"), wxT("CodeLite"), wxICON_WARNING|wxOK);
- return;
- }
-
- // rename the file (this will erase it from the symbol database and will
- // also close the editor that it is currently opened in (if any))
- if (ManagerST::Get()->RenameFile(data->GetData().GetFile(), tmp.GetFullPath(), path)) {
- // update the item's info
- data->SetDisplayName(tmp.GetFullName());
- data->SetFile(tmp.GetFullPath());
-
- // rename the tree item
- SetItemText(item, tmp.GetFullName());
-
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
- }
- }
- } // p
- }// parent.IsOk()
- }//TypeFile
- }//item.IsOk()
-}
-
-void FileViewTree::OnRenameVirtualFolder(wxCommandEvent& e)
-{
- wxUnusedVar( e );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- // got the item, prompt user for new name
- wxString newName = wxGetTextFromUser(wxT("New virtual folder name:"), wxT("Rename virtual folder:"), GetItemText(item));
- if (newName.IsEmpty() || newName == GetItemText(item)) {
- // user clicked cancel
- return;
- }
-
- // locate the project
- wxString path = GetItemPath( item );
- wxString proj = path.BeforeFirst(wxT(':'));
-
- path = path.AfterFirst(wxT(':'));
- ProjectPtr p = ManagerST::Get()->GetProject(proj);
- if (!p) {
- wxLogMessage(wxT("failed to rename virtual folder: ") + path + wxT(", reason: could not locate project ") + proj);
- return;
- }
-
- if (!p->RenameVirtualDirectory(path, newName)) {
- wxLogMessage(wxT("failed to rename virtual folder: ") + path);
- return;
- }
- SetItemText(item, newName);
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
- }
-}
-
-void FileViewTree::OnReBuild(wxCommandEvent& event)
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString projectName = GetItemText( item );
- Frame::Get()->RebuildProject( projectName );
- }
-}
-
-wxTreeItemId FileViewTree::DoGetItemByText(const wxTreeItemId& parent, const wxString &text)
-{
- if (!parent.IsOk()) {
- return wxTreeItemId();
- }
-
- if (!ItemHasChildren(parent)) {
- return wxTreeItemId();
- }
-
- wxTreeItemIdValue cookie;
- wxTreeItemId child = GetFirstChild(parent, cookie);
- while (child.IsOk()) {
- if (GetItemText(child) == text) {
- return child;
- }
- child = GetNextChild(parent, cookie);
- }
- return wxTreeItemId();
-}
-
-bool FileViewTree::CreateVirtualDirectory(const wxString& parentPath, const wxString& vdName)
-{
- // try to locate that VD first, if it exists, do nothing
- wxTreeItemId item = ItemByFullPath(wxString::Format(wxT("%s:%s"), parentPath.c_str(), vdName.c_str()));
- if (item.IsOk()) {
- return true;
- }
-
- item = ItemByFullPath(parentPath);
- if (item.IsOk()) {
- DoAddVirtualFolder(item, vdName);
- return true;
- }
- return false;
-}
-
-void FileViewTree::MarkActive(const wxString& projectName)
-{
- // find previous active project and remove its bold style
- wxTreeItemIdValue cookie;
- wxTreeItemId child = GetFirstChild( GetRootItem(), cookie );
- while ( child.IsOk() ) {
- FilewViewTreeItemData *childData = static_cast<FilewViewTreeItemData*>( GetItemData( child ) );
- if ( childData->GetData().GetDisplayName() == projectName ) {
- DoSetProjectActive(child);
- break;
- }
- child = GetNextChild( GetRootItem(), cookie );
- }
-}
-
-bool FileViewTree::CreateAndAddFile(const wxString& filename, const wxString& vdFullPath)
-{
- wxTreeItemId item = ItemByFullPath(vdFullPath);
- return DoAddNewItem(item, filename, vdFullPath);
-}
-
-bool FileViewTree::DoAddNewItem(wxTreeItemId& item, const wxString& filename, const wxString& vdFullpath)
-{
- if (item.IsOk() == false) {
- return false;
- }
-
- ManagerST::Get()->AddNewFileToProject( filename, vdFullpath );
-
- // Add the tree node
- wxFileName fnFileName( filename );
- wxString path (vdFullpath);
-
- path += wxT( ":" );
- path += fnFileName.GetFullName();
- ProjectItem projItem( path, fnFileName.GetFullName(), fnFileName.GetFullPath(), ProjectItem::TypeFile );
-
- wxTreeItemId hti = AppendItem( item, // parent
- projItem.GetDisplayName(), // display name
- GetIconIndex( projItem ), // item image index
- GetIconIndex( projItem ), // selected item image
- new FilewViewTreeItemData( projItem ) );
- wxUnusedVar( hti );
- SortItem(item);
- Expand( item );
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
- return true;
-}
-
-void FileViewTree::OnRebuildProjectOnly(wxCommandEvent& event)
-{
- wxUnusedVar( event );
- wxTreeItemId item = GetSingleSelection();
- if ( item.IsOk() ) {
- wxString projectName = GetItemText( item );
-
- wxString conf;
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- conf = bldConf->GetName();
- }
-
- QueueCommand info(projectName, conf, true, QueueCommand::ReBuild);
- if (bldConf && bldConf->IsCustomBuild()) {
- info.SetKind(QueueCommand::CustomBuild);
- info.SetCustomBuildTarget(wxT("Rebuild"));
- }
-
- ManagerST::Get()->PushQueueCommand(info);
- ManagerST::Get()->ProcessCommandQueue();
- }
-}
-
-void FileViewTree::OnLocalWorkspaceSettings(wxCommandEvent& e)
-{
- bool retagRequires;
- WorkspaceSettingsDlg dlg(Frame::Get(), LocalWorkspaceST::Get());
- if(dlg.ShowModal() == wxID_OK) {
-
- Frame::Get()->SetEnvStatusMessage();
- // Update the new paths
- retagRequires = ManagerST::Get()->UpdateParserPaths();
-
- // send notification to the main frame to perform retag
- if ( retagRequires ) {
- wxCommandEvent event( wxEVT_COMMAND_MENU_SELECTED, XRCID("retag_workspace") );
- Frame::Get()->GetEventHandler()->AddPendingEvent( event );
- }
- }
-}
diff --git a/LiteEditor/fileview.h b/LiteEditor/fileview.h
deleted file mode 100644
index 6747af99..00000000
--- a/LiteEditor/fileview.h
+++ /dev/null
@@ -1,190 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : fileview.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef FILE_VIEW_TREE_H
-#define FILE_VIEW_TREE_H
-
-#include "wx/treectrl.h"
-#include "project.h"
-#include "pluginmanager.h"
-#include "imanager.h"
-#include "map"
-
-class wxMenu;
-
-struct FileViewItem {
- wxString virtualDir;
- wxString fullpath;
- wxString displayName;
-};
-
-class FileViewTree : public wxTreeCtrl
-{
- DECLARE_DYNAMIC_CLASS()
- wxMenu *m_folderMenu;
- wxMenu *m_projectMenu;
- wxMenu *m_fileMenu;
- wxMenu *m_workspaceMenu;
-
- std::map<void*, bool> m_itemsToSort;
- wxArrayTreeItemIds m_draggedItems;
-
-public:
- /**
- * Default cosntructor.
- */
- FileViewTree();
-
- /**
- * Parameterized constructor.
- * @param parent Tree parent window
- * @param id Window id
- * @param pos Window position
- * @param size Window size
- * @param style Window style
- */
- FileViewTree(wxWindow *parent, const wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);
-
- /**
- * Destructor .
- */
- virtual ~FileViewTree(void);
-
- /**
- * Create tree, usually called after constructing FileViewTree with default constructor.
- * @param parent Tree parent window
- * @param id Window id
- * @param pos Window position
- * @param size Window size
- * @param style Window style
- */
- virtual void Create(wxWindow *parent, const wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);
-
- // Build the actual tree from the workspace
- void BuildTree();
-
- /**
- * @brief mark project with given name as active project
- * @param projectName
- */
- void MarkActive(const wxString &projectName);
-
- /**
- * @brief return the current selected item information
- */
- TreeItemInfo GetSelectedItemInfo();
-
- /**
- * Make sure that fileName under project is visible
- * @param &project
- * @param &fileName
- */
- void ExpandToPath(const wxString &project, const wxFileName &fileName);
-
- /**
- * @brief create and add file to the tree
- * @param filename new file full path
- * @param vdFullPath files' virtual folder full path (format-> project:path:to:vd)
- */
- bool CreateAndAddFile(const wxString &filename, const wxString &vdFullPath);
-
- bool AddFilesToVirtualFolder(wxTreeItemId &item, wxArrayString &paths);
- bool AddFilesToVirtualFolder(const wxString &vdFullPath, wxArrayString &paths);
- bool AddFilesToVirtualFolderIntelligently(const wxString& vdFullPath, wxArrayString& paths);
-
- bool CreateVirtualDirectory(const wxString &parentPath, const wxString &vdName);
-
-protected:
- virtual void OnPopupMenu(wxTreeEvent &event);
- virtual void OnItemActivated(wxTreeEvent &event);
- virtual void OnMouseDblClick(wxMouseEvent &event);
- virtual void OnRemoveProject(wxCommandEvent &event);
- virtual void OnSetActive(wxCommandEvent &event);
- virtual void OnNewItem(wxCommandEvent &event);
- virtual void OnAddExistingItem(wxCommandEvent &event);
- virtual void OnNewVirtualFolder(wxCommandEvent &event);
- virtual void OnLocalPrefs(wxCommandEvent &event);
- virtual void OnProjectProperties(wxCommandEvent &event);
- virtual void OnSortItem(wxCommandEvent &event);
- virtual void OnRemoveVirtualFolder(wxCommandEvent &event);
- virtual void OnRemoveItem(wxCommandEvent &event);
- virtual void OnExportMakefile(wxCommandEvent &event);
- virtual void OnSaveAsTemplate(wxCommandEvent &event);
- virtual void OnBuildOrder(wxCommandEvent &event);
- virtual void OnClean(wxCommandEvent &event);
- virtual void OnBuild(wxCommandEvent &event);
- virtual void OnReBuild(wxCommandEvent &event);
- virtual void OnRunPremakeStep(wxCommandEvent &event);
- virtual void OnBuildProjectOnly(wxCommandEvent &event);
- virtual void OnCleanProjectOnly(wxCommandEvent &event);
- virtual void OnRebuildProjectOnly(wxCommandEvent &event);
- virtual void OnStopBuild(wxCommandEvent &event);
- virtual void OnRetagProject(wxCommandEvent &event);
- virtual void OnRetagWorkspace(wxCommandEvent &event);
- virtual void OnBuildInProgress(wxUpdateUIEvent &event);
- virtual void OnItemBeginDrag(wxTreeEvent &event);
- virtual void OnItemEndDrag(wxTreeEvent &event);
- virtual void OnImportDirectory(wxCommandEvent &e);
- virtual void OnRenameItem(wxCommandEvent &e);
- virtual void OnCompileItem(wxCommandEvent &e);
- virtual void OnPreprocessItem(wxCommandEvent &e);
- virtual void SortTree();
- virtual void SortItem(wxTreeItemId &item);
- virtual void OnRenameVirtualFolder(wxCommandEvent &e);
- virtual wxTreeItemId ItemByFullPath(const wxString &fullPath);
- virtual void OnLocalWorkspaceSettings(wxCommandEvent &e);
-
-
-
- // Tree sorting
- virtual int OnCompareItems(const wxTreeItemId& item1, const wxTreeItemId& item2);
- int OnCompareItems(const FilewViewTreeItemData *a, const FilewViewTreeItemData *b);
-
- void PopupContextMenu(wxMenu *menu, MenuType type, const wxString &projectName = wxEmptyString);
-
-private:
- // Build project node
- void BuildProjectNode(const wxString &projectName);
- int GetIconIndex(const ProjectItem &item);
- void ConnectEvents();
- wxString GetItemPath(wxTreeItemId &item);
-
- bool DoAddNewItem(wxTreeItemId &item, const wxString &filename, const wxString &vdFullpath);
- void DoRemoveProject(const wxString &name);
- void DoSetProjectActive(wxTreeItemId &item);
- void DoAddVirtualFolder(wxTreeItemId &parent, const wxString &text);
- void DoRemoveVirtualFolder(wxTreeItemId &parent);
- void DoRemoveItems();
- void DoItemActivated(wxTreeItemId &item, wxEvent &event);
- void DoAddItem(ProjectPtr proj, const FileViewItem &item);
- wxTreeItemId DoGetItemByText(const wxTreeItemId &parent, const wxString &text);
-
- wxTreeItemId GetSingleSelection();
- size_t GetMultiSelection(wxArrayTreeItemIds &arr);
- wxTreeItemId FindItemByPath(wxTreeItemId &parent, const wxString &projectPath, const wxString &fileName);
- DECLARE_EVENT_TABLE();
-};
-
-#endif // FILE_VIEW_TREE_H
-
diff --git a/LiteEditor/findinfilesdlg.cpp b/LiteEditor/findinfilesdlg.cpp
deleted file mode 100644
index f92469f0..00000000
--- a/LiteEditor/findinfilesdlg.cpp
+++ /dev/null
@@ -1,369 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : findinfilesdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "search_thread.h"
-#include "dirpicker.h"
-#include "manager.h"
-#include "frame.h"
-#include "macros.h"
-#include "findinfilesdlg.h"
-#include "findresultstab.h"
-#include "replaceinfilespanel.h"
-
-FindInFilesDialog::FindInFilesDialog(wxWindow* parent, wxWindowID id, const FindReplaceData& data)
- : FindInFilesDialogBase(parent, id)
- , m_data(data)
-{
- // DirPicker values
- wxArrayString choices;
- choices.Add(SEARCH_IN_PROJECT);
- choices.Add(SEARCH_IN_WORKSPACE);
- choices.Add(SEARCH_IN_CURR_FILE_PROJECT);
- for (size_t i = 0; i < m_data.GetSearchPaths().GetCount(); ++i) {
- choices.Add(m_data.GetSearchPaths().Item(i));
- }
- m_dirPicker->SetValues(choices, 1);
-
- // Search for
- m_findString->Clear();
- m_findString->Append(m_data.GetFindStringArr());
- m_findString->SetValue(m_data.GetFindString());
-
- m_fileTypes->SetSelection(0);
-
- Connect(wxEVT_CHAR_HOOK, wxCharEventHandler(FindInFilesDialog::OnCharEvent));
-
- m_matchCase->SetValue(m_data.GetFlags() & wxFRD_MATCHCASE);
- m_matchWholeWord->SetValue(m_data.GetFlags() & wxFRD_MATCHWHOLEWORD);
- m_regualrExpression->SetValue(m_data.GetFlags() & wxFRD_REGULAREXPRESSION);
- m_fontEncoding->SetValue(m_data.GetFlags() & wxFRD_USEFONTENCODING);
- m_printScope->SetValue(m_data.GetFlags() & wxFRD_DISPLAYSCOPE);
- m_checkBoxSaveFilesBeforeSearching->SetValue(m_data.GetFlags() & wxFRD_SAVE_BEFORE_SEARCH);
-
- GetSizer()->Fit(this);
- //GetSizer()->SetMinSize(wxSize(600, 300));
- //GetSizer()->SetSizeHints(this);
-
- Centre();
-}
-
-FindInFilesDialog::~FindInFilesDialog()
-{
-}
-
-void FindInFilesDialog::SetSearchData(const SearchData &data)
-{
- m_data.SetFindString(data.GetFindString());
-
- size_t flags = 0;
- flags |= data.IsMatchCase() ? wxFRD_MATCHCASE : 0;
- flags |= data.IsMatchWholeWord() ? wxFRD_MATCHWHOLEWORD : 0;
- flags |= data.IsRegularExpression() ? wxFRD_REGULAREXPRESSION : 0;
- flags |= data.UseEditorFontConfig() ? wxFRD_USEFONTENCODING : 0;
- flags |= data.GetDisplayScope() ? wxFRD_DISPLAYSCOPE : 0;
- m_data.SetFlags(flags);
-
- m_findString->SetValue(data.GetFindString());
- m_matchCase->SetValue(data.IsMatchCase());
- m_matchWholeWord->SetValue(data.IsMatchWholeWord());
- m_regualrExpression->SetValue(data.IsRegularExpression());
- m_fontEncoding->SetValue(data.UseEditorFontConfig());
- m_printScope->SetValue(data.GetDisplayScope());
- m_fileTypes->SetValue(data.GetExtensions());
-
- m_listPaths->Clear();
- const wxArrayString& rootDirs = data.GetRootDirs();
- for (size_t i = 0; i < rootDirs.Count(); ++i) {
- m_listPaths->Append(rootDirs.Item(i));
- }
- if (rootDirs.IsEmpty() == false) {
- m_dirPicker->SetPath(rootDirs.Item(0));
- }
-}
-
-void FindInFilesDialog::SetRootDir(const wxString &rootDir)
-{
- m_dirPicker->SetPath(rootDir);
-}
-
-void FindInFilesDialog::DoSearchReplace()
-{
- SearchData data = DoGetSearchData();
- data.SetOwner(Frame::Get()->GetOutputPane()->GetReplaceResultsTab());
-
- DoSaveOpenFiles();
- SearchThreadST::Get()->PerformSearch(data);
-
- DoSaveSearchPaths();
- Hide();
-}
-
-void FindInFilesDialog::DoSearch()
-{
- SearchData data = DoGetSearchData();
- data.SetOwner(Frame::Get()->GetOutputPane()->GetFindResultsTab());
-
- // check to see if we require to save the files
- DoSaveOpenFiles();
- SearchThreadST::Get()->PerformSearch(data);
-
- DoSaveSearchPaths();
- Hide();
-}
-
-SearchData FindInFilesDialog::DoGetSearchData()
-{
- SearchData data;
- wxString findStr(m_data.GetFindString());
- if (m_findString->GetValue().IsEmpty() == false) {
- findStr = m_findString->GetValue();
- }
-
- data.SetFindString(findStr);
- data.SetMatchCase( (m_data.GetFlags() & wxFRD_MATCHCASE) != 0);
- data.SetMatchWholeWord((m_data.GetFlags() & wxFRD_MATCHWHOLEWORD) != 0);
- data.SetRegularExpression((m_data.GetFlags() & wxFRD_REGULAREXPRESSION) != 0);
- data.SetUseEditorFontConfig((m_data.GetFlags() & wxFRD_USEFONTENCODING) != 0);
- data.SetDisplayScope((m_data.GetFlags() & wxFRD_DISPLAYSCOPE) != 0);
-
- wxArrayString rootDirs;
- for (size_t i = 0; i < m_listPaths->GetCount(); ++i) {
- rootDirs.push_back(m_listPaths->GetString(i));
- }
- if (rootDirs.IsEmpty()) {
- wxString dir = m_dirPicker->GetPath();
- if (dir.IsEmpty() == false) {
- rootDirs.push_back(dir);
- }
- }
- data.SetRootDirs(rootDirs);
-
- wxArrayString files;
- for (size_t i = 0; i < rootDirs.GetCount(); ++i) {
- const wxString& rootDir = rootDirs.Item(i);
- if (rootDir == SEARCH_IN_WORKSPACE) {
-
- ManagerST::Get()->GetWorkspaceFiles(files);
-
- } else if (rootDir == SEARCH_IN_PROJECT) {
-
- ManagerST::Get()->GetProjectFiles(ManagerST::Get()->GetActiveProjectName(), files);
-
- } else if (rootDir == SEARCH_IN_CURR_FILE_PROJECT) {
-
- wxString project = ManagerST::Get()->GetActiveProjectName();
-
- if (Frame::Get()->GetMainBook()->GetActiveEditor()) {
- // use the active file's project
- wxFileName activeFile = Frame::Get()->GetMainBook()->GetActiveEditor()->GetFileName();
- project = ManagerST::Get()->GetProjectNameByFile(activeFile.GetFullPath());
- }
- ManagerST::Get()->GetProjectFiles(project, files);
- }
- }
- data.SetFiles(files);
-
- data.UseNewTab(m_resInNewTab->GetValue());
- data.SetExtensions(m_fileTypes->GetValue());
- return data;
-}
-
-void FindInFilesDialog::OnClick(wxCommandEvent &event)
-{
- wxObject *btnClicked = event.GetEventObject();
- size_t flags = m_data.GetFlags();
-
- wxString findWhat = m_findString->GetValue();
- findWhat = findWhat.Trim().Trim(false);
-
- m_data.SetFindString( m_findString->GetValue() );
-
- if (btnClicked == m_stop) {
- SearchThreadST::Get()->StopSearch();
-
- } else if (btnClicked == m_find) {
- if ( findWhat.IsEmpty() ) {
- return;
- }
- DoSearch();
-
- } else if (btnClicked == m_replaceAll) {
- if ( findWhat.IsEmpty() ) {
- return;
- }
- DoSearchReplace();
-
- } else if (btnClicked == m_cancel) {
- // Hide the dialog
- DoSaveSearchPaths();
- Hide();
-
- } else if (btnClicked == m_matchCase) {
- if (m_matchCase->IsChecked()) {
- flags |= wxFRD_MATCHCASE;
- } else {
- flags &= ~(wxFRD_MATCHCASE);
- }
- } else if (btnClicked == m_matchWholeWord) {
- if (m_matchWholeWord->IsChecked()) {
- flags |= wxFRD_MATCHWHOLEWORD;
- } else {
- flags &= ~(wxFRD_MATCHWHOLEWORD);
- }
- } else if (btnClicked == m_regualrExpression) {
- if (m_regualrExpression->IsChecked()) {
- flags |= wxFRD_REGULAREXPRESSION;
- } else {
- flags &= ~(wxFRD_REGULAREXPRESSION);
- }
- } else if (btnClicked == m_fontEncoding) {
- if (m_fontEncoding->IsChecked()) {
- flags |= wxFRD_USEFONTENCODING;
- } else {
- flags &= ~(wxFRD_USEFONTENCODING);
- }
- } else if (btnClicked == m_printScope) {
- if (m_printScope->IsChecked()) {
- flags |= wxFRD_DISPLAYSCOPE;
- } else {
- flags &= ~(wxFRD_DISPLAYSCOPE);
- }
- } else if (btnClicked == m_checkBoxSaveFilesBeforeSearching) {
- if (m_checkBoxSaveFilesBeforeSearching->IsChecked()) {
- flags |= wxFRD_SAVE_BEFORE_SEARCH;
- } else {
- flags &= ~(wxFRD_SAVE_BEFORE_SEARCH);
- }
- }
-
- // Set the updated flags
- m_data.SetFlags(flags);
-}
-
-void FindInFilesDialog::OnClose(wxCloseEvent &e)
-{
- wxUnusedVar(e);
- DoSaveSearchPaths();
- Hide();
-}
-
-void FindInFilesDialog::OnCharEvent(wxKeyEvent &event)
-{
- if (event.GetKeyCode() == WXK_ESCAPE) {
- Hide();
- return;
- } else if (event.GetKeyCode() == WXK_RETURN || event.GetKeyCode() == WXK_NUMPAD_ENTER) {
- m_data.SetFindString( m_findString->GetValue() );
- DoSearch();
- return;
- }
- event.Skip();
-}
-
-void FindInFilesDialog::OnAddPath( wxCommandEvent& event )
-{
- wxString path = m_dirPicker->GetPath();
- if (m_listPaths->FindString(path) == wxNOT_FOUND) {
- m_listPaths->Append(path);
- }
-}
-
-void FindInFilesDialog::OnRemovePath( wxCommandEvent& event )
-{
- int sel = m_listPaths->GetSelection();
- if (sel != wxNOT_FOUND) {
- m_listPaths->Delete(sel);
- }
-}
-
-void FindInFilesDialog::OnClearPaths( wxCommandEvent& event )
-{
- m_listPaths->Clear();
-}
-
-bool FindInFilesDialog::Show()
-{
- bool res = IsShown() || wxDialog::Show();
- if (res) {
-
- // update the combobox
- m_findString->Clear();
- m_findString->Append(m_data.GetFindStringArr());
- m_findString->SetValue(m_data.GetFindString());
-
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (editor) {
- //if we have an open editor, and a selected text, make this text the search string
- wxString selText = editor->GetSelectedText();
- if (!selText.IsEmpty()) {
- m_findString->SetValue(selText);
- }
- }
-
- m_findString->SetSelection(-1, -1); // select all
- m_findString->SetFocus();
- }
- return res;
-}
-
-void FindInFilesDialog::DoSaveSearchPaths()
-{
- wxArrayString paths = m_dirPicker->GetValues();
- int where = paths.Index(SEARCH_IN_PROJECT);
- if (where != wxNOT_FOUND) {
- paths.RemoveAt(where);
- }
- where = paths.Index(SEARCH_IN_WORKSPACE);
- if (where != wxNOT_FOUND) {
- paths.RemoveAt(where);
- }
- where = paths.Index(SEARCH_IN_CURR_FILE_PROJECT);
- if (where != wxNOT_FOUND) {
- paths.RemoveAt(where);
- }
-
- m_data.SetSearchPaths(paths);
-}
-
-void FindInFilesDialog::DoSaveOpenFiles()
-{
- if (m_checkBoxSaveFilesBeforeSearching->IsChecked()) {
- Frame::Get()->GetMainBook()->SaveAll(false, false);
- }
-}
-
-void FindInFilesDialog::OnClearPathsUI(wxUpdateUIEvent& event)
-{
- event.Enable(m_listPaths->IsEmpty() == false);
-}
-
-void FindInFilesDialog::OnRemovePathUI(wxUpdateUIEvent& event)
-{
- event.Enable(m_listPaths->GetSelection() != wxNOT_FOUND);
-}
-
-void FindInFilesDialog::OnFindWhatUI(wxUpdateUIEvent& event)
-{
- event.Enable(m_findString->GetValue().IsEmpty() == false);
-}
diff --git a/LiteEditor/findinfilesdlg.h b/LiteEditor/findinfilesdlg.h
deleted file mode 100644
index 63b878f7..00000000
--- a/LiteEditor/findinfilesdlg.h
+++ /dev/null
@@ -1,67 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : findinfilesdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef FIND_IN_FILES_DLG_H
-#define FIND_IN_FILES_DLG_H
-
-#include "findinfilesdlgbase.h"
-#include "findreplacedlg.h"
-#include "search_thread.h"
-
-class FindInFilesDialog : public FindInFilesDialogBase
-{
- FindReplaceData m_data;
-
- void DoSearch();
- void DoSearchReplace();
- void DoSaveSearchPaths();
- SearchData DoGetSearchData();
- void DoSaveOpenFiles();
-
- virtual void OnClick(wxCommandEvent &event);
- virtual void OnClose(wxCloseEvent &event);
- virtual void OnAddPath( wxCommandEvent& event );
- virtual void OnRemovePath( wxCommandEvent& event );
- virtual void OnClearPaths( wxCommandEvent& event );
- virtual void OnClearPathsUI( wxUpdateUIEvent& event );
- virtual void OnRemovePathUI( wxUpdateUIEvent& event );
- void OnCharEvent(wxKeyEvent &event);
-
- virtual void OnFindWhatUI( wxUpdateUIEvent& event );
-
-public:
- FindInFilesDialog(wxWindow* parent, wxWindowID id, const FindReplaceData& data);
- virtual ~FindInFilesDialog();
-
- void SetSearchData(const SearchData &data);
- void SetRootDir (const wxString &rootDir);
-
- FindReplaceData& GetData() {
- return m_data;
- }
-
- virtual bool Show();
-};
-
-#endif // FIND_IN_FILES_DLG_H
diff --git a/LiteEditor/findinfilesdlgbase.cpp b/LiteEditor/findinfilesdlgbase.cpp
deleted file mode 100644
index c0dcaa42..00000000
--- a/LiteEditor/findinfilesdlgbase.cpp
+++ /dev/null
@@ -1,214 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "findinfilesdlgbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-FindInFilesDialogBase::FindInFilesDialogBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bSizer91;
- bSizer91 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- wxStaticText* m_staticText1;
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Find What :"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- fgSizer1->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_findString = new wxComboBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- fgSizer1->Add( m_findString, 0, wxALL|wxEXPAND, 5 );
-
- wxStaticText* m_staticText2;
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Look in :"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer1->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxBoxSizer* bSizer10;
- bSizer10 = new wxBoxSizer( wxHORIZONTAL );
-
- m_dirPicker = new DirPicker(this, wxID_ANY, wxT("..."), wxEmptyString, _("Select a folder:"), wxDefaultPosition, wxDefaultSize, wxDP_USE_COMBOBOX);
- bSizer10->Add( m_dirPicker, 1, wxTOP|wxBOTTOM|wxLEFT, 5 );
-
- m_btnAddPath = new wxButton( this, wxID_ANY, _("&Add"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
- bSizer10->Add( m_btnAddPath, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
-
- fgSizer1->Add( bSizer10, 1, wxEXPAND, 5 );
-
- bSizer91->Add( fgSizer1, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listPaths = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- bSizer6->Add( m_listPaths, 1, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer9;
- bSizer9 = new wxBoxSizer( wxVERTICAL );
-
- m_btnRemovelPath = new wxButton( this, wxID_ANY, _("-"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
- m_btnRemovelPath->SetToolTip( _("Remove the selected search path") );
-
- bSizer9->Add( m_btnRemovelPath, 0, wxEXPAND|wxALL, 5 );
-
- m_btnClearPaths = new wxButton( this, wxID_ANY, _("X"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
- m_btnClearPaths->SetToolTip( _("Clear the search path list") );
-
- bSizer9->Add( m_btnClearPaths, 0, wxEXPAND|wxALL, 5 );
-
- bSizer6->Add( bSizer9, 0, 0, 5 );
-
- bSizer91->Add( bSizer6, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxHORIZONTAL );
-
- wxStaticText* m_staticText3;
- m_staticText3 = new wxStaticText( this, wxID_ANY, _("Look at these file &types :"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- bSizer5->Add( m_staticText3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_fileTypes = new wxComboBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- m_fileTypes->Append( _("*.c;*.cpp;*.cxx;*.cc;*.h;*.hpp;*.hxx;*.hh;*.inl;*.inc") );
- m_fileTypes->Append( _("*.*") );
- bSizer5->Add( m_fileTypes, 1, wxALL, 5 );
-
- bSizer91->Add( bSizer5, 0, wxEXPAND|wxALL, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Options:") ), wxVERTICAL );
-
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 0, 2, 0, 0 );
- fgSizer2->SetFlexibleDirection( wxBOTH );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_matchCase = new wxCheckBox( this, wxID_ANY, _("&Match case"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_matchCase, 0, wxALL|wxEXPAND, 5 );
-
- m_matchWholeWord = new wxCheckBox( this, wxID_ANY, _("Match &whole word"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_matchWholeWord, 0, wxALL|wxEXPAND, 5 );
-
- m_regualrExpression = new wxCheckBox( this, wxID_ANY, _("Regular &expression"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_regualrExpression, 0, wxALL|wxEXPAND, 5 );
-
- m_fontEncoding = new wxCheckBox( this, wxID_ANY, _("Use the editor's font encoding"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_fontEncoding, 0, wxALL|wxEXPAND, 5 );
-
- m_printScope = new wxCheckBox( this, wxID_ANY, _("Display the C++ scope of the match"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_printScope, 0, wxALL, 5 );
-
- m_checkBoxSaveFilesBeforeSearching = new wxCheckBox( this, wxID_ANY, _("&Save modified files before searching"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_checkBoxSaveFilesBeforeSearching, 0, wxALL|wxEXPAND, 5 );
-
- sbSizer1->Add( fgSizer2, 0, wxEXPAND, 5 );
-
- bSizer91->Add( sbSizer1, 0, wxEXPAND|wxALL, 10 );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxHORIZONTAL );
-
- wxStaticText* m_staticText4;
- m_staticText4 = new wxStaticText( this, wxID_ANY, _("Display search results in tab :"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- bSizer7->Add( m_staticText4, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- m_resInNewTab = new wxRadioButton( this, wxID_ANY, _("New tab"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
- m_resInNewTab->SetValue( true );
- bSizer7->Add( m_resInNewTab, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
-
- bSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_resInActiveTab = new wxRadioButton( this, wxID_ANY, _("Active tab (overwrite last search)"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_resInActiveTab, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
-
- bSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
-
- bSizer91->Add( bSizer7, 0, wxEXPAND|wxALL, 5 );
-
- bSizer1->Add( bSizer91, 1, wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL|wxLI_VERTICAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxVERTICAL );
-
- m_find = new wxButton( this, wxID_ANY, _("&Find"), wxDefaultPosition, wxDefaultSize, 0 );
- m_find->SetDefault();
- bSizer2->Add( m_find, 0, wxALL|wxEXPAND, 5 );
-
- m_replaceAll = new wxButton( this, wxID_ANY, _("Find &Replace Candidates"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_replaceAll, 0, wxALL|wxEXPAND, 5 );
-
- m_stop = new wxButton( this, wxID_ANY, _("Sto&p Search"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_stop, 0, wxALL|wxEXPAND, 5 );
-
- m_cancel = new wxButton( this, wxID_ANY, _("Close"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_cancel, 0, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
- bSizer1->Fit( this );
-
- // Connect Events
- this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( FindInFilesDialogBase::OnClose ) );
- m_btnAddPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnAddPath ), NULL, this );
- m_btnRemovelPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnRemovePath ), NULL, this );
- m_btnRemovelPath->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FindInFilesDialogBase::OnRemovePathUI ), NULL, this );
- m_btnClearPaths->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClearPaths ), NULL, this );
- m_btnClearPaths->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FindInFilesDialogBase::OnClearPathsUI ), NULL, this );
- m_matchCase->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_matchWholeWord->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_regualrExpression->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_fontEncoding->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_printScope->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_checkBoxSaveFilesBeforeSearching->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_find->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_find->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FindInFilesDialogBase::OnFindWhatUI ), NULL, this );
- m_replaceAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_replaceAll->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FindInFilesDialogBase::OnFindWhatUI ), NULL, this );
- m_stop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_cancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
-}
-
-FindInFilesDialogBase::~FindInFilesDialogBase()
-{
- // Disconnect Events
- this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( FindInFilesDialogBase::OnClose ) );
- m_btnAddPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnAddPath ), NULL, this );
- m_btnRemovelPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnRemovePath ), NULL, this );
- m_btnRemovelPath->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FindInFilesDialogBase::OnRemovePathUI ), NULL, this );
- m_btnClearPaths->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClearPaths ), NULL, this );
- m_btnClearPaths->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FindInFilesDialogBase::OnClearPathsUI ), NULL, this );
- m_matchCase->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_matchWholeWord->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_regualrExpression->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_fontEncoding->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_printScope->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_checkBoxSaveFilesBeforeSearching->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_find->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_find->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FindInFilesDialogBase::OnFindWhatUI ), NULL, this );
- m_replaceAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_replaceAll->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FindInFilesDialogBase::OnFindWhatUI ), NULL, this );
- m_stop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
- m_cancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( FindInFilesDialogBase::OnClick ), NULL, this );
-}
diff --git a/LiteEditor/findinfilesdlgbase.h b/LiteEditor/findinfilesdlgbase.h
deleted file mode 100644
index f72c8b22..00000000
--- a/LiteEditor/findinfilesdlgbase.h
+++ /dev/null
@@ -1,81 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __findinfilesdlgbase__
-#define __findinfilesdlgbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/combobox.h>
-#include "dirpicker.h"
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/listbox.h>
-#include <wx/checkbox.h>
-#include <wx/statbox.h>
-#include <wx/radiobut.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class FindInFilesDialogBase
-///////////////////////////////////////////////////////////////////////////////
-class FindInFilesDialogBase : public wxDialog
-{
- private:
-
- protected:
- wxComboBox* m_findString;
- DirPicker *m_dirPicker;
- wxButton* m_btnAddPath;
- wxListBox* m_listPaths;
- wxButton* m_btnRemovelPath;
- wxButton* m_btnClearPaths;
- wxComboBox* m_fileTypes;
- wxCheckBox* m_matchCase;
- wxCheckBox* m_matchWholeWord;
- wxCheckBox* m_regualrExpression;
- wxCheckBox* m_fontEncoding;
- wxCheckBox* m_printScope;
- wxCheckBox* m_checkBoxSaveFilesBeforeSearching;
- wxRadioButton* m_resInNewTab;
-
- wxRadioButton* m_resInActiveTab;
-
- wxStaticLine* m_staticline1;
- wxButton* m_find;
- wxButton* m_replaceAll;
- wxButton* m_stop;
- wxButton* m_cancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
- virtual void OnAddPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnRemovePath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnRemovePathUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnClearPaths( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnClearPathsUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnClick( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnFindWhatUI( wxUpdateUIEvent& event ) { event.Skip(); }
-
-
- public:
-
- FindInFilesDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Find in files"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~FindInFilesDialogBase();
-
-};
-
-#endif //__findinfilesdlgbase__
diff --git a/LiteEditor/findreplacedlg.cpp b/LiteEditor/findreplacedlg.cpp
deleted file mode 100644
index c1ad8103..00000000
--- a/LiteEditor/findreplacedlg.cpp
+++ /dev/null
@@ -1,515 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : findreplacedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "findreplacedlg.h"
-#include <wx/msgdlg.h>
-#include "editor_config.h"
-#include <wx/gbsizer.h>
-#include <wx/textctrl.h>
-#include <wx/checkbox.h>
-#include <wx/combobox.h>
-#include <wx/button.h>
-#include <wx/stattext.h>
-#include "macros.h"
-
-DEFINE_EVENT_TYPE(wxEVT_FRD_FIND_NEXT)
-DEFINE_EVENT_TYPE(wxEVT_FRD_CLOSE)
-DEFINE_EVENT_TYPE(wxEVT_FRD_REPLACE)
-DEFINE_EVENT_TYPE(wxEVT_FRD_REPLACEALL)
-DEFINE_EVENT_TYPE(wxEVT_FRD_BOOKMARKALL)
-DEFINE_EVENT_TYPE(wxEVT_FRD_CLEARBOOKMARKS)
-
-BEGIN_EVENT_TABLE(FindReplaceDialog, wxDialog)
- EVT_CLOSE(FindReplaceDialog::OnClose)
- EVT_CHAR_HOOK(FindReplaceDialog::OnKeyDown)
-END_EVENT_TABLE()
-
-#define VALIDATE_FINDWHAT(){\
- if(m_findString->GetValue().IsEmpty()){\
- wxMessageBox(_("'Find What' is empty"));\
- return;\
- }\
-}
-
-FindReplaceDialog::FindReplaceDialog()
- : wxDialog()
- , m_owner(NULL)
- , m_kind(FIND_DLG)
-{
-}
-
-FindReplaceDialog::FindReplaceDialog(wxWindow* parent,
- const FindReplaceData& data,
- wxWindowID id,
- const wxString& caption,
- const wxPoint& pos,
- const wxSize& size,
- long style)
-{
- Create(parent, data, id, caption, pos, size, style | wxWANTS_CHARS);
-}
-
-bool FindReplaceDialog::Create(wxWindow* parent,
- const FindReplaceData& data,
- wxWindowID id,
- const wxString& caption,
- const wxPoint& pos,
- const wxSize& size,
- long style)
-{
- m_kind = FIND_DLG;
- if ( !wxDialog::Create(parent, id, caption, pos, size, style) )
- return false;
-
- m_data = data;
- m_owner = NULL;
-
- CreateGUIControls();
- ConnectEvents();
-
- GetSizer()->Fit(this);
- Centre();
-
- m_findString->SetFocus();
- return true;
-}
-
-FindReplaceDialog::~FindReplaceDialog()
-{
-}
-
-void FindReplaceDialog::CreateGUIControls()
-{
- wxBoxSizer *hMainSzier = new wxBoxSizer(wxHORIZONTAL);
- wxBoxSizer *btnSizer = new wxBoxSizer(wxVERTICAL);
- gbSizer = new wxGridBagSizer();
- SetSizer(hMainSzier);
-
- hMainSzier->Add(gbSizer, 1, wxEXPAND | wxALL, 5);
- hMainSzier->Add(btnSizer, 0, wxALL, 5);
-
- wxStaticText* itemStaticText;
- itemStaticText = new wxStaticText( this, wxID_STATIC, wxT("Find What:"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
- gbSizer->Add(itemStaticText, wxGBPosition(0, 0), wxDefaultSpan, wxALL | wxEXPAND, 5 );
-
- m_findString = new wxComboBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(200, -1));
- gbSizer->Add(m_findString, wxGBPosition(0, 1), wxDefaultSpan, wxALL | wxEXPAND, 5 );
-
- m_replaceWithLabel = new wxStaticText( this, wxID_STATIC, wxT("Replace With:"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );
- gbSizer->Add(m_replaceWithLabel, wxGBPosition(1, 0), wxDefaultSpan, wxALL | wxEXPAND, 5 );
-
- m_replaceString = new wxComboBox(this, wxID_ANY, wxEmptyString, wxDefaultPosition);
- gbSizer->Add(m_replaceString, wxGBPosition(1, 1), wxDefaultSpan, wxALL | wxEXPAND, 5 );
-
- sz = new wxStaticBoxSizer(wxVERTICAL, this, wxT("Options"));
- gbSizer->Add(sz, wxGBPosition(2, 0), wxGBSpan(1, 2), wxALL | wxEXPAND, 5 );
-
- m_matchCase = new wxCheckBox(this, wxID_ANY, wxT("&Match case"));
- sz->Add(m_matchCase, 1, wxALL | wxEXPAND, 5 );
-
- m_matchWholeWord = new wxCheckBox(this, wxID_ANY, wxT("Match &whole word"));
- sz->Add(m_matchWholeWord, 1, wxALL | wxEXPAND, 5 );
-
- m_regualrExpression = new wxCheckBox(this, wxID_ANY, wxT("Regular &expression"));
- sz->Add(m_regualrExpression, 1, wxALL | wxEXPAND, 5 );
-
- m_searchUp = new wxCheckBox(this, wxID_ANY, wxT("Search &up"));
- sz->Add(m_searchUp, 1, wxALL | wxEXPAND, 5 );
-
- m_selectionOnly = new wxCheckBox(this, wxID_ANY, wxT("Search / Replace in selec&ted text"));
- sz->Add(m_selectionOnly, 1, wxALL | wxEXPAND, 5 );
-
- // Add the buttons
-
- m_find = new wxButton(this, wxID_ANY, wxT("&Find Next"));
- btnSizer->Add(m_find, 1, wxALL | wxEXPAND, 5 );
-
- m_replace = new wxButton(this, wxID_ANY, wxT("&Replace"));
- btnSizer->Add(m_replace, 1, wxALL | wxEXPAND, 5 );
-
- m_replaceAll = new wxButton(this, wxID_ANY, wxT("Replace &All"));
- btnSizer->Add(m_replaceAll, 1, wxALL | wxEXPAND, 5 );
-
- m_markAll = new wxButton(this, wxID_ANY, wxT("&Bookmark All"));
- btnSizer->Add(m_markAll, 1, wxALL | wxEXPAND, 5 );
-
- m_clearBookmarks = new wxButton(this, wxID_ANY, wxT("&Clear Bookmarks"));
- btnSizer->Add(m_clearBookmarks, 1, wxALL | wxEXPAND, 5 );
-
- m_cancel = new wxButton(this, wxID_ANY, wxT("Close"));
- btnSizer->Add(m_cancel, 1, wxALL | wxEXPAND, 5 );
-
- m_replacementsMsg = new wxStaticText(this, wxID_ANY, wxEmptyString);
- btnSizer->Add(m_replacementsMsg, 1, wxALL | wxEXPAND, 5 );
- //gbSizer->Add(m_replacementsMsg, wxGBPosition(3, 0), wxGBSpan(1, 2), wxALL | wxEXPAND, 5);
- SetReplacementsMessage(frd_dontshowzeros);
-
- //set values
- SetFindReplaceData(m_data, true);
-}
-
-void FindReplaceDialog::SetFindReplaceData(FindReplaceData &data, bool focus)
-{
- m_findString->Freeze();
-
- m_findString->Clear();
- m_findString->Append(data.GetFindStringArr());
- m_findString->SetValue(data.GetFindString());
-
- m_findString->Thaw();
-
- m_replaceString->Freeze();
-
- m_replaceString->Clear();
- m_replaceString->Append(data.GetReplaceStringArr());
- m_replaceString->SetValue(data.GetReplaceString());
-
- m_replaceString->Thaw();
-
- m_matchCase->SetValue(data.GetFlags() & wxFRD_MATCHCASE ? true : false);
- m_matchWholeWord->SetValue(data.GetFlags() & wxFRD_MATCHWHOLEWORD ? true : false);
- m_regualrExpression->SetValue(data.GetFlags() & wxFRD_REGULAREXPRESSION ? true : false);
- m_searchUp->SetValue(data.GetFlags() & wxFRD_SEARCHUP ? true : false);
- m_selectionOnly->SetValue(data.GetFlags() & wxFRD_SELECTIONONLY ? true : false);
-
- //set the focus to the find string text control
- if(focus) {
- m_findString->SetFocus();
- m_findString->SelectAll();
- }
-}
-
-void FindReplaceDialog::OnClick(wxCommandEvent &event)
-{
- wxObject *btnClicked = event.GetEventObject();
- size_t flags = m_data.GetFlags();
- m_data.SetFindString( m_findString->GetValue() );
- m_data.SetReplaceString( m_replaceString->GetValue() );
-
- // disable the 'Find/Replace' buttons when the 'Selection only' is enabled
- if ( m_selectionOnly->IsChecked() ) {
- m_find->Enable(false);
- m_replace->Enable(false);
- } else {
- m_find->Enable(true);
- m_replace->Enable(true);
- }
-
- if (btnClicked == m_find) {
- VALIDATE_FINDWHAT();
- SendEvent(wxEVT_FRD_FIND_NEXT);
- } else if (btnClicked == m_replace) {
- VALIDATE_FINDWHAT();
- SendEvent(wxEVT_FRD_REPLACE);
- } else if (btnClicked == m_replaceAll) {
- VALIDATE_FINDWHAT();
- SendEvent(wxEVT_FRD_REPLACEALL);
- } else if (btnClicked == m_markAll) {
- VALIDATE_FINDWHAT();
- SendEvent(wxEVT_FRD_BOOKMARKALL);
- } else if (btnClicked == m_clearBookmarks) {
- SendEvent(wxEVT_FRD_CLEARBOOKMARKS);
- } else if (btnClicked == m_cancel) {
- // Fire a close event
- SendEvent(wxEVT_FRD_CLOSE);
- // Hide the dialog
- Hide();
- // Make sure the Search in Selected Text flag is clear, otherwise we can't Find Next
- flags &= ~(wxFRD_SELECTIONONLY);
- } else if (btnClicked == m_matchCase) {
- if (m_matchCase->IsChecked()) {
- flags |= wxFRD_MATCHCASE;
- } else {
- flags &= ~(wxFRD_MATCHCASE);
- }
- } else if (btnClicked == m_matchWholeWord) {
- if (m_matchWholeWord->IsChecked()) {
- flags |= wxFRD_MATCHWHOLEWORD;
- } else {
- flags &= ~(wxFRD_MATCHWHOLEWORD);
- }
- } else if (btnClicked == m_regualrExpression) {
- if (m_regualrExpression->IsChecked()) {
- flags |= wxFRD_REGULAREXPRESSION;
- } else {
- flags &= ~(wxFRD_REGULAREXPRESSION);
- }
- } else if (btnClicked == m_searchUp) {
- if (m_searchUp->IsChecked()) {
- flags |= wxFRD_SEARCHUP;
- } else {
- flags &= ~(wxFRD_SEARCHUP);
- }
- } else if (btnClicked == m_selectionOnly) {
- if (m_selectionOnly->IsChecked()) {
- flags |= wxFRD_SELECTIONONLY;
- } else {
- flags &= ~(wxFRD_SELECTIONONLY);
- }
- }
-
- // Set the updated flags, unless it was ReplaceAll which does this itself
- if (btnClicked != m_replaceAll) {
- m_data.SetFlags(flags);
- }
-
- // update the data of the find/replace dialog, in particular,
- // update the history of the Find What / replace with controls
- SetFindReplaceData(m_data, false);
-}
-
-void FindReplaceDialog::OnClose(wxCloseEvent &event)
-{
- wxUnusedVar(event);
-
- // Fire a close event
- SendEvent(wxEVT_FRD_CLOSE);
- Hide();
-}
-void FindReplaceDialog::OnKeyDown(wxKeyEvent &event)
-{
- if (event.GetKeyCode() == WXK_RETURN || event.GetKeyCode() == WXK_NUMPAD_ENTER) {
- // start the search
- size_t flags = m_data.GetFlags();
- m_data.SetFindString( m_findString->GetValue() );
- m_data.SetReplaceString( m_replaceString->GetValue() );
- SendEvent(wxEVT_FRD_FIND_NEXT);
- // Set the updated flags
- m_data.SetFlags(flags);
- event.Skip(false);
- return;
- } // if(event.GetKeyCode() == WXK_RETURN)
-
- if (event.GetKeyCode() == WXK_ESCAPE) {
- //hide the find/replace dialog
- if (IsShown()) {
- Hide();
- // Make sure the Search in Selected Text flag is clear, otherwise we can't Find Next
- ResetSelectionOnlyFlag();
- // For similar reasons, ensure the Find and Replace buttons are enabled
- m_find->Enable(true);
- m_replace->Enable(true);
- event.Skip(false);
- return;
- }
- }
- event.Skip();
-}
-
-void FindReplaceDialog::ConnectEvents()
-{
- // Connect buttons
- m_find->Connect(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
- m_replace->Connect(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
- m_replaceAll->Connect(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
- m_markAll->Connect(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
- m_cancel->Connect(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
- m_clearBookmarks->Connect(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
-
- // connect options
- m_matchCase->Connect(wxID_ANY, wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
- m_matchWholeWord->Connect(wxID_ANY, wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
- m_regualrExpression->Connect(wxID_ANY, wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
- m_searchUp->Connect(wxID_ANY, wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
- m_selectionOnly->Connect(wxID_ANY, wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler(FindReplaceDialog::OnClick), NULL, this);
-}
-
-void FindReplaceDialog::SendEvent(wxEventType type)
-{
- wxCommandEvent event(type, GetId());
- event.SetEventObject(this);
-
- if ( GetEventOwner() == NULL ){
- GetEventHandler()->ProcessEvent( event );
- }else{
- // If an event owner was provided, pass it the event
- GetEventOwner()->ProcessEvent( event );
- }
-}
-
-bool FindReplaceDialog::Show(int kind)
-{
- if ( IsShown() ) {
- if (m_kind == kind) {
- return true;
- }
- //change the dialog
- ShowReplaceControls(true);
- return true;
- }
-
- if(kind == FIND_DLG) {
- ShowReplaceControls(false);
- }else{
- ShowReplaceControls(true);
- }
-
- // call Show() here
- bool res = wxDialog::Show();
-
- // and now call the focus methods
- SetFindReplaceData(m_data, true);
- m_findString->SetSelection(-1, -1); // select all
- m_findString->SetFocus();
- return res;
-}
-
-void FindReplaceDialog::ShowReplaceControls(bool show)
-{
- //detach the find string & its label from the gridbag sizer
- bool isFindDlg(false);
- isFindDlg = gbSizer->GetItemPosition(sz) == wxGBPosition(1, 0);
- if (show == false) {
- //is this dialog is already a 'Find' dialog?
- if (isFindDlg) {
- return;
- }
-
- //remove 'Replace' dialog items
- gbSizer->Detach(m_replaceWithLabel);
- gbSizer->Detach(m_replaceString);
-
- //reposition the options static sizer
- gbSizer->Detach(sz);
- gbSizer->Add(sz, wxGBPosition(1, 0), wxGBSpan(1, 2), wxALL | wxEXPAND, 5 );
-
- } else {
- // is this dialog is already a 'Replace' dialog?
- if (!isFindDlg) {
- return;
- }
-
- //remmove the 'Options' item frmo pos 1,0
- gbSizer->Detach(sz);
- gbSizer->Add(m_replaceWithLabel, wxGBPosition(1, 0), wxDefaultSpan, wxALL | wxEXPAND, 5 );
- gbSizer->Add(m_replaceString, wxGBPosition(1, 1), wxDefaultSpan, wxALL | wxEXPAND, 5 );
- gbSizer->Add(sz, wxGBPosition(2, 0), wxGBSpan(1, 2), wxALL | wxEXPAND, 5 );
- }
-
- wxString label = show ? wxT("Replace") : wxT("Find");
- m_replace->Show(show);
- m_replaceAll->Show(show);
- m_replaceString->Show(show);
- m_replacementsMsg->Show(show);
- m_replaceWithLabel->Show(show);
- m_selectionOnly->Show(show);
-
- SetLabel(label);
- this->Fit();
- GetSizer()->Layout();
-}
-
-void FindReplaceDialog::SetReplacementsMessage( enum frd_showzero showzero /*= frd_showzeros*/ )
-{
- if ( showzero==frd_dontshowzeros && GetReplacedCount()==0 ) { // Don't show a count of 0 before any replacement has started
- m_replacementsMsg->SetLabel(wxString::Format(wxT("Replacements:")));
- } else {
- m_replacementsMsg->SetLabel(wxString::Format(wxT("Replacements: %u"), GetReplacedCount() ));
- }
-}
-
-void FindReplaceDialog::ResetSelectionOnlyFlag()
-{
- size_t flags = GetData().GetFlags();
- GetData().SetFlags( flags & ~(wxFRD_SELECTIONONLY) );
-}
-
-//---------------------------------------------------------------
-// FindReplaceData
-//---------------------------------------------------------------
-
-void FindReplaceData::SetReplaceString(const wxString& str)
-{
-
- int where = m_replaceString.Index(str);
- if (where != wxNOT_FOUND) {
- m_replaceString.RemoveAt(where);
- }
- m_replaceString.Insert(str, 0);
-
- long max_value(10);
- EditorConfigST::Get()->GetLongValue(wxT("MaxItemsInFindReplaceDialog"), max_value);
- TruncateArray(m_replaceString, (size_t)max_value);
-}
-
-void FindReplaceData::Serialize(Archive& arch)
-{
- arch.Write(wxT("m_findString"), m_findString);
- arch.Write(wxT("m_replaceString"), m_replaceString);
- arch.Write(wxT("m_flags"), (long)m_flags);
- arch.Write(wxT("m_searchPaths"), m_searchPaths);
-}
-
-void FindReplaceData::DeSerialize(Archive& arch)
-{
- arch.Read(wxT("m_findString"), m_findString);
- arch.Read(wxT("m_replaceString"), m_replaceString);
- arch.Read(wxT("m_flags"), (long&)m_flags);
- arch.Read(wxT("m_searchPaths"), m_searchPaths);
-
- long max_value(10);
- EditorConfigST::Get()->GetLongValue(wxT("MaxItemsInFindReplaceDialog"), max_value);
-
- TruncateArray(m_findString, (size_t)max_value);
- TruncateArray(m_replaceString, (size_t)max_value);
- TruncateArray(m_searchPaths, (size_t)max_value);
-}
-
-void FindReplaceData::SetFindString(const wxString& str)
-{
- int where = m_findString.Index(str);
- if (where != wxNOT_FOUND) {
- m_findString.RemoveAt(where);
- }
- m_findString.Insert(str, 0);
-
- long max_value(10);
- EditorConfigST::Get()->GetLongValue(wxT("MaxItemsInFindReplaceDialog"), max_value);
- TruncateArray(m_findString, (size_t)max_value);
-}
-
-wxString FindReplaceData::GetReplaceString() const
-{
- if (m_replaceString.IsEmpty()) {
- return wxEmptyString;
- } else {
- return m_replaceString.Item(0);
- }
-}
-
-wxString FindReplaceData::GetFindString() const
-{
- if (m_findString.IsEmpty()) {
- return wxEmptyString;
- } else {
- return m_findString.Item(0);
- }
-}
-
-void FindReplaceData::TruncateArray(wxArrayString& arr, size_t maxSize)
-{
- while(arr.GetCount() > maxSize && arr.GetCount() > 0) {
- arr.RemoveAt(arr.GetCount()-1);
- }
-}
diff --git a/LiteEditor/findreplacedlg.h b/LiteEditor/findreplacedlg.h
deleted file mode 100644
index fc6a3cea..00000000
--- a/LiteEditor/findreplacedlg.h
+++ /dev/null
@@ -1,230 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : findreplacedlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef FIND_REPLACE_DLG_H
-#define FIND_REPLACE_DLG_H
-
-#include "wx/dialog.h"
-#include "serialized_object.h"
-
-class wxTextCtrl;
-class wxCheckBox;
-class wxButton;
-class wxStaticText;
-
-#define wxFRD_MATCHCASE 0x00000001
-#define wxFRD_MATCHWHOLEWORD 0x00000002
-#define wxFRD_REGULAREXPRESSION 0x00000004
-#define wxFRD_SEARCHUP 0x00000008
-#define wxFRD_WRAPSEARCH 0x00000010
-#define wxFRD_SELECTIONONLY 0x00000020
-#define wxFRD_USEFONTENCODING 0x00000040
-#define wxFRD_DISPLAYSCOPE 0x00000080
-#define wxFRD_SAVE_BEFORE_SEARCH 0x00000100
-
-#define FIND_DLG 0
-#define REPLACE_DLG 1
-
-#ifndef WXDLLIMPEXP_LE
-#ifdef WXMAKINGDLL
-# define WXDLLIMPEXP_LE WXIMPORT
-#elif defined(WXUSINGDLL)
-# define WXDLLIMPEXP_LE WXEXPORT
-#else
-# define WXDLLIMPEXP_LE
-#endif // WXDLLIMPEXP_LE
-#endif
-
-DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_LE, wxEVT_FRD_FIND_NEXT, -1)
-DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_LE, wxEVT_FRD_CLOSE, -1)
-DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_LE, wxEVT_FRD_REPLACE, -1)
-DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_LE, wxEVT_FRD_REPLACEALL, -1)
-DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_LE, wxEVT_FRD_BOOKMARKALL, -1)
-DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_LE, wxEVT_FRD_CLEARBOOKMARKS, -1)
-
-class FindReplaceData : public SerializedObject
-{
- wxArrayString m_replaceString;
- wxArrayString m_findString;
- size_t m_flags;
- wxArrayString m_searchPaths;
-
-private:
- void TruncateArray(wxArrayString &arr, size_t maxSize);
-
-public:
- FindReplaceData()
- : m_flags(0) {}
-
- virtual ~FindReplaceData() {}
-
- // Setters/Getters
- const size_t GetFlags() const {
- return m_flags;
- }
- void SetFlags(size_t flags) {
- m_flags = flags;
- }
-
- wxArrayString &GetFindStringArr() {
- return m_findString;
- }
- wxArrayString &GetReplaceStringArr() {
- return m_replaceString;
- }
-
- /**
- * \brief return the first find string on the array
- */
- wxString GetFindString() const ;
-
- /**
- * \brief return the first replace string from the array
- */
- wxString GetReplaceString() const;
-
- /**
- * \brief add find string to the array and make it first item on the array as well
- * \param str find string to add
- */
- void SetFindString(const wxString &str);
-
- /**
- * \brief add replace string to the array and make it first item on the array as well
- * \param str replace string to add
- */
- void SetReplaceString(const wxString &str);
-
- void SetSearchPaths(const wxArrayString& searchPaths) {
- this->m_searchPaths = searchPaths;
- }
- const wxArrayString& GetSearchPaths() const {
- return m_searchPaths;
- }
-
- //implement the serialization API
- void Serialize(Archive &arch);
-
- void DeSerialize(Archive &arch);
-};
-
-class wxStaticText;
-class wxComboBox;
-class wxGridBagSizer;
-class wxStaticBoxSizer;
-
-enum frd_showzero { frd_dontshowzeros, frd_showzeros };
-
-class FindReplaceDialog : public wxDialog
-{
- wxEvtHandler *m_owner;
-
- FindReplaceData m_data;
-
- // Options
- wxComboBox *m_findString;
- wxComboBox *m_replaceString;
- wxCheckBox *m_matchCase;
- wxCheckBox *m_matchWholeWord;
- wxCheckBox *m_regualrExpression;
- wxCheckBox *m_searchUp;
- wxCheckBox *m_selectionOnly;
-
- // Buttons
- wxButton *m_find;
- wxButton *m_replace;
- wxButton *m_replaceAll;
- wxButton *m_markAll;
- wxButton *m_clearBookmarks;
- wxButton *m_cancel;
- wxStaticText *m_replacementsMsg;
- wxStaticText *m_replaceWithLabel;
- wxGridBagSizer *gbSizer;
- wxStaticBoxSizer *sz;
- int m_kind;
- unsigned int m_replacedCount;
-
-public:
- virtual ~FindReplaceDialog( );
- FindReplaceDialog();
- FindReplaceDialog( wxWindow* parent,
- const FindReplaceData& data,
- wxWindowID id = wxID_ANY,
- const wxString& caption = wxT("Find / Replace"),
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = wxDEFAULT_DIALOG_STYLE);
-
- // Creation
- bool Create(wxWindow* parent,
- const FindReplaceData& data,
- wxWindowID id = wxID_ANY,
- const wxString& caption = wxT("Find / Replace"),
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = wxDEFAULT_DIALOG_STYLE
- );
-
- // Return the data
- FindReplaceData& GetData() {
- return m_data;
- }
-
- virtual bool Show(int kind);
-
- void SetEventOwner(wxEvtHandler *owner) {
- m_owner = owner;
- }
- wxEvtHandler *GetEventOwner() const {
- return m_owner;
- }
-
- // Set the replacements message
- void SetReplacementsMessage( enum frd_showzero showzero = frd_showzeros );
- unsigned int GetReplacedCount() {
- return m_replacedCount;
- }
- void IncReplacedCount() {
- ++m_replacedCount;
- }
- void ResetReplacedCount() {
- m_replacedCount = 0;
- }
- void ResetSelectionOnlyFlag();
- void SetFindReplaceData(FindReplaceData& data, bool focus);
-
-protected:
- void ShowReplaceControls(bool show);
- void CreateGUIControls();
- void ConnectEvents();
- void OnClick(wxCommandEvent &event);
- void SendEvent(wxEventType type);
-
- void OnKeyDown(wxKeyEvent &event);
- DECLARE_EVENT_TABLE()
- void OnClose(wxCloseEvent &event);
-
-};
-
-#endif // FIND_REPLACE_DLG_H
diff --git a/LiteEditor/findresultstab.cpp b/LiteEditor/findresultstab.cpp
deleted file mode 100644
index 4feb6c30..00000000
--- a/LiteEditor/findresultstab.cpp
+++ /dev/null
@@ -1,604 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : findresultstab.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include <wx/wupdlock.h>
-#include "drawingutils.h"
-#include "custom_tabcontainer.h"
-#include "custom_tab.h"
-#include <wx/tokenzr.h>
-#include "globals.h"
-#include "manager.h"
-#include "frame.h"
-#include "ctags_manager.h"
-#include "cl_editor.h"
-#include "editor_config.h"
-#include "globals.h"
-#include "findresultstab.h"
-#include "search_thread.h"
-
-
-BEGIN_EVENT_TABLE(FindResultsTab, OutputTabWindow)
- EVT_COMMAND(wxID_ANY, wxEVT_SEARCH_THREAD_SEARCHSTARTED, FindResultsTab::OnSearchStart)
- EVT_COMMAND(wxID_ANY, wxEVT_SEARCH_THREAD_MATCHFOUND, FindResultsTab::OnSearchMatch)
- EVT_COMMAND(wxID_ANY, wxEVT_SEARCH_THREAD_SEARCHEND, FindResultsTab::OnSearchEnded)
- EVT_COMMAND(wxID_ANY, wxEVT_SEARCH_THREAD_SEARCHCANCELED, FindResultsTab::OnSearchCancel)
-
- // Right click menu options
- EVT_MENU(XRCID("close_fif_tab"), FindResultsTab::OnCloseTab )
- EVT_MENU(XRCID("close_all_fif_tabs"), FindResultsTab::OnCloseAllTabs )
- EVT_MENU(XRCID("close_other_fif_tabs"), FindResultsTab::OnCloseOtherTab)
-
- EVT_UPDATE_UI(XRCID("close_fif_tab"), FindResultsTab::OnTabMenuUI )
- EVT_UPDATE_UI(XRCID("close_all_fif_tabs"), FindResultsTab::OnTabMenuUI )
- EVT_UPDATE_UI(XRCID("close_other_fif_tabs"), FindResultsTab::OnTabMenuUI )
-
-END_EVENT_TABLE()
-
-FindInFilesDialog* FindResultsTab::m_find = NULL;
-
-FindResultsTab::FindResultsTab(wxWindow *parent, wxWindowID id, const wxString &name, bool useBook)
- : OutputTabWindow(parent, id, name)
- , m_searchInProgress(false)
- , m_book(NULL)
- , m_recv(NULL)
- , m_matchInfo(1)
-{
- if (useBook) {
-
- // load the book style from the settings file
- long bookStyle = wxVB_BOTTOM|wxVB_NODND|wxVB_HAS_X|wxVB_MOUSE_MIDDLE_CLOSE_TAB|wxVB_FIXED_WIDTH;
- EditorConfigST::Get()->GetLongValue(wxT("FindResults"), bookStyle);
-
- m_book = new Notebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, bookStyle);
- m_book->SetFixedTabWidth(120);
-
- m_book->SetRightClickMenu( wxXmlResource::Get()->LoadMenu(wxT("find_in_files_right_click_menu")) );
-
- m_book->Connect(wxEVT_COMMAND_BOOK_PAGE_CHANGED, NotebookEventHandler(FindResultsTab::OnPageChanged), NULL, this);
- m_book->Connect(wxEVT_COMMAND_BOOK_PAGE_CLOSED , NotebookEventHandler(FindResultsTab::OnPageClosed) , NULL, this);
-
- // get rid of base class scintilla component
- wxSizer *sz = GetSizer();
- sz->Detach(m_sci);
- m_sci->Destroy();
- m_sci = NULL;
-
- sz->Add(m_book, 1, wxALL|wxEXPAND);
- sz->Layout();
- } else {
- // keep existing scintilla
- SetStyles(m_sci);
- }
-
- wxTheApp->Connect(XRCID("find_in_files"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(FindResultsTab::OnFindInFiles), NULL, this);
- m_tb->AddTool ( XRCID ( "stop_search" ), wxT ( "Stop current search" ), wxXmlResource::Get()->LoadBitmap ( wxT ( "stop_build16" ) ), wxT ( "Stop current search" ) );
- Connect( XRCID ( "stop_search" ), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler ( FindResultsTab::OnStopSearch ), NULL, this );
- Connect( XRCID ( "stop_search" ), wxEVT_UPDATE_UI, wxUpdateUIEventHandler( FindResultsTab::OnStopSearchUI), NULL, this );
- m_tb->Realize();
-
-}
-
-FindResultsTab::~FindResultsTab()
-{
- if (m_find) {
- delete m_find;
- m_find = NULL;
- }
-}
-
-MatchInfo& FindResultsTab::GetMatchInfo(size_t idx)
-{
- // assert(idx < m_matchInfo.size());
- ListMatchInfos::iterator itMatchInfo = m_matchInfo.begin();
- if (m_book) {
- for (size_t i = 0; i < idx; ++i) {
- ++itMatchInfo;
- }
- }
- return *itMatchInfo;
-}
-
-void FindResultsTab::LoadFindInFilesData()
-{
- if (m_find != NULL)
- return;
-
- FindReplaceData data;
- EditorConfigST::Get()->ReadObject(wxT("FindInFilesData"), &data);
- m_find = new FindInFilesDialog(NULL, wxID_ANY, data);
-}
-
-void FindResultsTab::SaveFindInFilesData()
-{
- if (m_find) {
- EditorConfigST::Get()->WriteObject(wxT("FindInFilesData"), &m_find->GetData());
- }
-}
-
-void FindResultsTab::SetStyles(wxScintilla *sci)
-{
- InitStyle(sci, wxSCI_LEX_FIF, true);
-
- sci->StyleSetForeground(wxSCI_LEX_FIF_DEFAULT, wxT("BLACK"));
- sci->StyleSetBackground(wxSCI_LEX_FIF_DEFAULT, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
-
- sci->StyleSetForeground(wxSCI_LEX_FIF_PROJECT, wxT("BLACK"));
- sci->StyleSetBackground(wxSCI_LEX_FIF_PROJECT, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
-
- sci->StyleSetForeground(wxSCI_LEX_FIF_FILE, wxT("BLUE"));
- sci->StyleSetBackground(wxSCI_LEX_FIF_FILE, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
-
- sci->StyleSetForeground(wxSCI_LEX_FIF_FILE_SHORT, wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT));
- sci->StyleSetBackground(wxSCI_LEX_FIF_FILE_SHORT, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
-
- sci->StyleSetForeground(wxSCI_LEX_FIF_MATCH, wxT("BLACK"));
- sci->StyleSetBackground(wxSCI_LEX_FIF_MATCH, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
-
- sci->StyleSetForeground(wxSCI_LEX_FIF_SCOPE, wxT("PURPLE"));
- sci->StyleSetBackground(wxSCI_LEX_FIF_SCOPE, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
-
- wxFont defFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- wxFont font(defFont.GetPointSize(), wxFONTFAMILY_TELETYPE, wxNORMAL, wxNORMAL);
- wxFont bold(defFont.GetPointSize(), wxFONTFAMILY_TELETYPE, wxNORMAL, wxFONTWEIGHT_BOLD);
-
- sci->StyleSetFont(wxSCI_LEX_FIF_FILE, font);
- sci->StyleSetFont(wxSCI_LEX_FIF_DEFAULT, bold);
- sci->StyleSetFont(wxSCI_LEX_FIF_PROJECT, bold);
- sci->StyleSetFont(wxSCI_LEX_FIF_MATCH, font);
- sci->StyleSetFont(wxSCI_LEX_FIF_FILE_SHORT, font);
- sci->StyleSetFont(wxSCI_LEX_FIF_SCOPE, font);
-
- sci->StyleSetHotSpot(wxSCI_LEX_FIF_MATCH, true);
- sci->StyleSetHotSpot(wxSCI_LEX_FIF_FILE, true);
-
- sci->MarkerDefine (7, wxSCI_MARK_BACKGROUND);
- sci->MarkerSetBackground(7, DrawingUtils::LightColour(wxT("BLUE"), 8));
-}
-
-size_t FindResultsTab::GetPageCount() const
-{
- return m_book->GetPageCount();
-}
-
-void FindResultsTab::AppendText(const wxString& line)
-{
- wxScintilla *save = NULL;
- if (m_recv) {
- // so OutputTabWindow::AppendText() writes to the correct page
- save = m_sci;
- m_sci = m_recv;
- }
- OutputTabWindow::AppendText(line);
- if (save) {
- m_sci = save;
- }
-}
-
-void FindResultsTab::Clear()
-{
- MatchInfo& matchInfo = GetMatchInfo(m_book ? m_book->GetSelection() : 0);
- matchInfo.clear();
- OutputTabWindow::Clear();
-}
-
-void FindResultsTab::OnPageChanged(NotebookEvent& e)
-{
- // this function can't be called unless m_book != NULL
- m_sci = dynamic_cast<wxScintilla*>(m_book->GetCurrentPage());
- m_tb->ToggleTool(XRCID("word_wrap_output"), m_sci->GetWrapMode() == wxSCI_WRAP_WORD);
-}
-
-void FindResultsTab::OnPageClosed(NotebookEvent& e)
-{
- // this function can't be called unless m_book != NULL
- ListMatchInfos::iterator itMatchInfo = m_matchInfo.begin();
- for (size_t i = 0; i < e.GetSelection(); ++i) {
- ++itMatchInfo;
- }
- m_matchInfo.erase(itMatchInfo);
-
- // Create a page if there is no more
- if (m_book->GetPageCount() == 0) {
- m_sci = NULL;
- }
-}
-
-void FindResultsTab::OnFindInFiles(wxCommandEvent &e)
-{
- LoadFindInFilesData();
-
- if (m_recv) {
- wxMessageBox(_("The search thread is currently busy"), wxT("CodeLite"), wxICON_INFORMATION|wxOK);
- return;
- }
- wxString rootDir = e.GetString();
- if (!rootDir.IsEmpty()) {
- m_find->SetRootDir(rootDir);
- }
-
- if (m_find->IsShown() == false) m_find->Show();
-}
-
-void FindResultsTab::OnSearchStart(wxCommandEvent& e)
-{
- m_searchInProgress = true;
- SearchData *data = (SearchData*) e.GetClientData();
- wxString label = data ? data->GetFindString() : wxT("");
-
- if (e.GetInt() != 0 || m_sci == NULL) {
- if (m_book) {
- wxWindowUpdateLocker locker(this);
- wxScintilla *sci = new wxScintilla(m_book);
- SetStyles(sci);
-
- // Make sure we can add more tabs, if not delete the last used tab and then add
- // a new tab
-
- long MaxBuffers(15);
- EditorConfigST::Get()->GetLongValue(wxT("MaxOpenedTabs"), MaxBuffers);
-
- if( (long)m_book->GetPageCount() >= MaxBuffers ) {
- // We have reached the limit of the number of open buffers
- // Close the last used buffer
- const wxArrayPtrVoid &arr = m_book->GetHistory();
- if ( arr.GetCount() ) {
- CustomTab *tab = static_cast<CustomTab*>(arr.Item(arr.GetCount()-1));
- m_book->DeletePage( m_book->GetTabContainer()->TabToIndex(tab) );
- }
- }
-
- m_book->AddPage(sci, label, label, wxNullBitmap, true);
- size_t where = m_book->GetPageCount() - 1;
-
- // keep the search data used for this tab
- CustomTab *tab = m_book->GetTabContainer()->IndexToTab(where);
- if (tab) {
- tab->SetUserData(data);
- }
-
- m_matchInfo.push_back(MatchInfo());
- m_sci = sci;
- }
- } else if (m_book) {
- // using current tab, update the tab title and the search data
- size_t where = m_book->GetPageIndex(m_sci);
- if (where != Notebook::npos) {
- m_book->SetPageText(where, label, label);
- // delete the old search data
- CustomTab *tab = m_book->GetTabContainer()->IndexToTab(where);
- SearchData *oldData = (SearchData *)tab->GetUserData();
- if (oldData) {
- delete oldData;
- }
- // set the new search data
- tab->SetUserData(data);
- }
- }
-
- m_recv = m_sci;
- Clear();
-
- if (data) {
- m_searchData = *data;
-
- wxString message;
- message << wxT("====== Searching for: '") << data->GetFindString()
- << wxT("'; Match case: ") << (data->IsMatchCase() ? wxT("true") : wxT("false"))
- << wxT(" ; Match whole word: ") << (data->IsMatchWholeWord() ? wxT("true") : wxT("false"))
- << wxT(" ; Regular expression: ") << (data->IsRegularExpression() ? wxT("true") : wxT("false"))
- << wxT(" ======\n");
- AppendText( message );
- }
-}
-
-void FindResultsTab::OnSearchMatch(wxCommandEvent& e)
-{
- SearchResultList *res = (SearchResultList*) e.GetClientData();
- if (!res)
- return;
-
- size_t m = m_book ? m_book->GetPageIndex(m_recv) : 0;
- MatchInfo& matchInfo = GetMatchInfo(m);
- for (SearchResultList::iterator iter = res->begin(); iter != res->end(); iter++) {
- if (matchInfo.empty() || matchInfo.rbegin()->second.GetFileName() != iter->GetFileName()) {
- AppendText(iter->GetFileName() + wxT("\n"));
- }
- int lineno = m_recv->GetLineCount()-1;
- matchInfo.insert(std::make_pair(lineno, *iter));
- wxString text = iter->GetPattern();
- int delta = -text.Length();
- text.Trim(false);
- delta += text.Length();
- text.Trim();
- wxString linenum = wxString::Format(wxT(" %4u: "), iter->GetLineNumber());
-
- SearchData d = GetSearchData(m_recv);
- if (d.GetDisplayScope()) {
- TagEntryPtr tag = TagsManagerST::Get()->FunctionFromFileLine(iter->GetFileName(), iter->GetLineNumber());
- if (tag) {
- linenum << wxT("[") << tag->GetPath() << wxT("] ");
- }
- }
- delta += linenum.Length();
- AppendText(linenum + text + wxT("\n"));
- m_recv->IndicatorFillRange(m_sci->PositionFromLine(lineno)+iter->GetColumn()+delta, iter->GetLen());
- }
- delete res;
-}
-
-void FindResultsTab::OnSearchEnded(wxCommandEvent& e)
-{
- m_searchInProgress = false;
- SearchSummary *summary = (SearchSummary*) e.GetClientData();
- if (!summary)
- return;
-
- AppendText(summary->GetMessage());
- delete summary;
- m_recv = NULL;
- if (m_tb->GetToolState(XRCID("scroll_on_output"))) {
- m_sci->GotoLine(0);
- }
-}
-
-void FindResultsTab::OnSearchCancel(wxCommandEvent &e)
-{
- m_searchInProgress = false;
- wxString *str = (wxString*) e.GetClientData();
- if (!str)
- return;
- AppendText(*str + wxT("\n"));
- delete str;
- m_recv = NULL;
-}
-
-void FindResultsTab::OnClearAll(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- if (m_recv != NULL) {
- SearchThreadST::Get()->StopSearch();
- }
- Clear();
-}
-
-void FindResultsTab::OnClearAllUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_recv != NULL || (m_sci && m_sci->GetLength() > 0));
-}
-
-void FindResultsTab::OnRepeatOutput(wxCommandEvent &e)
-{
- wxUnusedVar(e);
-
- if (m_book) {
- size_t sel = m_book->GetSelection();
- if (sel != Notebook::npos) {
- // get the search data used to generate the output on the selected tab
- CustomTab *tab = m_book->GetTabContainer()->IndexToTab(sel);
- if (tab) {
- SearchData *searchData = (SearchData *)tab->GetUserData();
- searchData->UseNewTab(false);
- SearchThreadST::Get()->PerformSearch(*searchData);
- }
- }
- }
-}
-
-void FindResultsTab::OnRepeatOutputUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_recv == NULL && m_sci && m_sci->GetLength() > 0);
-}
-
-void FindResultsTab::OnMouseDClick(wxScintillaEvent &e)
-{
- long pos = e.GetPosition();
- int line = m_sci->LineFromPosition(pos);
- int style = m_sci->GetStyleAt(pos);
-
- if (style == wxSCI_LEX_FIF_FILE || style == wxSCI_LEX_FIF_PROJECT) {
- m_sci->ToggleFold(line);
- } else {
- size_t n = m_book ? m_book->GetSelection() : 0;
- const MatchInfo& matchInfo = GetMatchInfo(n);
- MatchInfo::const_iterator m = matchInfo.find(line);
- if (m != matchInfo.end()) {
- DoOpenSearchResult( m->second, m_sci, m->first );
- }
- }
-
- m_sci->SetSelection(wxNOT_FOUND, pos);
-}
-
-long FindResultsTab::GetBookStyle()
-{
- return m_book->GetBookStyle();
-}
-
-SearchData FindResultsTab::GetSearchData(wxScintilla* sci)
-{
- if (m_book) {
- size_t i = m_book->GetPageIndex(sci);
- if (i != Notebook::npos) {
- CustomTab *tab = m_book->GetTabContainer()->IndexToTab(i);
- if (tab) {
- SearchData *data = (SearchData *) tab->GetUserData();
- if (data) {
- return *data;
- }
- }
- }
- return SearchData();
- } else {
- // in case we dont have a notebook (e.g. 'Replace In Files')
- // we use the global saved search data
- return m_searchData;
- }
-}
-
-void FindResultsTab::OnCloseAllTabs(wxCommandEvent& e)
-{
- wxUnusedVar( e );
- if (m_book) {
- m_book->DeleteAllPages(true);
- }
-}
-
-void FindResultsTab::OnCloseOtherTab(wxCommandEvent& e)
-{
- wxUnusedVar( e );
- if (m_book) {
- size_t idx = m_book->GetSelection();
- if (idx != Notebook::npos) {
- for (size_t i=0; i<idx; i++) {
- m_book->DeletePage((size_t)0);
- }
-
- size_t number = m_book->GetPageCount();
- for (size_t i = number - 1; i>0; i--) {
- m_book->DeletePage(i);
- }
- }
- }
-}
-
-void FindResultsTab::OnCloseTab(wxCommandEvent& e)
-{
- wxUnusedVar( e );
- if (m_book) {
- size_t idx = m_book->GetSelection();
- if (idx != Notebook::npos) {
- m_book->DeletePage(idx);
- }
- }
-}
-
-void FindResultsTab::OnTabMenuUI(wxUpdateUIEvent& e)
-{
- e.Enable( !m_searchInProgress );
-}
-
-void FindResultsTab::NextMatch()
-{
- // m_sci holds to the selected tab's scintilla editor
- if ( m_sci ) {
- const MatchInfo& matchInfo = GetMatchInfo( m_book ? m_book->GetSelection() : 0 );
-
- // locate the last match
- int firstLine = m_sci->MarkerNext(0, 255);
- if ( firstLine == wxNOT_FOUND ) {
- firstLine = 0;
- }
-
- // We found the last marker
- for (int i=firstLine+1; i<m_sci->GetLineCount(); i++) {
-
- // Find the next match
- MatchInfo::const_iterator iter = matchInfo.find(i);
- if ( iter != matchInfo.end() ) {
- SearchResult sr = iter->second;
-
- // open the new searchresult in the editor
- DoOpenSearchResult ( sr, m_sci, i );
- return;
- }
- }
- // if we are here, it means we are the end of the search results list, add a status message
- wxCommandEvent e(wxEVT_UPDATE_STATUS_BAR);
- e.SetEventObject(this);
- e.SetString(wxString::Format(wxT("Reached the end of 'find in files' search results list" )));
- e.SetInt(0);
- Frame::Get()->GetEventHandler()->AddPendingEvent(e);
- }
-}
-
-void FindResultsTab::PrevMatch()
-{
- // m_sci holds to the selected tab's scintilla editor
- if ( m_sci ) {
- const MatchInfo& matchInfo = GetMatchInfo( m_book ? m_book->GetSelection() : 0 );
-
- // locate the last match
- int firstLine = m_sci->MarkerPrevious(m_sci->GetLineCount()-1, 255);
- if ( firstLine == wxNOT_FOUND ) {
- firstLine = m_sci->GetLineCount();
- }
-
- // We found the last marker
- for (int i=firstLine-1; i>=0; i--) {
-
- // Find the next match
- MatchInfo::const_iterator iter = matchInfo.find(i);
- if ( iter != matchInfo.end() ) {
- SearchResult sr = iter->second;
-
- // open the new searchresult in the editor
- DoOpenSearchResult ( sr, m_sci, i );
- return;
- }
- }
- // if we are here, it means we are the top of the search results list, add a status message
- wxCommandEvent e(wxEVT_UPDATE_STATUS_BAR);
- e.SetEventObject(this);
- e.SetString(wxString::Format(wxT("Reached the begining of 'find in files' search results list" )));
- e.SetInt(0);
- Frame::Get()->GetEventHandler()->AddPendingEvent(e);
- }
-}
-
-void FindResultsTab::DoOpenSearchResult(const SearchResult &result, wxScintilla *sci, int markerLine)
-{
- if (!result.GetFileName().IsEmpty()) {
- LEditor *editor = Frame::Get()->GetMainBook()->OpenFile(result.GetFileName(), wxEmptyString, result.GetLineNumber()-1);
- if (editor && result.GetColumn() >= 0 && result.GetLen() >= 0) {
- int offset = editor->PositionFromLine(result.GetLineNumber()-1) + result.GetColumn();
- editor->EnsureVisible(result.GetLineNumber()-1);
- editor->SetSelection(offset, offset + result.GetLen());
-
- if ( sci ) {
- // remove the previous marker and add the new one
- sci->MarkerDeleteAll( 7 );
- sci->MarkerAdd(markerLine, 7 );
-
- // make the marked line visible
- int pos = sci->PositionFromLine(markerLine);
- sci->SetCurrentPos (pos);
- sci->SetSelectionStart (pos);
- sci->SetSelectionEnd (pos);
- sci->EnsureCaretVisible( );
- }
- }
- }
-}
-
-void FindResultsTab::OnStopSearch(wxCommandEvent& e)
-{
- // stop the search thread
- SearchThreadST::Get()->StopSearch();
-}
-
-void FindResultsTab::OnStopSearchUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_searchInProgress);
-}
diff --git a/LiteEditor/findresultstab.h b/LiteEditor/findresultstab.h
deleted file mode 100644
index 10c3b2b8..00000000
--- a/LiteEditor/findresultstab.h
+++ /dev/null
@@ -1,98 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : findresultstab.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __findresultstab__
-#define __findresultstab__
-
-#include <map>
-#include <list>
-#include "wx/wxscintilla.h"
-
-#include "custom_notebook.h"
-#include "outputtabwindow.h"
-#include "search_thread.h"
-#include "findinfilesdlg.h"
-
-// Map between the line numbers and a search results
-typedef std::map<int, SearchResult> MatchInfo;
-
-// List containing the match info for all tabs (pre location)
-typedef std::list<MatchInfo> ListMatchInfos;
-
-class FindResultsTab : public OutputTabWindow
-{
- SearchData m_searchData;
- bool m_searchInProgress;
-protected:
- static FindInFilesDialog *m_find;
-
- Notebook *m_book; // for multiple Find Results pages
- wxScintilla *m_recv; // the page that is receiving results of a search
-
- ListMatchInfos m_matchInfo;
-
- MatchInfo& GetMatchInfo(size_t idx = 0);
-
- void AppendText(const wxString &line);
- void Clear();
-
- virtual void OnPageClosed (NotebookEvent &e);
- virtual void OnPageChanged (NotebookEvent &e);
- virtual void OnFindInFiles (wxCommandEvent &e);
- virtual void OnSearchStart (wxCommandEvent &e);
- virtual void OnSearchMatch (wxCommandEvent &e);
- virtual void OnSearchEnded (wxCommandEvent &e);
- virtual void OnSearchCancel (wxCommandEvent &e);
- virtual void OnClearAll (wxCommandEvent &e);
- virtual void OnRepeatOutput (wxCommandEvent &e);
-
- virtual void OnCloseTab (wxCommandEvent &e);
- virtual void OnCloseAllTabs (wxCommandEvent &e);
- virtual void OnCloseOtherTab (wxCommandEvent &e);
- virtual void OnTabMenuUI (wxUpdateUIEvent &e);
-
- virtual void OnClearAllUI (wxUpdateUIEvent &e);
- virtual void OnRepeatOutputUI (wxUpdateUIEvent &e);
- virtual void OnMouseDClick (wxScintillaEvent &e);
-
- virtual void OnStopSearch (wxCommandEvent &e);
- virtual void OnStopSearchUI (wxUpdateUIEvent &e);
-
- SearchData GetSearchData (wxScintilla *sci );
- void DoOpenSearchResult(const SearchResult &result, wxScintilla *sci, int markerLine);
- DECLARE_EVENT_TABLE()
-
-public:
- FindResultsTab(wxWindow *parent, wxWindowID id, const wxString &name, bool useBook = false);
- ~FindResultsTab();
-
- void LoadFindInFilesData();
- void SaveFindInFilesData();
- long GetBookStyle();
- static void SetStyles(wxScintilla *sci);
- size_t GetPageCount() const ;
- void NextMatch();
- void PrevMatch();
-};
-#endif // __findresultstab__
diff --git a/LiteEditor/frame.cpp b/LiteEditor/frame.cpp
deleted file mode 100644
index 4ae86784..00000000
--- a/LiteEditor/frame.cpp
+++ /dev/null
@@ -1,3748 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : frame.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "precompiled_header.h"
-#include "open_resource_dialog.h" // New open resource
-#include <wx/busyinfo.h>
-#include "tags_parser_search_path_dlg.h"
-#include "includepathlocator.h"
-#include "outputviewcontrolbar.h"
-#include "clauidockart.h"
-
-#include <set>
-#include <list>
-#include <wx/clipbrd.h>
-#include <wx/numdlg.h>
-#include <wx/stdpaths.h>
-#include <wx/xrc/xmlres.h>
-#include <wx/splitter.h>
-#include <wx/aboutdlg.h>
-#include <wx/aui/framemanager.h>
-#include <wx/ffile.h>
-#include <wx/dir.h>
-
-#ifdef __WXGTK20__
-#include <gtk-2.0/gtk/gtk.h>
-#endif
-
-#include "imanager.h"
-#include "newversiondlg.h"
-#include "quickdebugdlg.h"
-#include "syntaxhighlightdlg.h"
-#include "dirsaver.h"
-#include "batchbuilddlg.h"
-#include "detachedpanesinfo.h"
-#include "custom_tab.h"
-#include "custom_tabcontainer.h"
-#include "dockablepanemenumanager.h"
-#include "dockablepane.h"
-#include "webupdatethread.h"
-#include "aboutdlg.h"
-#include "buildtabsettingsdata.h"
-#include "singleinstancethreadjob.h"
-#include "refactorindexbuildjob.h"
-#include "customstatusbar.h"
-#include "jobqueue.h"
-#include "threebuttondlg.h"
-#include "acceltabledlg.h"
-#include "drawingutils.h"
-#include "fileexplorertree.h"
-#include "newprojectdlg.h"
-#include "newworkspacedlg.h"
-#include "replaceinfilespanel.h"
-#include "pluginmgrdlg.h"
-#include "environmentconfig.h"
-#include "findresultstab.h"
-#include "buidltab.h"
-#include "errorstab.h"
-#include "frame.h"
-#include "symbol_tree.h"
-#include "cpp_symbol_tree.h"
-#include "plugin.h"
-#include "language.h"
-#include "editor_config.h"
-#include "manager.h"
-#include "menumanager.h"
-#include "search_thread.h"
-#include "project.h"
-#include "fileview.h"
-#include "configuration_manager_dlg.h"
-#include "filedroptarget.h"
-#include "advanced_settings.h"
-#include "build_settings_config.h"
-#include "macros.h"
-#include "async_executable_cmd.h"
-#include "workspace_pane.h"
-#include "navigationmanager.h"
-#include "debuggermanager.h"
-#include "breakpointdlg.h"
-#include "generalinfo.h"
-#include "debuggersettingsdlg.h"
-#include "quickoutlinedlg.h"
-#include "debuggerpane.h"
-#include "sessionmanager.h"
-#include "pluginmanager.h"
-#include "exelocator.h"
-#include "builder.h"
-#include "buildmanager.h"
-#include "debuggerconfigtool.h"
-#include "openwindowspanel.h"
-#include "workspace_pane.h"
-#include "globals.h"
-#include "workspacetab.h"
-#include "fileexplorer.h"
-#include "custom_notebook.h"
-#include "options_dlg2.h"
-#include <wx/msgdlg.h>
-#include "tabgroupdlg.h"
-#include "cl_defs.h"
-
-// from auto-generated file svninfo.cpp:
-extern wxString CODELITE_VERSION_STR;
-extern const wxChar *SvnRevision;
-
-// from iconsextra.cpp:
-extern char *cubes_xpm[];
-extern unsigned char cubes_alpha[];
-
-static int FrameTimerId = wxNewId();
-
-const wxEventType wxEVT_UPDATE_STATUS_BAR = XRCID("update_status_bar");
-const wxEventType wxEVT_LOAD_PERSPECTIVE = XRCID("load_perspective");
-
-#define CHECK_SHUTDOWN() {\
- if(ManagerST::Get()->IsShutdownInProgress()){\
- return;\
- }\
-}
-
-//----------------------------------------------------------------
-// Our main frame
-//----------------------------------------------------------------
-BEGIN_EVENT_TABLE(Frame, wxFrame)
- // ATTN: Any item that appears in more than one menu is
- // only listed once here, the first time it occurs
-
- //---------------------------------------------------
- // System events
- //---------------------------------------------------
- //EVT_IDLE(Frame::OnIdle)
- EVT_ACTIVATE(Frame::OnAppActivated)
- EVT_CLOSE(Frame::OnClose)
- EVT_TIMER(FrameTimerId, Frame::OnTimer)
- // EVT_AUI_RENDER(Frame::OnAuiManagerRender)
- // EVT_AUI_PANE_CLOSE(Frame::OnDockablePaneClosed)
-
- //---------------------------------------------------
- // File menu
- //---------------------------------------------------
- EVT_MENU(XRCID("new_file"), Frame::OnFileNew)
- EVT_MENU(XRCID("open_file"), Frame::OnFileOpen)
- EVT_MENU(XRCID("refresh_file"), Frame::OnFileReload)
- EVT_MENU(XRCID("load_tab_group"), Frame::OnFileLoadTabGroup)
- EVT_MENU(XRCID("save_file"), Frame::OnSave)
- EVT_MENU(XRCID("save_file_as"), Frame::OnSaveAs)
- EVT_MENU(XRCID("save_all"), Frame::OnFileSaveAll)
- EVT_MENU(XRCID("save_tab_group"), Frame::OnFileSaveTabGroup)
- EVT_MENU(XRCID("close_file"), Frame::OnFileClose)
- EVT_MENU(wxID_CLOSE_ALL, Frame::OnFileCloseAll)
- EVT_MENU_RANGE(RecentFilesSubMenuID, RecentFilesSubMenuID + 10, Frame::OnRecentFile)
- EVT_MENU_RANGE(RecentWorkspaceSubMenuID, RecentWorkspaceSubMenuID + 10, Frame::OnRecentWorkspace)
- EVT_MENU(XRCID("load_last_session"), Frame::OnLoadLastSession)
- EVT_MENU(XRCID("exit_app"), Frame::OnQuit)
-
- EVT_UPDATE_UI(XRCID("refresh_file"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("save_file"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("save_file_as"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("save_all"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("save_tab_group"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("close_file"), Frame::OnFileCloseUI)
- EVT_UPDATE_UI(XRCID("load_last_session"), Frame::OnLoadLastSessionUI)
-
- //--------------------------------------------------
- // Edit menu
- //--------------------------------------------------
- EVT_MENU(wxID_UNDO, Frame::DispatchCommandEvent)
- EVT_MENU(wxID_REDO, Frame::DispatchCommandEvent)
- EVT_MENU(wxID_DUPLICATE, Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("delete_line"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("delete_line_end"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("delete_line_start"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("transpose_lines"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("to_upper"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("to_lower"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("match_brace"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("select_to_brace"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("complete_word"), Frame::OnCompleteWord)
- EVT_MENU(XRCID("function_call_tip"), Frame::OnFunctionCalltip)
- EVT_MENU(XRCID("convert_eol_win"), Frame::OnConvertEol)
- EVT_MENU(XRCID("convert_eol_unix"), Frame::OnConvertEol)
- EVT_MENU(XRCID("convert_eol_mac"), Frame::OnConvertEol)
-
- EVT_UPDATE_UI(wxID_UNDO, Frame::DispatchUpdateUIEvent)
- EVT_UPDATE_UI(wxID_REDO, Frame::DispatchUpdateUIEvent)
- EVT_UPDATE_UI(wxID_DUPLICATE, Frame::DispatchUpdateUIEvent)
- EVT_UPDATE_UI(XRCID("delete_line"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("delete_line_end"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("delete_line_start"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("transpose_lines"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("to_upper"), Frame::DispatchUpdateUIEvent)
- EVT_UPDATE_UI(XRCID("to_lower"), Frame::DispatchUpdateUIEvent)
- EVT_UPDATE_UI(XRCID("match_brace"), Frame::DispatchUpdateUIEvent)
- EVT_UPDATE_UI(XRCID("select_to_brace"), Frame::DispatchUpdateUIEvent)
- EVT_UPDATE_UI(XRCID("complete_word"), Frame::OnCompleteWordUpdateUI)
- EVT_UPDATE_UI(XRCID("function_call_tip"), Frame::OnFunctionCalltipUI)
- EVT_UPDATE_UI(XRCID("convert_eol_win"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("convert_eol_unix"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("convert_eol_mac"), Frame::OnFileExistUpdateUI)
-
- //-------------------------------------------------------
- // View menu
- //-------------------------------------------------------
- EVT_MENU(XRCID("word_wrap"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("toggle_fold"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("fold_all"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("display_eol"), Frame::OnViewDisplayEOL)
- EVT_MENU(XRCID("whitepsace_invisible"), Frame::OnShowWhitespace)
- EVT_MENU(XRCID("whitepsace_always"), Frame::OnShowWhitespace)
- EVT_MENU(XRCID("whitespace_visiable_after_indent"), Frame::OnShowWhitespace)
- EVT_MENU(XRCID("whitespace_indent_only"), Frame::OnShowWhitespace)
- EVT_MENU(XRCID("full_screen"), Frame::OnShowFullScreen)
- EVT_MENU(XRCID("view_welcome_page"), Frame::OnShowWelcomePage)
- EVT_MENU(XRCID("view_welcome_page_at_startup"), Frame::OnLoadWelcomePage)
- EVT_MENU(XRCID("show_nav_toolbar"), Frame::OnShowNavBar)
- EVT_MENU(XRCID("toggle_panes"), Frame::OnTogglePanes)
- EVT_MENU_RANGE(viewAsMenuItemID, viewAsMenuItemMaxID, Frame::DispatchCommandEvent)
-
- EVT_UPDATE_UI(XRCID("word_wrap"), Frame::DispatchUpdateUIEvent)
- EVT_UPDATE_UI(XRCID("toggle_fold"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("fold_all"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("display_eol"), Frame::OnViewDisplayEOL_UI)
- EVT_UPDATE_UI(XRCID("whitepsace_invisible"), Frame::OnShowWhitespaceUI)
- EVT_UPDATE_UI(XRCID("whitepsace_always"), Frame::OnShowWhitespaceUI)
- EVT_UPDATE_UI(XRCID("whitespace_visiable_after_indent"), Frame::OnShowWhitespaceUI)
- EVT_UPDATE_UI(XRCID("whitespace_indent_only"), Frame::OnShowWhitespaceUI)
- EVT_UPDATE_UI(XRCID("view_welcome_page"), Frame::OnShowWelcomePageUI)
- EVT_UPDATE_UI(XRCID("view_welcome_page_at_startup"), Frame::OnLoadWelcomePageUI)
- EVT_UPDATE_UI(XRCID("show_nav_toolbar"), Frame::OnShowNavBarUI)
- EVT_UPDATE_UI(viewAsSubMenuID, Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI_RANGE(viewAsMenuItemID, viewAsMenuItemMaxID, Frame::DispatchUpdateUIEvent)
-
- //-------------------------------------------------------
- // Search menu
- //-------------------------------------------------------
- EVT_MENU(wxID_FIND, Frame::DispatchCommandEvent)
- EVT_MENU(wxID_REPLACE, Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("find_function"), Frame::OnFindResourceXXX )
- EVT_MENU(XRCID("find_macro"), Frame::OnFindResourceXXX )
- EVT_MENU(XRCID("find_typedef"), Frame::OnFindResourceXXX )
- EVT_MENU(XRCID("find_resource"), Frame::OnFindResourceXXX )
- EVT_MENU(XRCID("find_type"), Frame::OnFindResourceXXX )
- EVT_MENU(XRCID("find_next"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("find_previous"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("find_next_at_caret"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("find_previous_at_caret"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("incremental_search"), Frame::OnIncrementalSearch )
- EVT_MENU(XRCID("find_symbol"), Frame::OnQuickOutline )
- EVT_MENU(XRCID("goto_definition"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("goto_previous_definition"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("goto_linenumber"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("toggle_bookmark"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("next_bookmark"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("previous_bookmark"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("removeall_bookmarks"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("next_fif_match"), Frame::OnNextFiFMatch )
- EVT_MENU(XRCID("previous_fif_match"), Frame::OnPreviousFiFMatch )
-
- EVT_UPDATE_UI(wxID_FIND, Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(wxID_REPLACE, Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("find_next"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("find_previous"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("find_next_at_caret"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("find_previous_at_caret"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("incremental_search"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("find_resource"), Frame::OnWorkspaceOpen )
- EVT_UPDATE_UI(XRCID("find_type"), Frame::OnWorkspaceOpen )
- EVT_UPDATE_UI(XRCID("find_function"), Frame::OnWorkspaceOpen )
- EVT_UPDATE_UI(XRCID("find_macro"), Frame::OnWorkspaceOpen )
- EVT_UPDATE_UI(XRCID("find_typedef"), Frame::OnWorkspaceOpen )
-
- EVT_UPDATE_UI(XRCID("find_symbol"), Frame::OnCompleteWordUpdateUI)
- EVT_UPDATE_UI(XRCID("goto_definition"), Frame::DispatchUpdateUIEvent )
- EVT_UPDATE_UI(XRCID("goto_previous_definition"),Frame::DispatchUpdateUIEvent )
- EVT_UPDATE_UI(XRCID("goto_linenumber"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("toggle_bookmark"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("next_bookmark"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("previous_bookmark"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("removeall_bookmarks"), Frame::OnFileExistUpdateUI )
- EVT_UPDATE_UI(XRCID("next_fif_match"), Frame::OnNextFiFMatchUI )
- EVT_UPDATE_UI(XRCID("previous_fif_match"), Frame::OnPreviousFiFMatchUI )
-
- //-------------------------------------------------------
- // Project menu
- //-------------------------------------------------------
- EVT_MENU(XRCID("local_workspace_prefs"), Frame::OnWorkspaceEditorPreferences)
- EVT_MENU(XRCID("local_workspace_settings"), Frame::OnWorkspaceSettings)
- EVT_MENU(XRCID("new_workspace"), Frame::OnProjectNewWorkspace)
- EVT_MENU(XRCID("switch_to_workspace"), Frame::OnSwitchWorkspace)
- EVT_MENU(XRCID("close_workspace"), Frame::OnCloseWorkspace)
- EVT_MENU(XRCID("reload_workspace"), Frame::OnReloadWorkspace)
- EVT_MENU(XRCID("import_from_msvs"), Frame::OnImportMSVS)
- EVT_MENU(XRCID("new_project"), Frame::OnProjectNewProject)
- EVT_MENU(XRCID("add_project"), Frame::OnProjectAddProject)
- EVT_MENU(XRCID("retag_workspace"), Frame::OnRetagWorkspace)
- EVT_MENU(XRCID("full_retag_workspace"), Frame::OnRetagWorkspace)
- EVT_MENU(XRCID("project_properties"), Frame::OnShowActiveProjectSettings)
-
- EVT_UPDATE_UI(XRCID("local_workspace_prefs"), Frame::OnWorkspaceOpen)
- EVT_UPDATE_UI(XRCID("local_workspace_settings"), Frame::OnWorkspaceOpen)
- EVT_UPDATE_UI(XRCID("close_workspace"), Frame::OnWorkspaceOpen)
- EVT_UPDATE_UI(XRCID("reload_workspace"), Frame::OnReloadWorkspaceUI)
- EVT_UPDATE_UI(XRCID("add_project"), Frame::OnWorkspaceMenuUI)
- EVT_UPDATE_UI(XRCID("retag_workspace"), Frame::OnWorkspaceOpen)
- EVT_UPDATE_UI(XRCID("full_retag_workspace"), Frame::OnWorkspaceOpen)
- EVT_UPDATE_UI(XRCID("project_properties"), Frame::OnShowActiveProjectSettingsUI)
-
- //-------------------------------------------------------
- // Build menu
- //-------------------------------------------------------
- EVT_MENU(XRCID("execute_no_debug"), Frame::OnExecuteNoDebug)
- EVT_MENU(XRCID("stop_executed_program"), Frame::OnStopExecutedProgram)
- EVT_MENU(XRCID("build_active_project"), Frame::OnBuildProject)
- EVT_MENU(XRCID("compile_active_file"), Frame::OnCompileFile)
- EVT_MENU(XRCID("clean_active_project"), Frame::OnCleanProject)
- EVT_MENU(XRCID("stop_active_project_build"), Frame::OnStopBuild)
- EVT_MENU(XRCID("rebuild_active_project"), Frame::OnRebuildProject)
- EVT_MENU(XRCID("build_n_run_active_project"), Frame::OnBuildAndRunProject)
- EVT_MENU(XRCID("build_workspace"), Frame::OnBuildWorkspace)
- EVT_MENU(XRCID("clean_workspace"), Frame::OnCleanWorkspace)
- EVT_MENU(XRCID("rebuild_workspace"), Frame::OnReBuildWorkspace)
- EVT_MENU(XRCID("batch_build"), Frame::OnBatchBuild)
-
- EVT_UPDATE_UI(XRCID("execute_no_debug"), Frame::OnExecuteNoDebugUI)
- EVT_UPDATE_UI(XRCID("stop_executed_program"), Frame::OnStopExecutedProgramUI)
- EVT_UPDATE_UI(XRCID("build_active_project"), Frame::OnBuildProjectUI)
- EVT_UPDATE_UI(XRCID("compile_active_file"), Frame::OnCompileFileUI)
- EVT_UPDATE_UI(XRCID("clean_active_project"), Frame::OnCleanProjectUI)
- EVT_UPDATE_UI(XRCID("stop_active_project_build"), Frame::OnStopBuildUI)
- EVT_UPDATE_UI(XRCID("rebuild_active_project"), Frame::OnBuildProjectUI)
- EVT_UPDATE_UI(XRCID("build_n_run_active_project"), Frame::OnBuildProjectUI)
- EVT_UPDATE_UI(XRCID("build_workspace"), Frame::OnBuildWorkspaceUI)
- EVT_UPDATE_UI(XRCID("clean_workspace"), Frame::OnCleanWorkspaceUI)
- EVT_UPDATE_UI(XRCID("rebuild_workspace"), Frame::OnReBuildWorkspaceUI)
- EVT_UPDATE_UI(XRCID("batch_build"), Frame::OnBatchBuildUI)
-
- //-------------------------------------------------------
- // Debug menu
- //-------------------------------------------------------
- EVT_MENU(XRCID("start_debugger"), Frame::OnDebug)
- EVT_MENU(XRCID("restart_debugger"), Frame::OnDebugRestart)
- EVT_MENU(XRCID("attach_debugger"), Frame::OnDebugAttach)
- EVT_MENU(XRCID("pause_debugger"), Frame::OnDebugCmd)
- EVT_MENU(XRCID("stop_debugger"), Frame::OnDebugStop)
- EVT_MENU(XRCID("dbg_stepin"), Frame::OnDebugCmd)
- EVT_MENU(XRCID("dbg_stepout"), Frame::OnDebugCmd)
- EVT_MENU(XRCID("dbg_next"), Frame::OnDebugCmd)
- EVT_MENU(XRCID("show_cursor"), Frame::OnDebugCmd)
- EVT_MENU(XRCID("add_breakpoint"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("insert_breakpoint"), Frame::DispatchCommandEvent) // Toggles
- EVT_MENU(XRCID("insert_temp_breakpoint"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("insert_cond_breakpoint"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("edit_breakpoint"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("show_breakpoint_dlg"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("insert_watchpoint"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("toggle_breakpoint_enabled_status"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("ignore_breakpoint"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("delete_breakpoint"), Frame::DispatchCommandEvent)
- EVT_MENU(XRCID("quick_debug"), Frame::OnQuickDebug)
-
- EVT_UPDATE_UI(XRCID("start_debugger"), Frame::OnDebugUI)
- EVT_UPDATE_UI(XRCID("restart_debugger"), Frame::OnDebugRestartUI)
- EVT_UPDATE_UI(XRCID("pause_debugger"), Frame::OnDebugCmdUI)
- EVT_UPDATE_UI(XRCID("stop_debugger"), Frame::OnDebugStopUI)
- EVT_UPDATE_UI(XRCID("dbg_stepin"), Frame::OnDebugCmdUI)
- EVT_UPDATE_UI(XRCID("dbg_stepout"), Frame::OnDebugCmdUI)
- EVT_UPDATE_UI(XRCID("dbg_next"), Frame::OnDebugCmdUI)
- EVT_UPDATE_UI(XRCID("show_cursor"), Frame::OnDebugCmdUI)
- EVT_UPDATE_UI(XRCID("insert_breakpoint"), Frame::OnDebugManageBreakpointsUI)
- EVT_UPDATE_UI(XRCID("quick_debug"), Frame::OnQuickDebugUI)
-
- //-------------------------------------------------------
- // Plugins menu
- //-------------------------------------------------------
- EVT_MENU(XRCID("manage_plugins"), Frame::OnManagePlugins)
-
- //-------------------------------------------------------
- // Settings menu
- //-------------------------------------------------------
- EVT_MENU(wxID_PREFERENCES, Frame::OnViewOptions)
- EVT_MENU(XRCID("syntax_highlight"), Frame::OnSyntaxHighlight)
- EVT_MENU(XRCID("configure_accelerators"), Frame::OnConfigureAccelerators)
- EVT_MENU(XRCID("add_envvar"), Frame::OnAddEnvironmentVariable)
- EVT_MENU(XRCID("advance_settings"), Frame::OnAdvanceSettings)
- EVT_MENU(XRCID("debuger_settings"), Frame::OnDebuggerSettings)
- EVT_MENU(XRCID("tags_options"), Frame::OnCtagsOptions)
-
- //-------------------------------------------------------
- // Help menu
- //-------------------------------------------------------
- EVT_MENU(wxID_ABOUT, Frame::OnAbout)
- EVT_MENU(XRCID("check_for_update"), Frame::OnCheckForUpdate)
-
- //-----------------------------------------------------------------
- // Toolbar
- //-----------------------------------------------------------------
- EVT_MENU(wxID_FORWARD, Frame::OnBackwardForward)
- EVT_MENU(wxID_BACKWARD, Frame::OnBackwardForward)
- EVT_MENU(XRCID("highlight_word"), Frame::OnHighlightWord)
-
- EVT_UPDATE_UI(wxID_FORWARD, Frame::OnBackwardForwardUI)
- EVT_UPDATE_UI(wxID_BACKWARD, Frame::OnBackwardForwardUI)
-
- //-------------------------------------------------------
- // Workspace Pane tab context menu
- //-------------------------------------------------------
- EVT_MENU(XRCID("detach_wv_tab"), Frame::OnDetachWorkspaceViewTab)
-
- //-------------------------------------------------------
- // Debugger Pane tab context menu
- //-------------------------------------------------------
- EVT_MENU(XRCID("detach_dv_tab"), Frame::OnDetachDebuggerViewTab)
-
- //-------------------------------------------------------
- // Editor tab context menu
- //-------------------------------------------------------
- EVT_MENU(XRCID("close_other_tabs"), Frame::OnCloseAllButThis)
- EVT_MENU(XRCID("copy_file_name"), Frame::OnCopyFilePath)
- EVT_MENU(XRCID("copy_file_path"), Frame::OnCopyFilePathOnly)
- EVT_MENU(XRCID("detach_tab"), Frame::OnDetachTab)
- EVT_MENU(XRCID("open_shell_from_filepath"), Frame::OnOpenShellFromFilePath)
-
- EVT_UPDATE_UI(XRCID("copy_file_name"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("copy_file_path"), Frame::OnFileExistUpdateUI)
- EVT_UPDATE_UI(XRCID("detach_tab"), Frame::OnDetachTabUI)
- EVT_UPDATE_UI(XRCID("open_shell_from_filepath"), Frame::OnFileExistUpdateUI)
-
- //-----------------------------------------------------------------
- // Default editor context menu
- //-----------------------------------------------------------------
- EVT_MENU(wxID_DELETE, Frame::DispatchCommandEvent)
- EVT_UPDATE_UI(wxID_DELETE, Frame::DispatchUpdateUIEvent)
-
- //-----------------------------------------------------------------
- // C++ editor context menu
- //-----------------------------------------------------------------
- EVT_MENU(XRCID("add_include_file"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("swap_files"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("find_decl"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("find_impl"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("go_to_function_start"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("go_to_next_function"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("insert_doxy_comment"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("setters_getters"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("move_impl"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("add_impl"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("add_multi_impl"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("add_virtual_impl"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("add_pure_virtual_impl"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("rename_function"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("comment_selection"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("comment_line"), Frame::OnCppContextMenu)
- EVT_MENU(XRCID("retag_file"), Frame::OnCppContextMenu)
-
- //-----------------------------------------------------------------
- // Hyperlinks
- //-----------------------------------------------------------------
- EVT_HTML_LINK_CLICKED(wxID_ANY, Frame::OnLinkClicked)
- EVT_MENU(XRCID("link_action"), Frame::OnStartPageEvent)
-
- //-----------------------------------------------------------------
- // CodeLite-specific events
- //-----------------------------------------------------------------
- EVT_COMMAND(wxID_ANY, wxEVT_PARSE_THREAD_UPDATED_FILE_SYMBOLS, Frame::OnParsingThreadDone )
- EVT_COMMAND(wxID_ANY, wxEVT_PARSE_THREAD_MESSAGE , Frame::OnParsingThreadMessage)
- EVT_COMMAND(wxID_ANY, wxEVT_PARSE_THREAD_CLEAR_TAGS_CACHE, Frame::OnClearTagsCache)
- EVT_COMMAND(wxID_ANY, wxEVT_UPDATE_STATUS_BAR, Frame::OnSetStatusMessage)
- EVT_COMMAND(wxID_ANY, wxEVT_TAGS_DB_UPGRADE, Frame::OnDatabaseUpgrade )
- EVT_COMMAND(wxID_ANY, wxEVT_SHELL_COMMAND_PROCESS_ENDED, Frame::OnBuildEnded)
- EVT_MENU (XRCID("update_num_builders_count"), Frame::OnUpdateNumberOfBuildProcesses)
- EVT_MENU (XRCID("goto_codelite_download_url"), Frame::OnGotoCodeLiteDownloadPage)
-
- EVT_MENU (XRCID("never_update_parser_paths"), Frame::OnNeverUpdateParserPath)
- EVT_MENU (XRCID("update_parser_paths"), Frame::OnUpdateParserPath)
-
- EVT_SYMBOLTREE_ADD_ITEM(wxID_ANY, Frame::OnAddSymbols)
- EVT_SYMBOLTREE_DELETE_ITEM(wxID_ANY, Frame::OnDeleteSymbols)
- EVT_SYMBOLTREE_UPDATE_ITEM(wxID_ANY, Frame::OnUpdateSymbols)
-
- EVT_COMMAND(wxID_ANY, wxEVT_CMD_SINGLE_INSTANCE_THREAD_OPEN_FILES, Frame::OnSingleInstanceOpenFiles)
- EVT_COMMAND(wxID_ANY, wxEVT_CMD_SINGLE_INSTANCE_THREAD_RAISE_APP, Frame::OnSingleInstanceRaise)
-
- EVT_COMMAND(wxID_ANY, wxEVT_CMD_NEW_VERSION_AVAILABLE, Frame::OnNewVersionAvailable)
- EVT_COMMAND(wxID_ANY, wxEVT_CMD_VERSION_UPTODATE, Frame::OnNewVersionAvailable)
-
- EVT_COMMAND(wxID_ANY, wxEVT_CMD_NEW_DOCKPANE, Frame::OnNewDetachedPane)
- EVT_COMMAND(wxID_ANY, wxEVT_LOAD_PERSPECTIVE, Frame::OnLoadPerspective)
- EVT_COMMAND(wxID_ANY, wxEVT_CMD_DELETE_DOCKPANE, Frame::OnDestroyDetachedPane)
-
- EVT_MENU(wxEVT_CMD_RELOAD_EXTERNALLY_MODIFIED, Frame::OnReloadExternallModified)
- EVT_MENU(wxEVT_CMD_RELOAD_EXTERNALLY_MODIFIED_NOPROMPT, Frame::OnReloadExternallModifiedNoPrompt)
-END_EVENT_TABLE()
-
-
-Frame* Frame::m_theFrame = NULL;
-
-Frame::Frame(wxWindow *pParent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style)
- : wxFrame(pParent, id, title, pos, size, style)
- , m_buildAndRun(false)
- , m_cppMenu(NULL)
- , m_highlightWord(false)
-{
-#if defined(__WXGTK20__)
- // A rather ugly hack here. GTK V2 insists that F10 should be the
- // accelerator for the menu bar. We don't want that. There is
- // no sane way to turn this off, but we *can* get the same effect
- // by setting the "menu bar accelerator" property to the name of a
- // function key that is apparently legal, but doesn't really exist.
- // (Or if it does, it certainly isn't a key we use.)
- gtk_settings_set_string_property (gtk_settings_get_default (),
- "gtk-menu-bar-accel", "F15", "foo");
-
-#endif
-
- long value(0);
- EditorConfigST::Get()->GetLongValue(wxT("highlight_word"), value);
- m_highlightWord = (bool)value;
-
- CreateGUIControls();
-
- ManagerST::Get(); // Dummy call
-
- //allow the main frame to receive files by drag and drop
- SetDropTarget( new FileDropTarget() );
-
- // Start the search thread
- SearchThreadST::Get()->SetNotifyWindow(this);
- SearchThreadST::Get()->Start(WXTHREAD_MIN_PRIORITY);
-
- // start the job queue
- JobQueueSingleton::Instance()->Start(5);
-
- // the single instance job is a presisstent job, so the pool will contain only 4 available threads
- JobQueueSingleton::Instance()->PushJob(new SingleInstanceThreadJob(this, ManagerST::Get()->GetStarupDirectory()));
-
- //start the editor creator thread
- m_timer = new wxTimer(this, FrameTimerId);
-
- // connect common edit events
- wxTheApp->Connect(wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(Frame::DispatchCommandEvent), NULL, this);
- wxTheApp->Connect(wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(Frame::DispatchCommandEvent), NULL, this);
- wxTheApp->Connect(wxID_SELECTALL, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(Frame::DispatchCommandEvent), NULL, this);
- wxTheApp->Connect(wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(Frame::DispatchCommandEvent), NULL, this);
-
- wxTheApp->Connect(wxID_COPY, wxEVT_UPDATE_UI, wxUpdateUIEventHandler( Frame::DispatchUpdateUIEvent ), NULL, this);
- wxTheApp->Connect(wxID_PASTE, wxEVT_UPDATE_UI, wxUpdateUIEventHandler( Frame::DispatchUpdateUIEvent ), NULL, this);
- wxTheApp->Connect(wxID_SELECTALL, wxEVT_UPDATE_UI, wxUpdateUIEventHandler( Frame::DispatchUpdateUIEvent ), NULL, this);
- wxTheApp->Connect(wxID_CUT, wxEVT_UPDATE_UI, wxUpdateUIEventHandler( Frame::DispatchUpdateUIEvent ), NULL, this);
-}
-
-Frame::~Frame(void)
-{
- delete m_timer;
- ManagerST::Free();
- delete m_DPmenuMgr;
-
- // uninitialize AUI manager
- m_mgr.UnInit();
-}
-
-void Frame::Initialize(bool loadLastSession)
-{
- //set the revision number in the frame title
- wxString title(wxT("CodeLite - Revision: "));
- title << SvnRevision;
-
- //initialize the environment variable configuration manager
- EnvironmentConfig::Instance()->Load();
-
- EditorConfig *cfg = EditorConfigST::Get();
- GeneralInfo inf;
- cfg->ReadObject(wxT("GeneralInfo"), &inf);
-
- int screenW = wxSystemSettings::GetMetric(wxSYS_SCREEN_X);
- int screenH = wxSystemSettings::GetMetric(wxSYS_SCREEN_Y);
-
- // validate the frame loaded pos & size
- if (inf.GetFramePosition().x < 0 || inf.GetFramePosition().x > screenW) {
- inf.SetFramePosition(wxPoint(30, 3));
- }
-
- if (inf.GetFramePosition().y < 0 || inf.GetFramePosition().y > screenH) {
- inf.SetFramePosition(wxPoint(30, 3));
- }
-
- wxSize frameSize ( inf.GetFrameSize() );
- if ( inf.GetFrameSize().x < 400 || inf.GetFrameSize().x > screenW ) {
- frameSize.SetWidth( 400 );
- }
- if ( inf.GetFrameSize().y < 400 || inf.GetFrameSize().y > screenH ) {
- frameSize.SetHeight( 400 );
- }
-
- inf.SetFrameSize( frameSize );
-
- m_theFrame = new Frame( NULL,
- wxID_ANY,
- title,
- inf.GetFramePosition(),
- inf.GetFrameSize(),
- wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE);
-
- m_theFrame->m_frameGeneralInfo = inf;
-
- m_theFrame->Maximize(m_theFrame->m_frameGeneralInfo.GetFlags() & CL_MAXIMIZE_FRAME ? true : false);
-
- //add the welcome page
- if (m_theFrame->m_frameGeneralInfo.GetFlags() & CL_SHOW_WELCOME_PAGE) {
- m_theFrame->CreateWelcomePage();
- }
-
- //plugins must be loaded before the file explorer
- m_theFrame->CompleteInitialization();
-
- //time to create the file explorer
- wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, XRCID("go_home"));
- m_theFrame->GetFileExplorer()->GetEventHandler()->ProcessEvent(e);
-
- //load last session?
- if (m_theFrame->m_frameGeneralInfo.GetFlags() & CL_LOAD_LAST_SESSION && loadLastSession) {
- m_theFrame->LoadSession(SessionManager::Get().GetLastSession());
- }
-
- m_theFrame->SendSizeEvent();
- m_theFrame->StartTimer();
-
- // After all the plugins / panes have been loaded,
- // its time to re-load the perspective
- wxCommandEvent evt(wxEVT_LOAD_PERSPECTIVE);
- m_theFrame->AddPendingEvent( evt );
-}
-
-Frame* Frame::Get()
-{
- return m_theFrame;
-}
-
-void Frame::CreateGUIControls(void)
-{
-#ifdef __WXMSW__
- SetIcon(wxICON(aaaaa));
-#else
- wxImage img(cubes_xpm);
- img.SetAlpha(cubes_alpha, true);
- wxBitmap bmp(img);
- wxIcon icon;
- icon.CopyFromBitmap(bmp);
- SetIcon(icon);
-#endif
- m_mainPanel = new wxPanel(this);
- wxBoxSizer *mainSizer = new wxBoxSizer(wxVERTICAL);
- SetSizer(mainSizer);
-
- mainSizer->Add(m_mainPanel, 1, wxEXPAND);
-
- // tell wxAuiManager to manage this frame
- m_mgr.SetManagedWindow(m_mainPanel);
- m_mgr.SetArtProvider(new CLAuiDockArt());
-
-#ifndef __WXMSW__
- m_mgr.SetFlags(m_mgr.GetFlags() | wxAUI_MGR_ALLOW_ACTIVE_PANE);
-#endif
-
-// Mac / Linux
-#if defined (__WXMAC__) || defined (__WXGTK__)
- m_mgr.GetArtProvider()->SetColor(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR, wxSystemSettings::GetColour(wxSYS_COLOUR_ACTIVECAPTION));
- m_mgr.GetArtProvider()->SetColor(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR, DrawingUtils::GetPanelBgColour());
- m_mgr.GetArtProvider()->SetColor(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR, wxSystemSettings::GetColour(wxSYS_COLOUR_CAPTIONTEXT));
- m_mgr.GetArtProvider()->SetColor(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR, wxSystemSettings::GetColour(wxSYS_COLOUR_INACTIVECAPTIONTEXT));
- m_mgr.GetArtProvider()->SetColor(wxAUI_DOCKART_SASH_COLOUR, DrawingUtils::GetPanelBgColour());
- m_mgr.GetArtProvider()->SetColor(wxAUI_DOCKART_BACKGROUND_COLOUR, DrawingUtils::GetPanelBgColour());
-#endif
-
- //initialize debugger configuration tool
- DebuggerConfigTool::Get()->Load(wxT("config/debuggers.xml"), wxT("2.0.2"));
- WorkspaceST::Get()->SetStartupDir(ManagerST::Get()->GetStarupDirectory());
-
-#if defined (__WXGTK__) && defined (__WXDEBUG__)
- m_mgr.SetFlags(wxAUI_MGR_ALLOW_FLOATING|wxAUI_MGR_ALLOW_ACTIVE_PANE|wxAUI_MGR_TRANSPARENT_DRAG|wxAUI_MGR_RECTANGLE_HINT);
-
-#elif defined(__WXGTK__)
- m_mgr.SetFlags(m_mgr.GetFlags() & ~wxAUI_MGR_TRANSPARENT_HINT);
- m_mgr.SetFlags(m_mgr.GetFlags() | wxAUI_MGR_VENETIAN_BLINDS_HINT);
-
-#endif
-
- m_mgr.GetArtProvider()->SetMetric(wxAUI_DOCKART_GRADIENT_TYPE, wxAUI_GRADIENT_NONE);
- m_mgr.GetArtProvider()->SetMetric(wxAUI_DOCKART_PANE_BORDER_SIZE, 1);
- m_mgr.GetArtProvider()->SetMetric(wxAUI_DOCKART_SASH_SIZE, 6);
-
- // Load the menubar from XRC and set this frame's menubar to it.
- SetMenuBar(wxXmlResource::Get()->LoadMenuBar(wxT("main_menu")));
-
- // Set up dynamic parts of menu.
- CreateViewAsSubMenu();
- CreateRecentlyOpenedWorkspacesMenu();
- m_DPmenuMgr = new DockablePaneMenuManager(GetMenuBar(), &m_mgr);
-
- //---------------------------------------------
- // Add docking windows
- //---------------------------------------------
-
- m_outputPane = new OutputPane(m_mainPanel, wxT("Output View"));
- wxAuiPaneInfo paneInfo;
- m_mgr.AddPane(m_outputPane, paneInfo.Name(wxT("Output View")).Caption(wxT("Output View")).Bottom().Layer(2).Position(1).CaptionVisible(false));
- RegisterDockWindow(XRCID("output_pane"), wxT("Output View"));
-
- // Add the explorer pane
- m_workspacePane = new WorkspacePane(m_mainPanel, wxT("Workspace View"), &m_mgr);
- m_mgr.AddPane(m_workspacePane, wxAuiPaneInfo().
- Name(m_workspacePane->GetCaption()).Caption(m_workspacePane->GetCaption()).
- Left().BestSize(250, 300).Layer(2).Position(0).CloseButton(true));
- RegisterDockWindow(XRCID("workspace_pane"), wxT("Workspace View"));
-
- //add the debugger locals tree, make it hidden by default
- m_debuggerPane = new DebuggerPane(m_mainPanel, wxT("Debugger"), &m_mgr);
- m_mgr.AddPane(m_debuggerPane,
- wxAuiPaneInfo().Name(m_debuggerPane->GetCaption()).Caption(m_debuggerPane->GetCaption()).Bottom().Layer(1).Position(1).CloseButton(true).Hide());
- RegisterDockWindow(XRCID("debugger_pane"), wxT("Debugger"));
-
- m_mainBook = new MainBook(m_mainPanel);
- m_mgr.AddPane(m_mainBook, wxAuiPaneInfo().Name(wxT("Editor")).CenterPane().PaneBorder(true));
- CreateRecentlyOpenedFilesMenu();
-
- long show_nav(1);
- EditorConfigST::Get()->GetLongValue(wxT("ShowNavBar"), show_nav);
- if ( !show_nav ) {
- m_mainBook->ShowNavBar( false );
- }
-
- BuildSettingsConfigST::Get()->Load(wxT("2.0.4"));
-
- //load dialog properties
- EditorConfigST::Get()->ReadObject(wxT("FindAndReplaceData"), &LEditor::GetFindReplaceData());
- EditorConfigST::Get()->ReadObject(wxT("m_tagsOptionsData"), &m_tagsOptionsData);
-
- TagsManager *tagsManager = TagsManagerST::Get();
-
- //start ctags process
-#if defined (__WXMAC__)
- // On Mac OSX, search the codelite_indexer in the correct path
- tagsManager->SetCodeLiteIndexerPath(wxStandardPaths::Get().GetDataDir());
-#else
- // set the path to codelite_indexer
- wxFileName exePath( wxStandardPaths::Get().GetExecutablePath() );
- tagsManager->SetCodeLiteIndexerPath(exePath.GetPath());
- ManagerST::Get()->SetCodeLiteLauncherPath(exePath.GetPath());
-#endif
- tagsManager->StartCtagsProcess();
-
- //--------------------------------------------------------------------------------------
- // Start the parsing thread, the parsing thread and the SymbolTree (or its derived)
- // Are connected. The constructor of SymbolTree, calls ParseThreadST::Get()->SetNotifyWindow(this)
- // to allows it to receive events for gui changes.
- //
- // If you wish to connect another object for it, simply call ParseThreadST::Get()->SetNotifyWindow(this)
- // with another object as 'this'
- //--------------------------------------------------------------------------------------
-
- // Update the parser thread search paths
- ParseThreadST::Get()->SetCrawlerEnabeld(m_tagsOptionsData.GetParserEnabled());
- ParseThreadST::Get()->SetSearchPaths( m_tagsOptionsData.GetParserSearchPaths(), m_tagsOptionsData.GetParserExcludePaths() );
-
- ParseThreadST::Get()->Start();
-
- // Connect this tree to the parse thread
- ParseThreadST::Get()->SetNotifyWindow( this );
-
- // And finally create a status bar
- wxStatusBar* statusBar = new wxStatusBar(this, wxID_ANY);
- SetStatusBar(statusBar);
- m_status.resize(3);
- GetStatusBar()->SetFieldsCount(m_status.size());
- SetStatusMessage(wxT("Ready"), 0);
- SetStatusMessage(wxT("Done"), m_status.size()-1);
-
- // update ctags options
- TagsManagerST::Get()->SetCtagsOptions(m_tagsOptionsData);
-
- // set this frame as the event handler for any events
- TagsManagerST::Get()->SetEvtHandler( this );
-
- //load windows perspective
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- if (options) {
- if (options->GetIconsSize() == 16) {
- CreateToolbars16();
- } else {
- CreateToolbars24();
- }
- } else {
- CreateToolbars24();
- }
-
- //load the tab right click menu
- GetWorkspacePane()->GetNotebook()->SetRightClickMenu(wxXmlResource::Get()->LoadMenu(wxT("workspace_view_right_click_menu")));
- GetDebuggerPane()->GetNotebook()->SetRightClickMenu(wxXmlResource::Get()->LoadMenu(wxT("debugger_view_right_click_menu")));
-
- // construct the output view control bar
- m_controlBar = new OutputViewControlBar(this, GetOutputPane()->GetNotebook(), &m_mgr, wxID_ANY);
- mainSizer->Add(m_controlBar, 0, wxEXPAND);
-
- m_mgr.Update();
- SetAutoLayout (true);
-
- //load debuggers
- DebuggerMgr::Get().Initialize(this, EnvironmentConfig::Instance(), ManagerST::Get()->GetInstallDir());
- DebuggerMgr::Get().LoadDebuggers();
-
- wxString sessConfFile;
- sessConfFile << ManagerST::Get()->GetStarupDirectory() << wxT("/config/sessions.xml");
- SessionManager::Get().Load(sessConfFile);
-
- //try to locate the build tools
-
- long fix(1);
- EditorConfigST::Get()->GetLongValue(wxT("FixBuildToolOnStartup"), fix);
- if ( fix ) {
- UpdateBuildTools();
- }
-
- Layout();
-}
-
-void Frame::CreateViewAsSubMenu()
-{
- //get the 'View As' menu
-
- int idx = GetMenuBar()->FindMenu(wxT("View"));
- if (idx != wxNOT_FOUND) {
- wxMenu *menu = GetMenuBar()->GetMenu(idx);
- wxMenu *submenu = new wxMenu();
-
- //create a view as sub menu and attach it
- wxMenuItem *item(NULL);
-
- int minId = viewAsMenuItemID;
-
- //load all lexers
- // load generic lexers
- EditorConfig::ConstIterator iter = EditorConfigST::Get()->LexerBegin();
- for (; iter != EditorConfigST::Get()->LexerEnd(); iter++) {
- LexerConfPtr lex = iter->second;
- item = new wxMenuItem(submenu, minId, lex->GetName(), wxEmptyString, wxITEM_CHECK);
- m_viewAsMap[minId] = lex->GetName();
- minId++;
- submenu->Append(item);
- }
- menu->Append(viewAsSubMenuID, wxT("View As"), submenu);
- }
-}
-
-wxString Frame::GetViewAsLanguageById(int id) const
-{
- if (m_viewAsMap.find(id) == m_viewAsMap.end()) {
- return wxEmptyString;
- }
- return m_viewAsMap.find(id)->second;
-}
-
-void Frame::CreateToolbars24()
-{
- wxAuiPaneInfo info;
-
-#if !USE_AUI_TOOLBAR
- wxWindow *toolbar_parent (this);
- if (PluginManager::Get()->AllowToolbar()) {
- toolbar_parent = m_mainPanel;
- }
-#else
- wxWindow *toolbar_parent (m_mainPanel);
-#endif
-
- //----------------------------------------------
- //create the standard toolbar
- //----------------------------------------------
- clToolBar *tb = new clToolBar(toolbar_parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, clTB_DEFAULT_STYLE);
- tb->SetToolBitmapSize(wxSize(24, 24));
-
- tb->AddTool(XRCID("new_file"), wxT("New"), wxXmlResource::Get()->LoadBitmap(wxT("page_new24")), wxT("New File"));
- tb->AddTool(XRCID("open_file"), wxT("Open"), wxXmlResource::Get()->LoadBitmap(wxT("folder24")), wxT("Open File"));
- tb->AddTool(XRCID("refresh_file"), wxT("Reload"), wxXmlResource::Get()->LoadBitmap(wxT("reload24")), wxT("Reload File"));
- tb->AddSeparator();
- tb->AddTool(XRCID("save_file"), wxT("Save"), wxXmlResource::Get()->LoadBitmap(wxT("page_save24")), wxT("Save"));
- tb->AddTool(XRCID("save_file_as"), wxT("Save As"), wxXmlResource::Get()->LoadBitmap(wxT("save_as24")), wxT("Save As"));
- tb->AddTool(XRCID("save_all"), wxT("Save All"), wxXmlResource::Get()->LoadBitmap(wxT("save_all24")), wxT("Save All"));
- tb->AddSeparator();
- tb->AddTool(XRCID("close_file"), wxT("Close"), wxXmlResource::Get()->LoadBitmap(wxT("page_close24")), wxT("Close File"));
- tb->AddSeparator();
- tb->AddTool(wxID_CUT, wxT("Cut"), wxXmlResource::Get()->LoadBitmap(wxT("cut24")), wxT("Cut"));
- tb->AddTool(wxID_COPY, wxT("Copy"), wxXmlResource::Get()->LoadBitmap(wxT("copy24")), wxT("Copy"));
- tb->AddTool(wxID_PASTE, wxT("Paste"), wxXmlResource::Get()->LoadBitmap(wxT("paste24")), wxT("Paste"));
- tb->AddSeparator();
- tb->AddTool(wxID_UNDO, wxT("Undo"), wxXmlResource::Get()->LoadBitmap(wxT("undo24")), wxT("Undo"));
- tb->AddTool(wxID_REDO, wxT("Redo"), wxXmlResource::Get()->LoadBitmap(wxT("redo24")), wxT("Redo"));
- tb->AddTool(wxID_BACKWARD, wxT("Backward"), wxXmlResource::Get()->LoadBitmap(wxT("arrow_back24")), wxT("Backward"));
- tb->AddTool(wxID_FORWARD, wxT("Forward"), wxXmlResource::Get()->LoadBitmap(wxT("arrow_next24")), wxT("Forward"));
- tb->AddSeparator();
- tb->AddTool(XRCID("toggle_bookmark"), wxT("Toggle Bookmark"), wxXmlResource::Get()->LoadBitmap(wxT("bookmark24")), wxT("Toggle Bookmark"));
-
-
- if (PluginManager::Get()->AllowToolbar()) {
- tb->Realize();
- m_mgr.AddPane(tb, wxAuiPaneInfo().Name(wxT("Standard Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Standard")).ToolbarPane().Top());
- }
- //----------------------------------------------
- //create the search toolbar
- //----------------------------------------------
- if (PluginManager::Get()->AllowToolbar()) {
- info = wxAuiPaneInfo();
- tb = new clToolBar(toolbar_parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, clTB_DEFAULT_STYLE);
- tb->SetToolBitmapSize(wxSize(24, 24));
- }
- tb->AddTool(wxID_FIND, wxT("Find"), wxXmlResource::Get()->LoadBitmap(wxT("find_and_replace24")), wxT("Find"));
- tb->AddTool(wxID_REPLACE, wxT("Replace"), wxXmlResource::Get()->LoadBitmap(wxT("refresh24")), wxT("Replace"));
- tb->AddTool(XRCID("find_in_files"), wxT("Find In Files"), wxXmlResource::Get()->LoadBitmap(wxT("find_in_files24")), wxT("Find In Files"));
- tb->AddSeparator();
- tb->AddTool(XRCID("find_resource"), wxT("Find Resource In Workspace"), wxXmlResource::Get()->LoadBitmap(wxT("open_resource24")), wxT("Find Resource In Workspace"));
- tb->AddTool(XRCID("find_type"), wxT("Find Type In Workspace"), wxXmlResource::Get()->LoadBitmap(wxT("open_type24")), wxT("Find Type In Workspace"));
- tb->AddTool(XRCID("find_symbol"), wxT("Quick Outline"), wxXmlResource::Get()->LoadBitmap(wxT("outline24")), wxT("Show Current File Outline"));
- tb->AddSeparator();
- tb->AddTool(XRCID("highlight_word"), wxT("Highlight Word"), wxXmlResource::Get()->LoadBitmap(wxT("highlight24")), wxT("Highlight Word"), wxITEM_CHECK);
- tb->ToggleTool(XRCID("highlight_word"), m_highlightWord);
- tb->AddSeparator();
-
- if (PluginManager::Get()->AllowToolbar()) {
- tb->Realize();
- m_mgr.AddPane(tb, info.Name(wxT("Search Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Search")).ToolbarPane().Top());
- }
- //----------------------------------------------
- //create the build toolbar
- //----------------------------------------------
- if (PluginManager::Get()->AllowToolbar()) {
- tb = new clToolBar(toolbar_parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, clTB_DEFAULT_STYLE);
- tb->SetToolBitmapSize(wxSize(24, 24));
- }
-
- tb->AddTool(XRCID("build_active_project"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("build_active_project24")), wxT("Build Active Project"));
- tb->AddTool(XRCID("stop_active_project_build"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("stop_build24")), wxT("Stop Current Build"));
- tb->AddTool(XRCID("clean_active_project"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("clean24")), wxT("Clean Active Project"));
- tb->AddSeparator();
- tb->AddTool(XRCID("execute_no_debug"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("execute24")), wxT("Run Active Project"));
- tb->AddTool(XRCID("stop_executed_program"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("stop_executed_program24")), wxT("Stop Running Program"));
-
- if (PluginManager::Get()->AllowToolbar()) {
- tb->Realize();
- info = wxAuiPaneInfo();
- m_mgr.AddPane(tb, info.Name(wxT("Build Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Build")).ToolbarPane().Top().Row(1));
- }
- //----------------------------------------------
- //create the debugger toolbar
- //----------------------------------------------
- if (PluginManager::Get()->AllowToolbar()) {
- tb = new clToolBar(toolbar_parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, clTB_DEFAULT_STYLE);
- tb->SetToolBitmapSize(wxSize(24, 24));
- }
-
- tb->AddTool(XRCID("start_debugger"), wxT("Start / Continue debugger"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_start24")), wxT("Start / Continue debugger"));
- tb->AddTool(XRCID("stop_debugger"), wxT("Stop debugger"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_stop24")), wxT("Stop debugger"));
- tb->AddTool(XRCID("pause_debugger"), wxT("Pause debugger"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_pause24")), wxT("Pause debugger"));
- tb->AddTool(XRCID("restart_debugger"), wxT("Restart debugger"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_restart24")), wxT("Restart debugger"));
- tb->AddSeparator();
- tb->AddTool(XRCID("show_cursor"), wxT("Show Current Line"), wxXmlResource::Get()->LoadBitmap(wxT("arrow_green_right24")), wxT("Show Current Line"));
- tb->AddSeparator();
- tb->AddTool(XRCID("dbg_stepin"), wxT("Step Into"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_stepin24")), wxT("Step In"));
- tb->AddTool(XRCID("dbg_next"), wxT("Next"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_next24")), wxT("Next"));
- tb->AddTool(XRCID("dbg_stepout"), wxT("Step Out"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_stepout24")), wxT("Step Out"));
- tb->Realize();
-
- if (PluginManager::Get()->AllowToolbar()) {
- info = wxAuiPaneInfo();
- m_mgr.AddPane(tb, info.Name(wxT("Debugger Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Debug")).ToolbarPane().Top().Row(1));
-
- RegisterToolbar(XRCID("show_std_toolbar"), wxT("Standard Toolbar"));
- RegisterToolbar(XRCID("show_search_toolbar"), wxT("Search Toolbar"));
- RegisterToolbar(XRCID("show_build_toolbar"), wxT("Build Toolbar"));
- RegisterToolbar(XRCID("show_debug_toolbar"), wxT("Debugger Toolbar"));
- } else {
-#if !USE_AUI_TOOLBAR
- SetToolBar(tb);
-#else
- m_mgr.AddPane(tb, info.Name(wxT("Main Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Main Toolbar")).ToolbarPane().Top().Row(1));
-#endif
- }
-}
-
-void Frame::CreateToolbars16()
-{
- //----------------------------------------------
- //create the standard toolbar
- //----------------------------------------------
-#if !USE_AUI_TOOLBAR
- wxWindow *toolbar_parent (this);
- if (PluginManager::Get()->AllowToolbar()) {
- toolbar_parent = m_mainPanel;
- }
-#else
- wxWindow *toolbar_parent (m_mainPanel);
-#endif
-
- clToolBar *tb = new clToolBar(toolbar_parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, clTB_DEFAULT_STYLE);
- wxAuiPaneInfo info;
-
- tb->SetToolBitmapSize(wxSize(16, 16));
- tb->AddTool(XRCID("new_file"), wxT("New"), wxXmlResource::Get()->LoadBitmap(wxT("page_new16")), wxT("New File"));
- tb->AddTool(XRCID("open_file"), wxT("Open"), wxXmlResource::Get()->LoadBitmap(wxT("folder16")), wxT("Open File"));
- tb->AddTool(XRCID("refresh_file"), wxT("Reload"), wxXmlResource::Get()->LoadBitmap(wxT("reload16")), wxT("Reload File"));
- tb->AddSeparator();
- tb->AddTool(XRCID("save_file"), wxT("Save"), wxXmlResource::Get()->LoadBitmap(wxT("page_save16")), wxT("Save"));
- tb->AddTool(XRCID("save_file_as"), wxT("Save As"), wxXmlResource::Get()->LoadBitmap(wxT("save_as16")), wxT("Save As"));
- tb->AddTool(XRCID("save_all"), wxT("Save All"), wxXmlResource::Get()->LoadBitmap(wxT("save_all16")), wxT("Save All"));
- tb->AddSeparator();
- tb->AddTool(XRCID("close_file"), wxT("Close"), wxXmlResource::Get()->LoadBitmap(wxT("page_close16")), wxT("Close File"));
- tb->AddSeparator();
- tb->AddTool(wxID_CUT, wxT("Cut"), wxXmlResource::Get()->LoadBitmap(wxT("cut16")), wxT("Cut"));
- tb->AddTool(wxID_COPY, wxT("Copy"), wxXmlResource::Get()->LoadBitmap(wxT("copy16")), wxT("Copy"));
- tb->AddTool(wxID_PASTE, wxT("Paste"), wxXmlResource::Get()->LoadBitmap(wxT("paste16")), wxT("Paste"));
- tb->AddSeparator();
- tb->AddTool(wxID_UNDO, wxT("Undo"), wxXmlResource::Get()->LoadBitmap(wxT("undo16")), wxT("Undo"));
- tb->AddTool(wxID_REDO, wxT("Redo"), wxXmlResource::Get()->LoadBitmap(wxT("redo16")), wxT("Redo"));
- tb->AddTool(wxID_BACKWARD, wxT("Backward"), wxXmlResource::Get()->LoadBitmap(wxT("arrow_back16")), wxT("Backward"));
- tb->AddTool(wxID_FORWARD, wxT("Forward"), wxXmlResource::Get()->LoadBitmap(wxT("arrow_next16")), wxT("Forward"));
- tb->AddSeparator();
- tb->AddTool(XRCID("toggle_bookmark"), wxT("Toggle Bookmark"), wxXmlResource::Get()->LoadBitmap(wxT("bookmark16")), wxT("Toggle Bookmark"));
-
-
- if (PluginManager::Get()->AllowToolbar()) {
- tb->Realize();
- m_mgr.AddPane(tb, wxAuiPaneInfo().Name(wxT("Standard Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Standard")).ToolbarPane().Top());
- }
-
- //----------------------------------------------
- //create the search toolbar
- //----------------------------------------------
- info = wxAuiPaneInfo();
-
- if (PluginManager::Get()->AllowToolbar()) {
- tb = new clToolBar(toolbar_parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, clTB_DEFAULT_STYLE);
- tb->SetToolBitmapSize(wxSize(16, 16));
- }
-
- tb->AddTool(wxID_FIND, wxT("Find"), wxXmlResource::Get()->LoadBitmap(wxT("find_and_replace16")), wxT("Find"));
- tb->AddTool(wxID_REPLACE, wxT("Replace"), wxXmlResource::Get()->LoadBitmap(wxT("refresh16")), wxT("Replace"));
- tb->AddTool(XRCID("find_in_files"), wxT("Find In Files"), wxXmlResource::Get()->LoadBitmap(wxT("find_in_files16")), wxT("Find In Files"));
- tb->AddSeparator();
-
- tb->AddTool(XRCID("find_resource"), wxT("Find Resource In Workspace"), wxXmlResource::Get()->LoadBitmap(wxT("open_resource16")), wxT("Find Resource In Workspace"));
- tb->AddTool(XRCID("find_type"), wxT("Find Type In Workspace"), wxXmlResource::Get()->LoadBitmap(wxT("open_type16")), wxT("Find Type In Workspace"));
- tb->AddTool(XRCID("find_symbol"), wxT("Quick Outline"), wxXmlResource::Get()->LoadBitmap(wxT("outline16")), wxT("Show Current File Outline"));
- tb->AddSeparator();
- tb->AddTool(XRCID("highlight_word"), wxT("Highlight Word"), wxXmlResource::Get()->LoadBitmap(wxT("highlight16")), wxT("Highlight Word"), wxITEM_CHECK);
- tb->ToggleTool(XRCID("highlight_word"), m_highlightWord);
- tb->AddSeparator();
-
- if (PluginManager::Get()->AllowToolbar()) {
- tb->Realize();
- m_mgr.AddPane(tb, info.Name(wxT("Search Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Search")).ToolbarPane().Top());
-
- //----------------------------------------------
- //create the build toolbar
- //----------------------------------------------
- tb = new clToolBar(toolbar_parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, clTB_DEFAULT_STYLE);
- tb->SetToolBitmapSize(wxSize(16, 16));
- }
-
- tb->AddTool(XRCID("build_active_project"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("build_active_project16")), wxT("Build Active Project"));
- tb->AddTool(XRCID("stop_active_project_build"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("stop_build16")), wxT("Stop Current Build"));
- tb->AddTool(XRCID("clean_active_project"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("clean16")), wxT("Clean Active Project"));
- tb->AddSeparator();
- tb->AddTool(XRCID("execute_no_debug"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("execute16")), wxT("Run Active Project"));
- tb->AddTool(XRCID("stop_executed_program"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("stop_executed_program16")), wxT("Stop Running Program"));
-
- if (PluginManager::Get()->AllowToolbar()) {
- tb->Realize();
- info = wxAuiPaneInfo();
- m_mgr.AddPane(tb, info.Name(wxT("Build Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Build")).ToolbarPane().Top().Row(1));
- }
-
- //----------------------------------------------
- //create the debugger toolbar
- //----------------------------------------------
- if (PluginManager::Get()->AllowToolbar()) {
- tb = new clToolBar(toolbar_parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, clTB_DEFAULT_STYLE);
- tb->SetToolBitmapSize(wxSize(16, 16));
- }
-
- tb->AddTool(XRCID("start_debugger"), wxT("Start / Continue debugger"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_start16")), wxT("Start / Continue debugger"));
- tb->AddTool(XRCID("stop_debugger"), wxT("Stop debugger"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_stop16")), wxT("Stop debugger"));
- tb->AddTool(XRCID("pause_debugger"), wxT("Pause debugger"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_pause16")), wxT("Pause debugger"));
- tb->AddTool(XRCID("restart_debugger"), wxT("Restart debugger"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_restart16")), wxT("Restart debugger"));
- tb->AddSeparator();
- tb->AddTool(XRCID("show_cursor"), wxT("Show Current Line"), wxXmlResource::Get()->LoadBitmap(wxT("arrow_green_right16")), wxT("Show Current Line"));
- tb->AddSeparator();
- tb->AddTool(XRCID("dbg_stepin"), wxT("Step Into"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_stepin16")), wxT("Step In"));
- tb->AddTool(XRCID("dbg_next"), wxT("Next"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_next16")), wxT("Next"));
- tb->AddTool(XRCID("dbg_stepout"), wxT("Step Out"), wxXmlResource::Get()->LoadBitmap(wxT("debugger_stepout16")), wxT("Step Out"));
-
- tb->Realize();
- if (PluginManager::Get()->AllowToolbar()) {
- info = wxAuiPaneInfo();
- m_mgr.AddPane(tb, info.Name(wxT("Debugger Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Debug")).ToolbarPane().Top().Row(1));
- RegisterToolbar(XRCID("show_std_toolbar"), wxT("Standard Toolbar"));
- RegisterToolbar(XRCID("show_search_toolbar"), wxT("Search Toolbar"));
- RegisterToolbar(XRCID("show_build_toolbar"), wxT("Build Toolbar"));
- RegisterToolbar(XRCID("show_debug_toolbar"), wxT("Debugger Toolbar"));
- } else {
-#if !USE_AUI_TOOLBAR
- SetToolBar(tb);
-#else
- m_mgr.AddPane(tb, info.Name(wxT("Main Toolbar")).LeftDockable(true).RightDockable(true).Caption(wxT("Main Toolbar")).ToolbarPane().Top().Row(1));
-#endif
- }
-}
-
-void Frame::UpdateBuildTools()
-{
- BuilderPtr builder = BuildManagerST::Get()->GetBuilder ( wxT ( "GNU makefile for g++/gcc" ) );
- wxString tool = builder->GetBuildToolName();
- wxString origTool ( tool );
-
- //confirm that it exists...
- wxString path;
- bool is_ok ( true );
-
- // Apply the environment
- EnvSetter env;
-
- if ( tool.Contains ( wxT ( "$" ) ) ) {
- //expand
- tool = EnvironmentConfig::Instance()->ExpandVariables ( tool );
- }
-
- if ( !ExeLocator::Locate ( tool, path ) ) {
- is_ok = false;
- //failed to locate the specified build tool
- //try some default names which are commonly used on windows
- if ( !is_ok && ExeLocator::Locate ( wxT ( "mingw32-make" ), path ) ) {
- tool = path;
- is_ok = true;
- }
-
- if ( !is_ok && ExeLocator::Locate ( wxT ( "make" ), path ) ) {
- tool = path;
- is_ok = true;
- }
- } else {
- //we are good, nothing to be done
- return;
- }
-
- wxString message;
- if ( !is_ok ) {
- message << wxT ( "Failed to locate make util '" )
- << tool << wxT ( "' specified by 'Build Settings'" );
- wxLogMessage ( message );
- return;
- } else {
- wxLogMessage ( wxT ( "Updating build too to '" ) + tool + wxT ( "' from '" ) + origTool + wxT ( "'" ) );
- }
-
- //update the cached builders
- builder->SetBuildTool ( tool );
- BuildManagerST::Get()->AddBuilder ( builder );
-
- //update the configuration files
- BuilderConfigPtr bsptr = BuildSettingsConfigST::Get()->GetBuilderConfig ( wxT ( "GNU makefile for g++/gcc" ) );
- if ( !bsptr ) {
- bsptr = new BuilderConfig ( NULL );
- bsptr->SetName ( wxT ( "GNU makefile for g++/gcc" ) );
- }
-
- bsptr->SetToolPath ( tool );
- BuildSettingsConfigST::Get()->SetBuildSystem ( bsptr );
-}
-
-void Frame::OnQuit(wxCommandEvent& WXUNUSED(event))
-{
- Close();
-}
-//----------------------------------------------------
-// Helper method for the event handling
-//----------------------------------------------------
-
-static bool IsEditorEvent(wxEvent &event)
-{
- // Handle common edit events
- // if the focused window is *not* LEditor,
- // and the focused windows is of type
- // wxTextCtrl or wxScintilla, let the focused
- // Window handle the event
- wxWindow *focusWin = wxWindow::FindFocus();
- if ( focusWin ) {
- switch (event.GetId()) {
- case wxID_CUT:
- case wxID_SELECTALL:
- case wxID_COPY:
- case wxID_PASTE: {
- LEditor *ed = dynamic_cast<LEditor*>(focusWin);
- if ( !ed ) {
- // let other controls handle it
- return false;
- }
- break;
- }
- default:
- break;
- }
- }
- return true;
-}
-
-void Frame::DispatchCommandEvent(wxCommandEvent &event)
-{
- if ( !IsEditorEvent(event) ) {
- event.Skip();
- return;
- }
-
- // Do the default and pass this event to the Editor
- LEditor* editor = GetMainBook()->GetActiveEditor();
- if ( !editor )
- return;
-
- if (event.GetId() >= viewAsMenuItemID && event.GetId() <= viewAsMenuItemMaxID) {
- //keep the old id as int and override the value set in the event object
- //to trick the event system
- event.SetInt(event.GetId());
- event.SetId(viewAsMenuItemID);
- }
- editor->OnMenuCommand(event);
-}
-
-void Frame::DispatchUpdateUIEvent(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
-
- if ( !IsEditorEvent(event) ) {
- event.Skip();
- return;
- }
-
- LEditor* editor = GetMainBook()->GetActiveEditor();
- if ( !editor ) {
- event.Enable(false);
- return;
- }
-
- if (event.GetId() >= viewAsMenuItemID && event.GetId() <= viewAsMenuItemMaxID) {
- //keep the old id as int and override the value set in the event object
- //to trick the event system
- event.SetInt(event.GetId());
- event.SetId(viewAsMenuItemID);
- }
- editor->OnUpdateUI(event);
-}
-
-void Frame::OnFileExistUpdateUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
-
- LEditor* editor = GetMainBook()->GetActiveEditor();
- if ( !editor ) {
- event.Enable(false);
- } else {
- event.Enable(true);
- }
-}
-
-void Frame::OnAbout(wxCommandEvent& WXUNUSED(event))
-{
- wxString mainTitle;
- mainTitle = CODELITE_VERSION_STR;
-
- AboutDlg dlg(this, mainTitle);
- dlg.SetInfo(mainTitle);
- dlg.ShowModal();
-}
-
-void Frame::OnClose(wxCloseEvent& event)
-{
- ManagerST::Get()->SetShutdownInProgress(true);
-
- // Stop the search thread
- ManagerST::Get()->KillProgram();
- ManagerST::Get()->DbgStop();
- SearchThreadST::Get()->StopSearch();
-
- SaveLayoutAndSession();
- event.Skip();
-}
-
-void Frame::LoadSession(const wxString &sessionName)
-{
- SessionEntry session;
- if (SessionManager::Get().FindSession(sessionName, session)) {
- wxString wspFile = session.GetWorkspaceName();
- if (wspFile.IsEmpty() == false && wspFile != wxT("Default")) {
- ManagerST::Get()->OpenWorkspace(wspFile);
- } else {
- // no workspace to open, so just restore any previously open editors
- GetMainBook()->RestoreSession(session);
- }
- }
-}
-
-void Frame::OnSave(wxCommandEvent& WXUNUSED(event))
-{
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- editor->SaveFile();
- }
-}
-
-void Frame::OnSaveAs(wxCommandEvent& WXUNUSED(event))
-{
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- editor->SaveFileAs();
- }
-}
-
-void Frame::OnFileLoadTabGroup(wxCommandEvent& WXUNUSED(event))
-{
- wxArrayString previousgroups;
- EditorConfigST::Get()->GetRecentItems( previousgroups, wxT("RecentTabgroups") );
-
- // Check the previous items still exist
- for (int n = (int)previousgroups.GetCount()-1; n >= 0; --n) {
- if (!wxFileName::FileExists(previousgroups.Item(n)) ) {
- previousgroups.RemoveAt(n);
- }
- }
- EditorConfigST::Get()->SetRecentItems( previousgroups, wxT("RecentTabgroups") ); // In case any were deleted
-
- wxString path = ManagerST::Get()->IsWorkspaceOpen() ? WorkspaceST::Get()->GetWorkspaceFileName().GetPath() : wxGetHomeDir();
- LoadTabGroupDlg dlg(this, path, previousgroups);
-
- // Disable the 'Replace' checkbox if there aren't any editors to replace
- std::vector<LEditor*> editors;
- GetMainBook()->GetAllEditors(editors);
- dlg.EnableReplaceCheck(editors.size());
-
- if (dlg.ShowModal() != wxID_OK) {
- return;
- }
-
- wxString filepath = dlg.GetListBox()->GetStringSelection();
- wxString sessionFilepath = filepath.BeforeLast(wxT('.'));
-
- TabGroupEntry session;
- if (SessionManager::Get().FindSession(sessionFilepath, session, wxString(wxT(".tabgroup")), tabgroupTag) ) {
- // We've 'loaded' the requested tabs. If required, delete any current ones
- if ( dlg.GetReplaceCheck() ) {
- GetMainBook()->CloseAll(true);
- }
- GetMainBook()->RestoreSession(session);
-
- // Remove any previous instance of this group from the history, then prepend it and save
- int index = previousgroups.Index(filepath);
- if (index != wxNOT_FOUND) {
- previousgroups.RemoveAt(index);
- }
- previousgroups.Insert(filepath, 0);
- EditorConfigST::Get()->SetRecentItems( previousgroups, wxT("RecentTabgroups") );
- }
-}
-
-void Frame::OnFileReload(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- if ( editor->GetModify() ) {
- // Ask user if he really wants to lose all changes
- wxString msg;
- msg << wxT("The file '") << editor->GetFileName().GetFullName() << wxT("' has been altered.\n");
- msg << wxT("Are you sure you want to lose all changes?");
- if ( wxMessageBox(msg, wxT("Confirm"), wxYES_NO, this) != wxYES ) {
- return;
- }
- }
- editor->ReloadFile();
- }
-}
-
-void Frame::OnCloseWorkspace(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- if (ManagerST::Get()->IsWorkspaceOpen()) {
- ManagerST::Get()->CloseWorkspace();
- ShowWelcomePage();
- }
-}
-
-void Frame::OnSwitchWorkspace(wxCommandEvent &event)
-{
- wxUnusedVar(event);
-
- // now it is time to prompt user for new workspace to open
- const wxString ALL(wxT("CodeLite Workspace files (*.workspace)|*.workspace|")
- wxT("All Files (*)|*"));
- wxFileDialog *dlg = new wxFileDialog(this, wxT("Open Workspace"), wxEmptyString, wxEmptyString, ALL, wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_MULTIPLE , wxDefaultPosition);
- if (dlg->ShowModal() == wxID_OK) {
- ManagerST::Get()->OpenWorkspace(dlg->GetPath());
- }
- dlg->Destroy();
-}
-
-void Frame::OnCompleteWord(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- editor->CompleteWord();
- }
-}
-
-void Frame::OnFunctionCalltip(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- editor->ShowFunctionTipFromCurrentPos();
- }
-}
-
-// Open new file
-void Frame::OnFileNew(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- GetMainBook()->NewEditor();
-}
-
-void Frame::OnFileOpen(wxCommandEvent & WXUNUSED(event))
-{
- const wxString ALL( wxT("All Files (*)|*"));
- static wxString s_openPath(wxEmptyString);
-
- wxFileDialog *dlg = new wxFileDialog(this, wxT("Open File"), s_openPath, wxEmptyString, ALL, wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_MULTIPLE, wxDefaultPosition);
- if (dlg->ShowModal() == wxID_OK) {
- wxArrayString paths;
- dlg->GetPaths(paths);
- for (size_t i=0; i<paths.GetCount(); i++) {
- GetMainBook()->OpenFile(paths.Item(i));
- }
-
- if (paths.GetCount() > 0) {
- wxFileName fn(paths.Item(0));
- s_openPath = fn.GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR);
- }
- }
- dlg->Destroy();
-}
-
-void Frame::OnFileClose(wxCommandEvent &event)
-{
- wxUnusedVar( event );
- GetMainBook()->ClosePage(GetMainBook()->GetCurrentPage());
-}
-
-void Frame::OnFileSaveAll(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- GetMainBook()->SaveAll(false, true);
-}
-
-void Frame::OnFileSaveTabGroup(wxCommandEvent& WXUNUSED(event))
-{
- wxArrayString previousgroups;
- EditorConfigST::Get()->GetRecentItems( previousgroups, wxT("RecentTabgroups") );
-
- SaveTabGroupDlg dlg(this, previousgroups);
- wxString path = ManagerST::Get()->IsWorkspaceOpen() ? WorkspaceST::Get()->GetWorkspaceFileName().GetPath() : wxGetHomeDir();
- dlg.SetComboPath(path);
-
- std::vector<LEditor*> editors; wxArrayString filepaths;
- GetMainBook()->GetAllEditors(editors);
- for (size_t i = 0; i < editors.size(); ++i) {
- filepaths.Add(editors[i]->GetFileName().GetFullPath());
- }
- dlg.SetListTabs(filepaths);
-
- while (true) {
-
- if (dlg.ShowModal() != wxID_OK) {
- return;
- }
-
- wxString sessionName = dlg.GetTabgroupName();
- if (sessionName.IsEmpty()) {
- if ( wxMessageBox(_("Please enter a name for the tab group"), wxT("CodeLite"), wxICON_ERROR|wxOK|wxCANCEL, this) != wxOK ) {
- return;
- } else {
- continue;
- }
- }
-
- path = dlg.GetComboPath();
- if (path.IsEmpty() || !wxFileName::DirExists(path)) {
- if ( wxMessageBox(_("Please enter a valid directory in which to save the tab group"), wxT("CodeLite"), wxICON_ERROR|wxOK|wxCANCEL, this) != wxOK ) {
- return;
- } else {
- continue;
- }
- }
-
- if (path.Right(1) != wxFileName::GetPathSeparator()) {
- path << wxFileName::GetPathSeparator();
- }
- wxString filepath(path + sessionName + wxT(".tabgroup"));
- if (wxFileName::FileExists(filepath)) {
- if ( wxMessageBox(_("There is already a file with this name. Do you want to overwrite it?"), _("Are you sure?"), wxICON_EXCLAMATION|wxOK|wxCANCEL, this) != wxOK ) {
- return;
- }
- }
-
- wxArrayInt intArr;
- if ( dlg.GetChoices(intArr) ) { // Don't bother to save if no tabs were selected
- TabGroupEntry session;
- session.SetTabgroupName(path + sessionName);
- GetMainBook()->SaveSession(session, intArr);
- SessionManager::Get().Save(session.GetTabgroupName(), session, wxString(wxT(".tabgroup")), tabgroupTag);
-
- // Remove any previous instance of this group from the history, then prepend it and save
- int index = previousgroups.Index(filepath);
- if (index != wxNOT_FOUND) {
- previousgroups.RemoveAt(index);
- }
- previousgroups.Insert(filepath, 0);
- EditorConfigST::Get()->SetRecentItems( previousgroups, wxT("RecentTabgroups") );
-
- SetStatusMessage(wxT("Tab group saved"), 0);
- }
-
- return;
- }
-}
-
-void Frame::OnCompleteWordUpdateUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
-
- LEditor* editor = GetMainBook()->GetActiveEditor();
- // This menu item is enabled only if the current editor belongs to a project
- event.Enable(editor && ManagerST::Get()->IsWorkspaceOpen());
-}
-
-void Frame::OnWorkspaceOpen(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- event.Enable(ManagerST::Get()->IsWorkspaceOpen());
-}
-
-// Project->New Workspace
-void Frame::OnProjectNewWorkspace(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- NewWorkspaceDlg *dlg = new NewWorkspaceDlg(this);
- if (dlg->ShowModal() == wxID_OK) {
- wxString fullname = dlg->GetFilePath();
-
- wxFileName fn(fullname);
- ManagerST::Get()->CreateWorkspace(fn.GetName(), fn.GetPath());
- }
- dlg->Destroy();
-}
-
-// Project->New Project
-void Frame::OnProjectNewProject(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- NewProjectDlg *dlg = new NewProjectDlg(this);
- if (dlg->ShowModal() == wxID_OK) {
- ProjectData data = dlg->GetProjectData();
- ManagerST::Get()->CreateProject(data);
- }
- dlg->Destroy();
-}
-
-void Frame::OnProjectAddProject(wxCommandEvent &event)
-{
- wxUnusedVar(event);
-
- // Prompt user for project path
- const wxString ALL( wxT("CodeLite Projects (*.project)|*.project|")
- wxT("All Files (*)|*"));
- wxFileDialog *dlg = new wxFileDialog(this, wxT("Open Project"), wxEmptyString, wxEmptyString, ALL, wxFD_OPEN | wxFD_FILE_MUST_EXIST , wxDefaultPosition);
- if (dlg->ShowModal() == wxID_OK) {
- // Open it
- ManagerST::Get()->AddProject(dlg->GetPath());
- }
- dlg->Destroy();
-}
-
-void Frame::OnCtagsOptions(wxCommandEvent &event)
-{
- wxUnusedVar(event);
-
- bool colVars(false);
- bool colTags(false);
- bool newColVars(false);
- bool newColTags(false);
- bool markFilesAsBold(false);
- bool newMarkFilesAsBold(false);
-
- size_t colourTypes(0);
-
- colVars = (m_tagsOptionsData.GetFlags() & CC_COLOUR_VARS ? true : false);
- colTags = (m_tagsOptionsData.GetFlags() & CC_COLOUR_WORKSPACE_TAGS ? true : false);
- markFilesAsBold = (m_tagsOptionsData.GetFlags() & CC_MARK_TAGS_FILES_IN_BOLD ? true : false);
-
- colourTypes = m_tagsOptionsData.GetCcColourFlags();
-
- wxArrayString pathsBefore = m_tagsOptionsData.GetParserSearchPaths();
- TagsOptionsDlg dlg(this, m_tagsOptionsData);
- if (dlg.ShowModal() == wxID_OK) {
- m_tagsOptionsData = dlg.GetData();
-
- wxArrayString pathsAfter = m_tagsOptionsData.GetParserSearchPaths();
- wxArrayString removedPaths;
-
- // Compare the paths
- for(size_t i=0; i<pathsBefore.GetCount(); i++) {
- int where = pathsAfter.Index(pathsBefore.Item(i));
- if(where == wxNOT_FOUND) {
- removedPaths.Add( pathsBefore.Item(i) );
- } else {
- pathsAfter.RemoveAt((size_t)where);
- }
- }
-
- if ( removedPaths.IsEmpty() == false ) {
- wxWindowDisabler disableAll;
- wxBusyInfo info(_T("Updating tags database, please wait..."), this);
- wxTheApp->Yield();
-
- // Remove all tags from the database which starts with the paths which were
- // removed from the parser include path
- ITagsStorage *db = TagsManagerST::Get()->GetDatabase();
- db->Begin();
- for(size_t i=0; i<removedPaths.GetCount(); i++) {
- db->DeleteByFilePrefix (wxFileName(), removedPaths.Item(i));
- db->DeleteFromFilesByPrefix(wxFileName(), removedPaths.Item(i));
- wxTheApp->Yield();
- }
- db->Commit();
- }
-
- newColVars = (m_tagsOptionsData.GetFlags() & CC_COLOUR_VARS ? true : false);
- newColTags = (m_tagsOptionsData.GetFlags() & CC_COLOUR_WORKSPACE_TAGS ? true : false);
- newMarkFilesAsBold = (m_tagsOptionsData.GetFlags() & CC_MARK_TAGS_FILES_IN_BOLD ? true : false);
-
- TagsManagerST::Get()->SetCtagsOptions( m_tagsOptionsData );
- EditorConfigST::Get()->WriteObject(wxT("m_tagsOptionsData"), &m_tagsOptionsData);
-
- // We use this method 'UpdateParserPaths' since it will also update the parser
- // thread with any workspace search/exclude paths related
- ManagerST::Get()->UpdateParserPaths();
-
- TagsManagerST::Get()->GetDatabase()->SetMaxWorkspaceTagToColour( m_tagsOptionsData.GetMaxItemToColour() );
-
- //do we need to colourise?
- if (newColTags != colTags || newColVars != colVars || colourTypes != m_tagsOptionsData.GetCcColourFlags()) {
- GetMainBook()->UpdateColours();
- }
-
- // do we need to update the file tree to mark tags files
- // as bold?
- if (markFilesAsBold != newMarkFilesAsBold) {
- TagsManagerST::Get()->NotifyFileTree(newMarkFilesAsBold);
- }
-
- if(pathsAfter.IsEmpty() == false) {
- // a retagg is needed
- wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, XRCID("retag_workspace"));
- AddPendingEvent(e);
- }
- }
-}
-
-void Frame::RegisterToolbar(int menuItemId, const wxString &name)
-{
- m_toolbars[menuItemId] = name;
- Connect(menuItemId, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(Frame::OnViewToolbar), NULL, this);
- Connect(menuItemId, wxEVT_UPDATE_UI, wxUpdateUIEventHandler(Frame::OnViewToolbarUI), NULL, this);
-}
-
-void Frame::RegisterDockWindow(int menuItemId, const wxString &name)
-{
- m_panes[menuItemId] = name;
- Connect(menuItemId, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(Frame::OnViewPane), NULL, this);
- Connect(menuItemId, wxEVT_UPDATE_UI, wxUpdateUIEventHandler(Frame::OnViewPaneUI), NULL, this);
-}
-
-void Frame::OnViewToolbar(wxCommandEvent &event)
-{
- std::map<int, wxString>::iterator iter = m_toolbars.find(event.GetId());
- if (iter != m_toolbars.end()) {
- ViewPane(iter->second, event);
- }
-}
-
-void Frame::OnViewToolbarUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- std::map<int, wxString>::iterator iter = m_toolbars.find(event.GetId());
- if (iter != m_toolbars.end()) {
- ViewPaneUI(iter->second, event);
- }
-}
-
-void Frame::OnViewPane(wxCommandEvent &event)
-{
- std::map<int, wxString>::iterator iter = m_panes.find(event.GetId());
- if (iter != m_panes.end()) {
- ViewPane(iter->second, event);
- }
-}
-
-void Frame::OnViewPaneUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- std::map<int, wxString>::iterator iter = m_panes.find(event.GetId());
- if (iter != m_panes.end()) {
- ViewPaneUI(iter->second, event);
- }
-}
-
-void Frame::ViewPane(const wxString &paneName, wxCommandEvent &event)
-{
- wxAuiPaneInfo &info = m_mgr.GetPane(paneName);
- if (info.IsOk()) {
- if ( event.IsChecked() ) {
- info.Show();
- } else {
- info.Hide();
- }
- m_mgr.Update();
- }
-
-}
-
-void Frame::ViewPaneUI(const wxString &paneName, wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- wxAuiPaneInfo &info = m_mgr.GetPane(paneName);
- if (info.IsOk()) {
- event.Check(info.IsShown());
- }
-}
-
-void Frame::OnViewOptions(wxCommandEvent & WXUNUSED( event))
-{
- OptionsDlg2 dlg(this);
- dlg.ShowModal();
-
- if ( dlg.restartRquired ) {
- DoSuggestRestart();
- }
-}
-
-void Frame::OnTogglePanes(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- ManagerST::Get()->TogglePanes();
-}
-
-void Frame::OnAddEnvironmentVariable(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- EnvVarsTableDlg dlg(this);
- dlg.ShowModal();
- SetEnvStatusMessage();
-
- if (ManagerST::Get()->IsWorkspaceOpen()) {
- //mark all the projects as dirty
- wxArrayString projects;
- WorkspaceST::Get()->GetProjectList( projects );
- for ( size_t i=0; i< projects.size(); i++ ) {
- ProjectPtr proj = ManagerST::Get()->GetProject( projects.Item(i) );
- if ( proj ) {
- proj->SetModified( true );
- }
- }
- }
-}
-
-void Frame::OnAdvanceSettings(wxCommandEvent &event)
-{
- size_t selected_page(0);
- if (event.GetInt() == 1) {
- selected_page = 1;
- }
-
- AdvancedDlg dlg(this, selected_page);
- if (dlg.ShowModal() == wxID_OK) {
- //mark the whole workspace as dirty so makefile generation will take place
- //force makefile generation upon configuration change
- if (ManagerST::Get()->IsWorkspaceOpen()) {
- wxArrayString projs;
- ManagerST::Get()->GetProjectList(projs);
- for ( size_t i=0; i< projs.GetCount(); i++ ) {
- ProjectPtr proj = ManagerST::Get()->GetProject( projs.Item(i) );
- if ( proj ) {
- proj->SetModified(true);
- }
- }
- }
- }
- SetEnvStatusMessage();
-}
-
-void Frame::OnBuildEnded(wxCommandEvent &event)
-{
- event.Skip();
- if (m_buildAndRun) {
- //If the build process was part of a 'Build and Run' command, check whether an erros
- //occured during build process, if non, launch the output
- m_buildAndRun = false;
- if ( ManagerST::Get()->IsBuildEndedSuccessfully() ||
- wxMessageBox(_("Build ended with errors. Continue?"), wxT("Confirm"), wxYES_NO| wxICON_QUESTION, this) == wxYES) {
- ManagerST::Get()->ExecuteNoDebug(ManagerST::Get()->GetActiveProjectName());
- }
- }
- // Process next command from the queue
- ManagerST::Get()->ProcessCommandQueue();
-}
-
-// Build operations
-void Frame::OnBuildProject(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- bool enable = !ManagerST::Get()->IsBuildInProgress() && !ManagerST::Get()->GetActiveProjectName().IsEmpty();
- if (enable) {
-
- SetStatusMessage(wxT("Build starting..."), 0);
-
- wxString conf, projectName;
- projectName = ManagerST::Get()->GetActiveProjectName();
-
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- conf = bldConf->GetName();
- }
-
- QueueCommand info(projectName, conf, false, QueueCommand::Build);
- if (bldConf && bldConf->IsCustomBuild()) {
- info.SetKind(QueueCommand::CustomBuild);
- info.SetCustomBuildTarget(wxT("Build"));
- }
- ManagerST::Get()->PushQueueCommand( info );
- ManagerST::Get()->ProcessCommandQueue();
-
- SetStatusMessage(wxT("Done"), 0);
- }
-}
-
-void Frame::OnBuildCustomTarget(wxCommandEvent& event)
-{
- bool enable = !ManagerST::Get()->IsBuildInProgress() && !ManagerST::Get()->GetActiveProjectName().IsEmpty();
- if (enable) {
-
- wxString projectName, targetName;
- // get the project name
- TreeItemInfo item = GetWorkspaceTab()->GetFileView()->GetSelectedItemInfo();
- if (item.m_itemType != ProjectItem::TypeProject) {
- return;
- }
-
- // set teh project name
- projectName = item.m_text;
-
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- std::map<wxString, wxString> targets = bldConf->GetCustomTargets();
- std::map<wxString, wxString>::iterator iter = targets.begin();
- for (; iter != targets.end(); iter++) {
- if (wxXmlResource::GetXRCID(iter->first.c_str()) == event.GetId()) {
- targetName = iter->first;
- break;
- }
- }
-
- if (targetName.IsEmpty()) {
- wxLogMessage(wxString::Format(wxT("Failed to find Custom Build Target for event ID=%d"), event.GetId()));
- return;
- }
-
- QueueCommand info(projectName, bldConf->GetName(), false, QueueCommand::CustomBuild);
- info.SetCustomBuildTarget(targetName);
-
- ManagerST::Get()->PushQueueCommand(info);
- ManagerST::Get()->ProcessCommandQueue();
- }
- }
-}
-
-void Frame::OnBuildAndRunProject(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- bool enable = !ManagerST::Get()->IsBuildInProgress() && !ManagerST::Get()->GetActiveProjectName().IsEmpty();
- if (enable) {
- m_buildAndRun = true;
-
- wxString projectName = ManagerST::Get()->GetActiveProjectName();
- wxString conf;
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- conf = bldConf->GetName();
- }
-
- QueueCommand info(projectName, conf, false, QueueCommand::Build);
-
- if (bldConf && bldConf->IsCustomBuild()) {
- info.SetKind(QueueCommand::CustomBuild);
- info.SetCustomBuildTarget(wxT("Build"));
- }
-
- ManagerST::Get()->PushQueueCommand( info );
- ManagerST::Get()->ProcessCommandQueue();
- }
-}
-
-void Frame::OnRebuildProject(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- RebuildProject(ManagerST::Get()->GetActiveProjectName());
-}
-
-void Frame::OnBuildProjectUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- bool enable = !ManagerST::Get()->IsBuildInProgress() && !ManagerST::Get()->GetActiveProjectName().IsEmpty();
- event.Enable(enable);
-}
-
-void Frame::OnStopExecutedProgramUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- Manager *mgr = ManagerST::Get();
- bool enable = mgr->IsProgramRunning();
- event.Enable(enable);
-}
-
-void Frame::OnStopBuildUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- Manager *mgr = ManagerST::Get();
- bool enable = mgr->IsBuildInProgress();
- event.Enable(enable);
-}
-
-void Frame::OnStopBuild(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- Manager *mgr = ManagerST::Get();
- if (mgr->IsBuildInProgress()) {
- mgr->StopBuild();
- }
-}
-
-void Frame::OnStopExecutedProgram(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- Manager *mgr = ManagerST::Get();
- if (mgr->IsProgramRunning()) {
- mgr->KillProgram();
- }
-}
-
-void Frame::OnCleanProject(wxCommandEvent &event)
-{
- wxUnusedVar(event);
-
- wxString conf, projectName;
- projectName = ManagerST::Get()->GetActiveProjectName();
-
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- conf = bldConf->GetName();
- }
-
- QueueCommand buildInfo(projectName, conf, false, QueueCommand::Clean);
- if (bldConf && bldConf->IsCustomBuild()) {
- buildInfo.SetKind(QueueCommand::CustomBuild);
- buildInfo.SetCustomBuildTarget(wxT("Clean"));
- }
- ManagerST::Get()->PushQueueCommand(buildInfo);
- ManagerST::Get()->ProcessCommandQueue();
-}
-
-void Frame::OnCleanProjectUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- bool enable = !ManagerST::Get()->IsBuildInProgress() && !ManagerST::Get()->GetActiveProjectName().IsEmpty();
- event.Enable(enable);
-}
-
-void Frame::OnExecuteNoDebug(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- wxString projectName;
-
- projectName = ManagerST::Get()->GetActiveProjectName();
- if (projectName.IsEmpty() == false) {
- ManagerST::Get()->ExecuteNoDebug(ManagerST::Get()->GetActiveProjectName());
- }
-}
-
-void Frame::OnExecuteNoDebugUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- event.Enable(ManagerST::Get()->GetActiveProjectName().IsEmpty() == false
- &&
- !ManagerST::Get()->IsBuildInProgress()
- &&
- !ManagerST::Get()->IsProgramRunning());
-}
-
-void Frame::OnTimer(wxTimerEvent &event)
-{
- // since there is a bug in wxURL, which it can not be used while constucting a wxFrame,
- // it must be called *after* the frame constuction
- // add new version notification updater
- long check(1);
- long updatePaths(1);
-
- EditorConfigST::Get()->GetLongValue(wxT("CheckNewVersion"), check);
- EditorConfigST::Get()->GetLongValue(wxT("UpdateParserPaths"), updatePaths);
- if ( check ) {
- JobQueueSingleton::Instance()->PushJob(new WebUpdateJob(this, false));
- }
-
- //update the build system to contain the number of CPUs
- int cpus = wxThread::GetCPUCount();
- if (cpus != wxNOT_FOUND) {
- //update the build system
- BuilderConfigPtr bs = BuildSettingsConfigST::Get()->GetBuilderConfig(wxT("GNU makefile for g++/gcc"));
- if ( bs ) {
- wxString jobs;
- jobs << cpus;
-
- if ( bs->GetToolJobs() != jobs ) {
-
- ButtonDetails btn1;
- btn1.buttonLabel = wxT("Update Number of Build Processes");
- btn1.commandId = XRCID("update_num_builders_count");
- btn1.window = this;
-
- GetMainBook()->ShowMessage(wxT("Should CodeLite adjust the number of concurrent build jobs to match the number of CPUs?"), true, wxXmlResource::Get()->LoadBitmap(wxT("message_pane_fix")), btn1);
- }
- }
-
- // enable/disable plugins toolbar functionality
- PluginManager::Get()->EnableToolbars();
-
- // Check that the user has some paths set in the parser
- EditorConfigST::Get()->ReadObject(wxT("m_tagsOptionsData"), &m_tagsOptionsData);
-
- if ( m_tagsOptionsData.GetParserSearchPaths().IsEmpty() ) {
- // Try to locate the paths automatically
- wxArrayString paths;
- wxArrayString excudePaths;
- IncludePathLocator locator(PluginManager::Get());
- locator.Locate( paths, excudePaths );
-
- if ( paths.IsEmpty() && updatePaths) {
- GetMainBook()->ShowMessage(
- wxT("CodeLite could not find any search paths set for the code completion parser\n")
- wxT("This means that CodeLite will *NOT* be able to offer any code completion for non-workspace files (e.g. string.h).\n")
- wxT("To fix this, please set search paths for the parser\n")
- wxT("This can be done from the main menu: Settings > Tags Settings > Include Files"));
-
- } else {
- if(updatePaths) {
- ButtonDetails btnYes, btnNo, btnNoNever;
-
- btnYes.buttonLabel = wxT("Update paths");
- btnYes.commandId = XRCID("update_parser_paths");
- btnYes.isDefault = true;
- btnYes.window = this;
-
- btnNo.buttonLabel = wxT("Not now");
- btnNo.isDefault = false;
- btnNo.window = NULL;
-
- btnNoNever.buttonLabel = wxT("No. And dont ask me again!");
- btnNoNever.isDefault = false;
- btnNoNever.window = this;
- btnNoNever.commandId = XRCID("never_update_parser_paths");
-
- GetMainBook()->ShowMessage(
- wxT("Should CodeLite update your code completion parser search paths ? (since there are none..)"),
- false, wxNullBitmap, btnYes, btnNo, btnNoNever);
- }
- }
- }
-
- //send initialization end event
- SendCmdEvent(wxEVT_INIT_DONE);
- }
-
- //clear navigation queue
- if (GetMainBook()->GetCurrentPage() == 0) {
- NavMgr::Get()->Clear();
- }
- event.Skip();
-}
-
-void Frame::OnFileCloseAll(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- GetMainBook()->CloseAll(true);
-}
-
-void Frame::OnQuickOutline(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- if (ManagerST::Get()->IsWorkspaceOpen() == false)
- return;
-
- if (!GetMainBook()->GetActiveEditor())
- return;
-
- if (GetMainBook()->GetActiveEditor()->GetProject().IsEmpty())
- return;
-
- QuickOutlineDlg *dlg = new QuickOutlineDlg(this, GetMainBook()->GetActiveEditor()->GetFileName().GetFullPath());
- if (dlg->ShowModal() == wxID_OK) {
- }
- dlg->Destroy();
-#ifdef __WXMAC__
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- editor->SetActive();
- }
-#endif
-}
-
-void Frame::OnAddSymbols(SymbolTreeEvent &event)
-{
- // Notify the plugins
- ParseThreadEventData data;
- data.SetFileName(event.GetFileName());
- data.SetItems(event.GetItems());
-
- SendCmdEvent(wxEVT_SYNBOL_TREE_ADD_ITEM, (void*)&data);
-}
-
-void Frame::OnDeleteSymbols(SymbolTreeEvent &event)
-{
- // Notify the plugins
- ParseThreadEventData data;
- data.SetFileName(event.GetFileName());
- data.SetItems(event.GetItems());
-
- SendCmdEvent(wxEVT_SYNBOL_TREE_DELETE_ITEM, (void*)&data);
-
-}
-
-void Frame::OnUpdateSymbols(SymbolTreeEvent &event)
-{
- // Notify the plugins
- ParseThreadEventData data;
- data.SetFileName(event.GetFileName());
- data.SetItems(event.GetItems());
-
- SendCmdEvent(wxEVT_SYNBOL_TREE_UPDATE_ITEM, (void*)&data);
-}
-
-wxString Frame::CreateWorkspaceTable()
-{
- wxString html;
- wxArrayString files;
- Manager *mgr = ManagerST::Get();
- mgr->GetRecentlyOpenedWorkspaces(files);
-
- wxColour bgclr = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
- bgclr = DrawingUtils::LightColour(bgclr, 7);
-
- html << wxT("<table width=100% border=0 bgcolor=\"") << bgclr.GetAsString(wxC2S_HTML_SYNTAX) << wxT("\">");
- if (files.GetCount() == 0) {
- html << wxT("<tr><td><font size=2 face=\"Verdana\">");
- html << wxT("No workspaces found.") << wxT("</font></td></tr>");
- } else {
- wxColour lineCol(0xd0, 0xff, 0xff);
- for (int i=(int)files.GetCount(); i>0; --i) {
- wxFileName fn( files.Item(i-1) );
-
- lineCol.Set(lineCol.Red() == 0xff ? 0xd0 : 0xff, 0xff, 0xff);
- lineCol = DrawingUtils::LightColour(lineCol, 1);
- html << wxT("<tr bgcolor=\"") << lineCol.GetAsString(wxC2S_HTML_SYNTAX)<< wxT("\">")
- << wxT("<td><font size=2 face=\"Verdana\">")
- << wxT("<a href=\"action:open-file:")
- << fn.GetFullPath() << wxT("\" >")
- << fn.GetName()
- << wxT("</a></font></td>")
- << wxT("<td><font size=2 face=\"Verdana\">") << fn.GetFullPath() << wxT("</font></td>")
- << wxT("</tr>");
- }
- }
-
- html << wxT("</table>");
- return html;
-}
-
-wxString Frame::CreateFilesTable()
-{
- wxString html;
- wxArrayString files;
- GetMainBook()->GetRecentlyOpenedFiles(files);
-
- wxColour bgclr = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
- bgclr = DrawingUtils::LightColour(bgclr, 10.0);
- html << wxT("<table width=100% border=0 bgcolor=\"") << bgclr.GetAsString(wxC2S_HTML_SYNTAX) << wxT("\">");
- if (files.GetCount() == 0) {
- html << wxT("<tr><td><font size=2 face=\"Verdana\">");
- html << wxT("No files found.") << wxT("</font></td></tr>");
- } else {
- wxColour lineCol(0xd0, 0xff, 0xff);
- for (int i=(int)files.GetCount(); i>0; --i) {
-
- wxFileName fn( files.Item(i-1) );
- lineCol.Set(lineCol.Red() == 0xff ? 0xd0 : 0xff, 0xff, 0xff);
-
- lineCol = DrawingUtils::LightColour(lineCol, 1);
- html << wxT("<tr bgcolor=\"") << lineCol.GetAsString(wxC2S_HTML_SYNTAX)<< wxT("\">")
- << wxT("<td><font size=2 face=\"Verdana\">")
- << wxT("<a href=\"action:open-file:")
- << fn.GetFullPath() << wxT("\" >")
- << fn.GetFullName()
- << wxT("</a></font></td>")
- << wxT("<td><font size=2 face=\"Verdana\">") << fn.GetFullPath() << wxT("</font></td>")
- << wxT("</tr>");
- }
- }
- html << wxT("</table>");
- return html;
-}
-
-void Frame::CreateRecentlyOpenedFilesMenu()
-{
- wxArrayString files;
- FileHistory &hs = GetMainBook()->GetRecentlyOpenedFilesClass();
- GetMainBook()->GetRecentlyOpenedFiles(files);
-
- int idx = GetMenuBar()->FindMenu(wxT("File"));
- if (idx != wxNOT_FOUND) {
- wxMenu *menu = GetMenuBar()->GetMenu(idx);
- wxMenu *submenu = NULL;
- wxMenuItem *item = menu->FindItem(XRCID("recent_files"));
- if (item) {
- submenu = item->GetSubMenu();
- }
-
- if (submenu) {
- for (size_t i=0; i<files.GetCount(); i++) {
- hs.AddFileToHistory(files.Item(i));
- }
- //set this menu as the recent file menu
- hs.SetBaseId(RecentFilesSubMenuID+1);
- hs.UseMenu(submenu);
- hs.AddFilesToMenu();
- }
- }
-}
-
-void Frame::CreateRecentlyOpenedWorkspacesMenu()
-{
- wxArrayString files;
- FileHistory &hs = ManagerST::Get()->GetRecentlyOpenedWorkspacesClass();
- ManagerST::Get()->GetRecentlyOpenedWorkspaces(files);
-
- int idx = GetMenuBar()->FindMenu(wxT("File"));
- if (idx != wxNOT_FOUND) {
- wxMenu *menu = GetMenuBar()->GetMenu(idx);
- wxMenu *submenu = NULL;
- wxMenuItem *item = menu->FindItem(XRCID("recent_workspaces"));
- if (item) {
- submenu = item->GetSubMenu();
- }
-
- if (submenu) {
- for (size_t i=0; i<files.GetCount(); i++) {
- hs.AddFileToHistory(files.Item(i).BeforeLast(wxT('.')));
- }
- //set this menu as the recent file menu
- hs.SetBaseId(RecentWorkspaceSubMenuID+1);
- hs.UseMenu(submenu);
- hs.AddFilesToMenu();
- }
- }
-}
-
-void Frame::OnRecentFile(wxCommandEvent &event)
-{
- size_t idx = event.GetId() - (RecentFilesSubMenuID+1);
- FileHistory &fh = GetMainBook()->GetRecentlyOpenedFilesClass();
-
- wxArrayString files;
- fh.GetFiles(files);
-
- if (idx < files.GetCount()) {
- wxString projectName = ManagerST::Get()->GetProjectNameByFile(files.Item(idx));
- Frame::Get()->GetMainBook()->OpenFile(files.Item(idx), projectName);
- }
-}
-
-void Frame::OnRecentWorkspace(wxCommandEvent &event)
-{
- size_t idx = event.GetId() - (RecentWorkspaceSubMenuID+1);
- FileHistory &fh = ManagerST::Get()->GetRecentlyOpenedWorkspacesClass();
-
- wxArrayString files;
- fh.GetFiles(files);
-
- if (idx < files.GetCount()) {
- wxString file_name (files.Item(idx));
- if ( file_name.EndsWith(wxT(".workspace")) == false ) {
- file_name << wxT(".workspace");
- }
- ManagerST::Get()->OpenWorkspace( file_name );
- }
-}
-
-void Frame::OnBackwardForward(wxCommandEvent &event)
-{
- switch (event.GetId()) {
- case wxID_FORWARD:
- NavMgr::Get()->NavigateForward(PluginManager::Get());
- break;
- case wxID_BACKWARD:
- NavMgr::Get()->NavigateBackward(PluginManager::Get());
- break;
- }
-}
-
-void Frame::OnBackwardForwardUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- if (event.GetId() == wxID_FORWARD) {
- event.Enable(NavMgr::Get()->CanNext());
- } else if (event.GetId() == wxID_BACKWARD) {
- event.Enable(NavMgr::Get()->CanPrev());
- } else {
- event.Skip();
- }
-}
-
-void Frame::CreateWelcomePage()
-{
- Manager *mgr = ManagerST::Get();
- //load the template
- wxFileName fn(mgr->GetStarupDirectory(), wxT("index.html"));
- wxFFile file(fn.GetFullPath(), wxT("r"));
- if (!file.IsOpened()) {
- return;
- }
- wxHtmlWindow *welcomePage = new wxHtmlWindow(GetMainBook(), wxID_ANY);
-
- wxString content;
- file.ReadAll(&content);
- file.Close();
-
- //replace $(InstallPath)
- content.Replace(wxT("$(InstallPath)"), mgr->GetStarupDirectory());
-
- //replace the $(FilesTable) & $(WorkspaceTable)
- wxString workspaceTable = CreateWorkspaceTable();
- wxString filesTable = CreateFilesTable();
-
- content.Replace(wxT("$(WorkspaceTable)"), workspaceTable);
- content.Replace(wxT("$(FilesTable)"), filesTable);
-
- //replace the HTML colours with platfroms correct colours
- wxColour active_caption = wxSystemSettings::GetColour(wxSYS_COLOUR_ACTIVECAPTION);
- wxColour active_caption_txt = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
-
- active_caption = DrawingUtils::LightColour(active_caption, 11.0);
-
- content.Replace(wxT("$(ACTIVE_CAPTION)"), active_caption.GetAsString());
- content.Replace(wxT("$(ACTIVE_CAPTION_TEXT)"), active_caption_txt.GetAsString());
-
- welcomePage->SetPage(content);
- GetMainBook()->AddPage(welcomePage, wxT("Welcome!"), wxNullBitmap, true);
-}
-
-void Frame::OnImportMSVS(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- const wxString ALL(wxT("MS Visual Studio Solution File (*.sln)|*.sln|")
- wxT("All Files (*)|*"));
- wxFileDialog dlg(this, wxT("Open MS Solution File"), wxEmptyString, wxEmptyString, ALL, wxFD_OPEN | wxFD_FILE_MUST_EXIST, wxDefaultPosition);
- if (dlg.ShowModal() == wxID_OK) {
-
- wxArrayString cmps;
- BuildSettingsConfigCookie cookie;
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetFirstCompiler(cookie);
- while (cmp) {
- cmps.Add(cmp->GetName());
- cmp = BuildSettingsConfigST::Get()->GetNextCompiler(cookie);
- }
-
- // Get the prefered compiler type
- wxString compilerName = wxGetSingleChoice(wxT("Select the compiler to use:"), wxT("Choose compiler"), cmps);
- ManagerST::Get()->ImportMSVSSolution(dlg.GetPath(), compilerName);
- }
-}
-
-void Frame::OnDebug(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- Manager *mgr = ManagerST::Get();
-
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- //debugger is already running -> probably a continue command
- mgr->DbgStart();
- } else if (mgr->IsWorkspaceOpen()) {
-
- if (WorkspaceST::Get()->GetActiveProjectName().IsEmpty()) {
- wxLogMessage(wxT("Attempting to debug workspace with no active project? Ignoring."));
- return;
- }
-
- // Debugger is not running, but workspace is opened -> start debug session
- long build_first(wxID_NO);
- bool answer(false);
-
- if (!EditorConfigST::Get()->GetLongValue(wxT("BuildBeforeDebug"), build_first)) {
- // value does not exist in the configuration file, prompt the user
- ThreeButtonDlg *dlg = new ThreeButtonDlg(this, wxT("Would you like to build the project before debugging it?"), wxT("CodeLite"));
- build_first = dlg->ShowModal();
- answer = dlg->GetDontAskMeAgain();
- dlg->Destroy();
-
- if (answer && build_first != wxID_CANCEL) {
- // save the answer
- EditorConfigST::Get()->SaveLongValue(wxT("BuildBeforeDebug"), build_first);
- }
-
- }
-
- // if build first is required, place a build command on the queue
- if (build_first == wxID_OK) {
- QueueCommand bldCmd(WorkspaceST::Get()->GetActiveProjectName(), wxEmptyString, false, QueueCommand::Build);
-
- // handle custom builds
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(WorkspaceST::Get()->GetActiveProjectName(), wxEmptyString);
- if (bldConf->IsCustomBuild()) {
- bldCmd.SetKind(QueueCommand::CustomBuild);
- bldCmd.SetCustomBuildTarget(wxT("Build"));
- }
-
- ManagerST::Get()->PushQueueCommand(bldCmd);
- }
-
- // place a debug command
- QueueCommand dbgCmd(QueueCommand::Debug);
-
- // make sure that build was success before proceeding (only when build_first flag is on)
- dbgCmd.SetCheckBuildSuccess(build_first == wxID_OK);
- ManagerST::Get()->PushQueueCommand(dbgCmd);
-
- // trigger the commands queue
- ManagerST::Get()->ProcessCommandQueue();
- }
-}
-
-void Frame::OnDebugUI(wxUpdateUIEvent &e)
-{
- CHECK_SHUTDOWN();
- e.Enable( !ManagerST::Get()->IsBuildInProgress() );
-}
-
-void Frame::OnDebugRestart(wxCommandEvent &e)
-{
- if (DebuggerMgr::Get().GetActiveDebugger() && DebuggerMgr::Get().GetActiveDebugger()->IsRunning()) {
- OnDebugStop(e);
- }
- OnDebug(e);
-}
-
-void Frame::OnDebugRestartUI(wxUpdateUIEvent &e)
-{
- CHECK_SHUTDOWN();
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- e.Enable(dbgr && dbgr->IsRunning());
-}
-
-void Frame::OnDebugStop(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- ManagerST::Get()->DbgStop();
-}
-
-void Frame::OnDebugStopUI(wxUpdateUIEvent &e)
-{
- CHECK_SHUTDOWN();
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- e.Enable(dbgr && dbgr->IsRunning());
-}
-
-void Frame::OnDebugManageBreakpointsUI(wxUpdateUIEvent &e)
-{
- e.Enable(true);
-}
-
-void Frame::OnDebugCmd(wxCommandEvent &e)
-{
- int cmd(wxNOT_FOUND);
- if (e.GetId() == XRCID("pause_debugger")) {
- cmd = DBG_PAUSE;
- } else if (e.GetId() == XRCID("dbg_stepin")) {
- cmd = DBG_STEPIN;
- } else if (e.GetId() == XRCID("dbg_stepout")) {
- cmd = DBG_STEPOUT;
- } else if (e.GetId() == XRCID("dbg_next")) {
- cmd = DBG_NEXT;
- } else if (e.GetId() == XRCID("show_cursor")) {
- cmd = DBG_SHOW_CURSOR;
- }
-
- if (cmd != wxNOT_FOUND) {
- ManagerST::Get()->DbgDoSimpleCommand(cmd);
- }
-}
-
-void Frame::OnDebugCmdUI(wxUpdateUIEvent &e)
-{
- CHECK_SHUTDOWN();
- if (e.GetId() == XRCID("pause_debugger") ||
- e.GetId() == XRCID("dbg_stepin") ||
- e.GetId() == XRCID("dbg_stepout") ||
- e.GetId() == XRCID("dbg_next") ||
- e.GetId() == XRCID("show_cursor")) {
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- e.Enable(dbgr && dbgr->IsRunning());
- }
-}
-
-void Frame::OnDebuggerSettings(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- DebuggerSettingsDlg *dlg = new DebuggerSettingsDlg(this);
- dlg->ShowModal();
- dlg->Destroy();
-}
-
-void Frame::OnIdle(wxIdleEvent &e)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- dbgr->Poke();
- }
-}
-
-void Frame::OnLinkClicked(wxHtmlLinkEvent &e)
-{
- wxString action = e.GetLinkInfo().GetHref();
- if (!action.StartsWith(wxT("action:"), &action)) {
- wxLaunchDefaultBrowser(e.GetLinkInfo().GetHref());
- return;
- }
- wxString command = action.BeforeFirst(wxT(':'));
- wxString filename = action.AfterFirst(wxT(':'));
- if (command != wxT("switch-workspace") &&
- command != wxT("open-file") &&
- command != wxT("create-workspace") &&
- command != wxT("import-msvs-solution") &&
- command != wxT("open-workspace")) {
- e.Skip();
- return;
- }
-
- wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, XRCID("link_action"));
- event.SetEventObject(this);
- StartPageData *data = new StartPageData;
- data->action = command;
- data->file_path = filename;
- if (wxFileName(filename).GetExt() == wxT("workspace")) {
- data->action = wxT("switch-workspace");
- }
- event.SetClientData(data);
- wxPostEvent(this, event);
-}
-
-void Frame::OnStartPageEvent(wxCommandEvent& e)
-{
- StartPageData *data = (StartPageData *)e.GetClientData();
- if ( data->action == wxT("switch-workspace" )) {
- ManagerST::Get()->OpenWorkspace(data->file_path);
- } else if ( data->action == wxT("open-file" )) {
- Frame::Get()->GetMainBook()->OpenFile(data->file_path, wxEmptyString);
- } else if ( data->action == wxT("create-workspace" )) {
- OnProjectNewWorkspace(e);
- } else if ( data->action == wxT("import-msvs-solution" )) {
- OnImportMSVS(e);
- } else if ( data->action == wxT("open-workspace" )) {
- OnSwitchWorkspace(e);
- }
- delete data;
-}
-
-void Frame::OnLoadLastSessionUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- event.Check(m_frameGeneralInfo.GetFlags() & CL_LOAD_LAST_SESSION);
-}
-
-void Frame::SetFrameFlag(bool set, int flag)
-{
- if (set) {
- m_frameGeneralInfo.SetFlags(m_frameGeneralInfo.GetFlags() | flag);
- } else {
- m_frameGeneralInfo.SetFlags(m_frameGeneralInfo.GetFlags() & ~(flag));
- }
-}
-
-void Frame::OnLoadLastSession(wxCommandEvent &event)
-{
- SetFrameFlag(event.IsChecked(), CL_LOAD_LAST_SESSION);
-}
-
-void Frame::OnShowWelcomePageUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- event.Enable(GetMainBook()->FindPage(wxT("Welcome!")) == NULL);
-}
-
-void Frame::OnShowWelcomePage(wxCommandEvent &event)
-{
- ShowWelcomePage();
-}
-
-void Frame::CompleteInitialization()
-{
- PluginManager::Get()->Load();
-
- // Add buttons to the OutputControlBarView
- m_controlBar->AddAllButtons();
-
- // Connect some system events
- m_mgr.Connect(wxEVT_AUI_PANE_CLOSE, wxAuiManagerEventHandler(Frame::OnDockablePaneClosed), NULL, this);
- m_mgr.Connect(wxEVT_AUI_RENDER, wxAuiManagerEventHandler(Frame::OnAuiManagerRender), NULL, this);
-
- SetEnvStatusMessage();
-}
-
-void Frame::OnAppActivated(wxActivateEvent &e)
-{
- if (m_theFrame && e.GetActive()) {
- m_theFrame->ReloadExternallyModifiedProjectFiles();
- m_theFrame->GetMainBook()->ReloadExternallyModified(true);
- }
- e.Skip();
-}
-
-void Frame::OnCompileFile(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- Manager *mgr = ManagerST::Get();
- if (mgr->IsWorkspaceOpen() && !mgr->IsBuildInProgress()) {
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor && !editor->GetProject().IsEmpty()) {
- mgr->CompileFile(editor->GetProject(), editor->GetFileName().GetFullPath());
- }
- }
-}
-
-void Frame::OnCompileFileUI(wxUpdateUIEvent &e)
-{
- CHECK_SHUTDOWN();
- e.Enable(false);
- Manager *mgr = ManagerST::Get();
- if (mgr->IsWorkspaceOpen() && !mgr->IsBuildInProgress()) {
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor && !editor->GetProject().IsEmpty()) {
- e.Enable(true);
- }
- }
-}
-
-void Frame::OnDebugAttach(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- //Start the debugger
- Manager *mgr = ManagerST::Get();
- mgr->DbgStart(1);
-}
-
-void Frame::OnCloseAllButThis(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- wxWindow *win = GetMainBook()->GetCurrentPage();
- if (win != NULL) {
- GetMainBook()->CloseAllButThis(win);
- }
-}
-
-WorkspaceTab *Frame::GetWorkspaceTab()
-{
- return GetWorkspacePane()->GetWorkspaceTab();
-}
-
-FileExplorer *Frame::GetFileExplorer()
-{
- return GetWorkspacePane()->GetFileExplorer();
-}
-
-void Frame::OnLoadWelcomePage(wxCommandEvent &event)
-{
- SetFrameFlag(event.IsChecked(), CL_SHOW_WELCOME_PAGE);
-}
-
-void Frame::OnLoadWelcomePageUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- event.Check(m_frameGeneralInfo.GetFlags() & CL_SHOW_WELCOME_PAGE ? true : false);
-}
-
-void Frame::OnFileCloseUI(wxUpdateUIEvent &event)
-{
- CHECK_SHUTDOWN();
- event.Enable(GetMainBook()->GetCurrentPage() != NULL);
-}
-
-void Frame::OnConvertEol(wxCommandEvent &e)
-{
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- int eol(wxSCI_EOL_LF);
- if (e.GetId() == XRCID("convert_eol_win")) {
- eol = wxSCI_EOL_CRLF;
- } else if (e.GetId() == XRCID("convert_eol_mac")) {
- eol = wxSCI_EOL_CR;
- }
- editor->ConvertEOLs(eol);
- editor->SetEOLMode(eol);
- }
-}
-
-void Frame::OnViewDisplayEOL(wxCommandEvent &e)
-{
- bool visible;
- size_t frame_flags = m_frameGeneralInfo.GetFlags();
- if (e.IsChecked()) {
- frame_flags |= CL_SHOW_EOL;
- visible = true;
- } else {
- frame_flags &= ~CL_SHOW_EOL;
- visible = false;
- }
-
- m_frameGeneralInfo.SetFlags(frame_flags);
- GetMainBook()->SetViewEOL(visible);
-}
-
-void Frame::OnViewDisplayEOL_UI(wxUpdateUIEvent &e)
-{
- CHECK_SHUTDOWN();
- LEditor *editor = GetMainBook()->GetActiveEditor();
- bool hasEditor = editor ? true : false;
- if (!hasEditor) {
- e.Enable(false);
- return;
- }
-
- e.Enable(true);
- e.Check(m_frameGeneralInfo.GetFlags() & CL_SHOW_EOL ? true : false);
-}
-
-void Frame::OnCopyFilePath(wxCommandEvent &event)
-{
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- wxString fileName = editor->GetFileName().GetFullPath();
-#if wxUSE_CLIPBOARD
- if (wxTheClipboard->Open()) {
- wxTheClipboard->UsePrimarySelection(false);
- if (!wxTheClipboard->SetData(new wxTextDataObject(fileName))) {
- //wxPrintf(wxT("Failed to insert data %s to clipboard"), textToCopy.GetData());
- }
- wxTheClipboard->Close();
- } else {
- wxPrintf(wxT("Failed to open the clipboard"));
- }
-#endif
- }
-}
-void Frame::OnCopyFilePathOnly(wxCommandEvent &event)
-{
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- wxString fileName = editor->GetFileName().GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR);
-#if wxUSE_CLIPBOARD
- if (wxTheClipboard->Open()) {
- wxTheClipboard->UsePrimarySelection(false);
- if (!wxTheClipboard->SetData(new wxTextDataObject(fileName))) {
- //wxPrintf(wxT("Failed to insert data %s to clipboard"), textToCopy.GetData());
- }
- wxTheClipboard->Close();
- } else {
- wxPrintf(wxT("Failed to open the clipboard"));
- }
-#endif
- }
-}
-
-void Frame::OnWorkspaceMenuUI(wxUpdateUIEvent &e)
-{
- CHECK_SHUTDOWN();
- if (ManagerST::Get()->IsWorkspaceOpen() == false) {
- e.Enable(false);
- return;
- }
- if (ManagerST::Get()->IsBuildInProgress()) {
- e.Enable(false);
- return;
- }
- e.Enable(true);
-}
-
-void Frame::OnManagePlugins(wxCommandEvent &e)
-{
- PluginMgrDlg dlg(this);
- if (dlg.ShowModal() == wxID_OK) {
- DoSuggestRestart();
- }
-}
-
-void Frame::OnCppContextMenu(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- editor->GetContext()->ProcessEvent(e);
- }
-}
-
-void Frame::OnConfigureAccelerators(wxCommandEvent &e)
-{
- AccelTableDlg dlg(this);
- dlg.ShowModal();
-}
-
-void Frame::OnUpdateBuildRefactorIndexBar(wxCommandEvent& e)
-{
- wxUnusedVar(e);
-}
-
-void Frame::OnHighlightWord(wxCommandEvent& event)
-{
- long highlightWord(1);
-
- EditorConfigST::Get()->GetLongValue(wxT("highlight_word"), highlightWord);
-
- if ( !highlightWord ) {
- GetMainBook()->HighlightWord(true);
- EditorConfigST::Get()->SaveLongValue(wxT("highlight_word"), 1);
- } else {
- GetMainBook()->HighlightWord(false);
- EditorConfigST::Get()->SaveLongValue(wxT("highlight_word"), 0);
- }
-}
-
-void Frame::OnShowNavBar(wxCommandEvent& e)
-{
- GetMainBook()->ShowNavBar(e.IsChecked());
-}
-
-void Frame::OnShowNavBarUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- e.Check(GetMainBook()->IsNavBarShown());
-}
-
-void Frame::OnParsingThreadDone(wxCommandEvent& e)
-{
- if ( ManagerST::Get()->IsShutdownInProgress() ) {
- // we are in shutdown progress, dont do anything
- return;
- }
-
- wxUnusedVar(e);
- SetStatusMessage(wxEmptyString, 0, XRCID("retag_file"));
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- editor->UpdateColours();
- }
-}
-
-void Frame::OnSingleInstanceOpenFiles(wxCommandEvent& e)
-{
- wxArrayString *arr = reinterpret_cast<wxArrayString*>(e.GetClientData());
- if (arr) {
- for (size_t i=0; i<arr->GetCount(); i++) {
- wxFileName fn(arr->Item(i));
-
- // if file is workspace, load it
- if (fn.GetExt() == wxT("workspace")) {
- if ( ManagerST::Get()->IsWorkspaceOpen() ) {
- if (wxMessageBox(_("Close this workspace, and load workspace '") + fn.GetFullName() + wxT("'"), wxT("CodeLite"), wxICON_QUESTION|wxYES_NO, this) == wxNO) {
- continue;
- }
- }
- ManagerST::Get()->OpenWorkspace(arr->Item(i));
- } else {
- Frame::Get()->GetMainBook()->OpenFile(arr->Item(i), wxEmptyString);
- }
- }
- delete arr;
- }
- Raise();
-}
-
-void Frame::OnSingleInstanceRaise(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- Raise();
-}
-
-void Frame::OnNewVersionAvailable(wxCommandEvent& e)
-{
- WebUpdateJobData *data = reinterpret_cast<WebUpdateJobData*>(e.GetClientData());
- if (data) {
- if (data->IsUpToDate() == false) {
-
- m_codeliteDownloadPageURL = data->GetUrl();
- ButtonDetails btn;
- btn.buttonLabel = wxT("Download Now!");
- btn.commandId = XRCID("goto_codelite_download_url");
- btn.isDefault = true;
- btn.window = this;
-
- GetMainBook()->ShowMessage(wxT("A new version of CodeLite is available. Download it?"), true, wxXmlResource::Get()->LoadBitmap(wxT("message_pane_software_update")), btn);
-
- } else {
- if(!data->GetShowMessage()) {
- wxLogMessage(wxString::Format(wxT("Info: CodeLite is up-to-date (or newer), version used: %d, version on site:%d"), data->GetCurrentVersion(), data->GetNewVersion()));
-
- } else {
- // User initiated the version check request
- GetMainBook()->ShowMessage(wxT("CodeLite is up-to-date"));
- }
- }
- delete data;
- }
-}
-
-void Frame::OnDetachWorkspaceViewTab(wxCommandEvent& e)
-{
- size_t sel = GetWorkspacePane()->GetNotebook()->GetSelection();
- CustomTab *t = GetWorkspacePane()->GetNotebook()->GetTabContainer()->IndexToTab(sel);
- wxString text = t->GetText();
- wxBitmap bmp = t->GetBmp();
- wxWindow *page = t->GetWindow();
-
- // remove the page from the notebook
- GetWorkspacePane()->GetNotebook()->RemovePage(sel, false);
-
- DockablePane *pane = new DockablePane(m_mainPanel, GetWorkspacePane()->GetNotebook(), page, text, bmp, wxSize(200, 200));
- wxUnusedVar(pane);
- wxUnusedVar(e);
-}
-
-void Frame::OnNewDetachedPane(wxCommandEvent &e)
-{
- DockablePane *pane = (DockablePane*)(e.GetClientData());
- if (pane) {
- wxString text = pane->GetName();
- m_DPmenuMgr->AddMenu(text);
-
- m_mgr.AddPane(pane, wxAuiPaneInfo().Name(text).Caption(text));
- m_mgr.Update();
- }
-}
-
-void Frame::OnDestroyDetachedPane(wxCommandEvent& e)
-{
- DockablePane *pane = (DockablePane*)(e.GetClientData());
- if (pane) {
- m_mgr.DetachPane(pane);
-
- // remove any menu entries for this pane
- m_DPmenuMgr->RemoveMenu(pane->GetName());
- pane->Destroy();
- m_mgr.Update();
- }
-}
-
-void Frame::OnAuiManagerRender(wxAuiManagerEvent &e)
-{
- wxAuiManager *mgr = e.GetManager();
- wxAuiPaneInfoArray &panes = mgr->GetAllPanes();
-
- wxAcceleratorTable *accelTable = GetAcceleratorTable();
- if (accelTable != NULL) {
- for (size_t i = 0; i < panes.GetCount(); i++) {
- if (panes[i].frame != NULL) {
- panes[i].frame->SetAcceleratorTable(*accelTable);
- }
- }
- }
- e.Skip();
-}
-
-void Frame::OnDockablePaneClosed(wxAuiManagerEvent &e)
-{
- DockablePane *pane = dynamic_cast<DockablePane*>(e.GetPane()->window);
- if (pane) {
- wxCommandEvent evt(wxEVT_COMMAND_MENU_SELECTED, XRCID("close_pane"));
- pane->GetEventHandler()->ProcessEvent(evt);
- } else {
- e.Skip();
- }
-}
-
-void Frame::SetStatusMessage(const wxString &msg, int col, int id)
-{
- wxUnusedVar(id);
- SetStatusText(msg, col);
-}
-
-void Frame::OnFunctionCalltipUI(wxUpdateUIEvent& event)
-{
- CHECK_SHUTDOWN();
- LEditor* editor = GetMainBook()->GetActiveEditor();
- event.Enable(editor ? true : false);
-}
-
-void Frame::OnReloadWorkspace(wxCommandEvent& event)
-{
- wxUnusedVar(event);
-
- // Save the current session before re-loading
- SaveLayoutAndSession();
-
- ManagerST::Get()->ReloadWorkspace();
-}
-
-void Frame::OnReloadWorkspaceUI(wxUpdateUIEvent& event)
-{
- CHECK_SHUTDOWN();
- event.Enable(ManagerST::Get()->IsWorkspaceOpen());
-}
-
-void Frame::RebuildProject(const wxString& projectName)
-{
- bool enable = !ManagerST::Get()->IsBuildInProgress() && !ManagerST::Get()->GetActiveProjectName().IsEmpty();
- if (enable) {
- wxString conf;
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf(projectName, wxEmptyString);
- if (bldConf) {
- conf = bldConf->GetName();
- }
-
- // first we place a clean command
- QueueCommand buildInfo(projectName, conf, false, QueueCommand::Clean);
- if (bldConf && bldConf->IsCustomBuild()) {
- buildInfo.SetKind(QueueCommand::CustomBuild);
- buildInfo.SetCustomBuildTarget(wxT("Clean"));
- }
- ManagerST::Get()->PushQueueCommand(buildInfo);
-
- // now we place a build command
- buildInfo = QueueCommand(projectName, conf, false, QueueCommand::Build);
-
- if (bldConf && bldConf->IsCustomBuild()) {
- buildInfo.SetKind(QueueCommand::CustomBuild);
- buildInfo.SetCustomBuildTarget(wxT("Build"));
- }
- ManagerST::Get()->PushQueueCommand(buildInfo);
-
- // process the queue
- ManagerST::Get()->ProcessCommandQueue();
- }
-}
-
-void Frame::OnBatchBuildUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- bool enable = !ManagerST::Get()->IsBuildInProgress() && ManagerST::Get()->IsWorkspaceOpen();
- e.Enable(enable);
-}
-
-void Frame::OnBatchBuild(wxCommandEvent& e)
-{
- BatchBuildDlg *batchBuild = new BatchBuildDlg(this);
- if (batchBuild->ShowModal() == wxID_OK) {
- // build the projects
- std::list<QueueCommand> buildInfoList;
- batchBuild->GetBuildInfoList(buildInfoList);
- if (buildInfoList.empty() == false) {
- std::list<QueueCommand>::iterator iter = buildInfoList.begin();
-
- // add all build items to queue
- for (; iter != buildInfoList.end(); iter ++) {
- ManagerST::Get()->PushQueueCommand(*iter);
- }
- }
- }
- batchBuild->Destroy();
-
- // start the build process
- ManagerST::Get()->ProcessCommandQueue();
-}
-
-void Frame::SetFrameTitle(LEditor* editor)
-{
- wxString title;
- if (editor && editor->GetModify()) {
- title << wxT("*");
- }
-
- LEditor *activeEditor = GetMainBook()->GetActiveEditor();
- if (editor && activeEditor == editor) {
- title << editor->GetFileName().GetFullName() << wxT(" ");
- // by default display the full path as well
- long value(1);
- EditorConfigST::Get()->GetLongValue(wxT("ShowFullPathInFrameTitle"), value);
- if (value) {
- title << wxT("[") << editor->GetFileName().GetFullPath() << wxT("] ");
- }
- title << wxT("- ");
- }
-
- title << wxT("CodeLite - Revision: ");
- title << SvnRevision;
- SetTitle(title);
-}
-
-void Frame::OnBuildWorkspace(wxCommandEvent& e)
-{
- // start the build process
- wxUnusedVar(e);
- ManagerST::Get()->BuildWorkspace();
-}
-
-void Frame::OnBuildWorkspaceUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- e.Enable(ManagerST::Get()->IsWorkspaceOpen() && !ManagerST::Get()->IsBuildInProgress());
-}
-
-void Frame::OnDetachDebuggerViewTab(wxCommandEvent& e)
-{
- size_t sel = GetDebuggerPane()->GetNotebook()->GetSelection();
- CustomTab *t = GetDebuggerPane()->GetNotebook()->GetTabContainer()->IndexToTab(sel);
- wxString text = t->GetText();
- wxBitmap bmp = t->GetBmp();
- wxWindow *page = t->GetWindow();
-
- // remove the page from the notebook
- GetDebuggerPane()->GetNotebook()->RemovePage(sel, false);
-
- DockablePane *pane = new DockablePane(m_mainPanel, GetDebuggerPane()->GetNotebook(), page, text, bmp, wxSize(200, 200));
- wxUnusedVar(pane);
- wxUnusedVar(e);
-}
-
-void Frame::OnCleanWorkspace(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- ManagerST::Get()->CleanWorkspace();
-}
-
-void Frame::OnCleanWorkspaceUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- e.Enable(ManagerST::Get()->IsWorkspaceOpen() && !ManagerST::Get()->IsBuildInProgress());
-}
-
-void Frame::OnReBuildWorkspace(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- ManagerST::Get()->RebuildWorkspace();
-}
-
-void Frame::OnReBuildWorkspaceUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- e.Enable(ManagerST::Get()->IsWorkspaceOpen() && !ManagerST::Get()->IsBuildInProgress());
-}
-
-void Frame::OnDetachTab(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- GetMainBook()->DetachPage(GetMainBook()->GetCurrentPage());
-}
-
-void Frame::OnDetachTabUI(wxUpdateUIEvent &e)
-{
- CHECK_SHUTDOWN();
- e.Enable(!GetMainBook()->IsDetached(GetMainBook()->GetCurrentPage()));
-}
-
-void Frame::OnOpenShellFromFilePath(wxCommandEvent& e)
-{
- // get the file path
- LEditor *editor = GetMainBook()->GetActiveEditor();
- if (editor) {
- wxString filepath = editor->GetFileName().GetPath();
- DirSaver ds;
- wxSetWorkingDirectory(filepath);
- if (!ProcUtils::Shell()) {
- wxLogMessage(wxString::Format(wxT("Failed to open shell at '%s'"), filepath.c_str()));
- }
- }
-}
-
-void Frame::ShowWelcomePage()
-{
- wxWindow *win = GetMainBook()->FindPage(wxT("Welcome!"));
- if (win) {
- GetMainBook()->SelectPage(win);
- } else {
- CreateWelcomePage();
- }
-}
-
-void Frame::OnSyntaxHighlight(wxCommandEvent& e)
-{
- SyntaxHighlightDlg *dlg = new SyntaxHighlightDlg(this);
- dlg->ShowModal();
- dlg->Destroy();
-}
-
-void Frame::OnQuickDebug(wxCommandEvent& e)
-{
- // launch the debugger
- QuickDebugDlg *dlg = new QuickDebugDlg(this);
- if (dlg->ShowModal() == wxID_OK) {
-
- DebuggerMgr::Get().SetActiveDebugger(dlg->GetDebuggerName());
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
-
- if (dbgr && !dbgr->IsRunning()) {
-
- std::vector<BreakpointInfo> bpList;
- wxString exepath = dlg->GetExe();
- wxString wd = dlg->GetWorkingDirectory();
- wxArrayString cmds = dlg->GetStartupCmds();
-
- // update the debugger information
- DebuggerInformation dinfo;
- DebuggerMgr::Get().GetDebuggerInformation(dlg->GetDebuggerName(), dinfo);
- dinfo.breakAtWinMain = true;
-
- // read the console command
- dinfo.consoleCommand = EditorConfigST::Get()->GetOptions()->GetProgramConsoleCommand();
-
- // ManagerST::Get()->GetBreakpointsMgr()->DelAllBreakpoints(); TODO: Reimplement this when UpdateBreakpoints() updates only alterations, rather than delete/re-enter
-
- wxString dbgname = dinfo.path;
- dbgname = EnvironmentConfig::Instance()->ExpandVariables(dbgname);
-
- // launch the debugger
- dbgr->SetObserver(ManagerST::Get());
- dbgr->SetDebuggerInformation(dinfo);
-
- //TODO: Reimplement this when UpdateBreakpoints() updates only alterations, rather than delete/re-enter
- //GetMainBook()->UpdateBreakpoints();
-
- // get an updated list of breakpoints
- ManagerST::Get()->GetBreakpointsMgr()->GetBreakpoints(bpList);
-
- DebuggerStartupInfo startup_info;
- startup_info.debugger = dbgr;
-
- // notify plugins that we're about to start debugging
- if (SendCmdEvent(wxEVT_DEBUG_STARTING, &startup_info))
- // plugin stopped debugging
- return;
-
- dbgr->SetIsRemoteDebugging(false);
- dbgr->Start(dbgname, exepath, wd, bpList, cmds);
-
- // notify plugins that the debugger just started
- SendCmdEvent(wxEVT_DEBUG_STARTED, &startup_info);
-
- dbgr->Run(dlg->GetArguments(), wxEmptyString);
-
- // Now the debugger has been fed the breakpoints, re-Initialise the breakpt view,
- // so that it uses debugger_ids instead of internal_ids
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
-
- // and finally make sure that the debugger pane is visiable
- ManagerST::Get()->ShowDebuggerPane();
- }
- }
- dlg->Destroy();
-}
-
-void Frame::OnQuickDebugUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- e.Enable(dbgr && !dbgr->IsRunning());
-}
-
-void Frame::OnShowWhitespaceUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- if (e.GetId() == XRCID("whitepsace_invisible")) {
- e.Check(options->GetShowWhitspaces() == 0);
- } else if (e.GetId() == XRCID("whitepsace_always")) {
- e.Check(options->GetShowWhitspaces() == 1);
- } else if (e.GetId() == XRCID("whitespace_visiable_after_indent")) {
- e.Check(options->GetShowWhitspaces() == 2);
- } else if (e.GetId() == XRCID("whitespace_indent_only")) {
- e.Check(options->GetShowWhitspaces() == 3);
- }
-}
-
-void Frame::OnShowWhitespace(wxCommandEvent& e)
-{
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- if (e.GetId() == XRCID("whitepsace_invisible")) {
- options->SetShowWhitspaces(0);
- } else if (e.GetId() == XRCID("whitepsace_always")) {
- options->SetShowWhitspaces(1);
- } else if (e.GetId() == XRCID("whitespace_visiable_after_indent")) {
- options->SetShowWhitspaces(2);
- } else if (e.GetId() == XRCID("whitespace_indent_only")) {
- options->SetShowWhitspaces(3);
- }
-
- GetMainBook()->ShowWhitespace(options->GetShowWhitspaces());
-
- // save the settings
- EditorConfigST::Get()->SetOptions(options);
-}
-
-void Frame::OnIncrementalSearch(wxCommandEvent& event)
-{
- wxUnusedVar( event );
- GetMainBook()->ShowQuickBar(true);
-}
-
-void Frame::OnRetagWorkspace(wxCommandEvent& event)
-{
- wxUnusedVar( event );
- ManagerST::Get()->RetagWorkspace(event.GetId() == XRCID("retag_workspace") ? true : false );
-}
-
-void Frame::OnShowFullScreen(wxCommandEvent& e)
-{
- wxUnusedVar(e);
-
- if (IsFullScreen()) {
- ShowFullScreen(false);
-
- } else {
-
- ShowFullScreen(true, wxFULLSCREEN_NOCAPTION|wxFULLSCREEN_NOBORDER);
-
- // Re-apply the menu accelerators
- ManagerST::Get()->UpdateMenuAccelerators();
- }
-}
-
-void Frame::OnSetStatusMessage(wxCommandEvent& e)
-{
- wxString msg = e.GetString();
- int col = e.GetInt();
- SetStatusMessage(msg, col);
-}
-
-void Frame::OnReloadExternallModified(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- ReloadExternallyModifiedProjectFiles();
- GetMainBook()->ReloadExternallyModified(true);
-}
-
-void Frame::OnReloadExternallModifiedNoPrompt(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- GetMainBook()->ReloadExternallyModified(false);
-}
-
-void Frame::ReloadExternallyModifiedProjectFiles()
-{
- if ( ManagerST::Get()->IsWorkspaceOpen() == false ) {
- return;
- }
-
- Workspace *workspace = WorkspaceST::Get();
- bool workspace_modified = false, project_modified = false;
-
- // check if the workspace needs reloading and ask the user for confirmation
- // if it does
- if (workspace->GetWorkspaceLastModifiedTime() < workspace->GetFileLastModifiedTime()) {
- // always update last modification time: if the user chooses to reload it
- // will not matter, and it avoids the program prompting the user repeatedly
- // if he chooses not to reload the workspace
- workspace->SetWorkspaceLastModifiedTime(workspace->GetFileLastModifiedTime());
- workspace_modified = true;
- }
-
- // check if any of the projects in the workspace needs reloading
- wxArrayString projects;
- workspace->GetProjectList(projects);
-
- for (size_t i = 0; i < projects.GetCount(); ++i) {
- wxString errStr;
- ProjectPtr proj = workspace->FindProjectByName(projects[i], errStr);
-
- if (proj->GetProjectLastModifiedTime() < proj->GetFileLastModifiedTime()) {
- // always update last modification time: if the user chooses to reload it
- // will not matter, and it avoids the program prompting the user repeatedly
- // if he chooses not to reload some of the projects
- proj->SetProjectLastModifiedTime(proj->GetFileLastModifiedTime());
- project_modified = true;
- }
- }
-
- if (!project_modified && !workspace_modified)
- return;
-
- ButtonDetails btn, noBtn;
- btn.buttonLabel = wxT("Reload Workspace");
- btn.commandId = XRCID("reload_workspace");
- btn.isDefault = false;
- btn.window = this;
-
- noBtn.buttonLabel = wxT("&Don't reload");
- noBtn.isDefault = true;
- noBtn.window = NULL;
-
- GetMainBook()->ShowMessage(_("Workspace or project settings have been modified, would you like to reload the workspace and all contained projects?"), false, wxXmlResource::Get()->LoadBitmap(wxT("message_pane_reload_workspace")), noBtn, btn);
-}
-
-void Frame::SaveLayoutAndSession()
-{
- //save the perspective
- WriteFileUTF8(ManagerST::Get()->GetStarupDirectory() + wxT("/config/codelite.layout"), m_mgr.SavePerspective());
- EditorConfigST::Get()->SaveLexers();
-
- //save general information
- if (IsMaximized()) {
- m_frameGeneralInfo.SetFrameSize(wxSize(800, 600));
- } else {
- m_frameGeneralInfo.SetFrameSize(this->GetSize());
- }
- m_frameGeneralInfo.SetFramePosition(this->GetScreenPosition());
-
- EditorConfigST::Get()->Begin();
-
- SetFrameFlag(IsMaximized(), CL_MAXIMIZE_FRAME);
- EditorConfigST::Get()->WriteObject(wxT("GeneralInfo"), &m_frameGeneralInfo);
- EditorConfigST::Get()->SaveLongValue(wxT("ShowNavBar"), m_mainBook->IsNavBarShown() ? 1 : 0);
-
- //save the 'find and replace' information
- GetOutputPane()->GetFindResultsTab()->SaveFindInFilesData();
- if (LEditor::GetFindReplaceDialog()) {
- EditorConfigST::Get()->WriteObject(wxT("FindAndReplaceData"), &(LEditor::GetFindReplaceDialog()->GetData()));
- }
-
- //save the current session before closing
- wxString sessionName = ManagerST::Get()->IsWorkspaceOpen() ? WorkspaceST::Get()->GetWorkspaceFileName().GetFullPath()
- : wxString(wxT("Default"));
- SessionEntry session;
- session.SetWorkspaceName(sessionName);
- wxArrayInt unused; GetMainBook()->SaveSession(session, unused);
- ManagerST::Get()->GetBreakpointsMgr()->SaveSession(session);
- SessionManager::Get().Save(sessionName, session);
- SessionManager::Get().SetLastWorkspaceName(sessionName);
-
- // make sure there are no 'unsaved documents'
- GetMainBook()->CloseAll(false);
-
- // keep list of all detached panes
- wxArrayString panes = m_DPmenuMgr->GetDeatchedPanesList();
- DetachedPanesInfo dpi(panes);
- EditorConfigST::Get()->WriteObject(wxT("DetachedPanesList"), &dpi);
-
- // save the notebooks styles
- EditorConfigST::Get()->SaveLongValue(wxT("MainBook"), GetMainBook()->GetBookStyle());
- EditorConfigST::Get()->SaveLongValue(wxT("DebuggerBook"), GetDebuggerPane()->GetNotebook()->GetBookStyle());
- EditorConfigST::Get()->SaveLongValue(wxT("OutputPane"), GetOutputPane()->GetNotebook()->GetBookStyle());
- EditorConfigST::Get()->SaveLongValue(wxT("WorkspaceView"), GetWorkspacePane()->GetNotebook()->GetBookStyle());
- EditorConfigST::Get()->SaveLongValue(wxT("FindResults"), GetOutputPane()->GetFindResultsTab()->GetBookStyle());
-
- EditorConfigST::Get()->Save();
-}
-
-void Frame::OnNextFiFMatch(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- GetOutputPane()->GetFindResultsTab()->NextMatch();
-}
-
-void Frame::OnPreviousFiFMatch(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- GetOutputPane()->GetFindResultsTab()->PrevMatch();
-}
-
-void Frame::OnNextFiFMatchUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- e.Enable(GetOutputPane()->GetFindResultsTab()->GetPageCount() > 0);
-}
-
-void Frame::OnPreviousFiFMatchUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- e.Enable(GetOutputPane()->GetFindResultsTab()->GetPageCount() > 0);
-}
-
-void Frame::OnFindResourceXXX(wxCommandEvent& e)
-{
- // Determine the search type
- wxString searchType;
- if(e.GetId() == XRCID("find_function")) {
- searchType = OpenResourceDialog::TYPE_FUNCTION;
-
- } else if(e.GetId() == XRCID("find_macro")) {
- searchType = OpenResourceDialog::TYPE_MACRO;
-
- } else if(e.GetId() == XRCID("find_typedef")) {
- searchType = OpenResourceDialog::TYPE_TYPEDEF;
-
- } else if(e.GetId() == XRCID("find_type")) {
- searchType = OpenResourceDialog::TYPE_CLASS;
- } else {
- searchType = OpenResourceDialog::TYPE_WORKSPACE_FILE;
- }
-
- OpenResourceDialog dlg(this, PluginManager::Get(), searchType);
- if(dlg.ShowModal() == wxID_OK) {
- OpenResourceDialog::OpenSelection(dlg.GetSelection(), PluginManager::Get());
- }
-}
-
-void Frame::OnParsingThreadMessage(wxCommandEvent& e)
-{
- wxString *msg = (wxString*) e.GetClientData();
- if( msg ) {
- wxLogMessage( *msg );
- delete msg;
- }
-}
-
-// Due to differnet schema versions, the database was truncated by the
-// TagsManager, prompt the user
-void Frame::OnDatabaseUpgrade(wxCommandEvent& e)
-{
- ButtonDetails btn;
- btn.buttonLabel = wxT("Retag Workspace Now!");
- btn.commandId = XRCID("full_retag_workspace");
- btn.window = this;
-
- GetMainBook()->ShowMessage(wxT("Your workspace symbols file does not match the current version of CodeLite. This can be fixed by re-tagging your workspace\nWould you like to re-tag your workspace now?"), true, wxNullBitmap, btn);
-}
-
-void Frame::UpdateTagsOptions(const TagsOptionsData& tod)
-{
- m_tagsOptionsData = tod;
- TagsManagerST::Get()->SetCtagsOptions( m_tagsOptionsData );
- EditorConfigST::Get()->WriteObject(wxT("m_tagsOptionsData"), &m_tagsOptionsData);
- ParseThreadST::Get()->SetSearchPaths( tod.GetParserSearchPaths(), tod.GetParserExcludePaths() );
-}
-
-void Frame::OnCheckForUpdate(wxCommandEvent& e)
-{
- JobQueueSingleton::Instance()->PushJob( new WebUpdateJob(this, true) );
-}
-
-void Frame::OnShowActiveProjectSettings(wxCommandEvent& e)
-{
- GetWorkspaceTab()->GetEventHandler()->ProcessEvent( e );
-}
-
-void Frame::OnShowActiveProjectSettingsUI(wxUpdateUIEvent& e)
-{
- CHECK_SHUTDOWN();
- wxArrayString projectList;
- WorkspaceST::Get()->GetProjectList( projectList );
- e.Enable(ManagerST::Get()->IsWorkspaceOpen() && (projectList.IsEmpty() == false));
-}
-
-
-void Frame::StartTimer()
-{
- m_timer->Start(2500, true);
-}
-
-void Frame::OnLoadPerspective(wxCommandEvent& e)
-{
- long loadIt(1);
- EditorConfigST::Get()->GetLongValue(wxT("LoadSavedPrespective"), loadIt);
- if (loadIt) {
-
- //locate the layout file
- wxString file_name(ManagerST::Get()->GetStarupDirectory() + wxT("/config/codelite.layout"));
- wxString pers(wxEmptyString);
-
- if (wxFileName(file_name).FileExists()) {
- //load this file
- ReadFileWithConversion(file_name, pers);
- }
-
- if ( pers.IsEmpty() == false && EditorConfigST::Get()->GetRevision() == SvnRevision) {
- m_mgr.LoadPerspective(pers);
- } else {
- EditorConfigST::Get()->SetRevision(SvnRevision);
- }
- }
-
- // Since of revision 3048, we need to manually force some of the changes
- // to the "Output View" pane, otherwise users wont be able to see them
- // unless they delete their codelite.layout file, which people usually
- // dont do
- GetDockingManager().GetPane(wxT("Output View")).Floatable(false);
- GetDockingManager().GetPane(wxT("Output View")).Dockable(false);
- GetDockingManager().GetPane(wxT("Output View")).CloseButton(false);
- GetDockingManager().GetPane(wxT("Output View")).CaptionVisible(false);
- GetDockingManager().GetPane(wxT("Output View")).Hide();
- GetDockingManager().Update();
-
- EditorConfigST::Get()->SaveLongValue(wxT("LoadSavedPrespective"), 1);
-
-}
-
-void Frame::SetEnvStatusMessage()
-{
- // Set the workspace's environment variable set to the active one
- wxString activeSet = LocalWorkspaceST::Get()->GetActiveEnvironmentSet();
- wxString globalActiveSet = EnvironmentConfig::Instance()->GetSettings().GetActiveSet();
- EvnVarList vars = EnvironmentConfig::Instance()->GetSettings();
-
- // Make sure that the environment set exist, if not, set it to the editor's set
- if(vars.IsSetExist(activeSet) == false)
- activeSet = globalActiveSet;
-
- vars.SetActiveSet(activeSet);
- EnvironmentConfig::Instance()->SetSettings(vars);
- SetStatusMessage(wxString::Format(wxT("Env: '%s', Builder: '%s'"), activeSet.c_str(), BuildSettingsConfigST::Get()->GetSelectedBuildSystem().c_str()), 2);
-}
-
-void Frame::OnClearTagsCache(wxCommandEvent& e)
-{
- e.Skip();
- TagsManagerST::Get()->ClearTagsCache();
- SetStatusMessage(wxT("Tags cache cleared"), 0);
-}
-
-void Frame::OnUpdateNumberOfBuildProcesses(wxCommandEvent& e)
-{
- int cpus = wxThread::GetCPUCount();
- BuilderConfigPtr bs = BuildSettingsConfigST::Get()->GetBuilderConfig(wxT("GNU makefile for g++/gcc"));
- if(bs && cpus != wxNOT_FOUND) {
- wxString jobs;
- jobs << cpus;
-
- bs->SetToolJobs( jobs );
- BuildSettingsConfigST::Get()->SetBuildSystem(bs);
- wxLogMessage(wxT("Info: setting number of concurrent builder jobs to ") + jobs);
- }
-}
-
-void Frame::OnWorkspaceEditorPreferences(wxCommandEvent& e)
-{
- GetWorkspaceTab()->GetFileView()->GetEventHandler()->ProcessEvent(e);
-}
-
-void Frame::OnWorkspaceSettings(wxCommandEvent& e)
-{
- GetWorkspaceTab()->GetFileView()->GetEventHandler()->ProcessEvent(e);
-}
-
-void Frame::OnGotoCodeLiteDownloadPage(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxLaunchDefaultBrowser(m_codeliteDownloadPageURL);
- m_codeliteDownloadPageURL.Clear();
-}
-
-void Frame::OnUpdateParserPath(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxArrayString paths;
- wxArrayString excudePaths;
- IncludePathLocator locator(PluginManager::Get());
- locator.Locate( paths, excudePaths );
-
- m_tagsOptionsData.SetParserSearchPaths ( paths );
- m_tagsOptionsData.SetParserExcludePaths( excudePaths );
-
- // Update the parser thread
- ParseThreadST::Get()->SetSearchPaths( paths, excudePaths );
- EditorConfigST::Get()->WriteObject( wxT("m_tagsOptionsData"), &m_tagsOptionsData );
-}
-
-void Frame::OnNeverUpdateParserPath(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- EditorConfigST::Get()->SaveLongValue(wxT("UpdateParserPaths"), 0);
-}
-
-void Frame::DoSuggestRestart()
-{
-#ifdef __WXMAC__
- GetMainBook()->ShowMessage(_("Some of the changes made requires restart of CodeLite"));
-#else
- // On Winodws & GTK we offer auto-restart
- ButtonDetails btn1, btn2;
- btn1.buttonLabel = wxT("Restart Now!");
- btn1.commandId = wxEVT_CMD_RESTART_CODELITE;
- btn1.menuCommand = false;
- btn1.isDefault = true;
- btn1.window = ManagerST::Get();
-
- // set button window to NULL
- btn2.buttonLabel = wxT("Not now");
- btn2.window = NULL;
-
- GetMainBook()->ShowMessage(_("Some of the changes made requires a restart of CodeLite, Restart now?"), false, wxXmlResource::Get()->LoadBitmap(wxT("message_pane_restart")), btn1, btn2);
-#endif
-}
diff --git a/LiteEditor/frame.h b/LiteEditor/frame.h
deleted file mode 100644
index 4b58f891..00000000
--- a/LiteEditor/frame.h
+++ /dev/null
@@ -1,469 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : frame.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef LITEEDITOR_FRAME_H
-#define LITEEDITOR_FRAME_H
-
-#include "wx/combobox.h"
-#include "generalinfo.h"
-#include <wx/dcbuffer.h>
-#include <wx/process.h>
-#include "wx/aui/aui.h"
-#include "wx/frame.h"
-#include "cl_editor.h"
-#include "output_pane.h"
-#include "cl_process.h"
-#include "envvar_table.h"
-#include "wx/choice.h"
-#include "wx/timer.h"
-#include "parse_thread.h"
-#include "tags_options_dlg.h"
-#include <wx/html/htmlwin.h>
-#include "debuggerpane.h"
-#include "custom_notebook.h"
-#include "mainbook.h"
-
-// forward decls
-class TagEntry;
-class WorkspacePane;
-class wxToolBar;
-class Notebook;
-class OpenWindowsPanel;
-class WorkspaceTab;
-class FileExplorer;
-class OutputTabWindow;
-class DockablePaneMenuManager;
-class OutputViewControlBar;
-
-//--------------------------------
-// Helper class
-//--------------------------------
-extern const wxEventType wxEVT_UPDATE_STATUS_BAR;
-extern const wxEventType wxEVT_LOAD_PERSPECTIVE ;
-
-struct StartPageData {
- wxString name;
- wxString file_path;
- wxString action;
-};
-
-class Frame : public wxFrame
-{
- MainBook * m_mainBook;
- static Frame* m_theFrame;
- wxAuiManager m_mgr;
- OutputPane * m_outputPane;
- WorkspacePane * m_workspacePane;
- wxArrayString m_files;
- wxTimer * m_timer;
- std::map<int, wxString> m_viewAsMap;
- TagsOptionsData m_tagsOptionsData;
- DebuggerPane * m_debuggerPane;
- wxToolBar * m_debuggerTb;
- bool m_buildAndRun;
- GeneralInfo m_frameGeneralInfo;
- std::map<int, wxString> m_toolbars;
- std::map<int, wxString> m_panes;
- std::vector<std::map<int, wxString> > m_status;
- wxMenu * m_cppMenu;
- bool m_highlightWord;
- DockablePaneMenuManager * m_DPmenuMgr;
- OutputViewControlBar * m_controlBar;
- wxPanel* m_mainPanel;
- wxString m_codeliteDownloadPageURL;
-public:
- static Frame* Get();
- static void Initialize(bool loadLastSession);
-
- DockablePaneMenuManager *GetDockablePaneMenuManager() {
- return m_DPmenuMgr;
- }
-
- wxPanel *GetMainPanel() {return m_mainPanel;}
-
- /**
- * @brief update the environment status message:
- * which displays to the user the current environment set used + the active builder
- */
- void SetEnvStatusMessage();
-
- virtual ~Frame(void);
- /**
- * @brief set frame option flag
- * @param set
- * @param flag
- */
- void SetFrameFlag(bool set, int flag);
-
- /**
- * @brief update the tags options data on the disc as well as
- * the parser thread
- * @param tod
- */
- void UpdateTagsOptions(const TagsOptionsData &tod);
-
- /**
- * @brief return the current tags options data
- * @return
- */
- TagsOptionsData& GetTagsOptions() {return m_tagsOptionsData;}
-
- /**
- * @brief return true if the word under the caret should be highlighted
- * @return
- */
- bool GetHighlightWord() {
- return m_highlightWord;
- }
-
- /**
- * @brief Return language name by menu item id
- * @param id
- * @return
- */
- wxString GetViewAsLanguageById(int id) const;
-
- /**
- * @brief
- * @param editor
- */
- void SetFrameTitle(LEditor *editor);
-
- MainBook* GetMainBook() const {
- return m_mainBook;
- }
-
- /**
- * Close the current file
- */
- void CloseActiveFile();
-
- /**
- * @return the output pane (the bottom pane)
- */
- OutputPane *GetOutputPane() {
- return m_outputPane;
- }
-
- /**
- * return the debugger pane
- * @return
- */
- DebuggerPane *GetDebuggerPane() {
- return m_debuggerPane;
- }
-
- /**
- * @return the workspace pane (the one that contained the Symbol view & class view)
- */
- WorkspacePane *GetWorkspacePane() {
- return m_workspacePane;
- }
-
- /**
- * return the workspace tab pane
- */
- WorkspaceTab *GetWorkspaceTab();
-
- /**
- * return the file explorer pane
- */
- FileExplorer *GetFileExplorer();
-
- /**
- * @return return AUI docking manager
- */
- wxAuiManager& GetDockingManager() {
- return m_mgr;
- }
-
- wxAuiManager* GetDockingManagerPtr() {
- return &m_mgr;
- }
-
- /**
- * Return the debugger toolbar
- */
- wxToolBar *GetDebuggerToolbar() {
- return m_debuggerTb;
- }
-
- /**
- * Load session into LE
- */
- void LoadSession(const wxString &sessionName);
-
- /**
- * Compelete the main frame initialization
- * this method is called immediatly after the
- * main frame construction is over.
- */
- void CompleteInitialization();
-
- void RegisterToolbar(int menuItemId, const wxString &name);
- void RegisterDockWindow(int menuItemId, const wxString &name);
-
- const GeneralInfo& GetFrameGeneralInfo() const {
- return m_frameGeneralInfo;
- }
-
- void OnSingleInstanceOpenFiles(wxCommandEvent &e);
- void OnSingleInstanceRaise(wxCommandEvent &e);
-
- /**
- * @brief rebuild the give project
- * @param projectName
- */
- void RebuildProject(const wxString &projectName);
-
- /**
- * @brief display the welcome page
- */
- void ShowWelcomePage();
-
- /**
- * @brief handle custom build targets events
- */
- void OnBuildCustomTarget(wxCommandEvent &event);
-
- /**
- * @brief set a status message
- */
- void SetStatusMessage(const wxString &msg, int col, int id = wxID_ANY);
-
- /**
- * @brief save the current IDE layout and session
- */
- void SaveLayoutAndSession();
-
-private:
- // make our frame's constructor private
- Frame(wxWindow *pParent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style = wxMINIMIZE_BOX | wxMAXIMIZE_BOX | wxCLOSE_BOX | wxCAPTION | wxSYSTEM_MENU | wxRESIZE_BORDER | wxCLIP_CHILDREN);
- wxString CreateWorkspaceTable();
- wxString CreateFilesTable();
- void StartTimer();
-
-private:
- /**
- * Construct all the GUI controls of the main frame. this function is called
- * at construction time
- */
- void CreateGUIControls(void);
- /**
- * \brief update the path & name of the build tool
- * on windows, try to locate make, followed by mingw32-make
- */
- void UpdateBuildTools();
- /**
- * Helper function that prompt user with a simple wxTextEntry dialog
- * @param msg message to display to user
- * @return user's string or wxEmptyString if 'Cancel' pressed.
- */
- void DispatchCommandEvent(wxCommandEvent &event);
- void DispatchUpdateUIEvent(wxUpdateUIEvent &event);
- void CreateToolbars24();
- void CreateToolbars16();
- void ViewPaneUI(const wxString &paneName, wxUpdateUIEvent&event);
- void ViewPane(const wxString &paneName, wxCommandEvent &event);
- void CreateViewAsSubMenu();
- void CreateRecentlyOpenedFilesMenu();
- void CreateRecentlyOpenedWorkspacesMenu();
- void CreateWelcomePage();
- void ReloadExternallyModifiedProjectFiles();
- void DoSuggestRestart();
-
-protected:
- //----------------------------------------------------
- // event handlers
- //----------------------------------------------------
- void OnIdle(wxIdleEvent &e);
- void OnBuildEnded(wxCommandEvent &event);
- void OnQuit(wxCommandEvent& WXUNUSED(event));
- void OnClose(wxCloseEvent &event);
- void OnAddSourceFile(wxCommandEvent& event);
- void OnBuildFromDatabase(wxCommandEvent& event);
- void OnSave(wxCommandEvent& event);
- void OnSaveAs(wxCommandEvent& event);
- void OnFileReload(wxCommandEvent& event);
- void OnFileLoadTabGroup(wxCommandEvent& event);
- void OnCompleteWord(wxCommandEvent& event);
- void OnFunctionCalltip(wxCommandEvent& event);
- void OnDeleteProject(wxCommandEvent& event);
- void OnAbout(wxCommandEvent& event);
- void OnCheckForUpdate(wxCommandEvent &e);
- void OnFileNew(wxCommandEvent &event);
- void OnFileOpen(wxCommandEvent &event);
- void OnFileClose(wxCommandEvent &event);
- void OnFileCloseUI(wxUpdateUIEvent &event);
- void OnFileSaveAll(wxCommandEvent &event);
- void OnFileSaveTabGroup(wxCommandEvent &event);
- void OnFileFindAndReplace(wxCommandEvent &event);
- void OnFileExistUpdateUI(wxUpdateUIEvent &event);
- void OnCompleteWordUpdateUI(wxUpdateUIEvent &event);
- void OnFunctionCalltipUI(wxUpdateUIEvent &event);
- void OnIncrementalSearch(wxCommandEvent &event);
- void OnViewToolbar(wxCommandEvent &event);
- void OnViewToolbarUI(wxUpdateUIEvent &event);
- void OnViewOptions(wxCommandEvent &event);
- void OnTogglePanes(wxCommandEvent &event);
- void OnProjectNewWorkspace(wxCommandEvent &event);
- void OnProjectNewProject(wxCommandEvent &event);
- void OnCreateWorkspace(wxCommandEvent &event);
- void OnReloadWorkspace(wxCommandEvent &event);
- void OnReloadWorkspaceUI(wxUpdateUIEvent &event);
- void OnSwitchWorkspace(wxCommandEvent &event);
- void OnCloseWorkspace(wxCommandEvent &event);
- void OnProjectAddProject(wxCommandEvent &event);
- void OnWorkspaceOpen(wxUpdateUIEvent &event);
- void OnAddEnvironmentVariable(wxCommandEvent &event);
- void OnAdvanceSettings(wxCommandEvent &event);
- void OnCtagsOptions(wxCommandEvent &event);
- void OnBuildProject(wxCommandEvent &event);
- void OnBuildAndRunProject(wxCommandEvent &event);
- void OnRebuildProject(wxCommandEvent &event);
- void OnRetagWorkspace(wxCommandEvent &event);
- void OnBuildProjectUI(wxUpdateUIEvent &event);
- void OnStopBuild(wxCommandEvent &event);
- void OnStopBuildUI(wxUpdateUIEvent &event);
- void OnStopExecutedProgram(wxCommandEvent &event);
- void OnStopExecutedProgramUI(wxUpdateUIEvent &event);
- void OnCleanProject(wxCommandEvent &event);
- void OnCleanProjectUI(wxUpdateUIEvent &event);
- void OnExecuteNoDebug(wxCommandEvent &event);
- void OnExecuteNoDebugUI(wxUpdateUIEvent &event);
- void OnTimer(wxTimerEvent &event);
- void OnFileCloseAll(wxCommandEvent &event);
- void OnQuickOutline(wxCommandEvent &event);
- void OnImportMSVS(wxCommandEvent &e);
- void OnDebugAttach(wxCommandEvent &event);
- void OnCopyFilePath(wxCommandEvent &event);
- void OnCopyFilePathOnly(wxCommandEvent &event);
- void OnHighlightWord(wxCommandEvent &event);
- void OnShowNavBar(wxCommandEvent &e);
- void OnShowNavBarUI(wxUpdateUIEvent &e);
- void OnDetachTab(wxCommandEvent &e);
- void OnDetachTabUI(wxUpdateUIEvent &e);
- void OnOpenShellFromFilePath(wxCommandEvent &e);
- void OnQuickDebug(wxCommandEvent &e);
- void OnQuickDebugUI(wxUpdateUIEvent &e);
- void OnNextFiFMatch (wxCommandEvent &e);
- void OnPreviousFiFMatch (wxCommandEvent &e);
- void OnNextFiFMatchUI (wxUpdateUIEvent &e);
- void OnPreviousFiFMatchUI(wxUpdateUIEvent &e);
-
- // this event is sent from the notebook container to the frame
- void OnFileClosing(NotebookEvent &event);
- void OnPageChanged(NotebookEvent &event);
- void OnPageClosed(NotebookEvent &event);
-
- //handle symbol tree events
- void OnAddSymbols (SymbolTreeEvent &event);
- void OnDeleteSymbols (SymbolTreeEvent &event);
- void OnUpdateSymbols (SymbolTreeEvent &event);
- void OnParsingThreadDone (wxCommandEvent &e);
- void OnParsingThreadMessage (wxCommandEvent &e);
- void OnDatabaseUpgrade (wxCommandEvent &e);
- void OnClearTagsCache (wxCommandEvent &e);
- void OnRecentFile(wxCommandEvent &event);
- void OnRecentWorkspace(wxCommandEvent &event);
- void OnBackwardForward(wxCommandEvent &event);
- void OnBackwardForwardUI(wxUpdateUIEvent &event);
-
- void OnDebug(wxCommandEvent &e);
- void OnDebugUI(wxUpdateUIEvent &e);
- void OnDebugRestart(wxCommandEvent &e);
- void OnDebugRestartUI(wxUpdateUIEvent &e);
- void OnDebugStop(wxCommandEvent &e);
- void OnDebugStopUI(wxUpdateUIEvent &e);
- void OnDebugManageBreakpointsUI(wxUpdateUIEvent &e);
- void OnDebugCmd(wxCommandEvent &e);
- void OnDebugCmdUI(wxUpdateUIEvent &e);
- void OnDebuggerSettings(wxCommandEvent &e);
- void OnMenuOpen(wxMenuEvent &e);
- void OnLinkClicked(wxHtmlLinkEvent &e);
- void OnLoadLastSessionUI(wxUpdateUIEvent &event);
- void OnLoadLastSession(wxCommandEvent &event);
- void OnShowWelcomePage(wxCommandEvent &event);
- void OnShowWelcomePageUI(wxUpdateUIEvent &event);
- void OnLoadWelcomePage(wxCommandEvent &event);
- void OnLoadWelcomePageUI(wxUpdateUIEvent &event);
- void OnAppActivated(wxActivateEvent &event);
- void OnReloadExternallModified(wxCommandEvent &e);
- void OnReloadExternallModifiedNoPrompt(wxCommandEvent &e);
- void OnCompileFile(wxCommandEvent &e);
- void OnCompileFileUI(wxUpdateUIEvent &e);
- void OnCloseAllButThis(wxCommandEvent &e);
- void OnWorkspaceMenuUI(wxUpdateUIEvent &e);
- void OnUpdateBuildRefactorIndexBar(wxCommandEvent &e);
- void OnUpdateNumberOfBuildProcesses(wxCommandEvent &e);
- void OnBuildWorkspace(wxCommandEvent &e);
- void OnBuildWorkspaceUI(wxUpdateUIEvent &e);
- void OnCleanWorkspace(wxCommandEvent &e);
- void OnCleanWorkspaceUI(wxUpdateUIEvent &e);
- void OnReBuildWorkspace(wxCommandEvent &e);
- void OnReBuildWorkspaceUI(wxUpdateUIEvent &e);
- void OnUpdateParserPath(wxCommandEvent &e);
- void OnNeverUpdateParserPath(wxCommandEvent &e);
-
- //EOL
- void OnConvertEol(wxCommandEvent &e);
- void OnViewDisplayEOL(wxCommandEvent &e);
- void OnViewDisplayEOL_UI(wxUpdateUIEvent &e);
-
- //Docking windows events
- void OnAuiManagerRender(wxAuiManagerEvent &e);
- void OnDockablePaneClosed(wxAuiManagerEvent &e);
- void OnViewPane(wxCommandEvent &event);
- void OnViewPaneUI(wxUpdateUIEvent &event);
- void OnDetachWorkspaceViewTab(wxCommandEvent &e);
- void OnDetachDebuggerViewTab(wxCommandEvent &e);
- void OnNewDetachedPane(wxCommandEvent &e);
- void OnDestroyDetachedPane(wxCommandEvent &e);
-
- void OnManagePlugins(wxCommandEvent &e);
- void OnManageTags(wxCommandEvent &e);
- void OnCppContextMenu(wxCommandEvent &e);
-
- void OnConfigureAccelerators(wxCommandEvent &e);
- void OnStartPageEvent(wxCommandEvent &e);
- void OnNewVersionAvailable(wxCommandEvent &e);
- void OnGotoCodeLiteDownloadPage(wxCommandEvent &e);
- void OnBatchBuild(wxCommandEvent &e);
- void OnBatchBuildUI(wxUpdateUIEvent &e);
- void OnSyntaxHighlight(wxCommandEvent &e);
- void OnShowWhitespaceUI(wxUpdateUIEvent &e);
- void OnShowWhitespace(wxCommandEvent &e);
- void OnShowFullScreen(wxCommandEvent &e);
- void OnSetStatusMessage(wxCommandEvent &e);
- void OnFindResourceXXX (wxCommandEvent &e);
- void OnShowQuickFinderUI(wxUpdateUIEvent &e);
- void OnShowActiveProjectSettings(wxCommandEvent &e);
- void OnShowActiveProjectSettingsUI(wxUpdateUIEvent &e);
- void OnLoadPerspective(wxCommandEvent &e);
- void OnWorkspaceSettings(wxCommandEvent &e);
- void OnWorkspaceEditorPreferences(wxCommandEvent &e);
- DECLARE_EVENT_TABLE()
-};
-
-#endif // LITEEDITOR_FRAME_H
diff --git a/LiteEditor/free_text_dialog.cpp b/LiteEditor/free_text_dialog.cpp
deleted file mode 100644
index 95106dcb..00000000
--- a/LiteEditor/free_text_dialog.cpp
+++ /dev/null
@@ -1,76 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : free_text_dialog.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "free_text_dialog.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-FreeTextDialog::FreeTextDialog( wxWindow* parent, wxString value, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer23;
- bSizer23 = new wxBoxSizer( wxVERTICAL );
-
- m_text = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB|wxTE_RICH2);
- bSizer23->Add( m_text, 1, wxALL|wxEXPAND, 5 );
- m_text->SetValue(value);
-
- m_staticline9 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer23->Add( m_staticline9, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer24;
- bSizer24 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer24->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer24->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer23->Add( bSizer24, 0, wxALIGN_RIGHT, 5 );
-
- this->SetSizer( bSizer23 );
- this->Layout();
- m_text->SetFocus();
-}
diff --git a/LiteEditor/free_text_dialog.h b/LiteEditor/free_text_dialog.h
deleted file mode 100644
index 0e906e95..00000000
--- a/LiteEditor/free_text_dialog.h
+++ /dev/null
@@ -1,62 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : free_text_dialog.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __free_text_dialog__
-#define __free_text_dialog__
-
-#include <wx/wx.h>
-
-#include <wx/statline.h>
-#include <wx/button.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class FreeTextDialog
-///////////////////////////////////////////////////////////////////////////////
-class FreeTextDialog : public wxDialog
-{
-private:
-
-protected:
- wxTextCtrl* m_text;
- wxStaticLine* m_staticline9;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
-
-public:
- FreeTextDialog( wxWindow* parent, wxString value = wxEmptyString, int id = wxID_ANY, wxString title = wxT("Edit"), wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 481,299 ), int style = wxDEFAULT_DIALOG_STYLE);
- wxString GetValue() const { return m_text->GetValue(); }
-
-};
-
-#endif //__free_text_dialog__
diff --git a/LiteEditor/generalinfo.cpp b/LiteEditor/generalinfo.cpp
deleted file mode 100644
index ea0307cf..00000000
--- a/LiteEditor/generalinfo.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : generalinfo.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "generalinfo.h"
-
-GeneralInfo::GeneralInfo()
-: m_frameSize(800, 600)
-, m_framePos(30, 30)
-, m_flags(CL_SHOW_WELCOME_PAGE | CL_LOAD_LAST_SESSION | CL_USE_EOL_LF | CL_SHOW_SPLASH)
-{
-}
-
-GeneralInfo::~GeneralInfo()
-{
-}
-
-void GeneralInfo::DeSerialize(Archive &arch)
-{
- arch.Read(wxT("m_frameSize"), m_frameSize);
- arch.Read(wxT("m_framePos"), m_framePos);
- arch.Read(wxT("m_flags"), m_flags);
-}
-
-void GeneralInfo::Serialize(Archive &arch)
-{
- arch.Write(wxT("m_frameSize"), m_frameSize);
- arch.Write(wxT("m_framePos"), m_framePos);
- arch.Write(wxT("m_flags"), m_flags);
-}
diff --git a/LiteEditor/generalinfo.h b/LiteEditor/generalinfo.h
deleted file mode 100644
index fe858277..00000000
--- a/LiteEditor/generalinfo.h
+++ /dev/null
@@ -1,66 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : generalinfo.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef GENERALINFO_H
-#define GENERALINFO_H
-
-#include "wx/string.h"
-#include "serialized_object.h"
-
-enum {
- CL_MAXIMIZE_FRAME = 0x00000001,
- CL_LOAD_LAST_SESSION = 0x00000002,
- CL_SHOW_WELCOME_PAGE = 0x00000004,
- CL_USE_EOL_LF = 0x00000008,
- CL_USE_EOL_CR = 0x00000010,
- CL_USE_EOL_CRLF = 0x00000020,
- CL_SHOW_EOL = 0x00000040,
- CL_SHOW_SPLASH = 0x00000080
-};
-
-class GeneralInfo : public SerializedObject{
-
- wxSize m_frameSize;
- wxPoint m_framePos;
- size_t m_flags;
-
-public:
- GeneralInfo();
- virtual ~GeneralInfo();
-
- const wxSize& GetFrameSize() const{return m_frameSize;}
- void SetFrameSize(const wxSize &sz){m_frameSize = sz;}
-
- const wxPoint& GetFramePosition() const{return m_framePos;}
- void SetFramePosition(const wxPoint &pt){m_framePos = pt;}
-
- void SetFlags(const size_t& flags) {this->m_flags = flags;}
- const size_t& GetFlags() const {return m_flags;}
-
- void Serialize(Archive &arch);
- void DeSerialize(Archive &arch);
-};
-
-#endif //GENERALINFO_H
-
diff --git a/LiteEditor/generic_context.cpp b/LiteEditor/generic_context.cpp
deleted file mode 100644
index 34b6af90..00000000
--- a/LiteEditor/generic_context.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : generic_context.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "generic_context.h"
-#include "editor_config.h"
-#include "cl_editor.h"
-
-ContextGeneric::ContextGeneric(LEditor *container, const wxString &name)
- : ContextBase(container)
-{
- SetName(name);
- ApplySettings();
-}
-
-ContextGeneric::~ContextGeneric()
-{
-}
-
-ContextBase *ContextGeneric::NewInstance(LEditor *container)
-{
- return new ContextGeneric(container, GetName());
-}
-
-void ContextGeneric::ApplySettings()
-{
- LexerConfPtr lexPtr;
- if (EditorConfigST::Get()->IsOk()) {
- lexPtr = EditorConfigST::Get()->GetLexer(GetName());
- }
- LEditor &rCtrl = GetCtrl();
- if (lexPtr) {
- rCtrl.SetLexer(lexPtr->GetLexerId());
- for (int i = 0; i <= 4; ++i) {
- wxString keyWords = lexPtr->GetKeyWords(i);
- keyWords.Replace(wxT("\n"), wxT(" "));
- keyWords.Replace(wxT("\r"), wxT(" "));
- rCtrl.SetKeyWords(i, keyWords);
- }
- } else {
- rCtrl.SetLexer(wxSCI_LEX_NULL);
- }
- DoApplySettings(lexPtr);
-}
diff --git a/LiteEditor/generic_context.h b/LiteEditor/generic_context.h
deleted file mode 100644
index 454b13d5..00000000
--- a/LiteEditor/generic_context.h
+++ /dev/null
@@ -1,64 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : generic_context.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef CONTEXT_GENERIC_H
-#define CONTEXT_GENERIC_H
-
-#include "context_base.h"
-
-class LEditor;
-
-/**
- * \ingroup LiteEditor
- * \brief the basic editor from which complicated editors derives from (e.g. ContextCpp)
- *
- * \version 1.0
- * first version
- *
- * \date 04-30-2007
- *
- * \author Eran
- *
- *
- */
-class ContextGeneric : public ContextBase
-{
-public:
- //---------------------------------------
- // ctors-dtor
- //---------------------------------------
- ContextGeneric(LEditor *container, const wxString &name);
- ContextGeneric() : ContextBase(wxT("Text")) {};
- ContextGeneric(const wxString &name) : ContextBase(name) {};
-
- virtual ~ContextGeneric();
- virtual ContextBase *NewInstance(LEditor *container);
-
- //---------------------------------------
- // Operations
- //---------------------------------------
- virtual void ApplySettings();
-};
-#endif // CONTEXT_GENERIC_H
-
diff --git a/LiteEditor/iconsextra.cpp b/LiteEditor/iconsextra.cpp
deleted file mode 100644
index 016f4bdc..00000000
--- a/LiteEditor/iconsextra.cpp
+++ /dev/null
@@ -1,587 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : iconsextra.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- // cubes.xpm 16x16
-unsigned char cubes_alpha[]={
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 5, 128, 174, 209, 241, 233, 211, 188, 140, 0, 0, 0, 0,
- 0, 0, 0, 52, 255, 255, 255, 255, 255, 254, 254, 255, 20, 0, 0, 0,
- 0, 0, 0, 50, 255, 255, 255, 255, 255, 255, 255, 254, 9, 0, 0, 0,
- 0, 0, 0, 46, 255, 255, 255, 255, 255, 255, 255, 249, 1, 0, 0, 0,
- 0, 0, 0, 41, 255, 255, 255, 255, 255, 255, 255, 238, 0, 0, 0, 0,
- 0, 2, 59, 149, 255, 255, 255, 255, 255, 255, 255, 230, 10, 0, 0, 0,
- 0, 201, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 250, 200, 106, 0,
- 0, 239, 255, 255, 255, 255, 254, 255, 255, 255, 255, 255, 254, 254, 235, 0,
- 0, 228, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 219, 0,
- 0, 217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 201, 0,
- 0, 206, 255, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 183, 0,
- 0, 110, 246, 255, 255, 254, 255, 255, 255, 255, 255, 254, 255, 255, 141, 0,
- 0, 0, 20, 125, 231, 245, 124, 106, 220, 255, 255, 254, 254, 140, 3, 0,
- 0, 0, 0, 0, 5, 14, 0, 0, 2, 79, 190, 228, 88, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-};
-
-/* XPM */
-const char *cubes_xpm[] = {
-/* columns rows colors chars-per-pixel */
-"16 16 159 2",
-",. c #3DBB20",
-"V c #0033AA",
-" c Black",
-"5. c #B98800",
-"n c #0068DC",
-"C c #002D9D",
-"> c #2F80D6",
-"x. c #007200",
-"X. c #4FA214",
-"4. c #006F00",
-"5 c #0094FD",
-"& c #0062D9",
-"' c #3BBB27",
-"i. c #006C00",
-"9. c #BC921C",
-"w c #0059C9",
-") c #92FF55",
-"L c #0027A8",
-"O. c #76DB3F",
-"y c #008BF3",
-"j. c #008F00",
-"<. c #4ABE25",
-"8 c #004DB8",
-"< c #004AB3",
-"* c #54B6FF",
-"g. c #AC6400",
-"s. c #B58200",
-"h c #007FE6",
-"@ c #2B77CF",
-"@. c #A3FF6A",
-"+. c #88EB52",
-"r. c #32B118",
-"0 c #0044AD",
-"D. c #005D00",
-"f c #0079E1",
-"G c #1C599B",
-"s c #004DD8",
-"K c #0041BA",
-"j c #2470CB",
-"7 c #3B8DDE",
-"^ c #2B6A47",
-"m c #006DD5",
-"1 c #003EBA",
-"m. c #9F6C00",
-"V. c #007A00",
-"q. c #179405",
-"z c #003BB5",
-"3. c #007700",
-"F c #9C973D",
-"o c #4088D8",
-"Y c #20B216",
-"o. c #6CDB32",
-"%. c #007400",
-"Z c #009A00",
-"| c #FFE50D",
-"; c #95CFFF",
-"J. c #007100",
-"c. c #006E00",
-"4 c #0093FD",
-"% c #0950BF",
-"= c #76C7FF",
-"#. c #0C9309",
-"v. c #006800",
-"6. c #CE9B00",
-"B. c #008E00",
-"I c #43C52C",
-"D c #FFD600",
-"1. c #56C228",
-"! c #FFE229",
-"t c #0087ED",
-"x c #FF8700",
-"h. c #108100",
-"E c #FFF901",
-"M. c #A87201",
-"z. c #28AE1A",
-"S c #FDDC12",
-"k c #0046AD",
-"w. c #15A80C",
-" . c #C7A029",
-"W c #FFFF27",
-"*. c #E3AF00",
-"B c #0040A9",
-"e. c #26AB12",
-"Q c #FFFF36",
-"7. c #D4A000",
-"# c #2472CB",
-"M c #0072D9",
-"H c #0046CB",
-"=. c #E6B300",
-"A. c #0D9108",
-"v c #DB9B00",
-"/ c #429581",
-"A c #D6BD02",
-":. c #B26B00",
-"2. c #75DE44",
-"d c #006FDF",
-"$ c #296DC7",
-"T c #099704",
-"U c #2CB618",
-"u. c #007600",
-"d. c #C39100",
-"6 c #009BFF",
-"8. c #DFAC00",
-"N c #1861BE",
-"S. c #007300",
-"G. c #9F6200",
-"c c #CD9300",
-">. c #379C12",
-"H. c #006D00",
-"_ c #7EF051",
-"` c #7EF054",
-"3 c #008CF5",
-"-. c #F4C309",
-": c #7FBBF6",
-"0. c #AE6500",
-"l. c #089E04",
-"n. c #AA7100",
-"2 c #005AD7",
-"r c #0086EC",
-".. c #B67000",
-"9 c #004EB4",
-"a. c #AD7800",
-"R c #E6C100",
-"i c #004BB2",
-"u c #307FD4",
-"J c #0051CC",
-"p c #0048AE",
-"e c #0080E7",
-"f. c #B5860E",
-"Z. c #008700",
-"N. c #BB6E00",
-"k. c #019701",
-";. c #C29B24",
-"q c #001CA9",
-"g c #007AE0",
-"l c #0042A9",
-"t. c #52C730",
-"~ c #BC7B00",
-"p. c #BA8100",
-"P c #237276",
-"a c #0042B4",
-"+ c #3380D3",
-"F. c #AB7200",
-"X c #2978D3",
-"[ c #D9A300",
-"C. c #007E00",
-"b. c #BA7B00",
-"b c #0766C3",
-"&. c #CA9400",
-"$. c #007B00",
-"} c #FDC900",
-"( c #98FF5F",
-", c #095DC1",
-". c #0071E7",
-"] c #007800",
-"- c #86CAFF",
-"{ c #F8C200",
-"O c #3B85D7",
-"y. c #007500",
-/* pixels */
-" ",
-" . X o O + @ # $ % ",
-" & * = - ; : > , < 1 ",
-" 2 3 4 5 6 7 8 9 0 q ",
-" w e r t y u i p a ",
-" s d f g h j k l z ",
-" x c v b n m M N B V C Z ",
-" A S D F G H J K L P I U Y T ",
-" R E W Q ! ~ ^ / ( ) _ ` ' ] ",
-" [ { } | ...X.o.O.+.@.#.$.%. ",
-" &.*.=.-.;.:.>.,.<.1.2.3.$.4. ",
-" 5.6.7.8.9.0.q.w.e.r.t.y.u.i. ",
-" p.a.s.d.f.g.h.j.k.l.z.x.c.v. ",
-" b.n.m.M.N.B.V.C.Z.A.4.S.D. ",
-" F.G. j.x.H.4.J. ",
-" "
-};
-
-
-/* XPM */
-const char *arrow_right_green_xpm[] = {
-/* columns rows colors chars-per-pixel */
-"16 16 91 1",
-" c Black",
-"* c #239413",
-"8 c #A3F177",
-"s c #7DE548",
-"x c #73DA40",
-"U c #2A8F16",
-"L c #3CA523",
-"_ c #2B9C18",
-"' c #249B13",
-"T c #288F15",
-"n c #80E64C",
-"} c #008F00",
-"7 c #9FEE73",
-"; c #44AD2E",
-"6 c #98EA6A",
-"P c #00AF00",
-", c #58BD41",
-"F c #7EE349",
-"V c #49AB2C",
-"z c #85E151",
-"k c #05B004",
-"p c #77DF43",
-"J c #86EE51",
-"+ c #3ABF25",
-"1 c #A1FF67",
-"H c #81E74D",
-"y c #228F14",
-": c #45B12F",
-"X c #00A600",
-"i c #70DB3B",
-"@ c #00A300",
-". c #00C900",
-"9 c #A5F37B",
-"` c #00A000",
-"] c #289A15",
-"o c #009D00",
-"= c #43AB2B",
-"[ c #009A00",
-"N c #8CF357",
-"S c #78DD42",
-"W c #379D20",
-"d c #80E84C",
-"/ c #009100",
-"c c #76DD43",
-"R c #288E17",
-"M c #85EC52",
-"# c #2EA522",
-"> c #44AF2E",
-"O c #34B621",
-"t c #00B400",
-"! c #7ACE49",
-"q c #96F267",
-"{ c #008800",
-"A c #7EE244",
-"m c #83E950",
-"3 c #00AE00",
-"j c #54C235",
-") c #7DCC46",
-"b c #7CE249",
-"G c #81E64B",
-"% c #3FC229",
-"( c #209411",
-"l c #228E14",
-"a c #7AE245",
-"w c #8EF559",
-"2 c #4CCB31",
-"I c #1B810D",
-"5 c #B4F58C",
-"e c #A0FF67",
-"Q c #85EB4F",
-"f c #85EB51",
-"4 c #269316",
-"D c #7BE046",
-"B c #89DF56",
-"C c #02AD00",
-"v c #79E046",
-"< c #A7FA7A",
-"g c #88EF55",
-"$ c #B1FF74",
-"h c #8DF35A",
-"Z c #249016",
-"u c #91E761",
-"r c #55D437",
-"& c #00AA00",
-"0 c #A7F47E",
-"- c #40AB2B",
-"K c #80D54F",
-"^ c #00A400",
-"Y c #278E15",
-"E c #278E17",
-"~ c #34A01D",
-/* pixels */
-" ",
-" . ",
-" Xo ",
-" O+@ ",
-" #$%& ",
-" *=-;:>,<123 ",
-" 4567890qwert ",
-" yuipasdfghejk ",
-" lzxcvbnmMNBVC ",
-" ZASDFGGHJKLP ",
-" IUYTREWQ!~^ ",
-" ()_` ",
-" '][ ",
-" {} ",
-" X ",
-" "
-};
-
-
-/* XPM */
-const char *stop_xpm[] = {
-/* width height num_colors chars_per_pixel */
-" 16 16 8 1",
-/* colors */
-"` c #ff352a",
-". c #ffa18d",
-"# c #ff6e56",
-"a c #ffd1c0",
-"b c #ff8972",
-"c c #ff5340",
-"d c #ffbdaa",
-"e c #ffffff",
-/* pixels */
-"eeeeeeeeeeeeeeee",
-"eeee.......beeee",
-"eee.daaaaaa.beee",
-"ee..ad.....db#ee",
-"e..ad.....b.db#e",
-"e.ad....bbbbb.#e",
-"e.a...bbbbb##.#e",
-"ebd.bbbbb####.#e",
-"ebdbbbb#####c.ce",
-"ebdbb#####ccc.ce",
-"ebdb####cccc#bce",
-"e#b.bcccccc#.c`e",
-"eec#.#ccc`#.c`ee",
-"eeec#..bbbbc`eee",
-"eeee`ccccc``eeee",
-"eeeeeeeeeeeeeeee"
-};
-
-const char *BreakptDisabled[]={
-"16 16 8 1",
-"f c #787878",
-"e c #8b8b8b",
-"d c #9c9c9c",
-"a c #adadad",
-"# c #bebebe",
-"b c #d0d0d0",
-"c c #dedede",
-". c #ffffff",
-"................",
-"....#######a....",
-"...#bcccccc#a...",
-"..##cb#####bad..",
-".##cb#####a#bad.",
-".#cb####aaaaa#d.",
-".#c###aaaaadd#d.",
-".ab#aaaaadddd#d.",
-".abaaaaddddde#e.",
-".abaadddddeee#e.",
-".abaddddeeeedae.",
-".da#aeeeeeed#ef.",
-"..ed#deeefd#ef..",
-"...ed##aaaaef...",
-"....feeeeeff....",
-"................"};
-
-const char * BreakptCommandList[] = {
-"16 16 32 1",
-" c #FFFFFF",
-". c #FFA18D",
-"+ c #FF8972",
-"@ c #FFBDAA",
-"# c #FFD1C0",
-"$ c #FF6E56",
-"% c #B271B0",
-"& c #452EE0",
-"* c #8153C5",
-"= c #B573AE",
-"- c #0808FB",
-"; c #7541BE",
-"> c #D87587",
-", c #9954AA",
-"' c #F98675",
-") c #0A09FA",
-"! c #BC6697",
-"~ c #2514E8",
-"{ c #E0616B",
-"] c #FF5340",
-"^ c #3D1ED7",
-"/ c #F76B5B",
-"( c #C1547F",
-"_ c #FD5241",
-": c #BD3F72",
-"< c #0C09F8",
-"[ c #7F2CA1",
-"} c #FF352A",
-"| c #B23B7B",
-"1 c #6E27AE",
-"2 c #E47B81",
-"3 c #FD8873",
-" ",
-" .......+ ",
-" .@######.+ ",
-" ..#@.....@+$ ",
-" ..#@.%&*.+.@+$ ",
-" .#@..=-;++++.$ ",
-" .#...>-,++$$.$ ",
-" +@.++')!$$$$.$ ",
-" +@++++~{$$$].] ",
-" +@++$$^/$]]].] ",
-" +@+$$$(_]]]$+] ",
-" $+.+]:<[]]$.]} ",
-" ]$.$|-1}$.]} ",
-" ]$..23++]} ",
-" }]]]]]}} ",
-" "};
-
-const char *BreakptCommandListDisabled[]={
-"16 16 30 1",
-"i c #2d2d2d",
-"n c #2f2f2f",
-"p c #3a3a3a",
-"r c #454545",
-"f c #515151",
-"z c #545454",
-"w c #5a5a5a",
-"j c #666666",
-"y c #6d6d6d",
-"v c #727272",
-"g c #747474",
-"x c #787878",
-"l c #797979",
-"t c #808080",
-"u c #8a8a8a",
-"o c #8b8b8b",
-"q c #8e8e8e",
-"e c #919191",
-"h c #929292",
-"s c #989898",
-"k c #999999",
-"d c #9c9c9c",
-"A c #a0a0a0",
-"m c #aaaaaa",
-"B c #acacac",
-"a c #adadad",
-"# c #bebebe",
-"b c #d0d0d0",
-"c c #dedede",
-". c #ffffff",
-"................",
-"....#######a....",
-"...#bcccccc#a...",
-"..##cb#####bad..",
-".##cb#efg#a#bad.",
-".#cb##hijaaaa#d.",
-".#c###kilaadd#d.",
-".ab#aamnodddd#d.",
-".abaaaapqdddo#o.",
-".abaaddrsdooo#o.",
-".abadddtuooodao.",
-".da#aovnwood#ox.",
-"..od#dyizxd#ox..",
-"...od##ABaaox...",
-"....xoooooxx....",
-"................"};
-
-const char * BreakptIgnore[] = {
-"16 16 10 1",
-" c None",
-". c #FFFFFF",
-"+ c #BEBEBE",
-"@ c #ADADAD",
-"# c #D0D0D0",
-"$ c #DEDEDE",
-"% c #9C9C9C",
-"& c #0808FB",
-"* c #8B8B8B",
-"= c #787878",
-"................",
-"....+++++++@....",
-"...+#$$$$$$+@...",
-"..++$#+++++#@%..",
-".++$#++&&+@+#@%.",
-".+$#+++&&@@@@+%.",
-".+$+++@@@@@%%+%.",
-".@#+@@@&&%%%%+%.",
-".@#@@@@&&%%%*+*.",
-".@#@@%%&&%***+*.",
-".@#@%%%&&***%@*.",
-".%@+@**&&**%+*=.",
-"..*%+%&&&&%+*=..",
-"...*%++@@@@*=...",
-"....=*****==....",
-"................"};
-
-const char *ConditionalBreakpt[]={
-"16 16 9 1",
-"e c #0808fb",
-"g c #ff352a",
-"f c #ff5340",
-"d c #ff6e56",
-"a c #ff8972",
-"# c #ffa18d",
-"b c #ffbdaa",
-"c c #ffd1c0",
-". c #ffffff",
-"................",
-"....#######a....",
-"...#bcccccc#a...",
-"..##cb#####bad..",
-".##cb#eeeea#bad.",
-".#cb#ee#aeeaa#d.",
-".#c##eeaaeedd#d.",
-".ab#aaaaaeedd#d.",
-".abaaaadeeedf#f.",
-".abaaddeedfff#f.",
-".abaddddffffdaf.",
-".da#affeeffd#fg.",
-"..fd#dfeegd#fg..",
-"...fd##aaaafg...",
-"....gfffffgg....",
-"................"};
-
-const char *ConditionalBreakptDisabled[]={
-"16 16 9 1",
-"e c #2d2d2d",
-"g c #787878",
-"f c #8b8b8b",
-"d c #9c9c9c",
-"a c #adadad",
-"# c #bebebe",
-"b c #d0d0d0",
-"c c #dedede",
-". c #ffffff",
-"................",
-"....#######a....",
-"...#bcccccc#a...",
-"..##cb#####bad..",
-".##cb#eeeea#bad.",
-".#cb#ee#aeeaa#d.",
-".#c##eeaaeedd#d.",
-".ab#aaaaaeedd#d.",
-".abaaaadeeedf#f.",
-".abaaddeedfff#f.",
-".abaddddffffdaf.",
-".da#affeeffd#fg.",
-"..fd#dfeegd#fg..",
-"...fd##aaaafg...",
-"....gfffffgg....",
-"................"};
-
-
diff --git a/LiteEditor/implement_parent_virtual_functions.cpp b/LiteEditor/implement_parent_virtual_functions.cpp
deleted file mode 100644
index b0ae3e0a..00000000
--- a/LiteEditor/implement_parent_virtual_functions.cpp
+++ /dev/null
@@ -1,127 +0,0 @@
-#include "implement_parent_virtual_functions.h"
-#include "editor_config.h"
-#include "implparentvirtualfunctionsdata.h"
-#include <wx/tokenzr.h>
-#include "ctags_manager.h"
-#include "cpp_comment_creator.h"
-#include "windowattrmanager.h"
-#include "context_cpp.h"
-
-ImplementParentVirtualFunctionsDialog::ImplementParentVirtualFunctionsDialog( wxWindow* parent, const wxString &scopeName, const std::vector<TagEntryPtr> &tags, wxChar doxyPrefix, ContextCpp *contextCpp )
- : ImplementParentVirtualFunctionsBase(parent )
- , m_tags (tags )
- , m_doxyPrefix (doxyPrefix)
- , m_contextCpp (contextCpp)
- , m_scope (scopeName )
-{
- WindowAttrManager::Load(this, wxT("ImplementParentVirtualFunctionsDialog"), NULL);
- ImplParentVirtualFunctionsData data;
- EditorConfigST::Get()->ReadObject(wxT("ImplParentVirtualFunctionsData"), &data);
-
- m_checkBoxFormat->SetValue(data.GetFlags() & ImplParentVirtualFunctionsData::FormatText);
- m_checkBoxAddDoxy->SetValue(data.GetFlags() & ImplParentVirtualFunctionsData::InsertDoxygenComment);
- m_checkBoxAddVirtualKeyword->SetValue(data.GetFlags() & ImplParentVirtualFunctionsData::PrependVirtual);
- DoInitialize(false);
-}
-
-ImplementParentVirtualFunctionsDialog::~ImplementParentVirtualFunctionsDialog()
-{
- ImplParentVirtualFunctionsData data;
-
- size_t flags(0);
- if(m_checkBoxAddDoxy->IsChecked())
- flags |= ImplParentVirtualFunctionsData::InsertDoxygenComment;
-
- if(m_checkBoxFormat->IsChecked())
- flags |= ImplParentVirtualFunctionsData::FormatText;
-
- if(m_checkBoxAddVirtualKeyword->IsChecked())
- flags |= ImplParentVirtualFunctionsData::PrependVirtual;
-
- data.SetFlags(flags);
- EditorConfigST::Get()->WriteObject(wxT("ImplParentVirtualFunctionsData"), &data);
- WindowAttrManager::Save(this, wxT("ImplementParentVirtualFunctionsDialog"), NULL);
-}
-
-void ImplementParentVirtualFunctionsDialog::OnAddDoxy(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- DoInitialize(true);
-}
-
-void ImplementParentVirtualFunctionsDialog::DoInitialize(bool updateDoxyOnly)
-{
- m_textCtrlProtos->Clear();
-
- wxString decl;
- bool addComments = m_checkBoxAddDoxy->IsChecked();
- bool virtualKeyword = m_checkBoxAddVirtualKeyword->IsChecked();
-
- // Add declration
- //////////////////////////////////////////////////////
- for (size_t i=0; i<m_tags.size(); i++) {
- TagEntryPtr tag = m_tags.at(i);
- if (addComments) {
- // Add doxygen comment
- CppCommentCreator commentCreator(tag, m_doxyPrefix);
- DoxygenComment dc;
- dc.comment = commentCreator.CreateComment();
- dc.name = tag->GetName();
- m_contextCpp->DoMakeDoxyCommentString( dc );
-
- // Format the comment
- wxString textComment = dc.comment;
- textComment.Replace(wxT("\r"), wxT("\n"));
- wxArrayString lines = wxStringTokenize(textComment, wxT("\n"), wxTOKEN_STRTOK);
- textComment.Clear();
-
- for (size_t i=0; i<lines.GetCount(); i++)
- textComment << lines.Item(i) << wxT("\n");
-
- if(decl.EndsWith(wxT("\n")) == false)
- decl << wxT("\n");
-
- decl << textComment;
- }
-
- tag->SetScope(m_scope);
- decl << TagsManagerST::Get()->FormatFunction(tag, virtualKeyword ? FunctionFormat_WithVirtual : 0);
- decl.Trim().Trim(false);
- decl << wxT("\n");
- }
- decl.Trim().Trim(false);
- m_textCtrlProtos->SetValue(decl);
-
- if ( !updateDoxyOnly ) {
- // Add Implementations
- //////////////////////////////////////////////////////
- wxString impl;
- m_textCtrlImpl->Clear();
- for (size_t i=0; i<m_tags.size(); i++) {
- TagEntryPtr tag = m_tags.at(i);
- tag->SetScope(m_scope);
- impl << TagsManagerST::Get()->FormatFunction(tag, FunctionFormat_Impl) << wxT("\n");
- }
- m_textCtrlImpl->SetValue(impl);
- }
-}
-
-wxString ImplementParentVirtualFunctionsDialog::GetDecl()
-{
- wxString decl ( m_textCtrlProtos->GetValue() );
- decl.Trim().Trim(false);
- decl.Prepend(wxT("\n"));
- decl.Append(wxT("\n"));
- return decl;
-}
-
-wxString ImplementParentVirtualFunctionsDialog::GetImpl()
-{
- return m_textCtrlImpl->GetValue();
-}
-
-void ImplementParentVirtualFunctionsDialog::OnAddVirtual(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- DoInitialize(true);
-}
diff --git a/LiteEditor/implement_parent_virtual_functions.h b/LiteEditor/implement_parent_virtual_functions.h
deleted file mode 100644
index cb75612b..00000000
--- a/LiteEditor/implement_parent_virtual_functions.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef __implement_parent_virtual_functions__
-#define __implement_parent_virtual_functions__
-
-/**
-@file
-Subclass of ImplementParentVirtualFunctionsBase, which is generated by wxFormBuilder.
-*/
-
-#include "implementparentvirtualfunctionsbase.h"
-#include <vector>
-#include "entry.h"
-
-class ContextCpp;
-/** Implementing ImplementParentVirtualFunctionsBase */
-class ImplementParentVirtualFunctionsDialog : public ImplementParentVirtualFunctionsBase
-{
- std::vector<TagEntryPtr> m_tags;
- wxChar m_doxyPrefix;
- ContextCpp* m_contextCpp;
- wxString m_scope;
-protected:
- void OnAddDoxy (wxCommandEvent &event);
- void OnAddVirtual( wxCommandEvent& event );
-
-
-protected:
- void DoInitialize(bool updateDoxyOnly);
-public:
- /** Constructor */
- ImplementParentVirtualFunctionsDialog(wxWindow* parent, const wxString &scopeName, const std::vector<TagEntryPtr> &tags, wxChar doxyPrefix /* @ or \\ */, ContextCpp *contextCpp);
- virtual ~ImplementParentVirtualFunctionsDialog();
-
- wxString GetDecl();
- wxString GetImpl();
-};
-
-#endif // __implement_parent_virtual_functions__
diff --git a/LiteEditor/implementparentvirtualfunctionsbase.cpp b/LiteEditor/implementparentvirtualfunctionsbase.cpp
deleted file mode 100644
index 8b573be1..00000000
--- a/LiteEditor/implementparentvirtualfunctionsbase.cpp
+++ /dev/null
@@ -1,108 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "implementparentvirtualfunctionsbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-ImplementParentVirtualFunctionsBase::ImplementParentVirtualFunctionsBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_splitter1 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3DSASH|wxSP_LIVE_UPDATE|wxSP_NO_XP_THEME );
- m_splitter1->SetSashGravity( 0.5 );
- m_splitter1->Connect( wxEVT_IDLE, wxIdleEventHandler( ImplementParentVirtualFunctionsBase::m_splitter1OnIdle ), NULL, this );
-
- m_panel1 = new wxPanel( m_splitter1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( m_panel1, wxID_ANY, _("Prototype(s):"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer5->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- m_textCtrlProtos = new wxTextCtrl( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_RICH2 );
- m_textCtrlProtos->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) );
-
- bSizer5->Add( m_textCtrlProtos, 1, wxALL|wxEXPAND, 5 );
-
- m_panel1->SetSizer( bSizer5 );
- m_panel1->Layout();
- bSizer5->Fit( m_panel1 );
- m_panel2 = new wxPanel( m_splitter1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText2 = new wxStaticText( m_panel2, wxID_ANY, _("Implementation(s):"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bSizer4->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlImplFile = new wxTextCtrl( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_textCtrlImplFile, 1, wxALL|wxEXPAND, 5 );
-
- bSizer6->Add( bSizer4, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
-
- m_textCtrlImpl = new wxTextCtrl( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_RICH2 );
- m_textCtrlImpl->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) );
-
- bSizer6->Add( m_textCtrlImpl, 1, wxALL|wxEXPAND, 5 );
-
- m_panel2->SetSizer( bSizer6 );
- m_panel2->Layout();
- bSizer6->Fit( m_panel2 );
- m_splitter1->SplitHorizontally( m_panel1, m_panel2, 0 );
- mainSizer->Add( m_splitter1, 1, wxEXPAND|wxALL, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Options:") ), wxVERTICAL );
-
- m_checkBoxFormat = new wxCheckBox( this, wxID_ANY, _("Format text after insertion"), wxDefaultPosition, wxDefaultSize, 0 );
- sbSizer1->Add( m_checkBoxFormat, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBoxAddDoxy = new wxCheckBox( this, wxID_ANY, _("Add doxygen comments for the functions"), wxDefaultPosition, wxDefaultSize, 0 );
- sbSizer1->Add( m_checkBoxAddDoxy, 0, wxALL|wxEXPAND, 5 );
-
- m_checkBoxAddVirtualKeyword = new wxCheckBox( this, wxID_ANY, _("Prepend 'virtual' keyword to the functions"), wxDefaultPosition, wxDefaultSize, 0 );
- sbSizer1->Add( m_checkBoxAddVirtualKeyword, 0, wxALL|wxEXPAND, 5 );
-
- mainSizer->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* buttonSizer;
- buttonSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, _("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- buttonSizer->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- buttonSizer->Add( m_buttonCancel, 0, wxALL, 5 );
-
- mainSizer->Add( buttonSizer, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_checkBoxAddDoxy->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ImplementParentVirtualFunctionsBase::OnAddDoxy ), NULL, this );
- m_checkBoxAddVirtualKeyword->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ImplementParentVirtualFunctionsBase::OnAddVirtual ), NULL, this );
-}
-
-ImplementParentVirtualFunctionsBase::~ImplementParentVirtualFunctionsBase()
-{
- // Disconnect Events
- m_checkBoxAddDoxy->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ImplementParentVirtualFunctionsBase::OnAddDoxy ), NULL, this );
- m_checkBoxAddVirtualKeyword->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ImplementParentVirtualFunctionsBase::OnAddVirtual ), NULL, this );
-}
diff --git a/LiteEditor/implementparentvirtualfunctionsbase.fbp b/LiteEditor/implementparentvirtualfunctionsbase.fbp
deleted file mode 100644
index 87799d53..00000000
--- a/LiteEditor/implementparentvirtualfunctionsbase.fbp
+++ /dev/null
@@ -1,864 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">implementparentvirtualfunctionsbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">ImplementParentVirtualFunctionsBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Dialog" expanded="1">
- <property name="bg"></property>
- <property name="center">wxBOTH</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="extra_style"></property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">ImplementParentVirtualFunctionsBase</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
- <property name="subclass"></property>
- <property name="title">Implement Parent Virtual Functions</property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnActivate"></event>
- <event name="OnActivateApp"></event>
- <event name="OnChar"></event>
- <event name="OnClose"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnHibernate"></event>
- <event name="OnIconize"></event>
- <event name="OnIdle"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">1</property>
- <object class="wxSplitterWindow" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="min_pane_size">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_splitter1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="sashgravity">0.5</property>
- <property name="sashpos">0</property>
- <property name="sashsize">-1</property>
- <property name="size"></property>
- <property name="splitmode">wxSPLIT_HORIZONTAL</property>
- <property name="style">wxSP_3DSASH|wxSP_LIVE_UPDATE|wxSP_NO_XP_THEME</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSplitterDClick"></event>
- <event name="OnSplitterSashPosChanged"></event>
- <event name="OnSplitterSashPosChanging"></event>
- <event name="OnSplitterUnsplit"></event>
- <event name="OnUpdateUI"></event>
- <object class="splitteritem" expanded="1">
- <object class="wxPanel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_panel1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer5</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Prototype(s):</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font">,90,90,-1,76,0</property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_textCtrlProtos</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxTE_MULTILINE|wxTE_RICH2</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="splitteritem" expanded="1">
- <object class="wxPanel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_panel2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer6</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxTOP|wxBOTTOM</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="0">
- <property name="minimum_size"></property>
- <property name="name">bSizer4</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Implementation(s):</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_textCtrlImplFile</property>
- <property name="permission">public</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font">,90,90,-1,76,0</property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_textCtrlImpl</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxTE_MULTILINE|wxTE_RICH2</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="1">
- <property name="id">wxID_ANY</property>
- <property name="label">Options:</property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Format text after insertion</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxFormat</property>
- <property name="permission">public</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Add doxygen comments for the functions</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxAddDoxy</property>
- <property name="permission">public</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox">OnAddDoxy</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Prepend &apos;virtual&apos; keyword to the functions</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxAddVirtualKeyword</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox">OnAddVirtual</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_HORIZONTAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">buttonSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_OK</property>
- <property name="label">&amp;Ok</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonOk</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_CANCEL</property>
- <property name="label">&amp;Cancel</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonCancel</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/implementparentvirtualfunctionsbase.h b/LiteEditor/implementparentvirtualfunctionsbase.h
deleted file mode 100644
index 1badbc4e..00000000
--- a/LiteEditor/implementparentvirtualfunctionsbase.h
+++ /dev/null
@@ -1,71 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __implementparentvirtualfunctionsbase__
-#define __implementparentvirtualfunctionsbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-#include <wx/splitter.h>
-#include <wx/checkbox.h>
-#include <wx/statbox.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class ImplementParentVirtualFunctionsBase
-///////////////////////////////////////////////////////////////////////////////
-class ImplementParentVirtualFunctionsBase : public wxDialog
-{
- private:
-
- protected:
- wxSplitterWindow* m_splitter1;
- wxPanel* m_panel1;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_textCtrlProtos;
- wxPanel* m_panel2;
- wxStaticText* m_staticText2;
- wxTextCtrl* m_textCtrlImpl;
- wxCheckBox* m_checkBoxAddVirtualKeyword;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnAddDoxy( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnAddVirtual( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
- wxTextCtrl* m_textCtrlImplFile;
- wxCheckBox* m_checkBoxFormat;
- wxCheckBox* m_checkBoxAddDoxy;
-
- ImplementParentVirtualFunctionsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Implement Parent Virtual Functions"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~ImplementParentVirtualFunctionsBase();
- void m_splitter1OnIdle( wxIdleEvent& )
- {
- m_splitter1->SetSashPosition( 0 );
- m_splitter1->Disconnect( wxEVT_IDLE, wxIdleEventHandler( ImplementParentVirtualFunctionsBase::m_splitter1OnIdle ), NULL, this );
- }
-
-
-};
-
-#endif //__implementparentvirtualfunctionsbase__
diff --git a/LiteEditor/implparentvirtualfunctionsdata.h b/LiteEditor/implparentvirtualfunctionsdata.h
deleted file mode 100644
index 9bb8dc2b..00000000
--- a/LiteEditor/implparentvirtualfunctionsdata.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef IMPLPARENTVIRTUALFUNCTIONSDATA_H
-#define IMPLPARENTVIRTUALFUNCTIONSDATA_H
-
-#include "serialized_object.h" // Base class
-
-class ImplParentVirtualFunctionsData : public SerializedObject
-{
- size_t m_flags;
-public:
- enum {
- InsertDoxygenComment = 0x00000001,
- FormatText = 0x00000002,
- PrependVirtual = 0x00000004,
- ImplParentVFuncDefault = InsertDoxygenComment | FormatText
- };
-
-public:
- ImplParentVirtualFunctionsData()
- : m_flags(ImplParentVFuncDefault) {
- }
-
- virtual ~ImplParentVirtualFunctionsData() {
- }
-
-public:
- virtual void DeSerialize(Archive &arch) {
- arch.Read(wxT("m_flags"), m_flags);
- }
-
- virtual void Serialize(Archive &arch) {
- arch.Write(wxT("m_flags"), m_flags);
- }
-
- void SetFlags(const size_t& flags) {
- this->m_flags = flags;
- }
-
- const size_t& GetFlags() const {
- return m_flags;
- }
-};
-
-#endif // IMPLPARENTVIRTUALFUNCTIONSDATA_H
diff --git a/LiteEditor/importfilesdialog.cpp b/LiteEditor/importfilesdialog.cpp
deleted file mode 100644
index 008a2469..00000000
--- a/LiteEditor/importfilesdialog.cpp
+++ /dev/null
@@ -1,169 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2009 by Eran Ifrah
-// file name : importfilesdialog.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-
-#include "importfilesdialog.h"
-#include <wx/busyinfo.h>
-#include <wx/dirdlg.h>
-#include "manager.h"
-#include "project.h"
-#include "ctags_manager.h"
-#include "checkdirtreectrl.h"
-#include "editor_config.h"
-#include "importfilessettings.h"
-#include "windowattrmanager.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-ImportFilesDialog::ImportFilesDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- ImportFilesSettings options;
- if(!EditorConfigST::Get()->ReadObject(wxT("import_dir_options"), &options)){
- //first time, read the settings from the ctags options
- options.SetFileMask( TagsManagerST::Get()->GetCtagsOptions().GetFileSpec() );
- bool noExt = TagsManagerST::Get()->GetCtagsOptions().GetFlags() & CC_PARSE_EXT_LESS_FILES ? true : false;
- size_t flags(0);
- if(noExt){
- flags |= IFS_INCLUDE_FILES_WO_EXT;
- }
- options.SetFlags(flags);
- }
-
- if(options.GetBaseDir().IsEmpty()) {
- ProjectPtr proj = ManagerST::Get()->GetProject(ManagerST::Get()->GetActiveProjectName());
- options.SetBaseDir( proj->GetFileName().GetPath() );
- }
-
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Change root directory..."), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bSizer3->Add( m_staticText2, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_button3 = new wxButton( this, wxID_ANY, _("Browse"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_button3, 0, wxALL, 5 );
-
- mainSizer->Add( bSizer3, 0, wxEXPAND, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- m_treeCtrlDir = new CheckDirTreeCtrl(this, options.GetBaseDir());
- mainSizer->Add( m_treeCtrlDir, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Files extension to import:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- mainSizer->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 );
-
- m_textCtrSpec = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- mainSizer->Add( m_textCtrSpec, 0, wxALL|wxEXPAND, 5 );
- m_textCtrSpec->SetValue( options.GetFileMask() );
-
- m_checkBoxFilesWOExt = new wxCheckBox( this, wxID_ANY, _("Import files without extension as well"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxFilesWOExt->SetValue( options.GetFlags() & IFS_INCLUDE_FILES_WO_EXT ? true : false );
-
- mainSizer->Add( m_checkBoxFilesWOExt, 0, wxALL|wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* buttonSizer;
- buttonSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, _("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- buttonSizer->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- buttonSizer->Add( m_buttonCancel, 0, wxALL, 5 );
-
- mainSizer->Add( buttonSizer, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- WindowAttrManager::Load(this, wxT("ImportFilesDialog"), NULL);
-
- // Connect Events
- m_button3->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ImportFilesDialog::OnChangeDir ), NULL, this );
-}
-
-ImportFilesDialog::~ImportFilesDialog()
-{
- WindowAttrManager::Save(this, wxT("ImportFilesDialog"), NULL);
- m_button3->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ImportFilesDialog::OnChangeDir ), NULL, this );
-
- ImportFilesSettings options;
- options.SetBaseDir(m_treeCtrlDir->GetRootDir());
- options.SetFileMask(m_textCtrSpec->GetValue());
-
- size_t flags(0);
- if(m_checkBoxFilesWOExt->IsChecked()) flags |= IFS_INCLUDE_FILES_WO_EXT;
- options.SetFlags( flags );
- EditorConfigST::Get()->WriteObject(wxT("import_dir_options"), &options);
-}
-
-void ImportFilesDialog::OnChangeDir(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- wxString path(m_treeCtrlDir->GetRootDir());
- wxString new_path = wxDirSelector(wxT("Select Directory:"), path, wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
-
- wxWindowDisabler disableAll;
- wxBusyInfo info(wxT("Loading directories, please wait..."), this);
- wxTheApp->Yield();
- if(new_path.IsEmpty() == false){
- m_treeCtrlDir->BuildTree( new_path );
- }
-}
-
-void ImportFilesDialog::GetDirectories(wxArrayString &dirs)
-{
- m_treeCtrlDir->GetSelectedDirs(dirs);
-}
-
-bool ImportFilesDialog::ExtlessFiles()
-{
- return m_checkBoxFilesWOExt->IsChecked();
-}
-
-wxString ImportFilesDialog::GetFileMask()
-{
- return m_textCtrSpec->GetValue();
-}
-
-wxString ImportFilesDialog::GetBaseDir()
-{
- return m_treeCtrlDir->GetRootDir();
-}
diff --git a/LiteEditor/importfilesdialog.fbp b/LiteEditor/importfilesdialog.fbp
deleted file mode 100644
index 231d5ee5..00000000
--- a/LiteEditor/importfilesdialog.fbp
+++ /dev/null
@@ -1,636 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">importfilesdialog</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">ImportFilesDialog</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Dialog" expanded="1">
- <property name="bg"></property>
- <property name="center">wxBOTH</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="extra_style"></property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">ImportFilesDialog</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
- <property name="subclass"></property>
- <property name="title">Import Files</property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnActivate"></event>
- <event name="OnActivateApp"></event>
- <event name="OnChar"></event>
- <event name="OnClose"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnHibernate"></event>
- <event name="OnIconize"></event>
- <event name="OnIdle"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer3</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">1</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Change root directory...</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Browse</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_button3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnChangeDir</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxTreeCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_treeCtrlDir</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxTR_DEFAULT_STYLE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnTreeBeginDrag"></event>
- <event name="OnTreeBeginLabelEdit"></event>
- <event name="OnTreeBeginRDrag"></event>
- <event name="OnTreeDeleteItem"></event>
- <event name="OnTreeEndDrag"></event>
- <event name="OnTreeEndLabelEdit"></event>
- <event name="OnTreeGetInfo"></event>
- <event name="OnTreeItemActivated"></event>
- <event name="OnTreeItemCollapsed"></event>
- <event name="OnTreeItemCollapsing"></event>
- <event name="OnTreeItemExpanded"></event>
- <event name="OnTreeItemExpanding"></event>
- <event name="OnTreeItemGetTooltip"></event>
- <event name="OnTreeItemMenu"></event>
- <event name="OnTreeItemMiddleClick"></event>
- <event name="OnTreeItemRightClick"></event>
- <event name="OnTreeKeyDown"></event>
- <event name="OnTreeSelChanged"></event>
- <event name="OnTreeSelChanging"></event>
- <event name="OnTreeSetInfo"></event>
- <event name="OnTreeStateImageClick"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Files extension to import:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_textCtrSpec</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Import files without extension as well</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxFilesWOExt</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_HORIZONTAL</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">buttonSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_OK</property>
- <property name="label">&amp;Ok</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonOk</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_CANCEL</property>
- <property name="label">&amp;Cancel</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonCancel</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/importfilesdialog.h b/LiteEditor/importfilesdialog.h
deleted file mode 100644
index 35180cc4..00000000
--- a/LiteEditor/importfilesdialog.h
+++ /dev/null
@@ -1,81 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2009 by Eran Ifrah
-// file name : importfilesdialog.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __importfilesdialog__
-#define __importfilesdialog__
-
-#include <wx/intl.h>
-
-#include <wx/treectrl.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/textctrl.h>
-#include <wx/checkbox.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class ImportFilesDialog
-///////////////////////////////////////////////////////////////////////////////
-class CheckDirTreeCtrl;
-class ImportFilesDialog : public wxDialog
-{
-private:
-
-protected:
- wxStaticText* m_staticText2;
- wxButton* m_button3;
- wxStaticLine* m_staticline2;
- CheckDirTreeCtrl* m_treeCtrlDir;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_textCtrSpec;
- wxCheckBox* m_checkBoxFilesWOExt;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
-protected:
- void OnChangeDir( wxCommandEvent& event );
-
-public:
- ImportFilesDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Import Files"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- virtual ~ImportFilesDialog();
-
- void GetDirectories(wxArrayString &dirs);
- bool ExtlessFiles();
- wxString GetFileMask();
- wxString GetBaseDir();
-};
-
-#endif //__importfilesdialog__
diff --git a/LiteEditor/importfilessettings.cpp b/LiteEditor/importfilessettings.cpp
deleted file mode 100644
index cf375797..00000000
--- a/LiteEditor/importfilessettings.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : importfilessettings.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "importfilessettings.h"
-
-ImportFilesSettings::ImportFilesSettings()
-{
-}
-
-ImportFilesSettings::~ImportFilesSettings()
-{
-}
-
-void ImportFilesSettings::DeSerialize(Archive &arch)
-{
- arch.Read(wxT("m_fileMask"), m_fileMask);
- arch.Read(wxT("m_flags"), m_flags);
- arch.Read(wxT("m_baseDir"), m_baseDir);
-}
-
-void ImportFilesSettings::Serialize(Archive &arch)
-{
- arch.Write(wxT("m_fileMask"), m_fileMask);
- arch.Write(wxT("m_flags"), m_flags);
- arch.Write(wxT("m_baseDir"), m_baseDir);
-}
diff --git a/LiteEditor/importfilessettings.h b/LiteEditor/importfilessettings.h
deleted file mode 100644
index 2a80f01a..00000000
--- a/LiteEditor/importfilessettings.h
+++ /dev/null
@@ -1,69 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : importfilessettings.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __importfilessettings__
-#define __importfilessettings__
-#include "serialized_object.h"
-
-
-enum {
- IFS_INCLUDE_FILES_WO_EXT = 0x00000001
-};
-
-class ImportFilesSettings : public SerializedObject
-{
- wxString m_fileMask;
- size_t m_flags;
- wxString m_baseDir;
-
-public:
- ImportFilesSettings();
- virtual ~ImportFilesSettings();
-
- virtual void DeSerialize(Archive &arch);
- virtual void Serialize(Archive &arch);
-
- //Setters
- void SetFileMask(const wxString& fileMask) {
- this->m_fileMask = fileMask;
- }
- void SetFlags(const size_t& flags) {
- this->m_flags = flags;
- }
- //Getters
- const wxString& GetFileMask() const {
- return m_fileMask;
- }
- const size_t& GetFlags() const {
- return m_flags;
- }
-
- void SetBaseDir(const wxString& baseDir) {
- this->m_baseDir = baseDir;
- }
- const wxString& GetBaseDir() const {
- return m_baseDir;
- }
-};
-#endif // __importfilessettings__
diff --git a/LiteEditor/keyboardmanager.cpp b/LiteEditor/keyboardmanager.cpp
deleted file mode 100644
index df1d8cb7..00000000
--- a/LiteEditor/keyboardmanager.cpp
+++ /dev/null
@@ -1,141 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : keyboardmanager.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include <wx/ffile.h>
-#include "newkeyshortcutdlg.h"
-#include <wx/tokenzr.h>
-#include "keyboardmanager.h"
-#include "manager.h"
-
-KeyboardManager::KeyboardManager()
-{
-}
-
-KeyboardManager::~KeyboardManager()
-{
-}
-
-bool KeyboardManager::AddAccelerator(MenuItemDataMap &accelMap, const MenuItemData& menuItemData)
-{
- if ( menuItemData.accel.IsEmpty() == false && IsDuplicate(accelMap, menuItemData.accel) ) {
- return false;
- }
-
- accelMap[menuItemData.action] = menuItemData;
- return true;
-}
-
-void KeyboardManager::GetAccelerators(MenuItemDataMap& accelMap)
-{
- MenuItemDataMap defAccelMap;
- ManagerST::Get()->GetAcceleratorMap(accelMap);
-
- // load the default accelerator map
- ManagerST::Get()->GetDefaultAcceleratorMap(defAccelMap);
-
- // loop over default accelerators map, and search for items that does not exist in the user's list
- std::map< wxString, MenuItemData >::iterator it = defAccelMap.begin();
- for (; it != defAccelMap.end(); it++) {
- if (accelMap.find(it->first) == accelMap.end()) {
- // this item does not exist in the users accelerators
- // probably a new accelerator that was added to the default
- // files directly via update/manully modified it
- accelMap[it->first] = it->second;
- }
- }
-}
-
-bool KeyboardManager::IsDuplicate(const MenuItemDataMap& accelMap, const wxString& accelerator)
-{
- // search the list for similar accelerator
- MenuItemDataMap::const_iterator iter = accelMap.begin();
-
- for(; iter != accelMap.end(); iter ++){
- MenuItemData mid = iter->second;
- if(Compare(accelerator, mid.accel)){
- return true;
- }
- }
- return false;
-}
-
-int KeyboardManager::PopupNewKeyboardShortcutDlg(wxWindow* parent, MenuItemData& menuItemData)
-{
- NewKeyShortcutDlg dlg(parent, menuItemData);
- if(dlg.ShowModal() == wxID_OK){
- menuItemData.accel = dlg.GetAccel();
- return wxID_OK;
- }
- return wxID_CANCEL;
-}
-
-void KeyboardManager::Update(const MenuItemDataMap& accelMap)
-{
- //export the content of table, and apply the changes
- wxString content;
- MenuItemDataMap::const_iterator iter = accelMap.begin();
- for(; iter != accelMap.end(); iter++){
- MenuItemData mid = iter->second;
- content << mid.id;
- content << wxT("|");
- content << mid.parent;
- content << wxT("|");
- content << mid.action;
- content << wxT("|");
- content << mid.accel;
- content << wxT("\n");
- }
-
- wxString fileName = ManagerST::Get()->GetStarupDirectory();
- fileName << wxT("/config/accelerators.conf");
-
- wxFFile file;
- if (!file.Open(fileName, wxT("w+b"))) {
- return;
- }
-
- file.Write(content);
- file.Close();
-
- //apply changes
- ManagerST::Get()->UpdateMenuAccelerators();
-}
-
-bool KeyboardManager::Compare(const wxString& accel1, const wxString& accel2)
-{
- wxArrayString accel1Tokens = wxStringTokenize(accel1, wxT("-"));
- wxArrayString accel2Tokens = wxStringTokenize(accel2, wxT("-"));
-
- if (accel1Tokens.GetCount() != accel2Tokens.GetCount()) {
- return false;
- }
-
- for (size_t i=0; i<accel1Tokens.GetCount(); i++) {
- if (accel2Tokens.Index(accel1Tokens.Item(i), false) == wxNOT_FOUND) {
- return false;
- }
- }
- return true;
-}
diff --git a/LiteEditor/keyboardmanager.h b/LiteEditor/keyboardmanager.h
deleted file mode 100644
index d5159786..00000000
--- a/LiteEditor/keyboardmanager.h
+++ /dev/null
@@ -1,48 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : keyboardmanager.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __keyboardmanager__
-#define __keyboardmanager__
-
-#include "ikeyboard.h"
-
-class KeyboardManager : public IKeyboard
-{
-
-public:
- KeyboardManager();
- virtual ~KeyboardManager();
-
-protected:
- bool Compare(const wxString& accel1, const wxString& accel2) ;
-
-public:
- virtual bool AddAccelerator(MenuItemDataMap &accelMap, const MenuItemData& menuItemData);
- virtual void GetAccelerators(MenuItemDataMap &accelMap);
- virtual bool IsDuplicate(const MenuItemDataMap &accelMap, const wxString &accelerator);
- virtual int PopupNewKeyboardShortcutDlg(wxWindow *parent, MenuItemData& menuItemData);
- virtual void Update(const MenuItemDataMap &accelMap);
-};
-#endif // __keyboardmanager__
diff --git a/LiteEditor/lexer_page.cpp b/LiteEditor/lexer_page.cpp
deleted file mode 100644
index 45f7c165..00000000
--- a/LiteEditor/lexer_page.cpp
+++ /dev/null
@@ -1,335 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : lexer_page.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Feb 1 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#ifndef WX_PRECOMP
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "lexer_page.h"
-#include "lexer_configuration.h"
-#include "attribute_style.h"
-#include <wx/font.h>
-#include "editor_config.h"
-#include "macros.h"
-#include "free_text_dialog.h"
-#include <wx/gbsizer.h>
-
-///////////////////////////////////////////////////////////////////////////
-BEGIN_EVENT_TABLE( LexerPage, wxPanel )
- EVT_LISTBOX( wxID_ANY, LexerPage::OnItemSelected )
- EVT_FONTPICKER_CHANGED(wxID_ANY, LexerPage::OnFontChanged)
- EVT_COLOURPICKER_CHANGED(wxID_ANY, LexerPage::OnColourChanged)
-END_EVENT_TABLE()
-
-LexerPage::LexerPage( wxWindow* parent, LexerConfPtr lexer, int id, wxPoint pos, wxSize size, int style )
- : wxPanel(parent, id, pos, wxSize(1, 1), style)
- , m_lexer(lexer)
- , m_selection(0)
- , m_isModified(false)
-{
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- wxStaticText *static_text = new wxStaticText( this, wxID_ANY, wxT("Language Attributes:"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add(static_text, 0, wxEXPAND | wxALL, 5);
-
- wxBoxSizer* sbSizer5;
- sbSizer5 = new wxBoxSizer( wxHORIZONTAL );
-
- m_properties = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_HSCROLL);
- m_properties->SetSizeHints(200, -1);
- sbSizer5->Add( m_properties, 0, wxALL|wxEXPAND, 5 );
-
- m_propertyList = m_lexer->GetProperties();
- std::list<StyleProperty>::iterator it = m_propertyList.begin();
-
- for (; it != m_propertyList.end(); it++) {
- m_properties->Append((*it).GetName());
- }
- m_properties->SetSelection(0);
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- wxString initialColor = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT).GetAsString();
- wxString bgInitialColor = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW).GetAsString();
- wxFont initialFont = wxNullFont;
-
- if (m_propertyList.empty() == false) {
- StyleProperty p;
- p = (*m_propertyList.begin());
- initialColor = p.GetFgColour();
- bgInitialColor = p.GetBgColour();
-
- int size = p.GetFontSize();
- wxString face = p.GetFaceName();
- bool bold = p.IsBold();
- initialFont = wxFont(size, wxFONTFAMILY_TELETYPE, wxNORMAL, bold ? wxBOLD : wxNORMAL, false, face);
- }
- wxStaticText *text(NULL);
- wxGridBagSizer *gbz = new wxGridBagSizer(0, 5);
- gbz->SetFlexibleDirection( wxBOTH );
-
- text = new wxStaticText(this, wxID_ANY, wxT("Edit Keywords:"));
- gbz->Add(text, wxGBPosition(0, 0), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- wxBoxSizer *btnSizers = new wxBoxSizer(wxHORIZONTAL);
- gbz->Add( btnSizers, wxGBPosition(0, 1), wxGBSpan(1, 1), wxALL|wxEXPAND, 5);
-
- wxButton *btn0 = new wxButton(this, wxID_ANY, wxT("Set &0"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT);
- btnSizers->Add(btn0, 0, wxEXPAND|wxALL, 0);
-
- wxButton *btn1 = new wxButton(this, wxID_ANY, wxT("Set &1"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT);
- btnSizers->Add(btn1, 0, wxEXPAND|wxALL, 0);
-
- wxButton *btn2 = new wxButton(this, wxID_ANY, wxT("Set &2"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT);
- btnSizers->Add(btn2, 0, wxEXPAND|wxALL, 0);
-
- wxButton *btn3 = new wxButton(this, wxID_ANY, wxT("Set &3"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT);
- btnSizers->Add(btn3, 0, wxEXPAND|wxALL, 0);
-
- wxButton *btn4 = new wxButton(this, wxID_ANY, wxT("Set &4"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT);
- btnSizers->Add(btn4, 0, wxEXPAND|wxALL, 0);
-
- text = new wxStaticText(this, wxID_ANY, wxT("Style font:"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT);
- gbz->Add( text, wxGBPosition(1, 0), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- m_fontPicker = new wxFontPickerCtrl(this, wxID_ANY, initialFont, wxDefaultPosition, wxDefaultSize, wxFNTP_USEFONT_FOR_LABEL);
- gbz->Add( m_fontPicker, wxGBPosition(1, 1), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- text = new wxStaticText(this, wxID_ANY, wxT("Style forground colour:"));
- gbz->Add( text, wxGBPosition(2, 0), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- m_colourPicker = new wxColourPickerCtrl(this, wxID_ANY, wxColour(initialColor), wxDefaultPosition, wxDefaultSize, wxCLRP_SHOW_LABEL);
- gbz->Add( m_colourPicker, wxGBPosition(2, 1), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- text = new wxStaticText(this, wxID_ANY, wxT("Style background colour:"));
- gbz->Add( text, wxGBPosition(3, 0), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- m_bgColourPicker = new wxColourPickerCtrl(this, wxID_ANY, wxColour(bgInitialColor), wxDefaultPosition, wxDefaultSize, wxCLRP_SHOW_LABEL);
- gbz->Add( m_bgColourPicker, wxGBPosition(3, 1), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- //globals settings for whole styles
- wxStaticLine *line = new wxStaticLine(this);
- gbz->Add(line, wxGBPosition(4, 0), wxGBSpan(1, 2), wxALL|wxEXPAND, 10);
-
- text = new wxStaticText(this, wxID_ANY, wxT("Global font:"));
- gbz->Add( text, wxGBPosition(5, 0), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- m_globalFontPicker = new wxFontPickerCtrl(this, wxID_ANY, initialFont, wxDefaultPosition, wxDefaultSize, wxFNTP_USEFONT_FOR_LABEL);
- gbz->Add( m_globalFontPicker, wxGBPosition(5, 1), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- text = new wxStaticText(this, wxID_ANY, wxT("Global background colour:"));
- gbz->Add( text, wxGBPosition(6, 0), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
-
- m_globalBgColourPicker = new wxColourPickerCtrl(this, wxID_ANY, wxColour(bgInitialColor), wxDefaultPosition, wxDefaultSize, wxCLRP_SHOW_LABEL);
- gbz->Add( m_globalBgColourPicker, wxGBPosition(6, 1), wxGBSpan(1, 1), wxALL|wxEXPAND, 5 );
- gbz->AddGrowableCol( 1 );
- bSizer7->Add(gbz, 0, wxEXPAND, 5);
-
- sbSizer5->Add( bSizer7, 1, wxEXPAND, 5 );
-
- wxBoxSizer *hs = new wxBoxSizer(wxHORIZONTAL);//, this, wxT("File Types:"));
- m_fileSpec = new wxTextCtrl(this, wxID_ANY, m_lexer->GetFileSpec());
- hs->Add(m_fileSpec, 1, wxALL | wxEXPAND, 5);
-
- bSizer6->Add( sbSizer5, 1, wxEXPAND, 5 );
-
- static_text = new wxStaticText( this, wxID_ANY, wxT("File Masking:"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add(static_text, 0, wxEXPAND | wxALL, 5);
- bSizer6->Add( hs, 0, wxEXPAND, 5 );
-
- this->SetSizer( bSizer6 );
- this->Layout();
-
- if (m_propertyList.empty()) {
- m_fontPicker->Enable(false);
- m_colourPicker->Enable(false);
- }
-
- ConnectButton(btn0, LexerPage::OnEditKeyWordsButton0);
- ConnectButton(btn1, LexerPage::OnEditKeyWordsButton1);
- ConnectButton(btn2, LexerPage::OnEditKeyWordsButton2);
- ConnectButton(btn3, LexerPage::OnEditKeyWordsButton3);
- ConnectButton(btn4, LexerPage::OnEditKeyWordsButton4);
- ConnectCmdTextUpdated(m_fileSpec, LexerPage::OnText)
-}
-
-void LexerPage::OnItemSelected(wxCommandEvent & event)
-{
- // update colour picker & font pickers
- wxString selectionString = event.GetString();
- m_selection = event.GetSelection();
-
- std::list<StyleProperty>::iterator iter = m_propertyList.begin();
- for (; iter != m_propertyList.end(); iter++) {
- if (iter->GetName() == selectionString) {
- // update font & color
- StyleProperty p = (*iter);
- wxString colour = p.GetFgColour();
- wxString bgColour = p.GetBgColour();
- wxFont font = wxNullFont;
-
- int size = p.GetFontSize();
- wxString face = p.GetFaceName();
- bool bold = p.IsBold();
-
- font = wxFont(size, wxFONTFAMILY_TELETYPE, p.GetItalic() ? wxITALIC : wxNORMAL, bold ? wxBOLD : wxNORMAL, p.GetUnderlined(), face);
- m_fontPicker->SetSelectedFont(font);
- m_bgColourPicker->SetColour(bgColour);
- m_colourPicker->SetColour(colour);
- }
- }
-}
-
-void LexerPage::OnFontChanged(wxFontPickerEvent &event)
-{
- m_isModified = true;
- // update f
- wxObject *obj = event.GetEventObject();
- if (obj == m_fontPicker) {
- wxFont f = event.GetFont();
- std::list<StyleProperty>::iterator iter = m_propertyList.begin();
- for (int i=0; i<m_selection; i++)
- iter++;
-
- iter->SetBold(f.GetWeight() == wxFONTWEIGHT_BOLD);
- iter->SetFaceName(f.GetFaceName());
- iter->SetFontSize(f.GetPointSize());
- iter->SetUnderlined(f.GetUnderlined());
- iter->SetItalic(f.GetStyle() == wxITALIC);
- } else if (obj == m_globalFontPicker) {
- wxFont f = event.GetFont();
- std::list<StyleProperty>::iterator iter = m_propertyList.begin();
- for (; iter != m_propertyList.end(); iter++) {
- iter->SetBold(f.GetWeight() == wxFONTWEIGHT_BOLD);
- iter->SetFaceName(f.GetFaceName());
- iter->SetFontSize(f.GetPointSize());
- iter->SetUnderlined(f.GetUnderlined());
- iter->SetItalic(f.GetStyle() == wxITALIC);
- }
- //update the style f picker as well
- m_fontPicker->SetSelectedFont(f);
- }
-}
-
-void LexerPage::OnColourChanged(wxColourPickerEvent &event)
-{
- m_isModified = true;
- //update colour
- wxObject *obj = event.GetEventObject();
- if (obj == m_colourPicker) {
- wxColour colour = event.GetColour();
- std::list<StyleProperty>::iterator iter = m_propertyList.begin();
- for (int i=0; i<m_selection; i++)
- iter++;
-
- iter->SetFgColour(colour.GetAsString(wxC2S_HTML_SYNTAX));
- } else if (obj == m_bgColourPicker) {
- wxColour colour = event.GetColour();
- std::list<StyleProperty>::iterator iter = m_propertyList.begin();
- for (int i=0; i<m_selection; i++)
- iter++;
-
- iter->SetBgColour(colour.GetAsString(wxC2S_HTML_SYNTAX));
- } else if (obj == m_globalBgColourPicker) {
- wxColour colour = event.GetColour();
- std::list<StyleProperty>::iterator iter = m_propertyList.begin();
- for (; iter != m_propertyList.end(); iter++) {
- iter->SetBgColour(colour.GetAsString(wxC2S_HTML_SYNTAX));
- }
- //update the style background colour as well
- m_bgColourPicker->SetColour(colour);
- }
-}
-
-void LexerPage::SaveSettings()
-{
- if (GetIsModified()) {
- m_lexer->SetProperties( m_propertyList );
- m_lexer->SetFileSpec( m_fileSpec->GetValue() );
- m_lexer->Save();
- m_isModified = false;
- }
-}
-
-void LexerPage::OnEditKeyWordsButton0(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- EditKeyWords(0);
-}
-
-void LexerPage::OnEditKeyWordsButton1(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- EditKeyWords(1);
-}
-
-void LexerPage::OnEditKeyWordsButton2(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- EditKeyWords(2);
-}
-
-void LexerPage::OnEditKeyWordsButton3(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- EditKeyWords(3);
-}
-
-void LexerPage::OnEditKeyWordsButton4(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- EditKeyWords(4);
-}
-
-void LexerPage::EditKeyWords(int set)
-{
- wxString keywords = m_lexer->GetKeyWords(set);
- FreeTextDialog *dlg = new FreeTextDialog(this, keywords);
- if (dlg->ShowModal() == wxID_OK) {
- m_isModified = true;
- m_lexer->SetKeyWords(dlg->GetValue(), set);
- }
- dlg->Destroy();
-}
-
-void LexerPage::OnText(wxCommandEvent& e)
-{
- m_isModified = true;
- e.Skip();
-}
diff --git a/LiteEditor/lexer_page.h b/LiteEditor/lexer_page.h
deleted file mode 100644
index b9b0ef0a..00000000
--- a/LiteEditor/lexer_page.h
+++ /dev/null
@@ -1,97 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : lexer_page.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Feb 1 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __lexer_page__
-#define __lexer_page__
-
-// Define WX_GCH in order to support precompiled headers with GCC compiler.
-// You have to create the header "wx_pch.h" and include all files needed
-// for compile your gui inside it.
-// Then, compile it and place the file "wx_pch.h.gch" into the same
-// directory that "wx_pch.h".
-#ifdef WX_GCH
-#include <wx_pch.h>
-#else
-#include <wx/wx.h>
-#endif
-
-#include <wx/button.h>
-#include "lexer_configuration.h"
-#include <wx/clrpicker.h>
-#include <wx/fontpicker.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class LexerPage
-///////////////////////////////////////////////////////////////////////////////
-class LexerPage : public wxPanel
-{
- LexerConfPtr m_lexer;
- std::list<StyleProperty> m_propertyList;
- int m_selection;
- bool m_isModified;
-
- DECLARE_EVENT_TABLE()
-
-protected:
- wxListBox* m_properties;
- wxFontPickerCtrl* m_fontPicker;
- wxFontPickerCtrl* m_globalFontPicker;
- wxColourPickerCtrl* m_globalBgColourPicker;
- wxColourPickerCtrl* m_colourPicker;
- wxColourPickerCtrl* m_bgColourPicker;
- wxTextCtrl *m_fileSpec;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemSelected( wxCommandEvent& event );
- virtual void OnFontChanged(wxFontPickerEvent &event);
- virtual void OnColourChanged(wxColourPickerEvent &event);
- virtual void OnEditKeyWordsButton0(wxCommandEvent &event);
- virtual void OnEditKeyWordsButton1(wxCommandEvent &event);
- virtual void OnEditKeyWordsButton2(wxCommandEvent &event);
- virtual void OnEditKeyWordsButton3(wxCommandEvent &event);
- virtual void OnEditKeyWordsButton4(wxCommandEvent &event);
- virtual void OnText(wxCommandEvent &e);
-
- void EditKeyWords(int set);
-
-public:
- LexerPage( wxWindow* parent, LexerConfPtr lexer, int id = wxID_ANY, wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 285,300 ), int style = wxTAB_TRAVERSAL );
- void SaveSettings();
-
- const bool& GetIsModified() const {
- return m_isModified;
- }
-};
-
-#endif //__lexer_page__
diff --git a/LiteEditor/listctrlpanel.cpp b/LiteEditor/listctrlpanel.cpp
deleted file mode 100644
index 36ed601a..00000000
--- a/LiteEditor/listctrlpanel.cpp
+++ /dev/null
@@ -1,151 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : listctrlpanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "listctrlpanel.h"
-#include "manager.h"
-#include "globals.h"
-
-#include <wx/xrc/xmlres.h>
-#include <wx/imaglist.h>
-#include <memory>
-
-ListCtrlPanel::ListCtrlPanel ( wxWindow* parent )
- : ListCtrlPanelBase ( parent )
- , m_currLevel(0)
-{
- const wxBitmap& currLevel = wxXmlResource::Get()->LoadBitmap(wxT("arrow_green_right16"));
- std::auto_ptr<wxImageList> imageList(new wxImageList(currLevel.GetWidth(), currLevel.GetHeight(), true));
- imageList->Add(currLevel);
- m_listCtrl->AssignImageList(imageList.release(), wxIMAGE_LIST_SMALL);
-
- m_listCtrl->InsertColumn ( 0, wxT("Level") );
- m_listCtrl->InsertColumn ( 1, wxT("Address") );
- m_listCtrl->InsertColumn ( 2, wxT("Function"));
- m_listCtrl->InsertColumn ( 3, wxT("File") );
- m_listCtrl->InsertColumn ( 4, wxT("Line") );
-}
-
-void ListCtrlPanel::OnItemActivated ( wxListEvent& event )
-{
- long frame, frameLine;
- wxString frameNumber = GetColumnText ( event.m_itemIndex, 0 );
- wxString frameLineStr = GetColumnText ( event.m_itemIndex, 4 );
- frameNumber.ToLong(&frame);
- frameLineStr.ToLong(&frameLine);
-
- if (m_currLevel != event.m_itemIndex)
- {
- if (m_currLevel >= 0)
- m_listCtrl->SetItemImage(m_currLevel, -1);
- SetCurrentLevel( event.m_itemIndex );
- }
-
- ManagerST::Get()->DbgSetFrame(frame, frameLine);
-}
-
-void ListCtrlPanel::Update ( const StackEntryArray &stackArr )
-{
- m_listCtrl->Freeze();
- Clear();
- if (!stackArr.empty()) {
- for (int i=0; i<(int)stackArr.size(); i++) {
- long item = AppendListCtrlRow(m_listCtrl);
-
- StackEntry entry = stackArr.at(i);
- SetColumnText(item, 0, entry.level);
- SetColumnText(item, 1, entry.address);
- SetColumnText(item, 2, entry.function);
- SetColumnText(item, 3, entry.file);
- SetColumnText(item, 4, entry.line);
- m_listCtrl->SetItemImage(item, -1);
- }
- m_listCtrl->SetColumnWidth(1, wxLIST_AUTOSIZE);
- m_listCtrl->SetColumnWidth(2, wxLIST_AUTOSIZE);
- m_listCtrl->SetColumnWidth(3, wxLIST_AUTOSIZE);
-
- if (m_currLevel >= 0)
- m_listCtrl->SetItemImage(m_currLevel, 0);
-
- m_listCtrl->EnsureVisible(m_currLevel);
- }
- m_listCtrl->Thaw();
-}
-
-void ListCtrlPanel::Clear()
-{
- m_listCtrl->DeleteAllItems();
-}
-
-void ListCtrlPanel::SetColumnText ( long indx, long column, const wxString &rText )
-{
- m_listCtrl->Freeze();
- wxListItem list_item;
- list_item.SetId ( indx );
- list_item.SetColumn ( column );
- list_item.SetMask ( wxLIST_MASK_TEXT );
- list_item.SetText ( rText );
- m_listCtrl->SetItem ( list_item );
- m_listCtrl->Thaw();
-}
-
-wxString ListCtrlPanel::GetColumnText(long index, long column)
-{
- wxListItem list_item;
- list_item.SetId ( index );
- list_item.SetColumn ( column );
- list_item.SetMask ( wxLIST_MASK_TEXT );
- m_listCtrl->GetItem ( list_item );
- return list_item.GetText();
-}
-
-void ListCtrlPanel::SetCurrentLevel(const int level)
-{
- // Set m_currLevel to level, or 0 if level is out of bounds
- m_currLevel = (level >=0 && level < m_listCtrl->GetItemCount()) ? level : 0;
-}
-
-void ListCtrlPanel::OnItemRightClicked(wxListEvent& event)
-{
- // Popup the menu
- wxMenu menu;
-
- menu.Append(XRCID("stack_copy_backtrace"), wxT("Copy Backtrace to Clipboard"));
- menu.Connect(XRCID("stack_copy_backtrace"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(ListCtrlPanel::OnCopyBacktrace), NULL, this);
- m_listCtrl->PopupMenu( &menu );
-}
-
-void ListCtrlPanel::OnCopyBacktrace(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- wxString trace;
- for(int i=0; i<m_listCtrl->GetItemCount(); i++) {
- trace << ::GetColumnText(m_listCtrl, i, 0) << wxT(" ")
- << ::GetColumnText(m_listCtrl, i, 1) << wxT(" ")
- << ::GetColumnText(m_listCtrl, i, 2) << wxT(" ")
- << ::GetColumnText(m_listCtrl, i, 3) << wxT(" ")
- << ::GetColumnText(m_listCtrl, i, 4) << wxT("\n");
- }
- trace.RemoveLast();
- CopyToClipboard( trace );
-}
diff --git a/LiteEditor/listctrlpanel.h b/LiteEditor/listctrlpanel.h
deleted file mode 100644
index 02ef1d99..00000000
--- a/LiteEditor/listctrlpanel.h
+++ /dev/null
@@ -1,58 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : listctrlpanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __listctrlpanel__
-#define __listctrlpanel__
-
-/**
-@file
-Subclass of ListCtrlPanelBase, which is generated by wxFormBuilder.
-*/
-
-#include "listctrlpanelbase.h"
-#include "debugger.h"
-
-/** Implementing ListCtrlPanelBase */
-class ListCtrlPanel : public ListCtrlPanelBase
-{
-protected:
- // Handlers for ListCtrlPanelBase events.
- void OnItemActivated( wxListEvent& event );
- void OnItemRightClicked(wxListEvent& event);
- void OnCopyBacktrace(wxCommandEvent &event);
- void SetColumnText ( long indx, long column, const wxString &rText );
- wxString GetColumnText(long index, long column);
-
-public:
- /** Constructor */
- ListCtrlPanel( wxWindow* parent );
- void Update(const StackEntryArray &stackArr);
- void Clear();
- void SetCurrentLevel(const int level);
-
-private:
- int m_currLevel;
-};
-
-#endif // __listctrlpanel__
diff --git a/LiteEditor/listctrlpanelbase.cpp b/LiteEditor/listctrlpanelbase.cpp
deleted file mode 100644
index e7d7c43a..00000000
--- a/LiteEditor/listctrlpanelbase.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "listctrlpanelbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-ListCtrlPanelBase::ListCtrlPanelBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_listCtrl = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
- mainSizer->Add( m_listCtrl, 1, wxALL|wxEXPAND, 1 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- // Connect Events
- m_listCtrl->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( ListCtrlPanelBase::OnItemActivated ), NULL, this );
- m_listCtrl->Connect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( ListCtrlPanelBase::OnItemRightClicked ), NULL, this );
-}
-
-ListCtrlPanelBase::~ListCtrlPanelBase()
-{
- // Disconnect Events
- m_listCtrl->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( ListCtrlPanelBase::OnItemActivated ), NULL, this );
- m_listCtrl->Disconnect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( ListCtrlPanelBase::OnItemRightClicked ), NULL, this );
-}
diff --git a/LiteEditor/listctrlpanelbase.h b/LiteEditor/listctrlpanelbase.h
deleted file mode 100644
index 04a19875..00000000
--- a/LiteEditor/listctrlpanelbase.h
+++ /dev/null
@@ -1,45 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __listctrlpanelbase__
-#define __listctrlpanelbase__
-
-#include <wx/listctrl.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class ListCtrlPanelBase
-///////////////////////////////////////////////////////////////////////////////
-class ListCtrlPanelBase : public wxPanel
-{
- private:
-
- protected:
- wxListCtrl* m_listCtrl;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnItemRightClicked( wxListEvent& event ) { event.Skip(); }
-
-
- public:
-
- ListCtrlPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~ListCtrlPanelBase();
-
-};
-
-#endif //__listctrlpanelbase__
diff --git a/LiteEditor/localstable.cpp b/LiteEditor/localstable.cpp
deleted file mode 100644
index 4b256fe4..00000000
--- a/LiteEditor/localstable.cpp
+++ /dev/null
@@ -1,251 +0,0 @@
-#include "localstable.h"
-#include <wx/wupdlock.h>
-#include "debuggerconfigtool.h"
-#include "globals.h"
-#include "debuggermanager.h"
-#include "manager.h"
-#include "new_quick_watch_dlg.h"
-#include <set>
-
-#define LOCAL_NAME_COL 0
-#define LOCAL_TYPE_COL 1
-#define LOCAL_VALUE_COL 2
-#define LOCAL_KIND_COL 3
-
-static const wxString sKindLocalVariable (wxT("Local Variable"));
-static const wxString sKindFunctionArgument(wxT("Function Argument"));
-
-LocalsTable::LocalsTable(wxWindow *parent)
- : LocalsTableBase(parent)
-{
- m_listTable->InsertColumn(LOCAL_NAME_COL, wxT("Name"));
- m_listTable->InsertColumn(LOCAL_TYPE_COL, wxT("Type"));
- m_listTable->InsertColumn(LOCAL_VALUE_COL, wxT("Value"));
- m_listTable->InsertColumn(LOCAL_KIND_COL, wxT("Kind"));
-
- m_listTable->SetColumnWidth(LOCAL_NAME_COL, 200);
- m_listTable->SetColumnWidth(LOCAL_TYPE_COL, 200);
- m_listTable->SetColumnWidth(LOCAL_VALUE_COL, 200);
- m_listTable->SetColumnWidth(LOCAL_KIND_COL, 200);
-}
-
-LocalsTable::~LocalsTable()
-{
-}
-
-void LocalsTable::OnItemActivated(wxListEvent& event)
-{
- if ( m_choiceExpand->GetSelection() == 1 ) {
- DoShowDetails( event.m_itemIndex );
- }
-}
-
-void LocalsTable::OnItemSelected(wxListEvent& event)
-{
- if ( m_choiceExpand->GetSelection() == 0 ) {
- DoShowDetails( event.m_itemIndex );
- }
- event.Skip();
-}
-
-void LocalsTable::UpdateLocals(const LocalVariables& locals)
-{
- bool evaluatingLocals = true;
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if( dbgr && dbgr->GetDebuggerInformation().resolveLocals == false) {
- evaluatingLocals = false;
- }
-
- LocalVariables vars = locals;
- // locate all items that were modified
- // this feature is disabled when 'Locals' resolving is enabled
- // due to the async nature of the debugger
- if( !evaluatingLocals ) {
- for(size_t i=0; i<vars.size(); i++){
- LocalVariable &var = vars.at(i);
- wxString oldValue;
-
- // try to locate this variable in the table
- long idx = DoGetIdxByVar(var, sKindLocalVariable);
- if ( idx != wxNOT_FOUND ) {
- oldValue = GetColumnText(m_listTable, idx, LOCAL_VALUE_COL);
- var.updated = (oldValue != var.value);
- }
- }
-
- }
-
- wxWindowUpdateLocker locker ( this );
- Clear();
-
- for(size_t i=0; i<vars.size(); i++) {
- LocalVariable &var = vars.at(i);
- long idx = AppendListCtrlRow(m_listTable);
- SetColumnText(m_listTable, idx, LOCAL_NAME_COL, var.name );
- SetColumnText(m_listTable, idx, LOCAL_TYPE_COL, var.type );
- SetColumnText(m_listTable, idx, LOCAL_KIND_COL, sKindLocalVariable );
- // If this variable has an "inline" value, dont display the row data
- if ( !DoShowInline(var, idx) ) {
- SetColumnText(m_listTable, idx, LOCAL_VALUE_COL, var.value );
- if ( var.updated && evaluatingLocals == false ) {
- m_listTable->SetItemTextColour(idx, wxT("RED"));
- }
- }
- }
-}
-
-
-void LocalsTable::UpdateFuncArgs(const LocalVariables& args)
-{
- bool evaluatingLocals = true;
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if( dbgr && dbgr->GetDebuggerInformation().resolveLocals == false) {
- evaluatingLocals = false;
- }
- LocalVariables vars = args;
-
- // locate all items that were modified
- // this feature is disabled when 'Locals' resolving is enabled
- // due to the async nature of the debugger
- if( !evaluatingLocals ) {
- for(size_t i=0; i<vars.size(); i++){
- LocalVariable &var = vars.at(i);
- wxString oldValue;
-
- // try to locate this variable in the table
- long idx = DoGetIdxByVar(var, sKindFunctionArgument);
- if ( idx != wxNOT_FOUND ) {
- oldValue = GetColumnText(m_listTable, idx, LOCAL_VALUE_COL);
- var.updated = (oldValue != var.value);
- }
- }
- }
-
- wxWindowUpdateLocker locker ( this );
-
- // Delete all function arguments from the table
- for(int i=0; i<m_listTable->GetItemCount(); i++){
- if(GetColumnText(m_listTable, i, LOCAL_KIND_COL) == sKindFunctionArgument) {
- m_listTable->DeleteItem(i);
- }
- }
-
- for(size_t i=0; i<vars.size(); i++) {
- LocalVariable &var = vars.at(i);
- long idx = AppendListCtrlRow(m_listTable);
- SetColumnText(m_listTable, idx, LOCAL_NAME_COL, var.name );
- SetColumnText(m_listTable, idx, LOCAL_TYPE_COL, var.type );
- SetColumnText(m_listTable, idx, LOCAL_KIND_COL, sKindFunctionArgument );
-
- if ( !DoShowInline(var, idx) ) {
- SetColumnText(m_listTable, idx, LOCAL_VALUE_COL, var.value );
- if ( var.updated && evaluatingLocals == false ) {
- m_listTable->SetItemTextColour(idx, wxT("RED"));
- }
- }
- }
-}
-
-void LocalsTable::DoShowDetails(long item)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- long sel = m_listTable->GetFirstSelected();
- if( sel != wxNOT_FOUND ){
- wxString name = GetColumnText(m_listTable, sel, LOCAL_NAME_COL);
- if( dbgr && dbgr->IsRunning() && ManagerST::Get()->DbgCanInteract() ) {
-
- if ( ManagerST::Get()->GetDisplayVariableDialog()->IsShown() ) {
- ManagerST::Get()->GetDisplayVariableDialog()->HideDialog();
- }
-
- dbgr->CreateVariableObject(name, DBG_USERR_LOCALS);
- }
- }
-}
-
-long LocalsTable::DoGetIdxByName(const wxString& name)
-{
- for( int i=0; i<m_listTable->GetItemCount(); i++){
- if(GetColumnText(m_listTable, i, LOCAL_NAME_COL) == name) {
- return i;
- }
- }
- return wxNOT_FOUND;
-}
-
-void LocalsTable::Clear()
-{
- m_listTable->DeleteAllItems();
- m_expression2Idx.clear();
-}
-
-void LocalsTable::Initialize()
-{
- // Read the debugger defined commands
- DebuggerSettingsData data;
- DebuggerConfigTool::Get()->ReadObject(wxT("DebuggerCommands"), &data);
- m_dbgCmds = data.GetCmds();
-}
-
-wxString LocalsTable::GetRealType(const wxString& gdbType)
-{
- wxString realType ( gdbType );
- realType.Replace(wxT("*"), wxT(""));
- realType.Replace(wxT("const"), wxT(""));
- realType.Replace(wxT("&"), wxT(""));
-
- realType.Trim().Trim(false);
- return realType;
-}
-
-long LocalsTable::DoGetIdxByVar(const LocalVariable& var, const wxString& kind)
-{
- for( int i=0; i<m_listTable->GetItemCount(); i++){
- if( GetColumnText(m_listTable, i, LOCAL_NAME_COL) == var.name &&
- GetColumnText(m_listTable, i, LOCAL_KIND_COL) == kind)
- {
- return i;
- }
- }
- return wxNOT_FOUND;
-}
-
-bool LocalsTable::DoShowInline(const LocalVariable& var, long item)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if( dbgr && dbgr->GetDebuggerInformation().resolveLocals == false) {
- return false;
- }
-
- wxString realType = GetRealType( var.type );
- for(size_t i=0; i<m_dbgCmds.size(); i++) {
- DebuggerCmdData dcd = m_dbgCmds.at(i);
- if(dcd.GetName() == realType) {
- // Create variable object for this variable
- // and display the content
- wxString expression = dcd.GetCommand();
- expression.Replace(wxT("$(Variable)"), var.name);
- if( dbgr && dbgr->IsRunning() && ManagerST::Get()->DbgCanInteract() ) {
- dbgr->CreateVariableObject(expression, DBG_USERR_LOCALS_INLINE);
- m_expression2Idx[expression] = item;
- return true;
- }
- }
- }
- return false;
-}
-
-void LocalsTable::UpdateInline(const DebuggerEvent& event)
-{
- wxString key = event.m_expression;
- std::map<wxString, long>::iterator iter = m_expression2Idx.find(key);
- if(iter != m_expression2Idx.end()){
- long idx = iter->second;
- SetColumnText(m_listTable, idx, LOCAL_VALUE_COL, event.m_evaluated);
- }
-
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if(dbgr && dbgr->IsRunning() && ManagerST::Get()->DbgCanInteract()) {
- dbgr->DeleteVariableObject(event.m_variableObject.gdbId);
- }
-}
diff --git a/LiteEditor/localstable.h b/LiteEditor/localstable.h
deleted file mode 100644
index 8382bd60..00000000
--- a/LiteEditor/localstable.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef __localstable__
-#define __localstable__
-
-#include "simpletablebase.h"
-#include <wx/arrstr.h>
-#include "debuggerobserver.h"
-#include "debuggersettings.h"
-
-class LocalsTable : public LocalsTableBase {
-
- std::vector<DebuggerCmdData> m_dbgCmds;
- std::map<wxString, long> m_expression2Idx;
-public:
- static wxString GetRealType (const wxString &gdbType);
-
-protected:
- void DoShowDetails (long item);
- long DoGetIdxByName(const wxString &name);
- long DoGetIdxByVar (const LocalVariable &var, const wxString &kind);
- bool DoShowInline (const LocalVariable &var, long item);
-
-public:
- LocalsTable(wxWindow *parent);
- virtual ~LocalsTable();
-
-public:
- virtual void OnItemActivated( wxListEvent& event );
- virtual void OnItemSelected( wxListEvent& event );
-
- void UpdateLocals (const LocalVariables &locals);
- void UpdateFuncArgs(const LocalVariables &args );
- void UpdateInline (const DebuggerEvent &event );
- void Clear ();
- void Initialize ();
-};
-#endif // __localstable__
diff --git a/LiteEditor/macromanager.cpp b/LiteEditor/macromanager.cpp
deleted file mode 100644
index 26978b15..00000000
--- a/LiteEditor/macromanager.cpp
+++ /dev/null
@@ -1,112 +0,0 @@
-#include "macromanager.h"
-#include "environmentconfig.h"
-#include "build_config.h"
-#include "project.h"
-#include "workspace.h"
-#include "imanager.h"
-
-MacroManager* MacroManager::ms_instance = 0;
-
-MacroManager::MacroManager()
-{
-}
-
-MacroManager::~MacroManager()
-{
-}
-
-MacroManager* MacroManager::Instance()
-{
- if(ms_instance == 0){
- ms_instance = new MacroManager();
- }
- return ms_instance;
-}
-
-void MacroManager::Release()
-{
- if(ms_instance){
- delete ms_instance;
- }
- ms_instance = 0;
-}
-
-wxString MacroManager::Expand(const wxString& expression, IManager* manager, const wxString& project, const wxString &confToBuild)
-{
- wxString errMsg;
- wxString expandedString(expression);
- Workspace *workspace = manager->GetWorkspace();
-
- if ( workspace ) {
- expandedString.Replace(wxT("$(WorkspaceName)"), workspace->GetName());
- ProjectPtr proj = workspace->FindProjectByName(project, errMsg);
- if (proj) {
- wxString project_name(proj->GetName());
-
- //make sure that the project name does not contain any spaces
- project_name.Replace(wxT(" "), wxT("_"));
-
- BuildConfigPtr bldConf = workspace->GetProjBuildConf(proj->GetName(), confToBuild);
- if (bldConf) {
- expandedString.Replace(wxT("$(ProjectOutputFile)"), bldConf->GetOutputFileName());
- }
-
- expandedString.Replace(wxT("$(ProjectPath)"), proj->GetFileName().GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR));
- expandedString.Replace(wxT("$(WorkspacePath)"), workspace->GetWorkspaceFileName().GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR));
- expandedString.Replace(wxT("$(ProjectName)"), project_name);
-
- if (bldConf) {
- expandedString.Replace(wxT("$(IntermediateDirectory)"), bldConf->GetIntermediateDirectory());
- expandedString.Replace(wxT("$(ConfigurationName)"), bldConf->GetName());
- expandedString.Replace(wxT("$(OutDir)"), bldConf->GetIntermediateDirectory());
- }
-
- if(expandedString.Find(wxT("$(ProjectFiles)")) != wxNOT_FOUND)
- expandedString.Replace(wxT("$(ProjectFiles)"), proj->GetFiles());
-
- if(expandedString.Find(wxT("$(ProjectFilesAbs)")) != wxNOT_FOUND)
- expandedString.Replace(wxT("$(ProjectFilesAbs)"),proj->GetFiles(true));
-
-
- }
- }
-
- IEditor *editor = manager->GetActiveEditor();
-
- if (editor) {
- wxFileName fn(editor->GetFileName());
-
- expandedString.Replace(wxT("$(CurrentFileName)"), fn.GetName());
-
- wxString fpath(fn.GetPath());
- fpath.Replace(wxT("\\"), wxT("/"));
- expandedString.Replace(wxT("$(CurrentFilePath)"), fpath);
- expandedString.Replace(wxT("$(CurrentFileExt)"), fn.GetExt());
-
- wxString ffullpath(fn.GetFullPath());
- ffullpath.Replace(wxT("\\"), wxT("/"));
- expandedString.Replace(wxT("$(CurrentFileFullPath)"), ffullpath);
- expandedString.Replace(wxT("$(CurrentSelection)"), editor->GetSelection());
- if(expandedString.Find(wxT("$(CurrentSelectionRange)")) != wxNOT_FOUND)
- {
- int start=editor->GetSelectionStart(),
- end =editor->GetSelectionEnd();
-
- wxString output=wxString::Format(wxT("%i:%i"),start,end);
- expandedString.Replace(wxT("$(CurrentSelectionRange)"), output);
- }
- }
-
- //exapand common macros
- wxDateTime now = wxDateTime::Now();
- expandedString.Replace(wxT("$(User)"), wxGetUserName());
- expandedString.Replace(wxT("$(Date)"), now.FormatDate());
-
- if (workspace) {
- expandedString.Replace(wxT("$(CodeLitePath)"), workspace->GetStartupDir());
- }
-
- //call the environment & workspace variables expand function
- expandedString = manager->GetEnv()->ExpandVariables(expandedString);
- return expandedString;
-}
diff --git a/LiteEditor/macromanager.h b/LiteEditor/macromanager.h
deleted file mode 100644
index 3d897fa6..00000000
--- a/LiteEditor/macromanager.h
+++ /dev/null
@@ -1,45 +0,0 @@
-#ifndef MACROMANAGER_H
-#define MACROMANAGER_H
-
-#include "imacromanager.h" // Base class: IMacroManager
-#include <wx/string.h>
-
-class IManager;
-class MacroManager : public IMacroManager {
-
- static MacroManager* ms_instance;
-
-public:
- static MacroManager* Instance();
- static void Release();
-
-private:
- MacroManager();
- virtual ~MacroManager();
-
-public:
- /*
- * The following macro will be expanded into their real values:
- * $(ProjectPath)
- * $(WorkspacePath)
- * $(ProjectName)
- * $(IntermediateDirectory)
- * $(ConfigurationName)
- * $(OutDir)
- * $(ProjectFiles)
- * $(ProjectFiles)
- * $(ProjectFilesAbs)
- * $(CurrentFileName)
- * $(CurrentFilePath)
- * $(CurrentFileExt)
- * $(CurrentFileFullPath)
- * $(User)
- * $(Date)
- * $(CodeLitePath)
- * $(CurrentSelection)
- * $(ProjectOutputFile)
- */
- wxString Expand(const wxString &expression, IManager *manager, const wxString &project, const wxString &confToBuild = wxEmptyString);
-};
-
-#endif // MACROMANAGER_H
diff --git a/LiteEditor/mainbook.cpp b/LiteEditor/mainbook.cpp
deleted file mode 100644
index c33a897c..00000000
--- a/LiteEditor/mainbook.cpp
+++ /dev/null
@@ -1,897 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : mainbook.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include "custom_tab.h"
-#include "globals.h"
-#include "ctags_manager.h"
-#include "frame.h"
-#include "manager.h"
-#include "custom_tabcontainer.h"
-#include "close_all_dlg.h"
-#include "filechecklist.h"
-#include "editor_config.h"
-#include "mainbook.h"
-#include "message_pane.h"
-
-MainBook::MainBook(wxWindow *parent)
- : wxPanel (parent)
- , m_navBar (NULL)
- , m_book (NULL)
- , m_quickFindBar(NULL)
- , m_currentPage (NULL)
-{
- CreateGuiControls();
- ConnectEvents();
-}
-
-void MainBook::CreateGuiControls()
-{
- wxBoxSizer *sz = new wxBoxSizer(wxVERTICAL);
- SetSizer(sz);
-
- m_navBar = new NavBar(this);
- sz->Add(m_navBar, 0, wxEXPAND);
-
- long style = wxVB_TOP|wxVB_HAS_X|wxVB_MOUSE_MIDDLE_CLOSE_TAB;
- // load the notebook style from the configuration settings
- EditorConfigST::Get()->GetLongValue(wxT("MainBook"), style);
- style &= ~(wxVB_BORDER);
- m_book = new Notebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, style);
-
- m_book->GetTabContainer()->Connect(wxEVT_LEFT_DCLICK, wxMouseEventHandler(MainBook::OnMouseDClick), NULL, this);
- m_book->SetRightClickMenu(wxXmlResource::Get()->LoadMenu(wxT("editor_tab_right_click")));
- sz->Add(m_book, 1, wxEXPAND);
-
- m_quickFindBar = new QuickFindBar(this);
- sz->Add(m_quickFindBar, 0, wxTOP|wxBOTTOM|wxEXPAND);
-
- m_messagePane = new MessagePane(this);
- sz->Insert(0, m_messagePane, 0, wxALL|wxEXPAND, 5, NULL);
-
- sz->Layout();
-}
-
-void MainBook::ConnectEvents()
-{
- m_book->GetTabContainer()->Connect(wxEVT_LEFT_DCLICK, wxMouseEventHandler(MainBook::OnMouseDClick), NULL, this);
-
- m_book->Connect(wxEVT_COMMAND_BOOK_PAGE_CLOSING, NotebookEventHandler(MainBook::OnPageClosing), NULL, this);
- m_book->Connect(wxEVT_COMMAND_BOOK_PAGE_CLOSED, NotebookEventHandler(MainBook::OnPageClosed), NULL, this);
-
- wxTheApp->Connect(wxEVT_AUI_PANE_CLOSE, wxAuiManagerEventHandler(MainBook::OnPaneClosed), NULL, this);
-
- wxTheApp->Connect(wxEVT_WORKSPACE_LOADED, wxCommandEventHandler(MainBook::OnWorkspaceLoaded), NULL, this);
- wxTheApp->Connect(wxEVT_PROJ_FILE_ADDED, wxCommandEventHandler(MainBook::OnProjectFileAdded), NULL, this);
- wxTheApp->Connect(wxEVT_PROJ_FILE_REMOVED, wxCommandEventHandler(MainBook::OnProjectFileRemoved), NULL, this);
- wxTheApp->Connect(wxEVT_WORKSPACE_CLOSED, wxCommandEventHandler(MainBook::OnWorkspaceClosed), NULL, this);
-
-}
-
-MainBook::~MainBook()
-{
-}
-
-void MainBook::OnMouseDClick(wxMouseEvent& e)
-{
- wxUnusedVar(e);
- NewEditor();
-}
-
-void MainBook::OnFocus(wxFocusEvent &e)
-{
- // we use here DoSelectPage so the the selection wont change
- if (!SelectPage(dynamic_cast<wxWindow*>(e.GetEventObject()))) {
- e.Skip();
- }
- m_quickFindBar->SetEditor(GetActiveEditor());
-}
-
-void MainBook::OnPaneClosed(wxAuiManagerEvent &e)
-{
- if (!DockPage(e.GetPane()->window)) {
- e.Skip();
- }
-}
-
-void MainBook::OnPageClosing(NotebookEvent &e)
-{
- LEditor *editor = dynamic_cast<LEditor*>(m_book->GetPage(e.GetSelection()));
- if (!editor) {
- ; // the page is not an editor
- } else if (AskUserToSave(editor)) {
- SendCmdEvent(wxEVT_EDITOR_CLOSING, (IEditor*)editor);
- } else {
- e.Veto();
- }
-}
-
-void MainBook::OnPageClosed(NotebookEvent &e)
-{
- SelectPage(m_book->GetCurrentPage());
- m_quickFindBar->SetEditor(GetActiveEditor());
-
- // any editors left open?
- LEditor *editor = NULL;
- for (size_t i = 0; i < m_book->GetPageCount() && editor == NULL; i++) {
- editor = dynamic_cast<LEditor*>(m_book->GetPage(i));
- }
- for (std::set<wxWindow*>::iterator i = m_detachedTabs.begin(); i != m_detachedTabs.end() && editor == NULL; i++) {
- editor = dynamic_cast<LEditor*>(*i);
- }
- if (editor == NULL) {
- SendCmdEvent(wxEVT_ALL_EDITORS_CLOSED);
- ShowQuickBar(false);
- }
-}
-
-void MainBook::OnProjectFileAdded(wxCommandEvent &e)
-{
- e.Skip();
- wxArrayString *files = (wxArrayString*) e.GetClientData();
- if (!files)
- return;
- for (size_t i = 0; i < files->GetCount(); i++) {
- LEditor *editor = FindEditor(files->Item(i));
- if (editor) {
- wxString fileName = editor->GetFileName().GetFullPath();
- if (files->Index(fileName) != wxNOT_FOUND) {
- editor->SetProject(ManagerST::Get()->GetProjectNameByFile(fileName));
- }
- }
- }
-}
-
-void MainBook::OnProjectFileRemoved(wxCommandEvent &e)
-{
- e.Skip();
- wxArrayString *files = (wxArrayString*) e.GetClientData();
- if (!files)
- return;
- for (size_t i = 0; i < files->GetCount(); i++) {
- LEditor *editor = FindEditor(files->Item(i));
- if (editor && files->Index(editor->GetFileName().GetFullPath()) != wxNOT_FOUND) {
- editor->SetProject(wxEmptyString);
- }
- }
-}
-
-void MainBook::OnWorkspaceLoaded(wxCommandEvent &e)
-{
- e.Skip();
- CloseAll(false); // get ready for session to be restored by clearing out existing pages
-}
-
-void MainBook::OnWorkspaceClosed(wxCommandEvent &e)
-{
- e.Skip();
- CloseAll(false); // make sure no unsaved files
-}
-
-bool MainBook::AskUserToSave(LEditor *editor)
-{
- if (!editor || !editor->GetModify())
- return true;
-
- // unsaved changes
- wxString msg;
- msg << wxT("Save changes to '") << editor->GetFileName().GetFullName() << wxT("' ?");
- long style = wxYES_NO;
- if (!ManagerST::Get()->IsShutdownInProgress()) {
- style |= wxCANCEL;
- }
-
- int answer = wxMessageBox(msg, wxT("Confirm"), style);
- switch (answer) {
- case wxYES:
- return editor->SaveFile();
- case wxNO:
- editor->SetSavePoint();
- return true;
- case wxCANCEL:
- return false;
- }
-
- return true; // to avoid compiler warnings
-}
-
-void MainBook::ClearFileHistory()
-{
- size_t count = m_recentFiles.GetCount();
- for ( size_t i=0; i<count; i++ ) {
- m_recentFiles.RemoveFileFromHistory ( 0 );
- }
- wxArrayString files;
- EditorConfigST::Get()->SetRecentItems( files, wxT("RecentFiles") );
-}
-
-void MainBook::GetRecentlyOpenedFiles ( wxArrayString &files )
-{
- EditorConfigST::Get()->GetRecentItems( files, wxT("RecentFiles") );
-}
-
-void MainBook::UpdateNavBar(LEditor *editor)
-{
- if (m_navBar->IsShown()) {
- TagEntryPtr tag = NULL;
- if (editor && !editor->GetProject().IsEmpty()) {
- tag = TagsManagerST::Get()->FunctionFromFileLine(editor->GetFileName(), editor->GetCurrentLine()+1);
- }
- m_navBar->UpdateScope(tag);
- }
-}
-
-void MainBook::ShowNavBar(bool s)
-{
- Freeze();
- m_navBar->DoShow(s);
- UpdateNavBar(GetActiveEditor());
- Thaw();
- Refresh();
-}
-
-void MainBook::SaveSession(SessionEntry &session, wxArrayInt& intArr)
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
-
- session.SetSelectedTab(0);
- std::vector<TabInfo> vTabInfoArr;
- for (size_t i = 0; i < editors.size(); i++) {
- if ( (intArr.GetCount() > i) && (!intArr.Item(i)) ) {
- // If we're saving only selected editors, and this isn't one of them...
- continue;
- }
- if (editors[i] == GetActiveEditor()) {
- session.SetSelectedTab(vTabInfoArr.size());
- }
- TabInfo oTabInfo;
- oTabInfo.SetFileName(editors[i]->GetFileName().GetFullPath());
- oTabInfo.SetFirstVisibleLine(editors[i]->GetFirstVisibleLine());
- oTabInfo.SetCurrentLine(editors[i]->GetCurrentLine());
- wxArrayString astrBookmarks;
- for (int nLine = 0; (nLine = editors[i]->MarkerNext(nLine, 128)) >= 0; nLine++) {
- astrBookmarks.Add(wxString::Format(wxT("%d"), nLine));
- }
- oTabInfo.SetBookmarks(astrBookmarks);
- vTabInfoArr.push_back(oTabInfo);
- }
- session.SetTabInfoArr(vTabInfoArr);
-}
-
-void MainBook::RestoreSession(SessionEntry &session)
-{
- size_t sel = session.GetSelectedTab();
- const std::vector<TabInfo> &vTabInfoArr = session.GetTabInfoArr();
- for (size_t i = 0; i < vTabInfoArr.size(); i++) {
- const TabInfo &ti = vTabInfoArr[i];
- LEditor *editor = OpenFile(ti.GetFileName());
- if (!editor) {
- if (i < sel) {
- // have to adjust selected tab number because couldn't open tab
- sel--;
- }
- continue;
- }
- editor->ScrollToLine(ti.GetFirstVisibleLine());
- editor->GotoLine(ti.GetCurrentLine());
- const wxArrayString &astrBookmarks = ti.GetBookmarks();
- for (size_t i = 0; i < astrBookmarks.GetCount(); i++) {
- long nLine = 0;
- if (astrBookmarks.Item(i).ToLong(&nLine)) {
- editor->MarkerAdd(nLine, 0x7);
- }
- }
- }
- SelectPage(m_book->GetPage(sel));
-}
-
-LEditor *MainBook::GetActiveEditor()
-{
- if ( !GetCurrentPage() ) {
- return NULL;
- }
- return dynamic_cast<LEditor*>(GetCurrentPage());
-}
-
-void MainBook::GetAllEditors(std::vector<LEditor*> &editors)
-{
- editors.clear();
- for (size_t i = 0; i < m_book->GetPageCount(); i++) {
- LEditor *editor = dynamic_cast<LEditor*>(m_book->GetPage(i));
- if (editor) {
- editors.push_back(editor);
- }
- }
- for (std::set<wxWindow*>::iterator i = m_detachedTabs.begin(); i != m_detachedTabs.end(); i++) {
- LEditor *editor = dynamic_cast<LEditor*>(*i);
- if (editor) {
- editors.push_back(editor);
- }
- }
-}
-
-LEditor *MainBook::FindEditor(const wxString &fileName)
-{
- wxString unixStyleFile(fileName);
-#ifdef __WXMSW__
- unixStyleFile.Replace(wxT("\\"), wxT("/"));
-#endif
-
- for (size_t i = 0; i < m_book->GetPageCount(); i++) {
- LEditor *editor = dynamic_cast<LEditor*>(m_book->GetPage(i));
- if (editor) {
- wxString unixStyleFile(editor->GetFileName().GetFullPath());
- wxString nativeFile (editor->GetFileName().GetFullPath());
-#ifdef __WXMSW__
- unixStyleFile.Replace(wxT("\\"), wxT("/"));
-#endif
- if(nativeFile.CmpNoCase(fileName) == 0 || unixStyleFile.CmpNoCase(fileName) == 0) {
- return editor;
- }
- }
- }
-
- for (std::set<wxWindow*>::iterator i = m_detachedTabs.begin(); i != m_detachedTabs.end(); i++) {
- LEditor *editor = dynamic_cast<LEditor*>(*i);
- if (editor) {
- wxString unixStyleFile(editor->GetFileName().GetFullPath());
- wxString nativeFile (editor->GetFileName().GetFullPath());
-#ifdef __WXMSW__
- unixStyleFile.Replace(wxT("\\"), wxT("/"));
-#endif
- if(nativeFile.CmpNoCase(fileName) == 0 || unixStyleFile.CmpNoCase(fileName) == 0) {
- return editor;
- }
- }
- }
- return NULL;
-}
-
-wxWindow *MainBook::FindPage(const wxString &text)
-{
- for (size_t i = 0; i < m_book->GetPageCount(); i++) {
- LEditor *editor = dynamic_cast<LEditor*>(m_book->GetPage(i));
- if (editor && editor->GetFileName().GetFullPath().CmpNoCase(text) == 0) {
- return editor;
- }
-
- if (m_book->GetPageText(i) == text)
- return m_book->GetPage(i);
- }
-
- for (std::set<wxWindow*>::iterator i = m_detachedTabs.begin(); i != m_detachedTabs.end(); i++) {
- if (Frame::Get()->GetDockingManager().GetPane(*i).caption == text)
- return *i;
- }
- return NULL;
-}
-
-LEditor *MainBook::NewEditor()
-{
- static int fileCounter = 0;
-
- wxString fileNameStr(wxT("Untitled"));
- fileNameStr << ++fileCounter;
- wxFileName fileName(fileNameStr);
-
- LEditor *editor = new LEditor(m_book);
- editor->SetFileName(fileName);
- AddPage(editor, fileName.GetFullName(), wxNullBitmap, true);
- editor->SetActive();
- return editor;
-}
-
-static bool IsFileExists(const wxFileName &filename) {
-#ifdef __WXMSW__
- wxString drive = filename.GetVolume();
- if(drive.Length()>1)
- return false;
-
- return filename.FileExists();
-#else
- return filename.FileExists();
-#endif
-}
-
-LEditor *MainBook::OpenFile(const wxString &file_name, const wxString &projectName, int lineno, long position, bool addjump)
-{
- wxFileName fileName(file_name);
- fileName.MakeAbsolute();
-
- if(IsFileExists(fileName) == false) {
- wxLogMessage(wxT("Failed to open: %s: No such file or directory"), fileName.GetFullPath().c_str());
- return NULL;
- }
-
- wxString projName = projectName;
- if (projName.IsEmpty()) {
- // try to match a project name to the file. otherwise, CC may not work
- projName = ManagerST::Get()->GetProjectNameByFile(fileName.GetFullPath());
- }
-
- LEditor* editor = GetActiveEditor();
- BrowseRecord jumpfrom = editor ? editor->CreateBrowseRecord() : BrowseRecord();
-
- editor = FindEditor(fileName.GetFullPath());
- if (editor) {
- editor->SetProject(projName);
- } else if (fileName.IsOk() == false) {
- wxLogMessage(wxT("Invalid file name: ") + fileName.GetFullPath());
- return NULL;
- } else if (!fileName.FileExists()) {
- wxLogMessage(wxT("File: ") + fileName.GetFullPath() + wxT(" does not exist!"));
- return NULL;
- } else {
- editor = new LEditor(m_book);
- editor->Create(projName, fileName);
- AddPage(editor, fileName.GetFullName());
- editor->SetSyntaxHighlight();
-
- // mark the editor as read only if needed
- MarkEditorReadOnly(editor, IsFileReadOnly(editor->GetFileName()));
-
- if (position == wxNOT_FOUND && lineno == wxNOT_FOUND && editor->GetContext()->GetName() == wxT("C++")) {
- // try to find something interesting in the file to put the caret at
- // for now, just skip past initial blank lines and comments
- for (lineno = 0; lineno < editor->GetLineCount(); lineno++) {
- switch (editor->GetStyleAt(editor->PositionFromLine(lineno))) {
- case wxSCI_C_DEFAULT:
- case wxSCI_C_COMMENT:
- case wxSCI_C_COMMENTDOC:
- case wxSCI_C_COMMENTLINE:
- case wxSCI_C_COMMENTLINEDOC:
- continue;
- }
- // if we got here, it's a line to stop on
- break;
- }
- if (lineno == editor->GetLineCount()) {
- lineno = 1; // makes sure a navigation record gets saved
- }
- }
- }
-
- if (position != wxNOT_FOUND) {
- editor->SetCaretAt(position);
- } else if (lineno != wxNOT_FOUND) {
- editor->GotoLine(lineno);
- editor->EnsureVisible(lineno);
- }
- editor->EnsureCaretVisible();
- if (GetActiveEditor() == editor) {
- editor->SetActive();
- } else {
- SelectPage(editor);
- }
-
- // Add this file to the history. Don't check for uniqueness:
- // if it's already on the list, wxFileHistory will move it to the top
- // Also, sync between the history object and the configuration file
- m_recentFiles.AddFileToHistory ( fileName.GetFullPath() );
- wxArrayString files;
- m_recentFiles.GetFiles ( files );
- EditorConfigST::Get()->SetRecentItems( files, wxT("RecentFiles") );
-
- if (addjump) {
- BrowseRecord jumpto = editor->CreateBrowseRecord();
- NavMgr::Get()->AddJump(jumpfrom, jumpto);
- }
- return editor;
-}
-
-bool MainBook::AddPage(wxWindow *win, const wxString &text, const wxBitmap &bmp, bool selected)
-{
- if (m_book->GetPageIndex(win) != Notebook::npos || m_detachedTabs.find(win) != m_detachedTabs.end())
- return false;
-
- long MaxBuffers(15);
- EditorConfigST::Get()->GetLongValue(wxT("MaxOpenedTabs"), MaxBuffers);
-
- if( (long)(m_book->GetPageCount() + m_detachedTabs.size()) >= MaxBuffers ) {
- // We have reached the limit of the number of open buffers
- // Close the last used buffer
- const wxArrayPtrVoid &arr = m_book->GetHistory();
- if ( arr.GetCount() ) {
- // We got at least one page, close the last used
- CustomTab *tab = static_cast<CustomTab*>(arr.Item(arr.GetCount()-1));
- ClosePage(tab->GetWindow());
- }
- }
-
- win->Connect(wxEVT_SET_FOCUS, wxFocusEventHandler(MainBook::OnFocus), NULL, this);
-
- LEditor *editor = dynamic_cast<LEditor*>(win);
-
- m_book->AddPage(win, text, editor ? editor->GetFileName().GetFullPath() : text, bmp, selected);
- return true;
-}
-
-bool MainBook::SelectPage(wxWindow *win)
-{
- size_t index = m_book->GetPageIndex(win);
- std::set<wxWindow*>::iterator i = m_detachedTabs.find(win);
-
- if (index != Notebook::npos) {
- m_book->SetSelection(index);
- } else if (i != m_detachedTabs.end()) {
- // anything to do?
- } else if (win == NULL) {
- // OK -- deselecting any page
- } else
- return false;
-
- return DoSelectPage( win );
-}
-
-bool MainBook::DetachPage(wxWindow* win)
-{
- if (IsDetached(win))
- return true;
- size_t pos = m_book->GetPageIndex(win);
- if (pos == Notebook::npos)
- return false;
- wxAuiPaneInfo info = wxAuiPaneInfo().Name(m_book->GetPageText(pos)).Caption(m_book->GetPageText(pos))
- .BestSize(win->GetSize()).Float();
- info.FloatingPosition(50, 100);
- m_book->RemovePage(pos, false);
- Frame::Get()->GetDockingManager().AddPane(win, info);
- m_detachedTabs.insert(win);
- Frame::Get()->GetDockingManager().Update();
- return true;
-}
-
-bool MainBook::DockPage(wxWindow* win)
-{
- std::set<wxWindow*>::iterator i = m_detachedTabs.find(win);
- if (i == m_detachedTabs.end())
- return false;
- m_detachedTabs.erase(i);
- wxAuiPaneInfo info = Frame::Get()->GetDockingManager().GetPane(win);
- Frame::Get()->GetDockingManager().DetachPane(win);
- Frame::Get()->GetDockingManager().Update();
-
- LEditor *editor = dynamic_cast<LEditor*>(win);
- m_book->AddPage(win, info.caption, editor ? editor->GetFileName().GetFullPath() : info.caption);
- return true;
-}
-
-bool MainBook::IsDetached(wxWindow* win)
-{
- return m_detachedTabs.find(win) != m_detachedTabs.end();
-}
-
-bool MainBook::UserSelectFiles(std::vector<std::pair<wxFileName,bool> > &files, const wxString &title,
- const wxString &caption, bool cancellable)
-{
- if (files.empty())
- return true;
-
- FileCheckList dlg(Frame::Get(), wxID_ANY, title);
- dlg.SetCaption(caption);
- dlg.SetFiles(files);
- dlg.SetCancellable(cancellable);
- bool res = dlg.ShowModal() == wxID_OK;
- files = dlg.GetFiles();
- return res;
-}
-
-bool MainBook::SaveAll(bool askUser, bool includeUntitled)
-{
- // turn the 'saving all' flag on so we could 'Veto' all focus events
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
-
- std::vector<std::pair<wxFileName, bool> > files;
- size_t n = 0;
- for (size_t i = 0; i < editors.size(); i++) {
- if (!editors[i]->GetModify())
- continue;
- if (!includeUntitled && editors[i]->GetFileName().GetFullPath().StartsWith(wxT("Untitled")))
- continue; //don't save new documents that have not been saved to disk yet
- files.push_back(std::make_pair(editors[i]->GetFileName(), true));
- editors[n++] = editors[i];
- }
- editors.resize(n);
-
- bool res = !askUser || UserSelectFiles(files, wxT("Save Modified Files"),
- wxT("Some files are modified.\nChoose the files you would like to save."));
- if (res) {
- for (size_t i = 0; i < files.size(); i++) {
- if (files[i].second) {
- editors[i]->SaveFile();
- }
- }
- }
- return res;
-}
-
-void MainBook::ReloadExternallyModified(bool prompt)
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
-
- // filter list of editors for any whose files have been modified
- std::vector<std::pair<wxFileName, bool> > files;
- size_t n = 0;
- for (size_t i = 0; i < editors.size(); i++) {
- time_t diskTime = editors[i]->GetFileLastModifiedTime();
- time_t editTime = editors[i]->GetEditorLastModifiedTime();
- if (diskTime > editTime) {
- files.push_back(std::make_pair(editors[i]->GetFileName(), !editors[i]->GetModify()));
- // update editor last mod time so that we don't keep bugging the user over the same file,
- // unless it gets changed again
- editors[i]->SetEditorLastModifiedTime(diskTime);
- editors[n++] = editors[i];
- }
- }
- editors.resize(n);
-
- if(prompt) {
- UserSelectFiles(files, wxT("Reload Modified Files"), wxT("Files have been modified outside the editor.\nChoose which files you would like to reload."), false);
- }
-
- std::vector<wxFileName> filesToRetag;
- for (size_t i = 0; i < files.size(); i++) {
- if (files[i].second) {
- editors[i]->ReloadFile();
- filesToRetag.push_back(files[i].first);
- }
- }
- if (filesToRetag.size() > 1) {
- TagsManagerST::Get()->RetagFiles(filesToRetag, true);
- SendCmdEvent(wxEVT_FILE_RETAGGED, (void*)&filesToRetag);
-
- } else if (filesToRetag.size() == 1) {
- ManagerST::Get()->RetagFile(filesToRetag.at(0).GetFullPath());
- SendCmdEvent(wxEVT_FILE_RETAGGED, (void*)&filesToRetag);
-
- }
-}
-
-bool MainBook::ClosePage(wxWindow *page)
-{
- DockPage(page);
- size_t pos = m_book->GetPageIndex(page);
- return pos != Notebook::npos && m_book->DeletePage(pos);
-}
-
-bool MainBook::CloseAllButThis(wxWindow *page)
-{
- // TODO: handle case where page is detached
- wxString text;
- size_t pos = m_book->GetPageIndex(page);
- if (pos != Notebook::npos) {
- text = m_book->GetPageText(pos);
- m_book->RemovePage(pos, false);
- }
- bool res = CloseAll(true);
- if (pos != Notebook::npos) {
- LEditor *editor = dynamic_cast<LEditor*>(page);
- m_book->AddPage(page, text, editor ? editor->GetFileName().GetFullPath() : text, wxNullBitmap, true);
- }
- return res;
-}
-
-bool MainBook::CloseAll(bool cancellable)
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
-
- // filter list of editors for any that need to be saved
- std::vector<std::pair<wxFileName, bool> > files;
- size_t n = 0;
- for (size_t i = 0; i < editors.size(); i++) {
- if (editors[i]->GetModify()) {
- files.push_back(std::make_pair(editors[i]->GetFileName(), true));
- editors[n++] = editors[i];
- }
- }
- editors.resize(n);
-
- if (!UserSelectFiles(files, wxT("Save Modified Files"),
- wxT("Some files are modified.\nChoose the files you would like to save."), cancellable))
- return false;
-
- for (size_t i = 0; i < files.size(); i++) {
- if (files[i].second) {
- editors[i]->SaveFile();
- } else {
- editors[i]->SetSavePoint();
- }
- }
-
- while (!m_detachedTabs.empty()) {
- DockPage(*m_detachedTabs.begin());
- }
- m_book->DeleteAllPages(ManagerST::Get()->IsShutdownInProgress() ? false : true);
- return true;
-}
-
-wxString MainBook::GetPageTitle(wxWindow *page)
-{
- size_t selection = m_book->GetPageIndex(page);
- if (selection != Notebook::npos)
- return m_book->GetPageText(selection);
- std::set<wxWindow*>::iterator i = m_detachedTabs.find(page);
- if (i != m_detachedTabs.end()) {
- return Frame::Get()->GetDockingManager().GetPane(page).caption;
- }
- return wxEmptyString;
-}
-
-void MainBook::SetPageTitle ( wxWindow *page, const wxString &name )
-{
- size_t selection = m_book->GetPageIndex(page);
- if (selection != Notebook::npos) {
- LEditor *editor = dynamic_cast<LEditor*>(page);
- m_book->SetPageText(selection, name, editor ? editor->GetFileName().GetFullPath() : wxT(""));
- }
-
- std::set<wxWindow*>::iterator i = m_detachedTabs.find(page);
- if (i != m_detachedTabs.end()) {
- wxAuiManager &mgr = Frame::Get()->GetDockingManager();
- wxAuiPaneInfo &info = mgr.GetPane(page);
- if (info.IsOk()) {
- info.caption = info.name = name;
- if (info.frame != NULL) {
- info.frame->SetTitle(name);
- }
- mgr.Update();
- }
- }
-}
-
-void MainBook::ApplySettingsChanges()
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
- for (size_t i = 0; i < editors.size(); i++) {
- editors[i]->SetSyntaxHighlight(editors[i]->GetContext()->GetName());
- }
-}
-
-void MainBook::UnHighlightAll()
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
- for (size_t i = 0; i < editors.size(); i++) {
- editors[i]->UnHighlightAll();
- }
-}
-
-void MainBook::DelAllBreakpointMarkers()
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
- for (size_t i = 0; i < editors.size(); i++) {
- editors[i]->DelAllBreakpointMarkers();
- }
-}
-
-void MainBook::SetViewEOL(bool visible)
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
- for (size_t i = 0; i < editors.size(); i++) {
- editors[i]->SetViewEOL(visible);
- }
-}
-
-void MainBook::HighlightWord(bool hl)
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
- for (size_t i = 0; i < editors.size(); i++) {
- editors[i]->HighlightWord(hl);
- }
-}
-
-void MainBook::ShowWhitespace(int ws)
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
- for (size_t i = 0; i < editors.size(); i++) {
- editors[i]->SetViewWhiteSpace(ws);
- }
-}
-
-void MainBook::UpdateColours()
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
- for (size_t i = 0; i < editors.size(); i++) {
- editors[i]->UpdateColours();
- }
-}
-
-void MainBook::UpdateBreakpoints()
-{
- std::vector<LEditor*> editors;
- GetAllEditors(editors);
- for (size_t i = 0; i < editors.size(); i++) {
- editors[i]->UpdateBreakpoints();
- }
- ManagerST::Get()->GetBreakpointsMgr()->RefreshBreakpointMarkers();
-}
-
-void MainBook::MarkEditorReadOnly(LEditor* editor, bool ro)
-{
- if (!editor) {
- return;
- }
-
- for (size_t i = 0; i < m_book->GetPageCount(); i++) {
- if (editor == m_book->GetPage(i)) {
- m_book->SetPageBitmap(i, ro ? wxXmlResource::Get()->LoadBitmap(wxT("read_only")) : wxNullBitmap );
- break;
- }
- }
-}
-
-long MainBook::GetBookStyle()
-{
- return m_book->GetBookStyle();
-}
-
-bool MainBook::DoSelectPage(wxWindow* win)
-{
- m_currentPage = win;
-
- LEditor *editor = dynamic_cast<LEditor*>(win);
- if ( editor ) {
- editor->SetActive();
- }
-
- // FIXME: move special context-specific menu handling to the Context classes?
- // it could be done inside the existing ContextXXX::SetActive() method.
- if (!editor || editor->GetContext()->GetName() != wxT("C++")) {
- int idx = Frame::Get()->GetMenuBar()->FindMenu(wxT("C++"));
- if ( idx != wxNOT_FOUND ) {
- delete Frame::Get()->GetMenuBar()->Remove(idx);
- }
- }
-
- if (!editor) {
- Frame::Get()->SetFrameTitle(NULL);
- Frame::Get()->SetStatusMessage(wxEmptyString, 1); // clear line & column indicator
- Frame::Get()->SetStatusMessage(wxEmptyString, 2); // clear end-of-line mode indicator
- UpdateNavBar(NULL);
- } else {
- editor->SetActive();
- if (editor->GetContext()->GetName() == wxT("C++")) {
- if (Frame::Get()->GetMenuBar()->FindMenu(wxT("C++")) == wxNOT_FOUND) {
- Frame::Get()->GetMenuBar()->Append(wxXmlResource::Get()->LoadMenu(wxT("editor_right_click")), wxT("C++"));
- }
- }
- SendCmdEvent(wxEVT_ACTIVE_EDITOR_CHANGED, (IEditor*)editor);
- }
-
- return true;
-}
-
-void MainBook::ShowMessage(const wxString &message, bool showHideButton, const wxBitmap &bmp, const ButtonDetails &btn1, const ButtonDetails &btn2, const ButtonDetails &btn3)
-{
- m_messagePane->ShowMessage(message, showHideButton, bmp, btn1, btn2, btn3);
-}
diff --git a/LiteEditor/mainbook.h b/LiteEditor/mainbook.h
deleted file mode 100644
index 03b4e524..00000000
--- a/LiteEditor/mainbook.h
+++ /dev/null
@@ -1,135 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : mainbook.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef MAINBOOK_H
-#define MAINBOOK_H
-
-#include <set>
-#include <wx/panel.h>
-#include "sessionmanager.h"
-#include "navbar.h"
-#include "quickfindbar.h"
-#include "custom_notebook.h"
-#include "filehistory.h"
-#include "message_pane.h"
-
-class MessagePane;
-class MainBook : public wxPanel
-{
-private:
- FileHistory m_recentFiles;
- NavBar *m_navBar;
- Notebook *m_book;
- QuickFindBar *m_quickFindBar;
- wxWindow *m_currentPage;
-
- std::set<wxWindow*> m_detachedTabs;
- MessagePane *m_messagePane;
-
-private:
- void CreateGuiControls();
- void ConnectEvents ();
-
- void OnMouseDClick (wxMouseEvent &e);
- void OnFocus (wxFocusEvent &e);
- void OnPaneClosed (wxAuiManagerEvent &e);
- void OnPageClosing (NotebookEvent &e);
- void OnPageClosed (NotebookEvent &e);
- void OnProjectFileAdded (wxCommandEvent &e);
- void OnProjectFileRemoved(wxCommandEvent &e);
- void OnWorkspaceLoaded (wxCommandEvent &e);
- void OnWorkspaceClosed (wxCommandEvent &e);
-
- bool AskUserToSave(LEditor *editor);
- bool DoSelectPage (wxWindow *win );
-
-public:
- MainBook(wxWindow *parent);
- ~MainBook();
-
- void ClearFileHistory();
- void GetRecentlyOpenedFiles(wxArrayString &files);
- FileHistory &GetRecentlyOpenedFilesClass() { return m_recentFiles; }
-
- void ShowQuickBar (bool s = true) { m_quickFindBar->Show(s); }
- void ShowMessage (const wxString &message, bool showHideButton = true, const wxBitmap &bmp = wxNullBitmap, const ButtonDetails &btn1 = ButtonDetails(), const ButtonDetails &btn2 = ButtonDetails(), const ButtonDetails &btn3 = ButtonDetails());
-
- void ShowNavBar (bool s = true);
- void UpdateNavBar (LEditor *editor);
- bool IsNavBarShown() { return m_navBar->IsShown(); }
-
- void SaveSession (SessionEntry &session, wxArrayInt& intArr);
- void RestoreSession(SessionEntry &session);
-
- LEditor *GetActiveEditor();
- void GetAllEditors (std::vector<LEditor*> &editors);
- LEditor *FindEditor (const wxString &fileName);
- bool CloseEditor (const wxString &fileName) { return ClosePage(FindEditor(fileName)); }
-
- wxWindow *GetCurrentPage() { return m_currentPage; }
- wxWindow *FindPage (const wxString &text);
-
- LEditor *NewEditor();
-
- LEditor *OpenFile(const wxString &file_name, const wxString &projectName = wxEmptyString,
- int lineno = wxNOT_FOUND, long position = wxNOT_FOUND, bool addjump = true);
- LEditor *OpenFile(const BrowseRecord &rec)
- { return OpenFile(rec.filename, rec.project, rec.lineno, rec.position, false); }
-
- bool AddPage (wxWindow *win, const wxString &text, const wxBitmap &bmp = wxNullBitmap, bool selected = false);
- bool SelectPage(wxWindow *win);
-
- bool DetachPage(wxWindow *win);
- bool DockPage (wxWindow *win);
- bool IsDetached(wxWindow *win);
-
- bool UserSelectFiles(std::vector<std::pair<wxFileName,bool> > &files, const wxString &title, const wxString &caption,
- bool cancellable = true);
-
- bool SaveAll(bool askUser, bool includeUntitled);
-
- void ReloadExternallyModified(bool prompt);
-
- bool ClosePage (const wxString &text) { return ClosePage(FindPage(text)); }
- bool ClosePage (wxWindow *win);
- bool CloseAllButThis(wxWindow *win);
- bool CloseAll (bool cancellable);
-
- wxString GetPageTitle(wxWindow *win);
- void SetPageTitle(wxWindow *page, const wxString &name);
- long GetBookStyle();
-
- // TODO: replace these functions with event handlers
- void ApplySettingsChanges ();
- void UnHighlightAll ();
- void DelAllBreakpointMarkers();
- void SetViewEOL (bool visible);
- void HighlightWord (bool hl);
- void ShowWhitespace (int ws);
- void UpdateColours ();
- void UpdateBreakpoints ();
- void MarkEditorReadOnly (LEditor *editor, bool ro);
-};
-
-#endif //MAINBOOK_H
diff --git a/LiteEditor/manager.cpp b/LiteEditor/manager.cpp
deleted file mode 100644
index f742227d..00000000
--- a/LiteEditor/manager.cpp
+++ /dev/null
@@ -1,3032 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : manager.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "precompiled_header.h"
-#include "environmentconfig.h"
-#include "evnvarlist.h"
-#include "crawler_include.h"
-#include "renamefiledlg.h"
-#include "localstable.h"
-#include "new_quick_watch_dlg.h"
-#include "debuggerconfigtool.h"
-#include "debuggersettings.h"
-#include "debuggerasciiviewer.h"
-
-#include <vector>
-#include <algorithm>
-#include <wx/stdpaths.h>
-#include <wx/busyinfo.h>
-#include <wx/progdlg.h>
-#include <wx/file.h>
-#include <wx/dir.h>
-#include <wx/arrstr.h>
-#include <wx/tokenzr.h>
-#include <wx/regex.h>
-
-#include "jobqueue.h"
-#include "parse_thread.h"
-#include "search_thread.h"
-#include "pluginmanager.h"
-#include "ctags_manager.h"
-#include "language.h"
-#include "context_manager.h"
-#include "buildmanager.h"
-#include "build_settings_config.h"
-#include "menumanager.h"
-#include "editor_config.h"
-#include "environmentconfig.h"
-#include "frame.h"
-#include "sessionmanager.h"
-#include "globals.h"
-#include "vcimporter.h"
-#include "macros.h"
-#include "dirsaver.h"
-#include "workspace_pane.h"
-#include "workspacetab.h"
-#include "dockablepanemenumanager.h"
-#include "breakpointdlg.h"
-#include "exelocator.h"
-#include "simpletable.h"
-#include "threadlistpanel.h"
-#include "memoryview.h"
-#include "attachdbgprocdlg.h"
-#include "listctrlpanel.h"
-#include "cl_editor.h"
-#include "custombuildrequest.h"
-#include "compile_request.h"
-#include "clean_request.h"
-#include "buidltab.h"
-#include "manager.h"
-
-const wxEventType wxEVT_CMD_RESTART_CODELITE = wxNewEventType();
-
-//---------------------------------------------------------------
-// Menu accelerators helper methods
-//---------------------------------------------------------------
-
-static wxString StripAccelAndNemonics ( const wxString &text )
-{
- //possible mnemonics:
- //_ and &
- wxString stripedText ( text );
- stripedText.Replace ( wxT ( "_" ), wxEmptyString );
- stripedText.Replace ( wxT ( "&" ), wxEmptyString );
- return stripedText.BeforeFirst ( wxT ( '\t' ) );
-}
-
-static wxString StripAccel ( const wxString &text )
-{
- return text.BeforeFirst ( wxT ( '\t' ) );
-}
-
-//---------------------------------------------------------------
-// Debugger helper method
-//---------------------------------------------------------------
-static wxArrayString DoGetTemplateTypes(const wxString& tmplDecl)
-{
- wxArrayString types;
- int depth (0);
- wxString type;
-
- wxString tmpstr ( tmplDecl );
- tmpstr.Trim().Trim(false);
-
- if ( tmpstr.StartsWith(wxT("<")) ) {
- tmpstr.Remove(0, 1);
- }
-
- if ( tmpstr.EndsWith(wxT(">")) ) {
- tmpstr.RemoveLast();
- }
- tmpstr.Trim().Trim(false);
-
- for (size_t i=0; i<tmpstr.Length(); i++) {
- wxChar ch = tmpstr.GetChar(i);
- switch (ch) {
- case wxT(','):
- if ( depth > 0 ) {
- type << wxT(",");
- } else {
- type.Trim().Trim(false);
- if ( type.Contains(wxT("std::basic_string<char")) ) {
- type = wxT("string");
- } else if ( type.Contains(wxT("std::basic_string<wchar_t")) ) {
- type = wxT("wstring");
- }
- types.Add( type );
- type.Empty();
- }
- break;
- case wxT('<'):
- depth ++;
- type << wxT("<");
- break;
- case wxT('>'):
- depth--;
- type << wxT(">");
- break;
- default:
- type << tmpstr.GetChar(i);
- break;
- }
- }
-
- if ( depth == 0 && type.IsEmpty() == false ) {
- type.Trim().Trim(false);
- if ( type.Contains(wxT("std::basic_string<char")) ) {
- type = wxT("string");
- } else if ( type.Contains(wxT("std::basic_string<wchar_t")) ) {
- type = wxT("wstring");
- }
- types.Add( type );
- }
-
- return types;
-}
-
-//---------------------------------------------------------------
-//
-// The CodeLite manager class
-//
-//---------------------------------------------------------------
-
-Manager::Manager ( void )
- : m_shellProcess ( NULL )
- , m_asyncExeCmd ( NULL )
- , m_breakptsmgr( new BreakptMgr )
- , m_isShutdown ( false )
- , m_workspceClosing ( false )
- , m_dbgCanInteract ( false )
- , m_useTipWin ( false )
- , m_tipWinPos ( wxNOT_FOUND )
- , m_frameLineno ( wxNOT_FOUND )
- , m_displayVariableDlg (NULL)
-{
- m_codeliteLauncher = wxFileName(wxT("codelite_launcher"));
- Connect(wxEVT_CMD_RESTART_CODELITE, wxCommandEventHandler(Manager::OnRestart), NULL, this);
- Connect(wxEVT_PARSE_THREAD_SCAN_INCLUDES_DONE, wxCommandEventHandler(Manager::OnIncludeFilesScanDone), NULL, this);
-}
-
-Manager::~Manager ( void )
-{
- //stop background processes
- DbgStop();
- JobQueueSingleton::Instance()->Stop();
- ParseThreadST::Get()->Stop();
- SearchThreadST::Get()->Stop();
-
- //free all plugins
- PluginManager::Get()->UnLoad();
-
- // release singleton objects
- DebuggerMgr::Free();
- JobQueueSingleton::Release();
- ParseThreadST::Free(); //since the parser is making use of the TagsManager,
- TagsManagerST::Free(); //it is important to release it *before* the TagsManager
- LanguageST::Free();
- WorkspaceST::Free();
- ContextManager::Free();
- BuildManagerST::Free();
- BuildSettingsConfigST::Free();
- SearchThreadST::Free();
- MenuManager::Free();
- EnvironmentConfig::Release();
-
- if ( m_shellProcess ) {
- delete m_shellProcess;
- m_shellProcess = NULL;
- }
- delete m_breakptsmgr;
-}
-
-
-//--------------------------- Workspace Loading -----------------------------
-
-bool Manager::IsWorkspaceOpen() const
-{
- return WorkspaceST::Get()->GetName().IsEmpty() == false;
-}
-
-void Manager::CreateWorkspace ( const wxString &name, const wxString &path )
-{
- // make sure that the workspace pane is visible
- ShowWorkspacePane (Frame::Get()->GetWorkspaceTab()->GetCaption());
-
- wxString errMsg;
- bool res = WorkspaceST::Get()->CreateWorkspace ( name, path, errMsg );
- if ( !res ) {
- wxMessageBox(errMsg, wxT("Error"), wxOK | wxICON_HAND);
- return;
- }
-
- OpenWorkspace ( path + PATH_SEP + name + wxT ( ".workspace" ) );
-}
-
-void Manager::OpenWorkspace ( const wxString &path )
-{
- wxLogNull noLog;
- CloseWorkspace();
-
- wxString errMsg;
- bool res = WorkspaceST::Get()->OpenWorkspace ( path, errMsg );
- if ( !res ) {
- // in case part of the workspace was opened, close the workspace
- CloseWorkspace();
- wxMessageBox ( errMsg, wxT ( "Error" ), wxOK | wxICON_HAND );
- return;
- }
-
- // OpenWorkspace returned true, but errMsg is not empty
- // this could only mean that we removed a fauly project
- if(errMsg.IsEmpty() == false) {
- Frame::Get()->GetMainBook()->ShowMessage(errMsg, true, wxXmlResource::Get()->LoadBitmap(wxT("message_pane_warning")));
- }
-
- DoSetupWorkspace ( path );
-}
-
-void Manager::ReloadWorkspace()
-{
- if ( !IsWorkspaceOpen() )
- return;
- DbgStop();
- WorkspaceST::Get()->ReloadWorkspace();
- DoSetupWorkspace ( WorkspaceST::Get()->GetWorkspaceFileName().GetFullPath() );
-}
-
-void Manager::DoSetupWorkspace ( const wxString &path )
-{
- wxString errMsg;
- wxString dbfile = WorkspaceST::Get()->GetStringProperty ( wxT ( "Database" ), errMsg );
- wxFileName fn ( dbfile );
- wxBusyCursor cursor;
- AddToRecentlyOpenedWorkspaces ( path );
- SendCmdEvent ( wxEVT_WORKSPACE_LOADED );
- if ( Frame::Get()->GetFrameGeneralInfo().GetFlags() & CL_LOAD_LAST_SESSION ) {
- SessionEntry session;
- if ( SessionManager::Get().FindSession ( path, session ) ) {
- SessionManager::Get().SetLastWorkspaceName ( path );
- Frame::Get()->GetMainBook()->RestoreSession(session);
- GetBreakpointsMgr()->LoadSession(session);
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
- }
- }
-
- // Update the parser search paths
- UpdateParserPaths();
- Frame::Get()->SetEnvStatusMessage();
-
- // send an event to the main frame indicating that a re-tag is required
- // we do this only if the "smart retagging" is on
- TagsOptionsData tagsopt = TagsManagerST::Get()->GetCtagsOptions();
- if ( tagsopt.GetFlags() & CC_RETAG_WORKSPACE_ON_STARTUP ) {
- wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, XRCID("retag_workspace"));
- Frame::Get()->GetEventHandler()->AddPendingEvent(e);
- }
-}
-
-void Manager::CloseWorkspace()
-{
- m_workspceClosing = true;
-
- DbgClearWatches();
- DbgStop();
-
- //save the current session before closing
- SessionEntry session;
- session.SetWorkspaceName ( WorkspaceST::Get()->GetWorkspaceFileName().GetFullPath() );
- wxArrayInt unused; Frame::Get()->GetMainBook()->SaveSession(session, unused);
- GetBreakpointsMgr()->SaveSession(session);
- SessionManager::Get().Save ( WorkspaceST::Get()->GetWorkspaceFileName().GetFullPath(), session );
-
- // Delete any breakpoints belong to the current workspace
- GetBreakpointsMgr()->DelAllBreakpoints();
- // Then remove them from the debugger pane, in case that's visible
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
-
- // since we closed the workspace, we also need to set the 'LastActiveWorkspaceName' to be
- // default
- SessionManager::Get().SetLastWorkspaceName ( wxT ( "Default" ) );
-
- WorkspaceST::Get()->CloseWorkspace();
- if ( !IsShutdownInProgress() ) {
- SendCmdEvent ( wxEVT_WORKSPACE_CLOSED );
- }
-
-#ifdef __WXMSW__
- // Under Windows, and in order to avoid locking the directory set the working directory back to the start up directory
- wxSetWorkingDirectory ( GetStarupDirectory() );
-#endif
-
- UpdateParserPaths();
- m_workspceClosing = false;
-
-}
-
-void Manager::AddToRecentlyOpenedWorkspaces ( const wxString &fileName )
-{
- // Add this workspace to the history. Don't check for uniqueness:
- // if it's already on the list, wxFileHistory will move it to the top
- wxString short_name;
- if ( fileName.EndsWith(wxT(".workspace"), &short_name) ) {
- m_recentWorkspaces.AddFileToHistory ( short_name );
-
- } else {
- m_recentWorkspaces.AddFileToHistory ( fileName );
- }
-
- //sync between the history object and the configuration file
- wxArrayString files;
- m_recentWorkspaces.GetFiles ( files );
-
- for ( size_t i=0; i<files.GetCount(); i++ ) {
- if (files.Item(i).EndsWith(wxT(".workspace")) == false) {
- files.Item(i).Append(wxT(".workspace"));
- }
- }
-
- EditorConfigST::Get()->SetRecentItems( files, wxT("RecentWorkspaces") );
-}
-
-void Manager::ClearWorkspaceHistory()
-{
- size_t count = m_recentWorkspaces.GetCount();
- for ( size_t i=0; i<count; i++ ) {
- m_recentWorkspaces.RemoveFileFromHistory ( 0 );
- }
- wxArrayString files;
- EditorConfigST::Get()->SetRecentItems( files, wxT("RecentWorkspaces") );
-}
-
-void Manager::GetRecentlyOpenedWorkspaces ( wxArrayString &files )
-{
- EditorConfigST::Get()->GetRecentItems( files, wxT("RecentWorkspaces") );
-}
-
-
-//--------------------------- Workspace Projects Mgmt -----------------------------
-
-void Manager::CreateProject ( ProjectData &data )
-{
- if ( IsWorkspaceOpen() == false ) {
- //create a workspace before creating a project
- CreateWorkspace ( data.m_name, data.m_path );
- }
-
- wxString errMsg;
- bool res = WorkspaceST::Get()->CreateProject ( data.m_name,
- data.m_path,
- data.m_srcProject->GetSettings()->GetProjectType ( wxEmptyString ),
- false,
- errMsg );
- if ( !res ) {
- wxMessageBox(errMsg, wxT("Error"), wxOK | wxICON_HAND);
- return;
- }
- ProjectPtr proj = WorkspaceST::Get()->FindProjectByName ( data.m_name, errMsg );
-
- //copy the project settings to the new one
- proj->SetSettings ( data.m_srcProject->GetSettings() );
-
- proj->SetProjectInternalType(data.m_srcProject->GetProjectInternalType());
-
- // now add the new project to the build matrix
- WorkspaceST::Get()->AddProjectToBuildMatrix ( proj );
- ProjectSettingsPtr settings = proj->GetSettings();
-
- // set the compiler type
- ProjectSettingsCookie cookie;
- BuildConfigPtr bldConf = settings->GetFirstBuildConfiguration ( cookie );
- while ( bldConf ) {
- bldConf->SetCompilerType ( data.m_cmpType );
- bldConf = settings->GetNextBuildConfiguration ( cookie );
- }
- proj->SetSettings ( settings );
-
- // copy the files as they appear in the source project
- proj->SetFiles ( data.m_srcProject );
-
- // copy plugins data
- std::map<wxString, wxString> pluginsData;
- data.m_srcProject->GetAllPluginsData( pluginsData );
- proj->SetAllPluginsData( pluginsData );
-
- {
- // copy the actual files from the template directory to the new project path
- DirSaver ds;
- wxSetWorkingDirectory ( proj->GetFileName().GetPath() );
-
- // get list of files
- std::vector<wxFileName> files;
- data.m_srcProject->GetFiles ( files, true );
- for ( size_t i=0; i<files.size(); i++ ) {
- wxFileName f ( files.at ( i ) );
- wxCopyFile ( f.GetFullPath(), f.GetFullName() );
- }
- }
-
- wxString projectName = proj->GetName();
- RetagProject ( projectName, true );
- SendCmdEvent ( wxEVT_PROJ_ADDED, ( void* ) &projectName );
-}
-
-void Manager::AddProject ( const wxString & path )
-{
- // create a workspace if there is non
- if ( IsWorkspaceOpen() == false ) {
-
- wxFileName fn(path);
-
- //create a workspace before creating a project
- CreateWorkspace ( fn.GetName(), fn.GetPath() );
- }
-
- wxString errMsg;
- bool res = WorkspaceST::Get()->AddProject ( path, errMsg );
- if ( !res ) {
- wxMessageBox(errMsg, wxT("Error"), wxOK | wxICON_HAND);
- return;
- }
-
- wxFileName fn ( path );
- wxString projectName ( fn.GetName() );
- RetagProject ( projectName, true );
- SendCmdEvent ( wxEVT_PROJ_ADDED, ( void* ) &projectName );
-}
-
-void Manager::ImportMSVSSolution ( const wxString &path, const wxString &defaultCompiler )
-{
- wxFileName fn ( path );
- if ( fn.FileExists() == false ) {
- return;
- }
-
- // Show some messages to the user
- wxBusyCursor busyCursor;
- wxBusyInfo info(_("Importing MS solution..."), Frame::Get());
-
- wxString errMsg;
- VcImporter importer ( path, defaultCompiler );
- if ( importer.Import ( errMsg ) ) {
- wxString wspfile;
- wspfile << fn.GetPath() << wxT ( "/" ) << fn.GetName() << wxT ( ".workspace" );
- OpenWorkspace ( wspfile );
-
- // Retag workspace
- wxCommandEvent event( wxEVT_COMMAND_MENU_SELECTED, XRCID("retag_workspace") );
- Frame::Get()->GetEventHandler()->AddPendingEvent( event );
- }
-}
-
-bool Manager::RemoveProject ( const wxString &name )
-{
- if ( name.IsEmpty() ) {
- return false;
- }
-
- ProjectPtr proj = GetProject ( name );
-
- wxString errMsg;
- bool res = WorkspaceST::Get()->RemoveProject ( name, errMsg );
- if ( !res ) {
- wxMessageBox(errMsg, wxT("Error"), wxOK | wxICON_HAND);
- return false;
- }
-
- if ( proj ) {
- //remove symbols from the database
- std::vector<wxFileName> projectFiles;
- proj->GetFiles ( projectFiles, true );
- TagsManagerST::Get()->DeleteFilesTags ( projectFiles );
- wxArrayString prjfls;
- for ( size_t i = 0; i < projectFiles.size(); i++ ) {
- prjfls.Add ( projectFiles[i].GetFullPath() );
- }
- SendCmdEvent ( wxEVT_PROJ_FILE_REMOVED, ( void* ) &prjfls );
- } // if(proj)
-
- SendCmdEvent ( wxEVT_PROJ_REMOVED, ( void* ) &name );
-
- return true;
-}
-
-void Manager::GetProjectList ( wxArrayString &list )
-{
- WorkspaceST::Get()->GetProjectList ( list );
-}
-
-ProjectPtr Manager::GetProject ( const wxString &name ) const
-{
- wxString projectName ( name );
- projectName.Trim().Trim(false);
-
- if(projectName.IsEmpty())
- return NULL;
-
- wxString errMsg;
- ProjectPtr proj = WorkspaceST::Get()->FindProjectByName ( name, errMsg );
- if ( !proj ) {
- wxLogMessage ( errMsg );
- return NULL;
- }
- return proj;
-}
-
-wxString Manager::GetActiveProjectName()
-{
-
- return WorkspaceST::Get()->GetActiveProjectName();
-}
-
-void Manager::SetActiveProject ( const wxString &name )
-{
- WorkspaceST::Get()->SetActiveProject ( WorkspaceST::Get()->GetActiveProjectName(), false );
- WorkspaceST::Get()->SetActiveProject ( name, true );
-}
-
-BuildMatrixPtr Manager::GetWorkspaceBuildMatrix() const
-{
- return WorkspaceST::Get()->GetBuildMatrix();
-}
-
-void Manager::SetWorkspaceBuildMatrix ( BuildMatrixPtr matrix )
-{
- WorkspaceST::Get()->SetBuildMatrix ( matrix );
- SendCmdEvent(wxEVT_WORKSPACE_CONFIG_CHANGED);
-}
-
-
-//--------------------------- Workspace Files Mgmt -----------------------------
-
-void Manager::GetWorkspaceFiles ( wxArrayString &files )
-{
- if ( !IsWorkspaceOpen() ) {
- return;
- }
-
- wxArrayString projects;
- GetProjectList ( projects );
-
- for ( size_t i=0; i<projects.GetCount(); i++ ) {
- GetProjectFiles ( projects.Item ( i ), files );
- }
-}
-
-void Manager::GetWorkspaceFiles ( std::vector<wxFileName> &files, bool absPath )
-{
- wxArrayString projects;
- GetProjectList ( projects );
- for ( size_t i=0; i<projects.GetCount(); i++ ) {
- ProjectPtr p = GetProject ( projects.Item ( i ) );
- p->GetFiles ( files, absPath );
- }
-}
-
-bool Manager::IsFileInWorkspace ( const wxString &fileName )
-{
- wxFileName findme ( fileName );
- std::vector<wxFileName> files;
-
- GetWorkspaceFiles ( files, true );
- std::vector<wxFileName>::const_iterator iter = std::find ( files.begin(), files.end(), findme );
- return iter != files.end();
-}
-
-wxFileName Manager::FindFile ( const wxString &filename, const wxString &project )
-{
- wxString tmpfile(filename);
- tmpfile.Trim().Trim(false);
-
- if(tmpfile.IsEmpty()) {
- return wxFileName();
- }
-
- wxFileName fn ( filename );
- if ( !fn.FileExists() ) {
- // try to open the file as is
- fn.Clear();
- }
- if ( !fn.IsOk() && !project.IsEmpty() ) {
- // try to open the file in context of its project
- wxArrayString project_files;
- GetProjectFiles ( project, project_files );
- fn = FindFile ( project_files, filename );
- }
- if ( !fn.IsOk() ) {
- // no luck there. try the whole workspace
- wxArrayString workspace_files;
- GetWorkspaceFiles ( workspace_files );
- fn = FindFile ( workspace_files, filename );
- }
- if (!fn.IsAbsolute()) {
- fn.MakeAbsolute();
- }
- return fn;
-}
-
-// ATTN: Please do not change this code!
-wxFileName Manager::FindFile ( const wxArrayString& files, const wxFileName &fn )
-{
- // Iterate over the files twice:
- // first, try to full path
- // if the first iteration failes, iterate the files again
- // and compare full name only
- if ( fn.IsAbsolute() && !fn.GetFullPath().Contains ( wxT ( ".." ) ) ) {
- return fn;
- }
-
- std::vector<wxFileName> matches;
- // Try to find a match in the workspace (by comparing full paths)
- for ( size_t i=0; i< files.GetCount(); i++ ) {
- wxFileName tmpFileName ( files.Item ( i ) );
- if ( tmpFileName.GetFullPath().CmpNoCase(fn.GetFullPath()) == 0 ) {
- wxFileName tt ( tmpFileName );
- if ( tt.MakeAbsolute() ) {
- return tt;
- } else {
- return tmpFileName;
- }
- }
- if ( tmpFileName.GetFullName() == fn.GetFullName() ) {
- matches.push_back ( tmpFileName );
- }
- }
-
- wxString lastDir;
- wxArrayString dirs = fn.GetDirs();
- if ( dirs.GetCount() > 0 ) {
- lastDir = dirs.Last();
- }
-
- if ( matches.size() == 1 ) {
- wxFileName tt ( matches.at ( 0 ) );
- if ( tt.MakeAbsolute() ) {
- return tt;
- } else {
- return matches.at ( 0 );
- }
-
- } else if ( matches.size() > 1 ) {
- // take the best match
- std::vector<wxFileName> betterMatches;
- for ( size_t i=0; i<matches.size(); i++ ) {
-
- wxFileName filename ( matches.at ( i ) );
- wxArrayString tmpdirs = filename.GetDirs();
- if ( tmpdirs.GetCount() > 0 ) {
- if ( tmpdirs.Last() == lastDir ) {
- betterMatches.push_back ( filename );
- }
- }
- }
-
- if ( betterMatches.size() == 1 ) {
- wxFileName tt ( betterMatches.at ( 0 ) );
- if ( tt.MakeAbsolute() ) {
- return tt;
- } else {
- return betterMatches.at ( 0 );
- }
- } else {
- // open the first match
- wxFileName tt ( matches.at ( 0 ) );
- if ( tt.MakeAbsolute() ) {
- return tt;
- } else {
- return matches.at ( 0 );
- }
- }
- } else {
- // try to convert it to absolute path
- wxFileName f1 ( fn );
- if ( f1.MakeAbsolute() /*&& f1.FileExists()*/ && !f1.GetFullPath().Contains ( wxT ( ".." ) ) ) {
- return f1;
- }
- }
- return wxFileName();
-}
-
-void Manager::RetagWorkspace(bool quickRetag)
-{
- // in the case of re-tagging the entire workspace and full re-tagging is enabled
- // it is faster to drop the tables instead of deleting
- if ( !quickRetag )
- TagsManagerST::Get()->GetDatabase()->RecreateDatabase();
-
- wxArrayString projects;
- GetProjectList ( projects );
-
- std::vector<wxFileName> projectFiles;
- for ( size_t i=0; i<projects.GetCount(); i++ ) {
- ProjectPtr proj = GetProject ( projects.Item ( i ) );
- if ( proj ) {
- proj->GetFiles( projectFiles, true );
- }
- }
-
- // Create a parsing request
- ParseRequest *parsingRequest = new ParseRequest();
- for (size_t i=0; i<projectFiles.size(); i++) {
- // filter any non valid coding file
- if(!TagsManagerST::Get()->IsValidCtagsFile(projectFiles.at(i)))
- continue;
- parsingRequest->_workspaceFiles.push_back( projectFiles.at(i).GetFullPath().mb_str(wxConvUTF8).data() );
- }
-
- parsingRequest->setType(ParseRequest::PR_PARSEINCLUDES);
- parsingRequest->_evtHandler = this;
- parsingRequest->_quickRetag = quickRetag;
- ParseThreadST::Get()->Add ( parsingRequest );
-
- Frame::Get()->SetStatusMessage(wxT("Scanning for include files to parse..."), 0);
-}
-
-void Manager::RetagFile ( const wxString& filename )
-{
- if ( IsWorkspaceClosing() ) {
- wxLogMessage ( wxString::Format ( wxT ( "Workspace in being closed, skipping re-tag for file %s" ), filename.c_str() ) );
- return;
- }
- if ( !TagsManagerST::Get()->IsValidCtagsFile ( wxFileName ( filename ) ) ) {
- wxLogMessage ( wxT ( "Not a valid C tags file type: %s. Skipping." ), filename.c_str() );
- return;
- }
-
- wxFileName absFile ( filename );
- absFile.MakeAbsolute();
-
- // Put a request to the parsing thread
- ParseRequest *req = new ParseRequest();
- req->setDbFile ( TagsManagerST::Get()->GetDatabase()->GetDatabaseFileName().GetFullPath().c_str() );
- req->setFile ( absFile.GetFullPath().c_str() );
- req->setType ( ParseRequest::PR_FILESAVED );
- ParseThreadST::Get()->Add ( req );
-
- wxString msg = wxString::Format(wxT( "Re-tagging file %s..." ), absFile.GetFullName().c_str());
- Frame::Get()->SetStatusMessage(msg, 0, XRCID("retag_file"));
-}
-
-//--------------------------- Project Files Mgmt -----------------------------
-
-void Manager::AddVirtualDirectory ( const wxString &virtualDirFullPath )
-{
- wxString errMsg;
- bool res = WorkspaceST::Get()->CreateVirtualDirectory ( virtualDirFullPath, errMsg );
- if ( !res ) {
- wxMessageBox(errMsg, wxT("Error"), wxOK | wxICON_HAND);
- return;
- }
-}
-
-void Manager::RemoveVirtualDirectory ( const wxString &virtualDirFullPath )
-{
- wxString errMsg;
- wxString project = virtualDirFullPath.BeforeFirst ( wxT ( ':' ) );
- ProjectPtr p = WorkspaceST::Get()->FindProjectByName ( project, errMsg );
- if ( !p ) {
- return;
- }
-
- // Update symbol tree and database
- wxString vdPath = virtualDirFullPath.AfterFirst ( wxT ( ':' ) );
- wxArrayString files;
- p->GetFilesByVirtualDir ( vdPath, files );
- wxFileName tagsDb = TagsManagerST::Get()->GetDatabase()->GetDatabaseFileName();
- for ( size_t i=0; i<files.Count(); i++ ) {
- TagsManagerST::Get()->Delete ( tagsDb, files.Item ( i ) );
- }
-
- //and finally, remove the virtual dir from the workspace
- bool res = WorkspaceST::Get()->RemoveVirtualDirectory ( virtualDirFullPath, errMsg );
- if ( !res ) {
- wxMessageBox(errMsg, wxT("Error"), wxOK | wxICON_HAND);
- return;
- }
-
- SendCmdEvent ( wxEVT_PROJ_FILE_REMOVED, ( void* ) &files );
-}
-
-bool Manager::AddNewFileToProject ( const wxString &fileName, const wxString &vdFullPath, bool openIt )
-{
- wxFile file;
- if ( !file.Create ( fileName.GetData(), true ) )
- return false;
-
- if ( file.IsOpened() ) {
- file.Close();
- }
-
- return AddFileToProject ( fileName, vdFullPath, openIt );
-}
-
-bool Manager::AddFileToProject ( const wxString &fileName, const wxString &vdFullPath, bool openIt )
-{
- wxString project;
- project = vdFullPath.BeforeFirst ( wxT ( ':' ) );
-
- // Add the file to the project
- wxString errMsg;
- bool res = WorkspaceST::Get()->AddNewFile ( vdFullPath, fileName, errMsg );
- if ( !res ) {
- //file or virtual dir does not exist
- return false;
- }
-
- if ( openIt ) {
- Frame::Get()->GetMainBook()->OpenFile ( fileName, project );
- }
-
- TagTreePtr ttp;
- if ( project.IsEmpty() == false ) {
- std::vector<CommentPtr> comments;
- if ( TagsManagerST::Get()->GetParseComments() ) {
- ttp = TagsManagerST::Get()->ParseSourceFile ( fileName, &comments );
- } else {
- ttp = TagsManagerST::Get()->ParseSourceFile ( fileName );
- }
- TagsManagerST::Get()->Store ( ttp );
- }
-
- //send notification command event that files was added to
- //project
- wxArrayString files;
- files.Add ( fileName );
- SendCmdEvent ( wxEVT_PROJ_FILE_ADDED, ( void* ) &files );
- return true;
-}
-
-void Manager::AddFilesToProject ( const wxArrayString &files, const wxString &vdFullPath, wxArrayString &actualAdded )
-{
- wxString project;
- project = vdFullPath.BeforeFirst ( wxT ( ':' ) );
-
- // Add the file to the project
- wxString errMsg;
- //bool res = true;
- size_t i=0;
-
- //try to find this file in the workspace
- for ( i=0; i<files.GetCount(); i++ ) {
- wxString projName = this->GetProjectNameByFile ( files.Item ( i ) );
- //allow adding the file, only if it does not already exist under the current project
- //(it can be already exist under the different project)
- if ( projName.IsEmpty() || projName != project ) {
- actualAdded.Add ( files.Item ( i ) );
- }
- }
-
- for ( i=0; i<actualAdded.GetCount(); i++ ) {
- Workspace *wsp = WorkspaceST::Get();
- wsp->AddNewFile ( vdFullPath, actualAdded.Item ( i ), errMsg );
- }
-
- //convert wxArrayString to vector for the ctags api
- std::vector<wxFileName> vFiles;
- for ( size_t i=0; i<actualAdded.GetCount(); i++ ) {
- vFiles.push_back ( actualAdded.Item ( i ) );
- }
-
- //re-tag the added files
- if ( vFiles.empty() == false ) {
- TagsManagerST::Get()->RetagFiles ( vFiles, true );
- }
-
- if ( !actualAdded.IsEmpty() ) {
- SendCmdEvent ( wxEVT_PROJ_FILE_ADDED, ( void* ) &actualAdded );
- }
-}
-
-bool Manager::RemoveFile ( const wxString &fileName, const wxString &vdFullPath )
-{
- wxString project = vdFullPath.BeforeFirst ( wxT ( ':' ) );
- wxFileName absPath ( fileName );
- absPath.MakeAbsolute ( GetProjectCwd ( project ) );
-
- Frame::Get()->GetMainBook()->ClosePage(absPath.GetFullPath());
-
- wxString errMsg;
- bool res = WorkspaceST::Get()->RemoveFile ( vdFullPath, fileName, errMsg );
- if ( !res ) {
- wxMessageBox(errMsg, _("Error"), wxOK | wxICON_HAND, Frame::Get());
- return false;
- }
-
- TagsManagerST::Get()->Delete ( TagsManagerST::Get()->GetDatabase()->GetDatabaseFileName(), absPath.GetFullPath() );
- wxArrayString files(1, &fileName);
- SendCmdEvent(wxEVT_PROJ_FILE_REMOVED, (void*)&files);
-
- return true;
-}
-
-bool Manager::RenameFile(const wxString &origName, const wxString &newName, const wxString &vdFullPath)
-{
- // Step: 1
- // remove the file from the workspace (this will erase it from the symbol database and will
- // also close the editor that it is currently opened in (if any)
- if (!RemoveFile(origName, vdFullPath))
- return false;
-
- // Step: 2
- // Notify the plugins, maybe they want to override the
- // default behavior (e.g. Subversion plugin)
- wxArrayString f;
- f.Add(origName);
- f.Add(newName);
-
- if(!SendCmdEvent(wxEVT_FILE_RENAMED, (void*)&f)){
- // rename the file on filesystem
- wxLogNull noLog;
- wxRenameFile(origName, newName);
- }
-
- // read file to project with the new name
- wxString projName = vdFullPath.BeforeFirst(wxT(':'));
- ProjectPtr proj = GetProject(projName);
- proj->FastAddFile(newName, vdFullPath.AfterFirst(wxT(':')));
-
- // Step 3: retag the new file
- RetagFile(newName);
-
- // Step 4: send an event about new file was added
- // to the workspace
- wxArrayString files;
- files.Add(newName);
- SendCmdEvent(wxEVT_PROJ_FILE_ADDED, (void*)&files);
-
- // Step 5: Change all include files refering to the old
- // file
- if( !IsWorkspaceOpen() ) {
- // if there is no workspace opened, we are done
- return true;
- }
-
- wxArrayString workspaceFiles;
- GetWorkspaceFiles(workspaceFiles);
- std::vector<IncludeStatement> includes, matches;
-
- for(size_t i=0; i<workspaceFiles.GetCount(); i++) {
- IncludeFinder(workspaceFiles.Item(i).mb_str(wxConvUTF8).data(), includes);
- }
-
- // Filter non-relevant matches
- wxString oldName ( origName ) ;
- oldName.Replace(wxT("\\"), wxT("/"));
- for(size_t i=0; i<includes.size(); i++) {
-
- wxString inclName (includes.at(i).file.c_str(), wxConvUTF8);
- wxFileName inclFn ( inclName );
-
- if(oldName.EndsWith(inclFn.GetFullName())) {
- matches.push_back(includes.at(i));
- }
-
- }
-
- // Prompt the user with the list of files which are about to be modified
- wxFileName newFile(newName);
- if(matches.empty() == false){
- RenameFileDlg dlg(Frame::Get(), newFile.GetFullName(), matches);
- if(dlg.ShowModal() == wxID_OK) {
- matches.clear();
- matches = dlg.GetMatches();
-
- for(size_t i=0; i<matches.size(); i++) {
- IncludeStatement includeStatement = matches.at(i);
- wxString editorFileName (includeStatement.includedFrom.c_str(), wxConvUTF8);
- wxString findWhat (includeStatement.pattern.c_str(), wxConvUTF8);
- wxString oldIncl (includeStatement.file.c_str(), wxConvUTF8);
-
- // We want to keep the original open/close braces
- // "" or <>
- wxFileName strippedOldInc(oldIncl);
- wxString replaceWith (findWhat);
-
- replaceWith.Replace(strippedOldInc.GetFullName(), newFile.GetFullName());
-
- LEditor *editor = Frame::Get()->GetMainBook()->OpenFile(editorFileName, wxEmptyString, 0);
- if (editor && (editor->GetFileName().GetFullPath().CmpNoCase(editorFileName) == 0) ) {
- editor->ReplaceAllExactMatch(findWhat, replaceWith);
- }
- }
- }
- }
- return true;
-}
-
-bool Manager::MoveFileToVD ( const wxString &fileName, const wxString &srcVD, const wxString &targetVD )
-{
- // to move the file between targets, we need to change the file path, we do this
- // by changing the file to be in absolute path related to the src's project
- // and then making it relative to the target's project
- wxString srcProject, targetProject;
- srcProject = srcVD.BeforeFirst ( wxT ( ':' ) );
- targetProject = targetVD.BeforeFirst ( wxT ( ':' ) );
- wxFileName srcProjWd ( GetProjectCwd ( srcProject ), wxEmptyString );
-
- //set a dir saver point
- wxFileName fn ( fileName );
- wxArrayString files;
- files.Add(fn.GetFullPath());
-
- //remove the file from the source project
- wxString errMsg;
- bool res = WorkspaceST::Get()->RemoveFile ( srcVD, fileName, errMsg );
- if ( !res ) {
- wxMessageBox(errMsg, wxT("Error"), wxOK | wxICON_HAND);
- return false;
- }
- SendCmdEvent(wxEVT_PROJ_FILE_REMOVED, (void*) &files);
-
- // Add the file to the project
- res = WorkspaceST::Get()->AddNewFile ( targetVD, fn.GetFullPath(), errMsg );
- if ( !res ) {
- //file or virtual dir does not exist
- return false;
- }
- SendCmdEvent(wxEVT_PROJ_FILE_ADDED, (void*) &files);
- return true;
-}
-
-void Manager::RetagProject ( const wxString &projectName, bool quickRetag )
-{
- ProjectPtr proj = GetProject ( projectName );
- if ( !proj )
- return;
- std::vector<wxFileName> projectFiles;
- proj->GetFiles ( projectFiles, true );
- TagsManagerST::Get()->RetagFiles ( projectFiles, quickRetag );
- SendCmdEvent ( wxEVT_FILE_RETAGGED, ( void* ) &projectFiles );
-}
-
-void Manager::GetProjectFiles ( const wxString &project, wxArrayString &files )
-{
- std::vector<wxFileName> fileNames;
- ProjectPtr p = GetProject ( project );
-
- if ( p ) {
- p->GetFiles ( fileNames, true );
-
- //convert std::vector to wxArrayString
- for ( std::vector<wxFileName>::iterator it = fileNames.begin(); it != fileNames.end(); it ++ ) {
- files.Add ( ( *it ).GetFullPath() );
- }
- }
-}
-
-wxString Manager::GetProjectNameByFile ( const wxString &fullPathFileName )
-{
- wxArrayString projects;
- GetProjectList ( projects );
-
- std::vector<wxFileName> files;
- for ( size_t i=0; i<projects.GetCount(); i++ ) {
- files.clear();
- ProjectPtr proj = GetProject ( projects.Item ( i ) );
- proj->GetFiles ( files, true );
-
- for ( size_t xx=0; xx<files.size(); xx++ ) {
- wxString f (files.at ( xx ).GetFullPath());
- if ( f.CmpNoCase(fullPathFileName) == 0 ) {
- return proj->GetName();
- }
- }
- }
-
- return wxEmptyString;
-}
-
-
-//--------------------------- Project Settings Mgmt -----------------------------
-
-wxString Manager::GetProjectCwd ( const wxString &project ) const
-{
- wxString errMsg;
- ProjectPtr p = WorkspaceST::Get()->FindProjectByName ( project, errMsg );
- if ( !p ) {
- return wxGetCwd();
- }
-
- wxFileName projectFileName ( p->GetFileName() );
- projectFileName.MakeAbsolute();
- return projectFileName.GetPath();
-}
-
-ProjectSettingsPtr Manager::GetProjectSettings ( const wxString &projectName ) const
-{
- wxString errMsg;
- ProjectPtr proj = WorkspaceST::Get()->FindProjectByName ( projectName, errMsg );
- if ( !proj ) {
- wxLogMessage ( errMsg );
- return NULL;
- }
-
- return proj->GetSettings();
-}
-
-void Manager::SetProjectSettings ( const wxString &projectName, ProjectSettingsPtr settings )
-{
- wxString errMsg;
- ProjectPtr proj = WorkspaceST::Get()->FindProjectByName ( projectName, errMsg );
- if ( !proj ) {
- wxLogMessage ( errMsg );
- return;
- }
-
- proj->SetSettings ( settings );
-}
-
-void Manager::SetProjectGlobalSettings ( const wxString &projectName, BuildConfigCommonPtr settings )
-{
- wxString errMsg;
- ProjectPtr proj = WorkspaceST::Get()->FindProjectByName ( projectName, errMsg );
- if ( !proj ) {
- wxLogMessage ( errMsg );
- return;
- }
-
- proj->SetGlobalSettings ( settings );
-}
-
-wxString Manager::GetProjectExecutionCommand ( const wxString& projectName, wxString &wd, bool considerPauseWhenExecuting )
-{
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf ( projectName, wxEmptyString );
- if ( !bldConf ) {
- wxLogMessage ( wxT ( "failed to find project configuration for project '" ) + projectName + wxT ( "'" ) );
- return wxEmptyString;
- }
-
- //expand variables
- wxString cmd = bldConf->GetCommand();
- cmd = ExpandVariables ( cmd, GetProject ( projectName ), Frame::Get()->GetMainBook()->GetActiveEditor() );
-
- wxString cmdArgs = bldConf->GetCommandArguments();
- cmdArgs = ExpandVariables ( cmdArgs, GetProject ( projectName ), Frame::Get()->GetMainBook()->GetActiveEditor() );
-
- //execute command & cmdArgs
- wxString execLine ( cmd + wxT ( " " ) + cmdArgs );
- wd = bldConf->GetWorkingDirectory();
- wd = ExpandVariables ( wd, GetProject ( projectName ), Frame::Get()->GetMainBook()->GetActiveEditor() );
-
- //change directory to the working directory
- if ( considerPauseWhenExecuting ) {
- ProjectPtr proj = GetProject ( projectName );
- OptionsConfigPtr opts = EditorConfigST::Get()->GetOptions();
-
-#if defined(__WXMAC__)
-
- execLine = opts->GetProgramConsoleCommand();
-
- wxString tmp_cmd;
- tmp_cmd = wxT("cd \"") + proj->GetFileName().GetPath() + wxT ( "\" && cd \"" ) + wd + wxT ( "\" && " ) + cmd + wxT ( " " ) + cmdArgs;
-
- execLine.Replace(wxT("$(CMD)"), tmp_cmd);
- execLine.Replace(wxT("$(TITLE)"), cmd + wxT ( " " ) + cmdArgs);
-
-#elif defined(__WXGTK__)
-
- //set a console to the execute target
- wxString term;
- term = opts->GetProgramConsoleCommand();
- term.Replace(wxT("$(TITLE)"), cmd + wxT ( " " ) + cmdArgs);
-
- // build the command
- wxString command;
- if ( bldConf->GetPauseWhenExecEnds() ) {
- wxString ld_lib_path;
- wxFileName exePath ( wxStandardPaths::Get().GetExecutablePath() );
- wxFileName exeWrapper ( exePath.GetPath(), wxT ( "codelite_exec" ) );
-
- if ( wxGetEnv ( wxT ( "LD_LIBRARY_PATH" ), &ld_lib_path ) && ld_lib_path.IsEmpty() == false ) {
- command << wxT ( "/bin/sh -f " ) << exeWrapper.GetFullPath() << wxT ( " LD_LIBRARY_PATH=" ) << ld_lib_path << wxT ( " " );
- } else {
- command << wxT ( "/bin/sh -f " ) << exeWrapper.GetFullPath() << wxT ( " " );
- }
- }
-
- command << execLine;
- term.Replace(wxT("$(CMD)"), command);
- execLine = term;
-
-#elif defined (__WXMSW__)
-
- if ( bldConf->GetPauseWhenExecEnds() ) {
- execLine.Prepend ( wxT ( "le_exec.exe " ) );
- }
-#endif
- }
- return execLine;
-}
-
-
-//--------------------------- Top Level Pane Management -----------------------------
-
-bool Manager::IsPaneVisible ( const wxString& pane_name )
-{
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( pane_name );
- if ( info.IsOk() && info.IsShown() ) {
- return true;
- }
- return false;
-}
-
-bool Manager::ShowOutputPane ( wxString focusWin, bool commit )
-{
- // make the output pane visible
- bool showedIt ( false );
-
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( wxT ( "Output View" ) );
- if ( info.IsOk() && !info.IsShown() ) {
- info.Show();
- showedIt = true;
- if ( commit ) {
- Frame::Get()->GetDockingManager().Update();
- }
- }
-
- // set the selection to focus win
- OutputPane *pane = Frame::Get()->GetOutputPane();
- int index = pane->GetNotebook()->GetPageIndex( focusWin );
- if ( index != wxNOT_FOUND && ( size_t ) index != pane->GetNotebook()->GetSelection() ) {
- wxWindow *focus = wxWindow::FindFocus();
- pane->GetNotebook()->SetSelection ( ( size_t ) index );
- if (focus) {
- focus->SetFocus();
- }
- }
- return showedIt;
-}
-
-void Manager::ShowDebuggerPane ( bool show )
-{
- // make the output pane visible
- wxArrayString dbgPanes;
- dbgPanes.Add ( wxT ( "Debugger" ) );
- dbgPanes.Add ( DebuggerPane::LOCALS );
- dbgPanes.Add ( DebuggerPane::FRAMES );
- dbgPanes.Add ( DebuggerPane::WATCHES );
- dbgPanes.Add ( DebuggerPane::BREAKPOINTS );
- dbgPanes.Add ( DebuggerPane::THREADS );
- dbgPanes.Add ( DebuggerPane::MEMORY );
- dbgPanes.Add ( DebuggerPane::ASCII_VIEWER );
-
- if ( show ) {
-
- for ( size_t i=0; i<dbgPanes.GetCount(); i++ ) {
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( dbgPanes.Item ( i ) );
- // show all debugger related panes
- if ( info.IsOk() && !info.IsShown() ) {
- info.Show();
- }
- }
-
- } else {
-
- // hide all debugger related panes
- for ( size_t i=0; i<dbgPanes.GetCount(); i++ ) {
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( dbgPanes.Item ( i ) );
- // show all debugger related panes
- if ( info.IsOk() && info.IsShown() ) {
- info.Hide();
- }
- }
- }
- Frame::Get()->GetDockingManager().Update();
-
-}
-
-void Manager::ShowWorkspacePane ( wxString focusWin, bool commit )
-{
- // make the output pane visible
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( wxT ( "Workspace View" ) );
- if ( info.IsOk() && !info.IsShown() ) {
- info.Show();
- if ( commit ) {
- Frame::Get()->GetDockingManager().Update();
- }
- }
-
- // set the selection to focus win
- Notebook *book = Frame::Get()->GetWorkspacePane()->GetNotebook();
- int index = book->GetPageIndex ( focusWin );
- if ( index != wxNOT_FOUND && ( size_t ) index != book->GetSelection() ) {
- book->SetSelection ( ( size_t ) index );
- }
-}
-
-void Manager::HidePane ( const wxString &paneName, bool commit )
-{
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( paneName );
- if ( info.IsOk() && info.IsShown() ) {
- info.Hide();
- if ( commit ) {
- Frame::Get()->GetDockingManager().Update();
- }
- }
-}
-
-void Manager::TogglePanes()
-{
- static bool toggled = false;
- static wxString savedLayout;
-
- // list of panes to be toggled on and off
- static wxArrayString panes;
-
- if ( !toggled ) {
- savedLayout = Frame::Get()->GetDockingManager().SavePerspective();
- panes.Clear();
- // create the list of panes to be tested
- wxArrayString candidates;
- candidates.Add ( wxT ( "Output View" ) );
- candidates.Add ( wxT ( "Workspace View" ) );
- candidates.Add ( wxT ( "Debugger" ) );
-
- // add the detached tabs list
- wxArrayString dynamicPanes = Frame::Get()->GetDockablePaneMenuManager()->GetDeatchedPanesList();
- for ( size_t i=0; i<dynamicPanes.GetCount(); i++ ) {
- candidates.Add ( dynamicPanes.Item ( i ) );
- }
-
- for ( size_t i=0; i<candidates.GetCount(); i++ ) {
- wxAuiPaneInfo info;
- info = Frame::Get()->GetDockingManager().GetPane ( candidates.Item ( i ) );
- if ( info.IsOk() && info.IsShown() ) {
- panes.Add ( candidates.Item ( i ) );
- }
- }
-
- Frame::Get()->GetMainPanel()->Freeze();
- // hide the matched panes
- for ( size_t i=0; i<panes.GetCount(); i++ ) {
- HidePane ( panes.Item ( i ), false );
- }
-
- //update changes
- Frame::Get()->GetDockingManager().Update();
- Frame::Get()->GetMainPanel()->Thaw();
- toggled = true;
-
- } else {
- Frame::Get()->GetMainPanel()->Freeze();
- Frame::Get()->GetDockingManager().LoadPerspective(savedLayout);
- Frame::Get()->GetMainPanel()->Thaw();
-
- toggled = false;
- savedLayout.Clear();
- }
-}
-
-
-//--------------------------- Menu and Accelerator Mmgt -----------------------------
-
-void Manager::UpdateMenuAccelerators()
-{
- MenuItemDataMap menuMap, defAccelMap;
-
- wxArrayString files;
- DoGetAccelFiles ( files );
-
- // load user accelerators map
- LoadAcceleratorTable ( files, menuMap );
-
- // load the default accelerator map
- GetDefaultAcceleratorMap ( defAccelMap );
-
- // loop over default accelerators map, and search for items that does not exist in the user's list
- std::map< wxString, MenuItemData >::iterator it = defAccelMap.begin();
- for ( ; it != defAccelMap.end(); it++ ) {
- if ( menuMap.find ( it->first ) == menuMap.end() ) {
- // this item does not exist in the users accelerators
- // probably a new accelerator that was added to the default
- // files directly via update/manually modified it
- menuMap[it->first] = it->second;
- }
- }
-
- wxMenuBar *bar = Frame::Get()->GetMenuBar();
-
- wxString content;
- std::vector< wxAcceleratorEntry > accelVec;
- size_t count = bar->GetMenuCount();
- for ( size_t i=0; i< count; i++ ) {
- wxMenu * menu = bar->GetMenu ( i );
- UpdateMenu ( menu, menuMap, accelVec );
- }
-
- //In case we still have items to map, map them. this can happen for items
- //which exist in the list but does not have any menu associated to them in the menu bar (e.g. C++ menu)
- if ( menuMap.empty() == false ) {
-// wxString msg;
-// msg << wxT("Info: UpdateMenuAccelerators: There are still ") << menuMap.size() << wxT(" un-mapped item(s)");
-// wxLogMessage(msg);
-
- MenuItemDataMap::iterator iter = menuMap.begin();
- for ( ; iter != menuMap.end(); iter++ ) {
- MenuItemData itemData = iter->second;
-
- wxString txt;
- txt << itemData.action;
- if ( itemData.accel.IsEmpty() == false ) {
- txt << wxT ( "\t" ) << itemData.accel;
- }
-
- wxAcceleratorEntry* a = wxAcceleratorEntry::Create ( txt );
- if ( a ) {
- long commandId ( 0 );
- itemData.id.ToLong ( &commandId );
-
- //use the resource ID
- if ( commandId == 0 ) {
- commandId = wxXmlResource::GetXRCID ( itemData.id );
- }
-
- a->Set ( a->GetFlags(), a->GetKeyCode(), commandId );
- accelVec.push_back ( *a );
- delete a;
- }
- }
- }
-
- if ( content.IsEmpty() == false ) {
- wxFFile f ( GetStarupDirectory() + wxT ( "/config/accelerators.conf" ), wxT ( "w+b" ) );
- f.Write ( content );
- f.Close();
- }
-
- //update the accelerator table of the main frame
- wxAcceleratorEntry *entries = new wxAcceleratorEntry[accelVec.size() ];
- for ( size_t i=0; i < accelVec.size(); i++ ) {
- entries[i] = accelVec[i];
- }
-
- wxAcceleratorTable table ( accelVec.size(), entries );
-
- //update the accelerator table
- Frame::Get()->SetAcceleratorTable ( table );
- delete [] entries;
-}
-
-void Manager::LoadAcceleratorTable ( const wxArrayString &files, MenuItemDataMap &accelMap )
-{
- wxString content;
- for ( size_t i=0; i<files.GetCount(); i++ ) {
- wxString tmpContent;
- if ( ReadFileWithConversion ( files.Item ( i ), tmpContent ) ) {
- wxLogMessage ( wxString::Format ( wxT ( "Loading accelerators from '%s'" ), files.Item ( i ).c_str() ) );
- content << wxT ( "\n" ) << tmpContent;
- }
- }
-
- wxArrayString lines = wxStringTokenize ( content, wxT ( "\n" ) );
- for ( size_t i = 0; i < lines.GetCount(); i ++ ) {
- if ( lines.Item ( i ).Trim().Trim ( false ).IsEmpty() ) {
- continue;
- }
-
- MenuItemData item;
- wxString line = lines.Item ( i );
-
- item.id = line.BeforeFirst ( wxT ( '|' ) );
- line = line.AfterFirst ( wxT ( '|' ) );
-
- item.parent = line.BeforeFirst ( wxT ( '|' ) );
- line = line.AfterFirst ( wxT ( '|' ) );
-
- item.action = line.BeforeFirst ( wxT ( '|' ) );
- line = line.AfterFirst ( wxT ( '|' ) );
-
- item.accel = line.BeforeFirst ( wxT ( '|' ) );
- line = line.AfterFirst ( wxT ( '|' ) );
-
- accelMap[item.action] = item;
- }
-}
-
-void Manager::UpdateMenu ( wxMenu *menu, MenuItemDataMap &accelMap, std::vector< wxAcceleratorEntry > &accelVec )
-{
- wxMenuItemList items = menu->GetMenuItems();
- wxMenuItemList::iterator iter = items.begin();
- for ( ; iter != items.end(); iter++ ) {
- wxMenuItem *item = *iter;
- if ( item->GetSubMenu() ) {
- UpdateMenu ( item->GetSubMenu(), accelMap, accelVec );
- } else {
-
- if ( item->GetId() == wxID_SEPARATOR ) {
- continue;
- }
-
- //search this item in the accelMap
- wxString labelText = StripAccelAndNemonics ( item->GetText() );
- if ( accelMap.find ( labelText ) != accelMap.end() ) {
- MenuItemData item_data = accelMap.find ( labelText )->second;
-
- wxString txt;
- txt << StripAccel ( item->GetText() );
-
- //set the new accelerator
- if ( item_data.accel.IsEmpty() == false ) {
- txt << wxT ( "\t" ) << item_data.accel;
- }
-
- txt.Replace ( wxT ( "_" ), wxT ( "&" ) );
- item->SetText ( txt );
-
- wxAcceleratorEntry* a = wxAcceleratorEntry::Create ( txt );
- if ( a ) {
- a->Set ( a->GetFlags(), a->GetKeyCode(), item->GetId() );
- accelVec.push_back ( *a );
- delete a;
- }
-
- //remove this entry from the map
- accelMap.erase ( labelText );
- }
- }
- }
-}
-
-
-void Manager::GetDefaultAcceleratorMap ( MenuItemDataMap& accelMap )
-{
- //use the default settings
- wxString fileName = GetStarupDirectory() + wxT ( "/config/accelerators.conf.default" );
- wxArrayString files;
- files.Add ( fileName );
-
- // append the content of all '*.accelerators' from the plugins
- // resources table
-#ifdef __WXGTK__
- wxString pluginsDir(PLUGINS_DIR, wxConvUTF8);
-#else
- wxString pluginsDir(ManagerST::Get()->GetInstallDir() + wxT( "/plugins" ));
-#endif
-
- wxDir::GetAllFiles ( pluginsDir + wxT ( "/resources/" ), &files, wxT ( "*.accelerators" ), wxDIR_FILES );
- LoadAcceleratorTable ( files, accelMap );
-}
-
-void Manager::GetAcceleratorMap ( MenuItemDataMap& accelMap )
-{
- wxArrayString files;
- DoGetAccelFiles ( files );
- LoadAcceleratorTable ( files, accelMap );
-}
-
-void Manager::DoGetAccelFiles ( wxArrayString& files )
-{
- //try to locate the user's settings
- wxString fileName ( GetStarupDirectory() + wxT ( "/config/accelerators.conf" ) );
- if ( !wxFileName::FileExists ( GetStarupDirectory() + wxT ( "/config/accelerators.conf" ) ) ) {
-
- //use the default settings
- fileName = GetStarupDirectory() + wxT ( "/config/accelerators.conf.default" );
- files.Add ( fileName );
-#ifdef __WXGTK__
- wxString pluginsDir(PLUGINS_DIR, wxConvUTF8);
-#else
- wxString pluginsDir(ManagerST::Get()->GetInstallDir() + wxT( "/plugins" ));
-#endif
- // append the content of all '*.accelerators' from the plugins
- // resources table
- wxDir::GetAllFiles (pluginsDir + wxT ( "/resources/" ), &files, wxT ( "*.accelerators" ), wxDIR_FILES );
- } else {
- files.Add ( fileName );
- }
-}
-
-void Manager::DumpMenu ( wxMenu *menu, const wxString &label, wxString &content )
-{
-#if 0
- wxMenuItemList items = menu->GetMenuItems();
- wxMenuItemList::iterator iter = items.begin();
- for ( ; iter != items.end(); iter++ ) {
- wxMenuItem *item = *iter;
- if ( item->GetSubMenu() ) {
- DumpMenu ( item->GetSubMenu(), label + wxT ( "::" ) + item->GetLabel(), content );
- continue;
- }
- if ( item->GetId() == wxID_SEPARATOR ) {
- continue;
- } else if ( item->GetId() >= RecentFilesSubMenuID && item->GetId() <= RecentFilesSubMenuID + 10 ) {
- continue;
- } else if ( item->GetId() >= RecentWorkspaceSubMenuID && item->GetId() <= RecentWorkspaceSubMenuID + 10 ) {
- continue;
- }
- //dump the content of this menu item
- content << item->GetId() << wxT ( "|" )
- << label << wxT ( "|" )
- << wxMenuItem::GetLabelText(item->GetItemLabel()) << wxT ( "|" );
- if ( item->GetAccel() ) {
- content << item->GetAccel()->ToString();
- }
- content << wxT ( "\n" );
- }
-#endif
-}
-
-
-//--------------------------- Run Program (No Debug) -----------------------------
-
-bool Manager::IsProgramRunning() const
-{
- return ( m_asyncExeCmd && m_asyncExeCmd->IsBusy() );
-}
-
-void Manager::ExecuteNoDebug ( const wxString &projectName )
-{
- //an instance is already running
- if ( m_asyncExeCmd && m_asyncExeCmd->IsBusy() ) {
- return;
- }
- wxString wd;
-
- // we call it here once for the 'wd'
- wxString execLine = GetProjectExecutionCommand ( projectName, wd, true );
- ProjectPtr proj = GetProject ( projectName );
-
- DirSaver ds;
-
- //print the current directory
- ::wxSetWorkingDirectory ( proj->GetFileName().GetPath() );
-
- //now set the working directory according to working directory field from the
- //project settings
- ::wxSetWorkingDirectory ( wd );
-
- //execute the command line
- //the a sync command is a one time executable object,
- m_asyncExeCmd = new AsyncExeCmd (Frame::Get()->GetOutputPane()->GetOutputWindow());
-
- //execute the program:
- //- no hiding the console
- //- no redirection of the stdin/out
- EnvSetter env;
-
- // call it again here to get the actual exection line - we do it here since
- // the environment has been applied
- execLine = GetProjectExecutionCommand ( projectName, wd, true );
- m_asyncExeCmd->Execute ( execLine, false, false );
-
- if ( m_asyncExeCmd->GetProcess() ) {
- m_asyncExeCmd->GetProcess()->Connect ( wxEVT_END_PROCESS, wxProcessEventHandler ( Manager::OnProcessEnd ), NULL, this );
- }
-}
-
-void Manager::KillProgram()
-{
- if ( !IsProgramRunning() )
- return;
-
- m_asyncExeCmd->Terminate();
-}
-
-void Manager::OnProcessEnd ( wxProcessEvent &event )
-{
- m_asyncExeCmd->ProcessEnd ( event );
- m_asyncExeCmd->GetProcess()->Disconnect ( wxEVT_END_PROCESS, wxProcessEventHandler ( Manager::OnProcessEnd ), NULL, this );
-
-#ifdef __WXMSW__
- // On Windows, sometimes killing the DOS Windows, does not kill the children
- m_asyncExeCmd->Terminate();
-#endif
-
- delete m_asyncExeCmd;
- m_asyncExeCmd = NULL;
-
- //return the focus back to the editor
- if ( Frame::Get()->GetMainBook()->GetActiveEditor() ) {
- Frame::Get()->GetMainBook()->GetActiveEditor()->SetActive();
- }
-}
-
-
-//--------------------------- Debugger Support -----------------------------
-
-static bool HideDebuggerPane = true;
-
-static void DebugMessage ( wxString msg )
-{
- Frame::Get()->GetOutputPane()->GetDebugWindow()->AppendLine(msg);
-}
-
-void Manager::UpdateDebuggerPane()
-{
- //Update the debugger pane
- DebuggerPane *pane = Frame::Get()->GetDebuggerPane();
-
- if ( ( IsPaneVisible ( wxT ( "Debugger" ) ) && pane->GetNotebook()->GetCurrentPage() == ( wxWindow* ) pane->GetBreakpointView() ) || IsPaneVisible ( DebuggerPane::BREAKPOINTS) ) {
- pane->GetBreakpointView()->Initialize();
- }
-
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() && DbgCanInteract() ) {
-
- //--------------------------------------------------------------------
- // Lookup the selected tab in the debugger notebook and update it
- // once this is done, we need to go through the list of detached panes
- // and scan for another debugger tabs which are visible and need to be
- // updated
- //--------------------------------------------------------------------
-
- if ( ( IsPaneVisible ( wxT ( "Debugger" ) ) && pane->GetNotebook()->GetCurrentPage() == pane->GetLocalsTable() ) || IsPaneVisible ( DebuggerPane::LOCALS ) ) {
-
- //update the locals tree
- dbgr->QueryLocals();
-
- }
-
- if ( ( IsPaneVisible ( wxT ( "Debugger" ) ) && pane->GetNotebook()->GetCurrentPage() == pane->GetWatchesTable() ) || IsPaneVisible ( DebuggerPane::WATCHES ) ) {
-
- //update the watches table
- wxArrayString expressions = pane->GetWatchesTable()->GetExpressions();
- wxString format = pane->GetWatchesTable()->GetDisplayFormat();
- for ( size_t i=0; i<expressions.GetCount(); i++ ) {
- dbgr->EvaluateExpressionToString ( expressions.Item ( i ), format );
- }
-
- }
- if ( ( IsPaneVisible ( wxT ( "Debugger" ) ) && pane->GetNotebook()->GetCurrentPage() == ( wxWindow* ) pane->GetFrameListView() ) || IsPaneVisible ( DebuggerPane::FRAMES ) ) {
-
- //update the stack call
- dbgr->ListFrames();
-
- }
- if ( ( IsPaneVisible ( wxT ( "Debugger" ) ) && pane->GetNotebook()->GetCurrentPage() == ( wxWindow* ) pane->GetBreakpointView() ) || IsPaneVisible ( DebuggerPane::BREAKPOINTS ) ) {
-
- // update the breakpoint view
- pane->GetBreakpointView()->Initialize();
-
- }
- if ( ( IsPaneVisible ( wxT ( "Debugger" ) ) && pane->GetNotebook()->GetCurrentPage() == ( wxWindow* ) pane->GetThreadsView() ) || IsPaneVisible ( DebuggerPane::THREADS ) ) {
-
- // update the thread list
- dbgr->ListThreads();
- }
-
-// if ( ( IsPaneVisible ( wxT ( "Debugger" ) ) && pane->GetNotebook()->GetCurrentPage() == ( wxWindow* ) pane->GetAsciiViewer() ) || IsPaneVisible ( DebuggerPane::ASCII_VIEWER ) ) {
-//
-// // re-evaluate the expression
-// pane->GetAsciiViewer()->SetDebugger( dbgr );
-// pane->GetAsciiViewer()->UpdateView();
-//
-// }
-
- if ( ( IsPaneVisible ( wxT ( "Debugger" ) ) && pane->GetNotebook()->GetCurrentPage() == ( wxWindow* ) pane->GetMemoryView() ) || IsPaneVisible ( DebuggerPane::MEMORY ) ) {
-
- // Update the memory view tab
- MemoryView *memView = pane->GetMemoryView();
- if ( memView->GetExpression().IsEmpty() == false ) {
-
- wxString output;
- dbgr->WatchMemory ( memView->GetExpression(), memView->GetSize() );
- }
- }
- }
-}
-
-void Manager::SetMemory ( const wxString& address, size_t count, const wxString &hex_value )
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() && DbgCanInteract() ) {
- dbgr->SetMemory ( address, count, hex_value );
- }
-}
-
-
-// Debugger API
-
-void Manager::DbgStart ( long pid )
-{
- //set the working directory to the project directory
- DirSaver ds;
- wxString errMsg;
- wxString output;
- wxString debuggerName;
- wxString exepath;
- wxString wd;
- wxString args;
- BuildConfigPtr bldConf;
- ProjectPtr proj;
- DebuggerStartupInfo startup_info;
- long PID ( -1 );
-
-#if defined(__WXGTK__)
- wxString where;
- if ( !ExeLocator::Locate ( wxT ( "xterm" ), where ) ) {
- wxMessageBox ( _ ( "Failed to locate 'xterm' application required by CodeLite, please install it and try again!" ), wxT ( "CodeLite" ), wxOK|wxCENTER|wxICON_WARNING, Frame::Get() );
- return;
- }
-#endif
-
- if ( pid == 1 ) { //attach to process
- AttachDbgProcDlg *dlg = new AttachDbgProcDlg ( NULL );
- if ( dlg->ShowModal() == wxID_OK ) {
- wxString processId = dlg->GetProcessId();
- exepath = dlg->GetExeName();
- debuggerName = dlg->GetDebugger();
- DebuggerMgr::Get().SetActiveDebugger ( debuggerName );
-
- processId.ToLong ( &PID );
- if ( exepath.IsEmpty() == false ) {
- wxFileName fn ( exepath );
- wxSetWorkingDirectory ( fn.GetPath() );
- exepath = fn.GetFullName();
-
- }
- dlg->Destroy();
-
- startup_info.pid = PID;
- } else {
- dlg->Destroy();
- return;
- }
- }
-
- if ( pid == wxNOT_FOUND ) {
- //need to debug the current project
- proj = WorkspaceST::Get()->FindProjectByName ( GetActiveProjectName(), errMsg );
- if ( proj ) {
- wxSetWorkingDirectory ( proj->GetFileName().GetPath() );
- bldConf = WorkspaceST::Get()->GetProjBuildConf ( proj->GetName(), wxEmptyString );
- if ( bldConf ) {
- debuggerName = bldConf->GetDebuggerType();
- DebuggerMgr::Get().SetActiveDebugger ( debuggerName );
- }
- }
-
- startup_info.project = GetActiveProjectName();
- }
-
- //make sure we have an active debugger
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( !dbgr ) {
- //No debugger available,
- wxString message;
- message << wxT ( "Failed to launch debugger '" ) << debuggerName << wxT ( "': debugger not loaded\n" );
- message << wxT ( "Make sure that you have an open workspace and that the active project is of type 'Executable'" );
- wxMessageBox ( message, wxT ( "CodeLite" ), wxOK|wxICON_WARNING );
- return;
- }
- startup_info.debugger = dbgr;
-
- if ( dbgr->IsRunning() ) {
- //debugger is already running, so issue a 'cont' command
- dbgr->Continue();
- dbgr->QueryFileLine();
- return;
- }
-
- //set the debugger information
- DebuggerInformation dinfo;
- DebuggerMgr::Get().GetDebuggerInformation ( debuggerName, dinfo );
-
- // if user override the debugger path, apply it
- if ( bldConf ) {
- wxString userDebuggr = bldConf->GetDebuggerPath();
- userDebuggr.Trim().Trim ( false );
- if ( userDebuggr.IsEmpty() == false ) {
- dinfo.path = userDebuggr;
- }
- }
- // read the console command
- dinfo.consoleCommand = EditorConfigST::Get()->GetOptions()->GetProgramConsoleCommand();
- dbgr->SetDebuggerInformation ( dinfo );
-
- if ( pid == wxNOT_FOUND ) {
- exepath = bldConf->GetCommand();
- args = bldConf->GetCommandArguments();
- exepath.Prepend ( wxT ( "\"" ) );
- exepath.Append ( wxT ( "\"" ) );
- wd = bldConf->GetWorkingDirectory();
-
- // Expand variables before passing them to the debugger
- wd = ExpandVariables ( wd, proj, Frame::Get()->GetMainBook()->GetActiveEditor() );
- exepath = ExpandVariables ( exepath, proj, Frame::Get()->GetMainBook()->GetActiveEditor() );
- }
-
- //get the debugger path to execute
- DebuggerInformation dbginfo;
- DebuggerMgr::Get().GetDebuggerInformation ( debuggerName, dbginfo );
-
- // if user override the debugger path, apply it
- if ( bldConf ) {
- wxString userDebuggr = bldConf->GetDebuggerPath();
- userDebuggr.Trim().Trim ( false );
- if ( userDebuggr.IsEmpty() == false ) {
- dbginfo.path = userDebuggr;
- }
- }
-
- wxString dbgname = dbginfo.path;
- dbgname = EnvironmentConfig::Instance()->ExpandVariables ( dbgname );
-
- //set ourselves as the observer for the debugger class
- dbgr->SetObserver ( this );
-
- // Set the 'Is remote debugging' flag'
- dbgr->SetIsRemoteDebugging(bldConf && bldConf->GetIsDbgRemoteTarget() && PID == wxNOT_FOUND);
-
- // Loop through the open editors and let each editor
- // a chance to update the debugger manager with any line
- // changes (i.e. file was edited and breakpoints were moved)
- // this loop must take place before the debugger start up
- // or else call to UpdateBreakpoint() will yield an attempt to
- // actually add the breakpoint before Run() is called - this can
- // be a problem when adding breakpoint to dll files.
- if ( wxNOT_FOUND == pid ) {
- Frame::Get()->GetMainBook()->UpdateBreakpoints();
- }
-
- //We can now get all the gathered breakpoints from the manager
- std::vector<BreakpointInfo> bps;
-
- // since files may have been updated and the breakpoints may have been moved,
- // delete all the information
- GetBreakpointsMgr()->GetBreakpoints ( bps );
- // Take the opportunity to store them in the pending array too
- GetBreakpointsMgr()->SetPendingBreakpoints( bps );
-
- // notify plugins that we're about to start debugging
- if (SendCmdEvent(wxEVT_DEBUG_STARTING, &startup_info))
- // plugin stopped debugging
- return;
-
- // read
- wxArrayString dbg_cmds;
- if ( pid == wxNOT_FOUND ) {
- //it is now OK to start the debugger...
- dbg_cmds = wxStringTokenize ( bldConf->GetDebuggerStartupCmds(), wxT ( "\n" ), wxTOKEN_STRTOK );
- if ( !dbgr->Start ( dbgname, exepath, wd, bps, dbg_cmds ) ) {
- wxString errMsg;
- errMsg << _ ( "Failed to initialize debugger: " ) << dbgname << _ ( "\n" );
- DebugMessage ( errMsg );
- return;
- }
- } else {
- //Attach to process...
- if ( !dbgr->Start ( dbgname, exepath, PID, bps, dbg_cmds ) ) {
- wxString errMsg;
- errMsg << _ ( "Failed to initialize debugger: " ) << dbgname << _ ( "\n" );
- DebugMessage ( errMsg );
- return;
- }
- }
-
- // notify plugins that the debugger just started
- SendCmdEvent(wxEVT_DEBUG_STARTED, &startup_info);
-
- // Now the debugger has been fed the breakpoints, re-Initialise the breakpt view,
- // so that it uses debugger_ids instead of internal_ids
- // Hmm. The above comment is probably no longer true; but it'll do no harm to Initialise() anyway
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
-
- // Initialize the 'Locals' table. We do this for performane reason so we
- // wont need to read from the XML each time perform 'next' step
- Frame::Get()->GetDebuggerPane()->GetLocalsTable()->Initialize();
-
- // let the active editor get the focus
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if ( editor ) {
- editor->SetActive();
- }
-
- // mark that we are waiting for the first GotControl()
- DebugMessage ( output );
- DebugMessage ( _ ( "Debug session started successfully!\n" ) );
-
- // set the debug tab as active
- ShowOutputPane(OutputPane::OUTPUT_DEBUG);
-
- if ( dbgr->GetIsRemoteDebugging() ) {
-
- // debugging remote target
- wxString comm;
- wxString port = bldConf->GetDbgHostPort();
- wxString host = bldConf->GetDbgHostName();
-
- comm << host;
-
- host = host.Trim().Trim ( false );
- port = port.Trim().Trim ( false );
-
- if ( port.IsEmpty() == false ) {
- comm << wxT ( ":" ) << port;
- }
-
- dbgr->Run ( args, comm );
-
- } else if ( pid == wxNOT_FOUND ) {
-
- // debugging local target
- dbgr->Run ( args, wxEmptyString );
- }
-
- // and finally make the debugger pane visible
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( wxT ( "Debugger" ) );
- if ( info.IsOk() && !info.IsShown() ) {
- HideDebuggerPane = true;
- ShowDebuggerPane ( true );
- }
-
- DbgRestoreWatches();
-}
-
-void Manager::DbgStop()
-{
- if ( m_displayVariableDlg ) {
- m_displayVariableDlg->Destroy();
- m_displayVariableDlg = NULL;
- }
-
- // remove all debugger markers
- DbgUnMarkDebuggerLine();
-
- // Mark the debugger as non interactive
- m_dbgCanInteract = false;
-
- // Keep the current watches for the next debug session
- m_dbgWatchExpressions = Frame::Get()->GetDebuggerPane()->GetWatchesTable()->GetExpressions();
-
- //clear the debugger pane
- Frame::Get()->GetDebuggerPane()->Clear();
-
- // Notify the breakpoint manager that the debugger has stopped
- GetBreakpointsMgr()->DebuggerStopped();
-
- Frame::Get()->GetDebuggerPane()->GetBreakpointView()->Initialize();
-
- // Clear the ascii viewer
- Frame::Get()->GetDebuggerPane()->GetAsciiViewer()->UpdateView(wxT(""), wxT(""));
-
- // update toolbar state
- UpdateStopped();
-
- // and finally, hide the debugger pane (if we caused it to appear)
- if ( HideDebuggerPane ) {
- HideDebuggerPane = false;
- ShowDebuggerPane ( false );
- }
-
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( !dbgr ) {
- return;
- }
-
- if ( !dbgr->IsRunning() ) {
- return;
- }
-
- // notify plugins that the debugger is about to be stopped
- SendCmdEvent(wxEVT_DEBUG_ENDING);
-
- dbgr->Stop();
- DebuggerMgr::Get().SetActiveDebugger ( wxEmptyString );
- DebugMessage ( _ ( "Debug session ended\n" ) );
-
- // notify plugins that the debugger stopped
- SendCmdEvent(wxEVT_DEBUG_ENDED);
-}
-
-void Manager::DbgMarkDebuggerLine ( const wxString &fileName, int lineno )
-{
- DbgUnMarkDebuggerLine();
- if ( lineno < 0 ) {
- return;
- }
-
- //try to open the file
- wxFileName fn ( fileName );
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if ( editor && editor->GetFileName().GetFullPath().CmpNoCase(fn.GetFullPath()) == 0 && lineno > 0) {
- editor->HighlightLine ( lineno );
- editor->GotoLine ( lineno-1 );
- editor->EnsureVisible ( lineno-1 );
- } else if (Frame::Get()->GetMainBook()->OpenFile ( fn.GetFullPath(), wxEmptyString, lineno-1, wxNOT_FOUND) && lineno > 0) {
- editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if ( editor ) {
- editor->HighlightLine ( lineno );
- }
- }
-}
-
-void Manager::DbgUnMarkDebuggerLine()
-{
- //remove all debugger markers from all editors
- Frame::Get()->GetMainBook()->UnHighlightAll();
-}
-
-void Manager::DbgDoSimpleCommand ( int cmd )
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() ) {
- switch ( cmd ) {
- case DBG_PAUSE:
- dbgr->Interrupt();
- break;
- case DBG_NEXT:
- dbgr->Next();
- break;
- case DBG_STEPIN:
- dbgr->StepIn();
- break;
- case DBG_STEPOUT:
- dbgr->StepOut();
- break;
- case DBG_SHOW_CURSOR:
- dbgr->QueryFileLine();
- break;
- default:
- break;
- }
- }
-}
-
-void Manager::DbgSetFrame ( int frame, int lineno )
-{
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( wxT ( "Debugger" ) );
- if ( info.IsShown() ) {
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() && DbgCanInteract() ) {
- //set the frame
- dbgr->SetFrame ( frame );
- m_frameLineno = lineno;
- }
- }
-}
-
-void Manager::DbgSetThread ( long threadId )
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() && DbgCanInteract() ) {
- //set the frame
- dbgr->SelectThread ( threadId );
- dbgr->QueryFileLine();
- }
-}
-
-
-// Event handlers from the debugger
-
-void Manager::UpdateAddLine ( const wxString &line, const bool OnlyIfLoggingOn /*=false*/ )
-{
- // There are a few messages that are only worth displaying if full logging is enabled
- if (OnlyIfLoggingOn) {
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && (dbgr->IsLoggingEnabled()==false) ) {
- return;
- }
- }
-
- DebugMessage ( line + wxT ( "\n" ) );
-}
-
-void Manager::UpdateFileLine ( const wxString &filename, int lineno )
-{
- wxString fileName = filename;
- long lineNumber = lineno;
- if ( m_frameLineno != wxNOT_FOUND ) {
- lineNumber = m_frameLineno;
- m_frameLineno = wxNOT_FOUND;
- }
-
- DbgMarkDebuggerLine ( fileName, lineNumber );
- UpdateDebuggerPane();
-}
-
-void Manager::UpdateGotControl ( DebuggerReasons reason )
-{
- //put us on top of the z-order window
- Frame::Get()->Raise();
- m_dbgCanInteract = true;
-
- switch ( reason ) {
- case DBG_RECV_SIGNAL_SIGTRAP: // DebugBreak()
- case DBG_RECV_SIGNAL_EXC_BAD_ACCESS: // SIGSEGV on Mac
- case DBG_RECV_SIGNAL_SIGABRT: // assert() ?
- case DBG_RECV_SIGNAL_SIGSEGV: { // program received signal sigsegv
-
- wxString signame = wxT ( "SIGSEGV" );
-
- // show the dialog only if the signal is not sigtrap
- // since sigtap might be triggered by user inserting a breakpoint
- // into an already running debug session
- bool showDialog(true);
- if ( reason == DBG_RECV_SIGNAL_EXC_BAD_ACCESS ) {
- signame = wxT ( "EXC_BAD_ACCESS" );
- showDialog = true;
-
- } else if ( reason == DBG_RECV_SIGNAL_SIGABRT ) {
- signame = wxT ( "SIGABRT" );
- showDialog = true;
-
- } else if ( reason == DBG_RECV_SIGNAL_SIGTRAP ) {
- signame = wxT ( "SIGTRAP" );
- showDialog = false;
- }
-
- DebugMessage ( _("Program Received signal ") + signame + _("\n") );
- if(showDialog) {
- wxMessageDialog dlg( Frame::Get(), _("Program Received signal ") + signame + wxT("\n") +
- _("Stack trace is available in the 'Call Stack' tab\n"),
- wxT("CodeLite"), wxICON_ERROR|wxOK );
- dlg.ShowModal();
- }
-
- //Print the stack trace
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( wxT("Debugger") );
- if ( info.IsShown() && showDialog ) {
- Frame::Get()->GetDebuggerPane()->SelectTab ( DebuggerPane::FRAMES );
- UpdateDebuggerPane();
- }
- }
- break;
- case DBG_BP_ASSERTION_HIT: {
-
- wxMessageDialog dlg( Frame::Get(), _("Assertion failed!\nStack trace is available in the 'Call Stack' tab\n"),
- wxT("CodeLite"), wxICON_ERROR|wxOK );
- dlg.ShowModal();
-
- //Print the stack trace
- wxAuiPaneInfo &info = Frame::Get()->GetDockingManager().GetPane ( wxT("Debugger") );
- if ( info.IsShown() ) {
- Frame::Get()->GetDebuggerPane()->SelectTab ( DebuggerPane::FRAMES );
- UpdateDebuggerPane();
- }
- }
- break;
- case DBG_END_STEPPING: // finished one of the following: next/step/nexti/stepi
- case DBG_FUNC_FINISHED:
- case DBG_UNKNOWN: // the most common reason: temporary breakpoint
- case DBG_BP_HIT: { // breakpoint reached
- //query the current line and file
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() ) {
- dbgr->QueryFileLine();
- dbgr->BreakList();
- }
- }
- break;
- case DBG_DBGR_KILLED:
- m_dbgCanInteract = false;
- break;
- case DBG_EXITED_NORMALLY:
- //debugging finished, stop the debugger process
- DbgStop();
- break;
- default:
- break;
- }
-}
-
-void Manager::UpdateLostControl()
-{
- //debugger lost control
- //hide the marker
- DbgUnMarkDebuggerLine();
- m_dbgCanInteract = false;
- DebugMessage ( _ ( "Continuing...\n" ) );
-
- // Reset the debugger call-stack pane
- Frame::Get()->GetDebuggerPane()->GetFrameListView()->Clear();
- Frame::Get()->GetDebuggerPane()->GetFrameListView()->SetCurrentLevel(0);
-}
-
-void Manager::UpdateTypeReolsved(const wxString& expr, const wxString& type_name)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- // Sanity
- if ( dbgr == NULL ) {
- return;
- }
- if ( dbgr->IsRunning() == false ) {
- return;
- }
- if ( DbgCanInteract() == false ) {
- return;
- }
-
- // gdb returns usually expression like:
- // const string &, so in order to get the actual type
- // we construct a valid expression by appending a valid identifier followed by a semi colon.
- wxString expression;
- wxString command(expr);
- wxString dbg_command(wxT("print"));
- wxString expression_type;
-
- //wxLogMessage(word + wxT(" resolved into: ") + type);
- DebuggerSettingsData data;
- DebuggerConfigTool::Get()->ReadObject(wxT("DebuggerCommands"), &data);
- std::vector<DebuggerCmdData> cmds = data.GetCmds();
-
- expression << wxT("/^");
- expression << type_name;
- expression << wxT(" someValidName;");
- expression << wxT("$/");
-
- Variable variable;
- if (LanguageST::Get()->VariableFromPattern(expression, wxT("someValidName"), variable)) {
- expression_type = _U(variable.m_type.c_str());
- for (size_t i=0; i<cmds.size(); i++) {
- DebuggerCmdData cmd = cmds.at(i);
- if (cmd.GetName() == expression_type) {
- // prepare the string to be evaluated
- command = cmd.GetCommand();
- command.Replace(wxT("$(Variable)"), expr);
-
- dbg_command = cmd.GetDbgCommand();
-
- //---------------------------------------------------
- // Special handling for the templates
- //---------------------------------------------------
-
- wxArrayString types = DoGetTemplateTypes(_U(variable.m_templateDecl.c_str()));
- // Case 1: list
- // The user defined scripts requires that we pass info like this:
- // plist <list name> <T>
- if ( expression_type == wxT("list") && types.GetCount() > 0 ) {
- command << wxT(" ") << types.Item(0);
- }
- // Case 2: map & multimap
- // The user defined script requires that we pass the TLeft & TRight
- // pmap <list name> TLeft TRight
- if ( (expression_type == wxT("map") || expression_type == wxT("multimap")) && types.GetCount() > 1 ) {
- command << wxT(" ") << types.Item(0) << wxT(" ") << types.Item(1);
- }
-
- break;
- }
- }
- }
-
-
- wxString output;
- bool get_tip (false);
-
- Notebook * book = Frame::Get()->GetDebuggerPane()->GetNotebook();
- if ( book->GetPageText(book->GetSelection()) == DebuggerPane::ASCII_VIEWER || IsPaneVisible(DebuggerPane::ASCII_VIEWER) ) {
- get_tip = true;
- }
-
- if ( get_tip ) {
- dbgr->GetAsciiViewerContent(dbg_command, command); // Will trigger a call to UpdateTip()
- }
-}
-
-void Manager::UpdateAsciiViewer(const wxString& expression, const wxString& tip)
-{
- Frame::Get()->GetDebuggerPane()->GetAsciiViewer()->UpdateView( expression, tip );
-}
-
-void Manager::UpdateRemoteTargetConnected(const wxString& line)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning() && IsWorkspaceOpen()) {
- // we currently do not support this feature when debugging using 'Quick debug'
- wxString errMsg;
- ProjectPtr proj = WorkspaceST::Get()->FindProjectByName ( GetActiveProjectName(), errMsg );
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf ( proj->GetName(), wxEmptyString );
- if ( bldConf ) {
- wxArrayString dbg_cmds = wxStringTokenize ( bldConf->GetDebuggerPostRemoteConnectCmds(), wxT ( "\n" ), wxTOKEN_STRTOK );
- for (size_t i=0; i<dbg_cmds.GetCount(); i++) {
- dbgr->ExecuteCmd(dbg_cmds.Item(i));
- }
- }
- }
- // log the line
- UpdateAddLine(line);
-}
-
-
-//--------------------------- Build Management -----------------------------
-
-bool Manager::IsBuildInProgress() const
-{
- return m_shellProcess && m_shellProcess->IsBusy();
-}
-
-void Manager::StopBuild()
-{
- if ( m_shellProcess && m_shellProcess->IsBusy() ) {
- m_shellProcess->Stop();
- }
- m_buildQueue.clear();
-}
-
-void Manager::PushQueueCommand ( const QueueCommand& buildInfo )
-{
- m_buildQueue.push_back ( buildInfo );
-}
-
-void Manager::ProcessCommandQueue()
-{
- if ( m_buildQueue.empty() ) {
- return;
- }
-
- // pop the next build build and process it
- QueueCommand qcmd = m_buildQueue.front();
- m_buildQueue.pop_front();
-
- if ( qcmd.GetCheckBuildSuccess() && !IsBuildEndedSuccessfully() ) {
- // build failed, remove command from the queue
- return;
- }
-
- switch ( qcmd.GetKind() ) {
- case QueueCommand::CustomBuild:
- DoCustomBuild ( qcmd );
- break;
- case QueueCommand::Clean:
- DoCleanProject ( qcmd );
- break;
- case QueueCommand::ReBuild:
- case QueueCommand::Build:
- DoBuildProject ( qcmd );
- break;
- case QueueCommand::Debug:
- DbgStart ( wxNOT_FOUND );
- break;
- }
-}
-
-void Manager::BuildWorkspace()
-{
- DoCmdWorkspace ( QueueCommand::Build );
- ProcessCommandQueue();
-}
-
-void Manager::CleanWorkspace()
-{
- DoCmdWorkspace ( QueueCommand::Clean );
- ProcessCommandQueue();
-}
-
-void Manager::RebuildWorkspace()
-{
- DoCmdWorkspace ( QueueCommand::Clean );
- DoCmdWorkspace ( QueueCommand::Build );
- ProcessCommandQueue();
-}
-
-void Manager::RunCustomPreMakeCommand ( const wxString &project )
-{
- if ( m_shellProcess && m_shellProcess->IsBusy() ) {
- return;
- }
-
- wxString conf;
- // get the selected configuration to be built
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf ( project, wxEmptyString );
- if ( bldConf ) {
- conf = bldConf->GetName();
- }
- QueueCommand info ( project, conf, false, QueueCommand::Build );
-
- if ( m_shellProcess ) {
- delete m_shellProcess;
- }
- m_shellProcess = new CompileRequest ( Frame::Get(), //owner window
- info,
- wxEmptyString, //no file name (valid only for build file only)
- true ); //run premake step only
- m_shellProcess->Process(PluginManager::Get());
-}
-
-void Manager::CompileFile ( const wxString &projectName, const wxString &fileName, bool preprocessOnly )
-{
- if ( m_shellProcess && m_shellProcess->IsBusy() ) {
- return;
- }
-
- DoSaveAllFilesBeforeBuild();
-
- //If a debug session is running, stop it.
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() ) {
- if ( wxMessageBox ( _ ( "This would terminate the current debug session, continue?" ),
- wxT ( "Confirm" ), wxICON_QUESTION|wxYES_NO|wxCANCEL ) != wxYES )
- return;
- DbgStop();
- }
-
- wxString conf;
- BuildConfigPtr bldConf = WorkspaceST::Get()->GetProjBuildConf ( projectName, wxEmptyString );
- if ( bldConf ) {
- conf = bldConf->GetName();
- }
-
- QueueCommand info ( projectName, conf, false, QueueCommand::Build );
- if ( bldConf && bldConf->IsCustomBuild() ) {
- info.SetCustomBuildTarget ( preprocessOnly ? wxT("Preprocess File") : wxT ( "Compile Single File" ) );
- info.SetKind ( QueueCommand::CustomBuild );
- }
-
- if ( m_shellProcess ) {
- delete m_shellProcess;
- }
- switch ( info.GetKind() ) {
- case QueueCommand::Build:
- m_shellProcess = new CompileRequest ( Frame::Get(), info, fileName, false, preprocessOnly );
- break;
- case QueueCommand::CustomBuild:
- m_shellProcess = new CustomBuildRequest ( Frame::Get(), info, fileName );
- break;
- default:
- m_shellProcess = NULL;
- break;
- }
- m_shellProcess->Process(PluginManager::Get());
-}
-
-bool Manager::IsBuildEndedSuccessfully() const
-{
- // return the result of the last build
- return Frame::Get()->GetOutputPane()->GetBuildTab()->GetBuildEndedSuccessfully();
-}
-
-void Manager::DoBuildProject ( const QueueCommand& buildInfo )
-{
- if ( m_shellProcess && m_shellProcess->IsBusy() )
- return;
-
- DoSaveAllFilesBeforeBuild();
-
- //If a debug session is running, stop it.
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() ) {
- if ( wxMessageBox ( _ ( "This would terminate the current debug session, continue?" ),
- wxT ( "Confirm" ), wxICON_QUESTION|wxYES_NO|wxCANCEL ) != wxYES )
- return;
- DbgStop();
- }
-
- if ( m_shellProcess ) {
- delete m_shellProcess;
- }
-
- m_shellProcess = new CompileRequest ( Frame::Get(), buildInfo );
- m_shellProcess->Process(PluginManager::Get());
-}
-
-void Manager::DoCleanProject ( const QueueCommand& buildInfo )
-{
- if ( m_shellProcess && m_shellProcess->IsBusy() ) {
- return;
- }
-
- if ( m_shellProcess ) {
- delete m_shellProcess;
- }
- m_shellProcess = new CleanRequest ( Frame::Get(), buildInfo );
- m_shellProcess->Process(PluginManager::Get());
-}
-
-void Manager::DoCustomBuild ( const QueueCommand& buildInfo )
-{
- if ( m_shellProcess && m_shellProcess->IsBusy() ) {
- return;
- }
-
- DoSaveAllFilesBeforeBuild();
-
-
- //If a debug session is running, stop it.
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() ) {
- if ( wxMessageBox ( _ ( "This would terminate the current debug session, continue?" ),
- wxT ( "Confirm" ), wxICON_QUESTION|wxYES_NO|wxCANCEL ) != wxYES )
- return;
- DbgStop();
- }
-
- if ( m_shellProcess ) {
- delete m_shellProcess;
- }
- m_shellProcess = new CustomBuildRequest ( Frame::Get(), buildInfo, wxEmptyString );
- m_shellProcess->Process( PluginManager::Get() );
-}
-
-void Manager::DoCmdWorkspace ( int cmd )
-{
- // get list of projects
- wxArrayString projects;
- wxArrayString optimizedList;
-
- ManagerST::Get()->GetProjectList ( projects );
-
- for ( size_t i=0; i<projects.GetCount(); i++ ) {
- ProjectPtr p = GetProject ( projects.Item ( i ) );
- BuildConfigPtr buildConf = WorkspaceST::Get()->GetProjBuildConf ( projects.Item ( i ), wxEmptyString );
- if ( p && buildConf ) {
- wxArrayString deps = p->GetDependencies ( buildConf->GetName() );
- for ( size_t j=0; j<deps.GetCount(); j++ ) {
- // add a project only if it does not exist yet
- if ( optimizedList.Index ( deps.Item ( j ) ) == wxNOT_FOUND ) {
- optimizedList.Add ( deps.Item ( j ) );
- }
- }
- // add the project itself now, again only if it is not included yet
- if ( optimizedList.Index ( projects.Item ( i ) ) == wxNOT_FOUND ) {
- optimizedList.Add ( projects.Item ( i ) );
- }
- }
- }
-
- // add a build/clean project only command for every project in the optimized list
- for ( size_t i=0; i<optimizedList.GetCount(); i++ ) {
- BuildConfigPtr buildConf = WorkspaceST::Get()->GetProjBuildConf ( optimizedList.Item ( i ), wxEmptyString );
- if ( buildConf ) {
- QueueCommand bi ( optimizedList.Item ( i ), buildConf->GetName(), true, cmd );
- if ( buildConf->IsCustomBuild() ) {
- bi.SetKind ( QueueCommand::CustomBuild );
- switch ( cmd ) {
- case QueueCommand::Build:
- bi.SetCustomBuildTarget ( wxT ( "Build" ) );
- break;
- case QueueCommand::Clean:
- bi.SetCustomBuildTarget ( wxT ( "Clean" ) );
- break;
- }
- }
- bi.SetCleanLog ( i == 0 );
- PushQueueCommand ( bi );
- }
- }
-}
-
-void Manager::DbgClearWatches()
-{
- m_dbgWatchExpressions.Clear();
-}
-
-void Manager::DebuggerUpdate(const DebuggerEvent& event)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- DebuggerInformation dbgInfo = dbgr ? dbgr->GetDebuggerInformation() : DebuggerInformation();
- switch ( event.m_updateReason ) {
-
- case DBG_UR_GOT_CONTROL:
- UpdateGotControl(event.m_controlReason);
- break;
-
- case DBG_UR_LOST_CONTROL:
- UpdateLostControl();
- break;
-
- case DBG_UR_FILE_LINE:
- UpdateFileLine(event.m_file, event.m_line);
- break;
-
- case DBG_UR_ADD_LINE:
- UpdateAddLine(event.m_text, event.m_onlyIfLogging);
- break;
-
- case DBG_UR_BP_ADDED:
- GetBreakpointsMgr()->SetBreakpointDebuggerID(event.m_bpInternalId, event.m_bpDebuggerId);
- break;
-
- case DBG_UR_STOPPED:
- // Nothing to do here
- break;
-
- case DBG_UR_LOCALS:
- Frame::Get()->GetDebuggerPane()->GetLocalsTable()->UpdateLocals( event.m_locals );
-#ifdef __WXMAC__
- {
- for(size_t i=0; i<event.m_locals.size(); i++){
- LocalVariable v = event.m_locals.at(i);
- if(v.gdbId.IsEmpty() == false) {
- dbgr->DeleteVariableObject(v.gdbId);
- }
- }
- }
-#endif
- break;
-
- case DBG_UR_FUNC_ARGS:
- Frame::Get()->GetDebuggerPane()->GetLocalsTable()->UpdateFuncArgs( event.m_locals );
-#ifdef __WXMAC__
- {
- for(size_t i=0; i<event.m_locals.size(); i++){
- LocalVariable v = event.m_locals.at(i);
- if(v.gdbId.IsEmpty() == false) {
- dbgr->DeleteVariableObject(v.gdbId);
- }
- }
- }
-#endif
- break;
-
- case DBG_UR_EXPRESSION:
- Frame::Get()->GetDebuggerPane()->GetWatchesTable()->UpdateExpression ( event.m_expression, event.m_evaluated );
- break;
- case DBG_UR_UPDATE_STACK_LIST:
- Frame::Get()->GetDebuggerPane()->GetFrameListView()->Update ( event.m_stack );
- break;
-
- case DBG_UR_REMOTE_TARGET_CONNECTED:
- UpdateRemoteTargetConnected( event.m_text );
- break;
-
- case DBG_UR_RECONCILE_BPTS:
- GetBreakpointsMgr()->ReconcileBreakpoints( event.m_bpInfoList );
- break;
-
- case DBG_UR_BP_HIT:
- GetBreakpointsMgr()->BreakpointHit( event.m_bpDebuggerId );
- break;
-
- case DBG_UR_TYPE_RESOLVED:
- UpdateTypeReolsved( event.m_expression, event.m_evaluated );
- break;
-
- case DBG_UR_ASCII_VIEWER:
- UpdateAsciiViewer( event.m_expression, event.m_text );
- break;
-
- case DBG_UR_LISTTHRAEDS:
- Frame::Get()->GetDebuggerPane()->GetThreadsView()->PopulateList( event.m_threads );
- break;
-
- case DBG_UR_WATCHMEMORY:
- Frame::Get()->GetDebuggerPane()->GetMemoryView()->SetViewString( event.m_evaluated );
- break;
- case DBG_UR_VARIABLEOBJ: {
- if ( event.m_userReason == DBG_USERR_QUICKWACTH ) {
-
- if ( dbgInfo.showTooltips ) {
-
- /////////////////////////////////////////////
- // Handle Tooltips
- /////////////////////////////////////////////
-
- DoShowQuickWatchDialog( event );
-
- }
-
- // Handle ASCII Viewer
- wxString expression ( event.m_expression );
- if ( event.m_variableObject.isPtr && !event.m_expression.StartsWith(wxT("*")) ) {
- if ( event.m_variableObject.typeName.Contains(wxT("char *")) ||
- event.m_variableObject.typeName.Contains(wxT("wchar_t *")) ||
- event.m_variableObject.typeName.Contains(wxT("QChar *")) ||
- event.m_variableObject.typeName.Contains(wxT("wxChar *"))) {
- // dont de-reference
- } else {
- expression.Prepend(wxT("(*"));
- expression.Append(wxT(")"));
-
- }
- }
- UpdateTypeReolsved( expression, event.m_variableObject.typeName );
- } else if ( event.m_userReason == DBG_USERR_WATCHTABLE ) {
- // Double clicked on the 'Watches' table
- DoShowQuickWatchDialog( event );
-
- } else if ( event.m_userReason == DBG_USERR_LOCALS ) {
- DoShowQuickWatchDialog( event );
-
- } else if ( event.m_userReason == DBG_USERR_LOCALS_INLINE ) {
- Frame::Get()->GetDebuggerPane()->GetLocalsTable()->UpdateInline( event );
-
- }
- }
- break;
- case DBG_UR_LISTCHILDREN: {
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() && DbgCanInteract() ) {
- if ( !GetDisplayVariableDialog()->IsShown() ) {
- GetDisplayVariableDialog()->BuildTree( event.m_varObjChildren, dbgr );
- GetDisplayVariableDialog()->m_mainVariableObject = event.m_expression;
- GetDisplayVariableDialog()->ShowDialog( (event.m_userReason == DBG_USERR_WATCHTABLE || event.m_userReason == DBG_USERR_LOCALS) );
-
- } else {
- // The dialog is shown
- GetDisplayVariableDialog()->AddItems(event.m_expression, event.m_varObjChildren);
- }
- }
- }
- break;
- case DBG_UR_EVALVARIABLEOBJ:
- if (GetDisplayVariableDialog()->IsShown()) {
- GetDisplayVariableDialog()->UpdateValue(event.m_expression, event.m_evaluated);
- }
- break;
- case DBG_UR_INVALID:
- default:
- break;
- }
-}
-
-void Manager::DbgRestoreWatches()
-{
- // restore any saved watch expressions from previous debug sessions
- if ( m_dbgWatchExpressions.empty() == false ) {
- for (size_t i=0; i<m_dbgWatchExpressions.GetCount(); i++) {
- DebugMessage(wxT("Restoring watch: ") + m_dbgWatchExpressions.Item(i) + wxT("\n"));
- wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, XRCID("add_watch"));
- e.SetString(m_dbgWatchExpressions.Item(i));
- Frame::Get()->GetDebuggerPane()->GetWatchesTable()->GetEventHandler()->AddPendingEvent( e );
- }
- }
-}
-
-void Manager::DoRestartCodeLite()
-{
- wxString command;
-#ifdef __WXMSW__
- // the codelite_launcher application is located where the codelite executable is
- // to properly shoutdown codelite. We first need to close the codelite_indexer process
- command << wxT("\"") << m_codeliteLauncher.GetFullPath() << wxT("\" ")
- << wxT(" --name=\"")
- << wxStandardPaths::Get().GetExecutablePath()
- << wxT("\"");
-
- wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, XRCID("exit_app"));
- Frame::Get()->GetEventHandler()->ProcessEvent(event);
-
- wxExecute(command, wxEXEC_ASYNC|wxEXEC_NOHIDE);
-
-#elif defined (__WXGTK__)
- // The Shell is our friend
- command << wxStandardPaths::Get().GetExecutablePath();
-
- wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, XRCID("exit_app"));
- Frame::Get()->GetEventHandler()->AddPendingEvent(event);
-
- wxExecute(command, wxEXEC_ASYNC|wxEXEC_NOHIDE);
-#endif
-}
-
-void Manager::SetCodeLiteLauncherPath(const wxString& path)
-{
- m_codeliteLauncher = wxFileName(path, wxT("codelite_launcher"));
-}
-
-void Manager::OnRestart(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- DoRestartCodeLite();
-}
-
-DisplayVariableDlg* Manager::GetDisplayVariableDialog()
-{
- if (!m_displayVariableDlg) {
- m_displayVariableDlg = new DisplayVariableDlg(Frame::Get());
- }
- return m_displayVariableDlg;
-}
-
-void Manager::DoShowQuickWatchDialog( const DebuggerEvent &event )
-{
- /////////////////////////////////////////////
- // Handle Tooltips
- /////////////////////////////////////////////
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() && DbgCanInteract() ) {
- GetDisplayVariableDialog()->m_mainVariableObject = event.m_variableObject.gdbId;
- GetDisplayVariableDialog()->m_variableName = event.m_expression;
- if ( event.m_evaluated.IsEmpty() == false ) {
- GetDisplayVariableDialog()->m_variableName << wxT(" = ") << event.m_evaluated;
- }
-
- if ( event.m_variableObject.typeName.IsEmpty() == false ) {
- GetDisplayVariableDialog()->m_variableName << wxT(" [") << event.m_variableObject.typeName << wxT("] ");
- }
-
- if ( event.m_variableObject.numChilds > 0 ) {
- // Complex type
- dbgr->ListChildren(event.m_variableObject.gdbId, event.m_userReason);
-
- } else {
- // Simple type, no need for further calls, show the dialog
- if ( !GetDisplayVariableDialog()->IsShown() ) {
- GetDisplayVariableDialog()->BuildTree( event.m_varObjChildren, dbgr );
- // If the reason for showing the dialog was the 'Watches' table being d-clicked,
- // center the dialog
- GetDisplayVariableDialog()->ShowDialog( (event.m_userReason == DBG_USERR_WATCHTABLE || event.m_userReason == DBG_USERR_LOCALS) );
- }
- }
- }
-}
-
-bool Manager::UpdateParserPaths()
-{
- wxArrayString localIncludePaths;
- wxArrayString localExcludePaths;
-
- // If we have an opened workspace, get its search paths
- if(IsWorkspaceOpen()) {
- LocalWorkspaceST::Get()->GetParserPaths(localIncludePaths, localExcludePaths);
- }
-
- // Update the parser thread with the new paths
- wxArrayString globalIncludePath, uniExcludePath;
- TagsOptionsData tod = Frame::Get()->GetTagsOptions();
- globalIncludePath = tod.GetParserSearchPaths();
- uniExcludePath = tod.GetParserExcludePaths();
-
- // Add the global search paths to the local workspace
- // include paths (the order does matter)
- for(size_t i=0; i<globalIncludePath.GetCount(); i++){
- if(localIncludePaths.Index(globalIncludePath.Item(i)) == wxNOT_FOUND) {
- localIncludePaths.Add( globalIncludePath.Item(i) );
- }
- }
-
- for(size_t i=0; i<localExcludePaths.GetCount(); i++){
- if(uniExcludePath.Index(localExcludePaths.Item(i)) == wxNOT_FOUND) {
- uniExcludePath.Add( localExcludePaths.Item(i) );
- }
- }
-
- ParseThreadST::Get()->SetSearchPaths( localIncludePaths, uniExcludePath );
- return true;
-}
-
-void Manager::OnIncludeFilesScanDone(wxCommandEvent& event)
-{
- Frame::Get()->SetStatusMessage(wxT("Retagging..."), 0);
- std::set<std::string> *fileSet = (std::set<std::string>*)event.GetClientData();
-// fprintf(stderr, "fileSet size=%d\n", fileSet->size());
-
- wxArrayString projects;
- GetProjectList ( projects );
-
- std::vector<wxFileName> projectFiles;
- for ( size_t i=0; i<projects.GetCount(); i++ ) {
- ProjectPtr proj = GetProject ( projects.Item ( i ) );
- if ( proj ) {
- proj->GetFiles( projectFiles, true );
- }
- }
-
- // add to this set the workspace files to create a unique list of
- // files
- for (size_t i=0; i<projectFiles.size(); i++) {
- wxString fn( projectFiles.at(i).GetFullPath() );
- fileSet->insert( fn.mb_str(wxConvUTF8).data() );
- }
-
-// fprintf(stderr, "Parsing the following files\n");
- // recreate the list in the form of vector (the API requirs vector)
- projectFiles.clear();
- std::set<std::string>::iterator iter = fileSet->begin();
- for (; iter != fileSet->end(); iter++ ) {
- wxFileName fn(wxString((*iter).c_str(), wxConvUTF8));
- fn.MakeAbsolute();
-
-// const wxCharBuffer cfile = _C(fn.GetFullPath());
-// fprintf(stderr, "%s\n", cfile.data());
-
- projectFiles.push_back( fn );
- }
-
- wxStopWatch sw;
- sw.Start();
-
- // -----------------------------------------------
- // tag them
- // -----------------------------------------------
-
- TagsManagerST::Get()->RetagFiles ( projectFiles, event.GetInt() );
- long end = sw.Time();
- Frame::Get()->SetStatusMessage(wxT("Done"), 0);
- wxLogMessage(wxT("INFO: Retag workspace completed in %d seconds (%d files were scanned)"), (end)/1000, projectFiles.size());
- SendCmdEvent ( wxEVT_FILE_RETAGGED, ( void* ) &projectFiles );
-
- delete fileSet;
-}
-
-void Manager::DoSaveAllFilesBeforeBuild()
-{
- // Save all files before compiling, but dont saved new documents
- SendCmdEvent(wxEVT_FILE_SAVE_BY_BUILD_START);
- if (!Frame::Get()->GetMainBook()->SaveAll(false, false)) {
- SendCmdEvent(wxEVT_FILE_SAVE_BY_BUILD_END);
- return;
- }
- SendCmdEvent(wxEVT_FILE_SAVE_BY_BUILD_END);
-}
diff --git a/LiteEditor/manager.h b/LiteEditor/manager.h
deleted file mode 100644
index fe0286ee..00000000
--- a/LiteEditor/manager.h
+++ /dev/null
@@ -1,590 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : manager.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef MANAGER_H
-#define MANAGER_H
-
-#include <list>
-#include <map>
-#include <wx/event.h>
-
-#include "singleton.h"
-#include "debuggerobserver.h"
-#include "workspace.h"
-#include "queuecommand.h"
-#include "shell_command.h"
-#include "async_executable_cmd.h"
-#include "filehistory.h"
-#include "breakpointsmgr.h"
-
-
-// ====================================================================
-// The Manager class
-// ====================================================================
-
-extern const wxEventType wxEVT_CMD_RESTART_CODELITE;
-
-class DisplayVariableDlg;
-
-class Manager : public wxEvtHandler, public IDebuggerObserver
-{
- friend class Singleton<Manager>;
-
- wxString m_installDir;
- wxString m_startupDir;
- FileHistory m_recentWorkspaces;
- ShellCommand *m_shellProcess;
- AsyncExeCmd *m_asyncExeCmd;
- BreakptMgr *m_breakptsmgr;
- bool m_isShutdown;
- bool m_workspceClosing;
- bool m_dbgCanInteract;
- bool m_useTipWin;
- long m_tipWinPos;
- int m_frameLineno;
- std::list<QueueCommand> m_buildQueue;
- wxArrayString m_dbgWatchExpressions;
- wxFileName m_codeliteLauncher;
- DisplayVariableDlg *m_displayVariableDlg;
-
-protected:
- Manager(void);
- virtual ~Manager(void);
-
- //--------------------------- Global State -----------------------------
-public:
- DisplayVariableDlg * GetDisplayVariableDialog();
-
- const wxString &GetStarupDirectory() const { return m_startupDir; }
- void SetStarupDirectory(const wxString &path) { m_startupDir = path; }
-
- const wxString &GetInstallDir() const { return m_installDir; }
- void SetInstallDir(const wxString &dir) { m_installDir = dir; }
-
- bool IsShutdownInProgress() const { return m_isShutdown; }
- void SetShutdownInProgress(bool b) { m_isShutdown = b; }
-
-
- void SetCodeLiteLauncherPath(const wxString &path);
- void OnRestart(wxCommandEvent &event);
-protected:
- void DoRestartCodeLite();
-
- //--------------------------- Workspace Loading -----------------------------
-public:
- /*!
- * \brief
- * check if a workspace is open
- *
- * \returns
- * true if a workspace is open
- */
- bool IsWorkspaceOpen() const;
-
- const bool& IsWorkspaceClosing() const { return m_workspceClosing; }
-
- /*!
- * \brief
- * Create a workspace with a given name and path
- *
- * \param name
- * workspace name
- *
- * \param path
- * workspace path
- *
- */
- void CreateWorkspace(const wxString &name, const wxString &path);
-
- /**
- * Open an existing workspace by path
- */
- void OpenWorkspace(const wxString &path);
-
- /**
- * \brief close the currently opened workspace and reload it without saving any modifications made to it, if no workspace is opened, this functiond does anything
- */
- void ReloadWorkspace();
-
- /**
- * Close the current workspace and save all
- * changes
- */
- void CloseWorkspace();
-
- /**
- * \brief clear the recent workspaces list
- */
- void ClearWorkspaceHistory();
-
- /**
- * Return list of recently opened workspaces from the configuration file
- * \param files [output]
- */
- void GetRecentlyOpenedWorkspaces(wxArrayString &files);
-
- /**
- * return the FileHistory object that holds the recently opened
- * workspace data
- */
- FileHistory &GetRecentlyOpenedWorkspacesClass() { return m_recentWorkspaces; }
-
- /**
- * @brief update the C++ parser search / exclude paths with the global paths
- * and the workspace specifc ones
- * @return true if the paths were modified, false otherwise
- */
- bool UpdateParserPaths();
-
-protected:
- void DoSetupWorkspace(const wxString &path);
- void AddToRecentlyOpenedWorkspaces(const wxString &fileName);
-
-
- //--------------------------- Workspace Projects Mgmt -----------------------------
-public:
- /**
- * \brief create an empty project
- * \param name project name
- * \param path project file path
- * \param type project type, Project::STATIC_LIBRARY, Project::DYNAMIC_LIBRARY or Project::EXECUTABLE
- */
- void CreateProject(ProjectData &data);
-
- /**
- * Add an existing project to the workspace. If no workspace is open,
- * this function does nothing
- * \param path project file path name to add
- */
- void AddProject(const wxString &path);
-
- /**
- * Import a MS Solution file and open it in the editor
- * \param path path to the .sln file
- */
- void ImportMSVSSolution(const wxString &path, const wxString &defaultCompiler);
-
- /**
- * Remove the a project from the workspace
- * \param name project name to remove
- * \return true on success false otherwise
- */
- bool RemoveProject(const wxString &name) ;
-
- /**
- * Return all project names under this workspace
- */
- void GetProjectList(wxArrayString &list);
-
- /**
- * find project by name
- */
- ProjectPtr GetProject(const wxString &name) const;
-
- /**
- * \return active project name
- */
- wxString GetActiveProjectName();
-
- /**
- * Set project as active
- * \param name project name to set as active
- */
- void SetActiveProject(const wxString &name);
-
- /**
- * Return the workspace build matrix
- */
- BuildMatrixPtr GetWorkspaceBuildMatrix() const;
-
- /**
- * Set or update the workspace build matrix
- */
- void SetWorkspaceBuildMatrix(BuildMatrixPtr matrix);
-
-
- //--------------------------- Workspace Files Mgmt -----------------------------
-public:
- /**
- * return list of files in absolute path of the whole workspace
- */
- void GetWorkspaceFiles(wxArrayString &files);
-
- /**
- * return list of files that are part of the workspace
- */
- void GetWorkspaceFiles(std::vector<wxFileName> &files, bool absPath = false);
-
- /**
- * check if a file is part of the workspace
- * \param fileName the file name in absolute path
- */
- bool IsFileInWorkspace(const wxString &fileName);
-
- /**
- * Search for (non-absolute) file in the workspace
- */
- wxFileName FindFile(const wxString &fileName, const wxString &project = wxEmptyString);
-
- /**
- * retag workspace
- */
- void RetagWorkspace(bool quickRetag);
-
- /**
- * @brief the parser thread has completed to scan for include files to parse
- * @param event
- */
- void OnIncludeFilesScanDone(wxCommandEvent &event);
-
- /**
- * \brief retag a given file
- * \param filename
- */
- void RetagFile(const wxString &filename);
-
-protected:
- wxFileName FindFile ( const wxArrayString& files, const wxFileName &fn );
-
-
- //--------------------------- Project Files Mgmt -----------------------------
-public:
- /**
- * Add new virtual directory to the workspace.
- * \param virtualDirFullPath a dot separated string of the new virtual directory full path up to the parent project
- * for example: to add a new VD name VD3 under: Project1->VD1->VD2 path should contain: Project1.VD1.VD2.VD3
- */
- void AddVirtualDirectory(const wxString &virtualDirFullPath);
-
- /**
- * Remove virtual directory from the workspace.
- * \param virtualDirFullPath a dot separated string of the virtual directory to be removed
- */
- void RemoveVirtualDirectory(const wxString &virtualDirFullPath);
-
- /**
- * Create new file on the disk and open it in the main editor
- * \param fileName file full path (including directories)
- * \param vdFullPath path of the virtual directory
- */
- bool AddNewFileToProject(const wxString &fileName, const wxString &vdFullPath, bool openIt = true);
-
- /**
- * Add an existing file to workspace
- * \param fileName file full path (including directories)
- * \param vdFullPath path of the virtual directory
- */
- bool AddFileToProject(const wxString &fileName, const wxString &vdFullPath, bool openIt = false);
-
- /**
- * \brief
- * \param files
- * \param vdFullPath
- * \param actualAdded
- * \return
- */
- void AddFilesToProject(const wxArrayString &files, const wxString &vdFullPath, wxArrayString &actualAdded);
-
- /**
- * remove file from the workspace
- * \param fileName the full path of the file to be removed
- * \param vdFullPath the files' virtual directory path (including project)
- */
- bool RemoveFile(const wxString &fileName, const wxString &vdFullPath);
-
- /**
- * remove file from the workspace
- * \param origName the full path of the file to be renamed
- * \param newName the full path the file must be renamed to
- * \param vdFullPath the files' virtual directory path (including project)
- */
- bool RenameFile(const wxString &origName, const wxString &newName, const wxString &vdFullPath);
-
- bool MoveFileToVD(const wxString &fileName, const wxString &srcVD, const wxString &targetVD);
-
- /**
- * Rebuild the database by removing all entries from the database
- * that belongs to a given project, and then re-index all files
- * \param projectName project to re-tag
- */
- void RetagProject(const wxString &projectName, bool quickRetag);
-
- /**
- * return list of files in absolute path of a given project
- * \param project project name
- */
- void GetProjectFiles(const wxString &project, wxArrayString &files);
-
- /**
- * return the project name that 'fullPathFileName' belogs to. if 2 matches were found, return
- * the first one, or empty string if no match was found
- */
- wxString GetProjectNameByFile(const wxString &fullPathFileName);
-
-
- //--------------------------- Project Settings Mgmt -----------------------------
-public:
- /**
- * Return a project working directory
- * \param project project name
- */
- wxString GetProjectCwd(const wxString &project) const;
-
- /**
- * Return project settings by name
- * \param projectName project name
- * \return project settings smart prt
- */
- ProjectSettingsPtr GetProjectSettings(const wxString &projectName) const;
-
- /**
- * Set project settings
- * \param projectName project name
- * \param settings settings to update
- */
- void SetProjectSettings(const wxString &projectName, ProjectSettingsPtr settings);
-
- /**
- * Set project global settings
- * \param projectName project name
- * \param settings global settings to update
- */
- void SetProjectGlobalSettings(const wxString &projectName, BuildConfigCommonPtr settings);
-
- /**
- * \brief return the project excution command as it appears in the project settings
- * \param projectName
- * \param wd the working directory that the command should be running from
- * \param considerPauseWhenExecuting when set to true (default) CodeLite will take into consideration the value set in the project
- * settings 'Pause when execution ends'
- * \return project execution command or wxEmptyString if the project does not exist
- */
- wxString GetProjectExecutionCommand(const wxString &projectName, wxString &wd, bool considerPauseWhenExecuting = true);
-
- //--------------------------- Top Level Pane Management -----------------------------
-public:
- /**
- * \brief test if pane_name is resides in the wxAuiManager and is visible
- * \param pane_name pane name to search for
- * \return true on success (exist in the AUI manager and visible), false otherwise
- */
- bool IsPaneVisible(const wxString &pane_name);
-
- /**
- * Show output pane and set focus to focusWin
- * \param focusWin tab name to set the focus
- * \return return true if the output pane was hidden and this function forced it to appear. false if the window was already
- * shown and nothing needed to be done
- */
- bool ShowOutputPane(wxString focusWin = wxEmptyString, bool commit = true );
-
- /**
- * Show the debugger pane
- */
- void ShowDebuggerPane(bool commit = true);
-
- /**
- * Show the workspace pane and set focus to focusWin
- * \param focusWin tab name to set the focus
- */
- void ShowWorkspacePane(wxString focusWin = wxEmptyString, bool commit = true );
-
- /**
- * Hide pane
- */
- void HidePane(const wxString &paneName, bool commit = true);
-
- /**
- * Hide/Show all panes. This function saves the current prespective and
- * then hides all panes, when called again, all panes are restored
- */
- void TogglePanes();
-
-
- //--------------------------- Menu and Accelerator Mmgt -----------------------------
-public:
- /**
- * \brief update the menu bar accelerators
- */
- void UpdateMenuAccelerators();
-
- /**
- * \brief load accelerator table from the configuration section
- * \param file
- * \param map
- */
- void LoadAcceleratorTable(const wxArrayString &files, MenuItemDataMap &map);
-
- void UpdateMenu(wxMenu *menu, MenuItemDataMap &accelMap, std::vector< wxAcceleratorEntry > &accelVec);
-
- /**
- * \brief retrun map of the default accelerator table
- */
- void GetDefaultAcceleratorMap(MenuItemDataMap& accelMap);
-
- /**
- * \brief retrun map of the accelerator table. the StringMap maps between the actions and their accelerators
- */
- void GetAcceleratorMap(MenuItemDataMap& accelMap);
-
-protected:
- void DoGetAccelFiles(wxArrayString &files);
- void DumpMenu( wxMenu *menu, const wxString &label, wxString &content );
-
-
- //--------------------------- Run Program (No Debug) -----------------------------
-public:
- /**
- * return true a child program is running
- */
- bool IsProgramRunning() const;
-
- /**
- * Execute the project with no debugger
- */
- void ExecuteNoDebug(const wxString &projectName);
-
- /**
- * Kill child program which is running
- */
- void KillProgram();
-
-protected:
- void OnProcessEnd(wxProcessEvent &event);
-
-
- //--------------------------- Debugger Support -----------------------------
-public:
- BreakptMgr* GetBreakpointsMgr() { return m_breakptsmgr; }
-
- void UpdateDebuggerPane();
-
- void SetMemory(const wxString &address, size_t count, const wxString &hex_value);
-
- //---------------------------------------------------
- // Debugging API
- //---------------------------------------------------
-
- void DbgStart(long pid = wxNOT_FOUND);
- void DbgStop();
- void DbgMarkDebuggerLine(const wxString &fileName, int lineno);
- void DbgUnMarkDebuggerLine();
- void DbgDoSimpleCommand(int cmd);
- void DbgSetFrame(int frame, int lineno);
- void DbgSetThread(long threadId);
- bool DbgCanInteract() { return m_dbgCanInteract; }
- void DbgClearWatches();
- void DbgRestoreWatches();
-
- //---------------------------------------------------
- // Internal implementaion for various debugger events
- //---------------------------------------------------
-
- void UpdateAddLine (const wxString &line, const bool OnlyIfLoggingOn = false);
- void UpdateFileLine (const wxString &file, int lineno);
- void UpdateGotControl (DebuggerReasons reason);
- void UpdateLostControl ();
- void UpdateRemoteTargetConnected(const wxString &line);
- void UpdateTypeReolsved (const wxString &expression, const wxString &type);
- void UpdateAsciiViewer (const wxString &expression, const wxString &tip);
-
- //---------------------------------------------------
- // Handle debugger event
- //---------------------------------------------------
-
- void DebuggerUpdate ( const DebuggerEvent &event );
- void DoShowQuickWatchDialog( const DebuggerEvent &event );
-
- //--------------------------- Build Management -----------------------------
-public:
- /**
- * return true if a compilation is in process (either clean or build)
- */
- bool IsBuildInProgress() const;
-
- /**
- * Stop current build process
- */
- void StopBuild();
-
- /**
- * \brief add build job to the internal queue
- * \param buildInfo
- */
- void PushQueueCommand(const QueueCommand &buildInfo);
-
- /**
- * \brief process the next build job
- */
- void ProcessCommandQueue();
-
- /**
- * \brief build the entire workspace. This operation is equal to
- * manually right clicking on each project in the workspace and selecting
- * 'build'
- */
- void BuildWorkspace();
-
- /**
- * \brief clean the entire workspace. This operation is equal to
- * manually right clicking on each project in the workspace and selecting
- * 'clean'
- */
- void CleanWorkspace();
-
- /**
- * \brief clean, followed by buid of the entire workspace. This operation is equal to
- * manually right clicking on each project in the workspace and selecting
- * 'clean'
- */
- void RebuildWorkspace();
-
- /**
- * \brief when building using custom build, execute the makefile generation command provided by the user
- * \param project project to execute it for
- */
- void RunCustomPreMakeCommand(const wxString &project);
-
- /**
- * compile single file from a given
- * given project
- */
- void CompileFile(const wxString &project, const wxString &fileName, bool preprocessOnly = false);
-
- /**
- * return true if the last buid ended successfully
- */
- bool IsBuildEndedSuccessfully() const;
-
-protected:
- void DoBuildProject(const QueueCommand &buildInfo);
- void DoCleanProject(const QueueCommand &buildInfo);
- void DoCustomBuild(const QueueCommand &buildInfo);
- void DoCmdWorkspace(int cmd);
- void DoSaveAllFilesBeforeBuild();
-};
-
-typedef Singleton<Manager> ManagerST;
-
-#endif // MANAGER_H
diff --git a/LiteEditor/memoryview.cpp b/LiteEditor/memoryview.cpp
deleted file mode 100644
index b6dd6a69..00000000
--- a/LiteEditor/memoryview.cpp
+++ /dev/null
@@ -1,180 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : memoryview.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include <wx/tokenzr.h>
-#include <wx/regex.h>
-#include "manager.h"
-#include "memoryview.h"
-#include "frame.h"
-
-MemoryView::MemoryView( wxWindow* parent )
- : MemoryViewBase( parent )
-{
- m_buttonUpdate->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( MemoryView::OnUpdateUI ), NULL, this );
- m_textCtrlExpression->Connect( wxEVT_COMMAND_TEXT_ENTER, wxTextEventHandler( MemoryView::OnEvaluate ), NULL, this );
-}
-
-void MemoryView::OnEvaluate( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- ManagerST::Get()->UpdateDebuggerPane();
-}
-
-void MemoryView::OnEvaluateUI( wxUpdateUIEvent& event )
-{
- event.Enable(m_textCtrlExpression->GetValue().IsEmpty() == false);
-}
-
-void MemoryView::Clear()
-{
- m_textCtrlExpression->Clear();
- m_textCtrlMemory->Clear();
-}
-
-size_t MemoryView::GetSize() const
-{
- long value(0);
- m_textCtrlSize->GetValue().ToLong(&value);
-
- // set default memory size to 32 bytes
- if (!value) {
- value = 32;
- }
- return value;
-}
-
-void MemoryView::SetViewString(const wxString& text)
-{
- m_textCtrlMemory->Freeze();
- // get old value
- wxString oldValue = m_textCtrlMemory->GetValue();
-
- m_textCtrlMemory->Clear();
- // first check that we are trying to view the same addresses
- wxString newAddr = text.BeforeFirst(wxT(':'));
- wxString oldAddr = oldValue.BeforeFirst(wxT(':'));
-
- // set the new value
- m_textCtrlMemory->SetValue(text);
-
- if (newAddr == oldAddr) {
-
- size_t shortLen = text.Length() < oldValue.Length() ? text.Length() : oldValue.Length();
-
- // same address, loop over the strings
- wxTextAttr style;
- style.SetTextColour(wxT("RED"));
-
- long start(wxNOT_FOUND);
- bool needColouring(false);
- long possibleStart(0);
-
- for (size_t i=0; i<shortLen; i++) {
-
- // reset word
- if ((text.GetChar(i) == wxT(' ') || text.GetChar(i) == wxT('\n')) && needColouring) {
-
- if (text.GetChar(i) != wxT('\n')) {
- m_textCtrlMemory->SetStyle(start, (long)i, style);
- }
-
- start = wxNOT_FOUND;
- needColouring = false;
- }
-
- if (text.GetChar(i) == wxT(' ') || text.GetChar(i) == wxT('\n')) {
- possibleStart = (long)i;
- }
-
- if (text.GetChar(i) != oldValue.GetChar(i)) {
- needColouring = true;
- if (start == wxNOT_FOUND) {
- start = possibleStart;
- }
- }
- }
- }
-
- // loop over the text and set the address in grey colour
- wxTextAttr addrAttr;
- addrAttr.SetTextColour(wxT("GREY"));
- wxFont addrFont = m_textCtrlMemory->GetFont();
- addrFont.SetWeight(wxBOLD);
- addrFont.SetStyle(wxFONTSTYLE_ITALIC);
-
- addrAttr.SetFont(addrFont);
-
- wxArrayString lines = wxStringTokenize(text, wxT("\n"), wxTOKEN_STRTOK);
- for (size_t i=0; i<lines.GetCount(); i++) {
- long addr_end = lines.Item(i).Find(wxT(':'));
- if (addr_end != wxNOT_FOUND) {
- long pos = m_textCtrlMemory->XYToPosition(0, (long)i);
- m_textCtrlMemory->SetStyle(pos, pos + addr_end, addrAttr);
- }
- }
-
- m_textCtrlMemory->DiscardEdits(); // make this operation undoable
- m_textCtrlMemory->Thaw();
-}
-
-void MemoryView::OnUpdate(wxCommandEvent& e)
-{
- static wxRegEx reHex(wxT("[0][x][0-9a-fA-F][0-9a-fA-F]"));
-
- // extract the text memory from the text control and pass it to the debugger
- wxString memory;
- wxArrayString lines = wxStringTokenize(m_textCtrlMemory->GetValue(), wxT("\n"), wxTOKEN_STRTOK);
- for (size_t i=0; i<lines.GetCount(); i++) {
- wxString line = lines.Item(i).AfterFirst(wxT(':')).BeforeLast(wxT(':')).Trim().Trim(false);
- wxArrayString hexValues = wxStringTokenize(line, wxT(" "), wxTOKEN_STRTOK);
- for (size_t y=0; y<hexValues.GetCount(); y++) {
- if (reHex.Matches(hexValues.Item(y)) && hexValues.Item(y).Len() == 4) {
- // OK
- continue;
- } else {
- wxMessageBox(wxString::Format(wxT("Invalid memory value: %s"), hexValues.Item(y).c_str()), wxT("CodeLite"), wxICON_WARNING|wxOK);
- // update the pane to old value
- ManagerST::Get()->UpdateDebuggerPane();
- return;
- }
- }
-
- if (line.IsEmpty() == false) {
- memory << line << wxT(" ");
- }
- }
-
- // set the new memory
- memory = memory.Trim().Trim(false);
- ManagerST::Get()->SetMemory(m_textCtrlExpression->GetValue(), GetSize(), memory);
-
- // update the view
- ManagerST::Get()->UpdateDebuggerPane();
-}
-
-void MemoryView::OnUpdateUI(wxUpdateUIEvent& event)
-{
- event.Enable(m_textCtrlMemory->IsModified());
-}
diff --git a/LiteEditor/memoryview.h b/LiteEditor/memoryview.h
deleted file mode 100644
index 9454c441..00000000
--- a/LiteEditor/memoryview.h
+++ /dev/null
@@ -1,56 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : memoryview.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __memoryview__
-#define __memoryview__
-
-/**
-@file
-Subclass of MemoryViewBase, which is generated by wxFormBuilder.
-*/
-
-#include "memoryviewbase.h"
-
-/** Implementing MemoryViewBase */
-class MemoryView : public MemoryViewBase
-{
-protected:
- // Handlers for MemoryViewBase events.
- void OnEvaluate( wxCommandEvent& event );
- void OnEvaluateUI( wxUpdateUIEvent& event );
- void OnUpdate(wxCommandEvent &e);
- void OnUpdateUI(wxUpdateUIEvent &event);
-
-public:
- /** Constructor */
- MemoryView( wxWindow* parent );
- void Clear();
- wxString GetExpression() const {return m_textCtrlExpression->GetValue();}
- size_t GetSize() const ;
- void SetViewString(const wxString &text);
-};
-
-#endif // __memoryview__
-
diff --git a/LiteEditor/memoryviewbase.cpp b/LiteEditor/memoryviewbase.cpp
deleted file mode 100644
index 29b006b2..00000000
--- a/LiteEditor/memoryviewbase.cpp
+++ /dev/null
@@ -1,105 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : memoryviewbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "memoryviewbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-MemoryViewBase::MemoryViewBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bSizer2->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT, 5 );
-
- m_textCtrlExpression = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
- bSizer2->Add( m_textCtrlExpression, 1, wxALL, 5 );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("Size:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer2->Add( m_staticText1, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT, 5 );
-
- m_textCtrlSize = new wxTextCtrl( this, wxID_ANY, wxT("32"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_textCtrlSize, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_textCtrlMemory = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_DONTWRAP|wxTE_MULTILINE|wxTE_RICH2 );
- m_textCtrlMemory->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) );
-
- bSizer3->Add( m_textCtrlMemory, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonEvaluate = new wxButton( this, wxID_ANY, wxT("Evaluate"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonEvaluate->SetDefault();
- bSizer4->Add( m_buttonEvaluate, 0, wxALL, 5 );
-
- m_buttonUpdate = new wxButton( this, wxID_ANY, wxT("Update"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonUpdate, 0, wxALL, 5 );
-
- bSizer3->Add( bSizer4, 0, 0, 5 );
-
- bSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_textCtrlExpression->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( MemoryViewBase::OnTextEntered ), NULL, this );
- m_textCtrlMemory->Connect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( MemoryViewBase::OnTextDClick ), NULL, this );
- m_buttonEvaluate->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MemoryViewBase::OnEvaluate ), NULL, this );
- m_buttonEvaluate->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( MemoryViewBase::OnEvaluateUI ), NULL, this );
- m_buttonUpdate->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MemoryViewBase::OnUpdate ), NULL, this );
-}
-
-MemoryViewBase::~MemoryViewBase()
-{
- // Disconnect Events
- m_textCtrlExpression->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( MemoryViewBase::OnTextEntered ), NULL, this );
- m_textCtrlMemory->Disconnect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( MemoryViewBase::OnTextDClick ), NULL, this );
- m_buttonEvaluate->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MemoryViewBase::OnEvaluate ), NULL, this );
- m_buttonEvaluate->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( MemoryViewBase::OnEvaluateUI ), NULL, this );
- m_buttonUpdate->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MemoryViewBase::OnUpdate ), NULL, this );
-}
diff --git a/LiteEditor/memoryviewbase.h b/LiteEditor/memoryviewbase.h
deleted file mode 100644
index dc457a5e..00000000
--- a/LiteEditor/memoryviewbase.h
+++ /dev/null
@@ -1,82 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : memoryviewbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __memoryviewbase__
-#define __memoryviewbase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class MemoryViewBase
-///////////////////////////////////////////////////////////////////////////////
-class MemoryViewBase : public wxPanel
-{
- private:
-
- protected:
- wxStaticText* m_staticText2;
- wxTextCtrl* m_textCtrlExpression;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_textCtrlSize;
- wxStaticLine* m_staticline1;
- wxTextCtrl* m_textCtrlMemory;
- wxButton* m_buttonEvaluate;
- wxButton* m_buttonUpdate;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnTextEntered( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnTextDClick( wxMouseEvent& event ){ event.Skip(); }
- virtual void OnEvaluate( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnEvaluateUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnUpdate( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- MemoryViewBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 596,300 ), long style = wxTAB_TRAVERSAL );
- ~MemoryViewBase();
-
-};
-
-#endif //__memoryviewbase__
diff --git a/LiteEditor/menu_event_handlers.cpp b/LiteEditor/menu_event_handlers.cpp
deleted file mode 100644
index 40475d88..00000000
--- a/LiteEditor/menu_event_handlers.cpp
+++ /dev/null
@@ -1,429 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : menu_event_handlers.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "menu_event_handlers.h"
-#include "cl_editor.h"
-#include "frame.h"
-
-//------------------------------------
-// Handle copy events
-//------------------------------------
-void EditHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- wxUnusedVar(event);
- LEditor *editor = (LEditor*)owner;
-
- // hide completion box
- editor->HideCompletionBox();
-
- if (event.GetId() == wxID_COPY) {
- editor->Copy();
- } else if (event.GetId() == wxID_CUT) {
- editor->Cut();
- } else if (event.GetId() == wxID_PASTE) {
- editor->Paste();
- } else if (event.GetId() == wxID_UNDO) {
- editor->Undo();
- } else if (event.GetId() == wxID_REDO) {
- editor->Redo();
- } else if (event.GetId() == wxID_SELECTALL) {
- editor->SelectAll();
- } else if (event.GetId() == wxID_DUPLICATE) {
- editor->SelectionDuplicate();
- } else if (event.GetId() == XRCID("delete_line_end")) {
- editor->DelLineRight();
- } else if (event.GetId() == XRCID("delete_line_start")) {
- editor->DelLineLeft();
- } else if (event.GetId() == XRCID("delete_line")) {
- editor->LineDelete();
- } else if (event.GetId() == XRCID("to_lower")) {
- editor->LowerCase();
- } else if (event.GetId() == XRCID("to_upper")) {
- editor->UpperCase();
- } else if (event.GetId() == XRCID("transpose_lines")) {
- editor->LineTranspose();
- } else if (event.GetId() == wxID_DELETE) {
- editor->DeleteBack();
- }
-}
-
-void EditHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
-
- if (event.GetId() == wxID_COPY || event.GetId() == XRCID("to_lower") || event.GetId() == XRCID("to_upper")) {
- event.Enable(editor && ( editor->GetSelectionStart() - editor->GetSelectionEnd() != 0 ));
- } else if (event.GetId() == wxID_CUT) {
- event.Enable(editor && ( editor->GetSelectionStart() - editor->GetSelectionEnd() != 0 ));
- } else if (event.GetId() == wxID_PASTE) {
-#ifdef __WXGTK__
- event.Enable(editor);
-#else
- event.Enable(editor && editor->CanPaste());
-#endif
- } else if (event.GetId() == wxID_UNDO) {
- event.Enable(editor && editor->CanUndo());
- } else if (event.GetId() == wxID_REDO) {
- event.Enable(editor && editor->CanRedo());
- } else if (event.GetId() == wxID_SELECTALL) {
- event.Enable(editor && editor->GetLength() > 0);
- } else if (event.GetId() == wxID_DUPLICATE || event.GetId() == wxID_DELETE) {
- event.Enable(true);
- } else {
- event.Enable(false);
- }
- event.Skip(false);
-}
-
-//------------------------------------
-// brace matching
-//------------------------------------
-void BraceMatchHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- if (event.GetId() == XRCID("select_to_brace")) {
- editor->MatchBraceAndSelect(true);
- } else {
- editor->MatchBraceAndSelect(false);
- }
-}
-
-void BraceMatchHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- event.Enable(editor &&editor->GetLength() > 0);
-}
-
-
-//------------------------------------
-// Find / Replace
-//------------------------------------
-void FindReplaceHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- if ( event.GetId() == wxID_FIND ) {
- editor->DoFindAndReplace(false);
- } else if ( event.GetId() == wxID_REPLACE ) {
- editor->DoFindAndReplace(true);
- } else {
- wxString selWord;
- if (event.GetId() == XRCID("find_next_at_caret") || event.GetId() == XRCID("find_previous_at_caret")) {
- wxString selection( editor->GetSelectedText() );
- if (selection.IsEmpty()) {
- // select the word
- selWord = editor->GetWordAtCaret();
- }
- }
-
- FindReplaceDialog *dlg = LEditor::GetFindReplaceDialog();
- FindReplaceData *data;
- if (!dlg) {
- data = &LEditor::GetFindReplaceData();
- } else {
- data = &dlg->GetData();
- }
-
- // if we have a selected text, use that text instead of one
- // from the dialog
- if (editor->GetSelectedText().IsEmpty() == false || selWord.IsEmpty() == false) {
-
- if(selWord.IsEmpty()) {
- data->SetFindString(editor->GetSelectedText());
- }else{
- // set the word to search from the word under the caret
- // also set the current search position accordingly
- if(event.GetId() == XRCID("find_next_at_caret")){
- // search is going forward, so place the current position at the start of the word
- editor->SetCurrentPos(editor->WordStartPosition(editor->GetCurrentPos(), true));
- } else {
- // search is going backward
- editor->SetCurrentPos(editor->WordEndPosition(editor->GetCurrentPos(), true));
- }
- data->SetFindString(selWord);
- }
- if (dlg) {
- dlg->GetData().SetFindString(editor->GetSelectedText());
- }
- }
-
- if (data->GetFindString().IsEmpty()) {
- return;
- }
-
- if (event.GetId() == XRCID("find_next") || event.GetId() == XRCID("find_next_at_caret")) {
- // set search direction down
- data->SetFlags(data->GetFlags() & ~(wxFRD_SEARCHUP));
- editor->FindNext( *data );
-
- } else if ( event.GetId() == XRCID("find_previous") || event.GetId() == XRCID("find_previous_at_caret")) {
- // set search direction up
- data->SetFlags(data->GetFlags() | wxFRD_SEARCHUP);
- editor->FindNext( *data );
- }
- }
-}
-
-void FindReplaceHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- wxUnusedVar(owner);
- wxUnusedVar(event);
-}
-
-//----------------------------------
-// goto linenumber
-//----------------------------------
-
-void GotoHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- wxUnusedVar(event);
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- wxString msg;
- msg.Printf(wxT("Go to line number (1 - %ld):"), editor->GetLineCount());
-
- while ( 1 ) {
- wxTextEntryDialog dlg(editor, msg, wxT("Go To Line"));
- dlg.SetTextValidator(wxFILTER_NUMERIC);
-
- if (dlg.ShowModal() == wxID_OK) {
- wxString val = dlg.GetValue();
- long line;
- if (!val.ToLong(&line)) {
- wxString err;
- err.Printf(wxT("'%s' is not a valid line number"), val.GetData());
- wxMessageBox (err, wxT("Go To Line"), wxOK | wxICON_INFORMATION);
- continue;
- }
-
- if (line > editor->GetLineCount()) {
- wxString err;
- err.Printf(wxT("Please insert a line number in the range of (1 - %ld)"), editor->GetLineCount());
- wxMessageBox (err, wxT("Go To Line"), wxOK | wxICON_INFORMATION);
- continue;
- }
-
- if (line > 0) {
- editor->GotoLine(line - 1);
- editor->EnsureVisible(line - 1);
- break;
- } else {
- editor->GotoLine(0);
- break;
- }
- } else {
- // wxID_CANCEL
- return;
- }
- }
- editor->SetActive();
-}
-
-void GotoHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- wxUnusedVar(event);
- wxUnusedVar(owner);
-}
-
-//------------------------------------
-// Bookmarks
-//------------------------------------
-void BookmarkHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- if (event.GetId() == XRCID("toggle_bookmark")) {
- editor->ToggleMarker();
- } else if (event.GetId() == XRCID("next_bookmark")) {
- editor->FindNextMarker();
- } else if (event.GetId() == XRCID("previous_bookmark")) {
- editor->FindPrevMarker();
- } else if (event.GetId() == XRCID("removeall_bookmarks")) {
- editor->DelAllMarkers();
- }
-}
-
-void BookmarkHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- wxUnusedVar(owner);
- wxUnusedVar(event);
-}
-
-
-//------------------------------------
-// Go to definition
-//------------------------------------
-void GotoDefinitionHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- if (event.GetId() == XRCID("goto_definition")) {
- editor->GotoDefinition();
- } else if (event.GetId() == XRCID("goto_previous_definition")) {
- editor->GotoPreviousDefintion();
- }
-
-}
-
-void GotoDefinitionHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if (event.GetId() == XRCID("goto_previous_definition")) {
- event.Enable(editor && editor->CanGotoPreviousDefintion());
- } else {
- event.Enable(editor != NULL);
- }
-}
-
-//-------------------------------------------------
-// View As
-//-------------------------------------------------
-
-void ViewAsHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- wxString lexName = Frame::Get()->GetViewAsLanguageById(event.GetInt());
- if (lexName.IsEmpty() == false) {
- editor->SetSyntaxHighlight(lexName);
- }
-}
-
-void ViewAsHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- event.Enable(true);
- wxString lexName = Frame::Get()->GetViewAsLanguageById(event.GetInt());
- event.Check(editor->GetContext()->GetName() == lexName);
-}
-
-//----------------------------------------------------
-// Word wrap handler
-//----------------------------------------------------
-
-void WordWrapHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- event.Enable(false);
- return;
- }
-
- event.Enable(true);
- event.Check(editor->GetWrapMode() != wxSCI_WRAP_NONE);
-}
-
-void WordWrapHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- editor->SetWrapMode(event.IsChecked() ? wxSCI_WRAP_WORD : wxSCI_WRAP_NONE);
-}
-//----------------------------------------------------
-// Fold handler
-//----------------------------------------------------
-
-void FoldHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- wxUnusedVar(event);
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- if (event.GetId() == XRCID("toggle_fold")) editor->ToggleCurrentFold();
- else editor->FoldAll();
-}
-
-void FoldHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- wxUnusedVar(owner);
- wxUnusedVar(event);
-}
-
-void DebuggerMenuHandler::ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event)
-{
- LEditor *editor = dynamic_cast<LEditor*>(owner);
- if ( !editor ) {
- return;
- }
-
- if (event.GetId() == XRCID("add_breakpoint")) {
- editor->AddBreakpoint();
- }
- if (event.GetId() == XRCID("insert_breakpoint")) {
- editor->ToggleBreakpoint();
- }
- if ((event.GetId() == XRCID("insert_temp_breakpoint"))
- || (event.GetId() == XRCID("insert_cond_breakpoint"))) {
- editor->AddOtherBreakpointType(event);
- }
- if (event.GetId() == XRCID("delete_breakpoint")) {
- editor->DelBreakpoint();
- }
-
- if (event.GetId() == XRCID("toggle_breakpoint_enabled_status")) {
- editor->ToggleBreakpointEnablement();
- }
-
- if (event.GetId() == XRCID("ignore_breakpoint")) {
- editor->OnIgnoreBreakpoint();
- }
-
- if (event.GetId() == XRCID("edit_breakpoint")) {
- editor->OnEditBreakpoint();
- }
-}
-
-void DebuggerMenuHandler::ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event)
-{
- wxUnusedVar(owner);
- wxUnusedVar(event);
-}
diff --git a/LiteEditor/menu_event_handlers.h b/LiteEditor/menu_event_handlers.h
deleted file mode 100644
index 9204d1b2..00000000
--- a/LiteEditor/menu_event_handlers.h
+++ /dev/null
@@ -1,199 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : menu_event_handlers.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef MENU_EVENT_HANDLERS_H
-#define MENU_EVENT_HANDLERS_H
-
-#include "wx/event.h"
-#include "smart_ptr.h"
-#include <wx/xrc/xmlres.h>
-
-/**
- * The interface for menu event handler classes
- */
-class MenuEventHandler
-{
-protected:
- int m_id;
-
-public:
- MenuEventHandler(int id) : m_id(id) {};
- virtual ~MenuEventHandler(){};
-
- // handle an event
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event) = 0;
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event) = 0;
-
- // Setters/Getters
- const int &GetEventId() const { return m_id; }
- void SetEventId(const int &id) { m_id = id; }
-};
-
-typedef SmartPtr<MenuEventHandler> MenuEventHandlerPtr;
-
-//-----------------------------------------------------------------
-// Define here a class per event/group
-//-----------------------------------------------------------------
-
-//------------------------------------
-// Common edit tasks
-//------------------------------------
-class EditHandler : public MenuEventHandler
-{
-public:
- EditHandler(int id) : MenuEventHandler(id){};
- virtual ~EditHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-
-//------------------------------------
-// Brace matching
-//------------------------------------
-class BraceMatchHandler : public MenuEventHandler
-{
-public:
- BraceMatchHandler(int id) : MenuEventHandler(id){};
- virtual ~BraceMatchHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-
-//------------------------------------
-// Find / Repalce
-//------------------------------------
-class FindReplaceHandler : public MenuEventHandler
-{
-public:
- FindReplaceHandler(int id) : MenuEventHandler(id){};
- virtual ~FindReplaceHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-
-//------------------------------------
-// Goto
-//------------------------------------
-class GotoHandler : public MenuEventHandler
-{
-public:
- GotoHandler(int id) : MenuEventHandler(id){};
- virtual ~GotoHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-
-//------------------------------------
-// Bookmarks
-//------------------------------------
-class BookmarkHandler : public MenuEventHandler
-{
-public:
- BookmarkHandler(int id) : MenuEventHandler(id){};
- virtual ~BookmarkHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-
-//------------------------------------
-// Go to definition
-//------------------------------------
-class GotoDefinitionHandler : public MenuEventHandler
-{
-public:
- GotoDefinitionHandler(int id) : MenuEventHandler(id){};
- virtual ~GotoDefinitionHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-
-//-------------------------------------------------
-// View As
-//-------------------------------------------------
-class ViewAsHandler : public MenuEventHandler
-{
-public:
- ViewAsHandler(int id) : MenuEventHandler(id){};
- virtual ~ViewAsHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-//-------------------------------------------------
-// Word wrap
-//-------------------------------------------------
-class WordWrapHandler : public MenuEventHandler
-{
-public:
- WordWrapHandler(int id) : MenuEventHandler(id){};
- virtual ~WordWrapHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-
-//-------------------------------------------------
-// Folding
-//-------------------------------------------------
-class FoldHandler : public MenuEventHandler
-{
-public:
- FoldHandler(int id) : MenuEventHandler(id){};
- virtual ~FoldHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-
-//-------------------------------------------------
-// Debugger handler
-//-------------------------------------------------
-class DebuggerMenuHandler : public MenuEventHandler
-{
-public:
- DebuggerMenuHandler(int id) : MenuEventHandler(id){};
- virtual ~DebuggerMenuHandler(){};
-
-public:
- virtual void ProcessCommandEvent(wxWindow *owner, wxCommandEvent &event);
- virtual void ProcessUpdateUIEvent(wxWindow *owner, wxUpdateUIEvent &event);
-};
-
-#endif // MENU_EVENT_HANDLERS_H
-
diff --git a/LiteEditor/menumanager.cpp b/LiteEditor/menumanager.cpp
deleted file mode 100644
index 924f16e4..00000000
--- a/LiteEditor/menumanager.cpp
+++ /dev/null
@@ -1,80 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : menumanager.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "menumanager.h"
-#include "menu_event_handlers.h"
-#include "macros.h"
-
-
-MenuManager::MenuManager(void)
-{
- PushHandler(new EditHandler(wxID_COPY));
- PushHandler(new EditHandler(wxID_CUT));
- PushHandler(new EditHandler(wxID_PASTE));
- PushHandler(new EditHandler(wxID_UNDO));
- PushHandler(new EditHandler(wxID_REDO));
- PushHandler(new EditHandler(wxID_SELECTALL));
- PushHandler(new EditHandler(wxID_DUPLICATE));
- PushHandler(new EditHandler(wxID_DELETE));
- PushHandler(new EditHandler(XRCID("delete_line")));
- PushHandler(new EditHandler(XRCID("delete_line_end")));
- PushHandler(new EditHandler(XRCID("delete_line_start")));
- PushHandler(new EditHandler(XRCID("transpose_lines")));
- PushHandler(new EditHandler(XRCID("to_upper")));
- PushHandler(new EditHandler(XRCID("to_lower")));
- PushHandler(new EditHandler(XRCID("swap_files")));
- PushHandler(new BraceMatchHandler(XRCID("select_to_brace")));
- PushHandler(new BraceMatchHandler(XRCID("match_brace")));
- PushHandler(new FindReplaceHandler(wxID_FIND));
- PushHandler(new FindReplaceHandler(wxID_REPLACE));
- PushHandler(new FindReplaceHandler(XRCID("find_next")));
- PushHandler(new FindReplaceHandler(XRCID("find_next_at_caret")));
- PushHandler(new FindReplaceHandler(XRCID("find_previous_at_caret")));
- PushHandler(new FindReplaceHandler(XRCID("find_previous")));
- PushHandler(new GotoHandler(XRCID("goto_linenumber")));
- PushHandler(new BookmarkHandler(XRCID("toggle_bookmark")));
- PushHandler(new BookmarkHandler(XRCID("next_bookmark")));
- PushHandler(new BookmarkHandler(XRCID("previous_bookmark")));
- PushHandler(new BookmarkHandler(XRCID("removeall_bookmarks")));
- PushHandler(new GotoDefinitionHandler(XRCID("goto_definition")));
- PushHandler(new GotoDefinitionHandler(XRCID("goto_previous_definition")));
- PushHandler(new ViewAsHandler(viewAsMenuItemID));
- PushHandler(new WordWrapHandler(XRCID("word_wrap")));
- PushHandler(new FoldHandler(XRCID("toggle_fold")));
- PushHandler(new FoldHandler(XRCID("fold_all")));
- PushHandler(new DebuggerMenuHandler(XRCID("add_breakpoint")));
- PushHandler(new DebuggerMenuHandler(XRCID("insert_breakpoint"))); // This actually does 'toggle'
- PushHandler(new DebuggerMenuHandler(XRCID("insert_temp_breakpoint")));
- PushHandler(new DebuggerMenuHandler(XRCID("insert_cond_breakpoint")));
- PushHandler(new DebuggerMenuHandler(XRCID("insert_watchpoint")));
- PushHandler(new DebuggerMenuHandler(XRCID("toggle_breakpoint_enabled_status")));
- PushHandler(new DebuggerMenuHandler(XRCID("ignore_breakpoint")));
- PushHandler(new DebuggerMenuHandler(XRCID("edit_breakpoint")));
- PushHandler(new DebuggerMenuHandler(XRCID("delete_breakpoint")));
- PushHandler(new DebuggerMenuHandler(XRCID("show_breakpoint_dlg")));
-}
-
-MenuManager::~MenuManager(void)
-{
-}
diff --git a/LiteEditor/menumanager.h b/LiteEditor/menumanager.h
deleted file mode 100644
index b044fc87..00000000
--- a/LiteEditor/menumanager.h
+++ /dev/null
@@ -1,61 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : menumanager.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef MENUMANAGER_H
-#define MENUMANAGER_H
-
-#include "singleton.h"
-#include "menu_event_handlers.h"
-#include "smart_ptr.h"
-#include <map>
-
-//-------------------------------------------------
-// The menu event manager.
-//-------------------------------------------------
-
-class MenuManager : public Singleton<MenuManager>
-{
- friend class Singleton<MenuManager>;
- std::map<int, MenuEventHandlerPtr> m_handlers;
-public:
-
- // register new event handler
- void PushHandler(MenuEventHandlerPtr handler){
- m_handlers[handler->GetEventId()] = handler;
- };
-
- MenuEventHandlerPtr GetHandler(int id) {
- std::map<wxEventType, MenuEventHandlerPtr>::iterator iter = m_handlers.find(id);
- if( iter != m_handlers.end() )
- return iter->second;
- return NULL;
- };
-
-private:
- MenuManager(void);
- virtual ~MenuManager(void);
-};
-
-#endif // MENUMANAGER_H
-
diff --git a/LiteEditor/message_pane.cpp b/LiteEditor/message_pane.cpp
deleted file mode 100644
index 3d408977..00000000
--- a/LiteEditor/message_pane.cpp
+++ /dev/null
@@ -1,222 +0,0 @@
-#include "message_pane.h"
-#include <wx/msgdlg.h>
-#include <wx/xrc/xmlres.h>
-#include <wx/dcbuffer.h>
-
-MessagePane::MessagePane( wxWindow* parent )
- : MessagePaneBase( parent )
-{
- m_bitmap1->SetBitmap(wxXmlResource::Get()->LoadBitmap(wxT("message_pane_inf")));
- m_buttonAction->Hide();
- Hide();
-}
-
-void MessagePane::OnKeyDown( wxKeyEvent& event )
-{
- if (event.GetKeyCode() == WXK_ESCAPE) {
- DoHide();
-
- } else
- event.Skip();
-}
-
-void MessagePane::OnButtonClose( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- DoShowNextMessage();
-}
-
-void MessagePane::DoHide()
-{
- if (IsShown()) {
- // Hide all default controls
- m_buttonAction->Hide();
- m_buttonAction1->Hide();
- m_buttonAction2->Hide();
-
- m_messages.Clear();
- Hide();
- GetParent()->GetSizer()->Layout();
- }
-}
-
-void MessagePane::DoShowCurrentMessage()
-{
- MessageDetails msg = m_messages.CurrentMessage();
- wxString txt = msg.message;
-
- m_buttonAction->Hide();
- m_buttonAction1->Hide();
- m_buttonAction2->Hide();
-
- bool hasDefaultButton (false);
- if(msg.bmp.IsOk() == false)
- m_bitmap1->SetBitmap(wxXmlResource::Get()->LoadBitmap(wxT("message_pane_inf")));
- else
- m_bitmap1->SetBitmap(msg.bmp);
-
- // display the buttons
- if (msg.btn1.buttonLabel.IsEmpty() == false) {
- m_buttonAction->SetLabel(msg.btn1.buttonLabel);
- m_buttonAction->Show();
- if(msg.btn1.isDefault){
- m_buttonAction->SetDefault();
- m_buttonAction->SetFocus();
- hasDefaultButton = true;
- }
- }
-
- if (msg.btn2.buttonLabel.IsEmpty() == false) {
- m_buttonAction1->SetLabel(msg.btn2.buttonLabel);
- m_buttonAction1->Show();
- if(msg.btn2.isDefault){
- m_buttonAction1->SetDefault();
- m_buttonAction1->SetFocus();
- hasDefaultButton = true;
- }
- }
-
- if (msg.btn3.buttonLabel.IsEmpty() == false) {
- m_buttonAction2->SetLabel(msg.btn3.buttonLabel);
- m_buttonAction2->Show();
- if(msg.btn3.isDefault){
- m_buttonAction2->SetDefault();
- m_buttonAction2->SetFocus();
- hasDefaultButton = true;
- }
- }
-
- // Show hide button if needed and make the default if there is
- // no default button
- if(msg.showHideButton) {
- m_buttonClose->Show();
- if(!hasDefaultButton) {
- m_buttonClose->SetDefault();
- m_buttonClose->SetFocus();
- }
- } else {
- m_buttonClose->Hide();
- }
-
- m_staticTextMessage->SetLabel(txt);
- if (IsShown() == false) {
- Show();
- }
-
- GetSizer()->Fit(this);
- GetParent()->GetSizer()->Layout();
- GetParent()->Refresh();
-}
-
-void MessagePane::ShowMessage(const wxString &message, bool showHideButton, const wxBitmap &bmp, const ButtonDetails& btn1, const ButtonDetails& btn2, const ButtonDetails& btn3)
-{
- MessageDetails msg;
- msg.message = message;
- msg.btn1 = btn1;
- msg.btn2 = btn2;
- msg.btn3 = btn3;
- msg.bmp = bmp;
- msg.showHideButton = showHideButton;
- m_messages.PushMessage(msg);
- DoShowCurrentMessage();
-}
-
-void MessagePane::OnActionButton(wxCommandEvent& event)
-{
- MessageDetails msg = m_messages.CurrentMessage();
- DoPostEvent(msg.btn1);
- DoShowNextMessage();
-}
-
-void MessagePane::DoShowNextMessage()
-{
- m_messages.PopMessage();
- if (m_messages.IsEmpty()) {
- DoHide();
- return;
- }
-
- DoShowCurrentMessage();
-}
-
-/////////////////////////////////////////////////////////////////////////////
-//
-
-void MessagePaneData::Clear()
-{
- m_queue.clear();
-}
-
-MessageDetails MessagePaneData::CurrentMessage()
-{
- if (m_queue.empty())
- return MessageDetails();
-
- return m_queue.back();
-}
-
-bool MessagePaneData::IsEmpty()
-{
- return m_queue.empty();
-}
-
-void MessagePaneData::PopMessage()
-{
- if (m_queue.empty())
- return;
-
- m_queue.pop_back();
-}
-
-void MessagePaneData::PushMessage(const MessageDetails& msg)
-{
- m_queue.push_back(msg);
-}
-
-void MessagePane::OnEraseBG(wxEraseEvent& event)
-{
- wxUnusedVar(event);
-}
-
-void MessagePane::OnPaint(wxPaintEvent& event)
-{
- wxBufferedPaintDC dc(this);
-// wxRect rr = GetClientRect();
-//
-// dc.SetPen( wxPen (wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)));
-// dc.SetBrush(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)));
-// dc.DrawRectangle(rr);
-//
-// rr.Deflate(1);
-// dc.SetPen(wxPen( *wxRED_PEN ));
-// dc.SetBrush( *wxTRANSPARENT_BRUSH );
-//
-// dc.DrawRectangle(rr);
-}
-
-void MessagePane::OnActionButton1(wxCommandEvent& event)
-{
- MessageDetails msg = m_messages.CurrentMessage();
- DoPostEvent(msg.btn2);
- DoShowNextMessage();
-}
-
-void MessagePane::OnActionButton2(wxCommandEvent& event)
-{
- MessageDetails msg = m_messages.CurrentMessage();
- DoPostEvent(msg.btn3);
- DoShowNextMessage();
-}
-
-void MessagePane::DoPostEvent(ButtonDetails btn)
-{
- if (btn.commandId != wxNOT_FOUND && btn.window) {
- if(btn.menuCommand) {
- wxCommandEvent evt(wxEVT_COMMAND_MENU_SELECTED, btn.commandId);
- btn.window->AddPendingEvent(evt);
- } else {
- wxCommandEvent evt(btn.commandId);
- btn.window->AddPendingEvent(evt);
- }
- }
-}
diff --git a/LiteEditor/message_pane.h b/LiteEditor/message_pane.h
deleted file mode 100644
index 18e16d05..00000000
--- a/LiteEditor/message_pane.h
+++ /dev/null
@@ -1,90 +0,0 @@
-#ifndef __message_pane__
-#define __message_pane__
-
-/**
-@file
-Subclass of MessagePaneBase, which is generated by wxFormBuilder.
-*/
-
-#include "messagepane_base.h"
-#include <vector>
-
-class ButtonDetails
-{
-public:
- wxString buttonLabel;
- int commandId;
- wxEvtHandler* window;
- bool menuCommand;
- bool isDefault;
-
-public:
- ButtonDetails() : buttonLabel(wxT("")), commandId(wxNOT_FOUND), window(NULL), menuCommand(true)
- {}
- ~ButtonDetails()
- {}
-};
-
-class MessageDetails
-{
-public:
- wxString message;
- wxBitmap bmp;
- ButtonDetails btn1;
- ButtonDetails btn2;
- ButtonDetails btn3;
- bool showHideButton;
-
-public:
- MessageDetails() : bmp(wxNullBitmap), showHideButton(true)
- {}
-
- ~MessageDetails()
- {}
-};
-
-class MessagePaneData
-{
- std::vector<MessageDetails> m_queue;
-public:
- MessagePaneData() {}
- ~MessagePaneData() {
- Clear();
- }
-
- void PushMessage(const MessageDetails &msg);
- void PopMessage();
- MessageDetails CurrentMessage();
- void Clear();
- bool IsEmpty();
-};
-
-/** Implementing MessagePaneBase */
-class MessagePane : public MessagePaneBase
-{
- MessagePaneData m_messages;
-
-protected:
- // Handlers for MessagePaneBase events.
- void OnKeyDown( wxKeyEvent& event );
- void OnButtonClose( wxCommandEvent& event );
- void OnActionButton( wxCommandEvent& event );
- void OnActionButton1( wxCommandEvent& event );
- void OnActionButton2( wxCommandEvent& event );
-
- void OnEraseBG( wxEraseEvent& event );
- void OnPaint( wxPaintEvent& event );
-
- void DoHide();
- void DoShowNextMessage();
- void DoShowCurrentMessage();
- void DoPostEvent(ButtonDetails btn);
-
-public:
- /** Constructor */
- MessagePane( wxWindow* parent );
-
- void ShowMessage(const wxString &message, bool showHideButton = true, const wxBitmap &bmp = wxNullBitmap, const ButtonDetails& btn1 = ButtonDetails(), const ButtonDetails& btn2 = ButtonDetails(), const ButtonDetails& btn3 = ButtonDetails());
-};
-
-#endif // __message_pane__
diff --git a/LiteEditor/messagepane.fbp b/LiteEditor/messagepane.fbp
deleted file mode 100644
index 8c82d76d..00000000
--- a/LiteEditor/messagepane.fbp
+++ /dev/null
@@ -1,679 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">messagepane_base</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">MessagePane</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">MessagePaneBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground">OnEraseBG</event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint">OnPaint</event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer8</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">0</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxPanel" expanded="1">
- <property name="bg">wxSYS_COLOUR_INFOBK</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_panel2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxSIMPLE_BORDER|wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">1</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer81</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer4</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticBitmap" expanded="1">
- <property name="bg"></property>
- <property name="bitmap"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_bitmap1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size">48,48</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">1</property>
- <object class="wxPanel" expanded="1">
- <property name="bg">wxSYS_COLOUR_INFOBK</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_panel1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL|wxWANTS_CHARS</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer2</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">1</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer3</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg">wxSYS_COLOUR_INFOBK</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg">wxSYS_COLOUR_INFOTEXT</property>
- <property name="font">,90,92,-1,70,0</property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Message:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg">wxSYS_COLOUR_INFOBK</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg">wxSYS_COLOUR_INFOTEXT</property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticTextMessage</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxRIGHT|wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL|wxLI_VERTICAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer7</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_CANCEL</property>
- <property name="label">Hide</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonClose</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnButtonClose</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonAction</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnActionButton</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonAction1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnActionButton1</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonAction2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnActionButton2</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/messagepane_base.cpp b/LiteEditor/messagepane_base.cpp
deleted file mode 100644
index 12348714..00000000
--- a/LiteEditor/messagepane_base.cpp
+++ /dev/null
@@ -1,115 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "messagepane_base.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-MessagePaneBase::MessagePaneBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxVERTICAL );
-
- m_panel2 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER|wxTAB_TRAVERSAL );
- m_panel2->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bSizer81;
- bSizer81 = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_bitmap1 = new wxStaticBitmap( m_panel2, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 48,48 ), 0 );
- bSizer4->Add( m_bitmap1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_panel1 = new wxPanel( m_panel2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL|wxWANTS_CHARS );
- m_panel1->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText2 = new wxStaticText( m_panel1, wxID_ANY, _("Message:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- m_staticText2->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
- m_staticText2->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOTEXT ) );
- m_staticText2->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) );
-
- bSizer3->Add( m_staticText2, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticTextMessage = new wxStaticText( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextMessage->Wrap( -1 );
- m_staticTextMessage->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOTEXT ) );
- m_staticTextMessage->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) );
-
- bSizer3->Add( m_staticTextMessage, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- bSizer2->Add( bSizer3, 1, wxALIGN_CENTER_VERTICAL, 5 );
-
- m_panel1->SetSizer( bSizer2 );
- m_panel1->Layout();
- bSizer2->Fit( m_panel1 );
- bSizer4->Add( m_panel1, 1, wxEXPAND|wxALL, 5 );
-
- m_staticline3 = new wxStaticLine( m_panel2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL|wxLI_VERTICAL );
- bSizer4->Add( m_staticline3, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonClose = new wxButton( m_panel2, wxID_CANCEL, _("Hide"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_buttonClose, 0, wxEXPAND|wxALL, 5 );
-
- m_buttonAction = new wxButton( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonAction->SetDefault();
- bSizer7->Add( m_buttonAction, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL, 5 );
-
- m_buttonAction1 = new wxButton( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_buttonAction1, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL, 5 );
-
- m_buttonAction2 = new wxButton( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_buttonAction2, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL, 5 );
-
- bSizer4->Add( bSizer7, 0, wxALIGN_CENTER_VERTICAL, 5 );
-
- bSizer81->Add( bSizer4, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- mainSizer->Add( bSizer81, 1, wxALIGN_CENTER_VERTICAL, 5 );
-
- m_panel2->SetSizer( mainSizer );
- m_panel2->Layout();
- mainSizer->Fit( m_panel2 );
- bSizer8->Add( m_panel2, 1, wxEXPAND, 0 );
-
- this->SetSizer( bSizer8 );
- this->Layout();
- bSizer8->Fit( this );
-
- // Connect Events
- this->Connect( wxEVT_ERASE_BACKGROUND, wxEraseEventHandler( MessagePaneBase::OnEraseBG ) );
- this->Connect( wxEVT_PAINT, wxPaintEventHandler( MessagePaneBase::OnPaint ) );
- m_buttonClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MessagePaneBase::OnButtonClose ), NULL, this );
- m_buttonAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MessagePaneBase::OnActionButton ), NULL, this );
- m_buttonAction1->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MessagePaneBase::OnActionButton1 ), NULL, this );
- m_buttonAction2->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MessagePaneBase::OnActionButton2 ), NULL, this );
-}
-
-MessagePaneBase::~MessagePaneBase()
-{
- // Disconnect Events
- this->Disconnect( wxEVT_ERASE_BACKGROUND, wxEraseEventHandler( MessagePaneBase::OnEraseBG ) );
- this->Disconnect( wxEVT_PAINT, wxPaintEventHandler( MessagePaneBase::OnPaint ) );
- m_buttonClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MessagePaneBase::OnButtonClose ), NULL, this );
- m_buttonAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MessagePaneBase::OnActionButton ), NULL, this );
- m_buttonAction1->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MessagePaneBase::OnActionButton1 ), NULL, this );
- m_buttonAction2->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MessagePaneBase::OnActionButton2 ), NULL, this );
-}
diff --git a/LiteEditor/messagepane_base.h b/LiteEditor/messagepane_base.h
deleted file mode 100644
index 3bdc9f34..00000000
--- a/LiteEditor/messagepane_base.h
+++ /dev/null
@@ -1,66 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __messagepane_base__
-#define __messagepane_base__
-
-#include <wx/intl.h>
-
-#include <wx/bitmap.h>
-#include <wx/image.h>
-#include <wx/icon.h>
-#include <wx/statbmp.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class MessagePaneBase
-///////////////////////////////////////////////////////////////////////////////
-class MessagePaneBase : public wxPanel
-{
- private:
-
- protected:
- wxPanel* m_panel2;
- wxStaticBitmap* m_bitmap1;
- wxPanel* m_panel1;
- wxStaticText* m_staticText2;
- wxStaticText* m_staticTextMessage;
- wxStaticLine* m_staticline3;
- wxButton* m_buttonClose;
- wxButton* m_buttonAction;
- wxButton* m_buttonAction1;
- wxButton* m_buttonAction2;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnEraseBG( wxEraseEvent& event ) { event.Skip(); }
- virtual void OnPaint( wxPaintEvent& event ) { event.Skip(); }
- virtual void OnButtonClose( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnActionButton( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnActionButton1( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnActionButton2( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- MessagePaneBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~MessagePaneBase();
-
-};
-
-#endif //__messagepane_base__
diff --git a/LiteEditor/movefuncimplbasedlg.cpp b/LiteEditor/movefuncimplbasedlg.cpp
deleted file mode 100644
index 2a3268cf..00000000
--- a/LiteEditor/movefuncimplbasedlg.cpp
+++ /dev/null
@@ -1,119 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : movefuncimplbasedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "movefuncimplbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-MoveFuncImplBaseDlg::MoveFuncImplBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Select file to place the function implementation:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- bSizer7->Add( m_staticText4, 0, wxALL|wxEXPAND, 5 );
-
- m_filePicker = new FilePicker(this);
- bSizer7->Add( m_filePicker, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText5 = new wxStaticText( this, wxID_ANY, wxT("Function's implementation (you can edit the below code):"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- bSizer7->Add( m_staticText5, 0, wxALL, 5 );
-
- m_preview = new wxScintilla( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, wxEmptyString );
- m_preview->SetUseTabs( true );
- m_preview->SetTabWidth( 4 );
- m_preview->SetIndent( 4 );
- m_preview->SetTabIndents( true );
- m_preview->SetBackSpaceUnIndents( true );
- m_preview->SetViewEOL( false );
- m_preview->SetViewWhiteSpace( false );
- m_preview->SetMarginWidth( 2, 0 );
- m_preview->SetIndentationGuides( true );
- m_preview->SetMarginType( 1, wxSCI_MARGIN_SYMBOL );
- m_preview->SetMarginMask( 1, wxSCI_MASK_FOLDERS );
- m_preview->SetMarginWidth( 1, 16);
- m_preview->SetMarginSensitive( 1, true );
- m_preview->SetProperty( wxT("fold"), wxT("1") );
- m_preview->SetFoldFlags( wxSCI_FOLDFLAG_LINEBEFORE_CONTRACTED | wxSCI_FOLDFLAG_LINEAFTER_CONTRACTED );
- m_preview->SetMarginType( 0, wxSCI_MARGIN_NUMBER );
- m_preview->SetMarginWidth( 0, m_preview->TextWidth( wxSCI_STYLE_LINENUMBER, wxT("_99999") ) );
- m_preview->StyleSetFont( wxSCI_STYLE_DEFAULT, wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) );
- m_preview->MarkerDefine( wxSCI_MARKNUM_FOLDER, wxSCI_MARK_BOXPLUS );
- m_preview->MarkerSetBackground( wxSCI_MARKNUM_FOLDER, wxColour( wxT("BLACK") ) );
- m_preview->MarkerSetForeground( wxSCI_MARKNUM_FOLDER, wxColour( wxT("WHITE") ) );
- m_preview->MarkerDefine( wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_BOXMINUS );
- m_preview->MarkerSetBackground( wxSCI_MARKNUM_FOLDEROPEN, wxColour( wxT("BLACK") ) );
- m_preview->MarkerSetForeground( wxSCI_MARKNUM_FOLDEROPEN, wxColour( wxT("WHITE") ) );
- m_preview->MarkerDefine( wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_EMPTY );
- m_preview->MarkerDefine( wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_BOXPLUS );
- m_preview->MarkerSetBackground( wxSCI_MARKNUM_FOLDEREND, wxColour( wxT("BLACK") ) );
- m_preview->MarkerSetForeground( wxSCI_MARKNUM_FOLDEREND, wxColour( wxT("WHITE") ) );
- m_preview->MarkerDefine( wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_BOXMINUS );
- m_preview->MarkerSetBackground( wxSCI_MARKNUM_FOLDEROPENMID, wxColour( wxT("BLACK") ) );
- m_preview->MarkerSetForeground( wxSCI_MARKNUM_FOLDEROPENMID, wxColour( wxT("WHITE") ) );
- m_preview->MarkerDefine( wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_EMPTY );
- m_preview->MarkerDefine( wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_EMPTY );
- m_preview->SetSelBackground( true, wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHT ) );
- m_preview->SetSelForeground( true, wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHTTEXT ) );
- m_preview->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) );
-
- bSizer7->Add( m_preview, 1, wxEXPAND | wxALL, 5 );
-
- bSizer6->Add( bSizer7, 1, wxEXPAND, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer6->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttoncancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_buttoncancel, 0, wxALL, 5 );
-
- bSizer6->Add( bSizer8, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer6 );
- this->Layout();
-
- // Connect Events
- m_buttonOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MoveFuncImplBaseDlg::OnButtonOK ), NULL, this );
- m_buttoncancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( MoveFuncImplBaseDlg::OnButtonCancel ), NULL, this );
-}
diff --git a/LiteEditor/movefuncimplbasedlg.h b/LiteEditor/movefuncimplbasedlg.h
deleted file mode 100644
index a08a5052..00000000
--- a/LiteEditor/movefuncimplbasedlg.h
+++ /dev/null
@@ -1,80 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : movefuncimplbasedlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __movefuncimplbasedlg__
-#define __movefuncimplbasedlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include "filepicker.h"
-#include <wx/wxscintilla.h>
-#ifdef __VISUALC__
-#include <wx/link_additions.h>
-#endif //__VISUALC__
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class MoveFuncImplBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class MoveFuncImplBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText4;
- FilePicker *m_filePicker;
- wxStaticText* m_staticText5;
- wxScintilla* m_preview;
- wxStaticLine* m_staticline2;
- wxButton* m_buttonOK;
- wxButton* m_buttoncancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- MoveFuncImplBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Move Function Implementation Preview"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 746,422 ), long style = wxDEFAULT_DIALOG_STYLE );
-
-};
-
-#endif //__movefuncimplbasedlg__
diff --git a/LiteEditor/movefuncimpldlg.cpp b/LiteEditor/movefuncimpldlg.cpp
deleted file mode 100644
index 58dfb720..00000000
--- a/LiteEditor/movefuncimpldlg.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : movefuncimpldlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "wx/filename.h"
-#include "movefuncimpldlg.h"
-
-MoveFuncImplDlg::MoveFuncImplDlg( wxWindow* parent, const wxString &text, const wxString &fileName )
-: MoveFuncImplBaseDlg( parent )
-{
- m_preview->SetText(text);
- m_filePicker->SetPath(fileName);
- m_preview->SetFocus();
- Centre();
-}
-
-void MoveFuncImplDlg::SetText(const wxString &text)
-{
- m_preview->SetText(text);
-}
-
-wxString MoveFuncImplDlg::GetText()
-{
- return m_preview->GetText();
-}
-
-void MoveFuncImplDlg::SetFileName(const wxString &fileName)
-{
- m_filePicker->SetPath(fileName);
-}
-
-wxString MoveFuncImplDlg::GetFileName()
-{
- return m_filePicker->GetPath();
-}
-
-void MoveFuncImplDlg::OnButtonCancel(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- EndModal(wxID_CANCEL);
-}
-
-void MoveFuncImplDlg::OnButtonOK(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- //make sure that the file exist
- if(!wxFileName::FileExists(m_filePicker->GetPath())){
- wxMessageBox(_("File: ") + m_filePicker->GetPath() + wxT(" does not exist"),
- wxT("CodeLite"), wxICON_WARNING| wxOK);
- return;
- }
- EndModal(wxID_OK);
-}
diff --git a/LiteEditor/movefuncimpldlg.h b/LiteEditor/movefuncimpldlg.h
deleted file mode 100644
index d2f7838d..00000000
--- a/LiteEditor/movefuncimpldlg.h
+++ /dev/null
@@ -1,52 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : movefuncimpldlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __movefuncimpldlg__
-#define __movefuncimpldlg__
-
-/**
-@file
-Subclass of MoveFuncImplBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "movefuncimplbasedlg.h"
-
-/** Implementing MoveFuncImplBaseDlg */
-class MoveFuncImplDlg : public MoveFuncImplBaseDlg
-{
- void OnButtonCancel(wxCommandEvent &e);
- void OnButtonOK(wxCommandEvent &e);
-
-public:
- /** Constructor */
- MoveFuncImplDlg( wxWindow* parent, const wxString &text, const wxString &fileName );
-
- void SetText(const wxString &text);
- wxString GetText();
-
- void SetFileName(const wxString &fileName);
- wxString GetFileName();
-};
-
-#endif // __movefuncimpldlg__
diff --git a/LiteEditor/navbar.cpp b/LiteEditor/navbar.cpp
deleted file mode 100644
index b4b3ad38..00000000
--- a/LiteEditor/navbar.cpp
+++ /dev/null
@@ -1,162 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : navbar.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <vector>
-#include "editor_config.h"
-#include "ctags_manager.h"
-#include "cl_editor.h"
-#include "manager.h"
-#include "frame.h"
-#include "navbar.h"
-
-NavBar::NavBar(wxWindow* parent)
- : NavBarBase(parent)
-{
- long sashPos(150);
- EditorConfigST::Get()->GetLongValue(wxT("NavBarSashPos"), sashPos);
- m_splitter->SetSashPosition(sashPos);
-
-// m_splitter->UpdateSize();
-}
-
-NavBar::~NavBar()
-{
- // Save the sash position
- EditorConfigST::Get()->SaveLongValue(wxT("NavBarSashPos"), m_splitter->GetSashPosition());
-}
-
-void NavBar::OnScopeListMouseDown(wxMouseEvent& e)
-{
- if (!ManagerST::Get()->IsWorkspaceOpen())
- return;
-
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (!editor)
- return;
-
- std::vector<wxString> scopes;
- TagsManagerST::Get()->GetScopesFromFile(editor->GetFileName(), scopes);
-
- m_scope->Freeze();
-
- wxString cursel = m_scope->GetStringSelection();
- m_scope->Clear();
- for (unsigned i = 0; i < scopes.size(); i++) {
- m_scope->AppendString(scopes[i]);
- }
- if (!cursel.IsEmpty()) {
- m_scope->SetStringSelection(cursel);
- }
-
- m_scope->Thaw();
-
- e.Skip();
-}
-
-void NavBar::OnScope(wxCommandEvent& e)
-{
- size_t sel = e.GetSelection();
- if (sel < m_scope->GetCount()) {
- m_tags.clear();
- m_func->Clear();
- }
-}
-
-void NavBar::OnFuncListMouseDown(wxMouseEvent& e)
-{
- if (!ManagerST::Get()->IsWorkspaceOpen())
- return;
-
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (!editor)
- return;
-
- wxString scope = m_scope->GetStringSelection();
- if (scope.IsEmpty())
- return;
-
- m_tags.clear();
- TagsManagerST::Get()->TagsFromFileAndScope(editor->GetFileName(), scope, m_tags);
-
- m_func->Freeze();
-
- wxString cursel = m_func->GetStringSelection();
- m_func->Clear();
- for (size_t i = 0; i < m_tags.size(); i++) {
- m_func->AppendString(m_tags[i]->GetDisplayName());
- }
- if (!cursel.IsEmpty()) {
- m_func->SetStringSelection(cursel);
- }
-
- m_func->Thaw();
-
- e.Skip();
-}
-
-void NavBar::OnFunction(wxCommandEvent& e)
-{
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (!editor)
- return;
-
- size_t sel = e.GetSelection();
- if (sel >= m_tags.size())
- return;
-
- wxString pattern = m_tags[sel]->GetPattern();
- wxString name = m_tags[sel]->GetName();
- editor->FindAndSelect(pattern, name);
- editor->SetActive();
-}
-
-void NavBar::DoShow(bool s)
-{
- if (Show(s)) {
- GetParent()->GetSizer()->Layout();
- }
-}
-
-void NavBar::UpdateScope(TagEntryPtr tag)
-{
- size_t sel = m_func->GetSelection();
- if (tag && sel < m_tags.size() && *m_tags[sel] == *tag)
- return;
-
- Freeze();
-
- m_tags.clear();
- m_scope->Clear();
- m_func->Clear();
-
- if (tag) {
- m_tags.push_back(tag);
- m_scope->AppendString(tag->GetScope());
- m_func->AppendString(tag->GetDisplayName());
- m_scope->SetSelection(0);
- m_func->SetSelection(0);
- }
-
- Thaw();
-}
diff --git a/LiteEditor/navbar.h b/LiteEditor/navbar.h
deleted file mode 100644
index 0a10f219..00000000
--- a/LiteEditor/navbar.h
+++ /dev/null
@@ -1,54 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : navbar.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __navbar__
-#define __navbar__
-
-#include <vector>
-#include "navbarbase.h"
-#include <wx/choice.h>
-#include "entry.h"
-
-class LEditor;
-
-class NavBar : public NavBarBase
-{
-private:
- std::vector<TagEntryPtr> m_tags;
-
- void OnFuncListMouseDown (wxMouseEvent &e);
- void OnScopeListMouseDown(wxMouseEvent &e);
- void OnScope (wxCommandEvent &e);
- void OnFunction (wxCommandEvent &e);
-
-public:
- NavBar(wxWindow *parent);
- virtual ~NavBar();
-
- void DoShow(bool s = true);
-
- void UpdateScope(TagEntryPtr tag);
-};
-
-#endif // __navbar__
diff --git a/LiteEditor/navbarbase.cpp b/LiteEditor/navbarbase.cpp
deleted file mode 100644
index 5a7fc1ad..00000000
--- a/LiteEditor/navbarbase.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "navbarbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-NavBarBase::NavBarBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_splitter = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3DSASH|wxSP_LIVE_UPDATE );
- m_splitter->SetSashGravity( 0 );
- m_splitter->Connect( wxEVT_IDLE, wxIdleEventHandler( NavBarBase::m_splitterOnIdle ), NULL, this );
-
- m_panel1 = new wxPanel( m_splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- wxArrayString m_scopeChoices;
- m_scope = new wxChoice( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_scopeChoices, 0 );
- m_scope->SetSelection( 0 );
- bSizer3->Add( m_scope, 0, wxEXPAND|wxBOTTOM, 2 );
-
- m_panel1->SetSizer( bSizer3 );
- m_panel1->Layout();
- bSizer3->Fit( m_panel1 );
- m_panel2 = new wxPanel( m_splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- wxArrayString m_funcChoices;
- m_func = new wxChoice( m_panel2, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_funcChoices, 0 );
- m_func->SetSelection( 0 );
- bSizer4->Add( m_func, 0, wxEXPAND|wxBOTTOM, 2 );
-
- m_panel2->SetSizer( bSizer4 );
- m_panel2->Layout();
- bSizer4->Fit( m_panel2 );
- m_splitter->SplitVertically( m_panel1, m_panel2, 150 );
- mainSizer->Add( m_splitter, 0, wxEXPAND|wxALL, 2 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- // Connect Events
- m_scope->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( NavBarBase::OnScope ), NULL, this );
- m_scope->Connect( wxEVT_LEFT_DOWN, wxMouseEventHandler( NavBarBase::OnScopeListMouseDown ), NULL, this );
- m_func->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( NavBarBase::OnFunction ), NULL, this );
- m_func->Connect( wxEVT_LEFT_DOWN, wxMouseEventHandler( NavBarBase::OnFuncListMouseDown ), NULL, this );
-}
-
-NavBarBase::~NavBarBase()
-{
- // Disconnect Events
- m_scope->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( NavBarBase::OnScope ), NULL, this );
- m_scope->Disconnect( wxEVT_LEFT_DOWN, wxMouseEventHandler( NavBarBase::OnScopeListMouseDown ), NULL, this );
- m_func->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( NavBarBase::OnFunction ), NULL, this );
- m_func->Disconnect( wxEVT_LEFT_DOWN, wxMouseEventHandler( NavBarBase::OnFuncListMouseDown ), NULL, this );
-}
diff --git a/LiteEditor/navbarbase.fbp b/LiteEditor/navbarbase.fbp
deleted file mode 100644
index b15654db..00000000
--- a/LiteEditor/navbarbase.fbp
+++ /dev/null
@@ -1,361 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">navbarbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">NavBarBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">NavBarBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">2</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxSplitterWindow" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="min_pane_size">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_splitter</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="sashgravity">0</property>
- <property name="sashpos">150</property>
- <property name="sashsize">-1</property>
- <property name="size"></property>
- <property name="splitmode">wxSPLIT_VERTICAL</property>
- <property name="style">wxSP_3DSASH|wxSP_LIVE_UPDATE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnSplitterDClick"></event>
- <event name="OnSplitterSashPosChanged"></event>
- <event name="OnSplitterSashPosChanging"></event>
- <event name="OnSplitterUnsplit"></event>
- <event name="OnUpdateUI"></event>
- <object class="splitteritem" expanded="1">
- <object class="wxPanel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_panel1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer3</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">2</property>
- <property name="flag">wxEXPAND|wxBOTTOM</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_scope</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">0</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice">OnScope</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown">OnScopeListMouseDown</event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="splitteritem" expanded="1">
- <object class="wxPanel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_panel2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer4</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">2</property>
- <property name="flag">wxEXPAND|wxBOTTOM</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_func</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">0</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice">OnFunction</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown">OnFuncListMouseDown</event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/navbarbase.h b/LiteEditor/navbarbase.h
deleted file mode 100644
index c6a5d9bc..00000000
--- a/LiteEditor/navbarbase.h
+++ /dev/null
@@ -1,60 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __navbarbase__
-#define __navbarbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/choice.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-#include <wx/splitter.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NavBarBase
-///////////////////////////////////////////////////////////////////////////////
-class NavBarBase : public wxPanel
-{
- private:
-
- protected:
- wxSplitterWindow* m_splitter;
- wxPanel* m_panel1;
- wxChoice* m_scope;
- wxPanel* m_panel2;
- wxChoice* m_func;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnScope( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnScopeListMouseDown( wxMouseEvent& event ) { event.Skip(); }
- virtual void OnFunction( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnFuncListMouseDown( wxMouseEvent& event ) { event.Skip(); }
-
-
- public:
-
- NavBarBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~NavBarBase();
- void m_splitterOnIdle( wxIdleEvent& )
- {
- m_splitter->SetSashPosition( 150 );
- m_splitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( NavBarBase::m_splitterOnIdle ), NULL, this );
- }
-
-
-};
-
-#endif //__navbarbase__
diff --git a/LiteEditor/new_configuration_dlg.cpp b/LiteEditor/new_configuration_dlg.cpp
deleted file mode 100644
index dfe4d5f0..00000000
--- a/LiteEditor/new_configuration_dlg.cpp
+++ /dev/null
@@ -1,145 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : new_configuration_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "new_configuration_dlg.h"
-#include "manager.h"
-#include "project_settings.h"
-#include "macros.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-NewConfigurationDlg::NewConfigurationDlg( wxWindow* parent, const wxString &projectName, int id, wxString title, wxPoint pos, wxSize size, int style )
-: wxDialog( parent, id, title, pos, size, style )
-, m_projectName(projectName)
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_panel1 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( m_panel1, wxID_ANY, wxT("Configuration Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_staticText1, 0, wxALL, 5 );
-
- wxTextValidator validator(wxFILTER_ASCII);
- m_textConfigurationName = new wxTextCtrl( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, validator );
- bSizer3->Add( m_textConfigurationName, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText2 = new wxStaticText( m_panel1, wxID_ANY, wxT("Copy Settings from:"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_staticText2, 0, wxALL, 5 );
-
- wxArrayString m_choiceCopyConfigurationsChoices;
- m_choiceCopyConfigurations = new wxChoice( m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceCopyConfigurationsChoices, 0 );
-
- // Get all configuration of the project
- m_choiceCopyConfigurations->Append(wxT("-- None --"));
- ProjectSettingsPtr settings = ManagerST::Get()->GetProjectSettings(m_projectName);
- if(settings){
- ProjectSettingsCookie cookie;
- BuildConfigPtr bldConf = settings->GetFirstBuildConfiguration(cookie);
- while(bldConf){
- m_choiceCopyConfigurations->Append(bldConf->GetName());
- bldConf = settings->GetNextBuildConfiguration(cookie);
- }
- }
- m_choiceCopyConfigurations->SetSelection(0);
- bSizer3->Add( m_choiceCopyConfigurations, 0, wxALL|wxEXPAND, 5 );
-
- m_panel1->SetSizer( bSizer3 );
- m_panel1->Layout();
- bSizer3->Fit( m_panel1 );
- bSizer1->Add( m_panel1, 1, wxEXPAND | wxALL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_ANY, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_RIGHT, 5 );
-
- ConnectButton(m_buttonOK, NewConfigurationDlg::OnButtonOK);
-
- this->SetSizer( bSizer1 );
- this->Layout();
-}
-
-void NewConfigurationDlg::OnButtonOK(wxCommandEvent &event)
-{
- wxUnusedVar(event);
-
- wxString newConfName;
- newConfName = m_textConfigurationName->GetValue();
- newConfName = newConfName.Trim();
- newConfName = newConfName.Trim(false);
- if(newConfName.IsEmpty()){
- wxMessageBox (wxT("Configuration Name is empty"), wxT("CodeLite"), wxOK | wxICON_INFORMATION);
- return;
- }
-
- ProjectSettingsPtr settings = ManagerST::Get()->GetProjectSettings(m_projectName);
- wxString copyFrom = m_choiceCopyConfigurations->GetStringSelection();
- BuildConfigPtr newBuildConf;
-
- if(copyFrom == wxT("-- None --")){
- newBuildConf = new BuildConfig(NULL);
- }else{
- BuildConfigPtr origBuildConf = settings->GetBuildConfiguration(copyFrom);
- newBuildConf = origBuildConf->Clone();
- }
-
- newBuildConf->SetName(newConfName);
- settings->SetBuildConfiguration(newBuildConf);
- //save the settings
- ManagerST::Get()->SetProjectSettings(m_projectName, settings);
- EndModal(wxID_OK);
-}
diff --git a/LiteEditor/new_configuration_dlg.h b/LiteEditor/new_configuration_dlg.h
deleted file mode 100644
index 2185b4d9..00000000
--- a/LiteEditor/new_configuration_dlg.h
+++ /dev/null
@@ -1,69 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : new_configuration_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version May 5 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __new_configuration_dlg__
-#define __new_configuration_dlg__
-
-#include <wx/wx.h>
-
-#include <wx/choice.h>
-#include <wx/panel.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NewConfigurationDlg
-///////////////////////////////////////////////////////////////////////////////
-class NewConfigurationDlg : public wxDialog
-{
-private:
- wxString m_projectName;
- wxPanel* m_panel1;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_textConfigurationName;
- wxStaticText* m_staticText2;
- wxChoice* m_choiceCopyConfigurations;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
-
-protected:
- void OnButtonOK(wxCommandEvent &event);
-
-public:
- NewConfigurationDlg( wxWindow* parent, const wxString &projName, int id = wxID_ANY, wxString title = wxT("New Configuration"), wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 352,199 ), int style = wxDEFAULT_DIALOG_STYLE );
-
-};
-
-#endif //__new_configuration_dlg__
diff --git a/LiteEditor/new_item_base_dlg.cpp b/LiteEditor/new_item_base_dlg.cpp
deleted file mode 100644
index 78c4010a..00000000
--- a/LiteEditor/new_item_base_dlg.cpp
+++ /dev/null
@@ -1,85 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#ifndef WX_PRECOMP
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "new_item_base_dlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-NewItemBaseDlg::NewItemBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* m_mainSizer;
- m_mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_fileType = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
- m_mainSizer->Add( m_fileType, 1, wxALL|wxEXPAND, 5 );
-
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 2, 3, 2, 5 );
- fgSizer2->AddGrowableCol( 1 );
- fgSizer2->SetFlexibleDirection( wxHORIZONTAL );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText6 = new wxStaticText( this, wxID_ANY, wxT("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- fgSizer2->Add( m_staticText6, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_fileName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_fileName, 1, wxALL|wxEXPAND, 5 );
-
-
- fgSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Location:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer2->Add( m_staticText3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_location = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_location->SetMinSize( wxSize( 300,-1 ) );
-
- fgSizer2->Add( m_location, 1, wxALL|wxEXPAND, 5 );
-
- m_browseBtn = new wxButton( this, wxID_ANY, wxT("Browse"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_browseBtn, 0, wxALL, 5 );
-
- m_mainSizer->Add( fgSizer2, 0, wxEXPAND|wxALL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- m_mainSizer->Add( m_staticline1, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- m_okButton = new wxButton( this, wxID_ANY, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_okButton->SetDefault();
- bSizer6->Add( m_okButton, 0, wxALL, 5 );
-
- m_cancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_cancel, 0, wxALL, 5 );
-
- m_mainSizer->Add( bSizer6, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
-
- this->SetSizer( m_mainSizer );
- this->Layout();
-
- this->Centre( wxBOTH );
-}
-
-NewItemBaseDlg::~NewItemBaseDlg()
-{
-}
diff --git a/LiteEditor/new_item_base_dlg.h b/LiteEditor/new_item_base_dlg.h
deleted file mode 100644
index 09368bcc..00000000
--- a/LiteEditor/new_item_base_dlg.h
+++ /dev/null
@@ -1,52 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __new_item_base_dlg__
-#define __new_item_base_dlg__
-
-#include <wx/listctrl.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/textctrl.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NewItemBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class NewItemBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxListCtrl* m_fileType;
- wxStaticText* m_staticText6;
- wxTextCtrl* m_fileName;
-
- wxStaticText* m_staticText3;
- wxTextCtrl* m_location;
- wxButton* m_browseBtn;
- wxStaticLine* m_staticline1;
- wxButton* m_okButton;
- wxButton* m_cancel;
-
- public:
- NewItemBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 512,462 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~NewItemBaseDlg();
-
-};
-
-#endif //__new_item_base_dlg__
diff --git a/LiteEditor/new_item_dlg.cpp b/LiteEditor/new_item_dlg.cpp
deleted file mode 100644
index c0b5b900..00000000
--- a/LiteEditor/new_item_dlg.cpp
+++ /dev/null
@@ -1,246 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : new_item_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Feb 1 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#ifndef WX_PRECOMP
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "new_item_dlg.h"
-#include "windowattrmanager.h"
-#include "globals.h"
-#include "wx/xrc/xmlres.h"
-#include "wx/textctrl.h"
-#include "dirsaver.h"
-#include "macros.h"
-#include <wx/imaglist.h>
-
-static const wxString FileTypeCpp = wxT("C++ Source File (.cpp)");
-static const wxString FileTypeC = wxT("C Source File (.c)");
-static const wxString FileTypeHeader = wxT("Header File (.h)");
-static const wxString FileTypeAny = wxT("Any File");
-
-///////////////////////////////////////////////////////////////////////////
-
-BEGIN_EVENT_TABLE(NewItemDlg, NewItemBaseDlg)
- EVT_CHAR_HOOK(NewItemDlg::OnCharHook)
-END_EVENT_TABLE()
-
-NewItemDlg::NewItemDlg( wxWindow* parent, wxString cwd)
- : NewItemBaseDlg(parent)
-{
- m_cwd = cwd;
- m_fileType->InsertColumn(0, _("File Type"));
- m_fileType->SetColumnWidth(0, 300);
-
- // Initialise images map
- wxImageList *images = new wxImageList(16, 16, true);
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("page_white_c"))); //0
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("page_white_cplusplus"))); //1
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("page_white_h"))); //2
- images->Add(wxXmlResource::Get()->LoadBitmap(_T("page_white_text"))); //3
-
- m_fileType->AssignImageList( images, wxIMAGE_LIST_SMALL );
-
- //-----------------------------------
- // Populate the list:
- m_fileTypeValue = FileTypeCpp;
-
- long row = AppendListCtrlRow(m_fileType);
- SetColumnText(m_fileType, row, 0, FileTypeCpp, 1);
-
- row = AppendListCtrlRow(m_fileType);
- SetColumnText(m_fileType, row, 0, FileTypeC, 0);
-
- row = AppendListCtrlRow(m_fileType);
- SetColumnText(m_fileType, row, 0, FileTypeHeader, 2);
-
- row = AppendListCtrlRow(m_fileType);
- SetColumnText(m_fileType, row, 0, FileTypeAny, 3);
- m_fileTypeValue = FileTypeAny;
-
- //select the last item
- m_fileType->SetItemState(row, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
- m_fileType->SetItemState(row, wxLIST_STATE_FOCUSED, wxLIST_STATE_FOCUSED);
-
- m_location->SetValue(m_cwd);
- m_fileName->SetFocus();
-
- // Attach events
- ConnectEvents();
- WindowAttrManager::Load(this, wxT("NewItemDlg"), NULL);
-}
-
-void NewItemDlg::ConnectEvents()
-{
- m_cancel->Connect(m_cancel->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(NewItemDlg::OnClick), NULL, this);
- m_okButton->Connect(m_okButton->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(NewItemDlg::OnClick), NULL, this);
- m_browseBtn->Connect(m_browseBtn->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(NewItemDlg::OnClick), NULL, this);
- m_fileType->Connect(m_fileType->GetId(), wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler(NewItemDlg::OnListItemSelected), NULL, this);
-}
-
-
-void NewItemDlg::OnClick(wxCommandEvent &event)
-{
- int id = event.GetId();
- if ( id == m_okButton->GetId() )
- {
- DoCreateFile();
- }
- else if ( id == m_cancel->GetId() )
- {
- EndModal(wxID_CANCEL);
- }
- else if ( id == m_browseBtn->GetId() )
- {
- DirSaver ds;
- wxDirDialog *dlg = new wxDirDialog(this, wxT("Location:"), m_cwd);
- if (dlg->ShowModal() == wxID_OK)
- {
- m_location->SetValue(dlg->GetPath());
- }
- dlg->Destroy();
- }
-}
-
-void NewItemDlg::DoCreateFile()
-{
- wxString errMsg;
- if ( !Validate(errMsg) )
- {
- wxMessageBox(errMsg, wxT("CodeLite"), wxICON_INFORMATION | wxOK);
- return;
- }
-
- // Construct the file name
- wxString fileName(m_fileName->GetValue());
- TrimString(fileName);
-
- if (m_fileTypeValue == FileTypeAny)
- {
- m_newFileName = wxFileName(m_location->GetValue(),fileName);
- }
- else if ( m_fileTypeValue == FileTypeC )
- {
- // If user already provided suffix, dont add another one on top of it
- if (fileName.Find(wxT(".")) == wxNOT_FOUND )
- {
- m_newFileName = wxFileName(m_location->GetValue(),fileName, wxT("c"));
- }
- else
- {
- m_newFileName = wxFileName(m_location->GetValue(),fileName);
- }
- }
- else if ( m_fileTypeValue == FileTypeCpp )
- {
- // If user already provided suffix, dont add another one on top of it
- if (fileName.Find(wxT(".")) == wxNOT_FOUND )
- {
- m_newFileName = wxFileName(m_location->GetValue(),fileName, wxT("cpp"));
- }
- else
- {
- m_newFileName = wxFileName(m_location->GetValue(),fileName);
- }
- }
- else if ( m_fileTypeValue == FileTypeHeader )
- {
- // If user already provided suffix, dont add another one on top of it
- if (fileName.Find(wxT(".")) == wxNOT_FOUND )
- {
- m_newFileName = wxFileName(m_location->GetValue(),fileName, wxT("h"));
- }
- else
- {
- m_newFileName = wxFileName(m_location->GetValue(),fileName);
- }
- }
- EndModal(wxID_OK);
-}
-
-bool NewItemDlg::Validate(wxString &errMsg)
-{
- // make sure we have file name & path set up correctly
- wxFileName fn(m_location->GetValue() + wxFileName::GetPathSeparator());
-
- if ( m_location->GetValue().Trim().IsEmpty() )
- {
- errMsg = wxT("Missing location");
- return false;
- }
-
- if ( !fn.DirExists() )
- {
- errMsg = wxT("Directory: ");
- errMsg << fn.GetPath() << wxT(" does not exist");
- return false;
- }
-
- fn = wxFileName(m_location->GetValue(), m_fileName->GetValue());
- if ( fn.FileExists() )
- {
- errMsg = wxT("A file with that name already exist, please choose different name");
- return false;
- }
-
- if ( m_fileName->GetValue().Trim().IsEmpty() )
- {
- errMsg = wxT("Missing file name");
- return false;
- }
-
- return true;
-}
-
-void NewItemDlg::OnListItemSelected(wxListEvent &event)
-{
- m_fileTypeValue = event.GetText();
-}
-
-void NewItemDlg::OnCharHook(wxKeyEvent &event)
-{
- if (event.GetKeyCode() == WXK_RETURN || event.GetKeyCode() == WXK_NUMPAD_ENTER)
- {
- DoCreateFile();
- }
- event.Skip();
-}
-
-NewItemDlg::~NewItemDlg()
-{
- WindowAttrManager::Save(this, wxT("NewItemDlg"), NULL);
-}
diff --git a/LiteEditor/new_item_dlg.h b/LiteEditor/new_item_dlg.h
deleted file mode 100644
index d8ac5764..00000000
--- a/LiteEditor/new_item_dlg.h
+++ /dev/null
@@ -1,66 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : new_item_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __new_item_dlg__
-#define __new_item_dlg__
-
-#include "new_item_base_dlg.h"
-#include <wx/filename.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NewItemDlg
-///////////////////////////////////////////////////////////////////////////////
-class NewItemDlg : public NewItemBaseDlg
-{
-private:
- wxString m_fileTypeValue;
- wxFileName m_newFileName;
- wxString m_cwd;
-
-public:
- NewItemDlg( wxWindow* parent, wxString cwd);
- virtual ~NewItemDlg();
-
- const wxFileName &GetFileName() const { return m_newFileName; }
-
-protected:
- //------------------------------------
- // Event handlers
- //------------------------------------
- DECLARE_EVENT_TABLE();
- virtual void OnClick(wxCommandEvent &event);
- virtual void OnListItemSelected(wxListEvent &event);
- virtual void OnCharHook(wxKeyEvent &event);
-
-private:
- void ConnectEvents();
- bool Validate(wxString &errMsg);
- void DoCreateFile();
-};
-
-#endif //__new_item_dlg__
diff --git a/LiteEditor/new_quick_watch_dlg.cpp b/LiteEditor/new_quick_watch_dlg.cpp
deleted file mode 100644
index 8548af3f..00000000
--- a/LiteEditor/new_quick_watch_dlg.cpp
+++ /dev/null
@@ -1,375 +0,0 @@
-#include <wx/xrc/xmlres.h>
-#include "simpletable.h"
-#include "frame.h"
-#include "new_quick_watch_dlg.h"
-#include <wx/menu.h>
-#include <wx/timer.h>
-#include "windowattrmanager.h"
-#include "debuggerobserver.h"
-#include <wx/log.h>
-#include "globals.h"
-
-#define TIPTIMERID 34347
-#define TIPTIMERID2 34348
-
-class QWTreeData : public wxTreeItemData
-{
-public:
- VariableObjChild _voc;
- QWTreeData(const VariableObjChild &voc) : _voc(voc) {}
- virtual ~QWTreeData() {}
-};
-
-BEGIN_EVENT_TABLE(DisplayVariableDlg, NewQuickWatch)
- EVT_TIMER(TIPTIMERID, DisplayVariableDlg::OnTimer)
- EVT_TIMER(TIPTIMERID2, DisplayVariableDlg::OnTimer2)
-END_EVENT_TABLE()
-
-DisplayVariableDlg::DisplayVariableDlg( wxWindow* parent)
- : NewQuickWatch( parent, wxID_ANY, _("Display Variable"), wxDefaultPosition, wxSize(500, 400) )
- , m_leftWindow(false)
-{
- Centre();
- WindowAttrManager::Load(this, wxT("NewQuickWatchDlg"), NULL);
- m_timer = new wxTimer(this, TIPTIMERID);
- m_timer2 = new wxTimer(this, TIPTIMERID2);
-}
-
-DisplayVariableDlg::~DisplayVariableDlg()
-{
- m_timer->Stop();
- delete m_timer;
- m_timer = NULL;
- WindowAttrManager::Save(this, wxT("NewQuickWatchDlg"), NULL);
-}
-
-void DisplayVariableDlg::OnExpandItem( wxTreeEvent& event )
-{
- wxTreeItemId item = event.GetItem();
- if ( item.IsOk()) {
- if ( m_treeCtrl->ItemHasChildren(item) ) {
- wxTreeItemIdValue kookie;
- wxTreeItemId child = m_treeCtrl->GetFirstChild(item, kookie);
- while ( child.IsOk() ) {
- if ( m_treeCtrl->GetItemText(child) == wxT("<dummy>") ) {
- // Dummy node, remove it and ask the debugger for information
- m_treeCtrl->SetItemText(child, wxT("Loading..."));
-
- QWTreeData *data = (QWTreeData *)m_treeCtrl->GetItemData(item);
- if ( data ) {
- // Ask the debugger for information
- m_debugger->ListChildren(data->_voc.gdbId, DBG_USERR_QUICKWACTH);
- m_gdbId2Item[data->_voc.gdbId] = item;
- }
- break;
- }
- child = m_treeCtrl->GetNextChild(item, kookie);
- }
- }
- }
-}
-
-void DisplayVariableDlg::BuildTree(const VariableObjChildren& children, IDebugger *debugger)
-{
- m_debugger = debugger;
- m_gdbId2Item.clear();
- m_gdbId2ItemLeaf.clear();
- m_treeCtrl->DeleteAllItems();
- wxTreeItemId root = m_treeCtrl->AddRoot( m_variableName );
-
- if ( children.empty() ) return;
- DoAddChildren( root, children );
-}
-
-void DisplayVariableDlg::AddItems(const wxString& varname, const VariableObjChildren& children)
-{
- std::map<wxString, wxTreeItemId>::iterator iter = m_gdbId2Item.find(varname);
- if ( iter != m_gdbId2Item.end() ) {
- wxTreeItemId item = iter->second;
- DoAddChildren( item, children );
- }
-}
-
-void DisplayVariableDlg::DoAddChildren(wxTreeItemId& item, const VariableObjChildren& children)
-{
- if ( item.IsOk() == false ) return;
-
- if (m_treeCtrl->GetRootItem() != item && m_treeCtrl->ItemHasChildren(item)) {
- // delete the <dummy> node
- wxTreeItemIdValue kookie;
- wxTreeItemId child = m_treeCtrl->GetFirstChild(item, kookie);
- while ( child.IsOk() ) {
- wxString itemText = m_treeCtrl->GetItemText(child);
- if ( itemText == wxT("<dummy>") || itemText == wxT("Loading...")) {
- m_treeCtrl->Delete( child );
- }
- child = m_treeCtrl->GetNextChild(item, kookie);
- }
- }
-
- for (size_t i=0; i<children.size(); i++) {
- VariableObjChild ch = children.at(i);
- if ( ch.varName != wxT("public") && ch.varName != wxT("private") && ch.varName != wxT("protected") ) {
- // Real node
- wxTreeItemId child = m_treeCtrl->AppendItem(item, ch.varName, -1, -1, new QWTreeData(ch));
- if ( ch.numChilds > 0 ) {
- // add fake node to this item, so it will have the [+] on the side
- m_treeCtrl->AppendItem(child, wxT("<dummy>"));
- }
- // ask gdb for the value for this node
- m_debugger->EvaluateVariableObject( ch.gdbId, DBG_USERR_QUICKWACTH );
- m_gdbId2ItemLeaf[ch.gdbId] = child;
- } else {
- // Fake node
- m_debugger->ListChildren(ch.gdbId, DBG_USERR_QUICKWACTH);
- m_gdbId2Item[ch.gdbId] = item;
- }
- }
-}
-
-void DisplayVariableDlg::OnBtnCancel(wxCommandEvent& e)
-{
- DoCleanUp();
- e.Skip();
-}
-
-void DisplayVariableDlg::UpdateValue(const wxString& varname, const wxString& value)
-{
- std::map<wxString, wxTreeItemId>::iterator iter = m_gdbId2ItemLeaf.find(varname);
- if ( iter != m_gdbId2ItemLeaf.end() ) {
- wxTreeItemId item = iter->second;
- if ( item.IsOk() ) {
- wxString curtext = m_treeCtrl->GetItemText( item );
- curtext << wxT(" = ") << value;
- m_treeCtrl->SetItemText( item, curtext );
- }
- }
-}
-
-void DisplayVariableDlg::OnCloseEvent(wxCloseEvent& e)
-{
- DoCleanUp();
- e.Skip();
-}
-
-void DisplayVariableDlg::DoCleanUp()
-{
- if (m_debugger && m_mainVariableObject.IsEmpty() == false) {
- m_debugger->DeleteVariableObject(m_mainVariableObject);
- }
- m_gdbId2Item.clear();
- m_gdbId2ItemLeaf.clear();
- m_mainVariableObject = wxT("");
- m_variableName = wxT("");
-}
-
-void DisplayVariableDlg::HideDialog()
-{
- DoCleanUp();
- wxDialog::Show(false);
-}
-
-void DisplayVariableDlg::OnKeyDown(wxKeyEvent& event)
-{
- if ( event.GetKeyCode() == WXK_ESCAPE ) {
- HideDialog();
- } else {
- event.Skip();
- }
-}
-
-void DisplayVariableDlg::ShowDialog(bool center)
-{
- m_treeCtrl->SetFocus();
- if ( center ) {
- Centre();
- } else {
- Move( wxGetMousePosition() );
-
- }
- wxDialog::Show();
-}
-
-void DisplayVariableDlg::OnLeftDown(wxMouseEvent& e)
-{
- int flags;
- wxTreeItemId item = m_treeCtrl->HitTest(e.GetPosition(), flags);
- if ( item.IsOk() && m_treeCtrl->ItemHasChildren(item) && (flags & wxTREE_HITTEST_ONITEMLABEL )) {
- if ( m_treeCtrl->IsExpanded(item) ) {
- m_treeCtrl->Collapse( item );
- } else {
- m_treeCtrl->Expand( item );
- }
- }
- e.Skip();
-}
-
-
-void DisplayVariableDlg::OnItemExpanded(wxTreeEvent& event)
-{
- event.Skip();
-}
-
-void DisplayVariableDlg::OnMouseLeaveWindow(wxMouseEvent& e)
-{
- m_leftWindow = true;
- m_timer->Start(500, true);
- e.Skip();
-}
-
-void DisplayVariableDlg::OnMouseEnterWindow(wxMouseEvent& e)
-{
- m_leftWindow = false;
- e.Skip();
-}
-
-void DisplayVariableDlg::OnTimer(wxTimerEvent& e)
-{
- if ( m_leftWindow ) {
- wxMouseState state = wxGetMouseState();
- // This is to fix a 'MouseCapture' bug on Linux while leaving the mouse Window
- // and mouse button is clicked and scrolling the scrollbar (H or Vertical)
- // The UI hangs
- if (state.LeftDown()) {
- // Don't Hide, just restart the timer
- m_timer->Start(500, true);
- return;
- }
-
- // The wxEVT_LEAVE_WINDOW event happened when the mouse leaves the *client* area
- // That makes it impossible to resize the dialog, or even to use the scrollbar
- // So test if we're still inside the NC area + a bit to spare
- wxRect rect = GetScreenRect().Inflate(10,30);
- if ( rect.Contains(wxGetMousePosition()) ) {
- // Don't Hide, just restart the timer
- m_timer->Start(500, true);
- } else {
- m_leftWindow = false;
- HideDialog();
- }
- }
-}
-
-void DisplayVariableDlg::OnItemMenu(wxTreeEvent& event)
-{
- event.Skip();
- wxTreeItemId item = event.GetItem();
-
- if (item.IsOk())
- m_treeCtrl->SelectItem(item);
-
- // Dont show popup menu for fake nodes
- if (IsFakeItem(item) )
- return;
-
- // Popup the menu
- wxMenu menu;
-
- menu.Append(XRCID("tip_add_watch"), wxT("Add Watch"));
- menu.Append(XRCID("tip_copy_value"), wxT("Copy Value to Clipboard"));
-
- menu.Connect(XRCID("tip_add_watch"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(DisplayVariableDlg::OnMenuSelection), NULL, this);
- menu.Connect(XRCID("tip_copy_value"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(DisplayVariableDlg::OnMenuSelection), NULL, this);
-
- m_treeCtrl->PopupMenu( &menu );
-}
-
-wxString DisplayVariableDlg::DoGetItemPath(const wxTreeItemId& treeItem)
-{
- wxString fullpath;
- wxTreeItemId item = treeItem;
- while ( item.IsOk() ) {
- wxString text = m_treeCtrl->GetItemText(item);
- text = text.BeforeFirst(wxT('='));
- text.Trim().Trim(false);
-
- if ( item != m_treeCtrl->GetRootItem() ) {
- if ( IsFakeItem(item) == false ) {
- text.Prepend(wxT("."));
- fullpath.Prepend(text);
- }
- } else {
- // Root item
- fullpath.Prepend(text);
- }
-
- // Are we at root yet?
- if ( m_treeCtrl->GetRootItem() == item )
- break;
-
- item = m_treeCtrl->GetItemParent(item);
- }
- return fullpath;
-}
-
-bool DisplayVariableDlg::IsFakeItem(const wxTreeItemId& item)
-{
- if ( item.IsOk() == false ) return true; // fake
-
- if ( item != m_treeCtrl->GetRootItem() ) {
- QWTreeData *data = (QWTreeData *)m_treeCtrl->GetItemData(item);
- if ( data )
- return data->_voc.isAFake;
-
- return false;
-
- } else {
- return false;
- }
-}
-
-void DisplayVariableDlg::OnMenuSelection(wxCommandEvent& e)
-{
- wxTreeItemId item = m_treeCtrl->GetSelection();
- if (item.IsOk() && !IsFakeItem(item)) {
- if (e.GetId() == XRCID("tip_add_watch")) {
- wxString fullpath = DoGetItemPath(item);
- Frame::Get()->GetDebuggerPane()->GetWatchesTable()->AddExpression(fullpath);
- Frame::Get()->GetDebuggerPane()->SelectTab(DebuggerPane::WATCHES);
- Frame::Get()->GetDebuggerPane()->GetWatchesTable()->RefreshValues();
-
- } else if (e.GetId() == XRCID("tip_copy_value")) {
- wxString itemText = m_treeCtrl->GetItemText(item);
- itemText = itemText.AfterFirst(wxT('='));
- CopyToClipboard( itemText );
- }
- }
-}
-
-void DisplayVariableDlg::OnMouseMove(wxMouseEvent& event)
-{
- DebuggerInformation debuggerInfo;
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if(dbgr) {
- DebuggerMgr::Get().GetDebuggerInformation(dbgr->GetName(), debuggerInfo);
- }
-
- if(debuggerInfo.autoExpandTipItems) {
- int flags (0);
- wxTreeItemId item = m_treeCtrl->HitTest(event.GetPosition(), flags);
- if(item.IsOk() && (flags & wxTREE_HITTEST_ONITEMLABEL)) {
-
- if(item != m_hoveredItem) {
- m_timer2->Stop();
- m_hoveredItem = item;
- m_timer2->Start(500, true);
- return;
-
- } else
- return;
-
- }
-
- m_hoveredItem = wxTreeItemId();
- m_timer2->Stop();
- }
-}
-
-void DisplayVariableDlg::OnTimer2(wxTimerEvent& e)
-{
- if(m_hoveredItem.IsOk() && m_treeCtrl->ItemHasChildren(m_hoveredItem) && m_treeCtrl->IsExpanded(m_hoveredItem) == false) {
- m_treeCtrl->SelectItem(m_hoveredItem);
- m_treeCtrl->Expand(m_hoveredItem);
- }
- m_hoveredItem = wxTreeItemId();
-}
diff --git a/LiteEditor/new_quick_watch_dlg.h b/LiteEditor/new_quick_watch_dlg.h
deleted file mode 100644
index 6e9e7239..00000000
--- a/LiteEditor/new_quick_watch_dlg.h
+++ /dev/null
@@ -1,68 +0,0 @@
-#ifndef __new_quick_watch_dlg__
-#define __new_quick_watch_dlg__
-
-/**
-@file
-Subclass of NewQuickWatch, which is generated by wxFormBuilder.
-*/
-
-#include "newquickwatch.h"
-#include <wx/timer.h>
-#include "debugger.h"
-#include <map>
-
-class wxTimer;
-
-/** Implementing NewQuickWatch */
-class DisplayVariableDlg : public NewQuickWatch
-{
-public:
- IDebugger* m_debugger;
- std::map<wxString, wxTreeItemId> m_gdbId2Item;
- std::map<wxString, wxTreeItemId> m_gdbId2ItemLeaf;
- wxString m_mainVariableObject;
- wxString m_variableName;
- wxTimer* m_timer;
- wxTimer* m_timer2;
- bool m_leftWindow;
- wxString m_fullpath;
- wxTreeItemId m_hoveredItem;
-
-protected:
- bool IsFakeItem(const wxTreeItemId &item);
- wxString DoGetItemPath(const wxTreeItemId &item);
-
-protected:
- // Handlers for NewQuickWatch events.
- void OnExpandItem ( wxTreeEvent& event );
- void OnItemExpanded( wxTreeEvent& event );
- void OnBtnCancel(wxCommandEvent &e);
- void OnCloseEvent(wxCloseEvent &e);
- void DoAddChildren(wxTreeItemId &item, const VariableObjChildren &children);
- void OnKeyDown(wxKeyEvent &event);
- void DoCleanUp();
- void OnLeftDown(wxMouseEvent &e);
- void OnMouseLeaveWindow(wxMouseEvent &e);
- void OnMouseEnterWindow(wxMouseEvent &e);
- void OnTimer(wxTimerEvent &e);
- void OnTimer2(wxTimerEvent &e);
- void OnItemMenu(wxTreeEvent& event);
- void OnMenuSelection(wxCommandEvent &e);
- void OnMouseMove( wxMouseEvent& event );
-
- DECLARE_EVENT_TABLE()
-
-public:
- /** Constructor */
- DisplayVariableDlg( wxWindow* parent);
- virtual ~DisplayVariableDlg();
-
- void AddItems ( const wxString &varname, const VariableObjChildren &children);
- void UpdateValue( const wxString &varname, const wxString &value);
- void BuildTree (const VariableObjChildren &children, IDebugger *debugger);
- void HideDialog ();
- void ShowDialog (bool center);
-
-};
-
-#endif // __new_quick_watch_dlg__
diff --git a/LiteEditor/newkeyshortcutbasedlg.cpp b/LiteEditor/newkeyshortcutbasedlg.cpp
deleted file mode 100644
index 8a0ff89c..00000000
--- a/LiteEditor/newkeyshortcutbasedlg.cpp
+++ /dev/null
@@ -1,99 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newkeyshortcutbasedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "newkeyshortcutbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-NewKeyShortcutBaseDlg::NewKeyShortcutBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- m_panel1 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- m_staticTextAction = new wxStaticText( m_panel1, wxID_ANY, wxT("Action:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextAction->Wrap( -1 );
- bSizer5->Add( m_staticTextAction, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText = new wxStaticText( m_panel1, wxID_ANY, wxT("Hit any key combination:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText->Wrap( -1 );
- bSizer5->Add( m_staticText, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- m_textCtrl1 = new wxTextCtrl( m_panel1, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB|wxTE_READONLY );
- bSizer6->Add( m_textCtrl1, 1, wxALL|wxEXPAND, 5 );
-
- m_buttonClear = new wxButton( m_panel1, wxID_ANY, wxT("Clear"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_buttonClear, 0, wxALL, 5 );
-
- bSizer5->Add( bSizer6, 0, wxEXPAND, 5 );
-
- m_panel1->SetSizer( bSizer5 );
- m_panel1->Layout();
- bSizer5->Fit( m_panel1 );
- bSizer3->Add( m_panel1, 1, wxEXPAND | wxALL, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer3->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- bSizer4->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer3->Add( bSizer4, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer3 );
- this->Layout();
-
- // Connect Events
- m_textCtrl1->Connect( wxEVT_KEY_DOWN, wxKeyEventHandler( NewKeyShortcutBaseDlg::OnKeyDown ), NULL, this );
- m_buttonClear->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewKeyShortcutBaseDlg::OnButtonClear ), NULL, this );
-}
-
-NewKeyShortcutBaseDlg::~NewKeyShortcutBaseDlg()
-{
- // Disconnect Events
- m_textCtrl1->Disconnect( wxEVT_KEY_DOWN, wxKeyEventHandler( NewKeyShortcutBaseDlg::OnKeyDown ), NULL, this );
- m_buttonClear->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewKeyShortcutBaseDlg::OnButtonClear ), NULL, this );
-}
diff --git a/LiteEditor/newkeyshortcutbasedlg.h b/LiteEditor/newkeyshortcutbasedlg.h
deleted file mode 100644
index ccc20c77..00000000
--- a/LiteEditor/newkeyshortcutbasedlg.h
+++ /dev/null
@@ -1,79 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newkeyshortcutbasedlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __newkeyshortcutbasedlg__
-#define __newkeyshortcutbasedlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NewKeyShortcutBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class NewKeyShortcutBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxPanel* m_panel1;
- wxStaticText* m_staticTextAction;
- wxStaticText* m_staticText;
- wxTextCtrl* m_textCtrl1;
- wxButton* m_buttonClear;
- wxStaticLine* m_staticline2;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }
- virtual void OnButtonClear( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- NewKeyShortcutBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Set New Key Accelerator:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 516,187 ), long style = wxDEFAULT_DIALOG_STYLE );
- ~NewKeyShortcutBaseDlg();
-
-};
-
-#endif //__newkeyshortcutbasedlg__
diff --git a/LiteEditor/newkeyshortcutdlg.cpp b/LiteEditor/newkeyshortcutdlg.cpp
deleted file mode 100644
index d381a938..00000000
--- a/LiteEditor/newkeyshortcutdlg.cpp
+++ /dev/null
@@ -1,172 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newkeyshortcutdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "newkeyshortcutdlg.h"
-
-static const struct wxKeyName
-{
- wxKeyCode code;
- // Pre-2.9 wxTRANSLATE returned a wxChar*, since then it's char*
-#if wxVERSION_NUMBER < 2900
- const wxChar *name;
-#else
- const char *name;
-#endif
-} wxKeyNames[] =
-{
- { WXK_DELETE, wxTRANSLATE("DEL") },
- { WXK_DELETE, wxTRANSLATE("DELETE") },
- { WXK_BACK, wxTRANSLATE("BACK") },
- { WXK_INSERT, wxTRANSLATE("INS") },
- { WXK_INSERT, wxTRANSLATE("INSERT") },
- { WXK_RETURN, wxTRANSLATE("ENTER") },
- { WXK_RETURN, wxTRANSLATE("RETURN") },
- { WXK_PAGEUP, wxTRANSLATE("PGUP") },
- { WXK_PAGEDOWN, wxTRANSLATE("PGDN") },
- { WXK_LEFT, wxTRANSLATE("LEFT") },
- { WXK_RIGHT, wxTRANSLATE("RIGHT") },
- { WXK_UP, wxTRANSLATE("UP") },
- { WXK_DOWN, wxTRANSLATE("DOWN") },
- { WXK_HOME, wxTRANSLATE("HOME") },
- { WXK_END, wxTRANSLATE("END") },
- { WXK_SPACE, wxTRANSLATE("SPACE") },
- { WXK_TAB, wxTRANSLATE("TAB") },
- { WXK_ESCAPE, wxTRANSLATE("ESC") },
- { WXK_ESCAPE, wxTRANSLATE("ESCAPE") },
- { WXK_CANCEL, wxTRANSLATE("CANCEL") },
- { WXK_CLEAR, wxTRANSLATE("CLEAR") },
- { WXK_MENU, wxTRANSLATE("MENU") },
- { WXK_PAUSE, wxTRANSLATE("PAUSE") },
- { WXK_CAPITAL, wxTRANSLATE("CAPITAL") },
- { WXK_SELECT, wxTRANSLATE("SELECT") },
- { WXK_PRINT, wxTRANSLATE("PRINT") },
- { WXK_EXECUTE, wxTRANSLATE("EXECUTE") },
- { WXK_SNAPSHOT, wxTRANSLATE("SNAPSHOT") },
- { WXK_HELP, wxTRANSLATE("HELP") },
- { WXK_ADD, wxTRANSLATE("ADD") },
- { WXK_SEPARATOR, wxTRANSLATE("SEPARATOR") },
- { WXK_SUBTRACT, wxTRANSLATE("SUBTRACT") },
- { WXK_DECIMAL, wxTRANSLATE("DECIMAL") },
- { WXK_DIVIDE, wxTRANSLATE("DIVIDE") },
- { WXK_NUMLOCK, wxTRANSLATE("NUM_LOCK") },
- { WXK_SCROLL, wxTRANSLATE("SCROLL_LOCK") },
- { WXK_PAGEUP, wxTRANSLATE("PAGEUP") },
- { WXK_PAGEDOWN, wxTRANSLATE("PAGEDOWN") },
- { WXK_NUMPAD_SPACE, wxTRANSLATE("KP_SPACE") },
- { WXK_NUMPAD_TAB, wxTRANSLATE("KP_TAB") },
- { WXK_NUMPAD_ENTER, wxTRANSLATE("KP_ENTER") },
- { WXK_NUMPAD_HOME, wxTRANSLATE("KP_HOME") },
- { WXK_NUMPAD_LEFT, wxTRANSLATE("KP_LEFT") },
- { WXK_NUMPAD_UP, wxTRANSLATE("KP_UP") },
- { WXK_NUMPAD_RIGHT, wxTRANSLATE("KP_RIGHT") },
- { WXK_NUMPAD_DOWN, wxTRANSLATE("KP_DOWN") },
- { WXK_NUMPAD_PAGEUP, wxTRANSLATE("KP_PRIOR") },
- { WXK_NUMPAD_PAGEUP, wxTRANSLATE("KP_PAGEUP") },
- { WXK_NUMPAD_PAGEDOWN, wxTRANSLATE("KP_NEXT") },
- { WXK_NUMPAD_PAGEDOWN, wxTRANSLATE("KP_PAGEDOWN") },
- { WXK_NUMPAD_END, wxTRANSLATE("KP_END") },
- { WXK_NUMPAD_BEGIN, wxTRANSLATE("KP_BEGIN") },
- { WXK_NUMPAD_INSERT, wxTRANSLATE("KP_INSERT") },
- { WXK_NUMPAD_DELETE, wxTRANSLATE("KP_DELETE") },
- { WXK_NUMPAD_EQUAL, wxTRANSLATE("KP_EQUAL") },
- { WXK_NUMPAD_MULTIPLY, wxTRANSLATE("KP_MULTIPLY") },
- { WXK_NUMPAD_ADD, wxTRANSLATE("KP_ADD") },
- { WXK_NUMPAD_SEPARATOR, wxTRANSLATE("KP_SEPARATOR") },
- { WXK_NUMPAD_SUBTRACT, wxTRANSLATE("KP_SUBTRACT") },
- { WXK_NUMPAD_DECIMAL, wxTRANSLATE("KP_DECIMAL") },
- { WXK_NUMPAD_DIVIDE, wxTRANSLATE("KP_DIVIDE") },
- { WXK_WINDOWS_LEFT, wxTRANSLATE("WINDOWS_LEFT") },
- { WXK_WINDOWS_RIGHT, wxTRANSLATE("WINDOWS_RIGHT") },
- { WXK_WINDOWS_MENU, wxTRANSLATE("WINDOWS_MENU") },
- { WXK_COMMAND, wxTRANSLATE("COMMAND") },
-};
-
-NewKeyShortcutDlg::NewKeyShortcutDlg( wxWindow* parent, const MenuItemData & mid )
- :
- NewKeyShortcutBaseDlg( parent )
- , m_mid(mid)
-{
- m_staticTextAction->SetLabel( wxT("Action:\t") + m_mid.action );
- m_textCtrl1->SetValue( m_mid.accel );
- m_textCtrl1->SetFocus();
- Centre();
-}
-
-void NewKeyShortcutDlg::OnKeyDown( wxKeyEvent& event )
-{
- wxString text = ToString(event);
- if(text.IsEmpty()) { return; }
- m_textCtrl1->SetValue( text );
-}
-
-wxString NewKeyShortcutDlg::ToString(wxKeyEvent &e)
-{
- wxString text;
-
- int flags = e.GetModifiers();
- if ( flags & wxACCEL_ALT )
- text += _("Alt-");
- if ( flags & wxACCEL_CTRL )
- text += _("Ctrl-");
- if ( flags & wxACCEL_SHIFT )
- text += _("Shift-");
-
- const int code = e.GetKeyCode();
-
- if ( code >= WXK_F1 && code <= WXK_F12 )
- text << _("F") << code - WXK_F1 + 1;
- else if ( code >= WXK_NUMPAD0 && code <= WXK_NUMPAD9 )
- text << _("KP_") << code - WXK_NUMPAD0;
- else if ( code >= WXK_SPECIAL1 && code <= WXK_SPECIAL20 )
- text << _("SPECIAL") << code - WXK_SPECIAL1 + 1;
- else { // check the named keys
- size_t n;
- for ( n = 0; n < WXSIZEOF(wxKeyNames); n++ ) {
- const wxKeyName& kn = wxKeyNames[n];
- if ( code == kn.code ) {
- text << wxGetTranslation(kn.name);
- break;
- }
- }
-
- if ( n == WXSIZEOF(wxKeyNames) ) {
- // must be a simple key
- if (
- isascii(code) /*&&
- wxIsalnum(code)*/ ) {
- text << (wxChar)code;
- } else {
- return wxEmptyString;
- }
- }
- }
-
- return text;
-}
-
-void NewKeyShortcutDlg::OnButtonClear(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- m_textCtrl1->Clear();
-}
diff --git a/LiteEditor/newkeyshortcutdlg.h b/LiteEditor/newkeyshortcutdlg.h
deleted file mode 100644
index 280cc0e6..00000000
--- a/LiteEditor/newkeyshortcutdlg.h
+++ /dev/null
@@ -1,56 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newkeyshortcutdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __newkeyshortcutdlg__
-#define __newkeyshortcutdlg__
-
-/**
-@file
-Subclass of NewKeyShortcutBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "manager.h"
-#include "newkeyshortcutbasedlg.h"
-
-/** Implementing NewKeyShortcutBaseDlg */
-class NewKeyShortcutDlg : public NewKeyShortcutBaseDlg
-{
- MenuItemData m_mid;
-
-protected:
- // Handlers for NewKeyShortcutBaseDlg events.
- void OnKeyDown( wxKeyEvent& event );
- void OnButtonClear(wxCommandEvent &event);
-
- wxString ToString(wxKeyEvent &e);
-
-public:
- /** Constructor */
- NewKeyShortcutDlg( wxWindow* parent, const MenuItemData &mid );
- wxString GetAccel() {
- return m_textCtrl1->GetValue();
- }
-};
-
-#endif // __newkeyshortcutdlg__
diff --git a/LiteEditor/newprojectbasedlg.cpp b/LiteEditor/newprojectbasedlg.cpp
deleted file mode 100644
index b8b25a8f..00000000
--- a/LiteEditor/newprojectbasedlg.cpp
+++ /dev/null
@@ -1,145 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "newprojectbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-NewProjectBaseDlg::NewProjectBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxSize( 600,350 ), wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* templatesSizer;
- templatesSizer = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* categoriesSizer;
- categoriesSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Categories:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- categoriesSizer->Add( m_staticText2, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxString m_chCategoriesChoices[] = { _("Console"), _("GUI"), _("Library"), _("Others"), _("User templates"), _("All") };
- int m_chCategoriesNChoices = sizeof( m_chCategoriesChoices ) / sizeof( wxString );
- m_chCategories = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxSize( 275,-1 ), m_chCategoriesNChoices, m_chCategoriesChoices, 0 );
- m_chCategories->SetSelection( 0 );
- m_chCategories->SetMinSize( wxSize( 275,-1 ) );
-
- categoriesSizer->Add( m_chCategories, 0, wxALL, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, _("Templates:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- categoriesSizer->Add( m_staticText3, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_listTemplates = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxSize( -1,200 ), wxLC_REPORT|wxLC_SINGLE_SEL );
- m_listTemplates->SetMinSize( wxSize( -1,200 ) );
-
- categoriesSizer->Add( m_listTemplates, 1, wxALL|wxEXPAND, 5 );
-
- templatesSizer->Add( categoriesSizer, 0, wxEXPAND, 5 );
-
- wxBoxSizer* detailsSizer;
- detailsSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, _("Project name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- detailsSizer->Add( m_staticText4, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_txtProjName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( 365,-1 ), 0 );
- detailsSizer->Add( m_txtProjName, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText5 = new wxStaticText( this, wxID_ANY, _("Project path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- detailsSizer->Add( m_staticText5, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxHORIZONTAL );
-
- m_textCtrlProjectPath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer5->Add( m_textCtrlProjectPath, 1, wxALL|wxEXPAND, 5 );
-
- m_button1 = new wxButton( this, wxID_ANY, _("Browse"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer5->Add( m_button1, 0, wxALL, 5 );
-
- detailsSizer->Add( bSizer5, 0, wxEXPAND, 5 );
-
- m_staticText6 = new wxStaticText( this, wxID_ANY, _("Compiler type:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- detailsSizer->Add( m_staticText6, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxArrayString m_chCompilerChoices;
- m_chCompiler = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_chCompilerChoices, 0 );
- m_chCompiler->SetSelection( 0 );
- detailsSizer->Add( m_chCompiler, 0, wxALL|wxEXPAND, 5 );
-
- m_cbSeparateDir = new wxCheckBox( this, wxID_ANY, _("Create the project under a separate directory"), wxDefaultPosition, wxDefaultSize, 0 );
- detailsSizer->Add( m_cbSeparateDir, 0, wxALL, 5 );
-
- wxStaticBoxSizer* labelSizer;
- labelSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("File name:") ), wxVERTICAL );
-
- m_stxtFullFileName = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_stxtFullFileName->Wrap( -1 );
- labelSizer->Add( m_stxtFullFileName, 0, wxALL|wxEXPAND, 5 );
-
- detailsSizer->Add( labelSizer, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
-
- m_txtDescription = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
- m_txtDescription->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
- m_txtDescription->SetMinSize( wxSize( -1,60 ) );
-
- detailsSizer->Add( m_txtDescription, 1, wxALL|wxEXPAND, 5 );
-
- templatesSizer->Add( detailsSizer, 1, wxEXPAND, 5 );
-
- mainSizer->Add( templatesSizer, 1, wxEXPAND, 5 );
-
- m_staticline = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- m_button2 = new wxButton( this, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_button2->SetDefault();
- bSizer6->Add( m_button2, 0, wxALL, 5 );
-
- m_button3 = new wxButton( this, wxID_CANCEL, _("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_button3, 0, wxALL, 5 );
-
- mainSizer->Add( bSizer6, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_chCategories->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( NewProjectBaseDlg::OnCategorySelected ), NULL, this );
- m_listTemplates->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( NewProjectBaseDlg::OnTemplateSelected ), NULL, this );
- m_txtProjName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( NewProjectBaseDlg::OnProjectNameChanged ), NULL, this );
- m_textCtrlProjectPath->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( NewProjectBaseDlg::OnProjectPathUpdated ), NULL, this );
- m_button1->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewProjectBaseDlg::OnBrowseProjectPath ), NULL, this );
- m_cbSeparateDir->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( NewProjectBaseDlg::OnProjectNameChanged ), NULL, this );
- m_button2->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewProjectBaseDlg::OnCreate ), NULL, this );
-}
-
-NewProjectBaseDlg::~NewProjectBaseDlg()
-{
- // Disconnect Events
- m_chCategories->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( NewProjectBaseDlg::OnCategorySelected ), NULL, this );
- m_listTemplates->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( NewProjectBaseDlg::OnTemplateSelected ), NULL, this );
- m_txtProjName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( NewProjectBaseDlg::OnProjectNameChanged ), NULL, this );
- m_textCtrlProjectPath->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( NewProjectBaseDlg::OnProjectPathUpdated ), NULL, this );
- m_button1->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewProjectBaseDlg::OnBrowseProjectPath ), NULL, this );
- m_cbSeparateDir->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( NewProjectBaseDlg::OnProjectNameChanged ), NULL, this );
- m_button2->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewProjectBaseDlg::OnCreate ), NULL, this );
-}
diff --git a/LiteEditor/newprojectbasedlg.h b/LiteEditor/newprojectbasedlg.h
deleted file mode 100644
index ea3eabfa..00000000
--- a/LiteEditor/newprojectbasedlg.h
+++ /dev/null
@@ -1,74 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __newprojectbasedlg__
-#define __newprojectbasedlg__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/choice.h>
-#include <wx/listctrl.h>
-#include <wx/sizer.h>
-#include <wx/textctrl.h>
-#include <wx/button.h>
-#include <wx/checkbox.h>
-#include <wx/statbox.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NewProjectBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class NewProjectBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText2;
- wxChoice* m_chCategories;
- wxStaticText* m_staticText3;
- wxListCtrl* m_listTemplates;
- wxStaticText* m_staticText4;
- wxTextCtrl* m_txtProjName;
- wxStaticText* m_staticText5;
- wxTextCtrl* m_textCtrlProjectPath;
- wxButton* m_button1;
- wxStaticText* m_staticText6;
- wxChoice* m_chCompiler;
- wxCheckBox* m_cbSeparateDir;
- wxStaticText* m_stxtFullFileName;
- wxTextCtrl* m_txtDescription;
- wxStaticLine* m_staticline;
- wxButton* m_button2;
- wxButton* m_button3;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCategorySelected( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnTemplateSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnProjectNameChanged( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnProjectPathUpdated( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnBrowseProjectPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnCreate( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- NewProjectBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("New project"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~NewProjectBaseDlg();
-
-};
-
-#endif //__newprojectbasedlg__
diff --git a/LiteEditor/newprojectdlg.cpp b/LiteEditor/newprojectdlg.cpp
deleted file mode 100644
index fa1217e9..00000000
--- a/LiteEditor/newprojectdlg.cpp
+++ /dev/null
@@ -1,284 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newprojectdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "newprojectdlg.h"
-#include "pluginmanager.h"
-#include "windowattrmanager.h"
-#include <wx/xrc/xmlres.h>
-#include "globals.h"
-#include "macros.h"
-#include "workspace.h"
-#include "build_settings_config.h"
-#include "manager.h"
-#include "dirtraverser.h"
-#include <wx/imaglist.h>
-#include <set>
-
-NewProjectDlg::NewProjectDlg( wxWindow* parent )
- :
- NewProjectBaseDlg( parent )
-{
- m_listTemplates->InsertColumn( 0, wxT("Type") );
- m_listTemplates->SetColumnWidth( 0, m_listTemplates->GetSize().GetWidth() );
-
- //get list of project templates
- wxImageList *lstImages (NULL);
- GetProjectTemplateList(PluginManager::Get(), m_list, &m_mapImages, &lstImages);
-
- // assign image list to the list control which takes ownership of it (it will delete the image list)
- m_listTemplates->AssignImageList(lstImages, wxIMAGE_LIST_SMALL);
-
- m_chCategories->Clear();
- std::list<ProjectPtr>::iterator iter = m_list.begin();
- std::set<wxString> categories;
-
- // Add the 'All' category
- categories.insert(wxT("All"));
- for (; iter != m_list.end(); iter++) {
- wxString internalType = (*iter)->GetProjectInternalType();
- if (internalType.IsEmpty()) internalType = wxT("Others");
- categories.insert( internalType );
- }
-
- std::set<wxString>::iterator cIter = categories.begin();
- for (; cIter != categories.end(); cIter++) {
- m_chCategories->Append((*cIter));
- }
-
- // Select the 'Console' to be the default
- int where = m_chCategories->FindString(wxT("Console"));
- if (where == wxNOT_FOUND) {
- where = 0;
- }
-
- m_chCategories->SetSelection(where);
- FillProjectTemplateListCtrl(m_chCategories->GetStringSelection());
-
- //append list of compilers
- wxArrayString choices;
- //get list of compilers from configuration file
- BuildSettingsConfigCookie cookie;
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetFirstCompiler(cookie);
- while (cmp) {
- choices.Add(cmp->GetName());
- cmp = BuildSettingsConfigST::Get()->GetNextCompiler(cookie);
- }
-
- m_chCompiler->Append( choices );
- if (choices.IsEmpty() == false) {
- m_chCompiler->SetSelection(0);
- }
-
- m_textCtrlProjectPath->SetValue( WorkspaceST::Get()->GetWorkspaceFileName().GetPath());
- m_txtProjName->SetFocus();
- Centre();
-
- UpdateProjectPage();
- WindowAttrManager::Load(this, wxT("NewProjectDialog"), NULL);
-}
-
-NewProjectDlg::~NewProjectDlg()
-{
- WindowAttrManager::Save(this, wxT("NewProjectDialog"), NULL);
-}
-
-void NewProjectDlg::OnProjectNameChanged(wxCommandEvent& event)
-{
- UpdateFullFileName();
-}
-
-void NewProjectDlg::OnCreate(wxCommandEvent &event)
-{
- //validate that the path part is valid
- wxString projFullPath = m_stxtFullFileName->GetLabel();
- wxFileName fn(projFullPath);
-
- if (m_cbSeparateDir->IsChecked()) {
- // dont check the return
- Mkdir(fn.GetPath());
- }
-
- // dont allow whitespace in project name
- if (m_txtProjName->GetValue().Find(wxT(" ")) != wxNOT_FOUND) {
- wxMessageBox(_("Whitespace is not allowed in project name"), wxT("Error"), wxOK | wxICON_HAND | wxCENTER, this);
- return;
- }
-
- if ( !wxDirExists(fn.GetPath()) ) {
- wxMessageBox(_("Invalid path: ") + fn.GetPath(), wxT("Error"), wxOK | wxICON_HAND);
- return;
- }
-
- // make sure that there is no conflict in files between the template project and the selected path
- if (m_projectData.m_srcProject) {
- ProjectPtr p = m_projectData.m_srcProject;
- wxString base_dir( fn.GetPath() );
- std::vector<wxFileName> files;
- p->GetFiles(files);
-
- for (size_t i=0; i<files.size(); i++) {
- wxFileName f = files.at(i);
- wxString new_file = base_dir + wxT("/") + f.GetFullName();
-
- if ( wxFileName::FileExists(new_file) ) {
- // this file already - notify the user
- wxString msg;
- msg << wxT("The File '") << f.GetFullName() << wxT("' already exists at the target directory '") << base_dir << wxT("'\n");
- msg << wxT("Please select a different project path\n");
- msg << wxT("The file '") << f.GetFullName() << wxT("' is part of the template project [") << p->GetName() << wxT("]");
- wxMessageBox(msg, wxT("CodeLite"), wxOK|wxICON_HAND);
- return;
- }
- }
- }
-
- m_projectData.m_name = m_txtProjName->GetValue();
- m_projectData.m_path = fn.GetPath();
- m_projectData.m_cmpType = m_chCompiler->GetStringSelection();
-
- EndModal(wxID_OK);
-}
-
-void NewProjectDlg::OnTemplateSelected( wxListEvent& event )
-{
- m_projectData.m_srcProject = FindProject( event.GetText() );
-
- UpdateProjectPage();
-}
-
-void NewProjectDlg::OnCategorySelected(wxCommandEvent& event)
-{
- FillProjectTemplateListCtrl(event.GetString());
-
- UpdateProjectPage();
-}
-
-ProjectPtr NewProjectDlg::FindProject(const wxString &name)
-{
- std::list<ProjectPtr>::iterator iter = m_list.begin();
- for (; iter != m_list.end(); iter++) {
- if ((*iter)->GetName() == name) {
- return (*iter);
- }
- }
- return NULL;
-}
-
-void NewProjectDlg::UpdateFullFileName()
-{
- wxString projectPath;
- projectPath << m_textCtrlProjectPath->GetValue();
-
- projectPath = projectPath.Trim().Trim(false);
-
- wxString tmpSep( wxFileName::GetPathSeparator() );
- if ( !projectPath.EndsWith(tmpSep) && projectPath.IsEmpty() == false ) {
- projectPath << wxFileName::GetPathSeparator();
- }
-
- if ( m_txtProjName->GetValue().Trim().Trim(false).IsEmpty() ) {
- m_stxtFullFileName->SetLabel(wxEmptyString);
- return;
- }
-
- if ( m_cbSeparateDir->IsChecked()) {
- //append the workspace name
- projectPath << m_txtProjName->GetValue();
- projectPath << wxFileName::GetPathSeparator();
- }
-
- projectPath << m_txtProjName->GetValue();
- projectPath << wxT(".project");
-
- m_stxtFullFileName->SetLabel( projectPath );
-}
-
-void NewProjectDlg::UpdateProjectPage()
-{
- //update the description
- if ( m_projectData.m_srcProject) {
- wxString desc = m_projectData.m_srcProject->GetDescription();
- desc = desc.Trim().Trim(false);
- desc.Replace(wxT("\t"), wxT(" "));
- m_txtDescription->SetValue( desc );
-
- // select the correct compiler
- ProjectSettingsPtr settings = m_projectData.m_srcProject->GetSettings();
- if (settings) {
- ProjectSettingsCookie ck;
- BuildConfigPtr buildConf = settings->GetFirstBuildConfiguration(ck);
- if (buildConf) {
- m_chCompiler->SetStringSelection( buildConf->GetCompilerType() );
- }
- }
- }
-}
-
-void NewProjectDlg::FillProjectTemplateListCtrl(const wxString& category)
-{
- m_listTemplates->DeleteAllItems();
-
- std::list<ProjectPtr>::iterator iter = m_list.begin();
- for (; iter != m_list.end(); iter++) {
- wxString intType = (*iter)->GetProjectInternalType();
-
- if ( (category == wxT("All")) ||
- (intType == category) ||
- ( (intType == wxEmptyString) && (category == wxT("Others")) ) ||
- ( (m_chCategories->FindString(intType) == wxNOT_FOUND) && (category == wxT("Others")) ) ) {
- long item = AppendListCtrlRow(m_listTemplates);
- std::map<wxString,int>::iterator img_iter = m_mapImages.find((*iter)->GetName());
- int imgid(0);
- if (img_iter != m_mapImages.end()) {
- imgid = img_iter->second;
- }
-
- SetColumnText(m_listTemplates, item, 0, (*iter)->GetName(), imgid);
- }
- }
-
- if ( m_listTemplates->GetItemCount() ) {
- m_projectData.m_srcProject = FindProject(m_listTemplates->GetItemText(0));
- m_listTemplates->SetItemState(0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
- UpdateProjectPage();
- }
-}
-
-void NewProjectDlg::OnBrowseProjectPath(wxCommandEvent& event)
-{
- wxUnusedVar(event);
-
- wxString path(m_textCtrlProjectPath->GetValue());
- wxString new_path = wxDirSelector(wxT("Select Project Path:"), path, wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
- if (new_path.IsEmpty() == false) {
- m_textCtrlProjectPath->SetValue(new_path);
- }
-}
-
-void NewProjectDlg::OnProjectPathUpdated(wxCommandEvent& event)
-{
- wxUnusedVar(event);
-
- UpdateFullFileName();
-}
diff --git a/LiteEditor/newprojectdlg.h b/LiteEditor/newprojectdlg.h
deleted file mode 100644
index 342ddf03..00000000
--- a/LiteEditor/newprojectdlg.h
+++ /dev/null
@@ -1,81 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newprojectdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __newprojectdlg__
-#define __newprojectdlg__
-
-/**
-@file
-Subclass of NewProjectBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "newprojectbasedlg.h"
-#include "project.h"
-#include "list"
-#include "map"
-
-/** Implementing NewProjectBaseDlg */
-class NewProjectDlg : public NewProjectBaseDlg
-{
- std::list<ProjectPtr> m_list;
- std::map<wxString,int> m_mapImages;
- ProjectData m_projectData;
-
-protected:
- // Handlers for NewProjectBaseDlg events.
- void OnProjectNameChanged( wxCommandEvent& event );
- void OnCreate(wxCommandEvent &event);
- void OnTemplateSelected( wxListEvent& event );
- void OnCategorySelected( wxCommandEvent& event );
-
- ProjectPtr FindProject(const wxString &name);
- void FillProjectTemplateListCtrl(const wxString& category);
-
- void UpdateFullFileName();
- void UpdateProjectPage();
-
- /**
- * @brief
- * @param event
- */
- virtual void OnBrowseProjectPath( wxCommandEvent& event );
-
- /**
- * @brief
- * @param event
- */
- virtual void OnProjectPathUpdated( wxCommandEvent& event );
-
-public:
-
- /** Constructor */
- NewProjectDlg( wxWindow* parent );
- virtual ~NewProjectDlg();
-
- const ProjectData& GetProjectData() const {
- return m_projectData;
- }
-};
-
-#endif // __newprojectdlg__
diff --git a/LiteEditor/newquickwatch.cpp b/LiteEditor/newquickwatch.cpp
deleted file mode 100644
index 584cb7bc..00000000
--- a/LiteEditor/newquickwatch.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "newquickwatch.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-NewQuickWatch::NewQuickWatch( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_treeCtrl = new wxTreeCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxTR_SINGLE|wxNO_BORDER );
- m_treeCtrl->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) );
-
- mainSizer->Add( m_treeCtrl, 1, wxEXPAND, 0 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( NewQuickWatch::OnCloseEvent ) );
- m_treeCtrl->Connect( wxEVT_ENTER_WINDOW, wxMouseEventHandler( NewQuickWatch::OnMouseEnterWindow ), NULL, this );
- m_treeCtrl->Connect( wxEVT_KEY_DOWN, wxKeyEventHandler( NewQuickWatch::OnKeyDown ), NULL, this );
- m_treeCtrl->Connect( wxEVT_LEAVE_WINDOW, wxMouseEventHandler( NewQuickWatch::OnMouseLeaveWindow ), NULL, this );
- m_treeCtrl->Connect( wxEVT_LEFT_DOWN, wxMouseEventHandler( NewQuickWatch::OnLeftDown ), NULL, this );
- m_treeCtrl->Connect( wxEVT_MOTION, wxMouseEventHandler( NewQuickWatch::OnMouseMove ), NULL, this );
- m_treeCtrl->Connect( wxEVT_COMMAND_TREE_ITEM_EXPANDED, wxTreeEventHandler( NewQuickWatch::OnItemExpanded ), NULL, this );
- m_treeCtrl->Connect( wxEVT_COMMAND_TREE_ITEM_EXPANDING, wxTreeEventHandler( NewQuickWatch::OnExpandItem ), NULL, this );
- m_treeCtrl->Connect( wxEVT_COMMAND_TREE_ITEM_MENU, wxTreeEventHandler( NewQuickWatch::OnItemMenu ), NULL, this );
-}
-
-NewQuickWatch::~NewQuickWatch()
-{
- // Disconnect Events
- this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( NewQuickWatch::OnCloseEvent ) );
- m_treeCtrl->Disconnect( wxEVT_ENTER_WINDOW, wxMouseEventHandler( NewQuickWatch::OnMouseEnterWindow ), NULL, this );
- m_treeCtrl->Disconnect( wxEVT_KEY_DOWN, wxKeyEventHandler( NewQuickWatch::OnKeyDown ), NULL, this );
- m_treeCtrl->Disconnect( wxEVT_LEAVE_WINDOW, wxMouseEventHandler( NewQuickWatch::OnMouseLeaveWindow ), NULL, this );
- m_treeCtrl->Disconnect( wxEVT_LEFT_DOWN, wxMouseEventHandler( NewQuickWatch::OnLeftDown ), NULL, this );
- m_treeCtrl->Disconnect( wxEVT_MOTION, wxMouseEventHandler( NewQuickWatch::OnMouseMove ), NULL, this );
- m_treeCtrl->Disconnect( wxEVT_COMMAND_TREE_ITEM_EXPANDED, wxTreeEventHandler( NewQuickWatch::OnItemExpanded ), NULL, this );
- m_treeCtrl->Disconnect( wxEVT_COMMAND_TREE_ITEM_EXPANDING, wxTreeEventHandler( NewQuickWatch::OnExpandItem ), NULL, this );
- m_treeCtrl->Disconnect( wxEVT_COMMAND_TREE_ITEM_MENU, wxTreeEventHandler( NewQuickWatch::OnItemMenu ), NULL, this );
-}
diff --git a/LiteEditor/newquickwatch.fbp b/LiteEditor/newquickwatch.fbp
deleted file mode 100644
index ff7833e5..00000000
--- a/LiteEditor/newquickwatch.fbp
+++ /dev/null
@@ -1,163 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">newquickwatch</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">NewQuickWatch</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Dialog" expanded="1">
- <property name="bg"></property>
- <property name="center">wxBOTH</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="extra_style"></property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">NewQuickWatch</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxCAPTION|wxRESIZE_BORDER|wxSTAY_ON_TOP</property>
- <property name="subclass"></property>
- <property name="title">Display Variable</property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnActivate"></event>
- <event name="OnActivateApp"></event>
- <event name="OnChar"></event>
- <event name="OnClose">OnCloseEvent</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnHibernate"></event>
- <event name="OnIconize"></event>
- <event name="OnIdle"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">0</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxTreeCtrl" expanded="1">
- <property name="bg">wxSYS_COLOUR_INFOBK</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_treeCtrl</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxTR_DEFAULT_STYLE|wxTR_SINGLE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxNO_BORDER</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow">OnMouseEnterWindow</event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown">OnKeyDown</event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow">OnMouseLeaveWindow</event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown">OnLeftDown</event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion">OnMouseMove</event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnTreeBeginDrag"></event>
- <event name="OnTreeBeginLabelEdit"></event>
- <event name="OnTreeBeginRDrag"></event>
- <event name="OnTreeDeleteItem"></event>
- <event name="OnTreeEndDrag"></event>
- <event name="OnTreeEndLabelEdit"></event>
- <event name="OnTreeGetInfo"></event>
- <event name="OnTreeItemActivated"></event>
- <event name="OnTreeItemCollapsed"></event>
- <event name="OnTreeItemCollapsing"></event>
- <event name="OnTreeItemExpanded">OnItemExpanded</event>
- <event name="OnTreeItemExpanding">OnExpandItem</event>
- <event name="OnTreeItemGetTooltip"></event>
- <event name="OnTreeItemMenu">OnItemMenu</event>
- <event name="OnTreeItemMiddleClick"></event>
- <event name="OnTreeItemRightClick"></event>
- <event name="OnTreeKeyDown"></event>
- <event name="OnTreeSelChanged"></event>
- <event name="OnTreeSelChanging"></event>
- <event name="OnTreeSetInfo"></event>
- <event name="OnTreeStateImageClick"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/newquickwatch.h b/LiteEditor/newquickwatch.h
deleted file mode 100644
index a7ff37f3..00000000
--- a/LiteEditor/newquickwatch.h
+++ /dev/null
@@ -1,54 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __newquickwatch__
-#define __newquickwatch__
-
-#include <wx/intl.h>
-
-#include <wx/treectrl.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/sizer.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NewQuickWatch
-///////////////////////////////////////////////////////////////////////////////
-class NewQuickWatch : public wxDialog
-{
- private:
-
- protected:
- wxTreeCtrl* m_treeCtrl;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCloseEvent( wxCloseEvent& event ) { event.Skip(); }
- virtual void OnMouseEnterWindow( wxMouseEvent& event ) { event.Skip(); }
- virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
- virtual void OnMouseLeaveWindow( wxMouseEvent& event ) { event.Skip(); }
- virtual void OnLeftDown( wxMouseEvent& event ) { event.Skip(); }
- virtual void OnMouseMove( wxMouseEvent& event ) { event.Skip(); }
- virtual void OnItemExpanded( wxTreeEvent& event ) { event.Skip(); }
- virtual void OnExpandItem( wxTreeEvent& event ) { event.Skip(); }
- virtual void OnItemMenu( wxTreeEvent& event ) { event.Skip(); }
-
-
- public:
-
- NewQuickWatch( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Display Variable"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCAPTION|wxRESIZE_BORDER|wxSTAY_ON_TOP );
- ~NewQuickWatch();
-
-};
-
-#endif //__newquickwatch__
diff --git a/LiteEditor/newversionbasedlg.cpp b/LiteEditor/newversionbasedlg.cpp
deleted file mode 100644
index 44246d0b..00000000
--- a/LiteEditor/newversionbasedlg.cpp
+++ /dev/null
@@ -1,82 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newversionbasedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "newversionbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-NewVersionBaseDlg::NewVersionBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_staticText = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText->Wrap( -1 );
- mainSizer->Add( m_staticText, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_hyperlink1 = new wxHyperlinkCtrl( this, wxID_ANY, wxT("Show me whats new !"), wxT("http://www.wxformbuilder.org"), wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE );
- mainSizer->Add( m_hyperlink1, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- bSizer2->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonCancel, 0, wxALL, 5 );
-
- mainSizer->Add( bSizer2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewVersionBaseDlg::OnOk ), NULL, this );
- m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewVersionBaseDlg::OnCancel ), NULL, this );
-}
-
-NewVersionBaseDlg::~NewVersionBaseDlg()
-{
- // Disconnect Events
- m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewVersionBaseDlg::OnOk ), NULL, this );
- m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewVersionBaseDlg::OnCancel ), NULL, this );
-}
diff --git a/LiteEditor/newversionbasedlg.fbp b/LiteEditor/newversionbasedlg.fbp
deleted file mode 100644
index b9df6a11..00000000
--- a/LiteEditor/newversionbasedlg.fbp
+++ /dev/null
@@ -1,351 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="9" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">newversionbasedlg</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">0</property>
- <property name="name">NewVersionBaseDlg</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Dialog" expanded="1">
- <property name="bg"></property>
- <property name="center">wxBOTH</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="extra_style"></property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">NewVersionBaseDlg</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxDEFAULT_DIALOG_STYLE</property>
- <property name="subclass"></property>
- <property name="title">A New version is available!</property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnActivate"></event>
- <event name="OnActivateApp"></event>
- <event name="OnChar"></event>
- <event name="OnClose"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnHibernate"></event>
- <event name="OnIconize"></event>
- <event name="OnIdle"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL</property>
- <property name="proportion">1</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_HORIZONTAL</property>
- <property name="proportion">0</property>
- <object class="wxHyperlinkCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="hover_color"></property>
- <property name="id">wxID_ANY</property>
- <property name="label">Show me whats new !</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_hyperlink1</property>
- <property name="normal_color"></property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxHL_DEFAULT_STYLE</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="url">http://www.wxformbuilder.org</property>
- <property name="visited_color"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnHyperlink"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_HORIZONTAL</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer2</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_OK</property>
- <property name="label">&amp;OK</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonOk</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnOk</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_CANCEL</property>
- <property name="label">Cancel</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonCancel</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnCancel</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/newversionbasedlg.h b/LiteEditor/newversionbasedlg.h
deleted file mode 100644
index 552d6251..00000000
--- a/LiteEditor/newversionbasedlg.h
+++ /dev/null
@@ -1,76 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newversionbasedlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __newversionbasedlg__
-#define __newversionbasedlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/hyperlink.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NewVersionBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class NewVersionBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText;
- wxHyperlinkCtrl* m_hyperlink1;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnOk( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCancel( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- NewVersionBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("A New version is available!"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
- ~NewVersionBaseDlg();
-
-};
-
-#endif //__newversionbasedlg__
diff --git a/LiteEditor/newversiondlg.cpp b/LiteEditor/newversiondlg.cpp
deleted file mode 100644
index ca104d90..00000000
--- a/LiteEditor/newversiondlg.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newversiondlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "newversiondlg.h"
-
-NewVersionDlg::NewVersionDlg( wxWindow* parent )
- : NewVersionBaseDlg( parent )
-{
- m_buttonOk->SetFocus();
-}
-
-void NewVersionDlg::OnOk( wxCommandEvent& event )
-{
- wxUnusedVar( event );
- EndModal(wxID_OK);
-}
-
-void NewVersionDlg::OnCancel( wxCommandEvent& event )
-{
- wxUnusedVar( event );
- EndModal(wxID_CANCEL);
-}
-
-void NewVersionDlg::SetMessage(const wxString& message)
-{
- m_staticText->SetLabel(message);
- GetSizer()->Fit(this);
- GetSizer()->Layout();
-}
-
-void NewVersionDlg::SetReleaseNotesURL(const wxString& url)
-{
- m_hyperlink1->SetURL(url);
-}
diff --git a/LiteEditor/newversiondlg.h b/LiteEditor/newversiondlg.h
deleted file mode 100644
index 8d83d8ba..00000000
--- a/LiteEditor/newversiondlg.h
+++ /dev/null
@@ -1,50 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newversiondlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __newversiondlg__
-#define __newversiondlg__
-
-/**
-@file
-Subclass of NewVersionBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "newversionbasedlg.h"
-
-/** Implementing NewVersionBaseDlg */
-class NewVersionDlg : public NewVersionBaseDlg
-{
-protected:
- void OnOk( wxCommandEvent& event );
- void OnCancel( wxCommandEvent& event );
-
-public:
- /** Constructor */
- NewVersionDlg( wxWindow* parent );
- void SetMessage(const wxString &message);
- void SetReleaseNotesURL(const wxString &url);
-};
-
-#endif // __newversiondlg__
diff --git a/LiteEditor/newworkspacebasedlg.cpp b/LiteEditor/newworkspacebasedlg.cpp
deleted file mode 100644
index 69cfa31d..00000000
--- a/LiteEditor/newworkspacebasedlg.cpp
+++ /dev/null
@@ -1,103 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Dec 29 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "newworkspacebasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-NewWorkspaceBase::NewWorkspaceBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_panelWorkspace = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( m_panelWorkspace, wxID_ANY, wxT("Workspace Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer4->Add( m_staticText1, 0, wxALL, 5 );
-
- m_textCtrlWorkspaceName = new wxTextCtrl( m_panelWorkspace, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_textCtrlWorkspaceName, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText3 = new wxStaticText( m_panelWorkspace, wxID_ANY, wxT("Workspace Path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- bSizer4->Add( m_staticText3, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_textCtrlWorkspacePath = new wxTextCtrl( m_panelWorkspace, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_textCtrlWorkspacePath, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_buttonWorkspaceDirPicker = new wxButton( m_panelWorkspace, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_buttonWorkspaceDirPicker, 0, wxALL, 5 );
-
- bSizer4->Add( bSizer3, 0, wxEXPAND, 5 );
-
- m_checkBoxCreateSeparateDir = new wxCheckBox( m_panelWorkspace, wxID_ANY, wxT("Create the workspace under a separate directory"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkBoxCreateSeparateDir->SetValue(true);
-
- bSizer4->Add( m_checkBoxCreateSeparateDir, 0, wxALL|wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( m_panelWorkspace, wxID_ANY, wxT("File Name:") ), wxVERTICAL );
-
- m_staticTextWorkspaceFileName = new wxStaticText( m_panelWorkspace, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextWorkspaceFileName->Wrap( -1 );
- sbSizer1->Add( m_staticTextWorkspaceFileName, 0, wxALL|wxEXPAND, 5 );
-
- bSizer4->Add( sbSizer1, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
-
- bSizer2->Add( bSizer4, 1, wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( m_panelWorkspace, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer2->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonCreateWorkspace = new wxButton( m_panelWorkspace, wxID_OK, wxT("&Create"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonCreateWorkspace->SetDefault();
- bSizer5->Add( m_buttonCreateWorkspace, 0, wxALL, 5 );
-
- m_buttonCancelWorkspace = new wxButton( m_panelWorkspace, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer5->Add( m_buttonCancelWorkspace, 0, wxALL, 5 );
-
- bSizer2->Add( bSizer5, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- m_panelWorkspace->SetSizer( bSizer2 );
- m_panelWorkspace->Layout();
- bSizer2->Fit( m_panelWorkspace );
- bSizer1->Add( m_panelWorkspace, 1, wxEXPAND | wxALL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_textCtrlWorkspaceName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( NewWorkspaceBase::OnWorkspacePathUpdated ), NULL, this );
- m_textCtrlWorkspacePath->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( NewWorkspaceBase::OnWorkspacePathUpdated ), NULL, this );
- m_buttonWorkspaceDirPicker->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewWorkspaceBase::OnWorkspaceDirPicker ), NULL, this );
- m_checkBoxCreateSeparateDir->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( NewWorkspaceBase::OnWorkspacePathUpdated ), NULL, this );
- m_buttonCreateWorkspace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewWorkspaceBase::OnButtonCreate ), NULL, this );
-}
-
-NewWorkspaceBase::~NewWorkspaceBase()
-{
- // Disconnect Events
- m_textCtrlWorkspaceName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( NewWorkspaceBase::OnWorkspacePathUpdated ), NULL, this );
- m_textCtrlWorkspacePath->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( NewWorkspaceBase::OnWorkspacePathUpdated ), NULL, this );
- m_buttonWorkspaceDirPicker->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewWorkspaceBase::OnWorkspaceDirPicker ), NULL, this );
- m_checkBoxCreateSeparateDir->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( NewWorkspaceBase::OnWorkspacePathUpdated ), NULL, this );
- m_buttonCreateWorkspace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewWorkspaceBase::OnButtonCreate ), NULL, this );
-}
diff --git a/LiteEditor/newworkspacebasedlg.h b/LiteEditor/newworkspacebasedlg.h
deleted file mode 100644
index 167c19cd..00000000
--- a/LiteEditor/newworkspacebasedlg.h
+++ /dev/null
@@ -1,61 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Dec 29 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __newworkspacebasedlg__
-#define __newworkspacebasedlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/checkbox.h>
-#include <wx/statbox.h>
-#include <wx/statline.h>
-#include <wx/panel.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NewWorkspaceBase
-///////////////////////////////////////////////////////////////////////////////
-class NewWorkspaceBase : public wxDialog
-{
- private:
-
- protected:
- wxPanel* m_panelWorkspace;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_textCtrlWorkspaceName;
- wxStaticText* m_staticText3;
- wxTextCtrl* m_textCtrlWorkspacePath;
- wxButton* m_buttonWorkspaceDirPicker;
- wxCheckBox* m_checkBoxCreateSeparateDir;
- wxStaticText* m_staticTextWorkspaceFileName;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonCreateWorkspace;
- wxButton* m_buttonCancelWorkspace;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnWorkspacePathUpdated( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnWorkspaceDirPicker( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCreate( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- NewWorkspaceBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("New Workspace"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 623,350 ), long style = wxDEFAULT_DIALOG_STYLE );
- ~NewWorkspaceBase();
-
-};
-
-#endif //__newworkspacebasedlg__
diff --git a/LiteEditor/newworkspacedlg.cpp b/LiteEditor/newworkspacedlg.cpp
deleted file mode 100644
index 7830d0c9..00000000
--- a/LiteEditor/newworkspacedlg.cpp
+++ /dev/null
@@ -1,101 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newworkspacedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "newworkspacedlg.h"
-#include "windowattrmanager.h"
-#include "globals.h"
-#include "wx/msgdlg.h"
-#include "wx/dirdlg.h"
-#include "wx/filename.h"
-
-NewWorkspaceDlg::NewWorkspaceDlg( wxWindow* parent )
- :
- NewWorkspaceBase( parent )
-{
- m_textCtrlWorkspacePath->SetValue(wxGetCwd());
- m_textCtrlWorkspaceName->SetFocus();
-
- WindowAttrManager::Load(this, wxT("NewWorkspaceDlgAttr"), NULL);
- Centre();
-}
-
-NewWorkspaceDlg::~NewWorkspaceDlg()
-{
- WindowAttrManager::Save(this, wxT("NewWorkspaceDlgAttr"), NULL);
-}
-
-void NewWorkspaceDlg::OnWorkspacePathUpdated( wxCommandEvent& event )
-{
- //update the static text control with the actual path
-
- wxString workspacePath;
- workspacePath << m_textCtrlWorkspacePath->GetValue();
-
- workspacePath = workspacePath.Trim().Trim(false);
-
- wxString tmpSep( wxFileName::GetPathSeparator() );
- if ( !workspacePath.EndsWith(tmpSep) && workspacePath.IsEmpty() == false ) {
- workspacePath << wxFileName::GetPathSeparator();
- }
-
- if( m_textCtrlWorkspaceName->GetValue().Trim().Trim(false).IsEmpty() ) {
- m_staticTextWorkspaceFileName->SetLabel(wxEmptyString);
- return;
- }
-
- if( m_checkBoxCreateSeparateDir->IsChecked() ) {
- workspacePath << m_textCtrlWorkspaceName->GetValue();
- workspacePath << wxFileName::GetPathSeparator();
- }
-
- workspacePath << m_textCtrlWorkspaceName->GetValue();
- workspacePath << wxT(".workspace");
- m_staticTextWorkspaceFileName->SetLabel( workspacePath );
-}
-
-void NewWorkspaceDlg::OnWorkspaceDirPicker( wxCommandEvent& event )
-{
- const wxString& dir = wxDirSelector(wxT("Choose a folder:"));
- if ( !dir.empty() ) {
- m_textCtrlWorkspacePath->SetValue( dir );
- }
-}
-
-void NewWorkspaceDlg::OnButtonCreate( wxCommandEvent& event )
-{
- //validate that the path part is valid
- m_workspacePath = m_staticTextWorkspaceFileName->GetLabel();
- wxFileName fn(m_workspacePath);
-
- if( m_checkBoxCreateSeparateDir->IsChecked() ){
- // dont test the result
- fn.Mkdir(fn.GetPath(), 0777, wxPATH_MKDIR_FULL);
- }
-
- if ( !wxDirExists(fn.GetPath()) ) {
- wxMessageBox(_("Invalid path: ") + fn.GetPath(), wxT("Error"), wxOK | wxICON_HAND);
- return;
- }
- EndModal(wxID_OK);
-}
diff --git a/LiteEditor/newworkspacedlg.h b/LiteEditor/newworkspacedlg.h
deleted file mode 100644
index f09f73a5..00000000
--- a/LiteEditor/newworkspacedlg.h
+++ /dev/null
@@ -1,54 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : newworkspacedlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __newworkspacedlg__
-#define __newworkspacedlg__
-
-/**
-@file
-Subclass of NewWorkspaceBase, which is generated by wxFormBuilder.
-*/
-
-#include "newworkspacebasedlg.h"
-
-/** Implementing NewWorkspaceBase */
-class NewWorkspaceDlg : public NewWorkspaceBase
-{
- wxString m_workspacePath;
-
-protected:
- // Handlers for NewWorkspaceBase events.
- void OnWorkspacePathUpdated( wxCommandEvent& event );
- void OnWorkspaceDirPicker( wxCommandEvent& event );
- void OnButtonCreate( wxCommandEvent& event );
-
-public:
- /** Constructor */
- NewWorkspaceDlg( wxWindow* parent );
- virtual ~NewWorkspaceDlg();
-
- wxString GetFilePath() const {return m_workspacePath;}
-};
-
-#endif // __newworkspacedlg__
diff --git a/LiteEditor/openwindowspanel.cpp b/LiteEditor/openwindowspanel.cpp
deleted file mode 100644
index b4574486..00000000
--- a/LiteEditor/openwindowspanel.cpp
+++ /dev/null
@@ -1,156 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : openwindowspanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include <wx/clntdata.h>
-#include "frame.h"
-#include "manager.h"
-#include "openwindowspanel.h"
-#include "string_client_data.h"
-
-OpenWindowsPanel::OpenWindowsPanel( wxWindow* parent, const wxString &caption )
- : OpenWindowsPanelBase( parent )
- , m_caption(caption)
- , m_rclickMenu(wxXmlResource::Get()->LoadMenu(wxT("editor_tab_right_click")))
-{
- wxTheApp->Connect(wxEVT_ACTIVE_EDITOR_CHANGED, wxCommandEventHandler(OpenWindowsPanel::OnActiveEditorChanged), NULL, this);
- wxTheApp->Connect(wxEVT_EDITOR_CLOSING, wxCommandEventHandler(OpenWindowsPanel::OnEditorClosing), NULL, this);
- wxTheApp->Connect(wxEVT_ALL_EDITORS_CLOSED, wxCommandEventHandler(OpenWindowsPanel::OnAllEditorsClosed), NULL, this);
-}
-
-OpenWindowsPanel::~OpenWindowsPanel()
-{
- if (m_rclickMenu) {
- delete m_rclickMenu;
- m_rclickMenu = NULL;
- }
- // clear list now, or wxGTK seems to crash on exit
- m_fileList->Clear();
-}
-
-int OpenWindowsPanel::EditorItem(LEditor *editor)
-{
- if (editor) {
- wxString path = editor->GetFileName().GetFullPath();
- for (unsigned i = 0; i < m_fileList->GetCount(); i++) {
- MyStringClientData *data = dynamic_cast<MyStringClientData *>(m_fileList->GetClientObject(i));
- if (data->GetData() == path)
- return i;
- }
- }
- return wxNOT_FOUND;
-}
-
-void OpenWindowsPanel::DoOpenSelectedItem(int item)
-{
- MyStringClientData *data = dynamic_cast<MyStringClientData *>(m_fileList->GetClientObject(item));
- Frame::Get()->GetMainBook()->OpenFile(data->GetData(), wxEmptyString);
-}
-
-void OpenWindowsPanel::DoCloseSelectedItem(int item)
-{
- DoOpenSelectedItem(item); // make sure the editor is selected in MainBook
- wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, XRCID("close_file"));
- ProcessEvent(e);
-}
-
-void OpenWindowsPanel::OnKeyDown( wxKeyEvent& event )
-{
- switch (event.GetKeyCode()) {
- case WXK_RETURN:
- case WXK_NUMPAD_ENTER:
- case WXK_SPACE:
- if (m_fileList->GetSelection() != wxNOT_FOUND) {
- DoOpenSelectedItem(m_fileList->GetSelection());
- }
- break;
- case WXK_DELETE:
- case WXK_NUMPAD_DELETE:
- if (m_fileList->GetSelection() != wxNOT_FOUND) {
- DoCloseSelectedItem(m_fileList->GetSelection());
- m_fileList->SetFocus();
- }
- break;
- default:
- event.Skip();
- break;
- }
-}
-
-void OpenWindowsPanel::OnItemDClicked( wxCommandEvent& event )
-{
- DoOpenSelectedItem(event.GetSelection());
-}
-
-void OpenWindowsPanel::OnRightUp( wxMouseEvent& event )
-{
- wxUnusedVar(event);
- int sel = m_fileList->GetSelection();
- if (sel != wxNOT_FOUND) {
- DoOpenSelectedItem(sel);
- PopupMenu(m_rclickMenu);
- }
-}
-
-void OpenWindowsPanel::OnChar(wxKeyEvent& event)
-{
- OnKeyDown(event);
-}
-
-void OpenWindowsPanel::OnActiveEditorChanged(wxCommandEvent& e)
-{
- e.Skip();
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- int i = EditorItem(editor);
- if (i != wxNOT_FOUND && i == m_fileList->GetSelection())
- return;
-
- m_fileList->Freeze();
- if (i == wxNOT_FOUND) {
- wxString txt = editor->GetFileName().GetFullName();
- MyStringClientData *data = new MyStringClientData(editor->GetFileName().GetFullPath());
- i = m_fileList->Append(txt, data);
- }
- m_fileList->Select(i);
- m_fileList->EnsureVisible(i);
- m_fileList->Thaw();
-}
-
-void OpenWindowsPanel::OnAllEditorsClosed(wxCommandEvent& e)
-{
- e.Skip();
- m_fileList->Clear();
-}
-
-void OpenWindowsPanel::OnEditorClosing(wxCommandEvent& e)
-{
- e.Skip();
- LEditor *editor = dynamic_cast<LEditor*>((IEditor*) e.GetClientData());
- int i = EditorItem(editor);
- if (i != wxNOT_FOUND) {
- m_fileList->Freeze();
- m_fileList->Delete(i);
- m_fileList->Thaw();
- }
-}
diff --git a/LiteEditor/openwindowspanel.h b/LiteEditor/openwindowspanel.h
deleted file mode 100644
index e5b87e03..00000000
--- a/LiteEditor/openwindowspanel.h
+++ /dev/null
@@ -1,66 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : openwindowspanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __openwindowspanel__
-#define __openwindowspanel__
-
-/**
-@file
-Subclass of OpenWindowsPanelBase, which is generated by wxFormBuilder.
-*/
-
-#include "openwindowspanelbase.h"
-
-class LEditor;
-
-/** Implementing OpenWindowsPanelBase */
-class OpenWindowsPanel : public OpenWindowsPanelBase
-{
- wxString m_caption;
- wxMenu *m_rclickMenu;
-
- int EditorItem(LEditor *editor);
- void DoOpenSelectedItem(int item);
- void DoCloseSelectedItem(int item);
-
-protected:
- // Handlers for OpenWindowsPanelBase events.
- void OnKeyDown( wxKeyEvent& event );
- void OnItemDClicked( wxCommandEvent& event );
- void OnRightUp( wxMouseEvent& event );
- void OnChar( wxKeyEvent& event );
-
- // Handlers for workspace events
- void OnActiveEditorChanged(wxCommandEvent &e);
- void OnEditorClosing(wxCommandEvent &e);
- void OnAllEditorsClosed(wxCommandEvent &e);
-
-public:
- /** Constructor */
- OpenWindowsPanel( wxWindow* parent, const wxString &caption );
- ~OpenWindowsPanel();
- const wxString &GetCaption() const { return m_caption; }
-};
-
-#endif // __openwindowspanel__
diff --git a/LiteEditor/openwindowspanelbase.cpp b/LiteEditor/openwindowspanelbase.cpp
deleted file mode 100644
index fa8b11ed..00000000
--- a/LiteEditor/openwindowspanelbase.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : openwindowspanelbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "openwindowspanelbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-OpenWindowsPanelBase::OpenWindowsPanelBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_fileList = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_SORT );
- mainSizer->Add( m_fileList, 1, wxALL|wxEXPAND, 0 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- // Connect Events
- m_fileList->Connect( wxEVT_CHAR, wxKeyEventHandler( OpenWindowsPanelBase::OnChar ), NULL, this );
- m_fileList->Connect( wxEVT_KEY_DOWN, wxKeyEventHandler( OpenWindowsPanelBase::OnKeyDown ), NULL, this );
- m_fileList->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( OpenWindowsPanelBase::OnItemSelected ), NULL, this );
- m_fileList->Connect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( OpenWindowsPanelBase::OnItemDClicked ), NULL, this );
- m_fileList->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( OpenWindowsPanelBase::OnRightUp ), NULL, this );
-}
diff --git a/LiteEditor/openwindowspanelbase.h b/LiteEditor/openwindowspanelbase.h
deleted file mode 100644
index ffb28183..00000000
--- a/LiteEditor/openwindowspanelbase.h
+++ /dev/null
@@ -1,70 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : openwindowspanelbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __openwindowspanelbase__
-#define __openwindowspanelbase__
-
-#include <wx/string.h>
-#include <wx/listbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class OpenWindowsPanelBase
-///////////////////////////////////////////////////////////////////////////////
-class OpenWindowsPanelBase : public wxPanel
-{
- private:
-
- protected:
- wxListBox* m_fileList;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnChar( wxKeyEvent& event ){ event.Skip(); }
- virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }
- virtual void OnItemSelected( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnItemDClicked( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnRightUp( wxMouseEvent& event ){ event.Skip(); }
-
-
- public:
- OpenWindowsPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 250,300 ), long style = wxTAB_TRAVERSAL|wxWANTS_CHARS );
-
-};
-
-#endif //__openwindowspanelbase__
diff --git a/LiteEditor/options_base_dlg2.cpp b/LiteEditor/options_base_dlg2.cpp
deleted file mode 100644
index 1ac97986..00000000
--- a/LiteEditor/options_base_dlg2.cpp
+++ /dev/null
@@ -1,78 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "options_base_dlg2.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-OptionsBaseDlg2::OptionsBaseDlg2( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* innerSizer;
- innerSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_treeBook = new wxTreebook(this, wxID_ANY);
- innerSizer->Add( m_treeBook, 1, wxALL|wxEXPAND, 5 );
-
- mainSizer->Add( innerSizer, 1, wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline1, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* btnSizer;
- btnSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_okButton = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_okButton->SetDefault();
- btnSizer->Add( m_okButton, 0, wxALIGN_RIGHT|wxALL, 5 );
-
- m_cancelButton = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_cancelButton, 0, wxALIGN_RIGHT|wxALL, 5 );
-
- m_applyButton = new wxButton( this, wxID_APPLY, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_applyButton, 0, wxALIGN_RIGHT|wxALL, 5 );
-
- mainSizer->Add( btnSizer, 0, wxALIGN_CENTER, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- this->Centre( wxBOTH );
-
- // Connect Events
- this->Connect( wxEVT_ACTIVATE, wxActivateEventHandler( OptionsBaseDlg2::OnActivate ) );
- this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( OptionsBaseDlg2::OnInitDialog ) );
- m_okButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonOK ), NULL, this );
- m_cancelButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonCancel ), NULL, this );
- m_applyButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonApply ), NULL, this );
-}
-
-OptionsBaseDlg2::~OptionsBaseDlg2()
-{
- // Disconnect Events
- this->Disconnect( wxEVT_ACTIVATE, wxActivateEventHandler( OptionsBaseDlg2::OnActivate ) );
- this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( OptionsBaseDlg2::OnInitDialog ) );
- m_okButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonOK ), NULL, this );
- m_cancelButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonCancel ), NULL, this );
- m_applyButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonApply ), NULL, this );
-}
diff --git a/LiteEditor/options_base_dlg2.h b/LiteEditor/options_base_dlg2.h
deleted file mode 100644
index d2ffd6be..00000000
--- a/LiteEditor/options_base_dlg2.h
+++ /dev/null
@@ -1,53 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __options_base_dlg2__
-#define __options_base_dlg2__
-
-#include <wx/treebook.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class OptionsBaseDlg2
-///////////////////////////////////////////////////////////////////////////////
-class OptionsBaseDlg2 : public wxDialog
-{
- private:
-
- protected:
- wxTreebook * m_treeBook;
- wxStaticLine* m_staticline1;
- wxButton* m_okButton;
- wxButton* m_cancelButton;
- wxButton* m_applyButton;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnActivate( wxActivateEvent& event ){ event.Skip(); }
- virtual void OnInitDialog( wxInitDialogEvent& event ){ event.Skip(); }
- virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonApply( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- OptionsBaseDlg2( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Global Editor Preferences"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 640,480 ), long style = wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER );
- ~OptionsBaseDlg2();
-
-};
-
-#endif //__options_base_dlg2__
diff --git a/LiteEditor/options_dlg2.cpp b/LiteEditor/options_dlg2.cpp
deleted file mode 100644
index a344923f..00000000
--- a/LiteEditor/options_dlg2.cpp
+++ /dev/null
@@ -1,143 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : options_dlg2.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "options_dlg2.h"
-#include "plugin.h"
-#include "editorsettingsdockingwidows.h"
-#include "editorsettingsterminal.h"
-#include "editorsettingscaret.h"
-
-#include "frame.h"
-#include "editor_options_general_guides_panel.h"
-#include "editoroptionsgeneralcodenavpanel.h"
-#include "editoroptionsgeneralindentationpanel.h"
-#include "editoroptionsgeneralrightmarginpanel.h"
-#include "editoroptionsgeneralsavepanel.h"
-#include "globals.h"
-
-#include "editorsettingscomments.h"
-#include "editorsettingscommentsdoxygenpanel.h"
-#include "editorsettingsbookmarkspanel.h"
-#include "editorsettingsdialogs.h"
-#include "editorsettingsfolding.h"
-#include "editorsettingsmiscpanel.h"
-#include "manager.h"
-#include "../Plugin/windowattrmanager.h"
-
-OptionsDlg2::OptionsDlg2( wxWindow* parent )
- : OptionsBaseDlg2( parent )
- , m_contentObjects()
- , restartRquired(false)
-{
- Initialize();
- WindowAttrManager::Load(this, wxT("OptionsDlgAttr"), NULL);
- GetSizer()->Layout();
-}
-
-OptionsDlg2::~OptionsDlg2()
-{
- if ( !this->restartRquired )
- WindowAttrManager::Save(this, wxT("OptionsDlgAttr"), NULL);
-}
-
-void OptionsDlg2::OnButtonOK( wxCommandEvent&)
-{
- DoSave();
- EndModal(wxID_OK);
-}
-
-void OptionsDlg2::OnButtonCancel( wxCommandEvent&)
-{
- EndModal(wxID_CANCEL);
-}
-
-void OptionsDlg2::OnButtonApply( wxCommandEvent& )
-{
- DoSave();
-}
-
-void OptionsDlg2::DoSave()
-{
- // construct an OptionsConfig object and update the configuration
- OptionsConfigPtr options(new OptionsConfig(NULL));
-
- // for performance reasons, we start a transaction for the configuration
- // file
- EditorConfigST::Get()->Begin();
- typedef std::list<TreeBookNodeBase*>::iterator ContentIter;
- for (ContentIter it = m_contentObjects.begin(), end = m_contentObjects.end(); it != end; ++it) {
- if (*it) {
- TreeBookNodeBase* child = *it;
- child->Save( options );
-
- if ( !this->restartRquired ) {
- this->restartRquired = child->IsRestartRequired();
- }
- }
- }
-
- EditorConfigST::Get()->SetOptions(options);
-
- // save the modifications to the disk
- EditorConfigST::Get()->Save();
-
- Frame::Get()->GetMainBook()->ApplySettingsChanges();
-
- // Notify plugins about settings changed
- PostCmdEvent( wxEVT_EDITOR_SETTINGS_CHANGED );
-
- if ( this->restartRquired ) {
- WindowAttrManager::Save(this, wxT("OptionsDlgAttr"), NULL);
- }
-}
-
-void OptionsDlg2::Initialize()
-{
- m_treeBook->AddPage(0, wxT("General"));
- AddSubPage(new EditorOptionsGeneralGuidesPanel(m_treeBook), wxT("Guides"), true);
- AddSubPage(new EditorOptionsGeneralIndentationPanel(m_treeBook), wxT("Indentation"));
- AddSubPage(new EditorOptionsGeneralRightMarginPanel(m_treeBook), wxT("Right Margin Indicator"));
- AddSubPage(new EditorSettingsCaret(m_treeBook), wxT("Caret"));
- AddSubPage(new EditorOptionsGeneralSavePanel(m_treeBook), wxT("Save Options"));
-
- m_treeBook->AddPage(0, wxT("C++"));
- AddSubPage(new EditorSettingsComments(m_treeBook), wxT("Comments"));
- AddSubPage(new EditorSettingsCommentsDoxygenPanel(m_treeBook), wxT("Doxygen"));
-
-#ifdef __WXMSW__
- AddSubPage(new EditorOptionsGeneralCodeNavPanel(m_treeBook), wxT("Quick Code Navigation"));
-#endif
-
- AddPage(new EditorSettingsFolding(m_treeBook), wxT("Folding"));
- AddPage(new EditorSettingsBookmarksPanel(m_treeBook), wxT("Bookmarks & Breakpoints"));
- AddPage(new EditorSettingsDialogs(m_treeBook), wxT("Dialogs"));
- AddPage(new EditorSettingsDockingWindows(m_treeBook), wxT("Docking Windows"));
-
-#ifndef __WXMSW__
- // the Terminal page should NOT be added under Windows
- AddPage(new EditorSettingsTerminal(m_treeBook), wxT("Terminal"));
-#endif
- AddPage(new EditorSettingsMiscPanel(m_treeBook), wxT("Misc"));
-}
diff --git a/LiteEditor/options_dlg2.h b/LiteEditor/options_dlg2.h
deleted file mode 100644
index 79d7c6ce..00000000
--- a/LiteEditor/options_dlg2.h
+++ /dev/null
@@ -1,74 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : options_dlg2.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __options_dlg2__
-#define __options_dlg2__
-
-/**
-@file
-Subclass of OptionsBaseDlg2, which is generated by wxFormBuilder.
-*/
-
-#include "options_base_dlg2.h"
-#include "treebooknodebase.h"
-
-/** Implementing OptionsBaseDlg2 */
-class OptionsDlg2 : public OptionsBaseDlg2
-{
-private:
- // We do not need to clean up those pointers because they are
- // deleted by the wxTreeBook!
- std::list<TreeBookNodeBase*> m_contentObjects;
-protected:
- // Handlers for OptionsBaseDlg2 events.
- void OnButtonOK( wxCommandEvent& event );
- void OnButtonCancel( wxCommandEvent& event );
- void OnButtonApply( wxCommandEvent& event );
- void Initialize();
-
- void DoSave();
- template<typename T>
- void AddSubPage(T * ptr, wxString const & caption, bool selected = false){
- m_treeBook->AddSubPage(ptr, caption, selected);
- if(ptr){
- m_contentObjects.push_back(ptr);
- }
- }
- template<typename T>
- void AddPage(T * ptr, wxString const & caption, bool selected = false){
- m_treeBook->AddPage(ptr, caption, selected);
- if(ptr){
- m_contentObjects.push_back(ptr);
- }
- }
-
-public:
- /** Constructor */
- OptionsDlg2( wxWindow* parent );
- virtual ~OptionsDlg2();
- bool restartRquired;
-};
-
-#endif // __options_dlg2__
diff --git a/LiteEditor/optionsdialogbase2.fbp b/LiteEditor/optionsdialogbase2.fbp
deleted file mode 100644
index 6a91b622..00000000
--- a/LiteEditor/optionsdialogbase2.fbp
+++ /dev/null
@@ -1,361 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration" />
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">options_base_dlg2</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">0</property>
- <property name="name">Options</property>
- <property name="namespace" />
- <property name="path">.</property>
- <property name="precompiled_header">#ifdef WX_PRECOMP&#x0A;&#x0A;#include &quot;wx/wxprec.h&quot;&#x0A;&#x0A;#ifdef __BORLANDC__&#x0A;#pragma hdrstop&#x0A;#endif //__BORLANDC__&#x0A;&#x0A;#else&#x0A;#include &lt;wx/wx.h&gt;&#x0A;#endif //WX_PRECOMP</property>
- <property name="relative_path">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Dialog" expanded="1">
- <property name="bg" />
- <property name="center">wxBOTH</property>
- <property name="context_help" />
- <property name="enabled">1</property>
- <property name="extra_style" />
- <property name="fg" />
- <property name="font" />
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size" />
- <property name="minimum_size" />
- <property name="name">OptionsBaseDlg2</property>
- <property name="pos" />
- <property name="size">640,480</property>
- <property name="style">wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER</property>
- <property name="subclass" />
- <property name="title">Editor Settings</property>
- <property name="tooltip" />
- <property name="window_extra_style" />
- <property name="window_name" />
- <property name="window_style" />
- <event name="OnActivate">OnActivate</event>
- <event name="OnActivateApp" />
- <event name="OnChar" />
- <event name="OnClose" />
- <event name="OnEnterWindow" />
- <event name="OnEraseBackground" />
- <event name="OnHibernate" />
- <event name="OnIconize" />
- <event name="OnIdle" />
- <event name="OnInitDialog">OnInitDialog</event>
- <event name="OnKeyDown" />
- <event name="OnKeyUp" />
- <event name="OnKillFocus" />
- <event name="OnLeaveWindow" />
- <event name="OnLeftDClick" />
- <event name="OnLeftDown" />
- <event name="OnLeftUp" />
- <event name="OnMiddleDClick" />
- <event name="OnMiddleDown" />
- <event name="OnMiddleUp" />
- <event name="OnMotion" />
- <event name="OnMouseEvents" />
- <event name="OnMouseWheel" />
- <event name="OnPaint" />
- <event name="OnRightDClick" />
- <event name="OnRightDown" />
- <event name="OnRightUp" />
- <event name="OnSetFocus" />
- <event name="OnSize" />
- <event name="OnUpdateUI" />
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size" />
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size" />
- <property name="name">innerSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="CustomControl" expanded="1">
- <property name="bg" />
- <property name="class">wxTreebook</property>
- <property name="construction">m_treeBook = new wxTreebook(this, wxID_ANY);</property>
- <property name="context_help" />
- <property name="declaration">wxTreebook * m_treeBook;</property>
- <property name="enabled">1</property>
- <property name="fg" />
- <property name="font" />
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="include">#include &lt;wx/treebook.h&gt;</property>
- <property name="maximum_size" />
- <property name="minimum_size">-1,-1</property>
- <property name="name">m_treeBook</property>
- <property name="permission">protected</property>
- <property name="pos" />
- <property name="settings" />
- <property name="size" />
- <property name="subclass" />
- <property name="tooltip" />
- <property name="window_extra_style" />
- <property name="window_name" />
- <property name="window_style" />
- <event name="OnChar" />
- <event name="OnEnterWindow" />
- <event name="OnEraseBackground" />
- <event name="OnKeyDown" />
- <event name="OnKeyUp" />
- <event name="OnKillFocus" />
- <event name="OnLeaveWindow" />
- <event name="OnLeftDClick" />
- <event name="OnLeftDown" />
- <event name="OnLeftUp" />
- <event name="OnMiddleDClick" />
- <event name="OnMiddleDown" />
- <event name="OnMiddleUp" />
- <event name="OnMotion" />
- <event name="OnMouseEvents" />
- <event name="OnMouseWheel" />
- <event name="OnPaint" />
- <event name="OnRightDClick" />
- <event name="OnRightDown" />
- <event name="OnRightUp" />
- <event name="OnSetFocus" />
- <event name="OnSize" />
- <event name="OnUpdateUI" />
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg" />
- <property name="context_help" />
- <property name="enabled">1</property>
- <property name="fg" />
- <property name="font" />
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size" />
- <property name="minimum_size" />
- <property name="name">m_staticline1</property>
- <property name="permission">protected</property>
- <property name="pos" />
- <property name="size" />
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass" />
- <property name="tooltip" />
- <property name="window_extra_style" />
- <property name="window_name" />
- <property name="window_style" />
- <event name="OnChar" />
- <event name="OnEnterWindow" />
- <event name="OnEraseBackground" />
- <event name="OnKeyDown" />
- <event name="OnKeyUp" />
- <event name="OnKillFocus" />
- <event name="OnLeaveWindow" />
- <event name="OnLeftDClick" />
- <event name="OnLeftDown" />
- <event name="OnLeftUp" />
- <event name="OnMiddleDClick" />
- <event name="OnMiddleDown" />
- <event name="OnMiddleUp" />
- <event name="OnMotion" />
- <event name="OnMouseEvents" />
- <event name="OnMouseWheel" />
- <event name="OnPaint" />
- <event name="OnRightDClick" />
- <event name="OnRightDown" />
- <event name="OnRightUp" />
- <event name="OnSetFocus" />
- <event name="OnSize" />
- <event name="OnUpdateUI" />
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size" />
- <property name="name">btnSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_RIGHT|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg" />
- <property name="context_help" />
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg" />
- <property name="font" />
- <property name="hidden">0</property>
- <property name="id">wxID_OK</property>
- <property name="label">&amp;OK</property>
- <property name="maximum_size" />
- <property name="minimum_size" />
- <property name="name">m_okButton</property>
- <property name="permission">protected</property>
- <property name="pos" />
- <property name="size" />
- <property name="style" />
- <property name="subclass" />
- <property name="tooltip" />
- <property name="window_extra_style" />
- <property name="window_name" />
- <property name="window_style" />
- <event name="OnButtonClick">OnButtonOK</event>
- <event name="OnChar" />
- <event name="OnEnterWindow" />
- <event name="OnEraseBackground" />
- <event name="OnKeyDown" />
- <event name="OnKeyUp" />
- <event name="OnKillFocus" />
- <event name="OnLeaveWindow" />
- <event name="OnLeftDClick" />
- <event name="OnLeftDown" />
- <event name="OnLeftUp" />
- <event name="OnMiddleDClick" />
- <event name="OnMiddleDown" />
- <event name="OnMiddleUp" />
- <event name="OnMotion" />
- <event name="OnMouseEvents" />
- <event name="OnMouseWheel" />
- <event name="OnPaint" />
- <event name="OnRightDClick" />
- <event name="OnRightDown" />
- <event name="OnRightUp" />
- <event name="OnSetFocus" />
- <event name="OnSize" />
- <event name="OnUpdateUI" />
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_RIGHT|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg" />
- <property name="context_help" />
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg" />
- <property name="font" />
- <property name="hidden">0</property>
- <property name="id">wxID_CANCEL</property>
- <property name="label">Cancel</property>
- <property name="maximum_size" />
- <property name="minimum_size" />
- <property name="name">m_cancelButton</property>
- <property name="permission">protected</property>
- <property name="pos" />
- <property name="size" />
- <property name="style" />
- <property name="subclass" />
- <property name="tooltip" />
- <property name="window_extra_style" />
- <property name="window_name" />
- <property name="window_style" />
- <event name="OnButtonClick">OnButtonCancel</event>
- <event name="OnChar" />
- <event name="OnEnterWindow" />
- <event name="OnEraseBackground" />
- <event name="OnKeyDown" />
- <event name="OnKeyUp" />
- <event name="OnKillFocus" />
- <event name="OnLeaveWindow" />
- <event name="OnLeftDClick" />
- <event name="OnLeftDown" />
- <event name="OnLeftUp" />
- <event name="OnMiddleDClick" />
- <event name="OnMiddleDown" />
- <event name="OnMiddleUp" />
- <event name="OnMotion" />
- <event name="OnMouseEvents" />
- <event name="OnMouseWheel" />
- <event name="OnPaint" />
- <event name="OnRightDClick" />
- <event name="OnRightDown" />
- <event name="OnRightUp" />
- <event name="OnSetFocus" />
- <event name="OnSize" />
- <event name="OnUpdateUI" />
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_RIGHT|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg" />
- <property name="context_help" />
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg" />
- <property name="font" />
- <property name="hidden">0</property>
- <property name="id">wxID_APPLY</property>
- <property name="label">Apply</property>
- <property name="maximum_size" />
- <property name="minimum_size" />
- <property name="name">m_applyButton</property>
- <property name="permission">protected</property>
- <property name="pos" />
- <property name="size" />
- <property name="style" />
- <property name="subclass" />
- <property name="tooltip" />
- <property name="window_extra_style" />
- <property name="window_name" />
- <property name="window_style" />
- <event name="OnButtonClick">OnButtonApply</event>
- <event name="OnChar" />
- <event name="OnEnterWindow" />
- <event name="OnEraseBackground" />
- <event name="OnKeyDown" />
- <event name="OnKeyUp" />
- <event name="OnKillFocus" />
- <event name="OnLeaveWindow" />
- <event name="OnLeftDClick" />
- <event name="OnLeftDown" />
- <event name="OnLeftUp" />
- <event name="OnMiddleDClick" />
- <event name="OnMiddleDown" />
- <event name="OnMiddleUp" />
- <event name="OnMotion" />
- <event name="OnMouseEvents" />
- <event name="OnMouseWheel" />
- <event name="OnPaint" />
- <event name="OnRightDClick" />
- <event name="OnRightDown" />
- <event name="OnRightUp" />
- <event name="OnSetFocus" />
- <event name="OnSize" />
- <event name="OnUpdateUI" />
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/output_pane.cpp b/LiteEditor/output_pane.cpp
deleted file mode 100644
index 68d18de7..00000000
--- a/LiteEditor/output_pane.cpp
+++ /dev/null
@@ -1,131 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : output_pane.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include "frame.h"
-#include "editor_config.h"
-#include <wx/dcbuffer.h>
-#include "output_pane.h"
-#include "custom_notebook.h"
-#include "findresultstab.h"
-#include "replaceinfilespanel.h"
-#include "buidltab.h"
-#include "errorstab.h"
-#include "shelltab.h"
-#include "taskpanel.h"
-
-const wxString OutputPane::FIND_IN_FILES_WIN = wxT("Find Results");
-const wxString OutputPane::BUILD_WIN = wxT("Build");
-const wxString OutputPane::ERRORS_WIN = wxT("Errors");
-const wxString OutputPane::OUTPUT_WIN = wxT("Output");
-const wxString OutputPane::OUTPUT_DEBUG = wxT("Debug");
-const wxString OutputPane::REPLACE_IN_FILES = wxT("Replace Results");
-const wxString OutputPane::TASKS = wxT("Tasks");
-const wxString OutputPane::TRACE_TAB = wxT("Trace");
-
-
-BEGIN_EVENT_TABLE(OutputPane, wxPanel)
- EVT_PAINT(OutputPane::OnPaint)
- EVT_ERASE_BACKGROUND(OutputPane::OnEraseBg)
- EVT_SIZE(OutputPane::OnSize)
-END_EVENT_TABLE()
-
-OutputPane::OutputPane(wxWindow *parent, const wxString &caption)
- : wxPanel(parent, wxID_ANY, wxDefaultPosition, wxSize(400, 300))
- , m_caption(caption)
- , m_logTargetOld(NULL)
-{
- CreateGUIControls();
-}
-
-OutputPane::~OutputPane()
-{
- delete wxLog::SetActiveTarget(m_logTargetOld);
-}
-
-void OutputPane::CreateGUIControls()
-{
- wxBoxSizer *mainSizer = new wxBoxSizer(wxVERTICAL);
- SetSizer(mainSizer);
-
- // load the notebook style from codelite settings file
- long bookStyle = wxVB_TOP|wxVB_FIXED_WIDTH|wxVB_NO_TABS;
-// EditorConfigST::Get()->GetLongValue(wxT("OutputPane"), bookStyle);
-
- m_book = new Notebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, bookStyle);
- // Calculate the widthest tab (the one with the 'Workspcae' label)
- int xx, yy;
- wxFont fnt = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- wxWindow::GetTextExtent(REPLACE_IN_FILES, &xx, &yy, NULL, NULL, &fnt);
- m_book->SetFixedTabWidth(xx + 16 + 20);
-
- mainSizer->Add(m_book, 1, wxEXPAND | wxALL | wxGROW, 0);
-
- m_buildWin = new BuildTab(m_book, wxID_ANY, BUILD_WIN);
- m_book->AddPage(m_buildWin, BUILD_WIN, BUILD_WIN, wxXmlResource::Get()->LoadBitmap(wxT("build")));
-
- m_errorsWin = new ErrorsTab(m_buildWin, m_book, wxID_ANY, ERRORS_WIN);
- m_book->AddPage(m_errorsWin, ERRORS_WIN, ERRORS_WIN, wxXmlResource::Get()->LoadBitmap(wxT("error")));
-
- m_findResultsTab = new FindResultsTab(m_book, wxID_ANY, FIND_IN_FILES_WIN, true);
- m_book->AddPage(m_findResultsTab, FIND_IN_FILES_WIN, FIND_IN_FILES_WIN, wxXmlResource::Get()->LoadBitmap(wxT("find_results")));
-
- m_replaceResultsTab = new ReplaceInFilesPanel(m_book, wxID_ANY, REPLACE_IN_FILES);
- m_book->AddPage(m_replaceResultsTab, REPLACE_IN_FILES, REPLACE_IN_FILES, wxXmlResource::Get()->LoadBitmap(wxT("refresh16")));
-
- m_outputWind = new ShellTab(m_book, wxID_ANY, OUTPUT_WIN);
- m_book->AddPage(m_outputWind, OUTPUT_WIN, OUTPUT_WIN, wxXmlResource::Get()->LoadBitmap(wxT("output_win")));
-
- m_outputDebug = new DebugTab(m_book, wxID_ANY, OUTPUT_DEBUG);
- m_book->AddPage(m_outputDebug, OUTPUT_DEBUG, OUTPUT_DEBUG, wxXmlResource::Get()->LoadBitmap(wxT("debugger_tab")));
-
- wxTextCtrl *text = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_RICH2 | wxTE_MULTILINE | wxTE_READONLY| wxHSCROLL);
- m_book->AddPage(text, TRACE_TAB, TRACE_TAB, wxXmlResource::Get()->LoadBitmap(wxT("debug_window")));
- m_logTargetOld = wxLog::SetActiveTarget( new wxLogTextCtrl(text) );
-
- m_taskPanel = new TaskPanel(m_book, wxID_ANY, TASKS);
- m_book->AddPage(m_taskPanel, TASKS, TASKS, wxXmlResource::Get()->LoadBitmap(wxT("todo")));
- mainSizer->Layout();
-}
-
-void OutputPane::OnEraseBg(wxEraseEvent &e)
-{
- wxUnusedVar(e);
-}
-
-void OutputPane::OnPaint(wxPaintEvent &e)
-{
- wxUnusedVar(e);
-
- wxBufferedPaintDC dc(this);
- dc.SetPen( wxSystemSettings::GetColour(wxSYS_COLOUR_3DSHADOW) );
- dc.SetBrush( *wxTRANSPARENT_BRUSH );
- dc.DrawRectangle( wxRect(GetSize()) );
-}
-
-void OutputPane::OnSize(wxSizeEvent &e)
-{
- Refresh();
- e.Skip();
-}
diff --git a/LiteEditor/output_pane.h b/LiteEditor/output_pane.h
deleted file mode 100644
index 59cbfe69..00000000
--- a/LiteEditor/output_pane.h
+++ /dev/null
@@ -1,115 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : output_pane.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef OUTPUT_PANE_H
-#define OUTPUT_PANE_H
-
-#include <wx/panel.h>
-
-#include "shelltab.h"
-
-class Notebook;
-class FindResultsTab;
-class BuildTab;
-class ErrorsTab;
-class ReplaceInFilesPanel;
-class ShellTab;
-class DebugTab;
-class TaskPanel;
-class OutputViewControlBar;
-
-/**
- * \ingroup LiteEditor
- * This class represents the default bottom pane in the editor
- *
- * \date 04-14-2007
- *
- * \author Eran
- *
- * \par license
- * This code is absolutely free to use and modify. The code is provided "as is" with
- * no expressed or implied warranty. The author accepts no liability if it causes
- * any damage to your computer, causes your pet to fall ill, increases baldness
- * or makes your car start emitting strange noises when you start it up.
- * This code has no bugs, just undocumented features!
- *
- */
-class OutputPane : public wxPanel
-{
-public:
- static const wxString FIND_IN_FILES_WIN;
- static const wxString BUILD_WIN;
- static const wxString ERRORS_WIN;
- static const wxString OUTPUT_WIN;
- static const wxString OUTPUT_DEBUG;
- static const wxString REPLACE_IN_FILES;
- static const wxString TASKS;
- static const wxString TRACE_TAB;
-
-private:
- wxString m_caption;
- wxLog *m_logTargetOld;
-
- Notebook *m_book;
- FindResultsTab *m_findResultsTab;
- ReplaceInFilesPanel *m_replaceResultsTab;
- BuildTab *m_buildWin;
- ErrorsTab *m_errorsWin;
- ShellTab *m_outputWind;
- DebugTab *m_outputDebug;
- TaskPanel *m_taskPanel;
-
- void CreateGUIControls();
-
- void OnPaint(wxPaintEvent &e);
- void OnEraseBg(wxEraseEvent &e);
- void OnSize(wxSizeEvent &e);
-
- DECLARE_EVENT_TABLE()
-
-public:
- /**
- * Constructor
- * \param parent parent window for this pane
- * \param caption the caption
- */
- OutputPane(wxWindow *parent, const wxString &caption);
-
- /**
- * Destructor
- */
- virtual ~OutputPane();
-
- Notebook *GetNotebook() { return m_book; }
- const wxString &GetCaption () const { return m_caption; }
-
- FindResultsTab *GetFindResultsTab () { return m_findResultsTab; }
- ReplaceInFilesPanel *GetReplaceResultsTab() { return m_replaceResultsTab; }
- BuildTab *GetBuildTab () { return m_buildWin; }
- ErrorsTab *GetErrorsTab () { return m_errorsWin; }
- ShellTab *GetOutputWindow () { return m_outputWind; }
- DebugTab *GetDebugWindow () { return m_outputDebug; }
-};
-
-#endif // OUTPUT_PANE_H
diff --git a/LiteEditor/outputtabwindow.cpp b/LiteEditor/outputtabwindow.cpp
deleted file mode 100644
index 7cf40746..00000000
--- a/LiteEditor/outputtabwindow.cpp
+++ /dev/null
@@ -1,360 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : outputtabwindow.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include "macros.h"
-#include "globals.h"
-#include "manager.h"
-#include "outputtabwindow.h"
-#include "output_pane.h"
-
-
-BEGIN_EVENT_TABLE(OutputTabWindow, wxPanel)
- EVT_MENU(XRCID("scroll_on_output"), OutputTabWindow::OnOutputScrolls)
- EVT_MENU(XRCID("clear_all_output"), OutputTabWindow::OnClearAll)
- EVT_MENU(XRCID("word_wrap_output"), OutputTabWindow::OnWordWrap)
- EVT_MENU(XRCID("collapse_all"), OutputTabWindow::OnCollapseAll)
- EVT_MENU(XRCID("repeat_output"), OutputTabWindow::OnRepeatOutput)
- EVT_UPDATE_UI(XRCID("scroll_on_output"), OutputTabWindow::OnOutputScrollsUI)
- EVT_UPDATE_UI(XRCID("clear_all_output"), OutputTabWindow::OnClearAllUI)
- EVT_UPDATE_UI(XRCID("word_wrap_output"), OutputTabWindow::OnWordWrapUI)
- EVT_UPDATE_UI(XRCID("collapse_all"), OutputTabWindow::OnCollapseAllUI)
- EVT_UPDATE_UI(XRCID("repeat_output"), OutputTabWindow::OnRepeatOutputUI)
- EVT_SCI_DOUBLECLICK(wxID_ANY, OutputTabWindow::OnMouseDClick)
- EVT_SCI_HOTSPOT_CLICK(wxID_ANY, OutputTabWindow::OnHotspotClicked)
- EVT_SCI_MARGINCLICK(wxID_ANY, OutputTabWindow::OnMarginClick)
-END_EVENT_TABLE()
-
-
-OutputTabWindow::OutputTabWindow(wxWindow *parent, wxWindowID id, const wxString &name)
- : wxPanel(parent, id)
- , m_name(name)
- , m_tb(NULL)
- , m_sci(NULL)
- , m_outputScrolls(true)
- , m_autoAppear(true)
-{
- CreateGUIControls();
- wxTheApp->Connect(wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(OutputTabWindow::OnEdit), NULL, this);
- wxTheApp->Connect(wxID_SELECTALL, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(OutputTabWindow::OnEdit), NULL, this);
- wxTheApp->Connect(wxID_COPY, wxEVT_UPDATE_UI, wxUpdateUIEventHandler(OutputTabWindow::OnEditUI), NULL, this);
- wxTheApp->Connect(wxID_SELECTALL, wxEVT_UPDATE_UI, wxUpdateUIEventHandler(OutputTabWindow::OnEditUI), NULL, this);
-}
-
-OutputTabWindow::~OutputTabWindow()
-{
-}
-
-void OutputTabWindow::DefineMarker(wxScintilla *sci, int marker, int markerType, wxColor fore, wxColor back)
-{
- sci->MarkerDefine(marker, markerType);
- sci->MarkerSetForeground(marker, fore);
- sci->MarkerSetBackground(marker, back);
-}
-
-void OutputTabWindow::InitStyle(wxScintilla *sci, int lexer, bool folding)
-{
- sci->SetLexer(lexer);
- sci->StyleClearAll();
-
- for(int i=0; i<=wxSCI_STYLE_DEFAULT; i++) {
- sci->StyleSetBackground(i, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
- sci->StyleSetForeground(i, wxT("BLACK"));
- }
-
- wxFont defFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- wxFont font(defFont.GetPointSize(), wxFONTFAMILY_TELETYPE, wxNORMAL, wxNORMAL);
- sci->StyleSetFont(0, font);
-
- sci->SetIndicatorCurrent(1);
-#ifdef __WXMSW__
- int facttor = 2;
-#else
- int facttor = 5;
-#endif
- sci->IndicatorSetForeground(1, MakeColourLighter(wxT("GOLD"), facttor));
- sci->IndicatorSetForeground(2, MakeColourLighter(wxT("RED"), 4));
- sci->IndicatorSetStyle(1, wxSCI_INDIC_ROUNDBOX);
- sci->IndicatorSetStyle(2, wxSCI_INDIC_ROUNDBOX);
- sci->IndicatorSetUnder(1, true);
- sci->IndicatorSetUnder(2, true);
-
- sci->IndicatorSetAlpha(1, 70);
- sci->IndicatorSetAlpha(2, 70);
-
- sci->SetHotspotActiveUnderline (true);
- sci->SetHotspotActiveForeground(true, wxT("BLUE"));
- sci->SetHotspotSingleLine(true);
- sci->SetMarginType(1, wxSCI_MARGIN_SYMBOL);
- sci->SetMarginMask(4, wxSCI_MASK_FOLDERS);
-
- sci->SetMarginWidth(0, 0);
- sci->SetMarginWidth(1, 0);
- sci->SetMarginWidth(2, 0);
-
- if (folding) {
- sci->SetMarginWidth(4, 16);
- sci->SetProperty(wxT("fold"), wxT("1"));
- sci->SetMarginSensitive(4, true);
- }
-
- // current line marker
- DefineMarker(sci, 0x7, wxSCI_MARK_ARROW, wxColor(0x00, 0x00, 0x00), wxColor(0xff, 0xc8, 0xc8));
-
- wxColor fore(0xff, 0xff, 0xff);
- wxColor back(0x80, 0x80, 0x80);
- DefineMarker(sci, wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_ARROWDOWN, fore, back);
- DefineMarker(sci, wxSCI_MARKNUM_FOLDER, wxSCI_MARK_ARROW, fore, back);
- DefineMarker(sci, wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_BACKGROUND, fore, back);
- DefineMarker(sci, wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_BACKGROUND, fore, back);
- DefineMarker(sci, wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_ARROW, fore, back);
- DefineMarker(sci, wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_ARROWDOWN, fore, back);
- DefineMarker(sci, wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_BACKGROUND, fore, back);
-
- sci->SetWrapStartIndent(4);
- sci->SetWrapVisualFlags(2);
-
- sci->SetScrollWidthTracking(true);
-
- sci->SetReadOnly(true);
-}
-
-void OutputTabWindow::CreateGUIControls()
-{
- wxBoxSizer *mainSizer = new wxBoxSizer(wxHORIZONTAL);
- SetSizer(mainSizer);
-
- //Create the toolbar
- m_tb = new wxToolBar(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTB_FLAT|wxTB_VERTICAL|wxTB_NODIVIDER);
-
- m_tb->AddTool(XRCID("scroll_on_output"),
- wxT("Scroll on Output"),
- wxXmlResource::Get()->LoadBitmap(wxT("link_editor")),
- wxT("Scroll on Output"),
- wxITEM_CHECK);
- m_tb->ToggleTool(XRCID("scroll_on_output"), m_outputScrolls);
-
- m_tb->AddTool(XRCID("word_wrap_output"),
- wxT("Word Wrap"),
- wxXmlResource::Get()->LoadBitmap(wxT("word_wrap")),
- wxT("Word Wrap"),
- wxITEM_CHECK);
-
- m_tb->AddTool(XRCID("clear_all_output"),
- wxT("Clear All"),
- wxXmlResource::Get()->LoadBitmap(wxT("document_delete")),
- wxT("Clear All"));
-
- m_tb->AddTool(XRCID("collapse_all"), _("Fold All Results"),
- wxXmlResource::Get()->LoadBitmap(wxT("fold_airplane")),
- _("Fold All Results"));
-
- m_tb->AddTool(XRCID("repeat_output"), _("Repeat"),
- wxXmlResource::Get()->LoadBitmap(wxT("find_refresh")),
- _("Repeat"));
-
- m_tb->Realize();
- mainSizer->Add(m_tb, 0, wxTOP|wxBOTTOM|wxEXPAND, 5);
-
- m_sci = new wxScintilla(this);
- InitStyle(m_sci, wxSCI_LEX_CONTAINER, false);
- mainSizer->Add(m_sci, 1, wxEXPAND | wxALL, 1);
-
- mainSizer->Layout();
-}
-
-void OutputTabWindow::Clear()
-{
- if (m_sci) {
- m_sci->SetReadOnly(false);
- m_sci->ClearAll();
- m_sci->SetScrollWidth(1);
- m_sci->SetReadOnly(true);
- }
-}
-
-void OutputTabWindow::AppendText(const wxString &text)
-{
- if (m_sci) {
- if (m_autoAppear && m_sci->GetLength() == 0) {
- ManagerST::Get()->ShowOutputPane(m_name);
- }
-
- //----------------------------------------------
- // enable writing
- m_sci->SetReadOnly(false);
-
- if (m_outputScrolls) {
- // the next 4 lines make sure that the caret is at last line
- // and is visible
- m_sci->SetSelectionEnd(m_sci->GetLength());
- m_sci->SetSelectionStart(m_sci->GetLength());
- m_sci->SetCurrentPos(m_sci->GetLength());
- m_sci->EnsureCaretVisible();
- }
-
- // add the text
- m_sci->InsertText(m_sci->GetLength(), text );
-
- if (m_outputScrolls) {
- // the next 4 lines make sure that the caret is at last line
- // and is visible
- m_sci->SetSelectionEnd(m_sci->GetLength());
- m_sci->SetSelectionStart(m_sci->GetLength());
- m_sci->SetCurrentPos(m_sci->GetLength());
- m_sci->EnsureCaretVisible();
- }
-
- // enable readonly mode
- m_sci->SetReadOnly(true);
-
- }
-}
-
-void OutputTabWindow::OnOutputScrolls(wxCommandEvent &e)
-{
- m_outputScrolls = !m_outputScrolls;
-}
-
-void OutputTabWindow::OnOutputScrollsUI(wxUpdateUIEvent& e)
-{
- e.Enable(true);
-}
-
-void OutputTabWindow::OnClearAll(wxCommandEvent &e)
-{
- Clear();
-}
-
-void OutputTabWindow::OnClearAllUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_sci && m_sci->GetLength() > 0);
-}
-
-void OutputTabWindow::OnWordWrap(wxCommandEvent &e)
-{
- if(m_sci) {
- m_sci->SetWrapMode(m_sci->GetWrapMode() == wxSCI_WRAP_WORD ? wxSCI_WRAP_NONE : wxSCI_WRAP_WORD);
- }
-}
-
-void OutputTabWindow::OnWordWrapUI(wxUpdateUIEvent& e)
-{
- e.Enable(true);
-}
-
-void OutputTabWindow::OnCollapseAll(wxCommandEvent& e)
-{
- if(m_sci) {
- int maxLine = m_sci->GetLineCount();
- // do two passes: first see if any folds can be collapsed
- // if not, then expand instead
- bool done = false;
- for (int pass = 0; pass < 2 && !done; pass++) {
- for (int line = 0; line < maxLine; line++) {
- if ((m_sci->GetFoldLevel(line) & wxSCI_FOLDLEVELHEADERFLAG) &&
- m_sci->GetFoldExpanded(line) == !pass) {
- m_sci->ToggleFold(line);
- done = true;
- }
- }
- }
- }
-}
-
-void OutputTabWindow::OnCollapseAllUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_sci && m_sci->GetLength() > 0);
-}
-
-void OutputTabWindow::OnRepeatOutput(wxCommandEvent& e)
-{
- e.Skip();
-}
-
-void OutputTabWindow::OnRepeatOutputUI(wxUpdateUIEvent& e)
-{
- e.Enable(false);
-}
-
-void OutputTabWindow::OnMouseDClick(wxScintillaEvent& e)
-{
- e.Skip();
-}
-
-void OutputTabWindow::OnHotspotClicked(wxScintillaEvent& e)
-{
- OnMouseDClick(e);
-}
-
-void OutputTabWindow::OnMarginClick(wxScintillaEvent& e)
-{
- if (m_sci && e.GetMargin() == 4) {
- m_sci->ToggleFold(m_sci->LineFromPosition(e.GetPosition()));
- }
-}
-
-bool OutputTabWindow::IsFocused()
-{
- wxWindow *win = wxWindow::FindFocus();
- return (win && win == m_sci);
-}
-
-void OutputTabWindow::OnEditUI(wxUpdateUIEvent& e)
-{
- if ( !IsFocused() || !m_sci ) {
- e.Skip();
- return;
- }
-
- switch (e.GetId()) {
- case wxID_COPY:
- e.Enable( m_sci->GetSelectedText().IsEmpty() == false );
- break;
- case wxID_SELECTALL:
- e.Enable(true);
- break;
- default:
- break;
- }
-}
-
-void OutputTabWindow::OnEdit(wxCommandEvent &e)
-{
- if ( !IsFocused() || !m_sci ) {
- e.Skip();
- return;
- }
-
- switch (e.GetId()) {
- case wxID_COPY:
- m_sci->Copy();
- break;
- case wxID_SELECTALL:
- m_sci->SelectAll();
- break;
- default:
- break;
- }
-}
diff --git a/LiteEditor/outputtabwindow.h b/LiteEditor/outputtabwindow.h
deleted file mode 100644
index d42de460..00000000
--- a/LiteEditor/outputtabwindow.h
+++ /dev/null
@@ -1,84 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : outputtabwindow.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __outputtabwindow__
-#define __outputtabwindow__
-
-#include <wx/panel.h>
-#include <wx/wxscintilla.h>
-
-#ifndef wxScintillaEventHandler
-#define wxScintillaEventHandler(func) \
- (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxScintillaEventFunction, &func)
-#endif
-
-
-class OutputTabWindow : public wxPanel
-{
-protected:
- wxString m_name;
- wxToolBar *m_tb;
- wxScintilla *m_sci;
- bool m_outputScrolls;
- bool m_autoAppear;
-
- static void DefineMarker(wxScintilla *sci, int marker, int markerType, wxColor fore, wxColor back);
- static void InitStyle (wxScintilla *sci, int lexer, bool folding);
-
- void CreateGUIControls();
-
- virtual void AppendText(const wxString &text);
- virtual void Clear();
- virtual bool IsFocused();
-
- //Event handlers
- virtual void OnOutputScrolls (wxCommandEvent &e);
- virtual void OnClearAll (wxCommandEvent &e);
- virtual void OnWordWrap (wxCommandEvent &e);
- virtual void OnCollapseAll (wxCommandEvent &e);
- virtual void OnRepeatOutput (wxCommandEvent &e);
- virtual void OnEdit (wxCommandEvent &e);
-
-
- virtual void OnOutputScrollsUI(wxUpdateUIEvent &e);
- virtual void OnClearAllUI (wxUpdateUIEvent &e);
- virtual void OnWordWrapUI (wxUpdateUIEvent &e);
- virtual void OnCollapseAllUI (wxUpdateUIEvent &e);
- virtual void OnRepeatOutputUI (wxUpdateUIEvent &e);
-
- virtual void OnMouseDClick (wxScintillaEvent &e);
- virtual void OnHotspotClicked (wxScintillaEvent &e);
- virtual void OnMarginClick (wxScintillaEvent &e);
- virtual void OnEditUI (wxUpdateUIEvent &e);
-
- DECLARE_EVENT_TABLE()
-
-public:
- OutputTabWindow(wxWindow *parent, wxWindowID id, const wxString &name);
- ~OutputTabWindow();
-
- const wxString &GetCaption() const {return m_name;}
-};
-#endif // __outputtabwindow__
-
diff --git a/LiteEditor/plugindlgbase.cpp b/LiteEditor/plugindlgbase.cpp
deleted file mode 100644
index d9b1d352..00000000
--- a/LiteEditor/plugindlgbase.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "plugindlgbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-PluginMgrDlgBase::PluginMgrDlgBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("Available Plugins:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer1->Add( m_staticText1, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxArrayString m_checkListPluginsListChoices;
- m_checkListPluginsList = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListPluginsListChoices, 0 );
- bSizer1->Add( m_checkListPluginsList, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Description:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bSizer1->Add( m_staticText2, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_htmlWinDesc = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO );
- bSizer1->Add( m_htmlWinDesc, 1, wxALL|wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- bSizer2->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_checkListPluginsList->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( PluginMgrDlgBase::OnItemSelected ), NULL, this );
- m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PluginMgrDlgBase::OnButtonOK ), NULL, this );
-}
-
-PluginMgrDlgBase::~PluginMgrDlgBase()
-{
- // Disconnect Events
- m_checkListPluginsList->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( PluginMgrDlgBase::OnItemSelected ), NULL, this );
- m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PluginMgrDlgBase::OnButtonOK ), NULL, this );
-}
diff --git a/LiteEditor/plugindlgbase.h b/LiteEditor/plugindlgbase.h
deleted file mode 100644
index ac695e6f..00000000
--- a/LiteEditor/plugindlgbase.h
+++ /dev/null
@@ -1,54 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __plugindlgbase__
-#define __plugindlgbase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/checklst.h>
-#include <wx/html/htmlwin.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class PluginMgrDlgBase
-///////////////////////////////////////////////////////////////////////////////
-class PluginMgrDlgBase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxCheckListBox* m_checkListPluginsList;
- wxStaticText* m_staticText2;
- wxHtmlWindow* m_htmlWinDesc;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemSelected( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- PluginMgrDlgBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Manage Plugins:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 672,425 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~PluginMgrDlgBase();
-
-};
-
-#endif //__plugindlgbase__
diff --git a/LiteEditor/pluginmanager.cpp b/LiteEditor/pluginmanager.cpp
deleted file mode 100644
index ce439f12..00000000
--- a/LiteEditor/pluginmanager.cpp
+++ /dev/null
@@ -1,606 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : pluginmanager.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "app.h"
-#include "environmentconfig.h"
-#include "macromanager.h"
-#include "build_settings_config.h"
-#include "buildmanager.h"
-#include "jobqueue.h"
-#include "pluginmanager.h"
-#include "pluginsdata.h"
-#include "pluginconfig.h"
-#include "optionsconfig.h"
-#include "language.h"
-#include "manager.h"
-#include "wx/filename.h"
-#include <wx/log.h>
-#include <wx/dir.h>
-#include "frame.h"
-#include "generalinfo.h"
-#include "editor_config.h"
-#include "fileexplorertree.h"
-#include "workspace_pane.h"
-#include "fileview.h"
-#include "wx/xrc/xmlres.h"
-#include "ctags_manager.h"
-#include "fileexplorer.h"
-#include "plugin_version.h"
-#include "workspacetab.h"
-#include "errorstab.h"
-
-PluginManager *PluginManager::Get()
-{
- static PluginManager theManager;
- return &theManager;
-}
-
-void PluginManager::UnLoad()
-{
- std::map<wxString, IPlugin*>::iterator plugIter = m_plugins.begin();
- for (; plugIter != m_plugins.end(); plugIter++) {
- IPlugin *plugin = plugIter->second;
- plugin->UnPlug();
- delete plugin;
- }
-
-#if wxVERSION_NUMBER < 2900
- std::list<clDynamicLibrary*>::iterator iter = m_dl.begin();
- for ( ; iter != m_dl.end(); iter++ ) {
- ( *iter )->Detach();
- delete ( *iter );
- }
-#endif
-
- m_dl.clear();
- m_plugins.clear();
- PluginConfig::Instance()->Release();
-}
-
-PluginManager::~PluginManager()
-{
-}
-
-void PluginManager::Load()
-{
- wxString ext;
-#if defined (__WXGTK__) || defined (__WXMAC__)
- ext = wxT("so");
-#else
- ext = wxT("dll");
-#endif
-
- wxString fileSpec( wxT( "*." ) + ext );
- PluginConfig::Instance()->Load(wxT("config/plugins.xml"), wxT("2.0.1"));
-
- PluginsData pluginsData;
- PluginConfig::Instance()->ReadObject(wxT("plugins_data"), &pluginsData);
-
- //get the map of all available plugins
- m_pluginsInfo = pluginsData.GetInfo();
- std::map<wxString, PluginInfo> actualPlugins;
-
- //set the managers
- //this code assures us that the shared objects will see the same instances as the application
- //does
- LanguageST::Get()->SetTagsManager( GetTagsManager() );
- TagsManagerST::Get()->SetLanguage( LanguageST::Get() );
-
- // Plugin loading is disabled?
- if (((App*) GetTheApp())->GetLoadPlugins() == false)
- return;
-
-#ifdef __WXGTK__
- wxString pluginsDir(PLUGINS_DIR, wxConvUTF8);
-#else
- wxString pluginsDir(ManagerST::Get()->GetInstallDir() + wxT( "/plugins" ));
-#endif
-
- if ( wxDir::Exists(pluginsDir) ) {
- //get list of dlls
- wxArrayString files;
- wxDir::GetAllFiles( pluginsDir, &files, fileSpec, wxDIR_FILES );
-
- for ( size_t i=0; i<files.GetCount(); i++ ) {
- clDynamicLibrary *dl = new clDynamicLibrary();
- wxString fileName( files.Item( i ) );
- if ( !dl->Load( fileName ) ) {
- wxLogMessage( wxT( "Failed to load plugin's dll: " ) + fileName );
- if (!dl->GetError().IsEmpty())
- wxLogMessage(dl->GetError());
-#if wxVERSION_NUMBER < 2900
- delete dl;
-#endif
- continue;
- }
-
- bool success( false );
- GET_PLUGIN_INFO_FUNC pfnGetPluginInfo = ( GET_PLUGIN_INFO_FUNC )dl->GetSymbol( wxT( "GetPluginInfo" ), &success );
- if ( !success ) {
-#if wxVERSION_NUMBER < 2900
- delete dl;
-#endif
- continue;
- }
-
- // load the plugin version method
- // if the methods does not exist, handle it as if it has value of 100 (lowest version API)
- int interface_version(100);
- GET_PLUGIN_INTERFACE_VERSION_FUNC pfnInterfaceVersion = (GET_PLUGIN_INTERFACE_VERSION_FUNC) dl->GetSymbol(wxT("GetPluginInterfaceVersion"), &success);
- if ( success ) {
- interface_version = pfnInterfaceVersion();
- } else {
- wxLogMessage(wxT("Failed to find GetPluginInterfaceVersion() in dll: ") + fileName);
- if (!dl->GetError().IsEmpty())
- wxLogMessage(dl->GetError());
- }
-
- if ( interface_version != PLUGIN_INTERFACE_VERSION ) {
- wxLogMessage(wxString::Format(wxT("Version interface mismatch error for plugin '%s'. Plugin's interface version is '%d', CodeLite interface version is '%d'"),
- fileName.c_str(),
- interface_version,
- PLUGIN_INTERFACE_VERSION));
-#if wxVERSION_NUMBER < 2900
- delete dl;
-#endif
- continue;
- }
-
- // Check if this dll can be loaded
- PluginInfo pluginInfo = pfnGetPluginInfo();
- std::map< wxString, PluginInfo>::const_iterator iter = m_pluginsInfo.find(pluginInfo.GetName());
- if (iter == m_pluginsInfo.end()) {
- //new plugin?, add it and use the default enabled/disabled for this plugin
- actualPlugins[pluginInfo.GetName()] = pluginInfo;
- if (pluginInfo.GetEnabled() == false) {
-#if wxVERSION_NUMBER < 2900
- delete dl;
-#endif
- continue;
- }
- } else {
- // we have a match!
- // it means that this plugin was already found in the plugins configuration file,
- // use the value set in it to determine whether this plugin should be enabled or disabled
- PluginInfo pi = iter->second;
- pluginInfo.SetEnabled(pi.GetEnabled());
-
- actualPlugins[pluginInfo.GetName()] = pluginInfo;
- if (pluginInfo.GetEnabled() == false) {
-#if wxVERSION_NUMBER < 2900
- delete dl;
-#endif
- continue;
- }
- }
-
- //try and load the plugin
- GET_PLUGIN_CREATE_FUNC pfn = ( GET_PLUGIN_CREATE_FUNC )dl->GetSymbol( wxT( "CreatePlugin" ), &success );
- if ( !success ) {
- wxLogMessage(wxT("Failed to find CreatePlugin() in dll: ") + fileName);
- if (!dl->GetError().IsEmpty())
- wxLogMessage(dl->GetError());
-
- //mark this plugin as not available
- pluginInfo.SetEnabled(false);
- actualPlugins[pluginInfo.GetName()] = pluginInfo;
-
-#if wxVERSION_NUMBER < 2900
- delete dl;
-#endif
- continue;
- }
-
- IPlugin *plugin = pfn( ( IManager* )this );
- wxLogMessage( wxT( "Loaded plugin: " ) + plugin->GetLongName() );
- m_plugins[plugin->GetShortName()] = plugin;
-
- //load the toolbar
- clToolBar *tb = plugin->CreateToolBar( AllowToolbar() ? (wxWindow*)Frame::Get()->GetMainPanel() : (wxWindow*)Frame::Get() );
- if ( tb ) {
- Frame::Get()->GetDockingManager().AddPane( tb, wxAuiPaneInfo().Name( plugin->GetShortName() ).LeftDockable( true ).RightDockable( true ).Caption( plugin->GetShortName() ).ToolbarPane().Top() );
-
- //Add menu entry at the 'View->Toolbars' menu for this toolbar
- int ii = Frame::Get()->GetMenuBar()->FindMenu( wxT( "View" ) );
- if ( ii != wxNOT_FOUND ) {
- wxMenu *viewMenu = Frame::Get()->GetMenuBar()->GetMenu( ii );
- wxMenu *submenu = NULL;
- wxMenuItem *item = viewMenu->FindItem( XRCID("toolbars_menu") );
- if (item) {
- submenu = item->GetSubMenu();
- //add the new toolbar entry at the end of this menu
-
- int id = wxNewId();
- wxString text(plugin->GetShortName());
- text << wxT(" ToolBar");
- wxMenuItem *newItem = new wxMenuItem(submenu, id, text, wxEmptyString, wxITEM_CHECK);
- submenu->Append(newItem);
- Frame::Get()->RegisterToolbar(id, plugin->GetShortName());
- }
- }
- }
-
- //let the plugin plug its menu in the 'Plugins' menu at the menu bar
- //the create menu will be placed as a sub menu of the 'Plugin' menu
- int idx = Frame::Get()->GetMenuBar()->FindMenu( wxT( "Plugins" ) );
- if ( idx != wxNOT_FOUND ) {
- wxMenu *pluginsMenu = Frame::Get()->GetMenuBar()->GetMenu( idx );
- plugin->CreatePluginMenu( pluginsMenu );
- }
-
- //keep the dynamic load library
- m_dl.push_back( dl );
- }
- Frame::Get()->GetDockingManager().Update();
-
- //save the plugins data
- PluginsData pluginsData;
- pluginsData.SetInfo(actualPlugins);
- PluginConfig::Instance()->WriteObject(wxT("plugins_data"), &pluginsData);
- }
-}
-
-IEditor *PluginManager::GetActiveEditor()
-{
- return (IEditor*) Frame::Get()->GetMainBook()->GetActiveEditor();
-}
-
-IConfigTool* PluginManager::GetConfigTool()
-{
- return EditorConfigST::Get();
-}
-
-void PluginManager::HookPopupMenu( wxMenu *menu, MenuType type )
-{
- std::map<wxString, IPlugin*>::iterator iter = m_plugins.begin();
- for ( ; iter != m_plugins.end(); iter++ ) {
- iter->second->HookPopupMenu( menu, type );
- }
-}
-
-void PluginManager::UnHookPopupMenu( wxMenu *menu, MenuType type )
-{
- std::map<wxString, IPlugin*>::iterator iter = m_plugins.begin();
- for ( ; iter != m_plugins.end(); iter++ ) {
- iter->second->UnHookPopupMenu( menu, type );
- }
-}
-
-TreeItemInfo PluginManager::GetSelectedTreeItemInfo( TreeType type )
-{
- TreeItemInfo info;
- switch ( type ) {
- case TreeFileExplorer:
- return Frame::Get()->GetFileExplorer()->GetFileTree()->GetSelectedItemInfo();
- case TreeFileView:
- return Frame::Get()->GetWorkspaceTab()->GetFileView()->GetSelectedItemInfo();
- default:
- return info;
- }
-}
-
-wxTreeCtrl *PluginManager::GetTree(TreeType type)
-{
- switch ( type ) {
- case TreeFileExplorer:
- return Frame::Get()->GetFileExplorer()->GetFileTree();
- case TreeFileView:
- return Frame::Get()->GetWorkspaceTab()->GetFileView();
- default:
- return NULL;
- }
-}
-
-Notebook *PluginManager::GetOutputPaneNotebook()
-{
- return Frame::Get()->GetOutputPane()->GetNotebook();
-}
-
-Notebook *PluginManager::GetWorkspacePaneNotebook()
-{
- return Frame::Get()->GetWorkspacePane()->GetNotebook();
-}
-
-bool PluginManager::OpenFile(const wxString &fileName, const wxString &projectName, int lineno)
-{
- return Frame::Get()->GetMainBook()->OpenFile(fileName, projectName, lineno);
-}
-
-wxString PluginManager::GetStartupDirectory() const
-{
- return ManagerST::Get()->GetStarupDirectory();
-}
-
-void PluginManager::AddProject(const wxString &path)
-{
- ManagerST::Get()->AddProject(path);
-}
-
-bool PluginManager::IsWorkspaceOpen() const
-{
- return ManagerST::Get()->IsWorkspaceOpen();
-}
-
-TagsManager *PluginManager::GetTagsManager()
-{
- return TagsManagerST::Get();
-}
-
-Workspace *PluginManager::GetWorkspace()
-{
- return WorkspaceST::Get();
-}
-
-bool PluginManager::AddFilesToVirtualFolder(wxTreeItemId &item, wxArrayString &paths)
-{
- return Frame::Get()->GetWorkspaceTab()->GetFileView()->AddFilesToVirtualFolder(item, paths);
-}
-
-bool PluginManager::AddFilesToVirtualFolder(const wxString &vdFullPath, wxArrayString &paths)
-{
- return Frame::Get()->GetWorkspaceTab()->GetFileView()->AddFilesToVirtualFolder(vdFullPath, paths);
-}
-
-bool PluginManager::AddFilesToVirtualFolderIntelligently(const wxString &vdFullPath, wxArrayString &paths)
-{
- return Frame::Get()->GetWorkspaceTab()->GetFileView()->AddFilesToVirtualFolderIntelligently(vdFullPath, paths);
-}
-
-int PluginManager::GetToolbarIconSize()
-{
- //for now return 24 by default
- OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
- if (options) {
- return options->GetIconsSize();
- }
- return 24;
-}
-
-wxAuiManager* PluginManager::GetDockingManager()
-{
- return &Frame::Get()->GetDockingManager();
-}
-
-EnvironmentConfig* PluginManager::GetEnv()
-{
- return EnvironmentConfig::Instance();
-}
-
-JobQueue* PluginManager::GetJobQueue()
-{
- return JobQueueSingleton::Instance();
-}
-wxString PluginManager::GetProjectExecutionCommand(const wxString& projectName, wxString& wd)
-{
- return ManagerST::Get()->GetProjectExecutionCommand(projectName, wd, false);
-}
-
-wxApp* PluginManager::GetTheApp()
-{
- return wxTheApp;
-}
-
-void PluginManager::ReloadWorkspace()
-{
- wxCommandEvent evt(wxEVT_COMMAND_MENU_SELECTED, XRCID("reload_workspace"));
- Frame::Get()->GetEventHandler()->AddPendingEvent( evt );
-}
-
-IPlugin* PluginManager::GetPlugin(const wxString& pluginName)
-{
- std::map<wxString, IPlugin*>::iterator iter = m_plugins.find(pluginName);
- if (iter != m_plugins.end()) {
- return iter->second;
- }
- return NULL;
-}
-
-wxEvtHandler *PluginManager::GetOutputWindow()
-{
- return Frame::Get()->GetOutputPane()->GetOutputWindow();
-}
-
-bool PluginManager::SaveAll()
-{
- return Frame::Get()->GetMainBook()->SaveAll(true, false);
-}
-
-wxString PluginManager::GetInstallDirectory() const
-{
- return ManagerST::Get()->GetInstallDir();
-}
-
-IKeyboard* PluginManager::GetKeyboardManager()
-{
- return &m_keyboardMgr;
-}
-
-bool PluginManager::CreateVirtualDirectory(const wxString& parentPath, const wxString& vdName)
-{
- return Frame::Get()->GetWorkspaceTab()->GetFileView()->CreateVirtualDirectory(parentPath, vdName);
-}
-
-OptionsConfigPtr PluginManager::GetEditorSettings()
-{
- // First try to use LEditor::GetOptions, as it takes account of local preferences
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (editor) {
- return editor->GetOptions();
- }
- // Failing that...
- return EditorConfigST::Get()->GetOptions();
-}
-
-void PluginManager::FindAndSelect(const wxString& pattern, const wxString& name)
-{
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (editor) {
- editor->FindAndSelect(pattern, name);
- editor->SetActive();
- }
-}
-
-TagEntryPtr PluginManager::GetTagAtCaret(bool scoped, bool impl)
-{
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (!editor)
- return NULL;
- return editor->GetContext()->GetTagAtCaret(scoped, impl);
-}
-
-bool PluginManager::AllowToolbar()
-{
- long v;
- if (EditorConfigST::Get()->GetLongValue(wxT("UseSingleToolbar"), v)) {
- return v ? false : true;
- } else {
- // entry does not exist
-#ifdef __WXMAC__
- return false;
-#else
- return true;
-#endif
- }
-}
-
-void PluginManager::EnableToolbars()
-{
- // In case, plugins are now allowed to insert toolbars, disable the toolbars_menu item
- if (AllowToolbar() == false) {
- int ii = Frame::Get()->GetMenuBar()->FindMenu( wxT( "View" ) );
- if ( ii != wxNOT_FOUND ) {
- wxMenu *viewMenu = Frame::Get()->GetMenuBar()->GetMenu( ii );
- wxMenuItem *item = viewMenu->FindItem( XRCID("toolbars_menu") );
- if (item) {
- item->Enable(false);
- }
- }
- }
-}
-
-void PluginManager::SetStatusMessage(const wxString &msg, int col, int id)
-{
- Frame::Get()->SetStatusMessage(msg, col, id);
-}
-
-void PluginManager::ProcessCommandQueue()
-{
- ManagerST::Get()->ProcessCommandQueue();
-}
-
-void PluginManager::PushQueueCommand(const QueueCommand& cmd)
-{
- ManagerST::Get()->PushQueueCommand(cmd);
-}
-
-void PluginManager::StopAndClearQueue()
-{
- ManagerST::Get()->StopBuild();
-}
-
-bool PluginManager::IsBuildInProgress() const
-{
- return ManagerST::Get()->IsBuildInProgress();
-}
-
-bool PluginManager::IsBuildEndedSuccessfully() const
-{
- return ManagerST::Get()->IsBuildEndedSuccessfully();
-}
-
-wxString PluginManager::GetProjectNameByFile(const wxString& fullPathFileName)
-{
- return ManagerST::Get()->GetProjectNameByFile(fullPathFileName);
-}
-
-BuildManager* PluginManager::GetBuildManager()
-{
- return BuildManagerST::Get();
-}
-
-BuildSettingsConfig* PluginManager::GetBuildSettingsConfigManager()
-{
- return BuildSettingsConfigST::Get();
-}
-
-bool PluginManager::ClosePage(const wxString &text)
-{
- return Frame::Get()->GetMainBook()->ClosePage(text);
-}
-
-wxWindow *PluginManager::FindPage(const wxString &text)
-{
- return Frame::Get()->GetMainBook()->FindPage(text);
-}
-
-bool PluginManager::AddPage(wxWindow *win, const wxString &text, const wxBitmap &bmp, bool selected)
-{
- return Frame::Get()->GetMainBook()->AddPage(win, text, bmp, selected);
-}
-
-bool PluginManager::SelectPage(wxWindow *win)
-{
- return Frame::Get()->GetMainBook()->SelectPage(win);
-}
-
-bool PluginManager::OpenFile(const BrowseRecord& rec)
-{
- return Frame::Get()->GetMainBook()->OpenFile(rec);
-}
-
-NavMgr* PluginManager::GetNavigationMgr()
-{
- return NavMgr::Get();
-}
-
-void PluginManager::HookProjectSettingsTab(wxNotebook* book, const wxString &projectName, const wxString &configName)
-{
- std::map<wxString, IPlugin*>::iterator iter = m_plugins.begin();
- for ( ; iter != m_plugins.end(); iter++ ) {
- iter->second->HookProjectSettingsTab( book, projectName, configName );
- }
-}
-
-void PluginManager::UnHookProjectSettingsTab(wxNotebook* book, const wxString &projectName, const wxString &configName)
-{
- std::map<wxString, IPlugin*>::iterator iter = m_plugins.begin();
- for ( ; iter != m_plugins.end(); iter++ ) {
- iter->second->UnHookProjectSettingsTab( book, projectName, configName );
- }
-}
-
-IEditor* PluginManager::NewEditor()
-{
- return Frame::Get()->GetMainBook()->NewEditor();
-}
-
-IMacroManager* PluginManager::GetMacrosManager()
-{
- return MacroManager::Instance();
-
-}
-bool PluginManager::IsShutdownInProgress() const
-{
- return ManagerST::Get()->IsShutdownInProgress();
-}
diff --git a/LiteEditor/pluginmanager.h b/LiteEditor/pluginmanager.h
deleted file mode 100644
index 659ff232..00000000
--- a/LiteEditor/pluginmanager.h
+++ /dev/null
@@ -1,138 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : pluginmanager.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef PLUGINMANAGER_H
-#define PLUGINMANAGER_H
-
-#include "plugin.h"
-#include "map"
-#include "list"
-#include "vector"
-#include "wx/string.h"
-#include "wx/treectrl.h"
-#include "dynamiclibrary.h"
-#include "plugindata.h"
-#include "keyboardmanager.h"
-
-class Notebook;
-class EnvironmentConfig;
-class JobQueue;
-class BuildSettingsConfig;
-class BuildManager;
-
-class PluginManager : public IManager
-{
- std::map<wxString, IPlugin*> m_plugins;
- std::list< clDynamicLibrary* > m_dl;
- std::map<wxString, PluginInfo> m_pluginsInfo;
- KeyboardManager m_keyboardMgr;
-
-private:
- PluginManager() {}
- virtual ~PluginManager();
-
-public:
-
- static PluginManager *Get();
-
- virtual void Load();
- virtual void UnLoad();
- virtual void EnableToolbars();
-
- /**
- * \brief return a map of all loaded plugins
- */
- const std::map<wxString, PluginInfo>& GetPluginsInfo() const {
- return m_pluginsInfo;
- }
-
- //------------------------------------
- //Implementation of IManager interface
- //------------------------------------
-
- virtual IEditor * GetActiveEditor();
- virtual IConfigTool * GetConfigTool();
- virtual TreeItemInfo GetSelectedTreeItemInfo(TreeType type);
- virtual wxTreeCtrl * GetTree(TreeType type);
- virtual Notebook * GetOutputPaneNotebook();
- virtual Notebook * GetWorkspacePaneNotebook();
- virtual bool OpenFile(const wxString &fileName, const wxString &projectName = wxEmptyString, int lineno = wxNOT_FOUND);
- virtual bool OpenFile(const BrowseRecord &rec);
- virtual wxString GetStartupDirectory() const;
- virtual void AddProject(const wxString & path);
- virtual bool IsWorkspaceOpen() const;
- virtual TagsManager * GetTagsManager();
- virtual Workspace * GetWorkspace();
- virtual bool AddFilesToVirtualFolder(wxTreeItemId &item, wxArrayString &paths);
- virtual bool AddFilesToVirtualFolder(const wxString &vdFullPath, wxArrayString &paths);
- virtual bool AddFilesToVirtualFolderIntelligently(const wxString &vdFullPath, wxArrayString &paths);
- virtual int GetToolbarIconSize();
- virtual wxAuiManager* GetDockingManager();
- virtual EnvironmentConfig* GetEnv();
- virtual JobQueue * GetJobQueue();
- virtual wxString GetProjectExecutionCommand(const wxString &projectName, wxString &wd);
- virtual wxApp * GetTheApp();
- virtual void ReloadWorkspace();
- virtual IPlugin* GetPlugin(const wxString &pluginName);
- virtual wxEvtHandler * GetOutputWindow();
- virtual bool SaveAll();
- virtual wxString GetInstallDirectory() const;
- virtual IKeyboard * GetKeyboardManager();
- virtual bool CreateVirtualDirectory(const wxString& parentPath, const wxString& vdName);
- virtual OptionsConfigPtr GetEditorSettings();
- virtual void FindAndSelect(const wxString& pattern, const wxString& name);
- virtual TagEntryPtr GetTagAtCaret(bool scoped, bool impl);
- virtual bool AllowToolbar();
- virtual void SetStatusMessage(const wxString &msg, int col, int id);
- virtual void PushQueueCommand(const QueueCommand &cmd);
- virtual void ProcessCommandQueue();
- virtual void StopAndClearQueue();
- virtual bool IsBuildInProgress() const;
- virtual bool IsBuildEndedSuccessfully() const;
- virtual wxString GetProjectNameByFile( const wxString &fullPathFileName );
- virtual BuildManager * GetBuildManager();
- virtual BuildSettingsConfig * GetBuildSettingsConfigManager();
- virtual bool ClosePage(const wxString &text);
- virtual wxWindow * FindPage(const wxString &text);
- virtual bool AddPage(wxWindow *win, const wxString &text, const wxBitmap &bmp = wxNullBitmap, bool selected = false);
- virtual bool SelectPage(wxWindow *win);
- virtual NavMgr * GetNavigationMgr();
- virtual IEditor* NewEditor();
- virtual IMacroManager* GetMacrosManager();
- virtual bool IsShutdownInProgress() const;
-
- //------------------------------------
- //End of IManager interface
- //------------------------------------
-
- // (Un)Hook the contect menus
- virtual void HookPopupMenu(wxMenu *menu, MenuType type);
- virtual void UnHookPopupMenu(wxMenu *menu, MenuType type);
-
- // (Un)Hook the project settings tab
- virtual void HookProjectSettingsTab (wxNotebook *book, const wxString &projectName, const wxString &configName);
- virtual void UnHookProjectSettingsTab(wxNotebook *book, const wxString &projectName, const wxString &configName);
-};
-
-#endif //PLUGINMANAGER_H
diff --git a/LiteEditor/pluginmgrdlg.cpp b/LiteEditor/pluginmgrdlg.cpp
deleted file mode 100644
index a5507036..00000000
--- a/LiteEditor/pluginmgrdlg.cpp
+++ /dev/null
@@ -1,154 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : pluginmgrdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "pluginmgrdlg.h"
-#include "windowattrmanager.h"
-#include "pluginsdata.h"
-#include "manager.h"
-#include "pluginconfig.h"
-
-PluginMgrDlg::PluginMgrDlg( wxWindow* parent )
- : PluginMgrDlgBase( parent )
-{
- this->Initialize();
- WindowAttrManager::Load(this, wxT("PluginMgrDlgAttr"), NULL);
-}
-
-PluginMgrDlg::~PluginMgrDlg()
-{
- WindowAttrManager::Save(this, wxT("PluginMgrDlgAttr"), NULL);
-}
-
-void PluginMgrDlg::Initialize()
-{
- PluginsData pluginsData;
- PluginConfig::Instance()->ReadObject(wxT("plugins_data"), &pluginsData);
-
- //Clear the list
- m_checkListPluginsList->Clear();
-
- std::map<wxString, PluginInfo>::const_iterator iter = pluginsData.GetInfo().begin();
- for (; iter != pluginsData.GetInfo().end(); iter++) {
- PluginInfo info = iter->second;
-
- int item = m_checkListPluginsList->Append(info.GetName());
- if (item != wxNOT_FOUND) {
- m_checkListPluginsList->Check((unsigned int)item, info.GetEnabled());
- }
- }
-
- if (m_checkListPluginsList->IsEmpty() == false) {
- m_checkListPluginsList->Select(0);
- CreateInfoPage(0);
- }
- m_checkListPluginsList->SetFocus();
-}
-
-void PluginMgrDlg::OnItemSelected(wxCommandEvent &event)
-{
- int item = event.GetSelection();
- CreateInfoPage((unsigned int)item);
-}
-
-void PluginMgrDlg::OnButtonOK(wxCommandEvent &event)
-{
- PluginsData pluginsData;
- PluginConfig::Instance()->ReadObject(wxT("plugins_data"), &pluginsData);
-
- std::map< wxString, PluginInfo > pluginsInfo = pluginsData.GetInfo();
-
- for (unsigned int i = 0; i<m_checkListPluginsList->GetCount(); i++) {
- wxString name = m_checkListPluginsList->GetString(i);
- std::map< wxString, PluginInfo >::iterator iter = pluginsInfo.find(name);
- if (iter != pluginsInfo.end()) {
- //update the enable flag of the plugin
- PluginInfo info = iter->second;
- info.SetEnabled( m_checkListPluginsList->IsChecked(i) );
- pluginsInfo[info.GetName()] = info;
- }
- }
- //write back the data to the disk
- pluginsData.SetInfo( pluginsInfo );
- PluginConfig::Instance()->WriteObject(wxT("plugins_data"), &pluginsData);
- EndModal(wxID_OK);
-}
-
-void PluginMgrDlg::CreateInfoPage(unsigned int index)
-{
- PluginsData pluginsData;
- PluginConfig::Instance()->ReadObject(wxT("plugins_data"), &pluginsData);
-
- //get the plugin name
- wxString pluginName = m_checkListPluginsList->GetString(index);
- std::map<wxString, PluginInfo>::const_iterator iter = pluginsData.GetInfo().find(pluginName);
- if (iter != pluginsData.GetInfo().end()) {
- PluginInfo info = iter->second;
-
- wxString content;
- content << wxT("<html><body>");
- content << wxT("<table border=0 width=\"100%\" >");
-
- //create line with the plugin name
- content << wxT("<tr bgcolor=\"LIGHT GREY\">");
- content << wxT("<td ALIGN=\"LEFT\" WIDTH=30%><font size=\"2\" face=\"Verdana\"><strong>Plugin Name:</strong></font></td>");
- content << wxT("<td ALIGN=\"LEFT\" ><font size=\"2\" face=\"Verdana\">") << info.GetName() << wxT("</font></td>");
- content << wxT("</tr>");
-
- //plugin author
- content << wxT("<tr bgcolor=\"WHITE\">");
- content << wxT("<td ALIGN=\"LEFT\" WIDTH=30%><font size=\"2\" face=\"Verdana\"><strong>Author:</strong></font></td>");
- content << wxT("<td ALIGN=\"LEFT\" ><font size=\"2\" face=\"Verdana\">") << info.GetAuthor() << wxT("</font></td>");
- content << wxT("</tr>");
-
- //plugin version
- content << wxT("<tr bgcolor=\"LIGHT GREY\">");
- content << wxT("<td ALIGN=\"LEFT\" WIDTH=30%><font size=\"2\" face=\"Verdana\"><strong>Version:</strong></font></td>");
- content << wxT("<td ALIGN=\"LEFT\" ><font size=\"2\" face=\"Verdana\">") << info.GetVersion() << wxT("</font></td>");
- content << wxT("</tr>");
-
- //plugin description
- content << wxT("<tr bgcolor=\"WHITE\">");
- content << wxT("<td ALIGN=\"LEFT\" WIDTH=30%><font size=\"2\" face=\"Verdana\"><strong>Description:</strong></font></td>");
- content << wxT("<td ALIGN=\"LEFT\" ><font size=\"2\" face=\"Verdana\">") << info.GetDescription() << wxT("</font></td>");
- content << wxT("</tr>");
-
- content << wxT("<tr bgcolor=\"LIGHT GREY\">");
- content << wxT("<td ALIGN=\"LEFT\" WIDTH=30%><font size=\"2\" face=\"Verdana\"><strong>Status:</strong></font></td>");
-
- wxString status;
- if (info.GetEnabled()) {
- status = wxT("<img src=\"$(InstallPath)/images/plugin_ok.png\" ></img>");
- } else {
- status = wxT("<img src=\"$(InstallPath)/images/plugin_not_ok.png\" > </img>");
- }
- status.Replace(wxT("$(InstallPath)"), ManagerST::Get()->GetStarupDirectory());
-
- content << wxT("<td ALIGN=\"LEFT\" ><font size=\"2\" face=\"Verdana\">") << status << wxT("</font></td>");
- content << wxT("</tr>");
-
- content << wxT("</table><html><body>");
-
- m_htmlWinDesc->SetPage(content);
- }
-}
diff --git a/LiteEditor/pluginmgrdlg.h b/LiteEditor/pluginmgrdlg.h
deleted file mode 100644
index c8a141f0..00000000
--- a/LiteEditor/pluginmgrdlg.h
+++ /dev/null
@@ -1,50 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : pluginmgrdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __pluginmgrdlg__
-#define __pluginmgrdlg__
-
-/**
-@file
-Subclass of PluginMgrDlgBase, which is generated by wxFormBuilder.
-*/
-
-#include "plugindlgbase.h"
-
-/** Implementing PluginMgrDlgBase */
-class PluginMgrDlg : public PluginMgrDlgBase
-{
-protected:
- void Initialize();
- void OnItemSelected(wxCommandEvent &event);
- void OnButtonOK(wxCommandEvent &event);
- void CreateInfoPage(unsigned int index);
-
-public:
- /** Constructor */
- PluginMgrDlg( wxWindow* parent );
- virtual ~PluginMgrDlg();
-};
-
-#endif // __pluginmgrdlg__
diff --git a/LiteEditor/project_settings_base_dlg.cpp b/LiteEditor/project_settings_base_dlg.cpp
deleted file mode 100644
index 3947c667..00000000
--- a/LiteEditor/project_settings_base_dlg.cpp
+++ /dev/null
@@ -1,1060 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "project_settings_base_dlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-ProjectSettingsBaseDlg::ProjectSettingsBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer22;
- bSizer22 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText21 = new wxStaticText( this, wxID_ANY, wxT("Configuration Type:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText21->Wrap( -1 );
- bSizer22->Add( m_staticText21, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxArrayString m_choiceConfigurationTypeChoices;
- m_choiceConfigurationType = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceConfigurationTypeChoices, 0 );
- m_choiceConfigurationType->SetSelection( 0 );
- bSizer22->Add( m_choiceConfigurationType, 1, wxALL|wxEXPAND, 5 );
-
- m_buttonConfigManager = new wxButton( this, wxID_ANY, wxT("Configuration Manager..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer22->Add( m_buttonConfigManager, 0, wxALL, 5 );
-
- mainSizer->Add( bSizer22, 0, wxEXPAND, 5 );
-
- m_staticline81 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline81, 0, wxEXPAND | wxALL, 5 );
-
- m_panelSettings = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- m_sizerSettings = new wxBoxSizer( wxVERTICAL );
-
- m_panelSettings->SetSizer( m_sizerSettings );
- m_panelSettings->Layout();
- m_sizerSettings->Fit( m_panelSettings );
- mainSizer->Add( m_panelSettings, 1, wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonHelp = new wxButton( this, wxID_ANY, wxT("Help..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_buttonHelp, 0, wxALL, 5 );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOK->SetDefault();
- bSizer3->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_buttonCancel, 0, wxALL, 5 );
-
- m_buttonApply = new wxButton( this, wxID_ANY, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_buttonApply, 0, wxALL, 5 );
-
- mainSizer->Add( bSizer3, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_choiceConfigurationType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnConfigurationTypeSelected ), NULL, this );
- m_buttonConfigManager->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnButtonConfigurationManager ), NULL, this );
- m_buttonHelp->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnButtonHelp ), NULL, this );
- m_buttonOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnButtonOK ), NULL, this );
- m_buttonApply->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnButtonApply ), NULL, this );
-}
-
-ProjectSettingsBaseDlg::~ProjectSettingsBaseDlg()
-{
- // Disconnect Events
- m_choiceConfigurationType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnConfigurationTypeSelected ), NULL, this );
- m_buttonConfigManager->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnButtonConfigurationManager ), NULL, this );
- m_buttonHelp->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnButtonHelp ), NULL, this );
- m_buttonOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnButtonOK ), NULL, this );
- m_buttonApply->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectSettingsBaseDlg::OnButtonApply ), NULL, this );
-}
-
-ProjectConfigurationBasePanel::ProjectConfigurationBasePanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer94;
- bSizer94 = new wxBoxSizer( wxVERTICAL );
-
- m_notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
- m_generalPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer19;
- bSizer19 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer3;
- fgSizer3 = new wxFlexGridSizer( 5, 3, 0, 0 );
- fgSizer3->AddGrowableCol( 1 );
- fgSizer3->SetFlexibleDirection( wxBOTH );
- fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText22 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Project Type:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText22->Wrap( -1 );
- fgSizer3->Add( m_staticText22, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxString m_choiceProjectTypesChoices[] = { wxT("Static Library"), wxT("Dynamic Library"), wxT("Executable") };
- int m_choiceProjectTypesNChoices = sizeof( m_choiceProjectTypesChoices ) / sizeof( wxString );
- m_choiceProjectTypes = new wxChoice( m_generalPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceProjectTypesNChoices, m_choiceProjectTypesChoices, 0 );
- m_choiceProjectTypes->SetSelection( 0 );
- fgSizer3->Add( m_choiceProjectTypes, 0, wxALL|wxEXPAND, 5 );
-
-
- fgSizer3->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_staticText191 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Compiler:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText191->Wrap( -1 );
- fgSizer3->Add( m_staticText191, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxArrayString m_choiceCompilerTypeChoices;
- m_choiceCompilerType = new wxChoice( m_generalPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceCompilerTypeChoices, 0 );
- m_choiceCompilerType->SetSelection( 0 );
- fgSizer3->Add( m_choiceCompilerType, 0, wxALL|wxEXPAND, 5 );
-
-
- fgSizer3->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_staticText231 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Debugger:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText231->Wrap( -1 );
- fgSizer3->Add( m_staticText231, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxArrayString m_choiceDebuggerChoices;
- m_choiceDebugger = new wxChoice( m_generalPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceDebuggerChoices, 0 );
- m_choiceDebugger->SetSelection( 0 );
- fgSizer3->Add( m_choiceDebugger, 0, wxALL|wxEXPAND, 5 );
-
-
- fgSizer3->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_staticText15 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Output File:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText15->Wrap( -1 );
- fgSizer3->Add( m_staticText15, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textOutputFilePicker = new wxTextCtrl( m_generalPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_textOutputFilePicker, 0, wxALL|wxEXPAND, 5 );
-
-
- fgSizer3->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_staticText16 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Intermediate Directory:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText16->Wrap( -1 );
- fgSizer3->Add( m_staticText16, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlItermediateDir = new wxTextCtrl( m_generalPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_textCtrlItermediateDir, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonBrowseIM_WD = new wxButton( m_generalPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_buttonBrowseIM_WD, 0, wxALL, 5 );
-
- bSizer19->Add( fgSizer3, 0, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer21;
- bSizer21 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText17 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Program to Debug / Run:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText17->Wrap( -1 );
- m_staticText17->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
-
- bSizer21->Add( m_staticText17, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticline5 = new wxStaticLine( m_generalPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer21->Add( m_staticline5, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- bSizer19->Add( bSizer21, 0, wxEXPAND, 5 );
-
- wxFlexGridSizer* fgSizer6;
- fgSizer6 = new wxFlexGridSizer( 3, 3, 0, 0 );
- fgSizer6->AddGrowableCol( 1 );
- fgSizer6->SetFlexibleDirection( wxBOTH );
- fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText18 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Program:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText18->Wrap( -1 );
- fgSizer6->Add( m_staticText18, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCommand = new wxTextCtrl( m_generalPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer6->Add( m_textCommand, 1, wxALL|wxEXPAND, 5 );
-
- m_buttonBrowseProgram = new wxButton( m_generalPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer6->Add( m_buttonBrowseProgram, 0, wxALL, 5 );
-
- m_staticText19 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Program Arguments:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText19->Wrap( -1 );
- fgSizer6->Add( m_staticText19, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCommandArguments = new wxTextCtrl( m_generalPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer6->Add( m_textCommandArguments, 1, wxALL|wxEXPAND, 5 );
-
-
- fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_staticText20 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Working Directory:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText20->Wrap( -1 );
- fgSizer6->Add( m_staticText20, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlCommandWD = new wxTextCtrl( m_generalPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer6->Add( m_textCtrlCommandWD, 1, wxALL|wxEXPAND, 5 );
-
- m_buttonBrowseCommandWD = new wxButton( m_generalPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer6->Add( m_buttonBrowseCommandWD, 0, wxALL, 5 );
-
- bSizer19->Add( fgSizer6, 0, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer17;
- bSizer17 = new wxBoxSizer( wxVERTICAL );
-
- m_checkBoxPauseWhenExecEnds = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Pause when execution ends"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer17->Add( m_checkBoxPauseWhenExecEnds, 0, wxALL|wxEXPAND, 5 );
-
- bSizer19->Add( bSizer17, 1, wxEXPAND, 5 );
-
- m_generalPage->SetSizer( bSizer19 );
- m_generalPage->Layout();
- bSizer19->Fit( m_generalPage );
- m_notebook->AddPage( m_generalPage, wxT("General"), true );
- m_compilerPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* compilerPageSizer;
- compilerPageSizer = new wxBoxSizer( wxVERTICAL );
-
- m_checkCompilerNeeded = new wxCheckBox( m_compilerPage, wxID_ANY, wxT("Compiler is not required for this project"), wxDefaultPosition, wxDefaultSize, 0 );
- compilerPageSizer->Add( m_checkCompilerNeeded, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer23001;
- bSizer23001 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText331 = new wxStaticText( m_compilerPage, wxID_ANY, wxT("Use with global settings :"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText331->Wrap( -1 );
- bSizer23001->Add( m_staticText331, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxArrayString m_choiceCmpUseWithGlobalSettingsChoices;
- m_choiceCmpUseWithGlobalSettings = new wxChoice( m_compilerPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceCmpUseWithGlobalSettingsChoices, 0 );
- m_choiceCmpUseWithGlobalSettings->SetSelection( 0 );
- bSizer23001->Add( m_choiceCmpUseWithGlobalSettings, 1, wxALL, 5 );
-
- compilerPageSizer->Add( bSizer23001, 0, wxEXPAND, 5 );
-
- m_staticline7 = new wxStaticLine( m_compilerPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- compilerPageSizer->Add( m_staticline7, 0, wxEXPAND | wxALL, 5 );
-
- wxFlexGridSizer* fgSizer8;
- fgSizer8 = new wxFlexGridSizer( 3, 3, 0, 0 );
- fgSizer8->AddGrowableCol( 1 );
- fgSizer8->SetFlexibleDirection( wxBOTH );
- fgSizer8->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText6 = new wxStaticText( m_compilerPage, wxID_ANY, wxT("Compiler Options:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- fgSizer8->Add( m_staticText6, 0, wxALL, 5 );
-
- m_textCompilerOptions = new wxTextCtrl( m_compilerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer8->Add( m_textCompilerOptions, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonCompilerOptions = new wxButton( m_compilerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer8->Add( m_buttonCompilerOptions, 0, wxALL, 5 );
-
- m_staticText4 = new wxStaticText( m_compilerPage, wxID_ANY, wxT("Additional Search Path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- fgSizer8->Add( m_staticText4, 0, wxALL, 5 );
-
- m_textAdditionalSearchPath = new wxTextCtrl( m_compilerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer8->Add( m_textAdditionalSearchPath, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonAddSearchPath = new wxButton( m_compilerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer8->Add( m_buttonAddSearchPath, 0, wxALL, 5 );
-
- m_staticText171 = new wxStaticText( m_compilerPage, wxID_ANY, wxT("Preprocessor:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText171->Wrap( -1 );
- fgSizer8->Add( m_staticText171, 0, wxALL, 5 );
-
- m_textPreprocessor = new wxTextCtrl( m_compilerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer8->Add( m_textPreprocessor, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonAddPreprocessor = new wxButton( m_compilerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer8->Add( m_buttonAddPreprocessor, 0, wxALL, 5 );
-
- compilerPageSizer->Add( fgSizer8, 0, wxEXPAND, 5 );
-
- m_staticline14 = new wxStaticLine( m_compilerPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- compilerPageSizer->Add( m_staticline14, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer32;
- bSizer32 = new wxBoxSizer( wxVERTICAL );
-
- m_staticTextPreCompiledHeader = new wxStaticText( m_compilerPage, wxID_ANY, wxT("Using pre-complied header via this header file:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextPreCompiledHeader->Wrap( -1 );
- bSizer32->Add( m_staticTextPreCompiledHeader, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer33;
- bSizer33 = new wxBoxSizer( wxHORIZONTAL );
-
- m_textCtrlPreCompiledHeader = new wxTextCtrl( m_compilerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer33->Add( m_textCtrlPreCompiledHeader, 1, wxALL|wxEXPAND, 5 );
-
- m_buttonBrowsePreCompiledHeader = new wxButton( m_compilerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer33->Add( m_buttonBrowsePreCompiledHeader, 0, wxALL, 5 );
-
- bSizer32->Add( bSizer33, 1, wxEXPAND, 5 );
-
- compilerPageSizer->Add( bSizer32, 0, wxEXPAND, 5 );
-
- m_compilerPage->SetSizer( compilerPageSizer );
- m_compilerPage->Layout();
- compilerPageSizer->Fit( m_compilerPage );
- m_notebook->AddPage( m_compilerPage, wxT("Compiler"), false );
- m_linkerPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* linkerPageSizer;
- linkerPageSizer = new wxBoxSizer( wxVERTICAL );
-
- m_checkLinkerNeeded = new wxCheckBox( m_linkerPage, wxID_ANY, wxT("Linker is not required for this project"), wxDefaultPosition, wxDefaultSize, 0 );
- linkerPageSizer->Add( m_checkLinkerNeeded, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer231;
- bSizer231 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText3311 = new wxStaticText( m_linkerPage, wxID_ANY, wxT("Use with global settings :"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3311->Wrap( -1 );
- bSizer231->Add( m_staticText3311, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxArrayString m_choiceLnkUseWithGlobalSettingsChoices;
- m_choiceLnkUseWithGlobalSettings = new wxChoice( m_linkerPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceLnkUseWithGlobalSettingsChoices, 0 );
- m_choiceLnkUseWithGlobalSettings->SetSelection( 0 );
- bSizer231->Add( m_choiceLnkUseWithGlobalSettings, 1, wxALL, 5 );
-
- linkerPageSizer->Add( bSizer231, 0, wxEXPAND, 5 );
-
- m_staticline8 = new wxStaticLine( m_linkerPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- linkerPageSizer->Add( m_staticline8, 0, wxEXPAND | wxALL, 5 );
-
- wxFlexGridSizer* fgSizer9;
- fgSizer9 = new wxFlexGridSizer( 3, 3, 0, 0 );
- fgSizer9->AddGrowableCol( 1 );
- fgSizer9->SetFlexibleDirection( wxBOTH );
- fgSizer9->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText10 = new wxStaticText( m_linkerPage, wxID_ANY, wxT("Options:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText10->Wrap( -1 );
- fgSizer9->Add( m_staticText10, 0, wxALL, 5 );
-
- m_textLinkerOptions = new wxTextCtrl( m_linkerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer9->Add( m_textLinkerOptions, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonLinkerOptions = new wxButton( m_linkerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer9->Add( m_buttonLinkerOptions, 0, wxALL, 5 );
-
- m_staticText7 = new wxStaticText( m_linkerPage, wxID_ANY, wxT("Library Path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText7->Wrap( -1 );
- fgSizer9->Add( m_staticText7, 0, wxALL, 5 );
-
- m_textLibraryPath = new wxTextCtrl( m_linkerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer9->Add( m_textLibraryPath, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonLibraryPath = new wxButton( m_linkerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer9->Add( m_buttonLibraryPath, 0, wxALL, 5 );
-
- m_staticText8 = new wxStaticText( m_linkerPage, wxID_ANY, wxT("Libraries:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText8->Wrap( -1 );
- fgSizer9->Add( m_staticText8, 0, wxALL, 5 );
-
- m_textLibraries = new wxTextCtrl( m_linkerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer9->Add( m_textLibraries, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonLibraries = new wxButton( m_linkerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer9->Add( m_buttonLibraries, 0, wxALL, 5 );
-
- linkerPageSizer->Add( fgSizer9, 0, wxEXPAND, 5 );
-
- m_linkerPage->SetSizer( linkerPageSizer );
- m_linkerPage->Layout();
- linkerPageSizer->Fit( m_linkerPage );
- m_notebook->AddPage( m_linkerPage, wxT("Linker"), false );
- m_panelDebugger = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer192;
- bSizer192 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText321 = new wxStaticText( m_panelDebugger, wxID_ANY, wxT("Select debugger path. Leave empty to use the default:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText321->Wrap( -1 );
- bSizer192->Add( m_staticText321, 0, wxALL|wxEXPAND, 5 );
-
- wxFlexGridSizer* fgSizer62;
- fgSizer62 = new wxFlexGridSizer( 1, 2, 0, 0 );
- fgSizer62->AddGrowableCol( 0 );
- fgSizer62->SetFlexibleDirection( wxBOTH );
- fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_textCtrlDebuggerPath = new wxTextCtrl( m_panelDebugger, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_textCtrlDebuggerPath->SetToolTip( wxT("You may override the global debugger executable path, by selecting another one here.\nLeave this field empty if you want to use the one set in the global debugger settings") );
-
- fgSizer62->Add( m_textCtrlDebuggerPath, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
-
- m_buttonSelectDebugger = new wxButton( m_panelDebugger, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer62->Add( m_buttonSelectDebugger, 0, wxALL, 5 );
-
- bSizer192->Add( fgSizer62, 0, wxEXPAND, 5 );
-
- m_staticline121 = new wxStaticLine( m_panelDebugger, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer192->Add( m_staticline121, 0, wxEXPAND | wxALL, 5 );
-
- m_checkBoxDbgRemote = new wxCheckBox( m_panelDebugger, wxID_ANY, wxT("Debugging remote target"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer192->Add( m_checkBoxDbgRemote, 0, wxALL, 5 );
-
- wxFlexGridSizer* fgSizer61;
- fgSizer61 = new wxFlexGridSizer( 1, 4, 0, 0 );
- fgSizer61->AddGrowableCol( 1 );
- fgSizer61->SetFlexibleDirection( wxBOTH );
- fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText31 = new wxStaticText( m_panelDebugger, wxID_ANY, wxT("Host / tty:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText31->Wrap( -1 );
- fgSizer61->Add( m_staticText31, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrl1DbgHost = new wxTextCtrl( m_panelDebugger, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer61->Add( m_textCtrl1DbgHost, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText32 = new wxStaticText( m_panelDebugger, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText32->Wrap( -1 );
- fgSizer61->Add( m_staticText32, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlDbgPort = new wxTextCtrl( m_panelDebugger, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer61->Add( m_textCtrlDbgPort, 0, wxALL, 5 );
-
- bSizer192->Add( fgSizer61, 0, wxRIGHT|wxLEFT|wxEXPAND, 15 );
-
- m_staticline131 = new wxStaticLine( m_panelDebugger, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer192->Add( m_staticline131, 0, wxEXPAND | wxALL, 5 );
-
- m_staticText301 = new wxStaticText( m_panelDebugger, wxID_ANY, wxT("Enter here any commands that should be passed to the debugger on startup:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText301->Wrap( -1 );
- bSizer192->Add( m_staticText301, 0, wxALL, 5 );
-
- m_textCtrlDbgCmds = new wxTextCtrl( m_panelDebugger, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_RICH2 );
- bSizer192->Add( m_textCtrlDbgCmds, 1, wxALL|wxEXPAND, 5 );
-
- m_staticText311 = new wxStaticText( m_panelDebugger, wxID_ANY, wxT("Enter here any commands that should be passed to the debugger after attaching the remote target:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText311->Wrap( -1 );
- bSizer192->Add( m_staticText311, 0, wxALL|wxEXPAND, 5 );
-
- m_textCtrlDbgPostConnectCmds = new wxTextCtrl( m_panelDebugger, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_RICH2 );
- bSizer192->Add( m_textCtrlDbgPostConnectCmds, 1, wxALL|wxEXPAND, 5 );
-
- m_panelDebugger->SetSizer( bSizer192 );
- m_panelDebugger->Layout();
- bSizer192->Fit( m_panelDebugger );
- m_notebook->AddPage( m_panelDebugger, wxT("Debugger"), false );
- m_resourceCmpPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer151;
- bSizer151 = new wxBoxSizer( wxVERTICAL );
-
- m_checkResourceNeeded = new wxCheckBox( m_resourceCmpPage, wxID_ANY, wxT("Resource Compiler is not needed"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkResourceNeeded->SetValue(true);
- bSizer151->Add( m_checkResourceNeeded, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer2311;
- bSizer2311 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText33111 = new wxStaticText( m_resourceCmpPage, wxID_ANY, wxT("Use with global settings :"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText33111->Wrap( -1 );
- bSizer2311->Add( m_staticText33111, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxArrayString m_choiceResUseWithGlobalSettingsChoices;
- m_choiceResUseWithGlobalSettings = new wxChoice( m_resourceCmpPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceResUseWithGlobalSettingsChoices, 0 );
- m_choiceResUseWithGlobalSettings->SetSelection( 0 );
- bSizer2311->Add( m_choiceResUseWithGlobalSettings, 1, wxALL, 5 );
-
- bSizer151->Add( bSizer2311, 0, wxEXPAND, 5 );
-
- m_staticline9 = new wxStaticLine( m_resourceCmpPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer151->Add( m_staticline9, 0, wxEXPAND | wxALL, 5 );
-
- wxFlexGridSizer* fgSizer4;
- fgSizer4 = new wxFlexGridSizer( 2, 3, 0, 0 );
- fgSizer4->AddGrowableCol( 1 );
- fgSizer4->SetFlexibleDirection( wxBOTH );
- fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText221 = new wxStaticText( m_resourceCmpPage, wxID_ANY, wxT("Compiler Options:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText221->Wrap( -1 );
- fgSizer4->Add( m_staticText221, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textAddResCmpOptions = new wxTextCtrl( m_resourceCmpPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textAddResCmpOptions, 0, wxEXPAND|wxALL, 5 );
-
- m_buttonAddResCmpOptions = new wxButton( m_resourceCmpPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_buttonAddResCmpOptions, 0, wxTOP|wxBOTTOM|wxRIGHT, 5 );
-
- m_staticText23 = new wxStaticText( m_resourceCmpPage, wxID_ANY, wxT("Additional Search Path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText23->Wrap( -1 );
- fgSizer4->Add( m_staticText23, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textAddResCmpPath = new wxTextCtrl( m_resourceCmpPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textAddResCmpPath, 0, wxEXPAND|wxALL, 5 );
-
- m_buttonAddResCmpPath = new wxButton( m_resourceCmpPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_buttonAddResCmpPath, 0, wxTOP|wxBOTTOM|wxRIGHT, 5 );
-
- bSizer151->Add( fgSizer4, 0, wxEXPAND, 5 );
-
- m_resourceCmpPage->SetSizer( bSizer151 );
- m_resourceCmpPage->Layout();
- bSizer151->Fit( m_resourceCmpPage );
- m_notebook->AddPage( m_resourceCmpPage, wxT("Resources"), false );
- m_preBuildPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText11 = new wxStaticText( m_preBuildPage, wxID_ANY, wxT("Specifies here a command lines to run in the pre-build event:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText11->Wrap( -1 );
- bSizer8->Add( m_staticText11, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_staticline2 = new wxStaticLine( m_preBuildPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer8->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer9;
- bSizer9 = new wxBoxSizer( wxHORIZONTAL );
-
- wxArrayString m_checkListPreBuildCommandsChoices;
- m_checkListPreBuildCommands = new wxCheckListBox( m_preBuildPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListPreBuildCommandsChoices, 0 );
- bSizer9->Add( m_checkListPreBuildCommands, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer10;
- bSizer10 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonNewPreBuildCmd = new wxButton( m_preBuildPage, wxID_ANY, wxT("New..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer10->Add( m_buttonNewPreBuildCmd, 0, wxALL, 5 );
-
- m_buttonDeletePreBuildCmd = new wxButton( m_preBuildPage, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer10->Add( m_buttonDeletePreBuildCmd, 0, wxALL, 5 );
-
- m_buttonEditPreBuildCmd = new wxButton( m_preBuildPage, wxID_ANY, wxT("Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer10->Add( m_buttonEditPreBuildCmd, 0, wxALL, 5 );
-
- m_buttonUpPreBuildCmd = new wxButton( m_preBuildPage, wxID_ANY, wxT("Up"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer10->Add( m_buttonUpPreBuildCmd, 0, wxALL, 5 );
-
- m_buttonDownPreBuildCmd = new wxButton( m_preBuildPage, wxID_ANY, wxT("Down"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer10->Add( m_buttonDownPreBuildCmd, 0, wxALL, 5 );
-
- bSizer9->Add( bSizer10, 0, wxEXPAND, 5 );
-
- bSizer8->Add( bSizer9, 1, wxEXPAND, 5 );
-
- m_preBuildPage->SetSizer( bSizer8 );
- m_preBuildPage->Layout();
- bSizer8->Fit( m_preBuildPage );
- m_notebook->AddPage( m_preBuildPage, wxT("PreBuild"), false );
- m_postBuildPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer81;
- bSizer81 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText111 = new wxStaticText( m_postBuildPage, wxID_ANY, wxT("Specifies here a command lines to run in the post-build event:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText111->Wrap( -1 );
- bSizer81->Add( m_staticText111, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_staticline21 = new wxStaticLine( m_postBuildPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer81->Add( m_staticline21, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer91;
- bSizer91 = new wxBoxSizer( wxHORIZONTAL );
-
- wxArrayString m_checkListPostBuildCommandsChoices;
- m_checkListPostBuildCommands = new wxCheckListBox( m_postBuildPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListPostBuildCommandsChoices, 0 );
- bSizer91->Add( m_checkListPostBuildCommands, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer101;
- bSizer101 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonNewPostBuildCmd = new wxButton( m_postBuildPage, wxID_ANY, wxT("New..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer101->Add( m_buttonNewPostBuildCmd, 0, wxALL, 5 );
-
- m_buttonDeletePostBuildCmd = new wxButton( m_postBuildPage, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer101->Add( m_buttonDeletePostBuildCmd, 0, wxALL, 5 );
-
- m_buttonEditPostBuildCmd = new wxButton( m_postBuildPage, wxID_ANY, wxT("Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer101->Add( m_buttonEditPostBuildCmd, 0, wxALL, 5 );
-
- m_buttonUpPostBuildCmd = new wxButton( m_postBuildPage, wxID_ANY, wxT("Up"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer101->Add( m_buttonUpPostBuildCmd, 0, wxALL, 5 );
-
- m_buttonDownPostBuildCmd = new wxButton( m_postBuildPage, wxID_ANY, wxT("Down"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer101->Add( m_buttonDownPostBuildCmd, 0, wxALL, 5 );
-
- bSizer91->Add( bSizer101, 0, wxEXPAND, 5 );
-
- bSizer81->Add( bSizer91, 1, wxEXPAND, 5 );
-
- m_postBuildPage->SetSizer( bSizer81 );
- m_postBuildPage->Layout();
- bSizer81->Fit( m_postBuildPage );
- m_notebook->AddPage( m_postBuildPage, wxT("PostBuild"), false );
- m_customBuildPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer15;
- bSizer15 = new wxBoxSizer( wxVERTICAL );
-
- m_checkEnableCustomBuild = new wxCheckBox( m_customBuildPage, wxID_ANY, wxT("Enable custom build"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer15->Add( m_checkEnableCustomBuild, 0, wxALL, 5 );
-
- m_staticline12 = new wxStaticLine( m_customBuildPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer15->Add( m_staticline12, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer23;
- bSizer23 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText33 = new wxStaticText( m_customBuildPage, wxID_ANY, wxT("Working Directory:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText33->Wrap( -1 );
- bSizer23->Add( m_staticText33, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlCustomBuildWD = new wxTextCtrl( m_customBuildPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer23->Add( m_textCtrlCustomBuildWD, 1, wxALL|wxEXPAND, 5 );
-
- m_buttonBrowseCustomBuildWD = new wxButton( m_customBuildPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer23->Add( m_buttonBrowseCustomBuildWD, 0, wxALL, 5 );
-
- bSizer15->Add( bSizer23, 0, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer211;
- bSizer211 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listCtrlTargets = new wxListCtrl( m_customBuildPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- bSizer211->Add( m_listCtrlTargets, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer221;
- bSizer221 = new wxBoxSizer( wxVERTICAL );
-
- m_staticline13 = new wxStaticLine( m_customBuildPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer221->Add( m_staticline13, 0, wxEXPAND | wxALL, 5 );
-
- m_buttonNewCustomTarget = new wxButton( m_customBuildPage, wxID_ANY, wxT("New..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer221->Add( m_buttonNewCustomTarget, 0, wxALL, 5 );
-
- m_buttonEditCustomTarget = new wxButton( m_customBuildPage, wxID_ANY, wxT("Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer221->Add( m_buttonEditCustomTarget, 0, wxALL, 5 );
-
- m_buttonDeleteCustomTarget = new wxButton( m_customBuildPage, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer221->Add( m_buttonDeleteCustomTarget, 0, wxALL, 5 );
-
- bSizer211->Add( bSizer221, 0, wxEXPAND, 5 );
-
- bSizer15->Add( bSizer211, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer191;
- bSizer191 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText29 = new wxStaticText( m_customBuildPage, wxID_ANY, wxT("Makefile Generators:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText29->Wrap( -1 );
- bSizer191->Add( m_staticText29, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticline11 = new wxStaticLine( m_customBuildPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer191->Add( m_staticline11, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- bSizer15->Add( bSizer191, 0, 0, 5 );
-
- wxString m_thirdPartyToolChoices[] = { wxT("None"), wxT("Other") };
- int m_thirdPartyToolNChoices = sizeof( m_thirdPartyToolChoices ) / sizeof( wxString );
- m_thirdPartyTool = new wxChoice( m_customBuildPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_thirdPartyToolNChoices, m_thirdPartyToolChoices, 0 );
- m_thirdPartyTool->SetSelection( 0 );
- bSizer15->Add( m_thirdPartyTool, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText30 = new wxStaticText( m_customBuildPage, wxID_ANY, wxT("Command to use for makefile generation:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText30->Wrap( -1 );
- bSizer15->Add( m_staticText30, 0, wxALL, 5 );
-
- m_textCtrlMakefileGenerationCmd = new wxTextCtrl( m_customBuildPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer15->Add( m_textCtrlMakefileGenerationCmd, 0, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_customBuildPage->SetSizer( bSizer15 );
- m_customBuildPage->Layout();
- bSizer15->Fit( m_customBuildPage );
- m_notebook->AddPage( m_customBuildPage, wxT("Custom Build"), false );
- m_customMakefileStep = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer16;
- bSizer16 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer5;
- fgSizer5 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer5->AddGrowableCol( 1 );
- fgSizer5->AddGrowableRow( 1 );
- fgSizer5->SetFlexibleDirection( wxBOTH );
- fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText25 = new wxStaticText( m_customMakefileStep, wxID_ANY, wxT("Dependencies:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText25->Wrap( -1 );
- fgSizer5->Add( m_staticText25, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textDeps = new wxTextCtrl( m_customMakefileStep, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer5->Add( m_textDeps, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText26 = new wxStaticText( m_customMakefileStep, wxID_ANY, wxT("Rule action:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText26->Wrap( -1 );
- fgSizer5->Add( m_staticText26, 0, wxALL, 5 );
-
- m_textPreBuildRule = new wxTextCtrl( m_customMakefileStep, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB|wxTE_RICH2 );
- fgSizer5->Add( m_textPreBuildRule, 0, wxALL|wxEXPAND, 5 );
-
- bSizer16->Add( fgSizer5, 1, wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer2;
- sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( m_customMakefileStep, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText24 = new wxStaticText( m_customMakefileStep, wxID_ANY, wxT("Define here a custom makefile rule to be executed in the pre-build steps.\nSee the wiki for more help"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText24->Wrap( -1 );
- sbSizer2->Add( m_staticText24, 0, wxALL, 5 );
-
- bSizer16->Add( sbSizer2, 0, wxEXPAND, 5 );
-
- m_customMakefileStep->SetSizer( bSizer16 );
- m_customMakefileStep->Layout();
- bSizer16->Fit( m_customMakefileStep );
- m_notebook->AddPage( m_customMakefileStep, wxT("Custom makefile steps"), false );
-
- bSizer94->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
-
- this->SetSizer( bSizer94 );
- this->Layout();
-
- // Connect Events
- m_choiceProjectTypes->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_choiceCompilerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_choiceDebugger->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textOutputFilePicker->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlItermediateDir->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowseIM_WD->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowseIntermediateDir ), NULL, this );
- m_textCommand->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowseProgram->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowseProgram ), NULL, this );
- m_textCommandArguments->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlCommandWD->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowseCommandWD->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowseCommandWD ), NULL, this );
- m_checkBoxPauseWhenExecEnds->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_checkCompilerNeeded->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCheckCompilerNeeded ), NULL, this );
- m_textCompilerOptions->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonCompilerOptions->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnButtonAddCompilerOptions ), NULL, this );
- m_textAdditionalSearchPath->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddSearchPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnAddSearchPath ), NULL, this );
- m_textPreprocessor->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddPreprocessor->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnButtonAddPreprocessor ), NULL, this );
- m_textCtrlPreCompiledHeader->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowsePreCompiledHeader->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowsePreCmpHeader ), NULL, this );
- m_checkLinkerNeeded->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCheckLinkerNeeded ), NULL, this );
- m_textLinkerOptions->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLinkerOptions->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnButtonAddLinkerOptions ), NULL, this );
- m_textLibraryPath->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLibraryPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnAddLibraryPath ), NULL, this );
- m_textLibraries->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLibraries->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnAddLibrary ), NULL, this );
- m_textCtrlDebuggerPath->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonSelectDebugger->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnSelectDebuggerPath ), NULL, this );
- m_checkBoxDbgRemote->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDebuggingRemoteTarget ), NULL, this );
- m_textCtrl1DbgHost->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlDbgPort->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlDbgCmds->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlDbgPostConnectCmds->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_checkResourceNeeded->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnResourceCmpNeeded ), NULL, this );
- m_textAddResCmpOptions->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddResCmpOptions->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnResourceCmpAddOption ), NULL, this );
- m_buttonAddResCmpPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnResourceCmpAddPath ), NULL, this );
- m_checkListPreBuildCommands->Connect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_checkListPreBuildCommands->Connect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonNewPreBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnNewPreBuildCommand ), NULL, this );
- m_buttonDeletePreBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDeletePreBuildCommand ), NULL, this );
- m_buttonEditPreBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnEditPreBuildCommand ), NULL, this );
- m_buttonUpPreBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnUpPreBuildCommand ), NULL, this );
- m_buttonDownPreBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDownPreBuildCommand ), NULL, this );
- m_checkListPostBuildCommands->Connect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnEditPostBuildCommand ), NULL, this );
- m_checkListPostBuildCommands->Connect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonNewPostBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnNewPostBuildCommand ), NULL, this );
- m_buttonDeletePostBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDeletePostBuildCommand ), NULL, this );
- m_buttonEditPostBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnEditPostBuildCommand ), NULL, this );
- m_buttonUpPostBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnUpPostBuildCommand ), NULL, this );
- m_buttonDownPostBuildCmd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDownPostBuildCommand ), NULL, this );
- m_checkEnableCustomBuild->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCustomBuildEnabled ), NULL, this );
- m_textCtrlCustomBuildWD->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowseCustomBuildWD->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowseCustomBuildWD ), NULL, this );
- m_listCtrlTargets->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( ProjectConfigurationBasePanel::OnItemActivated ), NULL, this );
- m_listCtrlTargets->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( ProjectConfigurationBasePanel::OnItemSelected ), NULL, this );
- m_buttonNewCustomTarget->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnNewTarget ), NULL, this );
- m_buttonEditCustomTarget->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnEditTarget ), NULL, this );
- m_buttonEditCustomTarget->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( ProjectConfigurationBasePanel::OnEditTargetUI ), NULL, this );
- m_buttonDeleteCustomTarget->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDeleteTarget ), NULL, this );
- m_buttonDeleteCustomTarget->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( ProjectConfigurationBasePanel::OnDeleteTargetUI ), NULL, this );
- m_thirdPartyTool->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnChoiceMakefileTool ), NULL, this );
- m_textCtrlMakefileGenerationCmd->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textDeps->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textPreBuildRule->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
-}
-
-ProjectConfigurationBasePanel::~ProjectConfigurationBasePanel()
-{
- // Disconnect Events
- m_choiceProjectTypes->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_choiceCompilerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_choiceDebugger->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textOutputFilePicker->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlItermediateDir->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowseIM_WD->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowseIntermediateDir ), NULL, this );
- m_textCommand->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowseProgram->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowseProgram ), NULL, this );
- m_textCommandArguments->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlCommandWD->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowseCommandWD->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowseCommandWD ), NULL, this );
- m_checkBoxPauseWhenExecEnds->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_checkCompilerNeeded->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCheckCompilerNeeded ), NULL, this );
- m_textCompilerOptions->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonCompilerOptions->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnButtonAddCompilerOptions ), NULL, this );
- m_textAdditionalSearchPath->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddSearchPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnAddSearchPath ), NULL, this );
- m_textPreprocessor->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddPreprocessor->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnButtonAddPreprocessor ), NULL, this );
- m_textCtrlPreCompiledHeader->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowsePreCompiledHeader->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowsePreCmpHeader ), NULL, this );
- m_checkLinkerNeeded->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCheckLinkerNeeded ), NULL, this );
- m_textLinkerOptions->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLinkerOptions->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnButtonAddLinkerOptions ), NULL, this );
- m_textLibraryPath->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLibraryPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnAddLibraryPath ), NULL, this );
- m_textLibraries->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLibraries->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnAddLibrary ), NULL, this );
- m_textCtrlDebuggerPath->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonSelectDebugger->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnSelectDebuggerPath ), NULL, this );
- m_checkBoxDbgRemote->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDebuggingRemoteTarget ), NULL, this );
- m_textCtrl1DbgHost->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlDbgPort->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlDbgCmds->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textCtrlDbgPostConnectCmds->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_checkResourceNeeded->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnResourceCmpNeeded ), NULL, this );
- m_textAddResCmpOptions->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddResCmpOptions->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnResourceCmpAddOption ), NULL, this );
- m_buttonAddResCmpPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnResourceCmpAddPath ), NULL, this );
- m_checkListPreBuildCommands->Disconnect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_checkListPreBuildCommands->Disconnect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonNewPreBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnNewPreBuildCommand ), NULL, this );
- m_buttonDeletePreBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDeletePreBuildCommand ), NULL, this );
- m_buttonEditPreBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnEditPreBuildCommand ), NULL, this );
- m_buttonUpPreBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnUpPreBuildCommand ), NULL, this );
- m_buttonDownPreBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDownPreBuildCommand ), NULL, this );
- m_checkListPostBuildCommands->Disconnect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnEditPostBuildCommand ), NULL, this );
- m_checkListPostBuildCommands->Disconnect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonNewPostBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnNewPostBuildCommand ), NULL, this );
- m_buttonDeletePostBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDeletePostBuildCommand ), NULL, this );
- m_buttonEditPostBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnEditPostBuildCommand ), NULL, this );
- m_buttonUpPostBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnUpPostBuildCommand ), NULL, this );
- m_buttonDownPostBuildCmd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDownPostBuildCommand ), NULL, this );
- m_checkEnableCustomBuild->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCustomBuildEnabled ), NULL, this );
- m_textCtrlCustomBuildWD->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonBrowseCustomBuildWD->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnBrowseCustomBuildWD ), NULL, this );
- m_listCtrlTargets->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( ProjectConfigurationBasePanel::OnItemActivated ), NULL, this );
- m_listCtrlTargets->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( ProjectConfigurationBasePanel::OnItemSelected ), NULL, this );
- m_buttonNewCustomTarget->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnNewTarget ), NULL, this );
- m_buttonEditCustomTarget->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnEditTarget ), NULL, this );
- m_buttonEditCustomTarget->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( ProjectConfigurationBasePanel::OnEditTargetUI ), NULL, this );
- m_buttonDeleteCustomTarget->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnDeleteTarget ), NULL, this );
- m_buttonDeleteCustomTarget->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( ProjectConfigurationBasePanel::OnDeleteTargetUI ), NULL, this );
- m_thirdPartyTool->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnChoiceMakefileTool ), NULL, this );
- m_textCtrlMakefileGenerationCmd->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textDeps->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
- m_textPreBuildRule->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( ProjectConfigurationBasePanel::OnCmdEvtVModified ), NULL, this );
-}
-
-GlobalSettingsBasePanel::GlobalSettingsBasePanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer117;
- bSizer117 = new wxBoxSizer( wxVERTICAL );
-
- m_notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
- m_compilerPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* compilerPageSizer;
- compilerPageSizer = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer10;
- fgSizer10 = new wxFlexGridSizer( 3, 3, 0, 0 );
- fgSizer10->AddGrowableCol( 1 );
- fgSizer10->SetFlexibleDirection( wxBOTH );
- fgSizer10->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText6 = new wxStaticText( m_compilerPage, wxID_ANY, wxT("Compiler Options:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- fgSizer10->Add( m_staticText6, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCompilerOptions = new wxTextCtrl( m_compilerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer10->Add( m_textCompilerOptions, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonCompilerOptions = new wxButton( m_compilerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer10->Add( m_buttonCompilerOptions, 0, wxALL, 5 );
-
- m_staticText4 = new wxStaticText( m_compilerPage, wxID_ANY, wxT("Additional Search Path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- fgSizer10->Add( m_staticText4, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textAdditionalSearchPath = new wxTextCtrl( m_compilerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer10->Add( m_textAdditionalSearchPath, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonAddSearchPath = new wxButton( m_compilerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer10->Add( m_buttonAddSearchPath, 0, wxALL, 5 );
-
- m_staticText171 = new wxStaticText( m_compilerPage, wxID_ANY, wxT("Preprocessor:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText171->Wrap( -1 );
- fgSizer10->Add( m_staticText171, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textPreprocessor = new wxTextCtrl( m_compilerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer10->Add( m_textPreprocessor, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonAddPreprocessor = new wxButton( m_compilerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer10->Add( m_buttonAddPreprocessor, 0, wxALL, 5 );
-
- compilerPageSizer->Add( fgSizer10, 0, wxEXPAND, 5 );
-
- m_compilerPage->SetSizer( compilerPageSizer );
- m_compilerPage->Layout();
- compilerPageSizer->Fit( m_compilerPage );
- m_notebook->AddPage( m_compilerPage, wxT("Compiler"), true );
- m_linkerPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* linkerPageSizer;
- linkerPageSizer = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer11;
- fgSizer11 = new wxFlexGridSizer( 3, 3, 0, 0 );
- fgSizer11->AddGrowableCol( 1 );
- fgSizer11->SetFlexibleDirection( wxBOTH );
- fgSizer11->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText10 = new wxStaticText( m_linkerPage, wxID_ANY, wxT("Options:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText10->Wrap( -1 );
- fgSizer11->Add( m_staticText10, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textLinkerOptions = new wxTextCtrl( m_linkerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer11->Add( m_textLinkerOptions, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonLinkerOptions = new wxButton( m_linkerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer11->Add( m_buttonLinkerOptions, 0, wxALL, 5 );
-
- m_staticText7 = new wxStaticText( m_linkerPage, wxID_ANY, wxT("Library Path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText7->Wrap( -1 );
- fgSizer11->Add( m_staticText7, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textLibraryPath = new wxTextCtrl( m_linkerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer11->Add( m_textLibraryPath, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonLibraryPath = new wxButton( m_linkerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer11->Add( m_buttonLibraryPath, 0, wxALL, 5 );
-
- m_staticText8 = new wxStaticText( m_linkerPage, wxID_ANY, wxT("Libraries:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText8->Wrap( -1 );
- fgSizer11->Add( m_staticText8, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textLibraries = new wxTextCtrl( m_linkerPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer11->Add( m_textLibraries, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonLibraries = new wxButton( m_linkerPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer11->Add( m_buttonLibraries, 0, wxALL, 5 );
-
- linkerPageSizer->Add( fgSizer11, 0, wxEXPAND, 5 );
-
- m_linkerPage->SetSizer( linkerPageSizer );
- m_linkerPage->Layout();
- linkerPageSizer->Fit( m_linkerPage );
- m_notebook->AddPage( m_linkerPage, wxT("Linker"), false );
- m_resourceCmpPage = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer151;
- bSizer151 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer4;
- fgSizer4 = new wxFlexGridSizer( 2, 3, 0, 0 );
- fgSizer4->AddGrowableCol( 1 );
- fgSizer4->SetFlexibleDirection( wxBOTH );
- fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText221 = new wxStaticText( m_resourceCmpPage, wxID_ANY, wxT("Compiler Options:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText221->Wrap( -1 );
- fgSizer4->Add( m_staticText221, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textAddResCmpOptions = new wxTextCtrl( m_resourceCmpPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textAddResCmpOptions, 0, wxEXPAND|wxALL, 5 );
-
- m_buttonAddResCmpOptions = new wxButton( m_resourceCmpPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_buttonAddResCmpOptions, 0, wxTOP|wxBOTTOM|wxRIGHT, 5 );
-
- m_staticText23 = new wxStaticText( m_resourceCmpPage, wxID_ANY, wxT("Additional Search Path:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText23->Wrap( -1 );
- fgSizer4->Add( m_staticText23, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textAddResCmpPath = new wxTextCtrl( m_resourceCmpPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_textAddResCmpPath, 0, wxEXPAND|wxALL, 5 );
-
- m_buttonAddResCmpPath = new wxButton( m_resourceCmpPage, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer4->Add( m_buttonAddResCmpPath, 0, wxTOP|wxBOTTOM|wxRIGHT, 5 );
-
- bSizer151->Add( fgSizer4, 1, wxEXPAND, 5 );
-
- m_resourceCmpPage->SetSizer( bSizer151 );
- m_resourceCmpPage->Layout();
- bSizer151->Fit( m_resourceCmpPage );
- m_notebook->AddPage( m_resourceCmpPage, wxT("Resources"), false );
-
- bSizer117->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
-
- this->SetSizer( bSizer117 );
- this->Layout();
-
- // Connect Events
- m_textCompilerOptions->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonCompilerOptions->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnButtonAddCompilerOptions ), NULL, this );
- m_textAdditionalSearchPath->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddSearchPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnAddSearchPath ), NULL, this );
- m_textPreprocessor->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddPreprocessor->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnButtonAddPreprocessor ), NULL, this );
- m_textLinkerOptions->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLinkerOptions->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnButtonAddLinkerOptions ), NULL, this );
- m_textLibraryPath->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLibraryPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnAddLibraryPath ), NULL, this );
- m_textLibraries->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLibraries->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnAddLibrary ), NULL, this );
- m_textAddResCmpOptions->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddResCmpOptions->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnResourceCmpAddOption ), NULL, this );
- m_textAddResCmpPath->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddResCmpPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnResourceCmpAddPath ), NULL, this );
-}
-
-GlobalSettingsBasePanel::~GlobalSettingsBasePanel()
-{
- // Disconnect Events
- m_textCompilerOptions->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonCompilerOptions->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnButtonAddCompilerOptions ), NULL, this );
- m_textAdditionalSearchPath->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddSearchPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnAddSearchPath ), NULL, this );
- m_textPreprocessor->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddPreprocessor->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnButtonAddPreprocessor ), NULL, this );
- m_textLinkerOptions->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLinkerOptions->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnButtonAddLinkerOptions ), NULL, this );
- m_textLibraryPath->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLibraryPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnAddLibraryPath ), NULL, this );
- m_textLibraries->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonLibraries->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnAddLibrary ), NULL, this );
- m_textAddResCmpOptions->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddResCmpOptions->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnResourceCmpAddOption ), NULL, this );
- m_textAddResCmpPath->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( GlobalSettingsBasePanel::OnCmdEvtVModified ), NULL, this );
- m_buttonAddResCmpPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( GlobalSettingsBasePanel::OnResourceCmpAddPath ), NULL, this );
-}
diff --git a/LiteEditor/project_settings_base_dlg.h b/LiteEditor/project_settings_base_dlg.h
deleted file mode 100644
index c4ceb5fe..00000000
--- a/LiteEditor/project_settings_base_dlg.h
+++ /dev/null
@@ -1,311 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __project_settings_base_dlg__
-#define __project_settings_base_dlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/choice.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/panel.h>
-#include <wx/dialog.h>
-#include <wx/textctrl.h>
-#include <wx/checkbox.h>
-#include <wx/bitmap.h>
-#include <wx/image.h>
-#include <wx/icon.h>
-#include <wx/checklst.h>
-#include <wx/listctrl.h>
-#include <wx/statbox.h>
-#include <wx/notebook.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class ProjectSettingsBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class ProjectSettingsBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText21;
- wxChoice* m_choiceConfigurationType;
- wxButton* m_buttonConfigManager;
- wxStaticLine* m_staticline81;
- wxPanel* m_panelSettings;
- wxBoxSizer* m_sizerSettings;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonHelp;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
- wxButton* m_buttonApply;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnConfigurationTypeSelected( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonConfigurationManager( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonHelp( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonApply( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- ProjectSettingsBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Project Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 734,502 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~ProjectSettingsBaseDlg();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class ProjectConfigurationBasePanel
-///////////////////////////////////////////////////////////////////////////////
-class ProjectConfigurationBasePanel : public wxPanel
-{
- private:
-
- protected:
- wxNotebook* m_notebook;
- wxPanel* m_generalPage;
- wxStaticText* m_staticText22;
- wxChoice* m_choiceProjectTypes;
-
- wxStaticText* m_staticText191;
- wxChoice* m_choiceCompilerType;
-
- wxStaticText* m_staticText231;
- wxChoice* m_choiceDebugger;
-
- wxStaticText* m_staticText15;
- wxTextCtrl* m_textOutputFilePicker;
-
- wxStaticText* m_staticText16;
- wxTextCtrl* m_textCtrlItermediateDir;
- wxButton* m_buttonBrowseIM_WD;
- wxStaticText* m_staticText17;
- wxStaticLine* m_staticline5;
- wxStaticText* m_staticText18;
- wxTextCtrl* m_textCommand;
- wxButton* m_buttonBrowseProgram;
- wxStaticText* m_staticText19;
- wxTextCtrl* m_textCommandArguments;
-
- wxStaticText* m_staticText20;
- wxTextCtrl* m_textCtrlCommandWD;
- wxButton* m_buttonBrowseCommandWD;
- wxCheckBox* m_checkBoxPauseWhenExecEnds;
- wxPanel* m_compilerPage;
- wxCheckBox* m_checkCompilerNeeded;
- wxStaticText* m_staticText331;
- wxChoice* m_choiceCmpUseWithGlobalSettings;
- wxStaticLine* m_staticline7;
- wxStaticText* m_staticText6;
- wxTextCtrl* m_textCompilerOptions;
- wxButton* m_buttonCompilerOptions;
- wxStaticText* m_staticText4;
- wxTextCtrl* m_textAdditionalSearchPath;
- wxButton* m_buttonAddSearchPath;
- wxStaticText* m_staticText171;
- wxTextCtrl* m_textPreprocessor;
- wxButton* m_buttonAddPreprocessor;
- wxStaticLine* m_staticline14;
- wxStaticText* m_staticTextPreCompiledHeader;
- wxTextCtrl* m_textCtrlPreCompiledHeader;
- wxButton* m_buttonBrowsePreCompiledHeader;
- wxPanel* m_linkerPage;
- wxCheckBox* m_checkLinkerNeeded;
- wxStaticText* m_staticText3311;
- wxChoice* m_choiceLnkUseWithGlobalSettings;
- wxStaticLine* m_staticline8;
- wxStaticText* m_staticText10;
- wxTextCtrl* m_textLinkerOptions;
- wxButton* m_buttonLinkerOptions;
- wxStaticText* m_staticText7;
- wxTextCtrl* m_textLibraryPath;
- wxButton* m_buttonLibraryPath;
- wxStaticText* m_staticText8;
- wxTextCtrl* m_textLibraries;
- wxButton* m_buttonLibraries;
- wxPanel* m_panelDebugger;
- wxStaticText* m_staticText321;
- wxTextCtrl* m_textCtrlDebuggerPath;
- wxButton* m_buttonSelectDebugger;
- wxStaticLine* m_staticline121;
- wxCheckBox* m_checkBoxDbgRemote;
- wxStaticText* m_staticText31;
- wxTextCtrl* m_textCtrl1DbgHost;
- wxStaticText* m_staticText32;
- wxTextCtrl* m_textCtrlDbgPort;
- wxStaticLine* m_staticline131;
- wxStaticText* m_staticText301;
- wxTextCtrl* m_textCtrlDbgCmds;
- wxStaticText* m_staticText311;
- wxTextCtrl* m_textCtrlDbgPostConnectCmds;
- wxPanel* m_resourceCmpPage;
- wxCheckBox* m_checkResourceNeeded;
- wxStaticText* m_staticText33111;
- wxChoice* m_choiceResUseWithGlobalSettings;
- wxStaticLine* m_staticline9;
- wxStaticText* m_staticText221;
- wxTextCtrl* m_textAddResCmpOptions;
- wxButton* m_buttonAddResCmpOptions;
- wxStaticText* m_staticText23;
- wxTextCtrl* m_textAddResCmpPath;
- wxButton* m_buttonAddResCmpPath;
- wxPanel* m_preBuildPage;
- wxStaticText* m_staticText11;
- wxStaticLine* m_staticline2;
- wxCheckListBox* m_checkListPreBuildCommands;
- wxButton* m_buttonNewPreBuildCmd;
- wxButton* m_buttonDeletePreBuildCmd;
- wxButton* m_buttonEditPreBuildCmd;
- wxButton* m_buttonUpPreBuildCmd;
- wxButton* m_buttonDownPreBuildCmd;
- wxPanel* m_postBuildPage;
- wxStaticText* m_staticText111;
- wxStaticLine* m_staticline21;
- wxCheckListBox* m_checkListPostBuildCommands;
- wxButton* m_buttonNewPostBuildCmd;
- wxButton* m_buttonDeletePostBuildCmd;
- wxButton* m_buttonEditPostBuildCmd;
- wxButton* m_buttonUpPostBuildCmd;
- wxButton* m_buttonDownPostBuildCmd;
- wxPanel* m_customBuildPage;
- wxCheckBox* m_checkEnableCustomBuild;
- wxStaticLine* m_staticline12;
- wxStaticText* m_staticText33;
- wxTextCtrl* m_textCtrlCustomBuildWD;
- wxButton* m_buttonBrowseCustomBuildWD;
- wxListCtrl* m_listCtrlTargets;
- wxStaticLine* m_staticline13;
- wxButton* m_buttonNewCustomTarget;
- wxButton* m_buttonEditCustomTarget;
- wxButton* m_buttonDeleteCustomTarget;
- wxStaticText* m_staticText29;
- wxStaticLine* m_staticline11;
- wxChoice* m_thirdPartyTool;
- wxStaticText* m_staticText30;
- wxTextCtrl* m_textCtrlMakefileGenerationCmd;
- wxPanel* m_customMakefileStep;
- wxStaticText* m_staticText25;
- wxTextCtrl* m_textDeps;
- wxStaticText* m_staticText26;
- wxTextCtrl* m_textPreBuildRule;
- wxStaticText* m_staticText24;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCmdEvtVModified( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnBrowseIntermediateDir( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnBrowseProgram( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnBrowseCommandWD( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnCheckCompilerNeeded( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonAddCompilerOptions( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnAddSearchPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonAddPreprocessor( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnBrowsePreCmpHeader( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnCheckLinkerNeeded( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonAddLinkerOptions( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnAddLibraryPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnAddLibrary( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnSelectDebuggerPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDebuggingRemoteTarget( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnResourceCmpNeeded( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnResourceCmpAddOption( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnResourceCmpAddPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnNewPreBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeletePreBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnEditPreBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnUpPreBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDownPreBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnEditPostBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnNewPostBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeletePostBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnUpPostBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDownPostBuildCommand( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnCustomBuildEnabled( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnBrowseCustomBuildWD( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnItemActivated( wxListEvent& event ) { event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ) { event.Skip(); }
- virtual void OnNewTarget( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnEditTarget( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnEditTargetUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnDeleteTarget( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeleteTargetUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnChoiceMakefileTool( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- ProjectConfigurationBasePanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 596,424 ), long style = wxTAB_TRAVERSAL );
- ~ProjectConfigurationBasePanel();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class GlobalSettingsBasePanel
-///////////////////////////////////////////////////////////////////////////////
-class GlobalSettingsBasePanel : public wxPanel
-{
- private:
-
- protected:
- wxNotebook* m_notebook;
- wxPanel* m_compilerPage;
- wxStaticText* m_staticText6;
- wxTextCtrl* m_textCompilerOptions;
- wxButton* m_buttonCompilerOptions;
- wxStaticText* m_staticText4;
- wxTextCtrl* m_textAdditionalSearchPath;
- wxButton* m_buttonAddSearchPath;
- wxStaticText* m_staticText171;
- wxTextCtrl* m_textPreprocessor;
- wxButton* m_buttonAddPreprocessor;
- wxPanel* m_linkerPage;
- wxStaticText* m_staticText10;
- wxTextCtrl* m_textLinkerOptions;
- wxButton* m_buttonLinkerOptions;
- wxStaticText* m_staticText7;
- wxTextCtrl* m_textLibraryPath;
- wxButton* m_buttonLibraryPath;
- wxStaticText* m_staticText8;
- wxTextCtrl* m_textLibraries;
- wxButton* m_buttonLibraries;
- wxPanel* m_resourceCmpPage;
- wxStaticText* m_staticText221;
- wxTextCtrl* m_textAddResCmpOptions;
- wxButton* m_buttonAddResCmpOptions;
- wxStaticText* m_staticText23;
- wxTextCtrl* m_textAddResCmpPath;
- wxButton* m_buttonAddResCmpPath;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCmdEvtVModified( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonAddCompilerOptions( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnAddSearchPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonAddPreprocessor( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonAddLinkerOptions( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnAddLibraryPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnAddLibrary( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnResourceCmpAddOption( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnResourceCmpAddPath( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- GlobalSettingsBasePanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~GlobalSettingsBasePanel();
-
-};
-
-#endif //__project_settings_base_dlg__
diff --git a/LiteEditor/project_settings_dlg.cpp b/LiteEditor/project_settings_dlg.cpp
deleted file mode 100644
index 1a6cf995..00000000
--- a/LiteEditor/project_settings_dlg.cpp
+++ /dev/null
@@ -1,1340 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : project_settings_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "dirsaver.h"
-#include "pluginmanager.h"
-#include "windowattrmanager.h"
-#include "envvar_dlg.h"
-#include <wx/dirdlg.h>
-#include "project_settings_dlg.h"
-#include "globals.h"
-#include "macrosdlg.h"
-#include "add_option_dialog.h"
-#include "free_text_dialog.h"
-#include "manager.h"
-#include "configuration_manager_dlg.h"
-#include "macros.h"
-#include "editor_config.h"
-#include "build_settings_config.h"
-#include "debuggermanager.h"
-#include "wx/tokenzr.h"
-#include "addoptioncheckdlg.h"
-
-static const wxString CUSTOM_TARGET_BUILD = wxT("Build");
-static const wxString CUSTOM_TARGET_CLEAN = wxT("Clean");
-static const wxString CUSTOM_TARGET_REBUILD = wxT("Rebuild");
-static const wxString CUSTOM_TARGET_COMPILE_SINGLE_FILE = wxT("Compile Single File");
-static const wxString CUSTOM_TARGET_PREPROCESS_FILE = wxT("Preprocess File");
-static const wxString GLOBAL_SETTINGS_LABEL = wxT("Global settings");
-static const wxString APPEND_TO_GLOBAL_SETTINGS = wxT("Append to global settings");
-static const wxString OVERWRITE_GLOBAL_SETTINGS = wxT("overwrite global settings");
-static const wxString PREPEND_GLOBAL_SETTINGS = wxT("prepend global settings");
-
-static const wxEventType wxEVT_CL_PROJECT_SETTINGS_MODIFIED = wxNewEventType();
-
-static
-bool PopupAddOptionDlg(wxTextCtrl *ctrl)
-{
- AddOptionDlg dlg(NULL, ctrl->GetValue());
- if (dlg.ShowModal() == wxID_OK) {
- ctrl->SetValue(dlg.GetValue());
- return true;
- }
- return false;
-}
-
-static
-bool PopupAddOptionCheckDlg(wxTextCtrl *ctrl, const wxString& title, const Compiler::CmpCmdLineOptions& options)
-{
- AddOptionCheckDlg dlg(NULL, title, options, ctrl->GetValue());
- if (dlg.ShowModal() == wxID_OK) {
- ctrl->SetValue(dlg.GetValue());
- return true;
- }
- return false;
-}
-
-static
-bool SelectChoiceWithGlobalSettings(wxChoice* c, const wxString& text)
-{
- if (text == BuildConfig::APPEND_TO_GLOBAL_SETTINGS) {
- c->Select(c->FindString(APPEND_TO_GLOBAL_SETTINGS));
- } else if (text == BuildConfig::OVERWRITE_GLOBAL_SETTINGS) {
- c->Select(c->FindString(OVERWRITE_GLOBAL_SETTINGS));
- } else if (text == BuildConfig::PREPEND_GLOBAL_SETTINGS) {
- c->Select(c->FindString(PREPEND_GLOBAL_SETTINGS));
- } else {
- c->Select(c->FindString(APPEND_TO_GLOBAL_SETTINGS));
- return false;
- }
- return true;
-}
-
-
-ProjectConfigurationPanel::ProjectConfigurationPanel(wxWindow* parent, const wxString &configName, const wxString &projectName)
- : ProjectConfigurationBasePanel(parent)
- , m_projectName(projectName)
- , m_configName(configName)
- , m_oldConfigurationName(wxEmptyString)
- , m_selecteCustomTaregt(wxNOT_FOUND)
-{
- m_listCtrlTargets->InsertColumn(0, wxT("Target"));
- m_listCtrlTargets->InsertColumn(1, wxT("Command"));
-
- m_choiceCmpUseWithGlobalSettings->AppendString(APPEND_TO_GLOBAL_SETTINGS);
- m_choiceCmpUseWithGlobalSettings->AppendString(OVERWRITE_GLOBAL_SETTINGS);
- m_choiceCmpUseWithGlobalSettings->AppendString(PREPEND_GLOBAL_SETTINGS);
- m_choiceCmpUseWithGlobalSettings->Select(0);
-
- m_choiceLnkUseWithGlobalSettings->AppendString(APPEND_TO_GLOBAL_SETTINGS);
- m_choiceLnkUseWithGlobalSettings->AppendString(OVERWRITE_GLOBAL_SETTINGS);
- m_choiceLnkUseWithGlobalSettings->AppendString(PREPEND_GLOBAL_SETTINGS);
- m_choiceLnkUseWithGlobalSettings->Select(0);
-
- m_choiceResUseWithGlobalSettings->AppendString(APPEND_TO_GLOBAL_SETTINGS);
- m_choiceResUseWithGlobalSettings->AppendString(OVERWRITE_GLOBAL_SETTINGS);
- m_choiceResUseWithGlobalSettings->AppendString(PREPEND_GLOBAL_SETTINGS);
- m_choiceResUseWithGlobalSettings->Select(0);
-
- ConnectEvents();
- m_notebook->SetSelection(0);
-
- //fill the dialog with values
- InitDialog(m_configName, wxEmptyString);
-
- //if this is a custom build project disable the
- //compiler linker pages
- if (m_checkEnableCustomBuild->IsChecked()) {
- DisableLinkerPage(true);
- DisableCompilerPage(true);
- m_checkCompilerNeeded->Enable(false);
- m_checkLinkerNeeded->Enable(false);
- m_resourceCmpPage->Enable(false);
- DisableCustomBuildPage(false);
- } else {
- if (m_checkLinkerNeeded->IsChecked()) {
- DisableLinkerPage(true);
- }
- DisableCustomBuildPage(true);
- }
-
- m_textAddResCmpOptions->Enable(!m_checkResourceNeeded->IsChecked());
- m_textAddResCmpPath->Enable(!m_checkResourceNeeded->IsChecked());
- m_buttonAddResCmpOptions->Enable(!m_checkResourceNeeded->IsChecked());
- m_buttonAddResCmpPath->Enable(!m_checkResourceNeeded->IsChecked());
-
- m_textCtrl1DbgHost->Enable(m_checkBoxDbgRemote->IsChecked());
- m_textCtrlDbgPort->Enable(m_checkBoxDbgRemote->IsChecked());
-
- GetSizer()->Fit(this);
- Centre();
-}
-
-void ProjectConfigurationPanel::InitDialog(const wxString &configName, const wxString &oldConfig)
-{
- wxUnusedVar(configName);
- ProjectSettingsPtr projSettingsPtr = ManagerST::Get()->GetProjectSettings(m_projectName);
-
- if (!oldConfig.IsEmpty() && oldConfig != GLOBAL_SETTINGS_LABEL) {
- // save old values before replacing them
- SaveValues(oldConfig);
-
- // Notify the plugins to save their data
- SendCmdEvent(wxEVT_CMD_PROJ_SETTINGS_SAVED, (void*)&m_projectName, oldConfig);
- }
-
- Freeze();
-
- int sel = m_notebook->GetSelection();
- // Load the new tab for the new configuration
- PluginManager::Get()->HookProjectSettingsTab(m_notebook, m_projectName, configName);
-
- ClearValues();
- CopyValues(configName);
- DoUpdatePages(m_checkEnableCustomBuild->IsChecked());
-
- if( sel != wxNOT_FOUND ) {
- m_notebook->SetSelection( sel );
- }
-
- Thaw();
- Layout();
-}
-
-void ProjectConfigurationPanel::ClearValues()
-{
- BuildCommandList preBuildCmds, postBuildCmds;
-
- m_textOutputFilePicker->SetValue(wxEmptyString);
- m_textCtrlItermediateDir->SetValue(wxEmptyString);
- m_textCommand->SetValue(wxEmptyString);
- m_textCommandArguments->SetValue(wxEmptyString);
- m_textCtrlCommandWD->SetValue(wxEmptyString);
- m_checkCompilerNeeded->SetValue(false);
- m_textCompilerOptions->SetValue(wxEmptyString);
- DisableCompilerPage(false);
- m_textAdditionalSearchPath->SetValue(wxEmptyString);
- m_checkLinkerNeeded->SetValue(false);
- DisableLinkerPage(m_checkLinkerNeeded->IsChecked());
- m_textLinkerOptions->SetValue(wxEmptyString);
- m_textLibraries->SetValue(wxEmptyString);
- m_textLibraryPath->SetValue(wxEmptyString);
- m_checkListPreBuildCommands->Clear();
- m_checkListPostBuildCommands->Clear();
- m_checkEnableCustomBuild->SetValue(false);
-
- m_textAddResCmpOptions->Clear();
- m_textAddResCmpPath->Clear();
- m_textPreBuildRule->Clear();
- m_textDeps->Clear();
- m_checkResourceNeeded->SetValue(true);
- m_checkBoxPauseWhenExecEnds->SetValue(true);
-
- m_listCtrlTargets->DeleteAllItems();
- m_textCtrlDebuggerPath->Clear();
- DisableCustomBuildPage(true);
-}
-
-void ProjectConfigurationPanel::CopyValues(const wxString &confName)
-{
- BuildConfigPtr buildConf;
- ProjectSettingsPtr projSettingsPtr = ManagerST::Get()->GetProjectSettings(m_projectName);
- buildConf = projSettingsPtr->GetBuildConfiguration(confName);
- if (!buildConf) {
- ClearValues();
- return;
- }
-
- wxArrayString searchArr, libPath, libs;
- BuildCommandList preBuildCmds, postBuildCmds;
-
- m_textOutputFilePicker->SetValue(buildConf->GetOutputFileName());
- m_textCtrlItermediateDir->SetValue(buildConf->GetIntermediateDirectory());
- m_textCommand->SetValue(buildConf->GetCommand());
- m_textCommandArguments->SetValue(buildConf->GetCommandArguments());
- m_textCtrlCommandWD->SetValue(buildConf->GetWorkingDirectory());
- m_checkCompilerNeeded->SetValue(!buildConf->IsCompilerRequired());
- m_textCompilerOptions->SetValue(buildConf->GetCompileOptions());
- DisableCompilerPage(m_checkCompilerNeeded->IsChecked());
- m_textAdditionalSearchPath->SetValue(buildConf->GetIncludePath());
- m_checkLinkerNeeded->SetValue(!buildConf->IsLinkerRequired());
- DisableLinkerPage(m_checkLinkerNeeded->IsChecked());
- m_textLinkerOptions->SetValue(buildConf->GetLinkOptions());
- m_textLibraries->SetValue(buildConf->GetLibraries());
- m_textLibraryPath->SetValue(buildConf->GetLibPath());
- m_textPreprocessor->SetValue(buildConf->GetPreprocessor());
- buildConf->GetPreBuildCommands(preBuildCmds);
- buildConf->GetPostBuildCommands(postBuildCmds);
- BuildCommandList::iterator iter = preBuildCmds.begin();
-
- long item = AppendListCtrlRow(m_listCtrlTargets);
- SetColumnText(m_listCtrlTargets, item, 0, CUSTOM_TARGET_BUILD);
- SetColumnText(m_listCtrlTargets, item, 1, buildConf->GetCustomBuildCmd());
-
- item = AppendListCtrlRow(m_listCtrlTargets);
- SetColumnText(m_listCtrlTargets, item, 0, CUSTOM_TARGET_CLEAN);
- SetColumnText(m_listCtrlTargets, item, 1, buildConf->GetCustomCleanCmd());
-
- item = AppendListCtrlRow(m_listCtrlTargets);
- SetColumnText(m_listCtrlTargets, item, 0, CUSTOM_TARGET_REBUILD);
- SetColumnText(m_listCtrlTargets, item, 1, buildConf->GetCustomRebuildCmd());
-
- item = AppendListCtrlRow(m_listCtrlTargets);
- SetColumnText(m_listCtrlTargets, item, 0, CUSTOM_TARGET_COMPILE_SINGLE_FILE);
- SetColumnText(m_listCtrlTargets, item, 1, buildConf->GetSingleFileBuildCommand());
-
- item = AppendListCtrlRow(m_listCtrlTargets);
- SetColumnText(m_listCtrlTargets, item, 0, CUSTOM_TARGET_PREPROCESS_FILE);
- SetColumnText(m_listCtrlTargets, item, 1, buildConf->GetPreprocessFileCommand());
-
- // Initialize the custom build targets
- std::map<wxString, wxString> targets = buildConf->GetCustomTargets();
- std::map<wxString, wxString>::iterator titer = targets.begin();
- for (; titer != targets.end(); titer++) {
-
- if (titer->first == CUSTOM_TARGET_BUILD ||
- titer->first == CUSTOM_TARGET_CLEAN ||
- titer->first == CUSTOM_TARGET_REBUILD ||
- titer->first == CUSTOM_TARGET_COMPILE_SINGLE_FILE ||
- titer->first == CUSTOM_TARGET_PREPROCESS_FILE) {
- continue;
- }
-
- item = AppendListCtrlRow(m_listCtrlTargets);
- SetColumnText(m_listCtrlTargets, item, 0, titer->first);
- SetColumnText(m_listCtrlTargets, item, 1, titer->second);
- }
-
- m_listCtrlTargets->SetColumnWidth(0, 150);
- m_listCtrlTargets->SetColumnWidth(1, 300);
-
- m_checkEnableCustomBuild->SetValue(buildConf->IsCustomBuild());
-
- m_checkResourceNeeded->SetValue(!buildConf->IsResCompilerRequired());
- m_textAddResCmpOptions->SetValue(buildConf->GetResCompileOptions());
- m_textAddResCmpPath->SetValue(buildConf->GetResCmpIncludePath());
- m_textCtrlCustomBuildWD->SetValue(buildConf->GetCustomBuildWorkingDir());
-
- m_thirdPartyTool->SetStringSelection(buildConf->GetToolName());
- m_textCtrlMakefileGenerationCmd->SetValue(buildConf->GetMakeGenerationCommand());
-
- m_textCtrlDbgCmds->SetValue(buildConf->GetDebuggerStartupCmds());
- m_textCtrlDbgPostConnectCmds->SetValue(buildConf->GetDebuggerPostRemoteConnectCmds());
- m_checkBoxDbgRemote->SetValue(buildConf->GetIsDbgRemoteTarget());
- m_textCtrl1DbgHost->SetValue(buildConf->GetDbgHostName());
- m_textCtrlDbgPort->SetValue(buildConf->GetDbgHostPort());
-
- m_textCtrlDebuggerPath->SetValue(buildConf->GetDebuggerPath());
- m_textCtrlPreCompiledHeader->SetValue(buildConf->GetPrecompiledHeader());
- //set the custom pre-prebuild step
- wxString customPreBuild = buildConf->GetPreBuildCustom();
-
- //extract the dependencies
- wxString deps, rules;
- deps = customPreBuild.BeforeFirst(wxT('\n'));
- rules = customPreBuild.AfterFirst(wxT('\n'));
-
- rules = rules.Trim();
- rules = rules.Trim(false);
-
- deps = deps.Trim();
- deps = deps.Trim(false);
-
- m_textDeps->SetValue(deps);
- m_textPreBuildRule->SetValue(rules);
-
- m_checkListPreBuildCommands->Clear();
- for (; iter != preBuildCmds.end(); iter ++) {
- int index = m_checkListPreBuildCommands->Append(iter->GetCommand());
- m_checkListPreBuildCommands->Check(index, iter->GetEnabled());
- }
-
- iter = postBuildCmds.begin();
- m_checkListPostBuildCommands->Clear();
- for (; iter != postBuildCmds.end(); iter ++) {
- int index = m_checkListPostBuildCommands->Append(iter->GetCommand());
- m_checkListPostBuildCommands->Check(index, iter->GetEnabled());
- }
-
- //set the project type
- wxString projType = projSettingsPtr->GetProjectType(confName);
- int sel = m_choiceProjectTypes->FindString(projType);
- if (sel == wxNOT_FOUND) {
- sel = 0;
- }
- m_choiceProjectTypes->SetSelection(sel);
-
- m_choiceCompilerType->Clear();
- wxString cmpType = buildConf->GetCompilerType();
- BuildSettingsConfigCookie cookie;
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetFirstCompiler(cookie);
- while (cmp) {
- m_choiceCompilerType->Append(cmp->GetName());
- cmp = BuildSettingsConfigST::Get()->GetNextCompiler(cookie);
- }
-
- m_choiceDebugger->Clear();
- wxString dbgType = buildConf->GetDebuggerType();
- wxArrayString dbgs = DebuggerMgr::Get().GetAvailableDebuggers();
- if (dbgs.GetCount() > 0) {
- m_choiceDebugger->Append(dbgs);
- }
-
- if (m_choiceDebugger->GetCount() > 0) {
- int find = m_choiceDebugger->FindString(dbgType);
- if (find != wxNOT_FOUND) {
- m_choiceDebugger->SetSelection(find);
- } else {
- m_choiceDebugger->SetSelection(0);
- }
- }
-
- int where = m_choiceCompilerType->FindString(cmpType);
- if (where == wxNOT_FOUND) {
- if (m_choiceCompilerType->GetCount() > 0) {
- m_choiceCompilerType->SetSelection(0);
- }
- } else {
- m_choiceCompilerType->SetSelection(where);
- }
-
- m_checkBoxPauseWhenExecEnds->SetValue(buildConf->GetPauseWhenExecEnds());
-
- SelectChoiceWithGlobalSettings(m_choiceCmpUseWithGlobalSettings, buildConf->GetBuildCmpWithGlobalSettings());
- SelectChoiceWithGlobalSettings(m_choiceLnkUseWithGlobalSettings, buildConf->GetBuildLnkWithGlobalSettings());
- SelectChoiceWithGlobalSettings(m_choiceResUseWithGlobalSettings, buildConf->GetBuildResWithGlobalSettings());
-}
-
-void ProjectConfigurationPanel::SaveValues(const wxString &confName)
-{
- BuildConfigPtr buildConf;
- ProjectSettingsPtr projSettingsPtr = ManagerST::Get()->GetProjectSettings(m_projectName);
- buildConf = projSettingsPtr->GetBuildConfiguration(confName);
- if (!buildConf) {
- return;
- }
- wxArrayString searchArr, libPath, libs;
- BuildCommandList preBuildCmds, postBuildCmds;
-
- // loop over the list and create the targets map
- std::map<wxString, wxString> targets;
- for (int i=0; i<(int)m_listCtrlTargets->GetItemCount(); i++) {
- wxString colText = GetColumnText(m_listCtrlTargets, i, 0);
- if (colText == CUSTOM_TARGET_BUILD ||
- colText == CUSTOM_TARGET_CLEAN ||
- colText == CUSTOM_TARGET_REBUILD ||
- colText == CUSTOM_TARGET_COMPILE_SINGLE_FILE ||
- colText == CUSTOM_TARGET_PREPROCESS_FILE) {
- continue;
- }
- targets[GetColumnText(m_listCtrlTargets, i, 0)] = GetColumnText(m_listCtrlTargets, i, 1);
- }
- buildConf->SetCustomTargets(targets);
- buildConf->SetOutputFileName(m_textOutputFilePicker->GetValue());
- buildConf->SetIntermediateDirectory(m_textCtrlItermediateDir->GetValue());
- buildConf->SetCommand(m_textCommand->GetValue());
- buildConf->SetCommandArguments(m_textCommandArguments->GetValue());
- buildConf->SetWorkingDirectory(m_textCtrlCommandWD->GetValue());
- buildConf->SetCompilerRequired(!m_checkCompilerNeeded->IsChecked());
- buildConf->SetCompileOptions(m_textCompilerOptions->GetValue());
- buildConf->SetIncludePath(m_textAdditionalSearchPath->GetValue());
- buildConf->SetLibPath(m_textLibraryPath->GetValue());
- buildConf->SetLibraries(m_textLibraries->GetValue());
- buildConf->SetLinkerRequired(!m_checkLinkerNeeded->IsChecked());
- buildConf->SetLinkOptions(m_textLinkerOptions->GetValue());
- projSettingsPtr->SetProjectType(m_choiceProjectTypes->GetStringSelection());
- buildConf->SetCompilerType(m_choiceCompilerType->GetStringSelection());
- buildConf->SetDebuggerType(m_choiceDebugger->GetStringSelection());
- buildConf->SetPreprocessor(m_textPreprocessor->GetValue());
-
- buildConf->SetCustomBuildCmd(GetTargetCommand(CUSTOM_TARGET_BUILD));
- buildConf->SetCustomCleanCmd(GetTargetCommand(CUSTOM_TARGET_CLEAN));
- buildConf->SetCustomRebuildCmd(GetTargetCommand(CUSTOM_TARGET_REBUILD));
- buildConf->SetSingleFileBuildCommand(GetTargetCommand(CUSTOM_TARGET_COMPILE_SINGLE_FILE));
- buildConf->SetPreprocessFileCommand(GetTargetCommand(CUSTOM_TARGET_PREPROCESS_FILE));
-
- buildConf->EnableCustomBuild(m_checkEnableCustomBuild->IsChecked());
- buildConf->SetMakeGenerationCommand(m_textCtrlMakefileGenerationCmd->GetValue());
- buildConf->SetToolName(m_thirdPartyTool->GetStringSelection());
- buildConf->SetResCompilerRequired(!m_checkResourceNeeded->IsChecked());
- buildConf->SetResCmpIncludePath(m_textAddResCmpPath->GetValue());
- buildConf->SetResCmpOptions(m_textAddResCmpOptions->GetValue());
- buildConf->SetCustomBuildWorkingDir(m_textCtrlCustomBuildWD->GetValue());
- buildConf->SetPauseWhenExecEnds(m_checkBoxPauseWhenExecEnds->IsChecked());
- buildConf->SetProjectType(m_choiceProjectTypes->GetStringSelection());
- buildConf->SetDebuggerStartupCmds(m_textCtrlDbgCmds->GetValue());
- buildConf->SetDebuggerPostRemoteConnectCmds(m_textCtrlDbgPostConnectCmds->GetValue());
- buildConf->SetIsDbgRemoteTarget(m_checkBoxDbgRemote->IsChecked());
- buildConf->SetDbgHostName(m_textCtrl1DbgHost->GetValue());
- buildConf->SetDbgHostPort(m_textCtrlDbgPort->GetValue());
- buildConf->SetDebuggerPath(m_textCtrlDebuggerPath->GetValue());
- buildConf->SetPrecompiledHeader(m_textCtrlPreCompiledHeader->GetValue());
-
- //set the pre-build step
- wxString rules = m_textPreBuildRule->GetValue();
- wxString deps = m_textDeps->GetValue();
-
- rules = rules.Trim();
- rules = rules.Trim(false);
- deps = deps.Trim();
- deps = deps.Trim(false);
-
- wxString prebuilstep;
- prebuilstep << deps << wxT("\n");
- prebuilstep << rules;
- prebuilstep << wxT("\n");
-
- // Set the content only if there is real content to add
- wxString tmpPreBuildStep(prebuilstep);
- tmpPreBuildStep.Trim().Trim(false);
- if(tmpPreBuildStep.IsEmpty() == false){
- buildConf->SetPreBuildCustom(prebuilstep);
- } else {
- buildConf->SetPreBuildCustom(wxT(""));
- }
-
- BuildCommandList cmds;
- cmds.clear();
- for (size_t i=0; i<m_checkListPreBuildCommands->GetCount(); i++) {
- wxString cmdLine = m_checkListPreBuildCommands->GetString((unsigned int)i);
- bool enabled = m_checkListPreBuildCommands->IsChecked((unsigned int)i);
- BuildCommand cmd(cmdLine, enabled);
- cmds.push_back(cmd);
- }
- buildConf->SetPreBuildCommands(cmds);
-
- cmds.clear();
- for (size_t i=0; i<m_checkListPostBuildCommands->GetCount(); i++) {
- wxString cmdLine = m_checkListPostBuildCommands->GetString((unsigned int)i);
- bool enabled = m_checkListPostBuildCommands->IsChecked((unsigned int)i);
- BuildCommand cmd(cmdLine, enabled);
- cmds.push_back(cmd);
- }
- buildConf->SetPostBuildCommands(cmds);
-
- wxString useWithGlobalSettings = m_choiceCmpUseWithGlobalSettings->GetStringSelection();
- if (useWithGlobalSettings == APPEND_TO_GLOBAL_SETTINGS) {
- buildConf->SetBuildCmpWithGlobalSettings(BuildConfig::APPEND_TO_GLOBAL_SETTINGS);
- } else if (useWithGlobalSettings == OVERWRITE_GLOBAL_SETTINGS) {
- buildConf->SetBuildCmpWithGlobalSettings(BuildConfig::OVERWRITE_GLOBAL_SETTINGS);
- } else if (useWithGlobalSettings == PREPEND_GLOBAL_SETTINGS) {
- buildConf->SetBuildCmpWithGlobalSettings(BuildConfig::PREPEND_GLOBAL_SETTINGS);
- }
- useWithGlobalSettings = m_choiceLnkUseWithGlobalSettings->GetStringSelection();
- if (useWithGlobalSettings == APPEND_TO_GLOBAL_SETTINGS) {
- buildConf->SetBuildLnkWithGlobalSettings(BuildConfig::APPEND_TO_GLOBAL_SETTINGS);
- } else if (useWithGlobalSettings == OVERWRITE_GLOBAL_SETTINGS) {
- buildConf->SetBuildLnkWithGlobalSettings(BuildConfig::OVERWRITE_GLOBAL_SETTINGS);
- } else if (useWithGlobalSettings == PREPEND_GLOBAL_SETTINGS) {
- buildConf->SetBuildLnkWithGlobalSettings(BuildConfig::PREPEND_GLOBAL_SETTINGS);
- }
- useWithGlobalSettings = m_choiceResUseWithGlobalSettings->GetStringSelection();
- if (useWithGlobalSettings == APPEND_TO_GLOBAL_SETTINGS) {
- buildConf->SetBuildResWithGlobalSettings(BuildConfig::APPEND_TO_GLOBAL_SETTINGS);
- } else if (useWithGlobalSettings == OVERWRITE_GLOBAL_SETTINGS) {
- buildConf->SetBuildResWithGlobalSettings(BuildConfig::OVERWRITE_GLOBAL_SETTINGS);
- } else if (useWithGlobalSettings == PREPEND_GLOBAL_SETTINGS) {
- buildConf->SetBuildResWithGlobalSettings(BuildConfig::PREPEND_GLOBAL_SETTINGS);
- }
-
- //save settings
- ManagerST::Get()->SetProjectSettings(m_projectName, projSettingsPtr);
-
- // Notify the plugins to save their data
- SendCmdEvent(wxEVT_CMD_PROJ_SETTINGS_SAVED, (void*)&m_projectName, confName);
-}
-
-void ProjectConfigurationPanel::ConnectEvents()
-{
- m_checkListPreBuildCommands->Connect(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler(ProjectConfigurationPanel::OnEditPreBuildCommand), NULL, this);
-}
-
-void ProjectConfigurationPanel::OnCustomBuildEnabled(wxCommandEvent &event)
-{
- DoUpdatePages(event.IsChecked());
- SetSettingsModified();
- event.Skip();
-}
-
-void ProjectConfigurationPanel::DoUpdatePages(bool checked)
-{
- DisableCompilerPage(checked);
- DisableLinkerPage(checked);
- DisableGeneralPage(checked);
- DisableCustomBuildPage(!checked);
- DisableCustomMkSteps(checked);
-
- if (checked) {
- m_checkLinkerNeeded->Enable(false);
- m_checkCompilerNeeded->Enable(false);
- m_resourceCmpPage->Enable(false);
- } else {
- m_checkLinkerNeeded->Enable(true);
- m_checkCompilerNeeded->Enable(true);
- m_resourceCmpPage->Enable(true);
- }
-}
-
-void ProjectConfigurationPanel::SetSettingsModified()
-{
- wxCommandEvent event(wxEVT_CL_PROJECT_SETTINGS_MODIFIED, GetId());
- event.SetEventObject(this);
- GetParent()->GetEventHandler()->ProcessEvent(event);
-}
-
-void ProjectConfigurationPanel::DisableCustomBuildPage(bool disable)
-{
- m_listCtrlTargets->Enable(!disable);
- m_textCtrlCustomBuildWD->Enable(!disable);
- m_buttonBrowseCustomBuildWD->Enable(!disable);
- m_thirdPartyTool->Enable(!disable);
- m_buttonNewCustomTarget->Enable(!disable);
- m_buttonEditCustomTarget->Enable(!disable);
- m_buttonDeleteCustomTarget->Enable(!disable);
-
- if (!disable) {
- if (m_thirdPartyTool->GetStringSelection() == wxT("None")) {
- m_textCtrlMakefileGenerationCmd->Enable(false);
- } else {
- m_textCtrlMakefileGenerationCmd->Enable(true);
- }
- } else {
- m_textCtrlMakefileGenerationCmd->Enable(!disable);
- }
-}
-
-void ProjectConfigurationPanel::OnButtonAddPreprocessor(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textPreprocessor)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void ProjectSettingsDlg::OnButtonOK(wxCommandEvent &event)
-{
- OnButtonApply(event);
- EndModal(wxID_OK);
-}
-
-void ProjectSettingsDlg::OnButtonApply(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- wxString sel = m_choiceConfigurationType->GetStringSelection();
- if (sel != GLOBAL_SETTINGS_LABEL) {
- m_configurationPanel->SaveValues(sel);
- }
- m_globalSettingsPanel->SaveValues();
- m_buttonApply->Enable(false);
-}
-
-void ProjectSettingsDlg::OnConfigurationTypeSelected(wxCommandEvent &event)
-{
- wxString selection = event.GetString();
- if (selection == GLOBAL_SETTINGS_LABEL) {
-
- m_sizerSettings->Hide(m_configurationPanel);
- m_sizerSettings->Show(m_globalSettingsPanel);
- } else {
-
- m_sizerSettings->Hide(m_globalSettingsPanel);
- m_sizerSettings->Show(m_configurationPanel);
-
- m_configurationPanel->InitDialog(selection, m_oldConfigurationName);
- m_oldConfigurationName = selection;
- }
-
- m_sizerSettings->Layout();
- GetSizer()->Layout();
-
- //Layout(); // JFO : doesn't work, I don't kow why...
- // EI : calling each sizer for layout seems to work. Looks like a bug in WX
- event.Skip();
-}
-
-void ProjectConfigurationPanel::DisableCompilerPage(bool disable)
-{
- m_textAdditionalSearchPath->Enable(!disable);
- m_buttonAddSearchPath->Enable(!disable);
- m_textCompilerOptions->Enable(!disable);
- m_textPreprocessor->Enable(!disable);
- m_buttonAddPreprocessor->Enable(!disable);
- m_buttonCompilerOptions->Enable(!disable);
- m_textCtrlPreCompiledHeader->Enable(!disable);
- m_staticTextPreCompiledHeader->Enable(!disable);
- m_buttonBrowsePreCompiledHeader->Enable(!disable);
-}
-
-void ProjectConfigurationPanel::DisableLinkerPage(bool disable)
-{
- m_textLibraryPath->Enable(!disable);
- m_textLibraries->Enable(!disable);
- m_textLinkerOptions->Enable(!disable);
- m_buttonLibraries->Enable(!disable);
- m_buttonLibraryPath->Enable(!disable);
- m_buttonLinkerOptions->Enable(!disable);
-}
-
-void ProjectConfigurationPanel::OnCheckCompilerNeeded(wxCommandEvent &event)
-{
- DisableCompilerPage(event.IsChecked());
- SetSettingsModified();
- event.Skip();
-}
-
-void ProjectConfigurationPanel::OnCheckLinkerNeeded(wxCommandEvent &event)
-{
- DisableLinkerPage(event.IsChecked());
- SetSettingsModified();
- event.Skip();
-}
-
-void ProjectConfigurationPanel::OnAddSearchPath(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textAdditionalSearchPath)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void ProjectConfigurationPanel::OnAddLibrary(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textLibraries)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void ProjectConfigurationPanel::OnAddLibraryPath(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textLibraryPath)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void ProjectConfigurationPanel::OnNewCommand(wxCheckListBox *list)
-{
- FreeTextDialog dlg(this);
- if (dlg.ShowModal() == wxID_OK) {
- wxString value = dlg.GetValue();
- TrimString(value);
- //incase several commands were entered, split them
- wxStringTokenizer tkz(value, wxT("\n"), wxTOKEN_STRTOK);
- while (tkz.HasMoreTokens()) {
- wxString command = tkz.NextToken();
- if (command.IsEmpty() == false) {
- list->Append(command);
- list->Check(list->GetCount()-1);
- }
- }
- SetSettingsModified();
- }
-}
-
-void ProjectConfigurationPanel::OnEditCommand(wxCheckListBox *list)
-{
- wxString selectedString = list->GetStringSelection();
- int sel = list->GetSelection();
- if (sel == wxNOT_FOUND) {
- return;
- }
-
- // on GTK it looks like that the state of the item in the list
- // is changed after calling 'SetString'
- bool selectIt = list->IsChecked((unsigned int) sel);
-
- FreeTextDialog dlg(this, selectedString);
- if (dlg.ShowModal() == wxID_OK) {
- wxString value = dlg.GetValue();
- TrimString(value);
- if (value.IsEmpty() == false) {
- list->SetString((unsigned int)sel, value);
- list->Check((unsigned int)sel, selectIt);
- }
- SetSettingsModified();
- }
-}
-
-void ProjectConfigurationPanel::OnUpCommand(wxCheckListBox *list)
-{
- wxString selectedString = list->GetStringSelection();
-
- int sel = list->GetSelection();
- if (sel == wxNOT_FOUND) {
- return;
- }
-
- bool isSelected = list->IsChecked(sel);
- sel --;
- if (sel < 0) {
- return;
- }
-
- // sel contains the new position we want to place the selection string
- list->Delete(sel + 1);
- list->Insert(selectedString, sel);
- list->Select(sel);
- list->Check(sel, isSelected);
-
- SetSettingsModified();
-}
-
-void ProjectConfigurationPanel::OnDownCommand(wxCheckListBox *list)
-{
- int sel = list->GetSelection();
- if (sel == wxNOT_FOUND) {
- return;
- }
-
- sel ++;
- if (sel >= (int)list->GetCount()) {
- return;
- }
-
- // sel contains the new position we want to place the selection string
- wxString oldStr = list->GetString(sel);
- bool oldStringIsSelected = list->IsChecked(sel);
-
- list->Delete(sel);
- list->Insert(oldStr, sel - 1);
- list->Select(sel);
- list->Check(sel - 1, oldStringIsSelected);
-
- SetSettingsModified();
-}
-
-void ProjectConfigurationPanel::OnDeleteCommand(wxCheckListBox *list)
-{
- int sel = list->GetSelection();
- if (sel == wxNOT_FOUND) {
- return;
- }
- list->Delete(sel);
- if (sel < (int)list->GetCount()) {
- list->Select(sel);
- } else if (sel - 1 < (int)list->GetCount()) {
- list->Select(sel -1);
- }
- SetSettingsModified();
-}
-
-void ProjectConfigurationPanel::OnButtonAddCompilerOptions(wxCommandEvent &event)
-{
- wxString cmpName = m_choiceCompilerType->GetStringSelection();
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(cmpName);
- if (PopupAddOptionCheckDlg(m_textCompilerOptions, _("Compiler options"), cmp->GetCompilerOptions())) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void ProjectConfigurationPanel::OnButtonAddLinkerOptions(wxCommandEvent &event)
-{
- wxString cmpName = m_choiceCompilerType->GetStringSelection();
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetCompiler(cmpName);
- if (PopupAddOptionCheckDlg(m_textLinkerOptions, _("Linker options"), cmp->GetLinkerOptions())) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void ProjectConfigurationPanel::OnResourceCmpAddOption(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textAddResCmpOptions)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void ProjectConfigurationPanel::OnResourceCmpAddPath(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textAddResCmpPath)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void ProjectConfigurationPanel::OnResourceCmpNeeded(wxCommandEvent &event)
-{
- m_textAddResCmpOptions->Enable(!event.IsChecked());
- m_textAddResCmpPath->Enable(!event.IsChecked());
- m_buttonAddResCmpOptions->Enable(!event.IsChecked());
- m_buttonAddResCmpPath->Enable(!event.IsChecked());
- event.Skip();
-}
-
-void ProjectConfigurationPanel::DisableGeneralPage(bool disable)
-{
- m_choiceProjectTypes->Enable( !disable );
- m_buttonBrowseIM_WD->Enable( !disable );
-}
-
-void ProjectConfigurationPanel::DisableCustomMkSteps(bool disable)
-{
- m_textDeps->Enable( !disable );
- m_textPreBuildRule->Enable( !disable );
-}
-
-void ProjectConfigurationPanel::OnChoiceMakefileTool(wxCommandEvent &e)
-{
- if (e.GetString() == wxT("None")) {
- m_textCtrlMakefileGenerationCmd->Enable(false);
- } else {
- m_textCtrlMakefileGenerationCmd->Enable(true);
- }
- SetSettingsModified();
-}
-
-void ProjectConfigurationPanel::OnDebuggingRemoteTarget(wxCommandEvent& e)
-{
- if (e.IsChecked()) {
- m_textCtrl1DbgHost->Enable(true);
- m_textCtrlDbgPort->Enable(true);
- } else {
- m_textCtrl1DbgHost->Enable(false);
- m_textCtrlDbgPort->Enable(false);
- }
- SetSettingsModified();
-}
-
-void ProjectSettingsDlg::OnButtonHelp(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- MacrosDlg dlg(this, MacrosDlg::MacrosProject);
- dlg.ShowModal();
-}
-
-/**
- * Custom Build event handling
- */
-void ProjectConfigurationPanel::OnDeleteTarget(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- if (m_selecteCustomTaregt != wxNOT_FOUND) {
- m_listCtrlTargets->DeleteItem(m_selecteCustomTaregt);
- m_selecteCustomTaregt = wxNOT_FOUND;
-
- SetSettingsModified();
- }
-}
-
-void ProjectConfigurationPanel::OnEditTarget(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- if (m_selecteCustomTaregt != wxNOT_FOUND) {
- DoEditItem(m_selecteCustomTaregt);
- }
-}
-
-void ProjectConfigurationPanel::OnNewTarget(wxCommandEvent& e)
-{
- wxUnusedVar(e);
-
- EnvVarDlg dlg(this);
- dlg.SetTitle(wxT("New target"));
- dlg.SetStaticText1(wxT("Target Name:"));
- dlg.SetStaticText2(wxT("Command:"));
- if (dlg.ShowModal() == wxID_OK) {
- SetSettingsModified();
- if (GetTargetCommand(dlg.GetName()).IsEmpty() == false) {
- wxMessageBox(wxString::Format(wxT("Target '%s' already exist!"), dlg.GetName().c_str()), wxT("CodeLite"), wxICON_WARNING|wxCENTER|wxOK, this);
- return;
- }
- long item = AppendListCtrlRow(m_listCtrlTargets);
- DoUpdateItem(item, dlg.GetName(), dlg.GetValue());
- }
-}
-
-void ProjectConfigurationPanel::OnItemActivated(wxListEvent& e)
-{
- m_selecteCustomTaregt = e.m_itemIndex;
- DoEditItem(m_selecteCustomTaregt);
-}
-
-void ProjectConfigurationPanel::OnItemSelected(wxListEvent& e)
-{
- m_selecteCustomTaregt = e.m_itemIndex;
-}
-
-void ProjectConfigurationPanel::OnDeleteTargetUI(wxUpdateUIEvent& e)
-{
- if (m_selecteCustomTaregt != wxNOT_FOUND) {
- wxString name = GetColumnText(m_listCtrlTargets, m_selecteCustomTaregt, 0);
- e.Enable(name != CUSTOM_TARGET_BUILD &&
- name != CUSTOM_TARGET_CLEAN &&
- name != CUSTOM_TARGET_REBUILD &&
- name != CUSTOM_TARGET_COMPILE_SINGLE_FILE &&
- m_checkEnableCustomBuild->IsChecked());
- } else {
- e.Enable(false);
- }
-}
-
-void ProjectConfigurationPanel::OnEditTargetUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_selecteCustomTaregt != wxNOT_FOUND && m_checkEnableCustomBuild->IsChecked());
-}
-
-void ProjectConfigurationPanel::DoEditItem(long item)
-{
- if (item != wxNOT_FOUND) {
- wxString target = GetColumnText(m_listCtrlTargets, item, 0);
- wxString cmd = GetColumnText(m_listCtrlTargets, item, 1);
- EnvVarDlg dlg(this);
- dlg.SetTitle(wxT("Edit target"));
- dlg.SetStaticText1(wxT("Target Name:"));
- dlg.SetStaticText2(wxT("Command:"));
- dlg.SetName(target);
- dlg.SetValue(cmd);
-
- // dont allow user to modify the common targets
- if (target == CUSTOM_TARGET_BUILD ||
- target == CUSTOM_TARGET_CLEAN ||
- target == CUSTOM_TARGET_REBUILD ||
- target == CUSTOM_TARGET_COMPILE_SINGLE_FILE) {
- dlg.DisableName();
- }
-
- if (dlg.ShowModal() == wxID_OK) {
- DoUpdateItem(item, dlg.GetName(), dlg.GetValue());
- SetSettingsModified();
- }
- }
-}
-
-void ProjectConfigurationPanel::DoUpdateItem(long item, const wxString& target, const wxString& cmd)
-{
- SetColumnText(m_listCtrlTargets, item, 0, target);
- SetColumnText(m_listCtrlTargets, item, 1, cmd);
-
- m_listCtrlTargets->SetColumnWidth(0, 150);
- m_listCtrlTargets->SetColumnWidth(1, 300);
-}
-
-wxString ProjectConfigurationPanel::GetTargetCommand(const wxString& target)
-{
- for (int i=0; i<(int)m_listCtrlTargets->GetItemCount(); i++) {
- if (GetColumnText(m_listCtrlTargets, i, 0) == target) {
- return GetColumnText(m_listCtrlTargets, i, 1);
- }
- }
- return wxEmptyString;
-}
-
-void ProjectConfigurationPanel::OnBrowseCustomBuildWD(wxCommandEvent& e)
-{
- DirSaver ds;
-
- // Since all paths are relative to the project, set the working directory to the
- // current project path
- ProjectPtr p = ManagerST::Get()->GetProject(m_projectName);
- if (p) {
- wxSetWorkingDirectory(p->GetFileName().GetPath());
- }
-
- wxFileName fn(m_textCtrlCustomBuildWD->GetValue());
- wxString initPath(wxEmptyString);
-
- if (fn.DirExists()) {
- fn.MakeAbsolute();
- initPath = fn.GetFullPath();
- }
-
- wxString new_path = wxDirSelector(wxT("Select working directory:"), initPath, wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
- if (new_path.IsEmpty() == false) {
- m_textCtrlCustomBuildWD->SetValue(new_path);
- }
-}
-
-void ProjectConfigurationPanel::OnBrowseCommandWD(wxCommandEvent& e)
-{
- DirSaver ds;
-
- // Since all paths are relative to the project, set the working directory to the
- // current project path
- ProjectPtr p = ManagerST::Get()->GetProject(m_projectName);
- if (p) {
- wxSetWorkingDirectory(p->GetFileName().GetPath());
- }
-
- wxFileName fn(m_textCtrlCommandWD->GetValue());
- wxString initPath(wxEmptyString);
- if (fn.DirExists()) {
- fn.MakeAbsolute();
- initPath = fn.GetFullPath();
- }
-
- wxString new_path = wxDirSelector(wxT("Select working directory:"), initPath, wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
- if (new_path.IsEmpty() == false) {
- m_textCtrlCommandWD->SetValue(new_path);
- }
-}
-
-void ProjectConfigurationPanel::OnBrowseIntermediateDir(wxCommandEvent& e)
-{
- DirSaver ds;
-
- // Since all paths are relative to the project, set the working directory to the
- // current project path
- ProjectPtr p = ManagerST::Get()->GetProject(m_projectName);
- if (p) {
- wxSetWorkingDirectory(p->GetFileName().GetPath());
- }
-
- wxFileName fn(m_textCtrlItermediateDir->GetValue());
- wxString initPath(wxEmptyString);
-
- if (fn.DirExists()) {
- fn.MakeAbsolute();
- initPath = fn.GetFullPath();
- }
- wxString new_path = wxDirSelector(wxT("Select working directory:"), initPath, wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
- if (new_path.IsEmpty() == false) {
- m_textCtrlItermediateDir->SetValue(new_path);
- }
-}
-
-void ProjectConfigurationPanel::OnSelectDebuggerPath(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxString path(m_textCtrlDebuggerPath->GetValue());
- if (wxFileName::FileExists(path)) {
- m_textCtrlDebuggerPath->SetValue(wxFileSelector(wxT("Select file:"), path.c_str()));
- } else {
- m_textCtrlDebuggerPath->SetValue(wxFileSelector(wxT("Select file:")));
- }
-}
-
-ProjectSettingsDlg::ProjectSettingsDlg( wxWindow* parent, const wxString &configName, const wxString &projectName, const wxString &title )
- : ProjectSettingsBaseDlg( parent, wxID_ANY, title, wxDefaultPosition, wxSize( 782,502 ), wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER )
- , m_projectName(projectName)
- , m_configName(configName)
- , m_oldConfigurationName(wxEmptyString)
- , m_selecteCustomTarget(wxNOT_FOUND)
-{
- m_configurationPanel = new ProjectConfigurationPanel(m_panelSettings, configName, m_projectName);
- m_globalSettingsPanel = new GlobalSettingsPanel(m_panelSettings, m_projectName);
- m_sizerSettings->Add(m_configurationPanel, 1, wxEXPAND | wxALL, 0);
- m_sizerSettings->Add(m_globalSettingsPanel, 1, wxEXPAND | wxALL, 0);
- SetAutoLayout(true);
- ConnectEvents();
-
- //fill the dialog with values
- UpdateConfigurationTypeChoice(configName);
- m_configurationPanel->InitDialog(m_configName, wxEmptyString);
- m_oldConfigurationName = m_choiceConfigurationType->GetStringSelection();
-
- m_buttonApply->Enable(false);
- m_sizerSettings->Hide(m_globalSettingsPanel);
-
- GetSizer()->Fit(this);
- Centre();
-
- WindowAttrManager::Load(this, wxT("ProjectSettingsDlg"), NULL);
-}
-
-ProjectSettingsDlg::~ProjectSettingsDlg()
-{
- WindowAttrManager::Save(this, wxT("ProjectSettingsDlg"), NULL);
-}
-
-void ProjectSettingsDlg::UpdateConfigurationTypeChoice(const wxString &itemToSelect)
-{
- ProjectSettingsPtr projSettingsPtr = ManagerST::Get()->GetProjectSettings(m_projectName);
- ProjectSettingsCookie cookie;
- m_choiceConfigurationType->Clear();
- m_choiceConfigurationType->Append(GLOBAL_SETTINGS_LABEL);
- BuildConfigPtr conf = projSettingsPtr->GetFirstBuildConfiguration(cookie);
- while (conf) {
- m_choiceConfigurationType->Append(conf->GetName());
- conf = projSettingsPtr->GetNextBuildConfiguration(cookie);
- }
-
- if (itemToSelect.IsEmpty() || m_choiceConfigurationType->FindString(itemToSelect) == wxNOT_FOUND) {
- if (m_choiceConfigurationType->GetCount() > 0)
- m_choiceConfigurationType->SetSelection(0);
- } else {
- m_choiceConfigurationType->SetStringSelection(itemToSelect);
- }
-}
-
-void ProjectSettingsDlg::OnButtonConfigurationManager(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- ConfigurationManagerDlg dlg(this);
- dlg.ShowModal();
-
- //update the configuration type choice control
- UpdateConfigurationTypeChoice(m_choiceConfigurationType->GetStringSelection());
- //Load values according to the new selection
- m_configurationPanel->CopyValues(m_choiceConfigurationType->GetStringSelection());
- event.Skip();
-}
-
-void ProjectSettingsDlg::ConnectEvents()
-{
- Connect(wxEVT_CL_PROJECT_SETTINGS_MODIFIED, wxCommandEventHandler(ProjectSettingsDlg::OnSettingsModified));
-}
-
-void ProjectSettingsDlg::OnSettingsModified(wxCommandEvent &event)
-{
- m_buttonApply->Enable(true);
- event.Skip();
-}
-
-
-GlobalSettingsPanel::GlobalSettingsPanel(wxWindow* parent, const wxString &projectName)
- : GlobalSettingsBasePanel(parent)
- , m_projectName(projectName)
-{
- CopyValues();
-
- GetSizer()->Fit(this);
- Centre();
-}
-
-void GlobalSettingsPanel::SetSettingsModified()
-{
- wxCommandEvent event(wxEVT_CL_PROJECT_SETTINGS_MODIFIED, GetId());
- event.SetEventObject(this);
- GetParent()->GetEventHandler()->ProcessEvent(event);
-}
-
-void GlobalSettingsPanel::ClearValues()
-{
- m_textCompilerOptions->SetValue(wxEmptyString);
- m_textPreprocessor->SetValue(wxEmptyString);
- m_textAdditionalSearchPath->SetValue(wxEmptyString);
-
- m_textLinkerOptions->SetValue(wxEmptyString);
- m_textLibraries->SetValue(wxEmptyString);
- m_textLibraryPath->SetValue(wxEmptyString);
-
- m_textAddResCmpOptions->SetValue(wxEmptyString);
- m_textAddResCmpPath->SetValue(wxEmptyString);
-}
-
-void GlobalSettingsPanel::CopyValues()
-{
- ProjectSettingsPtr projSettingsPtr = ManagerST::Get()->GetProjectSettings(m_projectName);
- BuildConfigCommonPtr globalSettings = projSettingsPtr->GetGlobalSettings();
- if (!globalSettings) {
- ClearValues();
- return;
- }
-
- m_textCompilerOptions->SetValue(globalSettings->GetCompileOptions());
- m_textPreprocessor->SetValue(globalSettings->GetPreprocessor());
- m_textAdditionalSearchPath->SetValue(globalSettings->GetIncludePath());
-
- m_textLinkerOptions->SetValue(globalSettings->GetLinkOptions());
- m_textLibraries->SetValue(globalSettings->GetLibraries());
- m_textLibraryPath->SetValue(globalSettings->GetLibPath());
-
- m_textAddResCmpOptions->SetValue(globalSettings->GetResCompileOptions());
- m_textAddResCmpPath->SetValue(globalSettings->GetResCmpIncludePath());
-}
-
-void GlobalSettingsPanel::SaveValues()
-{
- ProjectSettingsPtr projSettingsPtr = ManagerST::Get()->GetProjectSettings(m_projectName);
- BuildConfigCommonPtr globalSettings = projSettingsPtr->GetGlobalSettings();
- if (!globalSettings) {
- return;
- }
-
- globalSettings->SetCompileOptions(m_textCompilerOptions->GetValue());
- globalSettings->SetIncludePath(m_textAdditionalSearchPath->GetValue());
- globalSettings->SetPreprocessor(m_textPreprocessor->GetValue());
-
- globalSettings->SetLibPath(m_textLibraryPath->GetValue());
- globalSettings->SetLibraries(m_textLibraries->GetValue());
- globalSettings->SetLinkOptions(m_textLinkerOptions->GetValue());
-
- globalSettings->SetResCmpIncludePath(m_textAddResCmpPath->GetValue());
- globalSettings->SetResCmpOptions(m_textAddResCmpOptions->GetValue());
-
- //save settings
- ManagerST::Get()->SetProjectGlobalSettings(m_projectName, globalSettings);
-}
-
-void GlobalSettingsPanel::OnButtonAddCompilerOptions(wxCommandEvent &event)
-{
- // This is not perfect : I just take the first compiler to find options
- BuildSettingsConfigCookie cookie;
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetFirstCompiler(cookie);
- if (PopupAddOptionCheckDlg(m_textCompilerOptions, _("Compiler options"), cmp->GetCompilerOptions())) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void GlobalSettingsPanel::OnAddSearchPath(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textAdditionalSearchPath)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void GlobalSettingsPanel::OnButtonAddPreprocessor(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textPreprocessor)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void GlobalSettingsPanel::OnAddLibrary(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textLibraries)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void GlobalSettingsPanel::OnAddLibraryPath(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textLibraryPath)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void GlobalSettingsPanel::OnButtonAddLinkerOptions(wxCommandEvent &event)
-{
- // This is not perfect : I just take the first compiler to find options
- BuildSettingsConfigCookie cookie;
- CompilerPtr cmp = BuildSettingsConfigST::Get()->GetFirstCompiler(cookie);
- if (PopupAddOptionCheckDlg(m_textLinkerOptions, _("Linker options"), cmp->GetLinkerOptions())) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void GlobalSettingsPanel::OnResourceCmpAddOption(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textAddResCmpOptions)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-void GlobalSettingsPanel::OnResourceCmpAddPath(wxCommandEvent &event)
-{
- if (PopupAddOptionDlg(m_textAddResCmpPath)) {
- SetSettingsModified();
- }
- event.Skip();
-}
-
-ProjectConfigurationPanel::~ProjectConfigurationPanel()
-{
- PluginManager::Get()->UnHookProjectSettingsTab(m_notebook, m_projectName, wxEmptyString /* all tabs */);
-}
-
-void ProjectConfigurationPanel::OnBrowsePreCmpHeader(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxString projectPath;
- ProjectPtr p = ManagerST::Get()->GetProject(m_projectName);
- if (p) {
- projectPath = p->GetFileName().GetPath();
- }
- wxString preCmpHeader = wxFileSelector(wxT("Select file:"), projectPath, wxT(""));
- if (preCmpHeader.IsEmpty() == false) {
- m_textCtrlPreCompiledHeader->SetValue( preCmpHeader );
- }
-}
-
-void ProjectConfigurationPanel::OnBrowseProgram(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxString program = wxFileSelector(wxT("Select Program to Run / Debug:"));
- if (program.IsEmpty() == false) {
- m_textCommand->SetValue( program );
- }
-}
diff --git a/LiteEditor/project_settings_dlg.h b/LiteEditor/project_settings_dlg.h
deleted file mode 100644
index 2d715974..00000000
--- a/LiteEditor/project_settings_dlg.h
+++ /dev/null
@@ -1,236 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : project_settings_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __project_settings_dlg__
-#define __project_settings_dlg__
-
-/**
-@file
-Subclass of ProjectSettingsBaseDlg, which is generated by wxFormBuilder.
-@todo Add your event handlers directly to this file.
-*/
-
-#include "project_settings_base_dlg.h"
-#include "project_settings.h"
-#include "compiler.h"
-
-/**
- * Implementing ProjectConfigurationBasePanel
- */
-class ProjectConfigurationPanel : public ProjectConfigurationBasePanel
-{
- wxString m_projectName;
- wxString m_configName;
- wxString m_oldConfigurationName;
- long m_selecteCustomTaregt;
-
-protected:
- void ConnectEvents();
- void DoUpdatePages(bool checked);
- void SetSettingsModified();
-
- /**
- * Clear the GUI controls values
- */
- void ClearValues();
-
- void DisableCompilerPage(bool disable);
- void DisableLinkerPage(bool disable);
- void DisableCustomBuildPage(bool disable);
- void DisableGeneralPage(bool disable);
- void DisableCustomMkSteps(bool disable);
-
- void OnEditCommand(wxCheckListBox* list);
- void OnUpCommand(wxCheckListBox* list);
- void OnDownCommand(wxCheckListBox* list);
- void OnNewCommand(wxCheckListBox* list);
- void OnDeleteCommand(wxCheckListBox* list);
-
- virtual void OnDebuggingRemoteTarget(wxCommandEvent &e);
- virtual void OnBrowseCommandWD(wxCommandEvent &e);
- virtual void OnBrowseIntermediateDir(wxCommandEvent &e);
- virtual void OnBrowseCustomBuildWD (wxCommandEvent &e);
- virtual void OnBrowsePreCmpHeader (wxCommandEvent &e);
- virtual void OnBrowseProgram (wxCommandEvent &e);
- /**
- * Custom target handling
- */
- virtual void OnNewTarget(wxCommandEvent &e);
- virtual void OnEditTarget(wxCommandEvent &e);
- virtual void OnDeleteTarget(wxCommandEvent &e);
- virtual void OnItemActivated(wxListEvent &e);
- virtual void OnItemSelected(wxListEvent &e);
- virtual void OnDeleteTargetUI(wxUpdateUIEvent &e);
- virtual void OnEditTargetUI(wxUpdateUIEvent &e);
- virtual void OnSelectDebuggerPath(wxCommandEvent &e);
-
- void DoEditItem(long item);
- void DoUpdateItem(long item, const wxString& target, const wxString& cmd);
- wxString GetTargetCommand(const wxString &target);
-public:
- /** Constructor */
- ProjectConfigurationPanel(wxWindow* parent, const wxString &configName, const wxString &projectName);
- virtual ~ProjectConfigurationPanel();
-
- void InitDialog(const wxString &configName, const wxString &oldConfig);
-
- /**
- * Copy values from the project settings configuration file to the
- * GUI controls
- * \param confName configuration name to copy
- */
- void CopyValues(const wxString &confName);
-
- /**
- * Save values from the GUI controls back to
- * project settings configuration file
- * \param confName configuration name to save
- */
- void SaveValues(const wxString &confName);
-
- virtual void OnCmdEvtVModified( wxCommandEvent& event ){
- SetSettingsModified();
- }
-
- virtual void OnCheckCompilerNeeded(wxCommandEvent &event);
- virtual void OnCheckLinkerNeeded(wxCommandEvent &event);
- virtual void OnAddSearchPath(wxCommandEvent &event);
- virtual void OnAddLibraryPath(wxCommandEvent &event);
- virtual void OnAddLibrary(wxCommandEvent &event);
- virtual void OnNewPreBuildCommand(wxCommandEvent & event) {
- OnNewCommand(m_checkListPreBuildCommands);
- event.Skip();
- }
- virtual void OnEditPreBuildCommand(wxCommandEvent &event) {
- OnEditCommand(m_checkListPreBuildCommands);
- event.Skip();
- }
- virtual void OnUpPreBuildCommand(wxCommandEvent &event) {
- OnUpCommand(m_checkListPreBuildCommands);
- event.Skip();
- }
- virtual void OnDownPreBuildCommand(wxCommandEvent &event) {
- OnDownCommand(m_checkListPreBuildCommands);
- event.Skip();
- }
- virtual void OnDeletePreBuildCommand(wxCommandEvent &event) {
- OnDeleteCommand(m_checkListPreBuildCommands);
- event.Skip();
- }
- virtual void OnNewPostBuildCommand(wxCommandEvent & event) {
- OnNewCommand(m_checkListPostBuildCommands);
- event.Skip();
- }
- virtual void OnEditPostBuildCommand(wxCommandEvent &event) {
- OnEditCommand(m_checkListPostBuildCommands);
- event.Skip();
- }
- virtual void OnUpPostBuildCommand(wxCommandEvent &event) {
- OnUpCommand(m_checkListPostBuildCommands);
- event.Skip();
- }
- virtual void OnDownPostBuildCommand(wxCommandEvent &event) {
- OnDownCommand(m_checkListPostBuildCommands);
- event.Skip();
- }
- virtual void OnDeletePostBuildCommand(wxCommandEvent &event) {
- OnDeleteCommand(m_checkListPostBuildCommands);
- event.Skip();
- }
- virtual void OnButtonAddPreprocessor(wxCommandEvent &event);
- virtual void OnButtonAddLinkerOptions(wxCommandEvent &event);
- virtual void OnButtonAddCompilerOptions(wxCommandEvent &event);
- virtual void OnCustomBuildEnabled(wxCommandEvent &event);
- virtual void OnResourceCmpNeeded(wxCommandEvent &e);
- virtual void OnResourceCmpAddPath(wxCommandEvent &e);
- virtual void OnResourceCmpAddOption(wxCommandEvent &e);
- virtual void OnChoiceMakefileTool(wxCommandEvent &e);
-};
-
-
-/**
- * Implementing GlobalSettingsBasePanel
- */
-class GlobalSettingsPanel : public GlobalSettingsBasePanel
-{
- wxString m_projectName;
-public:
- GlobalSettingsPanel(wxWindow* parent, const wxString &projectName);
- void SaveValues();
-
-protected:
- void SetSettingsModified();
- void ClearValues();
- void CopyValues();
-
- virtual void OnCmdEvtVModified( wxCommandEvent& event ){
- SetSettingsModified();
- }
-
- virtual void OnButtonAddCompilerOptions(wxCommandEvent &event);
- virtual void OnAddSearchPath(wxCommandEvent &event);
- virtual void OnButtonAddPreprocessor(wxCommandEvent &event);
-
- virtual void OnAddLibraryPath(wxCommandEvent &event);
- virtual void OnAddLibrary(wxCommandEvent &event);
- virtual void OnButtonAddLinkerOptions(wxCommandEvent &event);
-
- virtual void OnResourceCmpAddPath(wxCommandEvent &e);
- virtual void OnResourceCmpAddOption(wxCommandEvent &e);
-};
-
-
-
-/**
- * Implementing ProjectSettingsBaseDlg
- */
-class ProjectSettingsDlg : public ProjectSettingsBaseDlg
-{
- wxString m_projectName;
- wxString m_configName;
- wxString m_oldConfigurationName;
- long m_selecteCustomTarget;
-
- ProjectConfigurationPanel* m_configurationPanel;
- GlobalSettingsPanel* m_globalSettingsPanel;
-
-public:
- /** Constructor */
- ProjectSettingsDlg( wxWindow* parent, const wxString &configName, const wxString &projectName, const wxString &title );
- virtual ~ProjectSettingsDlg();
-
-protected:
- void ConnectEvents();
- void UpdateConfigurationTypeChoice(const wxString &itemToSelect);
-
- virtual void OnSettingsModified(wxCommandEvent &event);
-
- virtual void OnConfigurationTypeSelected(wxCommandEvent &event);
- virtual void OnButtonConfigurationManager(wxCommandEvent &event);
- virtual void OnButtonApply(wxCommandEvent &event);
- virtual void OnButtonOK(wxCommandEvent &event);
- virtual void OnButtonHelp(wxCommandEvent &e);
-};
-
-#endif // __project_settings_dlg__
diff --git a/LiteEditor/quickdebugbase.cpp b/LiteEditor/quickdebugbase.cpp
deleted file mode 100644
index 58b8a314..00000000
--- a/LiteEditor/quickdebugbase.cpp
+++ /dev/null
@@ -1,142 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : quickdebugbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "quickdebugbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-QuickDebugBase::QuickDebugBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 0, 3, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Select executable:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer1->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlExePath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_textCtrlExePath, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonBrowseExe = new wxButton( this, wxID_ANY, wxT("Browse"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_buttonBrowseExe, 0, wxALL, 5 );
-
- m_staticText5 = new wxStaticText( this, wxID_ANY, wxT("Working directory:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- fgSizer1->Add( m_staticText5, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrl5 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_textCtrl5, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonBrowseWD = new wxButton( this, wxID_ANY, wxT("Browse"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_buttonBrowseWD, 0, wxALL, 5 );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Program arguments:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- fgSizer1->Add( m_staticText4, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlArgs = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_textCtrlArgs, 0, wxALL|wxEXPAND, 5 );
-
- m_panel1 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- fgSizer1->Add( m_panel1, 1, wxEXPAND | wxALL, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Select debugger:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer1->Add( m_staticText3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxArrayString m_choiceDebuggersChoices;
- m_choiceDebuggers = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceDebuggersChoices, 0 );
- m_choiceDebuggers->SetSelection( 0 );
- fgSizer1->Add( m_choiceDebuggers, 0, wxALL|wxEXPAND, 5 );
-
- m_panel2 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- fgSizer1->Add( m_panel2, 1, wxEXPAND | wxALL, 5 );
-
- bSizer3->Add( fgSizer1, 0, wxEXPAND, 5 );
-
- m_staticText6 = new wxStaticText( this, wxID_ANY, wxT("Startup commands:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText6->Wrap( -1 );
- bSizer3->Add( m_staticText6, 0, wxALL, 5 );
-
- m_textCtrlCmds = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_PROCESS_TAB|wxTE_RICH2 );
- m_textCtrlCmds->SetMinSize( wxSize( -1,150 ) );
-
- bSizer3->Add( m_textCtrlCmds, 1, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonDebug = new wxButton( this, wxID_OK, wxT("Debug"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonDebug->SetDefault();
- bSizer2->Add( m_buttonDebug, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_buttonBrowseExe->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickDebugBase::OnButtonBrowseExe ), NULL, this );
- m_buttonBrowseWD->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickDebugBase::OnButtonBrowseWD ), NULL, this );
- m_buttonDebug->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickDebugBase::OnButtonDebug ), NULL, this );
- m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickDebugBase::OnButtonCancel ), NULL, this );
-}
-
-QuickDebugBase::~QuickDebugBase()
-{
- // Disconnect Events
- m_buttonBrowseExe->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickDebugBase::OnButtonBrowseExe ), NULL, this );
- m_buttonBrowseWD->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickDebugBase::OnButtonBrowseWD ), NULL, this );
- m_buttonDebug->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickDebugBase::OnButtonDebug ), NULL, this );
- m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickDebugBase::OnButtonCancel ), NULL, this );
-}
diff --git a/LiteEditor/quickdebugbase.h b/LiteEditor/quickdebugbase.h
deleted file mode 100644
index b0c74bf2..00000000
--- a/LiteEditor/quickdebugbase.h
+++ /dev/null
@@ -1,92 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : quickdebugbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __quickdebugbase__
-#define __quickdebugbase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/button.h>
-#include <wx/panel.h>
-#include <wx/choice.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class QuickDebugBase
-///////////////////////////////////////////////////////////////////////////////
-class QuickDebugBase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText2;
- wxTextCtrl* m_textCtrlExePath;
- wxButton* m_buttonBrowseExe;
- wxStaticText* m_staticText5;
- wxTextCtrl* m_textCtrl5;
- wxButton* m_buttonBrowseWD;
- wxStaticText* m_staticText4;
- wxTextCtrl* m_textCtrlArgs;
- wxPanel* m_panel1;
- wxStaticText* m_staticText3;
- wxChoice* m_choiceDebuggers;
- wxPanel* m_panel2;
- wxStaticText* m_staticText6;
- wxTextCtrl* m_textCtrlCmds;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonDebug;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnButtonBrowseExe( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonBrowseWD( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonDebug( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- QuickDebugBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Quick Debug"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 559,370 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~QuickDebugBase();
-
-};
-
-#endif //__quickdebugbase__
diff --git a/LiteEditor/quickdebugdlg.cpp b/LiteEditor/quickdebugdlg.cpp
deleted file mode 100644
index af0630ec..00000000
--- a/LiteEditor/quickdebugdlg.cpp
+++ /dev/null
@@ -1,143 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : quickdebugdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "windowattrmanager.h"
-#include "quickdebuginfo.h"
-#include <wx/tokenzr.h>
-#include "editor_config.h"
-#include <wx/filedlg.h>
-#include <wx/dirdlg.h>
-#include "debuggermanager.h"
-#include "quickdebugdlg.h"
-
-QuickDebugDlg::QuickDebugDlg( wxWindow* parent )
-:
-QuickDebugBase( parent )
-{
- Initialize();
- m_buttonDebug->SetFocus();
- GetSizer()->SetMinSize(550, wxNOT_FOUND);
- GetSizer()->Fit(this);
-
- WindowAttrManager::Load(this, wxT("QuickDebugDlgAttr"), NULL);
-}
-
-void QuickDebugDlg::Initialize()
-{
- QuickDebugInfo info;
- EditorConfigST::Get()->ReadObject(wxT("QuickDebugDlg"), &info);
-
- m_choiceDebuggers->Append(DebuggerMgr::Get().GetAvailableDebuggers());
- if(m_choiceDebuggers->GetCount()){
- m_choiceDebuggers->SetSelection(0);
- }
- if(m_choiceDebuggers->GetCount() > (unsigned int)info.GetSelectedDbg()){
- m_choiceDebuggers->SetSelection(info.GetSelectedDbg());
- }
-
- m_textCtrlExePath->SetValue(info.GetExePath());
- m_textCtrlArgs->SetValue(info.GetArguments());
-
- wxString startupCmds;
- for(size_t i=0; i<info.GetStartCmds().GetCount(); i++){
- startupCmds << info.GetStartCmds().Item(i) << wxT("\n");
- }
- m_textCtrlCmds->SetValue(startupCmds);
- m_textCtrl5->SetValue(info.GetWd());
-}
-
-void QuickDebugDlg::OnButtonBrowseExe( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- wxString path(GetExe());
- if(wxFileName::FileExists(path)){
- m_textCtrlExePath->SetValue(wxFileSelector(wxT("Select file:"), path.c_str()));
- }else{
- m_textCtrlExePath->SetValue(wxFileSelector(wxT("Select file:")));
- }
-}
-
-void QuickDebugDlg::OnButtonDebug( wxCommandEvent& event )
-{
- wxUnusedVar(event);
-
- // save values
- QuickDebugInfo info;
- info.SetSelectedDbg(m_choiceDebuggers->GetSelection());
- info.SetExePath(m_textCtrlExePath->GetValue());
- info.SetWd(m_textCtrl5->GetValue());
- info.SetStartCmds(GetStartupCmds());
- info.SetArguments(m_textCtrlArgs->GetValue());
- EditorConfigST::Get()->WriteObject(wxT("QuickDebugDlg"), &info);
-
- WindowAttrManager::Save(this, wxT("QuickDebugDlgAttr"), NULL);
- EndModal(wxID_OK);
-}
-
-void QuickDebugDlg::OnButtonCancel( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- WindowAttrManager::Save(this, wxT("QuickDebugDlgAttr"), NULL);
- EndModal(wxID_CANCEL);
-}
-
-wxString QuickDebugDlg::GetArguments()
-{
- return m_textCtrlArgs->GetValue();
-}
-
-wxString QuickDebugDlg::GetDebuggerName()
-{
- return m_choiceDebuggers->GetStringSelection();
-}
-
-wxString QuickDebugDlg::GetExe()
-{
- return m_textCtrlExePath->GetValue();
-}
-
-wxArrayString QuickDebugDlg::GetStartupCmds()
-{
- wxString cmds = m_textCtrlCmds->GetValue();
- cmds.Trim().Trim(false);
-
- return wxStringTokenize(cmds, wxT("\n\r"), wxTOKEN_STRTOK);
-}
-
-wxString QuickDebugDlg::GetWorkingDirectory()
-{
- return m_textCtrl5->GetValue();
-}
-
-void QuickDebugDlg::OnButtonBrowseWD(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- wxString path(GetWorkingDirectory());
- if(wxFileName::DirExists(path)){
- m_textCtrl5->SetValue(wxDirSelector(wxT("Select working directory:"), path));
- }else{
- m_textCtrl5->SetValue(wxDirSelector(wxT("Select working directory:")));
- }
-}
diff --git a/LiteEditor/quickdebugdlg.h b/LiteEditor/quickdebugdlg.h
deleted file mode 100644
index 0a643dd4..00000000
--- a/LiteEditor/quickdebugdlg.h
+++ /dev/null
@@ -1,56 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : quickdebugdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __quickdebugdlg__
-#define __quickdebugdlg__
-
-/**
-@file
-Subclass of QuickDebugBase, which is generated by wxFormBuilder.
-*/
-
-#include "quickdebugbase.h"
-
-/** Implementing QuickDebugBase */
-class QuickDebugDlg : public QuickDebugBase
-{
-protected:
- // Handlers for QuickDebugBase events.
- void OnButtonBrowseExe( wxCommandEvent& event );
- void OnButtonDebug( wxCommandEvent& event );
- void OnButtonCancel( wxCommandEvent& event );
- void OnButtonBrowseWD(wxCommandEvent &event);
- void Initialize();
-public:
- /** Constructor */
- QuickDebugDlg( wxWindow* parent );
- wxArrayString GetStartupCmds();
- wxString GetExe();
- wxString GetDebuggerName();
- wxString GetWorkingDirectory();
- wxString GetArguments();
-};
-
-#endif // __quickdebugdlg__
diff --git a/LiteEditor/quickfindbar.cpp b/LiteEditor/quickfindbar.cpp
deleted file mode 100644
index b6499b84..00000000
--- a/LiteEditor/quickfindbar.cpp
+++ /dev/null
@@ -1,349 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : quickfindbar.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include "editor_config.h"
-#include <wx/statline.h>
-#include "manager.h"
-#include <wx/textctrl.h>
-#include <wx/wxscintilla.h>
-#include "stringsearcher.h"
-#include "quickfindbar.h"
-
-QuickFindBar::QuickFindBar(wxWindow* parent, wxWindowID id)
- : QuickFindBarBase(parent, id)
- , m_sci(NULL)
- , m_flags(0)
-{
- Hide();
- m_closeButton->SetBitmapLabel(wxXmlResource::Get()->LoadBitmap(wxT("page_close16")));
- DoShowControls();
-
- GetSizer()->Fit(this);
- wxTheApp->Connect(wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(QuickFindBar::OnCopy), NULL, this);
- wxTheApp->Connect(wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(QuickFindBar::OnPaste), NULL, this);
- wxTheApp->Connect(wxID_SELECTALL, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(QuickFindBar::OnSelectAll), NULL, this);
-
- wxTheApp->Connect(wxID_COPY, wxEVT_UPDATE_UI, wxUpdateUIEventHandler(QuickFindBar::OnEditUI), NULL, this);
- wxTheApp->Connect(wxID_PASTE, wxEVT_UPDATE_UI, wxUpdateUIEventHandler(QuickFindBar::OnEditUI), NULL, this);
- wxTheApp->Connect(wxID_SELECTALL, wxEVT_UPDATE_UI, wxUpdateUIEventHandler(QuickFindBar::OnEditUI), NULL, this);
-}
-
-bool QuickFindBar::Show(bool show)
-{
- bool res = wxPanel::Show(show);
- if (res) {
- GetParent()->GetSizer()->Layout();
- }
-
- DoShowControls();
-
- if (!m_sci) {
- // nothing to do
- } else if (!show) {
- m_sci->SetFocus();
- } else {
- wxString findWhat = m_sci->GetSelectedText().BeforeFirst(wxT('\n'));
- if (!findWhat.IsEmpty()) {
- m_findWhat->SetValue(m_sci->GetSelectedText().BeforeFirst(wxT('\n')));
- }
- m_findWhat->SelectAll();
- m_findWhat->SetFocus();
- }
- return res;
-}
-
-void QuickFindBar::DoSearch(bool fwd, bool incr)
-{
- if (!m_sci || m_sci->GetLength() == 0 || m_findWhat->GetValue().IsEmpty())
- return;
-
- wxString find = m_findWhat->GetValue();
- wxString text = m_sci->GetText();
-
- int start = -1, stop = -1;
- m_sci->GetSelection(&start, &stop);
-
- int offset = !fwd || incr ? start : stop;
- int flags = m_flags | (fwd ? 0 : wxSD_SEARCH_BACKWARD);
- int pos = 0, len = 0;
-
- if (!StringFindReplacer::Search(text, offset, find, flags, pos, len)) {
- // wrap around and try again
- offset = fwd ? 0 : text.Len()-1;
- if (!StringFindReplacer::Search(text, offset, find, flags, pos, len)) {
- m_findWhat->SetBackgroundColour(wxT("PINK"));
- m_findWhat->Refresh();
- return;
- }
- }
- m_findWhat->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
- m_findWhat->Refresh();
- m_sci->SetSelection(pos, pos+len);
-}
-
-void QuickFindBar::OnHide(wxCommandEvent &e)
-{
- Show(false);
- e.Skip();
-}
-
-void QuickFindBar::OnNext(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- DoSearch(true, false);
-}
-
-void QuickFindBar::OnPrev(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- DoSearch(false, false);
-}
-
-void QuickFindBar::OnText(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- DoSearch(true, true);
-}
-
-void QuickFindBar::OnKeyDown(wxKeyEvent& e)
-{
- switch (e.GetKeyCode()) {
- case WXK_ESCAPE: {
- wxCommandEvent cmd(wxEVT_COMMAND_BUTTON_CLICKED, m_closeButton->GetId());
- cmd.SetEventObject(m_closeButton);
- m_closeButton->GetEventHandler()->AddPendingEvent(cmd);
- break;
- }
- default:
- e.Skip();
- }
-}
-
-void QuickFindBar::OnUpdateUI(wxUpdateUIEvent &e)
-{
- e.Enable(ManagerST::Get()->IsShutdownInProgress() == false && m_sci && m_sci->GetLength() > 0 && !m_findWhat->GetValue().IsEmpty());
-}
-
-void QuickFindBar::OnEnter(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- bool shift = wxGetKeyState(WXK_SHIFT);
- wxButton *btn = shift ? m_buttonFindPrevious : m_buttonFindNext;
- wxCommandEvent evt(wxEVT_COMMAND_BUTTON_CLICKED, btn->GetId());
- evt.SetEventObject(btn);
- btn->GetEventHandler()->AddPendingEvent(evt);
-}
-
-void QuickFindBar::OnCopy(wxCommandEvent& e)
-{
- wxTextCtrl *ctrl = GetFocusedControl();
- if ( !ctrl ) {
- e.Skip();
- return;
- }
-
- if (ctrl->CanCopy())
- ctrl->Copy();
-}
-
-void QuickFindBar::OnPaste(wxCommandEvent& e)
-{
- wxTextCtrl *ctrl = GetFocusedControl();
- if ( !ctrl ) {
- e.Skip();
- return;
- }
-
- if (ctrl->CanPaste())
- ctrl->Paste();
-}
-
-void QuickFindBar::OnSelectAll(wxCommandEvent& e)
-{
- wxTextCtrl *ctrl = GetFocusedControl();
- if ( !ctrl ) {
- e.Skip();
- } else {
- ctrl->SelectAll();
- }
-}
-
-void QuickFindBar::OnEditUI(wxUpdateUIEvent& e)
-{
- wxTextCtrl *ctrl = GetFocusedControl();
- if ( !ctrl ) {
- e.Skip();
- return;
- }
-
- switch (e.GetId()) {
- case wxID_SELECTALL:
- e.Enable(ctrl->GetValue().IsEmpty() == false);
- break;
- case wxID_COPY:
- e.Enable(ctrl->CanCopy());
- break;
- case wxID_PASTE:
- e.Enable(ctrl->CanPaste());
- break;
- default:
- e.Enable(false);
- break;
- }
-}
-
-void QuickFindBar::OnReplace(wxCommandEvent& e)
-{
- if (!m_sci)
- return;
-
- // if there is no selection, invoke search
- wxString selectionText = m_sci->GetSelectedText();
- wxString find = m_findWhat->GetValue();
- wxString replaceWith = m_replaceWith->GetValue();
-
- bool caseSearch = m_flags & wxSD_MATCHCASE;
- if ( !caseSearch ) {
- selectionText.MakeLower();
- find.MakeLower();
- }
-
- if (find.IsEmpty())
- return;
-
- // do we got a match?
- if (selectionText != find)
- DoSearch(true, true);
-
- else {
- m_sci->ReplaceSelection(replaceWith);
- // and search again
- DoSearch(true, true);
- }
-}
-
-void QuickFindBar::OnReplaceUI(wxUpdateUIEvent& e)
-{
- e.Enable( ManagerST::Get()->IsShutdownInProgress() == false &&
- m_sci &&
- !m_sci->GetReadOnly() &&
- m_sci->GetLength() > 0 &&
- !m_findWhat->GetValue().IsEmpty());
-}
-
-wxTextCtrl* QuickFindBar::GetFocusedControl()
-{
- wxWindow *win = wxWindow::FindFocus();
-
- if (win == m_findWhat)
- return m_findWhat;
-
- else if (win == m_replaceWith)
- return m_replaceWith;
-
- return NULL;
-}
-
-void QuickFindBar::OnReplaceEnter(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxCommandEvent evt(wxEVT_COMMAND_BUTTON_CLICKED, m_replaceButton->GetId());
- GetEventHandler()->AddPendingEvent(evt);
-}
-
-void QuickFindBar::ShowReplaceControls(bool show)
-{
- if ( show && !m_replaceWith->IsShown()) {
- m_replaceWith->Show();
- m_replaceButton->Show();
- m_replaceStaticText->Show();
- GetSizer()->Layout();
-
- } else if ( !show && m_replaceWith->IsShown()) {
- m_replaceWith->Show(false);
- m_replaceButton->Show(false);
- m_replaceStaticText->Show(false);
- GetSizer()->Layout();
-
- }
-}
-
-void QuickFindBar::SetEditor(wxScintilla* sci)
-{
- m_sci = sci;
- DoShowControls();
-}
-
-void QuickFindBar::OnCheckBoxCase(wxCommandEvent& event)
-{
- if (event.IsChecked())
- m_flags |= wxSD_MATCHCASE;
- else
- m_flags &= ~wxSD_MATCHCASE;
-}
-
-void QuickFindBar::OnCheckBoxRegex(wxCommandEvent& event)
-{
- if (event.IsChecked())
- m_flags |= wxSD_REGULAREXPRESSION;
- else
- m_flags &= ~wxSD_REGULAREXPRESSION;
-}
-
-void QuickFindBar::OnCheckBoxWord(wxCommandEvent& event)
-{
- if (event.IsChecked())
- m_flags |= wxSD_MATCHWHOLEWORD;
- else
- m_flags &= ~wxSD_MATCHWHOLEWORD;
-}
-
-int QuickFindBar::GetCloseButtonId()
-{
- return m_closeButton->GetId();
-}
-
-void QuickFindBar::OnToggleReplaceControls(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- long v(m_replaceButton->IsShown() ? 0 : 1);
- EditorConfigST::Get()->SaveLongValue(wxT("QuickFindBarShowReplace"), v);
- DoShowControls();
-}
-
-void QuickFindBar::DoShowControls()
-{
- long v(1);
- EditorConfigST::Get()->GetLongValue(wxT("QuickFindBarShowReplace"), v);
- bool canShowToggleReplaceButton = m_sci && !m_sci->GetReadOnly();
- bool showReplaceControls = canShowToggleReplaceButton && v;
-
- m_showReplaceButton->Show(canShowToggleReplaceButton);
- ShowReplaceControls(showReplaceControls);
- wxBitmap bmp = showReplaceControls ? wxXmlResource::Get()->LoadBitmap(wxT("expand")) : wxXmlResource::Get()->LoadBitmap(wxT("collapse"));
- m_showReplaceButton->SetBitmapLabel(bmp);
-
- GetParent()->GetSizer()->Layout();
-}
diff --git a/LiteEditor/quickfindbar.h b/LiteEditor/quickfindbar.h
deleted file mode 100644
index f19d2089..00000000
--- a/LiteEditor/quickfindbar.h
+++ /dev/null
@@ -1,76 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : quickfindbar.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __quickfindbar__
-#define __quickfindbar__
-
-#include <wx/panel.h>
-#include "quickfindbarbase.h"
-
-class wxScintilla;
-class QuickFindBar : public QuickFindBarBase
-{
- wxScintilla *m_sci;
- size_t m_flags;
-protected:
- void ShowReplaceControls(bool show = true);
- void DoSearch(bool fwd, bool incr);
- wxTextCtrl *GetFocusedControl();
- void DoShowControls();
-
- // General events
- void OnCopy (wxCommandEvent &e);
- void OnPaste (wxCommandEvent &e);
- void OnSelectAll (wxCommandEvent &e);
- void OnEditUI (wxUpdateUIEvent &e);
-
-
- // Control events
- void OnHide (wxCommandEvent &e);
- void OnNext (wxCommandEvent &e);
- void OnPrev (wxCommandEvent &e);
- void OnText (wxCommandEvent &e);
- void OnKeyDown (wxKeyEvent &e);
- void OnEnter (wxCommandEvent &e);
- void OnReplace (wxCommandEvent &e);
- void OnUpdateUI (wxUpdateUIEvent &e);
- void OnReplaceUI (wxUpdateUIEvent &e);
- void OnReplaceEnter (wxCommandEvent &e);
- void OnCheckBoxCase ( wxCommandEvent& event );
- void OnCheckBoxRegex( wxCommandEvent& event );
- void OnCheckBoxWord ( wxCommandEvent& event );
- void OnToggleReplaceControls( wxCommandEvent& event );
-
-public:
- QuickFindBar(wxWindow *parent, wxWindowID id = wxID_ANY);
- int GetCloseButtonId();
- bool Show(bool s = true);
-
- wxScintilla *GetEditor() {
- return m_sci;
- }
- void SetEditor(wxScintilla *sci) ;
-};
-
-#endif // __quickfindbar__
diff --git a/LiteEditor/quickfindbarbase.cpp b/LiteEditor/quickfindbarbase.cpp
deleted file mode 100644
index 37ef714a..00000000
--- a/LiteEditor/quickfindbarbase.cpp
+++ /dev/null
@@ -1,131 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "quickfindbarbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-QuickFindBarBase::QuickFindBarBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_closeButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( -1,-1 ), wxBU_AUTODRAW );
- m_closeButton->SetToolTip( _("Close Incremental Search Bar") );
-
- m_closeButton->SetToolTip( _("Close Incremental Search Bar") );
-
- mainSizer->Add( m_closeButton, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
-
- m_showReplaceButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( -1,-1 ), wxBU_AUTODRAW );
- m_showReplaceButton->SetToolTip( _("Toggle Replace Controls") );
-
- m_showReplaceButton->SetToolTip( _("Toggle Replace Controls") );
-
- mainSizer->Add( m_showReplaceButton, 0, wxALIGN_CENTER_VERTICAL, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_VERTICAL );
- mainSizer->Add( m_staticline2, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 4, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
-
- m_staticTextFind = new wxStaticText( this, wxID_ANY, _("Find:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextFind->Wrap( -1 );
- fgSizer1->Add( m_staticTextFind, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
-
- m_findWhat = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER|wxTE_RICH2 );
- m_findWhat->SetToolTip( _("Hit ENTER to search, or Shift + ENTER to search backward") );
-
- fgSizer1->Add( m_findWhat, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL, 5 );
-
- m_buttonFindNext = new wxButton( this, wxID_ANY, _("Next"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
- m_buttonFindNext->SetDefault();
- fgSizer1->Add( m_buttonFindNext, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL, 5 );
-
- m_buttonFindPrevious = new wxButton( this, wxID_ANY, _("Previous"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
- fgSizer1->Add( m_buttonFindPrevious, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_replaceStaticText = new wxStaticText( this, wxID_ANY, _("Replace with:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_replaceStaticText->Wrap( -1 );
- fgSizer1->Add( m_replaceStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
-
- m_replaceWith = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER|wxTE_RICH2 );
- fgSizer1->Add( m_replaceWith, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
- m_replaceButton = new wxButton( this, wxID_ANY, _("Replace"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
- fgSizer1->Add( m_replaceButton, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
-
- fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
-
- mainSizer->Add( fgSizer1, 1, 0, 0 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_VERTICAL );
- mainSizer->Add( m_staticline1, 0, wxLEFT|wxEXPAND, 5 );
-
- optionsSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_checkBoxCase = new wxCheckBox( this, wxID_ANY, _("Case"), wxDefaultPosition, wxDefaultSize, 0 );
- optionsSizer->Add( m_checkBoxCase, 0, wxRIGHT|wxLEFT, 5 );
-
- m_checkBoxWord = new wxCheckBox( this, wxID_ANY, _("Word"), wxDefaultPosition, wxDefaultSize, 0 );
- optionsSizer->Add( m_checkBoxWord, 0, wxRIGHT|wxLEFT, 5 );
-
- m_checkBoxRegex = new wxCheckBox( this, wxID_ANY, _("Regexp"), wxDefaultPosition, wxDefaultSize, 0 );
- optionsSizer->Add( m_checkBoxRegex, 0, wxRIGHT|wxLEFT, 5 );
-
- mainSizer->Add( optionsSizer, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 1 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- // Connect Events
- m_closeButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnHide ), NULL, this );
- m_showReplaceButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnToggleReplaceControls ), NULL, this );
- m_findWhat->Connect( wxEVT_KEY_DOWN, wxKeyEventHandler( QuickFindBarBase::OnKeyDown ), NULL, this );
- m_findWhat->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( QuickFindBarBase::OnText ), NULL, this );
- m_findWhat->Connect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( QuickFindBarBase::OnEnter ), NULL, this );
- m_buttonFindNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnNext ), NULL, this );
- m_buttonFindNext->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( QuickFindBarBase::OnUpdateUI ), NULL, this );
- m_buttonFindPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnPrev ), NULL, this );
- m_buttonFindPrevious->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( QuickFindBarBase::OnUpdateUI ), NULL, this );
- m_replaceWith->Connect( wxEVT_KEY_DOWN, wxKeyEventHandler( QuickFindBarBase::OnKeyDown ), NULL, this );
- m_replaceWith->Connect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( QuickFindBarBase::OnReplaceEnter ), NULL, this );
- m_replaceWith->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( QuickFindBarBase::OnReplaceUI ), NULL, this );
- m_replaceButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnReplace ), NULL, this );
- m_replaceButton->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( QuickFindBarBase::OnReplaceUI ), NULL, this );
- m_checkBoxCase->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnCheckBoxCase ), NULL, this );
- m_checkBoxWord->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnCheckBoxWord ), NULL, this );
- m_checkBoxRegex->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnCheckBoxRegex ), NULL, this );
-}
-
-QuickFindBarBase::~QuickFindBarBase()
-{
- // Disconnect Events
- m_closeButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnHide ), NULL, this );
- m_showReplaceButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnToggleReplaceControls ), NULL, this );
- m_findWhat->Disconnect( wxEVT_KEY_DOWN, wxKeyEventHandler( QuickFindBarBase::OnKeyDown ), NULL, this );
- m_findWhat->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( QuickFindBarBase::OnText ), NULL, this );
- m_findWhat->Disconnect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( QuickFindBarBase::OnEnter ), NULL, this );
- m_buttonFindNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnNext ), NULL, this );
- m_buttonFindNext->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( QuickFindBarBase::OnUpdateUI ), NULL, this );
- m_buttonFindPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnPrev ), NULL, this );
- m_buttonFindPrevious->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( QuickFindBarBase::OnUpdateUI ), NULL, this );
- m_replaceWith->Disconnect( wxEVT_KEY_DOWN, wxKeyEventHandler( QuickFindBarBase::OnKeyDown ), NULL, this );
- m_replaceWith->Disconnect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( QuickFindBarBase::OnReplaceEnter ), NULL, this );
- m_replaceWith->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( QuickFindBarBase::OnReplaceUI ), NULL, this );
- m_replaceButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnReplace ), NULL, this );
- m_replaceButton->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( QuickFindBarBase::OnReplaceUI ), NULL, this );
- m_checkBoxCase->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnCheckBoxCase ), NULL, this );
- m_checkBoxWord->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnCheckBoxWord ), NULL, this );
- m_checkBoxRegex->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( QuickFindBarBase::OnCheckBoxRegex ), NULL, this );
-}
diff --git a/LiteEditor/quickfindbarbase.fbp b/LiteEditor/quickfindbarbase.fbp
deleted file mode 100644
index 67bbddca..00000000
--- a/LiteEditor/quickfindbarbase.fbp
+++ /dev/null
@@ -1,910 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">quickfindbarbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">QuickFindBarBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Panel" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">QuickFindBarBase</property>
- <property name="pos"></property>
- <property name="size">-1,-1</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxBitmapButton" expanded="1">
- <property name="bg"></property>
- <property name="bitmap"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="disabled"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="focus"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="hover"></property>
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_closeButton</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selected"></property>
- <property name="size">-1,-1</property>
- <property name="style">wxBU_AUTODRAW</property>
- <property name="subclass"></property>
- <property name="tooltip">Close Incremental Search Bar</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnHide</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxBitmapButton" expanded="1">
- <property name="bg"></property>
- <property name="bitmap"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="disabled"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="focus"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="hover"></property>
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_showReplaceButton</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selected"></property>
- <property name="size">-1,-1</property>
- <property name="style">wxBU_AUTODRAW</property>
- <property name="subclass"></property>
- <property name="tooltip">Toggle Replace Controls</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnToggleReplaceControls</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxRIGHT|wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_VERTICAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">0</property>
- <property name="flag"></property>
- <property name="proportion">1</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">4</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer1</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_ALL</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Find:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticTextFind</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL</property>
- <property name="proportion">1</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_findWhat</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxTE_PROCESS_ENTER|wxTE_RICH2</property>
- <property name="subclass"></property>
- <property name="tooltip">Hit ENTER to search, or Shift + ENTER to search backward</property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown">OnKeyDown</event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText">OnText</event>
- <event name="OnTextEnter">OnEnter</event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Next</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonFindNext</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxBU_EXACTFIT</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnNext</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnUpdateUI</event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Previous</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonFindPrevious</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxBU_EXACTFIT</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnPrev</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnUpdateUI</event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Replace with:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_replaceStaticText</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
- <property name="proportion">1</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_replaceWith</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxTE_PROCESS_ENTER|wxTE_RICH2</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown">OnKeyDown</event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter">OnReplaceEnter</event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI">OnReplaceUI</event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Replace</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_replaceButton</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxBU_EXACTFIT</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnReplace</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnReplaceUI</event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="spacer" expanded="1">
- <property name="height">0</property>
- <property name="permission">protected</property>
- <property name="width">0</property>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxLEFT|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_VERTICAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">1</property>
- <property name="flag">wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">optionsSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">public</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxRIGHT|wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Case</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxCase</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox">OnCheckBoxCase</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxRIGHT|wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Word</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxWord</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox">OnCheckBoxWord</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxRIGHT|wxLEFT</property>
- <property name="proportion">0</property>
- <object class="wxCheckBox" expanded="1">
- <property name="bg"></property>
- <property name="checked">0</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Regexp</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkBoxRegex</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckBox">OnCheckBoxRegex</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/quickfindbarbase.h b/LiteEditor/quickfindbarbase.h
deleted file mode 100644
index bd1b96fb..00000000
--- a/LiteEditor/quickfindbarbase.h
+++ /dev/null
@@ -1,82 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __quickfindbarbase__
-#define __quickfindbarbase__
-
-#include <wx/intl.h>
-
-#include <wx/bitmap.h>
-#include <wx/image.h>
-#include <wx/icon.h>
-#include <wx/bmpbuttn.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/button.h>
-#include <wx/statline.h>
-#include <wx/stattext.h>
-#include <wx/textctrl.h>
-#include <wx/sizer.h>
-#include <wx/checkbox.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class QuickFindBarBase
-///////////////////////////////////////////////////////////////////////////////
-class QuickFindBarBase : public wxPanel
-{
- private:
-
- protected:
- wxBitmapButton* m_closeButton;
- wxBitmapButton* m_showReplaceButton;
- wxStaticLine* m_staticline2;
- wxStaticText* m_staticTextFind;
- wxTextCtrl* m_findWhat;
- wxButton* m_buttonFindNext;
- wxButton* m_buttonFindPrevious;
- wxStaticText* m_replaceStaticText;
- wxTextCtrl* m_replaceWith;
- wxButton* m_replaceButton;
-
- wxStaticLine* m_staticline1;
- wxCheckBox* m_checkBoxCase;
- wxCheckBox* m_checkBoxWord;
- wxCheckBox* m_checkBoxRegex;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnHide( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnToggleReplaceControls( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
- virtual void OnText( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnEnter( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnNext( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnPrev( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnReplaceEnter( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnReplaceUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnReplace( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnCheckBoxCase( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnCheckBoxWord( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnCheckBoxRegex( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
- wxBoxSizer* optionsSizer;
-
- QuickFindBarBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
- ~QuickFindBarBase();
-
-};
-
-#endif //__quickfindbarbase__
diff --git a/LiteEditor/quickoutlinedlg.cpp b/LiteEditor/quickoutlinedlg.cpp
deleted file mode 100644
index cdeb343d..00000000
--- a/LiteEditor/quickoutlinedlg.cpp
+++ /dev/null
@@ -1,127 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : quickoutlinedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Jul 28 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "quickoutlinedlg.h"
-#include "cl_editor.h"
-#include "cpp_symbol_tree.h"
-#include "macros.h"
-#include "manager.h"
-
-extern wxImageList* CreateSymbolTreeImages();
-
-///////////////////////////////////////////////////////////////////////////
-BEGIN_EVENT_TABLE(QuickOutlineDlg, wxDialog)
- EVT_CHAR_HOOK(QuickOutlineDlg::OnCharHook)
- EVT_TEXT(wxID_ANY, QuickOutlineDlg::OnTextEntered)
-END_EVENT_TABLE()
-
-QuickOutlineDlg::QuickOutlineDlg(wxWindow* parent, const wxString &fileName, int id, wxString title, wxPoint pos, wxSize size, int style )
- : wxDialog( parent, id, title, pos, size, style|wxRAISED_BORDER )
- , m_fileName(fileName)
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
- this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
- m_textFilter = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0|wxNO_BORDER );
- m_textFilter->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) );
- bSizer1->Add( m_textFilter, 0, wxALL|wxEXPAND, 5 );
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- m_staticline1->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) );
- bSizer1->Add( m_staticline1, 0, wxEXPAND|wxLEFT|wxRIGHT, 5 );
-
- //build the outline view
- m_treeOutline = new CppSymbolTree( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxNO_BORDER);
- m_treeOutline->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) );
- m_treeOutline->SetSymbolsImages(CreateSymbolTreeImages());
-
- Connect(wxEVT_CMD_CPP_SYMBOL_ITEM_SELECTED, wxCommandEventHandler(QuickOutlineDlg::OnItemSelected), NULL, this);
-
- //no hidden root
- m_treeOutline->BuildTree(m_fileName);
- m_treeOutline->ExpandAll();
-
- bSizer1->Add( m_treeOutline, 1, wxALL|wxEXPAND, 5 );
- this->SetSizer( bSizer1 );
- this->Layout();
- Centre();
- m_textFilter->SetFocus();
-}
-
-QuickOutlineDlg::~QuickOutlineDlg()
-{
-}
-
-void QuickOutlineDlg::OnCharHook(wxKeyEvent &e)
-{
- if (e.GetKeyCode() == WXK_ESCAPE) {
- EndModal(wxID_CANCEL);
-
- } else if (e.GetKeyCode() == WXK_NUMPAD_ENTER || e.GetKeyCode() == WXK_RETURN) {
- m_treeOutline->ActivateSelectedItem();
-
- } else if (e.GetKeyCode() == WXK_UP) {
- m_treeOutline->AdvanceSelection(false);
-
- } else if (e.GetKeyCode() == WXK_DOWN) {
- m_treeOutline->AdvanceSelection();
-
- } else {
- e.Skip();
- }
-}
-
-void QuickOutlineDlg::OnTextEntered(wxCommandEvent &WXUNUSED(e))
-{
- wxString curname = m_textFilter->GetValue();
- if (curname.IsEmpty() == false) {
- m_treeOutline->SelectItemByName(curname);
- }
-}
-
-void QuickOutlineDlg::OnItemSelected(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- Close();
-}
diff --git a/LiteEditor/quickoutlinedlg.h b/LiteEditor/quickoutlinedlg.h
deleted file mode 100644
index cdb7cf29..00000000
--- a/LiteEditor/quickoutlinedlg.h
+++ /dev/null
@@ -1,65 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : quickoutlinedlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Jul 28 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __quickoutlinedlg__
-#define __quickoutlinedlg__
-
-#include <wx/wx.h>
-
-#include <wx/statline.h>
-#include <wx/treectrl.h>
-#include "wx/timer.h"
-
-class CppSymbolTree;
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class QuickOutlineDlg
-///////////////////////////////////////////////////////////////////////////////
-class QuickOutlineDlg : public wxDialog
-{
- wxString m_fileName;
-
-protected:
- wxTextCtrl* m_textFilter;
- wxStaticLine* m_staticline1;
- CppSymbolTree* m_treeOutline;
-
- DECLARE_EVENT_TABLE()
- void OnCharHook(wxKeyEvent &e);
- void OnTextEntered(wxCommandEvent &e);
- void OnItemSelected(wxCommandEvent &e);
-
-public:
- QuickOutlineDlg( wxWindow* parent, const wxString &fileName, int id = wxID_ANY, wxString title = wxEmptyString, wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 371,386 ), int style = wxBORDER_SIMPLE);
- virtual ~QuickOutlineDlg();
-};
-
-#endif //__quickoutlinedlg__
diff --git a/LiteEditor/refactorindexbuildjob.cpp b/LiteEditor/refactorindexbuildjob.cpp
deleted file mode 100644
index 57898314..00000000
--- a/LiteEditor/refactorindexbuildjob.cpp
+++ /dev/null
@@ -1,93 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : refactorindexbuildjob.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/sizer.h>
-#include <wx/stopwatch.h>
-#include <wx/progdlg.h>
-#include "cppwordscanner.h"
-#include <wx/filename.h>
-#include "refactorindexbuildjob.h"
-#include "workspace.h"
-
-//#define POST_NEW_STATUS(msg, value, act)
-// status = new RefactorIndexBuildJobInfo;
-// status->filename = msg;
-// status->status = value;
-// status->action = act;
-// Post(status);
-
-RefactorIndexBuildJob::RefactorIndexBuildJob(const std::vector<wxFileName> &files, const wxChar *word)
- : m_files( files )
- , m_word(word)
-{
-}
-
-RefactorIndexBuildJob::~RefactorIndexBuildJob()
-{
-}
-
-void RefactorIndexBuildJob::Parse(const wxString &word, CppTokensMap &l)
-{
- wxProgressDialog* prgDlg = NULL;
- // Create a progress dialog
- prgDlg = new wxProgressDialog (wxT("Gathering required information..."), wxT("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"), (int)m_files.size(), NULL, wxPD_APP_MODAL | wxPD_SMOOTH | wxPD_AUTO_HIDE | wxPD_CAN_ABORT);
- prgDlg->GetSizer()->Fit(prgDlg);
- prgDlg->Layout();
- prgDlg->Centre();
-
- prgDlg->Update(0, wxT("Gathering required information..."));
-
-// wxStopWatch watch;
-// watch.Start();
-// wxPrintf(wxT("Scanned started...\n"));
- size_t i=0;
-
- for ( ; i<m_files.size(); i++) {
-
- wxFileName fn = m_files.at(i);
- CppWordScanner scanner(fn.GetFullPath());
-
- wxString msg;
- msg << wxT("Parsing: ") << fn.GetFullName();
- // update the progress bar
- if (!prgDlg->Update(i, msg)){
- prgDlg->Destroy();
- l.clear();
- return;
- }
-
- scanner.Match(word, l);
- }
-
-// long elapsed = watch.Time();
-// wxPrintf(wxT("Parsing completed.\n"));
-// wxPrintf(wxT("Time to collect symbols: %d milliseconds. Total files scanned: %d\n"), elapsed, m_files.size());
- prgDlg->Destroy();
-}
-
-void RefactorIndexBuildJob::Process(wxThread* thread)
-{
- CppTokensMap l;
- Parse(m_word.c_str(), l);
-}
diff --git a/LiteEditor/refactorindexbuildjob.h b/LiteEditor/refactorindexbuildjob.h
deleted file mode 100644
index 7c5ee238..00000000
--- a/LiteEditor/refactorindexbuildjob.h
+++ /dev/null
@@ -1,46 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : refactorindexbuildjob.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __refactorindexbuildjob__
-#define __refactorindexbuildjob__
-
-#include "cpptoken.h"
-#include <vector>
-#include <wx/filename.h>
-#include "job.h"
-
-class RefactorIndexBuildJob : public Job
-{
- std::vector<wxFileName> m_files;
- wxString m_word;
-
-public:
- RefactorIndexBuildJob(const std::vector<wxFileName> &files, const wxChar* word);
- virtual ~RefactorIndexBuildJob();
- void Process(wxThread *thread);
-
-public:
- void Parse(const wxString &word, CppTokensMap &l);
-};
-#endif // __refactorindexbuildjob__
diff --git a/LiteEditor/renamesymbolbase.cpp b/LiteEditor/renamesymbolbase.cpp
deleted file mode 100644
index 3cca286c..00000000
--- a/LiteEditor/renamesymbolbase.cpp
+++ /dev/null
@@ -1,106 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : renamesymbolbase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "renamesymbolbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-RenameSymbolBase::RenameSymbolBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText31 = new wxStaticText( this, wxID_ANY, wxT("New Symbol Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText31->Wrap( -1 );
- bSizer4->Add( m_staticText31, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textCtrlNewName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_textCtrlNewName, 1, wxALL, 5 );
-
- bSizer1->Add( bSizer4, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("The following matches will be replaced:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer2->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 );
-
- wxArrayString m_checkListCandidatesChoices;
- m_checkListCandidates = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListCandidatesChoices, 0 );
- bSizer2->Add( m_checkListCandidates, 1, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( bSizer2, 1, wxALL|wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Preview:") ), wxVERTICAL );
-
- m_preview = new LEditor(this);
- sbSizer1->Add( m_preview, 1, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( sbSizer1, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&Rename"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- bSizer3->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_checkListCandidates->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( RenameSymbolBase::OnItemSelected ), NULL, this );
- m_checkListCandidates->Connect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( RenameSymbolBase::OnItemDClicked ), NULL, this );
- m_checkListCandidates->Connect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( RenameSymbolBase::OnItemChecked ), NULL, this );
- m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( RenameSymbolBase::OnButtonOK ), NULL, this );
-}
-
-RenameSymbolBase::~RenameSymbolBase()
-{
- // Disconnect Events
- m_checkListCandidates->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( RenameSymbolBase::OnItemSelected ), NULL, this );
- m_checkListCandidates->Disconnect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( RenameSymbolBase::OnItemDClicked ), NULL, this );
- m_checkListCandidates->Disconnect( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, wxCommandEventHandler( RenameSymbolBase::OnItemChecked ), NULL, this );
- m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( RenameSymbolBase::OnButtonOK ), NULL, this );
-}
diff --git a/LiteEditor/renamesymbolbase.h b/LiteEditor/renamesymbolbase.h
deleted file mode 100644
index 5548f6ba..00000000
--- a/LiteEditor/renamesymbolbase.h
+++ /dev/null
@@ -1,82 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : renamesymbolbase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __renamesymbolbase__
-#define __renamesymbolbase__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/sizer.h>
-#include <wx/checklst.h>
-#include "cl_editor.h"
-#include <wx/statbox.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class RenameSymbolBase
-///////////////////////////////////////////////////////////////////////////////
-class RenameSymbolBase : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText31;
- wxTextCtrl* m_textCtrlNewName;
- wxStaticText* m_staticText1;
- wxCheckListBox* m_checkListCandidates;
- LEditor *m_preview;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemSelected( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnItemDClicked( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnItemChecked( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- RenameSymbolBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Rename Symbol"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 895,579 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~RenameSymbolBase();
-
-};
-
-#endif //__renamesymbolbase__
diff --git a/LiteEditor/renamesymboldlg.cpp b/LiteEditor/renamesymboldlg.cpp
deleted file mode 100644
index b10695ec..00000000
--- a/LiteEditor/renamesymboldlg.cpp
+++ /dev/null
@@ -1,115 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : renamesymboldlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "renamesymboldlg.h"
-#include "globals.h"
-
-RenameSymbol::RenameSymbol( wxWindow* parent, const std::list<CppToken>& candidates, const std::list<CppToken> &possCandidates, const wxString& oldname/* = wxT("")*/ )
- :
- RenameSymbolBase( parent )
-{
- m_preview->SetReadOnly(true);
-
- m_tokens.clear();
- std::list<CppToken>::const_iterator iter = candidates.begin();
- for (; iter != candidates.end(); iter++) {
- AddMatch(*iter, true);
- m_tokens.push_back(*iter);
- }
-
- iter = possCandidates.begin();
- for (; iter != possCandidates.end(); iter++) {
- AddMatch(*iter, false);
- m_tokens.push_back(*iter);
- }
-
- if (m_tokens.empty() == false) {
- DoSelectFile(m_tokens.at((size_t)0));
- }
-
- m_textCtrlNewName->SetValue(oldname);
- m_textCtrlNewName->SetFocus();
-}
-
-void RenameSymbol::OnItemSelected( wxCommandEvent& event )
-{
- int index = event.GetSelection();
- if ( index != wxNOT_FOUND ) {
- DoSelectFile(m_tokens.at((size_t)index));
- }
-}
-
-void RenameSymbol::OnItemDClicked( wxCommandEvent& event )
-{
- wxUnusedVar(event);
-}
-
-void RenameSymbol::OnItemChecked( wxCommandEvent& event )
-{
- event.Skip();
-}
-
-void RenameSymbol::AddMatch(const CppToken& token, bool check)
-{
- wxString msg;
- wxFileName fn(token.getFilename());
- msg << token.getLine() << wxT(": At ") << fn.GetFullName() << wxString::Format( wxT(" line %u"), token.getLineNo() );
-
- msg.Replace(wxT("\r\n"), wxT(" "));
- msg.Replace(wxT("\n"), wxT(" "));
- msg = msg.Trim().Trim(false);
-
- int index = m_checkListCandidates->Append(msg);//, new CppToken(token));
- m_checkListCandidates->Check((unsigned int)index, check);
- m_checkListCandidates->Select(0);
-}
-
-void RenameSymbol::OnButtonOK(wxCommandEvent& e)
-{
- wxUnusedVar(e);
-
- if(!IsValidCppIndetifier(m_textCtrlNewName->GetValue())){
- wxMessageBox(_("Invalid C/C++ symbol name"), wxT("CodeLite"), wxICON_WARNING|wxOK);
- return;
- }
-
- EndModal(wxID_OK);
-}
-
-void RenameSymbol::GetMatches(std::list<CppToken>& matches)
-{
- for (unsigned int i=0; i<m_checkListCandidates->GetCount(); i++) {
- if (m_checkListCandidates->IsChecked(i)) {
- matches.push_back(m_tokens.at(i));
- }
- }
-}
-void RenameSymbol::DoSelectFile(const CppToken& token)
-{
- m_preview->SetReadOnly(false);
- m_preview->Create(wxEmptyString, token.getFilename());
- m_preview->SetCaretAt(token.getOffset());
- m_preview->SetSelection(token.getOffset(), token.getOffset()+token.getName().Len());
- m_preview->SetReadOnly(true);
-}
diff --git a/LiteEditor/renamesymboldlg.h b/LiteEditor/renamesymboldlg.h
deleted file mode 100644
index 8b0c3674..00000000
--- a/LiteEditor/renamesymboldlg.h
+++ /dev/null
@@ -1,60 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : renamesymboldlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __renamesymboldlg__
-#define __renamesymboldlg__
-
-
-/**
-@file
-Subclass of RenameSymbolBase, which is generated by wxFormBuilder.
-*/
-
-#include "cpptoken.h"
-#include "renamesymbolbase.h"
-#include <list>
-#include <vector>
-
-/** Implementing RenameSymbolBase */
-class RenameSymbol : public RenameSymbolBase
-{
- std::vector<CppToken> m_tokens;
-
-protected:
- // Handlers for RenameSymbolBase events.
- void OnItemSelected( wxCommandEvent& event );
- void OnItemDClicked( wxCommandEvent& event );
- void OnItemChecked( wxCommandEvent& event );
- void OnButtonOK(wxCommandEvent &e);
- void AddMatch(const CppToken &token, bool check);
- void DoSelectFile(const CppToken &token);
-
-public:
- /** Constructor */
- RenameSymbol( wxWindow* parent, const std::list<CppToken>& candidates, const std::list<CppToken> &possCandidates, const wxString& oldname = wxT("") );
- void GetMatches(std::list<CppToken>& matches);
- wxString GetWord() const { return m_textCtrlNewName->GetValue(); }
-};
-
-#endif // __renamesymboldlg__
diff --git a/LiteEditor/replaceinfilespanel.cpp b/LiteEditor/replaceinfilespanel.cpp
deleted file mode 100644
index f4adbf20..00000000
--- a/LiteEditor/replaceinfilespanel.cpp
+++ /dev/null
@@ -1,395 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : replaceinfilespanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <vector>
-#include <wx/xrc/xmlres.h>
-#include <wx/progdlg.h>
-
-#include "globals.h"
-#include "frame.h"
-#include "cl_editor.h"
-#include "manager.h"
-#include "replaceinfilespanel.h"
-
-
-BEGIN_EVENT_TABLE(ReplaceInFilesPanel, FindResultsTab)
- EVT_BUTTON(XRCID("unmark_all"), ReplaceInFilesPanel::OnUnmarkAll)
- EVT_BUTTON(XRCID("mark_all"), ReplaceInFilesPanel::OnMarkAll)
- EVT_BUTTON(XRCID("replace"), ReplaceInFilesPanel::OnReplace)
-
- EVT_UPDATE_UI(XRCID("unmark_all"), ReplaceInFilesPanel::OnUnmarkAllUI)
- EVT_UPDATE_UI(XRCID("mark_all"), ReplaceInFilesPanel::OnMarkAllUI)
- EVT_UPDATE_UI(XRCID("replace"), ReplaceInFilesPanel::OnReplaceUI)
- EVT_UPDATE_UI(XRCID("replace_with_combo"), ReplaceInFilesPanel::OnReplaceWithComboUI)
- EVT_UPDATE_UI(XRCID("replace_with_label"), ReplaceInFilesPanel::OnReplaceWithComboUI)
-END_EVENT_TABLE()
-
-
-ReplaceInFilesPanel::ReplaceInFilesPanel(wxWindow* parent, int id, const wxString &name)
- : FindResultsTab(parent, id, name)
-{
-
- wxBoxSizer *horzSizer = new wxBoxSizer(wxHORIZONTAL);
-
- wxButton *unmark = new wxButton(this, XRCID("unmark_all"), wxT("&Unmark All"));
- horzSizer->Add(unmark, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
-
- wxButton *mark = new wxButton(this, XRCID("mark_all"), wxT("Mark &All"));
- horzSizer->Add(mark, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
-
- m_replaceWithText = new wxStaticText( this, XRCID("replace_with_label"), wxT("Replace With:"));
- horzSizer->Add(m_replaceWithText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5);
-
- m_replaceWith = new wxComboBox(this, XRCID("replace_with_combo"));
- horzSizer->Add(m_replaceWith, 2, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5);
-
- wxButton *repl = new wxButton(this, XRCID("replace"), wxT("&Replace Marked"));
- horzSizer->Add(repl, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
-
- m_progress = new wxGauge(this, wxID_ANY, 1);
- horzSizer->Add(m_progress, 1, wxALIGN_CENTER_VERTICAL|wxALL|wxGA_SMOOTH, 5);
-
- wxBoxSizer *vertSizer = new wxBoxSizer(wxVERTICAL);
- vertSizer->Add(horzSizer, 0, wxEXPAND|wxTOP|wxBOTTOM);
-
- // grab the base class scintilla and put our sizer in its place
- wxSizer *mainSizer = GetSizer();
- mainSizer->Detach(m_sci);
- vertSizer->Add(m_sci, 1, wxEXPAND | wxALL, 1);
-
- m_tb->RemoveTool ( XRCID ( "repeat_output" ) );
- m_tb->Realize();
-
- mainSizer->Add(vertSizer, 1, wxEXPAND | wxALL, 1);
- mainSizer->Layout();
-
- m_sci->SetMarginMask(4, 7<<0x7 | wxSCI_MASK_FOLDERS);
- DefineMarker(m_sci, 0x7, wxSCI_MARK_SMALLRECT, wxColor(0x00, 0x80, 0x00), wxColor(0x00, 0xc0, 0x00)); // user selection
- DefineMarker(m_sci, 0x8, wxSCI_MARK_CIRCLE, wxColor(0x80, 0x00, 0x00), wxColor(0xff, 0x00, 0x00)); // error occurred
- DefineMarker(m_sci, 0x9, wxSCI_MARK_EMPTY, wxColor(0x00, 0x00, 0x00), wxColor(0x00, 0x00, 0x00)); // replacement successful
-}
-
-void ReplaceInFilesPanel::OnSearchStart(wxCommandEvent &e)
-{
- SearchData *data = (SearchData*) e.GetClientData();
- wxString label = data ? data->GetFindString() : wxT("");
-
- FindResultsTab::OnSearchStart(e);
-
- // set the search string to be the 'replace with' string as well
- if(label.IsEmpty() == false) {
- m_replaceWith->SetValue(label);
- m_replaceWith->SetSelection(-1, -1);
- m_replaceWith->SetFocus();
- }
-}
-
-void ReplaceInFilesPanel::OnSearchMatch(wxCommandEvent &e)
-{
- FindResultsTab::OnSearchMatch(e);
- const MatchInfo& matchInfo = GetMatchInfo();
- if (matchInfo.size() != 1 || !m_replaceWith->GetValue().IsEmpty())
- return;
- m_replaceWith->SetValue(matchInfo.begin()->second.GetFindWhat());
- m_replaceWith->SetSelection(-1, -1);
- m_replaceWith->SetFocus();
-}
-
-void ReplaceInFilesPanel::OnSearchEnded(wxCommandEvent &e)
-{
- FindResultsTab::OnSearchEnded(e);
- OnMarkAll(e);
-}
-
-void ReplaceInFilesPanel::OnMarginClick(wxScintillaEvent& e)
-{
- int line = m_sci->LineFromPosition(e.GetPosition());
- const MatchInfo& matchInfo = GetMatchInfo();
- if (matchInfo.find(line) == matchInfo.end()) {
- FindResultsTab::OnMarginClick(e);
- } else if (m_sci->MarkerGet(line) & 7<<0x7) {
- m_sci->MarkerDelete(line, 0x7);
- } else {
- m_sci->MarkerAdd(line, 0x7);
- }
-}
-
-void ReplaceInFilesPanel::OnMarkAll(wxCommandEvent& e)
-{
- const MatchInfo& matchInfo = GetMatchInfo();
- for (MatchInfo::const_iterator i = matchInfo.begin(); i != matchInfo.end(); ++i) {
- if (m_sci->MarkerGet(i->first) & 7<<0x7)
- continue;
- m_sci->MarkerAdd(i->first, 0x7);
- }
-}
-
-void ReplaceInFilesPanel::OnMarkAllUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_sci->GetLength() > 0);
-}
-
-void ReplaceInFilesPanel::OnUnmarkAll(wxCommandEvent& e)
-{
- m_sci->MarkerDeleteAll(0x7);
-}
-
-void ReplaceInFilesPanel::OnUnmarkAllUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_sci->GetLength() > 0);
-}
-
-void ReplaceInFilesPanel::DoSaveResults(wxScintilla *sci,
- std::map<int,SearchResult>::iterator begin,
- std::map<int,SearchResult>::iterator end)
-{
- if (!sci || begin == end)
- return;
- bool ok = true;
- if (dynamic_cast<LEditor*>(sci) == NULL) {
- // it's a temp editor, check if we have any changes to save
- if (sci->GetModify() && !WriteFileWithBackup(begin->second.GetFileName(), sci->GetText(), false)) {
- wxMessageBox(_("Failed to save file:\n") + begin->second.GetFileName(), wxT("CodeLite - Replace"),
- wxICON_ERROR|wxOK);
- wxLogMessage(wxT("Replace: Failed to write file ") + begin->second.GetFileName());
- ok = false;
- }
- delete sci;
- }
- for (; begin != end; begin++) {
- if ((m_sci->MarkerGet(begin->first) & 7<<0x7) == 1<<0x7) {
- m_sci->MarkerAdd(begin->first, ok ? 0x9 : 0x8);
- }
- }
-}
-
-wxScintilla *ReplaceInFilesPanel::DoGetEditor(const wxString &fileName)
-{
- // look for open editor first
- wxScintilla *sci = Frame::Get()->GetMainBook()->FindEditor(fileName);
- if (sci) {
- // FIXME: if editor is already modified, the found locations may not be accurate
- return sci;
- }
-
- // not open for editing, so make our own temp editor
- wxString content;
- if (!ReadFileWithConversion(fileName, content)) {
- wxMessageBox(_("Failed to open file:\n") + fileName, wxT("CodeLite - Replace"), wxICON_ERROR|wxOK);
- wxLogMessage(wxT("Replace: Failed to read file ") + fileName);
- return NULL;
- }
-
- sci = new wxScintilla(this);
- sci->Hide();
- sci->SetText(content);
- return sci;
-}
-
-void ReplaceInFilesPanel::OnReplace(wxCommandEvent& e)
-{
- // FIX bug#2770561
- int lineNumber(0);
- LEditor *activeEditor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if( activeEditor ) {
- lineNumber = activeEditor->GetCurrentLine();
- }
-
- if (m_replaceWith->FindString(m_replaceWith->GetValue(), true) == wxNOT_FOUND) {
- m_replaceWith->Append(m_replaceWith->GetValue());
- }
-
- // Step 1: apply selected replacements
-
- wxScintilla *sci = NULL; // file that is being altered by replacements
-
- wxString lastFile; // track offsets of pending substitutions caused by previous substitutions
- long lastLine = 0;
- long delta = 0;
-
- // remembers first entry in the file being updated
- MatchInfo& matchInfo = GetMatchInfo();
- MatchInfo::iterator firstInFile = matchInfo.begin();
-
- m_progress->SetRange(matchInfo.size());
- for (MatchInfo::iterator i = firstInFile; i != matchInfo.end(); i++) {
- m_progress->SetValue(m_progress->GetValue()+1);
- m_progress->Update();
-
- if (i->second.GetFileName() != lastFile) {
- // about to start a different file, save current results
- DoSaveResults(sci, firstInFile, i);
- firstInFile = i;
- lastFile = i->second.GetFileName();
- lastLine = 0;
- sci = NULL;
- }
-
- if (i->second.GetLineNumber() == lastLine) {
- // prior substitutions affected the location of this one
- i->second.SetColumn(i->second.GetColumn()+delta);
- } else {
- delta = 0;
- }
- if ((m_sci->MarkerGet(i->first) & 1<<0x7) == 0)
- // not selected for application
- continue;
-
- // extract originally matched text for safety check later
- wxString text = i->second.GetPattern().Mid(i->second.GetColumn()-delta, i->second.GetLen());
- if (text == m_replaceWith->GetValue())
- continue; // no change needed
-
- // need an editor for this file (try only once per file though)
- if (!sci && lastLine == 0) {
- sci = DoGetEditor(i->second.GetFileName());
- lastLine = i->second.GetLineNumber();
- }
- if (!sci) {
- // couldn't open file
- m_sci->MarkerAdd(i->first, 0x8);
- continue;
- }
-
- long pos = sci->PositionFromLine(i->second.GetLineNumber()-1);
- if (pos < 0) {
- // invalid line number
- m_sci->MarkerAdd(i->first, 0x8);
- continue;
- }
- pos += i->second.GetColumn();
-
- sci->SetSelection(pos, pos + i->second.GetLen());
- if (sci->GetSelectedText() != text) {
- // couldn't locate the original match (file may have been modified)
- m_sci->MarkerAdd(i->first, 0x8);
- continue;
- }
- sci->ReplaceSelection(m_replaceWith->GetValue());
-
- delta += m_replaceWith->GetValue().Length() - i->second.GetLen();
- lastLine = i->second.GetLineNumber();
-
- i->second.SetPattern(m_sci->GetLine(i->first)); // includes prior updates to same line
- i->second.SetLen(m_replaceWith->GetValue().Length());
- }
- m_progress->SetValue(0);
- DoSaveResults(sci, firstInFile, matchInfo.end());
-
- // Step 2: Update the Replace pane
-
- std::set<wxString> updatedEditors;
- delta = 0; // offset from old line number to new
- lastLine = 1; // points to the filename line
- lastFile.Clear();
- m_sci->MarkerDeleteAll(0x7);
- m_sci->SetReadOnly(false);
-
- std::vector<int> itemsToRemove;
- for (MatchInfo::iterator i = matchInfo.begin();i != matchInfo.end(); i++) {
- int line = i->first + delta;
- if (i->second.GetFileName() != lastFile) {
- if (lastLine == line-2) {
- // previous file's replacements are all done, so remove its filename line
- m_sci->SetCurrentPos(m_sci->PositionFromLine(lastLine));
- m_sci->LineDelete();
- delta--;
- line--;
- } else {
- lastLine = line-1;
- }
- lastFile = i->second.GetFileName();
- }
-
- if (m_sci->MarkerGet(line) & 1<<0x9) {
- LEditor *editor = Frame::Get()->GetMainBook()->FindEditor(lastFile);
- if (editor && editor->GetModify()) {
- updatedEditors.insert(lastFile);
- }
- // replacement done, remove from map
- m_sci->MarkerDelete(line, 0x9);
- m_sci->SetCurrentPos(m_sci->PositionFromLine(line));
- m_sci->LineDelete();
- itemsToRemove.push_back(i->first);
- delta--;
- } else if (line != i->first) {
- // need to adjust line number
- matchInfo[line] = i->second;
- itemsToRemove.push_back(i->first);
- }
- }
-
- // update the match info map
- for(std::vector<int>::size_type i=0; i<itemsToRemove.size(); i++){
- MatchInfo::iterator iter = matchInfo.find(itemsToRemove.at(i));
- if (iter != matchInfo.end()){
- matchInfo.erase(iter);
- }
- }
-
- m_sci->SetReadOnly(true);
- m_sci->GotoLine(0);
- if (matchInfo.empty()) {
- Clear();
- }
-
- // Step 3: Notify user of changes to already opened files, ask to save
-
- std::vector<std::pair<wxFileName, bool> > filesToSave;
- for (std::set<wxString>::iterator i = updatedEditors.begin(); i != updatedEditors.end(); i++) {
- filesToSave.push_back(std::make_pair(wxFileName(*i), true));
- }
- if (!filesToSave.empty() &&
- Frame::Get()->GetMainBook()->UserSelectFiles(filesToSave, wxT("Save Modified Files"),
- wxT("Some files are modified.\nChoose the files you would like to save."), true)) {
- for (size_t i = 0; i < filesToSave.size(); i++) {
- if (filesToSave[i].second) {
- LEditor *editor = Frame::Get()->GetMainBook()->FindEditor(filesToSave[i].first.GetFullPath());
- if (editor) {
- editor->SaveFile();
- }
- }
- }
- }
-
- // FIX bug#2770561
- if(activeEditor) {
-
- Frame::Get()->GetMainBook()->SelectPage(activeEditor);
-
- // restore the line
- activeEditor->GotoLine( lineNumber );
-
- }
-}
-
-void ReplaceInFilesPanel::OnReplaceUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_sci->GetLength() > 0);
-}
-
-void ReplaceInFilesPanel::OnReplaceWithComboUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_sci->GetLength() > 0);
-}
diff --git a/LiteEditor/replaceinfilespanel.h b/LiteEditor/replaceinfilespanel.h
deleted file mode 100644
index c0c6bdbe..00000000
--- a/LiteEditor/replaceinfilespanel.h
+++ /dev/null
@@ -1,63 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : replaceinfilespanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __replaceinfilespanel__
-#define __replaceinfilespanel__
-
-#include "findresultstab.h"
-
-
-class ReplaceInFilesPanel : public FindResultsTab
-{
- wxComboBox *m_replaceWith;
- wxGauge *m_progress;
- wxStaticText *m_replaceWithText;
-
- void DoSaveResults(wxScintilla *sci, std::map<int,SearchResult>::iterator begin,
- std::map<int,SearchResult>::iterator end);
-
- wxScintilla *DoGetEditor(const wxString &fileName);
-
- // Event handlers
- virtual void OnSearchStart(wxCommandEvent &e);
- virtual void OnSearchMatch(wxCommandEvent &e);
- virtual void OnSearchEnded(wxCommandEvent &e);
- virtual void OnMarginClick(wxScintillaEvent &e);
-
- virtual void OnMarkAll (wxCommandEvent &e);
- virtual void OnUnmarkAll (wxCommandEvent &e);
- virtual void OnReplace (wxCommandEvent &e);
-
- virtual void OnMarkAllUI (wxUpdateUIEvent &e);
- virtual void OnUnmarkAllUI (wxUpdateUIEvent &e);
- virtual void OnReplaceUI (wxUpdateUIEvent &e);
- virtual void OnReplaceWithComboUI (wxUpdateUIEvent &e);
-
- DECLARE_EVENT_TABLE()
-
-public:
- ReplaceInFilesPanel(wxWindow* parent, wxWindowID id, const wxString &name);
-};
-
-#endif // __replaceinfilespanel__
diff --git a/LiteEditor/res/16/arrow_right_green16.png b/LiteEditor/res/16/arrow_right_green16.png
deleted file mode 100644
index 11cc87a4..00000000
--- a/LiteEditor/res/16/arrow_right_green16.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/bookmark.png b/LiteEditor/res/16/bookmark.png
deleted file mode 100644
index 9f64eeba..00000000
--- a/LiteEditor/res/16/bookmark.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/class24.png b/LiteEditor/res/16/class24.png
deleted file mode 100644
index ee605c0a..00000000
--- a/LiteEditor/res/16/class24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/compfile.png b/LiteEditor/res/16/compfile.png
deleted file mode 100644
index 6eaabb95..00000000
--- a/LiteEditor/res/16/compfile.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/copy.png b/LiteEditor/res/16/copy.png
deleted file mode 100644
index a3c39f84..00000000
--- a/LiteEditor/res/16/copy.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/cut.png b/LiteEditor/res/16/cut.png
deleted file mode 100644
index f4a55e3d..00000000
--- a/LiteEditor/res/16/cut.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/debugger_next.png b/LiteEditor/res/16/debugger_next.png
deleted file mode 100644
index 978fc49a..00000000
--- a/LiteEditor/res/16/debugger_next.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/debugger_pause.png b/LiteEditor/res/16/debugger_pause.png
deleted file mode 100644
index b61fb875..00000000
--- a/LiteEditor/res/16/debugger_pause.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/debugger_restart.png b/LiteEditor/res/16/debugger_restart.png
deleted file mode 100644
index 6de44251..00000000
--- a/LiteEditor/res/16/debugger_restart.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/debugger_start.png b/LiteEditor/res/16/debugger_start.png
deleted file mode 100644
index a3ef5ef9..00000000
--- a/LiteEditor/res/16/debugger_start.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/debugger_stepin.png b/LiteEditor/res/16/debugger_stepin.png
deleted file mode 100644
index 3b57679b..00000000
--- a/LiteEditor/res/16/debugger_stepin.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/debugger_stepout.png b/LiteEditor/res/16/debugger_stepout.png
deleted file mode 100644
index 17c8e3e6..00000000
--- a/LiteEditor/res/16/debugger_stepout.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/debugger_stop.png b/LiteEditor/res/16/debugger_stop.png
deleted file mode 100644
index 98cf690a..00000000
--- a/LiteEditor/res/16/debugger_stop.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/emptytrash.png b/LiteEditor/res/16/emptytrash.png
deleted file mode 100644
index 1b126da5..00000000
--- a/LiteEditor/res/16/emptytrash.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/external_tools16.png b/LiteEditor/res/16/external_tools16.png
deleted file mode 100644
index a5bfdbb4..00000000
--- a/LiteEditor/res/16/external_tools16.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/fileclose.png b/LiteEditor/res/16/fileclose.png
deleted file mode 100644
index 06c1cf41..00000000
--- a/LiteEditor/res/16/fileclose.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/filenew.png b/LiteEditor/res/16/filenew.png
deleted file mode 100644
index ba2c9a68..00000000
--- a/LiteEditor/res/16/filenew.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/find.png b/LiteEditor/res/16/find.png
deleted file mode 100644
index ad916d13..00000000
--- a/LiteEditor/res/16/find.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/folder24.png b/LiteEditor/res/16/folder24.png
deleted file mode 100644
index 168e6cef..00000000
--- a/LiteEditor/res/16/folder24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/formatter.png b/LiteEditor/res/16/formatter.png
deleted file mode 100644
index 22d664eb..00000000
--- a/LiteEditor/res/16/formatter.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/formatter_settings.png b/LiteEditor/res/16/formatter_settings.png
deleted file mode 100644
index b44542f9..00000000
--- a/LiteEditor/res/16/formatter_settings.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/func_called24.png b/LiteEditor/res/16/func_called24.png
deleted file mode 100644
index 15ce7bed..00000000
--- a/LiteEditor/res/16/func_called24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/func_calling24.png b/LiteEditor/res/16/func_calling24.png
deleted file mode 100644
index 322bdf5d..00000000
--- a/LiteEditor/res/16/func_calling24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/func_find24.png b/LiteEditor/res/16/func_find24.png
deleted file mode 100644
index efb1e87a..00000000
--- a/LiteEditor/res/16/func_find24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/func_public_find.png b/LiteEditor/res/16/func_public_find.png
deleted file mode 100644
index 170805fa..00000000
--- a/LiteEditor/res/16/func_public_find.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/gear16.png b/LiteEditor/res/16/gear16.png
deleted file mode 100644
index 8e146b46..00000000
--- a/LiteEditor/res/16/gear16.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/gear_run.png b/LiteEditor/res/16/gear_run.png
deleted file mode 100644
index 52ba51f5..00000000
--- a/LiteEditor/res/16/gear_run.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/gear_stop.png b/LiteEditor/res/16/gear_stop.png
deleted file mode 100644
index 62489c45..00000000
--- a/LiteEditor/res/16/gear_stop.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/highlight.png b/LiteEditor/res/16/highlight.png
deleted file mode 100644
index 3109f998..00000000
--- a/LiteEditor/res/16/highlight.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/next.png b/LiteEditor/res/16/next.png
deleted file mode 100644
index a04c99e2..00000000
--- a/LiteEditor/res/16/next.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/open_resource.png b/LiteEditor/res/16/open_resource.png
deleted file mode 100644
index c2d8efa7..00000000
--- a/LiteEditor/res/16/open_resource.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/open_type.png b/LiteEditor/res/16/open_type.png
deleted file mode 100644
index 4253f61b..00000000
--- a/LiteEditor/res/16/open_type.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/page_save.png b/LiteEditor/res/16/page_save.png
deleted file mode 100644
index a0280eb0..00000000
--- a/LiteEditor/res/16/page_save.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/paste.png b/LiteEditor/res/16/paste.png
deleted file mode 100644
index d763268f..00000000
--- a/LiteEditor/res/16/paste.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/plugin24.png b/LiteEditor/res/16/plugin24.png
deleted file mode 100644
index a6330071..00000000
--- a/LiteEditor/res/16/plugin24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/previous.png b/LiteEditor/res/16/previous.png
deleted file mode 100644
index 940797b8..00000000
--- a/LiteEditor/res/16/previous.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/process_stop.png b/LiteEditor/res/16/process_stop.png
deleted file mode 100644
index 5b4c488b..00000000
--- a/LiteEditor/res/16/process_stop.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/quickfinder.png b/LiteEditor/res/16/quickfinder.png
deleted file mode 100644
index a7959313..00000000
--- a/LiteEditor/res/16/quickfinder.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/redo.png b/LiteEditor/res/16/redo.png
deleted file mode 100644
index d3414ed3..00000000
--- a/LiteEditor/res/16/redo.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/ref_analyzer24.png b/LiteEditor/res/16/ref_analyzer24.png
deleted file mode 100644
index 324ac0c6..00000000
--- a/LiteEditor/res/16/ref_analyzer24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/ref_anaylzer_settings24.png b/LiteEditor/res/16/ref_anaylzer_settings24.png
deleted file mode 100644
index 6ef89bcc..00000000
--- a/LiteEditor/res/16/ref_anaylzer_settings24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/refresh.png b/LiteEditor/res/16/refresh.png
deleted file mode 100644
index 00d75f74..00000000
--- a/LiteEditor/res/16/refresh.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/revert.png b/LiteEditor/res/16/revert.png
deleted file mode 100644
index b2687f87..00000000
--- a/LiteEditor/res/16/revert.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/run_unit_test.png b/LiteEditor/res/16/run_unit_test.png
deleted file mode 100644
index 368f5693..00000000
--- a/LiteEditor/res/16/run_unit_test.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/save_all.png b/LiteEditor/res/16/save_all.png
deleted file mode 100644
index 9045f970..00000000
--- a/LiteEditor/res/16/save_all.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/save_as.png b/LiteEditor/res/16/save_as.png
deleted file mode 100644
index cac82e0f..00000000
--- a/LiteEditor/res/16/save_as.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/search.png b/LiteEditor/res/16/search.png
deleted file mode 100644
index deed6a8f..00000000
--- a/LiteEditor/res/16/search.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/text_tree.png b/LiteEditor/res/16/text_tree.png
deleted file mode 100644
index 488fde6d..00000000
--- a/LiteEditor/res/16/text_tree.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/undo.png b/LiteEditor/res/16/undo.png
deleted file mode 100644
index 4cdc4b94..00000000
--- a/LiteEditor/res/16/undo.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/16/wx24.png b/LiteEditor/res/16/wx24.png
deleted file mode 100644
index e07faeb7..00000000
--- a/LiteEditor/res/16/wx24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/arrow_green_right24.png b/LiteEditor/res/24/arrow_green_right24.png
deleted file mode 100644
index d40a13b4..00000000
--- a/LiteEditor/res/24/arrow_green_right24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/bookmark.png b/LiteEditor/res/24/bookmark.png
deleted file mode 100644
index 3c9cda79..00000000
--- a/LiteEditor/res/24/bookmark.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/class24.png b/LiteEditor/res/24/class24.png
deleted file mode 100644
index 989009b1..00000000
--- a/LiteEditor/res/24/class24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/compfile.png b/LiteEditor/res/24/compfile.png
deleted file mode 100644
index dbaf1331..00000000
--- a/LiteEditor/res/24/compfile.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/copy.png b/LiteEditor/res/24/copy.png
deleted file mode 100644
index 03ec4274..00000000
--- a/LiteEditor/res/24/copy.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/cut.png b/LiteEditor/res/24/cut.png
deleted file mode 100644
index 472b4884..00000000
--- a/LiteEditor/res/24/cut.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/debugger_next.png b/LiteEditor/res/24/debugger_next.png
deleted file mode 100644
index 9d1abaf8..00000000
--- a/LiteEditor/res/24/debugger_next.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/debugger_pause.png b/LiteEditor/res/24/debugger_pause.png
deleted file mode 100644
index 709f26e7..00000000
--- a/LiteEditor/res/24/debugger_pause.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/debugger_restart.png b/LiteEditor/res/24/debugger_restart.png
deleted file mode 100644
index 1b0cfe2e..00000000
--- a/LiteEditor/res/24/debugger_restart.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/debugger_start.png b/LiteEditor/res/24/debugger_start.png
deleted file mode 100644
index d354f7fd..00000000
--- a/LiteEditor/res/24/debugger_start.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/debugger_stepin.png b/LiteEditor/res/24/debugger_stepin.png
deleted file mode 100644
index f7627614..00000000
--- a/LiteEditor/res/24/debugger_stepin.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/debugger_stepout.png b/LiteEditor/res/24/debugger_stepout.png
deleted file mode 100644
index b2af26e0..00000000
--- a/LiteEditor/res/24/debugger_stepout.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/debugger_stop.png b/LiteEditor/res/24/debugger_stop.png
deleted file mode 100644
index 1d74a788..00000000
--- a/LiteEditor/res/24/debugger_stop.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/emptytrash.png b/LiteEditor/res/24/emptytrash.png
deleted file mode 100644
index 376bffcd..00000000
--- a/LiteEditor/res/24/emptytrash.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/external_tools24.png b/LiteEditor/res/24/external_tools24.png
deleted file mode 100644
index 62b1aece..00000000
--- a/LiteEditor/res/24/external_tools24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/fileclose.png b/LiteEditor/res/24/fileclose.png
deleted file mode 100644
index 3485118e..00000000
--- a/LiteEditor/res/24/fileclose.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/filenew.png b/LiteEditor/res/24/filenew.png
deleted file mode 100644
index 6c7f512f..00000000
--- a/LiteEditor/res/24/filenew.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/find.png b/LiteEditor/res/24/find.png
deleted file mode 100644
index 1b7a2528..00000000
--- a/LiteEditor/res/24/find.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/folder24.png b/LiteEditor/res/24/folder24.png
deleted file mode 100644
index f9e29b36..00000000
--- a/LiteEditor/res/24/folder24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/formatter.png b/LiteEditor/res/24/formatter.png
deleted file mode 100644
index 68482444..00000000
--- a/LiteEditor/res/24/formatter.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/formatter_settings.png b/LiteEditor/res/24/formatter_settings.png
deleted file mode 100644
index ce9e862f..00000000
--- a/LiteEditor/res/24/formatter_settings.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/func_called24.png b/LiteEditor/res/24/func_called24.png
deleted file mode 100644
index 75f20cc7..00000000
--- a/LiteEditor/res/24/func_called24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/func_calling24.png b/LiteEditor/res/24/func_calling24.png
deleted file mode 100644
index 14fb3ef4..00000000
--- a/LiteEditor/res/24/func_calling24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/func_find24.png b/LiteEditor/res/24/func_find24.png
deleted file mode 100644
index 5859d35d..00000000
--- a/LiteEditor/res/24/func_find24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/gear24.png b/LiteEditor/res/24/gear24.png
deleted file mode 100644
index cedcf7f0..00000000
--- a/LiteEditor/res/24/gear24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/gear_run.png b/LiteEditor/res/24/gear_run.png
deleted file mode 100644
index c2ac626f..00000000
--- a/LiteEditor/res/24/gear_run.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/gear_stop.png b/LiteEditor/res/24/gear_stop.png
deleted file mode 100644
index c73b3fda..00000000
--- a/LiteEditor/res/24/gear_stop.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/highlight.png b/LiteEditor/res/24/highlight.png
deleted file mode 100644
index 38835c3b..00000000
--- a/LiteEditor/res/24/highlight.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/next.png b/LiteEditor/res/24/next.png
deleted file mode 100644
index aa7cbb91..00000000
--- a/LiteEditor/res/24/next.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/open_resource.png b/LiteEditor/res/24/open_resource.png
deleted file mode 100644
index 160ebfad..00000000
--- a/LiteEditor/res/24/open_resource.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/open_type.png b/LiteEditor/res/24/open_type.png
deleted file mode 100644
index e81b8f7e..00000000
--- a/LiteEditor/res/24/open_type.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/page_save.png b/LiteEditor/res/24/page_save.png
deleted file mode 100644
index a81e70d4..00000000
--- a/LiteEditor/res/24/page_save.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/paste.png b/LiteEditor/res/24/paste.png
deleted file mode 100644
index 86b6fea2..00000000
--- a/LiteEditor/res/24/paste.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/plugin24.png b/LiteEditor/res/24/plugin24.png
deleted file mode 100644
index 1d23b911..00000000
--- a/LiteEditor/res/24/plugin24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/previous.png b/LiteEditor/res/24/previous.png
deleted file mode 100644
index 8230340b..00000000
--- a/LiteEditor/res/24/previous.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/process_stop.png b/LiteEditor/res/24/process_stop.png
deleted file mode 100644
index 738d6f9b..00000000
--- a/LiteEditor/res/24/process_stop.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/quickfinder.png b/LiteEditor/res/24/quickfinder.png
deleted file mode 100644
index f2ddbce6..00000000
--- a/LiteEditor/res/24/quickfinder.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/redo.png b/LiteEditor/res/24/redo.png
deleted file mode 100644
index 45f04502..00000000
--- a/LiteEditor/res/24/redo.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/ref_analyzer24.png b/LiteEditor/res/24/ref_analyzer24.png
deleted file mode 100644
index 6bbaa2cd..00000000
--- a/LiteEditor/res/24/ref_analyzer24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/ref_anaylzer_settings24.png b/LiteEditor/res/24/ref_anaylzer_settings24.png
deleted file mode 100644
index 00379805..00000000
--- a/LiteEditor/res/24/ref_anaylzer_settings24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/refresh.png b/LiteEditor/res/24/refresh.png
deleted file mode 100644
index cc8f43bf..00000000
--- a/LiteEditor/res/24/refresh.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/revert.png b/LiteEditor/res/24/revert.png
deleted file mode 100644
index f0794821..00000000
--- a/LiteEditor/res/24/revert.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/run_unit_test.png b/LiteEditor/res/24/run_unit_test.png
deleted file mode 100644
index 6e052fa7..00000000
--- a/LiteEditor/res/24/run_unit_test.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/save_all.png b/LiteEditor/res/24/save_all.png
deleted file mode 100644
index dd0c1472..00000000
--- a/LiteEditor/res/24/save_all.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/save_as.png b/LiteEditor/res/24/save_as.png
deleted file mode 100644
index 0ecb79e8..00000000
--- a/LiteEditor/res/24/save_as.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/search.png b/LiteEditor/res/24/search.png
deleted file mode 100644
index 84c87fd4..00000000
--- a/LiteEditor/res/24/search.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/text_tree.png b/LiteEditor/res/24/text_tree.png
deleted file mode 100644
index 762f6b69..00000000
--- a/LiteEditor/res/24/text_tree.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/undo.png b/LiteEditor/res/24/undo.png
deleted file mode 100644
index 57abbe17..00000000
--- a/LiteEditor/res/24/undo.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/24/wx24.png b/LiteEditor/res/24/wx24.png
deleted file mode 100644
index 8035b6c8..00000000
--- a/LiteEditor/res/24/wx24.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/Checkbox_off.gif b/LiteEditor/res/Checkbox_off.gif
deleted file mode 100644
index 4c12c4da..00000000
--- a/LiteEditor/res/Checkbox_off.gif
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/Checkbox_on.gif b/LiteEditor/res/Checkbox_on.gif
deleted file mode 100644
index 2ae16abe..00000000
--- a/LiteEditor/res/Checkbox_on.gif
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/MessagePane/folder_home_reload.png b/LiteEditor/res/MessagePane/folder_home_reload.png
deleted file mode 100644
index c7e11d3d..00000000
--- a/LiteEditor/res/MessagePane/folder_home_reload.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/MessagePane/message_pane_info.png b/LiteEditor/res/MessagePane/message_pane_info.png
deleted file mode 100644
index 9b730e31..00000000
--- a/LiteEditor/res/MessagePane/message_pane_info.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/MessagePane/preferences_other.png b/LiteEditor/res/MessagePane/preferences_other.png
deleted file mode 100644
index 21c527d5..00000000
--- a/LiteEditor/res/MessagePane/preferences_other.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/MessagePane/system_restart.png b/LiteEditor/res/MessagePane/system_restart.png
deleted file mode 100644
index c8ac1801..00000000
--- a/LiteEditor/res/MessagePane/system_restart.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/MessagePane/system_software_update.png b/LiteEditor/res/MessagePane/system_software_update.png
deleted file mode 100644
index 386d64d3..00000000
--- a/LiteEditor/res/MessagePane/system_software_update.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/MessagePane/warning.png b/LiteEditor/res/MessagePane/warning.png
deleted file mode 100644
index ec446456..00000000
--- a/LiteEditor/res/MessagePane/warning.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/about_img.png b/LiteEditor/res/about_img.png
deleted file mode 100644
index b4de8ea0..00000000
--- a/LiteEditor/res/about_img.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/accept.png b/LiteEditor/res/accept.png
deleted file mode 100644
index 89c8129a..00000000
--- a/LiteEditor/res/accept.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/arrow_left_green.png b/LiteEditor/res/arrow_left_green.png
deleted file mode 100644
index f9896e37..00000000
--- a/LiteEditor/res/arrow_left_green.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/arrow_right_green.png b/LiteEditor/res/arrow_right_green.png
deleted file mode 100644
index 11cc87a4..00000000
--- a/LiteEditor/res/arrow_right_green.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/breakpoint.png b/LiteEditor/res/breakpoint.png
deleted file mode 100644
index 53816d95..00000000
--- a/LiteEditor/res/breakpoint.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/bug.png b/LiteEditor/res/bug.png
deleted file mode 100644
index 5fc4b25c..00000000
--- a/LiteEditor/res/bug.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/but_green_s.png b/LiteEditor/res/but_green_s.png
deleted file mode 100644
index d10cdd89..00000000
--- a/LiteEditor/res/but_green_s.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/chart_organisation.png b/LiteEditor/res/chart_organisation.png
deleted file mode 100644
index c32d25c1..00000000
--- a/LiteEditor/res/chart_organisation.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/class.png b/LiteEditor/res/class.png
deleted file mode 100644
index 5012a4c7..00000000
--- a/LiteEditor/res/class.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/class_new.png b/LiteEditor/res/class_new.png
deleted file mode 100644
index ee605c0a..00000000
--- a/LiteEditor/res/class_new.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/clean.png b/LiteEditor/res/clean.png
deleted file mode 100644
index 12941329..00000000
--- a/LiteEditor/res/clean.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/close_panel.png b/LiteEditor/res/close_panel.png
deleted file mode 100644
index 49558a83..00000000
--- a/LiteEditor/res/close_panel.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/close_panel_push.png b/LiteEditor/res/close_panel_push.png
deleted file mode 100644
index 73e2982f..00000000
--- a/LiteEditor/res/close_panel_push.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/collapse.png b/LiteEditor/res/collapse.png
deleted file mode 100644
index 7bb9b1be..00000000
--- a/LiteEditor/res/collapse.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/commandprompt.png b/LiteEditor/res/commandprompt.png
deleted file mode 100644
index 572354ac..00000000
--- a/LiteEditor/res/commandprompt.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/configure.png b/LiteEditor/res/configure.png
deleted file mode 100644
index 3c38e96b..00000000
--- a/LiteEditor/res/configure.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/conflict.png b/LiteEditor/res/conflict.png
deleted file mode 100644
index 7809ec26..00000000
--- a/LiteEditor/res/conflict.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cpp_blue.png b/LiteEditor/res/cpp_blue.png
deleted file mode 100644
index e4f0ace3..00000000
--- a/LiteEditor/res/cpp_blue.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cross.png b/LiteEditor/res/cross.png
deleted file mode 100644
index 1514d51a..00000000
--- a/LiteEditor/res/cross.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cube_green.png b/LiteEditor/res/cube_green.png
deleted file mode 100644
index b74cb452..00000000
--- a/LiteEditor/res/cube_green.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cube_yellow.png b/LiteEditor/res/cube_yellow.png
deleted file mode 100644
index 036f20d1..00000000
--- a/LiteEditor/res/cube_yellow.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes.ico b/LiteEditor/res/cubes.ico
deleted file mode 100644
index 437134ff..00000000
--- a/LiteEditor/res/cubes.ico
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes.png b/LiteEditor/res/cubes.png
deleted file mode 100644
index 1fb50ee5..00000000
--- a/LiteEditor/res/cubes.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes_blue.png b/LiteEditor/res/cubes_blue.png
deleted file mode 100644
index 0cc37131..00000000
--- a/LiteEditor/res/cubes_blue.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes_green.png b/LiteEditor/res/cubes_green.png
deleted file mode 100644
index a5e10a3e..00000000
--- a/LiteEditor/res/cubes_green.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes_modified.png b/LiteEditor/res/cubes_modified.png
deleted file mode 100644
index 3a971542..00000000
--- a/LiteEditor/res/cubes_modified.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes_ok.png b/LiteEditor/res/cubes_ok.png
deleted file mode 100644
index e8733af6..00000000
--- a/LiteEditor/res/cubes_ok.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes_red.png b/LiteEditor/res/cubes_red.png
deleted file mode 100644
index 860ffe4a..00000000
--- a/LiteEditor/res/cubes_red.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes_yellow.png b/LiteEditor/res/cubes_yellow.png
deleted file mode 100644
index eb449c0f..00000000
--- a/LiteEditor/res/cubes_yellow.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes_yellow_modified.png b/LiteEditor/res/cubes_yellow_modified.png
deleted file mode 100644
index 48a516c7..00000000
--- a/LiteEditor/res/cubes_yellow_modified.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/cubes_yellow_ok.png b/LiteEditor/res/cubes_yellow_ok.png
deleted file mode 100644
index 52883d31..00000000
--- a/LiteEditor/res/cubes_yellow_ok.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/debug_windows.png b/LiteEditor/res/debug_windows.png
deleted file mode 100644
index 44c7ae1e..00000000
--- a/LiteEditor/res/debug_windows.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/document_delete.png b/LiteEditor/res/document_delete.png
deleted file mode 100644
index bd45928f..00000000
--- a/LiteEditor/res/document_delete.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/drive.png b/LiteEditor/res/drive.png
deleted file mode 100644
index cac13eea..00000000
--- a/LiteEditor/res/drive.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/edit_add.png b/LiteEditor/res/edit_add.png
deleted file mode 100644
index 5b051f64..00000000
--- a/LiteEditor/res/edit_add.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/edit_delete.png b/LiteEditor/res/edit_delete.png
deleted file mode 100644
index 3f9406ea..00000000
--- a/LiteEditor/res/edit_delete.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/enum.png b/LiteEditor/res/enum.png
deleted file mode 100644
index a2df3aaa..00000000
--- a/LiteEditor/res/enum.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/enum.xpm b/LiteEditor/res/enum.xpm
deleted file mode 100644
index 6b8390c4..00000000
--- a/LiteEditor/res/enum.xpm
+++ /dev/null
@@ -1,26 +0,0 @@
-/* XPM */
-static const char *image_xpm[] = {
-/* width height ncolors chars_per_pixel */
-"16 16 3 1",
-/* colors */
-" c #000000",
-". c #008080",
-"X c None",
-/* pixels */
-"................",
-".. ....... ...",
-". ......... ..",
-". .... ... ..",
-". .. ... ..",
-". .... ... ..",
-". .... ... ..",
-" ..... .... .",
-". .... ... ..",
-". .... ... ..",
-". .... ... ..",
-". .. . ..",
-". ......... ..",
-". ......... ..",
-".. ....... ...",
-"................"
-};
diff --git a/LiteEditor/res/enumee.xpm b/LiteEditor/res/enumee.xpm
deleted file mode 100644
index 5d62a834..00000000
--- a/LiteEditor/res/enumee.xpm
+++ /dev/null
@@ -1,56 +0,0 @@
-/* XPM */
-static const char *enumee_xpm[] = {
-/* columns rows colors chars-per-pixel */
-"16 16 34 1",
-"X c #CCCC66",
-"1 c #FFFFFF",
-"$ c #FFCC66",
-": c #CBCBCB",
-"2 c #F8F8F8",
-"6 c #993366",
-"3 c #F1F1F1",
-"# c #FFCC99",
-"; c #CCCCCC",
-" c None",
-"w c #EAEAEA",
-"O c #CC9933",
-"& c #669999",
-"8 c #555555",
-"+ c #EFD6C6",
-"< c #A0A0A4",
-"q c #ADA990",
-"0 c #CCECFF",
-"= c #666633",
-"e c #336666",
-"7 c #CC9999",
-", c #9999CC",
-"% c #996633",
-"r c #666666",
-"> c #C0C0C0",
-"t c #5F5F5F",
-"- c #D7D7D7",
-"4 c #996666",
-"9 c #66CC66",
-"* c #666699",
-"@ c #FFFF99",
-". c #E7E7D6",
-"o c #CCCC33",
-"5 c #868686",
-/* pixels */
-" ",
-" .XXoooOO+",
-" X@@###$$%",
-" X@#&&*$$%",
-" X###$$$X=",
-" o##&&*XX=",
-"--;:>>,,,,<XXoo=",
-"-111223333&%%==>",
-";1:4<2<5>3* ",
-":167638980* ",
-">2>7:3:q:w* ",
-">2***3***0* ",
-">23333ww00e ",
-",&&&****ret ",
-" ",
-" "
-};
diff --git a/LiteEditor/res/eraser.png b/LiteEditor/res/eraser.png
deleted file mode 100644
index aa2f4b1a..00000000
--- a/LiteEditor/res/eraser.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/exclamation.png b/LiteEditor/res/exclamation.png
deleted file mode 100644
index c37bd062..00000000
--- a/LiteEditor/res/exclamation.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/execute.png b/LiteEditor/res/execute.png
deleted file mode 100644
index 5cc2b0dd..00000000
--- a/LiteEditor/res/execute.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/expand.png b/LiteEditor/res/expand.png
deleted file mode 100644
index aa95b314..00000000
--- a/LiteEditor/res/expand.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/file_explorer.png b/LiteEditor/res/file_explorer.png
deleted file mode 100644
index 7b7fbd17..00000000
--- a/LiteEditor/res/file_explorer.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/find_refresh.png b/LiteEditor/res/find_refresh.png
deleted file mode 100644
index 0de26566..00000000
--- a/LiteEditor/res/find_refresh.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/find_what.png b/LiteEditor/res/find_what.png
deleted file mode 100644
index 6e27eae6..00000000
--- a/LiteEditor/res/find_what.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/folder.png b/LiteEditor/res/folder.png
deleted file mode 100644
index 4fdde10f..00000000
--- a/LiteEditor/res/folder.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/folder_development.png b/LiteEditor/res/folder_development.png
deleted file mode 100644
index 7f3e89f5..00000000
--- a/LiteEditor/res/folder_development.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/folder_development_popup.png b/LiteEditor/res/folder_development_popup.png
deleted file mode 100644
index 8c2786b3..00000000
--- a/LiteEditor/res/folder_development_popup.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/folder_development_preferences.png b/LiteEditor/res/folder_development_preferences.png
deleted file mode 100644
index a375a211..00000000
--- a/LiteEditor/res/folder_development_preferences.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/folder_home.png b/LiteEditor/res/folder_home.png
deleted file mode 100644
index 22378243..00000000
--- a/LiteEditor/res/folder_home.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/func_private.png b/LiteEditor/res/func_private.png
deleted file mode 100644
index bbabadc8..00000000
--- a/LiteEditor/res/func_private.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/func_protected.png b/LiteEditor/res/func_protected.png
deleted file mode 100644
index 0dddc661..00000000
--- a/LiteEditor/res/func_protected.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/func_public.png b/LiteEditor/res/func_public.png
deleted file mode 100644
index 86222a9d..00000000
--- a/LiteEditor/res/func_public.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/gohome.png b/LiteEditor/res/gohome.png
deleted file mode 100644
index d9425349..00000000
--- a/LiteEditor/res/gohome.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/help.png b/LiteEditor/res/help.png
deleted file mode 100644
index a66de7a5..00000000
--- a/LiteEditor/res/help.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/help_about.png b/LiteEditor/res/help_about.png
deleted file mode 100644
index 6e0f85cf..00000000
--- a/LiteEditor/res/help_about.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/kstars.png b/LiteEditor/res/kstars.png
deleted file mode 100644
index 57844401..00000000
--- a/LiteEditor/res/kstars.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/link_editor.png b/LiteEditor/res/link_editor.png
deleted file mode 100644
index 25eacb7c..00000000
--- a/LiteEditor/res/link_editor.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/locals_view.png b/LiteEditor/res/locals_view.png
deleted file mode 100644
index 279dd4df..00000000
--- a/LiteEditor/res/locals_view.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/lock.png b/LiteEditor/res/lock.png
deleted file mode 100644
index 2ebc4f6f..00000000
--- a/LiteEditor/res/lock.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/magic-wand.png b/LiteEditor/res/magic-wand.png
deleted file mode 100644
index a3f1773f..00000000
--- a/LiteEditor/res/magic-wand.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mail_mark_important.png b/LiteEditor/res/mail_mark_important.png
deleted file mode 100644
index 663ad2bf..00000000
--- a/LiteEditor/res/mail_mark_important.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/media_stop.png b/LiteEditor/res/media_stop.png
deleted file mode 100644
index f522eab0..00000000
--- a/LiteEditor/res/media_stop.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/member_private.png b/LiteEditor/res/member_private.png
deleted file mode 100644
index c38a775d..00000000
--- a/LiteEditor/res/member_private.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/member_protected.png b/LiteEditor/res/member_protected.png
deleted file mode 100644
index ff04af1a..00000000
--- a/LiteEditor/res/member_protected.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/member_public.png b/LiteEditor/res/member_public.png
deleted file mode 100644
index b32047ab..00000000
--- a/LiteEditor/res/member_public.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/memory_view.png b/LiteEditor/res/memory_view.png
deleted file mode 100644
index 60853512..00000000
--- a/LiteEditor/res/memory_view.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/messagebox_info.png b/LiteEditor/res/messagebox_info.png
deleted file mode 100644
index 4e3a257f..00000000
--- a/LiteEditor/res/messagebox_info.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/messagebox_warning.png b/LiteEditor/res/messagebox_warning.png
deleted file mode 100644
index 331aa268..00000000
--- a/LiteEditor/res/messagebox_warning.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/application_x_compressed_tar.png b/LiteEditor/res/mimetype/application_x_compressed_tar.png
deleted file mode 100644
index a61d0050..00000000
--- a/LiteEditor/res/mimetype/application_x_compressed_tar.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/application_x_ms_dos_executable.png b/LiteEditor/res/mimetype/application_x_ms_dos_executable.png
deleted file mode 100644
index 282117cf..00000000
--- a/LiteEditor/res/mimetype/application_x_ms_dos_executable.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/application_x_mswinurl.png b/LiteEditor/res/mimetype/application_x_mswinurl.png
deleted file mode 100644
index cc2f1bf9..00000000
--- a/LiteEditor/res/mimetype/application_x_mswinurl.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/application_x_php.png b/LiteEditor/res/mimetype/application_x_php.png
deleted file mode 100644
index d73934be..00000000
--- a/LiteEditor/res/mimetype/application_x_php.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/application_x_sharedlib.png b/LiteEditor/res/mimetype/application_x_sharedlib.png
deleted file mode 100644
index 0a90cf06..00000000
--- a/LiteEditor/res/mimetype/application_x_sharedlib.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/formbuilder.png b/LiteEditor/res/mimetype/formbuilder.png
deleted file mode 100644
index 5cc39408..00000000
--- a/LiteEditor/res/mimetype/formbuilder.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/image_x_xpixmap.png b/LiteEditor/res/mimetype/image_x_xpixmap.png
deleted file mode 100644
index 8c7cbad8..00000000
--- a/LiteEditor/res/mimetype/image_x_xpixmap.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/make.png b/LiteEditor/res/mimetype/make.png
deleted file mode 100644
index a886401d..00000000
--- a/LiteEditor/res/mimetype/make.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/page_white_c.png b/LiteEditor/res/mimetype/page_white_c.png
deleted file mode 100644
index c037ed9a..00000000
--- a/LiteEditor/res/mimetype/page_white_c.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/page_white_cplusplus.png b/LiteEditor/res/mimetype/page_white_cplusplus.png
deleted file mode 100644
index 7988e073..00000000
--- a/LiteEditor/res/mimetype/page_white_cplusplus.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/page_white_h.png b/LiteEditor/res/mimetype/page_white_h.png
deleted file mode 100644
index da5e3da3..00000000
--- a/LiteEditor/res/mimetype/page_white_h.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/page_white_text.png b/LiteEditor/res/mimetype/page_white_text.png
deleted file mode 100644
index 6d35fa24..00000000
--- a/LiteEditor/res/mimetype/page_white_text.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/shellscript.png b/LiteEditor/res/mimetype/shellscript.png
deleted file mode 100644
index 890949b0..00000000
--- a/LiteEditor/res/mimetype/shellscript.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/mimetype/xml.png b/LiteEditor/res/mimetype/xml.png
deleted file mode 100644
index 208bf437..00000000
--- a/LiteEditor/res/mimetype/xml.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/modified.png b/LiteEditor/res/modified.png
deleted file mode 100644
index dd118175..00000000
--- a/LiteEditor/res/modified.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/namespace.png b/LiteEditor/res/namespace.png
deleted file mode 100644
index f510f589..00000000
--- a/LiteEditor/res/namespace.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/new_class.png b/LiteEditor/res/new_class.png
deleted file mode 100644
index 67bb4ede..00000000
--- a/LiteEditor/res/new_class.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/ok.png b/LiteEditor/res/ok.png
deleted file mode 100644
index 8d830c65..00000000
--- a/LiteEditor/res/ok.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/outbox.png b/LiteEditor/res/outbox.png
deleted file mode 100644
index 47609ee9..00000000
--- a/LiteEditor/res/outbox.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/package_utilities.png b/LiteEditor/res/package_utilities.png
deleted file mode 100644
index 8850fd60..00000000
--- a/LiteEditor/res/package_utilities.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_close.png b/LiteEditor/res/page_close.png
deleted file mode 100644
index 571eeea1..00000000
--- a/LiteEditor/res/page_close.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_error.png b/LiteEditor/res/page_error.png
deleted file mode 100644
index 17019b17..00000000
--- a/LiteEditor/res/page_error.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_find.png b/LiteEditor/res/page_find.png
deleted file mode 100644
index e6a81a4a..00000000
--- a/LiteEditor/res/page_find.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_green.png b/LiteEditor/res/page_green.png
deleted file mode 100644
index 648171b2..00000000
--- a/LiteEditor/res/page_green.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_new.png b/LiteEditor/res/page_new.png
deleted file mode 100644
index 80bcd60c..00000000
--- a/LiteEditor/res/page_new.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_open.png b/LiteEditor/res/page_open.png
deleted file mode 100644
index 784e8fa4..00000000
--- a/LiteEditor/res/page_open.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_red.png b/LiteEditor/res/page_red.png
deleted file mode 100644
index 4d481b43..00000000
--- a/LiteEditor/res/page_red.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_white_c.png b/LiteEditor/res/page_white_c.png
deleted file mode 100644
index c037ed9a..00000000
--- a/LiteEditor/res/page_white_c.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_white_cplusplus.png b/LiteEditor/res/page_white_cplusplus.png
deleted file mode 100644
index 7988e073..00000000
--- a/LiteEditor/res/page_white_cplusplus.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_white_h.png b/LiteEditor/res/page_white_h.png
deleted file mode 100644
index da5e3da3..00000000
--- a/LiteEditor/res/page_white_h.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_white_text.png b/LiteEditor/res/page_white_text.png
deleted file mode 100644
index 6d35fa24..00000000
--- a/LiteEditor/res/page_white_text.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_white_text_modified.png b/LiteEditor/res/page_white_text_modified.png
deleted file mode 100644
index 8c4aacdd..00000000
--- a/LiteEditor/res/page_white_text_modified.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/page_white_text_ok.png b/LiteEditor/res/page_white_text_ok.png
deleted file mode 100644
index ec70de7f..00000000
--- a/LiteEditor/res/page_white_text_ok.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/pictures.png b/LiteEditor/res/pictures.png
deleted file mode 100644
index d9591c13..00000000
--- a/LiteEditor/res/pictures.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/plugin_add.png b/LiteEditor/res/plugin_add.png
deleted file mode 100644
index ae43690e..00000000
--- a/LiteEditor/res/plugin_add.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/puzzle.jpg b/LiteEditor/res/puzzle.jpg
deleted file mode 100644
index 4f2f14da..00000000
--- a/LiteEditor/res/puzzle.jpg
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/puzzle.png b/LiteEditor/res/puzzle.png
deleted file mode 100644
index f88b4289..00000000
--- a/LiteEditor/res/puzzle.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/question_and_answer.png b/LiteEditor/res/question_and_answer.png
deleted file mode 100644
index a1005f46..00000000
--- a/LiteEditor/res/question_and_answer.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/rebuild.png b/LiteEditor/res/rebuild.png
deleted file mode 100644
index a64ae7d5..00000000
--- a/LiteEditor/res/rebuild.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/reload.png b/LiteEditor/res/reload.png
deleted file mode 100644
index b9e22f7f..00000000
--- a/LiteEditor/res/reload.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/replace.png b/LiteEditor/res/replace.png
deleted file mode 100644
index 3e821990..00000000
--- a/LiteEditor/res/replace.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/svn_checkout.png b/LiteEditor/res/svn_checkout.png
deleted file mode 100644
index 1400f22a..00000000
--- a/LiteEditor/res/svn_checkout.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/svn_repo.png b/LiteEditor/res/svn_repo.png
deleted file mode 100644
index 4a22cc3a..00000000
--- a/LiteEditor/res/svn_repo.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/sym_wiz_bmp.png b/LiteEditor/res/sym_wiz_bmp.png
deleted file mode 100644
index 44f3aa2f..00000000
--- a/LiteEditor/res/sym_wiz_bmp.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/tab.png b/LiteEditor/res/tab.png
deleted file mode 100644
index cd22d00d..00000000
--- a/LiteEditor/res/tab.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/tags_selected.png b/LiteEditor/res/tags_selected.png
deleted file mode 100644
index 2439c603..00000000
--- a/LiteEditor/res/tags_selected.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/threads.png b/LiteEditor/res/threads.png
deleted file mode 100644
index 258c16c6..00000000
--- a/LiteEditor/res/threads.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/todo.png b/LiteEditor/res/todo.png
deleted file mode 100644
index 92b822e7..00000000
--- a/LiteEditor/res/todo.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/trace.png b/LiteEditor/res/trace.png
deleted file mode 100644
index bf35d797..00000000
--- a/LiteEditor/res/trace.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/typedef.xpm b/LiteEditor/res/typedef.xpm
deleted file mode 100644
index 16b955e1..00000000
--- a/LiteEditor/res/typedef.xpm
+++ /dev/null
@@ -1,28 +0,0 @@
-/* XPM */
-static const char *image_xpm[] = {
-/* width height ncolors chars_per_pixel */
-"16 16 5 1",
-/* colors */
-" c #000000",
-". c #C0C0C0",
-"X c #008080",
-"o c #FFFFFF",
-"O c None",
-/* pixels */
-"XXXXXXXXXXXXXXXX",
-"XXXXXXXXXXXXXXXX",
-"X XXX",
-"X oooooooooo XXX",
-"X o X",
-"X o oooooooooo X",
-"X o o........o X",
-"X o oooooooooo X",
-"X o o........o X",
-"X o oooooooooo X",
-"X o........o X",
-"XXX oooooooooo X",
-"XXX X",
-"XXXXXXXXXXXXXXXX",
-"XXXXXXXXXXXXXXXX",
-"XXXXXXXXXXXXXXXX"
-};
diff --git a/LiteEditor/res/view_text.png b/LiteEditor/res/view_text.png
deleted file mode 100644
index f8cea933..00000000
--- a/LiteEditor/res/view_text.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/watches.png b/LiteEditor/res/watches.png
deleted file mode 100644
index d70e4ae6..00000000
--- a/LiteEditor/res/watches.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/window_duplicate.png b/LiteEditor/res/window_duplicate.png
deleted file mode 100644
index c1886d67..00000000
--- a/LiteEditor/res/window_duplicate.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/wrap_arrow.png b/LiteEditor/res/wrap_arrow.png
deleted file mode 100644
index 6972c5e5..00000000
--- a/LiteEditor/res/wrap_arrow.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/wx.png b/LiteEditor/res/wx.png
deleted file mode 100644
index e07faeb7..00000000
--- a/LiteEditor/res/wx.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/wxfb.png b/LiteEditor/res/wxfb.png
deleted file mode 100644
index 5cc39408..00000000
--- a/LiteEditor/res/wxfb.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/res/wxproject.png b/LiteEditor/res/wxproject.png
deleted file mode 100644
index 51480ddf..00000000
--- a/LiteEditor/res/wxproject.png
+++ /dev/null
Binary files differ
diff --git a/LiteEditor/resource.h b/LiteEditor/resource.h
deleted file mode 100644
index 5ad37f90..00000000
--- a/LiteEditor/resource.h
+++ /dev/null
@@ -1,38 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : resource.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- //{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by code_parser.rc
-
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 101
-#define _APS_NEXT_COMMAND_VALUE 40001
-#define _APS_NEXT_CONTROL_VALUE 1001
-#define _APS_NEXT_SYMED_VALUE 101
-#endif
-#endif
diff --git a/LiteEditor/resources.cpp b/LiteEditor/resources.cpp
deleted file mode 100644
index c5a98fb1..00000000
--- a/LiteEditor/resources.cpp
+++ /dev/null
@@ -1,20317 +0,0 @@
-//
-// This file was automatically generated by wxrc, do not edit by hand.
-//
-
-#include <wx/wxprec.h>
-
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-
-#include <wx/filesys.h>
-#include <wx/fs_mem.h>
-#include <wx/xrc/xmlres.h>
-#include <wx/xrc/xh_all.h>
-
- #define XRC_ADD_FILE(name, data, size, mime) \
- wxMemoryFSHandler::AddFile(name, data, size)
-
-static size_t xml_res_size_0 = 700;
-static unsigned char xml_res_file_0[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,2,131,73,68,65,84,120,218,205,83,223,75,83,97,24,94,
-119,177,121,163,78,37,13,70,108,29,109,158,145,206,88,27,54,29,179,217,
-118,14,103,234,206,126,217,142,185,205,206,126,153,185,54,210,249,19,118,
-161,98,66,41,67,137,168,155,64,8,186,241,47,8,186,239,166,11,47,130,130,
-148,164,32,37,250,37,73,185,167,239,27,22,118,81,222,246,194,195,247,126,
-239,251,60,207,121,63,190,239,40,20,255,99,68,9,158,17,228,15,213,242,7,
-181,232,81,226,19,26,141,230,71,42,149,130,78,167,3,217,159,33,96,104,78,
-107,180,71,57,127,19,95,34,120,206,178,44,12,6,3,170,171,171,81,81,81,177,
-75,65,243,198,198,70,208,30,229,28,112,255,8,93,93,93,221,247,108,54,91,
-34,114,28,135,154,154,26,36,147,73,248,253,254,82,78,107,180,71,57,148,
-75,53,135,13,86,77,38,19,4,65,40,137,140,70,35,220,110,55,42,43,43,81,86,
-86,134,120,60,14,89,150,81,40,20,48,54,54,6,81,20,105,125,245,247,232,85,
-85,85,72,36,18,200,79,79,33,151,203,65,171,213,162,190,190,30,122,189,30,
-62,159,31,65,169,31,188,39,0,235,69,14,206,110,63,6,211,25,98,226,133,90,
-173,46,29,229,137,79,244,192,164,215,193,220,160,65,175,211,138,76,122,
-24,12,195,32,28,142,160,55,18,67,254,206,61,108,239,124,64,113,191,136,
-87,175,183,48,50,191,130,174,96,31,28,14,199,83,133,82,169,220,190,208,
-212,0,177,229,36,22,35,86,204,133,90,145,8,10,176,88,44,224,186,60,239,
-38,23,86,240,102,235,61,38,231,151,48,144,158,192,194,242,125,108,110,188,
-69,56,61,133,214,54,251,87,58,193,142,137,124,217,121,74,129,217,14,21,
-22,93,42,140,68,61,224,121,126,215,206,123,62,101,103,150,32,223,152,40,
-161,127,104,28,235,47,94,226,225,163,53,8,82,28,150,246,206,125,106,112,
-155,57,173,69,50,208,137,229,140,23,143,151,198,225,176,219,224,114,185,
-10,230,118,71,49,49,57,15,111,42,7,233,90,14,223,246,246,48,154,191,5,33,
-20,3,31,136,226,188,181,163,72,13,142,19,220,45,47,47,255,124,206,216,12,
-149,74,245,133,236,31,216,108,54,165,197,238,252,216,59,52,1,81,206,32,
-20,75,99,240,230,52,186,175,196,225,232,145,208,35,201,56,107,106,221,60,
-124,149,199,8,212,7,107,41,44,118,110,206,71,196,66,95,146,28,97,28,123,
-100,2,41,54,12,119,48,2,222,27,130,150,97,103,254,249,174,201,3,82,177,
-45,230,117,225,178,12,95,56,133,129,235,163,16,165,171,224,122,2,104,96,
-155,215,107,107,107,149,71,254,89,212,132,97,155,102,155,205,214,13,163,
-185,109,223,96,52,111,104,25,253,204,47,241,79,6,104,45,221,182,163,88,
-58,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_1 = 3490;
-static unsigned char xml_res_file_1[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,2,189,73,68,65,84,120,218,156,146,77,72,27,97,16,134,223,111,
-179,155,47,89,77,183,17,3,57,148,170,77,16,177,135,168,37,96,213,104,11,
-134,106,66,83,233,161,30,173,216,75,15,133,158,4,61,8,10,130,88,172,222,
-148,246,44,61,138,185,20,107,12,40,105,64,3,30,140,130,196,216,216,42,196,
-38,193,31,146,205,178,89,179,233,65,147,22,138,244,103,78,195,192,60,243,
-12,51,164,186,186,26,173,45,45,16,179,89,112,28,135,84,42,5,142,227,96,
-48,24,192,48,12,194,225,48,108,54,27,214,214,214,96,181,90,33,220,184,129,
-214,182,54,151,161,188,124,80,185,184,72,177,248,135,200,231,243,80,85,
-85,160,90,237,227,59,22,139,35,157,78,127,251,13,224,247,251,175,5,180,
-183,183,119,60,233,233,121,211,219,219,107,15,6,131,137,96,48,248,249,175,
-12,92,46,151,64,41,125,61,57,57,57,220,220,220,172,61,63,63,47,140,142,
-142,190,221,218,218,90,248,35,192,106,181,54,141,140,140,204,56,157,78,
-135,32,8,0,128,185,217,217,205,245,245,245,247,0,78,174,5,116,118,118,242,
-54,155,237,213,138,207,55,113,187,170,170,84,207,100,50,88,244,122,63,0,
-56,1,0,230,215,166,66,161,0,0,112,187,221,30,143,199,179,48,53,53,53,1,
-0,43,62,31,0,128,16,130,221,221,93,53,22,139,173,18,66,192,48,12,88,0,80,
-85,21,146,36,129,231,249,251,99,99,99,195,211,211,211,143,106,107,107,185,
-157,157,29,28,28,28,224,161,195,81,26,112,118,118,166,40,138,242,149,231,
-121,104,52,26,176,185,92,14,32,164,241,65,71,199,224,243,254,254,103,102,
-179,153,1,128,88,44,134,104,52,10,167,211,9,157,78,87,178,228,56,142,12,
-13,13,49,90,173,22,0,192,90,44,150,23,110,151,235,157,173,161,129,68,34,
-17,53,16,8,124,63,61,61,149,155,26,26,111,185,187,220,140,146,207,21,237,
-112,101,75,244,122,61,161,148,94,2,106,106,106,252,119,235,235,239,5,2,
-1,57,30,143,231,163,209,168,20,143,199,205,130,32,124,172,52,153,42,132,
-155,2,56,142,131,40,138,144,36,9,178,44,19,69,81,64,8,185,4,40,138,242,
-69,206,229,64,41,5,207,243,152,159,159,71,95,95,159,36,102,50,105,131,161,
-188,98,105,105,41,178,189,189,189,106,183,219,123,28,109,14,147,169,210,
-196,38,18,9,134,106,175,12,138,187,177,44,11,89,150,49,48,48,128,172,40,
-66,167,215,139,201,84,10,227,227,227,47,247,247,247,253,117,117,117,115,
-221,221,221,79,179,82,182,43,43,102,21,134,97,126,2,8,195,224,248,248,24,
-161,80,8,0,32,203,178,124,120,120,152,246,122,189,51,225,112,216,15,0,70,
-163,113,51,20,10,109,38,147,201,137,178,178,50,177,120,114,22,0,52,26,13,
-54,54,54,112,116,116,4,74,41,84,85,189,88,94,94,94,220,219,219,251,100,
-52,26,33,138,34,10,133,2,244,122,61,120,158,207,80,74,75,63,67,138,201,
-255,198,143,1,0,79,234,41,12,35,51,97,245,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_2 = 749;
-static unsigned char xml_res_file_2[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,127,73,68,65,84,56,203,
-109,82,65,107,19,65,24,125,155,164,73,19,155,24,181,53,52,74,77,155,104,
-65,65,196,91,61,8,130,61,136,226,65,189,121,83,80,132,64,78,237,177,7,115,
-236,175,240,144,34,30,122,246,7,136,5,169,90,208,70,19,155,150,52,40,148,
-20,147,38,166,73,118,118,102,125,179,107,218,181,58,240,49,51,223,124,223,
-155,247,222,140,97,219,54,188,99,105,105,105,68,41,53,39,165,156,97,156,
-100,128,241,147,177,98,89,214,98,46,151,251,229,173,55,188,0,133,66,225,
-10,155,151,147,201,228,100,44,22,131,207,231,3,247,232,245,122,168,215,
-235,216,226,32,208,189,249,249,249,181,127,0,216,60,194,195,143,233,116,
-58,99,154,38,106,181,26,58,157,142,190,29,129,64,0,137,68,194,169,43,22,
-139,27,204,93,94,88,88,232,234,189,111,128,196,228,179,241,241,241,140,
-16,2,229,114,121,179,221,110,167,184,14,234,208,235,82,169,244,67,3,147,
-93,134,82,178,131,190,192,96,193,228,76,36,18,65,165,82,1,155,238,100,179,
-217,170,71,106,53,159,207,223,172,86,171,197,84,42,229,212,254,15,96,76,
-107,230,109,122,189,133,35,67,231,52,59,93,67,182,99,127,121,176,253,230,
-145,189,82,153,198,206,94,216,209,124,247,210,42,252,182,128,45,45,216,
-150,27,66,72,188,88,187,234,152,154,24,110,224,246,153,85,76,63,249,96,
-184,12,8,242,224,254,13,24,180,196,240,135,57,223,2,148,65,126,195,250,
-144,6,9,72,171,141,231,179,29,230,133,211,178,241,242,237,161,4,125,147,
-46,180,118,95,33,16,26,133,97,140,176,112,8,8,199,153,86,192,254,30,100,
-235,27,204,238,119,40,107,31,225,201,44,108,179,239,1,32,69,40,125,147,
-137,230,250,123,234,60,134,248,197,107,168,189,94,100,255,105,76,92,159,
-69,243,235,58,1,26,136,166,78,144,176,132,45,76,47,128,112,100,216,164,
-26,159,190,0,95,112,148,238,40,200,190,196,167,221,48,38,96,34,158,158,
-68,175,19,98,237,190,195,106,0,224,252,3,155,238,106,84,173,181,241,121,
-141,44,222,241,196,130,234,41,244,187,164,106,147,89,233,11,154,229,109,
-87,174,82,78,207,33,3,189,209,168,148,16,63,159,130,63,114,138,0,38,166,
-30,62,197,148,96,67,107,7,199,211,73,4,91,67,46,3,202,61,2,96,58,168,202,
-210,30,172,19,32,10,12,211,200,64,144,121,13,208,68,183,81,135,232,180,
-17,157,136,209,110,229,202,246,2,104,9,161,179,143,17,62,231,135,17,12,
-185,79,232,227,75,40,74,51,187,136,118,219,84,216,39,81,233,250,165,141,
-63,0,224,147,108,46,207,185,94,56,31,71,252,9,235,96,230,15,115,63,150,
-148,238,90,3,113,252,6,114,178,178,205,135,111,193,69,0,0,0,0,73,69,78,
-68,174,66,96,130};
-
-static size_t xml_res_size_3 = 685;
-static unsigned char xml_res_file_3[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,63,73,68,65,84,56,203,
-141,147,219,75,211,97,28,198,7,251,51,98,118,208,146,66,186,176,66,214,
-57,203,100,45,79,100,6,173,54,95,215,116,228,161,129,101,206,197,154,254,
-220,220,161,29,220,73,205,177,97,73,70,37,252,192,104,132,101,181,141,13,
-215,97,249,35,232,218,59,17,188,13,239,158,190,27,93,56,253,97,187,120,
-111,222,195,243,60,239,243,225,43,1,32,249,223,186,241,188,113,176,101,
-90,33,21,59,147,148,34,208,52,85,47,40,198,47,68,118,21,232,251,172,149,
-221,93,212,24,116,111,85,113,205,124,219,250,205,23,205,184,22,85,162,33,
-92,7,253,203,118,116,60,83,225,164,249,184,79,84,160,119,169,67,174,127,
-175,230,185,164,17,254,172,3,145,159,65,68,87,66,152,202,249,16,252,250,
-4,222,229,49,140,165,44,104,13,53,162,170,183,114,180,72,160,231,67,187,
-172,235,221,45,222,179,108,197,236,175,105,76,254,240,226,105,206,143,208,
-55,55,124,89,59,92,105,14,214,148,25,143,191,24,113,213,93,143,131,186,
-3,206,34,1,138,108,48,127,122,128,25,97,18,145,92,16,238,140,13,186,57,
-53,206,219,228,249,200,56,54,112,20,77,62,5,174,184,234,80,161,221,23,216,
-241,5,245,235,214,184,35,105,41,56,58,83,28,46,185,206,172,158,229,106,
-220,91,47,85,118,150,11,229,108,111,76,180,196,235,51,13,107,212,242,38,
-181,252,167,214,126,106,227,180,229,4,183,253,210,126,77,153,169,76,181,
-71,74,102,140,144,50,66,202,148,129,139,140,204,152,132,90,102,151,61,231,
-24,69,102,20,153,81,100,214,159,238,146,26,18,119,76,219,133,200,140,35,
-179,141,127,102,155,100,182,38,202,157,144,198,8,169,176,117,143,144,186,
-201,108,213,147,182,17,21,59,6,22,238,229,251,137,239,120,76,72,3,214,140,
-9,195,137,135,160,200,160,200,160,200,232,126,163,133,43,201,21,144,58,
-210,35,104,155,104,206,35,53,20,61,38,164,78,46,101,196,220,239,104,1,105,
-76,152,40,66,58,146,24,42,32,213,206,222,198,145,238,67,60,33,149,21,9,
-16,210,209,71,31,251,17,91,9,23,144,134,191,123,49,158,117,194,149,177,
-98,120,105,8,61,243,58,180,248,149,56,172,175,224,9,169,92,116,22,40,178,
-175,143,239,132,254,21,203,35,5,33,69,141,169,26,213,247,171,214,41,114,
-156,144,26,8,169,108,215,97,202,15,14,181,44,148,50,104,162,155,132,84,
-74,72,7,75,17,248,11,132,172,136,153,232,234,140,40,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_4 = 3668;
-static unsigned char xml_res_file_4[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,
-32,73,67,67,32,112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,
-233,22,61,247,222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,
-20,145,38,42,33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,
-136,3,142,142,128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,
-138,202,251,225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,
-243,157,179,207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,
-199,196,198,225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,
-0,248,126,60,60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,
-135,255,15,234,66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,
-142,66,166,0,64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,
-45,0,96,39,127,230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,
-0,32,19,101,136,68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,
-57,0,216,45,0,48,73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,
-81,136,133,41,0,4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,
-43,174,16,231,42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,
-46,30,40,206,73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,
-15,224,243,204,0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,
-54,142,182,14,95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,
-0,225,116,126,209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,
-94,11,160,117,247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,
-60,60,69,161,144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,
-254,103,194,95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,
-50,93,129,71,4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,
-71,252,183,11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,
-68,154,140,243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,
-3,62,223,53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,
-226,247,0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,
-63,253,71,160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,
-8,0,0,68,160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,
-96,54,132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,
-134,205,176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,
-184,14,61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,
-136,1,98,138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,
-20,81,34,75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,
-186,145,59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,
-67,185,168,55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,
-180,26,61,140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,
-7,51,196,108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,
-198,26,176,86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,
-66,32,97,30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,
-81,194,39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,
-35,214,18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,
-177,164,84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,
-218,100,107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,
-228,33,242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,
-229,52,229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,
-173,161,182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,
-162,149,211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,
-208,87,210,203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,
-40,25,155,24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,
-55,49,235,152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,
-74,149,38,149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,
-169,94,83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,
-27,83,103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,
-195,76,195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,
-107,13,171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,
-187,139,61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,
-113,248,156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,
-166,52,76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,
-189,54,174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,
-71,103,143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,
-170,107,165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,
-111,167,222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,
-88,6,179,12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,
-67,93,195,64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,
-70,15,140,105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,
-234,77,238,154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,
-214,153,53,155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,
-44,182,168,182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,
-165,88,85,90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,
-147,78,171,158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,
-219,174,182,109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,
-125,186,125,141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,
-58,86,58,222,154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,
-216,51,227,182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,
-243,136,139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,
-245,113,93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,
-105,238,135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,
-209,63,11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,
-47,145,87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,
-62,227,60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,
-95,133,223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,
-65,129,91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,
-140,160,185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,
-33,247,231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,
-195,126,12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,
-209,220,67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,
-62,170,46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,
-108,75,28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,
-227,123,23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,
-58,150,64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,
-10,121,194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,
-77,122,146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,
-76,13,76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,
-113,66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,
-197,110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,
-84,90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,
-205,237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,
-165,134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,
-5,43,134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,
-38,122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,
-235,220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,
-174,20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,
-148,180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,
-170,151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,
-47,151,205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,
-205,59,63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,
-238,27,123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,
-77,213,102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,
-93,173,78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,
-61,84,82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,
-141,156,198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,
-123,172,225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,
-251,91,98,91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,
-60,89,121,74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,
-157,125,126,46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,
-186,16,116,225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,
-219,229,19,87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,
-187,156,187,154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,
-55,206,221,244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,
-247,197,247,245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,
-188,79,188,95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,
-127,106,192,119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,
-67,5,143,153,143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,
-252,167,67,207,100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,
-235,215,206,209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,
-235,25,175,219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,
-220,119,29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,
-167,251,147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,
-0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,216,10,2,20,42,4,161,41,231,
-85,0,0,3,134,73,68,65,84,56,203,77,211,203,107,20,119,0,7,240,239,252,126,
-243,216,201,236,99,118,103,243,94,114,88,139,121,137,173,181,68,131,77,
-75,65,140,219,218,24,168,8,21,10,141,208,130,165,165,167,10,5,15,61,138,
-199,22,132,30,170,61,148,28,20,196,67,91,176,143,131,80,65,74,82,165,74,
-108,12,90,141,217,184,205,100,55,179,179,51,59,175,223,252,126,61,244,210,
-207,255,240,145,190,24,30,70,24,4,80,85,21,166,101,237,166,138,242,183,
-224,60,17,66,64,205,100,144,201,229,144,132,33,36,73,130,172,105,96,81,
-52,185,189,185,249,87,202,88,186,108,219,160,163,156,227,110,24,34,142,
-227,241,33,211,60,31,133,161,199,57,95,77,162,8,133,190,62,132,157,14,182,
-54,54,16,250,62,2,215,61,66,8,249,124,249,201,147,181,63,59,157,205,80,
-8,16,14,0,192,203,83,213,234,181,83,151,47,207,79,204,204,124,23,71,209,
-73,0,16,156,67,34,4,0,192,146,228,248,196,204,204,213,19,23,47,206,29,26,
-31,191,2,224,16,0,208,55,52,237,216,190,145,145,111,231,47,92,120,65,48,
-134,202,212,148,214,221,216,152,179,215,215,183,115,197,226,82,202,24,220,
-86,235,244,196,244,244,165,3,103,206,100,89,183,139,241,90,205,76,111,223,
-174,181,218,237,117,250,118,165,114,245,173,115,231,70,189,70,3,79,111,
-221,194,206,163,71,24,218,187,87,14,155,205,35,73,20,185,156,177,125,229,
-74,229,203,241,217,89,125,115,121,25,91,43,43,64,154,162,183,90,205,133,
-15,31,190,34,29,203,100,246,103,37,233,171,249,90,109,90,213,117,116,108,
-27,84,81,144,201,231,177,83,175,67,8,129,82,165,130,200,243,144,38,9,178,
-150,133,200,247,113,253,198,141,149,68,136,79,165,163,154,134,64,136,17,
-139,144,111,222,60,120,240,176,224,28,190,227,0,0,204,254,126,112,206,225,
-218,54,0,64,207,229,32,132,192,175,119,238,44,109,165,233,130,73,200,125,
-58,34,203,16,64,59,16,226,7,255,249,243,145,193,114,121,12,66,208,40,8,
-224,57,14,186,174,11,9,0,33,4,41,99,233,189,149,149,159,158,50,246,30,128,
-53,89,146,64,143,235,58,98,33,96,17,18,84,12,227,15,8,49,87,28,24,40,57,
-182,13,8,1,193,57,226,48,68,182,80,64,224,251,182,156,166,11,60,73,86,137,
-36,97,136,82,208,243,103,207,2,207,158,161,63,159,175,20,74,165,197,124,
-185,252,210,118,189,14,73,146,64,40,5,0,16,74,17,5,1,172,193,193,172,34,
-203,123,138,154,246,75,159,170,186,99,147,147,144,67,215,69,18,69,187,115,
-166,121,197,48,205,23,59,205,38,84,85,133,162,105,48,138,69,200,138,130,
-246,214,22,82,198,208,105,54,145,179,172,87,133,16,63,6,190,255,110,202,
-216,125,153,16,242,154,166,235,95,247,20,10,99,161,231,33,147,205,130,202,
-50,242,189,189,104,213,235,221,148,49,102,85,42,121,223,113,192,226,24,
-161,231,193,48,205,61,73,28,95,23,156,127,72,223,25,29,253,185,187,179,
-51,10,0,138,166,65,207,102,81,26,30,70,208,110,135,156,243,143,9,33,139,
-190,227,204,246,85,171,186,4,128,167,41,120,154,66,81,213,82,174,92,62,
-74,107,253,253,143,29,219,222,159,179,172,114,97,96,0,70,169,132,118,163,
-225,117,93,247,19,85,215,47,169,153,204,42,139,227,7,93,199,57,220,183,
-107,151,65,101,25,105,146,160,219,110,55,84,93,255,140,206,87,171,107,161,
-231,221,132,16,7,50,134,49,232,183,90,255,196,97,248,1,149,229,69,0,128,
-36,65,86,213,85,8,241,123,103,123,251,117,42,203,197,174,227,60,22,156,
-159,162,138,242,253,127,83,128,123,84,81,78,59,141,198,93,181,167,231,35,
-77,215,175,225,127,4,231,200,24,198,77,195,52,23,188,86,107,73,86,213,247,
-133,16,191,73,146,132,127,1,112,211,184,203,170,23,55,180,0,0,0,0,73,69,
-78,68,174,66,96,130};
-
-static size_t xml_res_size_5 = 886;
-static unsigned char xml_res_file_5[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,3,61,73,68,65,84,120,218,117,83,123,72,83,97,20,95,
-80,68,22,20,65,153,82,8,38,36,68,82,104,15,208,144,74,44,72,210,10,122,
-73,150,143,44,197,102,102,15,212,21,81,249,136,212,102,166,133,153,182,
-92,123,57,182,187,173,61,196,233,116,51,219,166,214,50,147,49,231,229,234,
-34,237,15,255,41,124,20,174,95,223,189,225,162,160,15,126,156,115,190,123,
-126,191,239,124,231,124,151,199,251,103,185,221,116,148,215,235,45,28,27,
-27,83,140,140,140,216,61,30,143,147,97,24,53,217,43,249,232,241,236,228,
-253,111,185,221,238,77,239,7,7,53,159,39,38,252,179,179,179,152,159,159,
-135,223,239,231,192,250,115,115,115,152,156,252,130,193,193,15,22,215,208,
-208,142,191,200,228,164,205,93,86,235,148,119,148,198,184,207,7,154,97,
-48,74,211,160,71,25,206,167,105,6,12,51,6,159,239,19,198,199,125,176,245,
-244,204,185,92,67,123,2,2,74,149,170,187,215,110,135,195,217,135,215,189,
-14,216,29,78,206,119,246,177,232,231,44,27,179,251,125,196,246,191,125,
-7,53,165,241,6,4,158,54,54,253,232,232,178,66,167,55,192,96,52,193,212,
-214,142,54,115,7,218,59,58,97,38,96,109,59,137,77,237,102,24,201,55,139,
-173,7,42,53,133,128,192,195,218,186,105,153,162,21,98,137,20,82,185,2,173,
-74,21,151,160,214,104,65,105,181,156,85,81,20,90,85,106,200,91,149,80,145,
-184,249,185,232,103,64,224,69,139,120,166,166,182,14,47,196,18,180,176,
-34,50,5,20,36,81,73,8,108,178,222,212,134,206,78,11,44,221,221,232,176,
-116,65,76,242,200,181,255,8,52,60,109,156,109,106,22,161,177,169,25,26,
-66,96,203,52,19,66,151,237,53,108,142,55,120,36,19,226,228,157,36,108,63,
-31,129,20,65,60,110,215,9,160,51,232,255,92,65,44,149,205,220,175,18,162,
-180,172,130,45,141,109,16,57,129,66,167,213,2,126,117,38,202,218,10,81,
-63,124,11,165,3,185,184,210,115,2,199,68,177,56,83,122,24,188,40,222,114,
-78,64,34,149,255,96,73,252,252,203,72,207,202,6,165,211,115,29,175,108,
-42,195,13,125,14,174,89,82,113,206,176,31,105,218,120,156,210,196,161,166,
-95,128,228,154,93,8,63,190,42,157,19,120,84,255,100,234,241,147,6,144,94,
-160,133,220,175,178,170,26,18,185,12,7,139,118,35,199,112,8,233,166,189,
-72,53,196,226,8,181,13,194,190,18,176,171,64,127,18,145,217,171,93,156,
-64,238,197,139,102,189,193,136,11,185,121,200,201,229,147,153,59,49,49,
-57,137,45,153,161,200,82,36,161,194,126,25,137,242,112,84,244,22,112,228,
-18,227,121,196,214,108,64,196,217,85,254,223,15,73,169,60,122,251,206,221,
-175,18,169,12,205,34,17,202,203,238,145,73,200,17,95,16,133,107,198,52,
-142,36,114,9,57,91,244,42,11,219,171,214,98,255,179,72,132,165,6,253,174,
-128,236,7,59,28,142,188,252,252,194,9,254,165,171,176,146,135,226,245,142,
-66,40,169,192,206,170,16,20,27,207,113,228,235,154,116,196,84,174,193,190,
-134,8,68,223,92,135,208,3,65,153,11,2,139,9,214,77,79,79,39,219,108,182,
-70,153,76,62,172,213,234,190,82,90,221,247,35,197,9,254,152,210,96,156,
-126,185,23,113,15,194,144,216,16,137,109,130,96,172,79,89,166,230,69,243,
-130,2,163,36,2,139,8,150,18,132,16,68,147,191,47,105,230,219,183,84,154,
-25,201,204,46,63,85,187,149,31,50,188,49,99,165,63,252,236,138,129,224,
-132,37,25,11,228,95,208,182,110,27,111,148,142,232,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_6 = 3490;
-static unsigned char xml_res_file_6[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,
-32,73,67,67,32,112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,
-233,22,61,247,222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,
-20,145,38,42,33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,
-136,3,142,142,128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,
-138,202,251,225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,
-243,157,179,207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,
-199,196,198,225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,
-0,248,126,60,60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,
-135,255,15,234,66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,
-142,66,166,0,64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,
-45,0,96,39,127,230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,
-0,32,19,101,136,68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,
-57,0,216,45,0,48,73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,
-81,136,133,41,0,4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,
-43,174,16,231,42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,
-46,30,40,206,73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,
-15,224,243,204,0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,
-54,142,182,14,95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,
-0,225,116,126,209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,
-94,11,160,117,247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,
-60,60,69,161,144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,
-254,103,194,95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,
-50,93,129,71,4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,
-71,252,183,11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,
-68,154,140,243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,
-3,62,223,53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,
-226,247,0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,
-63,253,71,160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,
-8,0,0,68,160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,
-96,54,132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,
-134,205,176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,
-184,14,61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,
-136,1,98,138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,
-20,81,34,75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,
-186,145,59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,
-67,185,168,55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,
-180,26,61,140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,
-7,51,196,108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,
-198,26,176,86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,
-66,32,97,30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,
-81,194,39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,
-35,214,18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,
-177,164,84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,
-218,100,107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,
-228,33,242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,
-229,52,229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,
-173,161,182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,
-162,149,211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,
-208,87,210,203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,
-40,25,155,24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,
-55,49,235,152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,
-74,149,38,149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,
-169,94,83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,
-27,83,103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,
-195,76,195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,
-107,13,171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,
-187,139,61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,
-113,248,156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,
-166,52,76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,
-189,54,174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,
-71,103,143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,
-170,107,165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,
-111,167,222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,
-88,6,179,12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,
-67,93,195,64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,
-70,15,140,105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,
-234,77,238,154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,
-214,153,53,155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,
-44,182,168,182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,
-165,88,85,90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,
-147,78,171,158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,
-219,174,182,109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,
-125,186,125,141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,
-58,86,58,222,154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,
-216,51,227,182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,
-243,136,139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,
-245,113,93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,
-105,238,135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,
-209,63,11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,
-47,145,87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,
-62,227,60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,
-95,133,223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,
-65,129,91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,
-140,160,185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,
-33,247,231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,
-195,126,12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,
-209,220,67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,
-62,170,46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,
-108,75,28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,
-227,123,23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,
-58,150,64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,
-10,121,194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,
-77,122,146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,
-76,13,76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,
-113,66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,
-197,110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,
-84,90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,
-205,237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,
-165,134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,
-5,43,134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,
-38,122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,
-235,220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,
-174,20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,
-148,180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,
-170,151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,
-47,151,205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,
-205,59,63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,
-238,27,123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,
-77,213,102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,
-93,173,78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,
-61,84,82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,
-141,156,198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,
-123,172,225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,
-251,91,98,91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,
-60,89,121,74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,
-157,125,126,46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,
-186,16,116,225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,
-219,229,19,87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,
-187,156,187,154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,
-55,206,221,244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,
-247,197,247,245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,
-188,79,188,95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,
-127,106,192,119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,
-67,5,143,153,143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,
-252,167,67,207,100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,
-235,215,206,209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,
-235,25,175,219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,
-220,119,29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,
-167,251,147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,
-0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,216,10,2,20,44,12,249,168,
-200,225,0,0,2,212,73,68,65,84,56,203,173,145,79,104,92,85,20,198,127,247,
-222,119,231,205,159,76,58,105,147,216,140,105,154,52,105,141,24,165,14,
-254,65,4,21,181,106,17,42,136,40,17,20,43,184,146,154,141,46,68,215,130,
-43,247,5,187,12,184,18,209,46,148,46,148,198,46,164,74,165,177,26,252,51,
-53,182,53,49,206,76,50,153,204,123,111,222,187,247,184,104,83,74,65,87,
-158,205,129,243,125,231,124,156,239,131,255,171,238,202,149,15,220,29,246,
-219,255,226,60,82,216,117,199,68,80,48,55,206,52,128,65,221,238,144,247,
-59,222,29,254,183,229,73,91,124,162,237,211,247,150,179,184,118,51,86,155,
-201,149,127,60,57,247,142,204,85,38,218,227,65,225,249,155,9,163,65,254,
-153,55,42,227,27,159,30,123,91,238,11,43,117,224,193,109,204,76,219,210,
-153,119,159,157,157,242,105,202,84,237,96,24,255,244,235,145,166,75,255,
-222,240,217,89,128,221,38,124,245,209,226,224,137,167,103,95,232,75,187,
-17,15,213,238,169,156,95,60,127,184,225,122,203,2,23,212,241,67,207,201,
-214,70,155,203,245,139,132,249,60,195,163,85,62,255,254,219,94,87,252,91,
-177,184,94,69,219,15,158,186,179,150,111,174,174,146,36,9,213,241,189,116,
-90,27,28,255,229,92,253,247,44,218,167,12,234,204,108,185,250,64,73,27,
-46,103,49,57,165,217,169,45,245,180,139,191,250,59,235,62,37,21,97,216,
-132,108,73,198,71,155,127,94,16,100,206,195,41,5,140,105,248,240,177,226,
-224,227,94,132,134,79,1,168,154,16,15,172,184,4,128,138,182,8,194,66,212,
-60,235,224,40,176,120,53,0,216,16,56,121,41,141,198,118,7,225,52,40,211,
-21,71,211,165,172,251,20,1,140,82,36,226,221,185,164,253,69,138,188,4,252,
-124,221,196,107,61,26,48,185,239,60,28,169,6,249,157,43,89,2,10,60,144,
-136,103,192,88,58,62,91,19,56,186,37,110,233,198,132,12,192,126,91,26,29,
-52,185,249,33,19,30,92,206,34,80,96,80,8,160,149,34,18,199,158,160,208,
-103,148,158,41,105,115,170,229,211,246,245,3,99,65,225,192,14,19,124,188,
-75,219,123,215,92,15,171,20,101,29,112,107,144,103,36,200,227,68,8,148,
-102,211,59,134,76,110,44,19,57,4,234,244,150,184,191,0,204,136,9,23,6,77,
-56,211,241,25,5,109,40,235,128,189,65,129,21,151,116,215,125,22,77,216,
-98,184,237,67,36,142,29,198,14,103,226,159,188,45,215,183,248,71,22,215,
-117,191,182,211,137,120,74,58,96,64,7,236,183,37,54,37,139,243,202,28,203,
-43,253,242,197,180,219,154,180,69,134,76,142,162,54,244,196,83,49,118,114,
-216,132,243,0,186,237,211,165,254,107,170,251,108,137,43,89,220,105,184,
-244,245,47,163,198,137,175,227,214,39,70,169,87,126,232,117,214,198,109,
-129,61,65,129,162,54,116,188,91,137,196,189,9,96,110,9,194,175,4,238,239,
-215,193,200,170,75,86,187,226,94,59,29,55,231,183,77,186,148,197,75,83,
-182,244,205,149,44,121,216,42,61,208,240,189,223,60,188,184,16,183,62,3,
-248,7,180,179,57,125,40,88,204,200,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_7 = 660;
-static unsigned char xml_res_file_7[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,2,91,73,68,65,84,120,218,173,211,93,76,146,81,24,7,
-240,247,218,139,110,187,247,162,174,106,43,183,174,156,181,185,178,173,
-92,107,107,94,244,69,214,162,15,178,77,153,50,113,6,106,194,212,37,196,
-84,124,11,49,125,23,160,101,18,228,42,4,66,209,215,242,131,196,65,126,69,
-153,212,133,40,184,1,34,40,243,31,135,165,75,106,149,91,103,251,237,92,
-252,159,231,217,251,238,156,67,81,255,99,181,219,3,90,13,235,7,241,152,
-93,242,209,189,129,204,29,13,104,182,248,6,212,125,62,108,82,217,22,65,
-91,125,127,212,100,94,124,145,108,230,181,126,18,114,31,206,44,92,125,48,
-133,157,32,61,164,151,58,219,48,255,133,67,123,99,151,104,47,182,52,120,
-80,198,76,66,148,192,81,56,177,45,251,129,244,144,94,138,219,186,228,190,
-209,182,20,75,0,209,216,245,30,19,238,89,152,94,247,66,80,94,13,94,105,
-61,174,213,90,176,153,19,5,204,34,4,157,254,88,137,206,239,166,138,58,194,
-195,252,142,80,140,207,120,81,33,215,224,142,88,12,151,123,26,67,195,227,
-40,210,46,131,175,11,34,145,111,83,109,12,33,191,222,178,158,197,83,46,
-80,98,99,212,90,254,124,37,38,212,121,49,226,112,226,138,72,3,158,204,138,
-30,235,40,206,21,55,163,92,31,222,70,210,19,66,139,61,136,227,21,207,176,
-235,232,237,13,170,214,28,53,72,94,69,214,170,95,174,160,210,184,12,178,
-19,133,74,22,31,38,92,168,81,235,193,188,141,64,55,178,186,229,130,242,
-29,246,11,141,56,114,243,254,103,170,201,190,166,149,191,137,196,101,214,
-8,82,213,201,42,81,92,112,10,247,232,54,20,138,106,144,203,185,133,203,
-85,106,156,80,58,176,59,183,20,79,28,193,78,170,221,17,87,209,108,116,131,
-30,92,69,42,141,109,26,167,5,13,56,84,246,20,174,201,25,120,230,230,193,
-101,156,56,80,53,128,139,130,90,88,62,198,85,84,183,59,174,96,198,98,248,
-29,203,236,26,246,229,241,145,81,55,134,99,82,19,244,99,95,145,67,207,96,
-79,158,48,249,85,236,92,92,65,201,45,1,169,162,63,12,69,95,232,23,134,137,
-21,72,27,213,72,207,151,33,83,245,13,135,37,102,28,188,59,8,131,109,52,
-249,59,250,241,160,148,92,198,180,132,236,132,147,169,200,34,133,221,102,
-22,233,215,91,144,211,181,142,244,243,82,68,162,209,228,128,68,156,246,
-215,119,66,10,141,166,126,212,232,172,216,203,107,197,163,30,59,156,83,
-158,228,128,127,122,104,25,89,57,2,82,76,78,225,231,211,200,62,195,41,33,
-249,119,74,115,71,208,181,60,144,80,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_8 = 588;
-static unsigned char xml_res_file_8[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,2,19,73,68,65,84,120,218,173,211,93,72,147,81,28,199,
-241,115,45,50,231,124,218,230,88,163,141,165,23,93,5,165,102,221,117,17,
-133,23,93,68,23,69,24,69,70,236,34,114,132,104,204,173,192,94,118,209,198,
-80,219,99,35,201,173,205,65,246,166,189,234,86,102,62,133,213,74,241,201,
-94,48,168,93,53,215,4,221,214,30,27,251,245,28,105,99,217,138,6,29,248,
-112,224,252,249,158,171,115,8,249,31,171,111,44,230,243,114,95,65,93,225,
-162,17,118,56,182,165,168,11,156,129,200,147,75,163,17,100,185,30,205,129,
-13,70,254,170,123,100,110,104,57,54,244,126,108,107,186,248,254,203,161,
-158,183,40,6,109,104,75,246,116,126,254,212,200,134,133,253,108,24,57,157,
-179,56,225,158,129,89,212,232,152,196,47,179,159,104,67,91,210,212,27,229,
-143,92,142,10,34,80,93,3,175,48,197,127,192,131,251,195,104,49,117,192,
-208,122,30,135,173,1,100,231,121,4,218,146,102,127,124,194,232,95,20,140,
-238,48,78,218,189,104,183,88,48,205,191,195,211,137,215,104,246,205,195,
-216,191,0,113,94,136,64,91,98,25,76,5,77,55,19,66,91,127,24,207,67,147,
-56,104,246,194,96,11,226,118,240,5,246,30,119,194,116,35,94,152,216,208,
-150,88,71,82,183,78,223,75,46,117,220,77,224,212,224,60,232,78,29,187,192,
-225,205,212,52,90,108,158,220,89,62,218,208,150,116,143,45,249,236,15,147,
-105,91,48,137,149,90,219,143,194,99,221,4,179,115,224,183,25,109,104,75,
-250,66,105,23,203,165,50,236,248,55,172,116,238,106,8,61,103,119,192,239,
-60,128,107,220,44,238,240,169,60,66,102,104,230,187,139,92,231,211,14,247,
-75,1,127,98,115,118,161,82,81,142,178,50,233,50,73,78,57,20,149,234,4,177,
-7,98,103,28,143,227,112,140,46,22,228,121,22,131,86,183,26,53,53,181,168,
-171,223,12,125,85,53,84,106,13,228,74,21,212,218,181,17,250,24,75,68,91,
-69,13,133,48,12,211,176,123,215,118,147,66,206,100,52,107,116,208,234,171,
-160,211,87,67,42,171,88,80,233,116,154,127,254,47,59,183,109,216,39,147,
-49,194,198,186,122,172,146,43,147,165,165,178,117,69,255,90,137,68,82,91,
-193,40,19,37,82,233,250,236,217,15,194,221,27,99,176,100,224,25,0,0,0,0,
-73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_9 = 544;
-static unsigned char xml_res_file_9[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,1,231,73,68,65,84,56,141,165,83,177,106,84,81,16,61,
-115,239,125,240,132,4,209,108,147,136,16,99,111,185,250,1,26,27,243,13,
-150,65,72,99,225,159,248,3,66,216,47,48,85,126,192,50,85,138,88,88,134,
-132,221,5,201,230,221,125,247,206,204,177,216,236,38,134,116,25,24,24,14,
-156,195,153,57,140,144,196,99,42,60,138,13,32,45,7,17,121,51,28,14,191,
-213,90,109,97,234,214,153,251,106,66,211,52,233,244,244,244,123,215,117,
-191,0,0,55,43,196,131,131,131,115,85,101,41,149,125,95,56,239,123,230,220,
-51,231,204,235,46,115,118,221,241,106,118,205,233,244,47,247,247,191,228,
-181,181,245,72,114,229,32,154,89,184,188,156,96,54,187,2,233,48,18,116,
-130,238,112,39,72,194,232,120,177,181,9,119,15,34,178,32,158,157,253,254,
-176,251,113,247,235,219,225,187,151,59,175,119,158,119,57,131,78,184,59,
-156,75,178,195,205,23,56,29,121,222,245,65,100,99,52,26,169,28,30,142,254,
-236,237,125,122,102,102,107,49,198,184,220,246,254,29,86,56,0,55,35,201,
-217,209,209,207,73,2,248,164,105,154,167,211,233,148,33,60,28,10,111,21,
-65,2,170,42,131,193,198,186,187,119,137,164,185,187,2,8,131,193,64,98,12,
-48,243,7,29,164,20,49,159,23,92,92,156,179,148,226,102,102,171,24,117,97,
-139,36,37,4,89,134,251,159,64,206,115,152,25,251,190,176,170,210,140,8,
-0,143,1,16,116,119,119,39,23,23,191,223,93,151,1,0,102,234,170,230,102,
-6,210,143,3,128,19,0,136,169,209,16,66,9,33,184,59,243,221,46,69,45,198,
-232,102,6,145,160,16,84,51,163,187,159,164,237,237,87,0,208,4,17,185,201,
-86,68,164,185,99,91,82,138,97,249,51,85,53,186,123,84,213,180,185,181,5,
-25,143,39,239,219,182,253,76,82,239,167,224,238,80,85,168,86,104,53,168,
-25,170,86,212,90,97,230,169,244,253,15,25,143,39,109,219,182,137,36,238,
-10,152,57,84,43,170,42,76,21,213,12,86,21,170,186,192,220,80,75,45,242,
-216,119,254,7,60,27,154,173,220,74,141,252,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_10 = 625;
-static unsigned char xml_res_file_10[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,238,73,68,65,84,56,141,165,147,65,139,
-146,81,20,134,159,51,159,90,206,8,133,180,82,76,98,212,2,87,109,114,81,
-35,38,4,181,110,49,48,224,66,130,6,70,112,233,198,141,187,254,64,27,23,
-226,194,31,208,15,152,197,208,42,140,22,69,139,22,33,209,32,70,165,72,126,
-225,52,243,221,239,158,22,35,146,142,227,166,3,239,234,158,251,220,115,
-94,222,43,170,202,255,84,96,221,97,179,217,92,160,239,239,239,203,133,38,
-85,157,11,16,32,9,20,91,173,150,246,251,253,5,181,90,45,5,138,179,30,81,
-213,11,128,100,60,30,63,74,165,82,102,50,153,232,42,165,82,41,19,143,199,
-143,128,164,170,158,175,16,12,6,95,20,10,133,8,240,42,28,14,239,116,187,
-93,167,211,233,172,92,171,219,237,58,185,92,110,7,216,6,190,6,0,10,133,
-194,150,235,186,197,72,36,50,22,17,39,26,141,114,112,112,176,18,112,106,
-44,34,226,0,206,220,196,195,195,195,170,136,188,140,197,98,79,141,49,12,
-6,3,218,237,246,194,197,114,185,204,219,126,144,135,217,107,171,77,4,194,
-192,235,76,38,163,163,209,72,151,203,90,171,103,103,103,58,158,252,214,
-116,58,173,192,163,185,7,51,208,137,136,52,61,207,203,215,106,53,146,201,
-36,27,27,27,0,88,107,41,149,74,188,57,118,120,144,217,90,24,96,57,7,63,
-29,199,97,56,28,146,72,36,168,215,235,24,99,230,122,114,221,114,106,236,
-90,0,34,66,62,159,167,211,233,240,249,211,71,182,111,103,177,214,178,183,
-183,199,187,111,87,185,159,222,92,15,0,168,84,42,140,191,127,65,198,31,
-168,86,155,136,8,170,202,227,27,150,63,158,191,30,48,157,78,233,245,122,
-252,58,17,70,227,8,207,159,149,184,147,189,203,238,238,46,239,127,108,114,
-239,214,21,166,211,233,165,0,223,117,93,63,20,10,57,141,70,3,99,12,158,
-231,17,8,4,240,125,159,98,212,50,28,14,113,93,215,7,206,71,89,142,178,136,
-28,137,136,17,17,189,68,70,68,230,81,150,127,191,179,136,8,112,147,243,
-152,58,171,252,153,189,220,3,142,85,85,255,2,250,191,37,86,45,62,103,251,
-0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_11 = 3651;
-static unsigned char xml_res_file_11[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,3,94,73,68,65,84,120,218,116,206,205,79,28,101,0,128,241,103,
-102,222,153,253,96,63,88,88,151,111,40,152,86,11,210,3,173,161,138,198,
-170,64,91,172,98,52,38,246,208,180,73,155,94,76,52,209,196,196,24,253,3,
-244,98,60,104,52,154,104,60,152,52,212,130,28,48,109,211,96,137,90,81,97,
-53,69,64,105,98,129,66,119,89,118,151,221,101,119,102,231,227,245,226,193,
-131,254,174,207,229,17,82,74,78,125,251,151,106,132,195,210,159,186,173,
-212,205,78,133,107,253,190,218,157,98,190,188,149,232,201,126,248,242,73,
-247,252,216,175,138,99,219,184,150,131,83,245,240,92,15,179,82,81,166,167,
-38,61,209,244,202,59,79,12,190,240,226,41,77,81,36,166,169,164,171,158,
-145,41,102,12,169,168,142,99,150,205,151,198,23,164,161,235,104,210,197,
-118,20,84,161,128,208,40,87,20,197,243,228,151,2,77,125,172,173,54,120,
-166,249,143,31,24,191,124,141,104,107,23,145,166,125,172,109,102,201,39,
-231,233,74,223,33,222,255,20,174,34,208,52,137,84,32,149,41,145,92,74,81,
-42,228,211,162,34,53,171,112,115,14,49,51,193,232,209,231,104,60,60,196,
-47,43,25,22,131,91,20,99,7,184,241,221,37,234,211,23,96,255,32,174,167,
-147,222,42,146,90,207,128,181,11,174,107,106,162,187,255,17,187,100,62,
-89,190,183,159,227,207,28,103,179,108,113,189,232,80,146,224,243,9,212,
-120,39,190,236,29,54,54,243,172,230,160,152,43,128,103,130,179,11,219,171,
-211,234,110,118,91,118,52,54,242,238,233,97,22,50,37,146,37,135,128,166,
-208,30,22,180,70,52,226,117,6,161,166,110,172,181,91,56,59,57,144,38,56,
-21,112,93,208,125,8,182,139,52,249,131,236,13,25,244,138,50,119,51,22,17,
-219,70,149,22,142,112,201,249,117,72,52,147,180,76,168,152,224,170,80,41,
-128,99,162,122,85,41,240,124,178,152,205,147,92,175,16,64,50,80,11,82,234,
-32,5,5,215,79,38,167,227,249,82,216,190,4,248,66,160,186,224,73,176,74,
-120,85,75,10,180,40,211,87,175,48,210,23,167,237,224,48,13,81,135,136,33,
-169,186,10,217,130,224,64,204,227,139,185,43,236,70,90,32,96,128,89,2,92,
-64,130,240,163,209,252,208,64,60,22,29,202,44,207,82,31,8,80,19,106,165,
-80,241,97,237,186,144,219,96,242,171,207,73,248,161,161,173,149,223,150,
-50,80,202,65,57,15,149,18,184,206,180,8,183,116,16,107,143,179,116,55,205,
-173,143,47,210,187,111,134,174,61,61,20,138,219,92,189,49,203,122,14,14,
-117,168,188,117,238,121,26,244,22,38,127,172,34,60,133,0,81,150,111,111,
-40,218,161,19,231,31,237,190,191,123,208,215,216,137,177,247,97,22,210,
-58,51,63,45,242,123,62,76,160,111,148,61,3,67,172,110,20,153,159,158,228,
-181,147,71,216,127,95,59,118,99,55,225,186,6,12,33,102,68,125,46,121,205,
-205,215,126,116,184,53,20,82,85,162,118,83,71,208,62,210,102,224,186,66,
-81,92,116,37,139,61,252,160,59,247,205,178,255,131,79,63,235,123,251,205,
-55,148,63,87,126,222,245,39,90,199,244,181,157,113,164,148,72,41,185,60,
-51,175,44,45,46,27,114,39,21,169,102,55,235,171,217,205,68,117,123,179,
-193,202,110,52,72,187,16,159,154,184,120,79,44,22,123,253,232,177,99,214,
-202,242,77,57,49,118,225,253,226,78,62,168,140,158,126,149,206,131,35,60,
-254,64,29,157,137,26,122,59,234,169,186,18,35,26,231,191,232,186,113,238,
-204,217,179,239,61,251,244,137,154,181,181,181,17,241,239,40,1,239,159,
-163,255,99,219,213,79,12,195,240,125,61,126,169,167,38,24,252,254,239,1,
-0,85,142,151,88,77,177,193,143,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_12 = 593;
-static unsigned char xml_res_file_12[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,
-0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,216,5,31,15,9,18,219,4,113,
-103,0,0,1,209,73,68,65,84,56,203,173,147,187,110,19,81,20,69,215,125,205,
-140,29,147,96,27,155,87,32,137,80,146,10,41,45,13,2,137,134,138,10,9,9,
-16,32,126,128,34,162,162,165,65,41,242,7,33,2,33,62,3,33,190,128,214,9,
-137,12,38,56,142,61,241,99,176,103,60,158,161,193,47,166,32,18,156,110,
-159,123,206,214,190,251,222,13,255,88,98,18,220,91,223,138,79,178,244,126,
-227,137,72,16,60,125,241,46,190,178,80,228,124,97,142,252,233,25,108,75,
-79,45,249,65,72,253,216,227,160,214,164,180,95,101,235,229,125,1,160,1,
-30,60,223,246,239,220,90,99,233,98,110,180,208,237,245,233,5,33,142,165,
-177,45,141,148,226,247,249,37,246,42,23,232,247,183,253,183,175,30,217,
-26,64,72,105,21,178,25,220,86,55,33,183,23,132,244,130,112,170,87,200,102,
-80,74,89,35,5,150,86,212,220,206,137,141,83,82,160,149,100,68,96,140,162,
-237,249,12,6,33,131,48,196,178,157,191,146,24,163,198,4,74,41,118,118,74,
-84,202,187,56,78,154,131,202,62,55,111,223,165,31,248,84,191,151,153,95,
-92,6,152,194,74,77,16,88,70,241,173,188,203,234,213,107,0,156,189,188,66,
-253,168,142,219,56,164,90,217,195,56,167,208,218,224,54,14,249,241,245,
-11,118,122,22,107,82,129,49,154,35,183,77,182,209,30,155,247,179,67,171,
-233,113,220,238,82,115,59,104,109,104,53,61,154,94,143,106,189,77,102,54,
-203,148,137,243,11,203,148,62,127,98,46,91,164,31,248,44,173,174,145,78,
-165,48,74,146,203,157,1,72,224,137,43,104,242,133,115,228,242,69,2,191,
-139,157,154,65,10,129,101,52,233,197,149,209,240,159,120,68,160,181,28,
-62,16,41,199,78,56,30,197,17,82,200,41,156,248,202,27,175,63,196,81,20,
-35,229,56,30,81,52,142,198,176,63,156,89,127,124,67,36,194,180,249,230,
-99,28,197,241,64,10,161,146,42,98,164,16,3,64,61,123,120,93,240,191,234,
-23,207,55,164,65,190,27,85,130,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_13 = 38036;
-static unsigned char xml_res_file_13[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,176,0,0,1,142,8,6,0,
-0,0,246,62,86,247,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,18,0,
-0,11,18,1,210,221,126,252,0,0,0,7,116,73,77,69,7,218,1,22,19,11,5,186,157,
-132,119,0,0,32,0,73,68,65,84,120,218,236,189,121,116,92,231,117,39,248,
-123,245,94,189,87,11,10,133,141,216,8,144,20,184,73,164,184,104,151,188,
-72,182,100,199,146,99,199,75,220,157,153,116,167,219,238,204,105,247,56,
-75,159,78,79,150,57,86,79,86,111,177,19,39,142,228,142,163,177,207,140,
-61,233,137,198,241,73,172,120,145,188,106,177,73,138,18,41,146,226,38,137,
-59,1,16,75,1,40,212,94,245,182,249,3,188,79,95,61,188,170,122,85,40,20,
-22,222,223,57,117,0,20,106,121,223,247,221,119,127,223,93,190,123,165,143,
-126,244,163,54,24,12,6,131,193,88,99,8,240,20,48,24,12,6,131,9,140,193,
-96,48,24,12,38,48,6,131,193,96,48,152,192,24,12,6,131,193,4,198,96,48,24,
-12,6,19,24,131,193,96,48,24,76,96,12,6,131,193,96,2,99,48,24,12,6,131,9,
-140,193,96,48,24,12,38,48,6,131,193,96,48,152,192,24,12,6,131,193,4,198,
-96,48,24,12,6,19,24,131,193,96,48,24,76,96,12,6,131,193,96,2,99,48,24,12,
-6,131,9,140,193,96,48,24,12,38,48,6,131,193,96,48,129,49,24,12,6,131,193,
-4,198,96,48,24,12,6,19,24,131,193,96,48,24,76,96,12,6,131,193,96,2,99,48,
-24,12,6,131,9,140,193,96,48,24,12,38,48,6,131,193,96,48,129,49,24,12,6,
-131,193,4,198,96,48,24,12,6,19,24,131,193,96,48,152,192,24,12,6,131,193,
-96,2,99,48,24,12,6,131,9,140,193,96,48,24,12,38,48,6,131,193,96,48,129,
-49,24,12,6,131,193,4,198,96,48,24,12,6,19,24,131,193,96,48,152,192,24,12,
-6,131,193,96,2,99,48,24,12,6,131,9,140,193,96,48,24,76,96,12,6,131,193,
-96,48,129,49,24,12,6,131,193,4,198,96,48,24,12,6,19,24,131,193,96,48,152,
-192,24,12,6,131,193,96,2,99,48,24,12,6,131,9,140,193,96,48,24,76,96,12,
-6,131,193,96,48,129,49,24,12,6,131,193,4,198,96,48,24,12,38,48,6,131,193,
-96,48,152,192,24,12,6,131,193,96,2,99,48,24,12,6,131,9,140,193,96,48,24,
-76,96,12,6,131,193,96,48,129,49,24,12,6,131,193,4,198,96,48,24,12,38,48,
-6,131,193,96,48,152,192,24,12,6,131,193,96,2,99,48,24,12,6,19,24,131,193,
-96,48,24,76,96,12,6,131,193,96,48,129,49,24,12,6,131,193,4,198,96,48,24,
-12,38,48,6,131,193,96,48,152,192,24,12,6,131,193,96,2,99,48,24,12,6,19,
-24,131,193,96,48,24,171,23,10,79,1,99,189,161,84,42,53,244,62,85,85,121,
-242,24,12,38,48,6,99,245,19,214,114,125,14,147,33,131,193,4,198,96,212,
-69,56,166,105,182,228,123,101,89,102,50,100,48,152,192,24,140,165,147,151,
-72,92,149,72,76,124,222,15,1,85,131,105,154,75,254,12,38,67,6,131,9,140,
-193,228,229,249,211,47,153,213,75,38,205,38,68,38,67,6,131,9,140,113,131,
-146,87,37,2,243,34,169,90,164,83,205,5,89,141,28,150,74,136,55,2,25,50,
-217,49,152,192,24,140,10,228,229,245,123,35,86,88,37,69,238,231,245,110,
-165,223,8,33,174,38,50,92,202,103,184,223,39,146,29,147,25,131,9,140,113,
-195,90,95,166,105,226,3,31,248,0,30,126,248,97,204,204,204,96,106,106,10,
-133,66,1,133,66,1,233,116,26,249,124,30,151,46,93,130,162,40,24,27,27,131,
-174,235,200,229,114,48,12,3,243,243,243,176,109,27,150,101,1,0,108,219,
-94,244,144,36,169,110,242,144,101,185,38,201,137,159,83,207,107,87,138,
-12,155,73,136,226,251,105,29,153,200,24,76,96,140,27,18,255,242,47,255,
-130,66,161,128,143,125,236,99,216,182,109,27,82,169,20,2,129,0,76,211,132,
-162,40,176,44,11,146,36,161,84,42,33,16,8,160,88,44,2,0,138,197,34,108,
-219,134,97,24,48,77,19,249,124,30,165,82,9,186,174,163,84,42,33,159,207,
-227,218,181,107,101,207,103,50,25,88,150,133,201,201,73,72,146,132,68,34,
-1,219,182,161,235,58,44,203,130,174,235,139,92,151,94,68,216,76,50,172,
-199,58,108,6,25,86,122,95,53,242,172,244,63,38,50,6,19,24,227,134,134,174,
-235,248,246,183,191,141,92,46,135,247,191,255,253,8,133,66,200,231,243,
-101,175,145,36,9,146,36,33,16,8,64,146,36,200,178,140,112,56,12,69,81,156,
-231,136,108,100,89,118,72,207,178,44,4,131,65,24,134,1,73,146,160,235,58,
-84,85,69,177,88,132,36,73,142,34,183,44,11,166,105,58,68,86,44,22,97,24,
-6,138,197,34,10,133,2,12,195,64,62,159,71,54,155,69,50,153,132,101,89,56,
-123,246,44,76,211,68,161,80,128,101,89,40,20,10,206,223,133,66,193,33,206,
-64,32,0,219,182,157,235,107,212,146,106,53,25,186,173,204,106,215,40,18,
-25,147,24,131,9,140,113,67,33,16,8,224,233,167,159,70,91,91,27,30,122,232,
-33,104,154,230,88,90,164,248,69,119,161,174,235,13,125,15,145,32,41,93,
-250,155,30,161,80,168,140,48,101,89,134,109,219,80,20,5,186,174,59,150,
-97,48,24,116,254,182,44,11,129,64,0,186,174,195,48,12,24,134,81,102,205,
-185,173,66,93,215,49,49,49,225,88,128,165,82,9,185,92,14,146,36,33,149,
-74,65,215,117,76,79,79,195,52,77,100,179,89,199,194,164,177,91,150,229,
-204,197,114,88,134,110,2,20,255,102,18,99,48,129,49,24,21,72,236,201,39,
-159,68,56,28,198,91,223,250,86,168,170,218,212,84,113,34,194,106,217,141,
-141,18,34,17,158,36,73,8,6,131,144,101,185,204,90,180,109,219,33,57,178,
-8,85,85,133,174,235,101,255,47,149,74,176,44,203,33,43,74,100,177,44,11,
-134,97,160,84,42,161,88,44,58,150,158,97,24,200,102,179,208,117,29,169,
-84,10,166,105,98,114,114,18,185,92,14,215,174,93,43,123,29,61,40,142,168,
-40,10,10,133,66,217,88,68,98,119,19,93,53,55,162,251,53,76,98,12,38,48,
-198,13,7,73,146,240,196,19,79,64,211,52,220,117,215,93,203,66,98,203,69,
-136,75,25,51,17,184,72,138,244,144,101,217,33,6,73,146,96,219,54,84,85,
-45,115,151,18,137,208,245,144,101,40,146,160,109,219,40,149,74,142,85,104,
-154,38,138,197,34,44,203,66,38,147,113,44,190,82,169,132,137,137,9,24,134,
-225,60,159,203,229,96,219,54,138,197,162,67,162,137,68,2,197,98,17,170,
-170,58,36,108,24,6,20,133,85,17,163,129,251,224,163,31,253,168,205,211,
-192,88,11,16,179,16,221,15,178,52,126,231,119,126,7,119,222,121,167,227,
-142,99,212,111,209,186,227,134,0,160,40,10,36,73,114,136,70,116,139,26,
-134,1,0,14,41,18,73,139,110,75,202,16,157,159,159,199,225,195,135,241,253,
-239,127,31,138,162,64,150,101,231,51,233,59,216,10,99,176,5,198,88,119,
-16,45,43,119,178,0,41,219,191,248,139,191,192,163,143,62,138,221,187,119,
-67,81,20,71,185,50,252,65,180,192,154,101,29,90,150,133,217,217,89,204,
-207,207,227,169,167,158,194,241,227,199,23,17,93,48,24,172,152,185,201,
-96,84,130,188,127,255,254,63,226,105,96,172,21,144,171,75,60,183,37,42,
-95,219,182,241,252,243,207,99,223,190,125,232,237,237,93,244,26,70,107,
-215,170,88,44,98,114,114,18,99,99,99,120,226,137,39,112,250,244,105,39,
-94,71,100,233,229,254,100,48,124,121,12,120,10,24,107,205,10,115,118,95,
-215,227,60,164,240,200,29,101,89,22,254,228,79,254,4,87,174,92,129,166,
-105,172,16,87,200,146,203,229,114,152,158,158,198,201,147,39,241,231,127,
-254,231,184,116,233,146,147,20,34,38,154,240,38,131,193,4,198,184,177,92,
-7,46,82,18,201,76,81,20,148,74,37,60,250,232,163,24,31,31,135,170,170,236,
-154,106,177,229,149,76,38,49,61,61,141,127,250,167,127,194,99,143,61,230,
-100,59,186,9,75,204,196,228,53,98,48,129,49,110,24,43,76,36,45,247,67,81,
-20,100,50,25,252,225,31,254,33,166,166,166,16,14,135,89,65,182,0,186,174,
-35,145,72,96,122,122,26,95,250,210,151,240,157,239,124,7,165,82,105,145,
-133,69,174,66,209,117,200,235,195,96,2,99,220,144,214,88,37,18,75,36,18,
-248,228,39,63,137,68,34,129,72,36,194,147,181,76,32,151,225,228,228,36,
-206,156,57,131,71,31,125,20,39,78,156,112,226,92,116,78,140,214,69,211,
-52,231,65,68,198,96,48,129,49,110,56,43,172,18,145,169,170,10,69,81,48,
-53,53,133,191,252,203,191,68,50,153,68,56,28,230,201,91,6,242,74,165,82,
-72,36,18,248,233,79,127,138,207,126,246,179,72,36,18,101,107,18,8,4,160,
-170,42,84,85,133,166,105,80,20,197,73,163,15,6,131,236,66,100,52,182,121,
-229,44,68,198,90,182,188,40,43,17,128,103,50,0,85,171,184,118,237,26,46,
-94,188,136,59,238,184,3,177,88,140,207,136,53,1,116,8,121,118,118,22,137,
-68,2,95,253,234,87,241,237,111,127,219,57,15,70,196,21,12,6,157,135,170,
-170,206,239,238,13,135,184,174,12,6,19,24,227,134,35,177,69,46,134,235,
-41,247,129,64,0,99,99,99,152,153,153,193,222,189,123,17,141,70,153,196,
-150,8,170,172,49,62,62,142,207,125,238,115,120,245,213,87,157,195,206,129,
-64,192,113,21,146,229,37,62,200,2,19,15,70,139,150,53,131,225,7,124,144,
-153,177,230,65,7,156,43,237,220,233,255,154,166,225,185,231,158,67,40,20,
-194,199,62,246,49,132,195,225,178,186,126,12,127,176,44,11,217,108,22,115,
-115,115,56,124,248,48,158,120,226,9,228,114,57,199,218,18,99,144,68,88,
-162,245,37,18,23,91,92,12,38,48,198,146,17,14,135,29,215,14,128,69,63,43,
-129,172,24,241,167,174,235,139,90,155,172,22,18,11,6,131,120,230,153,103,
-208,222,222,142,95,249,149,95,65,40,20,98,18,171,3,148,34,159,74,165,240,
-228,147,79,226,251,223,255,190,83,89,159,200,171,18,113,185,201,203,237,
-58,100,235,139,193,4,198,240,68,123,123,59,34,145,72,89,60,194,15,65,137,
-228,228,70,61,239,37,98,163,170,230,169,84,170,229,36,70,137,29,0,240,205,
-111,126,19,154,166,225,131,31,252,224,162,54,44,140,197,160,6,158,51,51,
-51,152,152,152,192,151,191,252,101,156,57,115,198,169,164,79,105,241,162,
-219,208,203,234,18,201,203,189,118,12,6,19,24,91,82,136,199,227,8,6,131,
-14,97,85,35,163,165,196,129,234,121,175,155,56,197,207,200,229,114,208,
-117,29,243,243,243,75,182,220,170,145,24,253,143,148,229,223,255,253,223,
-35,28,14,227,225,135,31,102,18,171,2,203,178,144,207,231,49,55,55,135,51,
-103,206,224,175,255,250,175,49,55,55,231,100,17,82,188,75,180,180,68,11,
-204,93,180,87,172,156,194,228,197,96,2,187,129,209,221,221,141,72,36,178,
-136,172,220,174,189,165,144,79,51,64,215,230,245,189,116,237,61,61,61,101,
-164,150,203,229,48,51,51,179,172,36,246,119,127,247,119,208,52,13,15,61,
-244,208,170,111,195,178,82,228,149,76,38,157,66,188,223,254,246,183,161,
-235,186,67,74,148,6,95,41,211,80,76,151,39,210,98,183,33,131,9,236,6,69,
-123,123,59,226,241,120,25,97,85,35,171,86,88,88,205,112,67,186,255,31,137,
-68,16,143,199,49,48,48,224,16,218,252,252,124,67,174,71,47,119,21,145,152,
-109,219,120,236,177,199,176,97,195,6,236,221,187,215,233,154,204,88,88,
-147,185,185,57,36,147,73,124,249,203,95,198,145,35,71,0,96,81,188,43,24,
-12,150,101,27,18,113,81,70,162,187,94,37,147,23,163,89,224,126,96,107,0,
-253,253,253,142,149,181,84,171,106,165,149,179,31,178,171,244,26,122,158,
-172,179,137,137,137,170,159,35,246,15,163,159,244,160,230,140,84,49,221,
-52,77,252,241,31,255,49,246,237,219,231,20,156,189,145,173,174,98,177,136,
-153,153,25,92,184,112,1,127,245,87,127,133,201,201,73,135,184,42,185,12,
-69,43,76,172,188,193,228,197,96,2,187,1,73,139,98,89,141,88,87,173,138,
-109,213,75,78,141,188,215,235,127,226,188,204,207,207,87,36,51,63,36,86,
-42,149,28,194,250,194,23,190,128,145,145,17,231,127,55,34,121,81,227,201,
-3,7,14,224,137,39,158,64,169,84,42,235,242,92,175,203,144,201,139,193,4,
-118,3,160,187,187,27,61,61,61,21,73,107,169,241,172,213,224,26,171,135,
-228,106,89,98,94,150,217,252,252,252,162,184,89,61,36,166,170,42,62,251,
-217,207,98,243,230,205,208,117,253,134,34,49,211,52,157,198,147,95,255,
-250,215,241,236,179,207,58,135,192,137,184,136,160,84,85,69,40,20,42,35,
-50,209,101,72,164,197,196,197,96,2,91,199,104,111,111,71,79,79,79,69,247,
-96,163,164,181,214,226,56,181,136,173,17,50,75,36,18,78,204,76,36,49,145,
-200,68,87,34,145,88,44,22,195,103,62,243,25,108,220,184,17,249,124,126,
-221,247,170,178,109,27,165,82,9,51,51,51,78,221,200,11,23,46,84,77,145,
-247,178,186,216,101,200,96,2,187,65,32,186,8,253,144,214,114,184,11,91,
-69,114,141,186,22,27,117,43,138,127,139,46,198,122,72,172,163,163,3,159,
-251,220,231,208,215,215,135,92,46,183,110,73,76,172,170,113,228,200,17,
-124,229,43,95,65,58,157,174,152,34,239,69,94,213,82,228,153,188,24,203,
-9,174,133,88,193,149,98,154,38,126,250,163,167,208,217,174,32,28,237,110,
-202,231,26,134,129,174,174,46,12,12,12,32,164,133,0,107,97,247,43,73,146,
-147,72,96,26,38,138,165,162,83,29,66,108,189,238,38,159,74,255,171,244,
-58,247,163,149,74,178,210,163,90,25,161,106,175,243,250,159,251,57,26,99,
-44,22,67,111,111,47,34,145,8,230,230,230,170,22,255,165,218,137,233,116,
-26,175,188,242,10,238,189,247,94,180,183,183,175,203,204,68,170,170,49,
-55,55,135,127,252,199,127,196,55,190,241,13,20,139,197,178,88,151,88,191,
-80,60,160,92,237,112,178,120,190,139,203,68,49,150,19,156,70,239,82,138,
-182,109,227,208,161,67,184,121,199,102,140,94,155,71,87,228,16,250,250,
-7,81,178,162,13,43,137,193,254,65,108,26,222,132,174,206,46,244,245,245,
-33,26,141,66,85,85,4,228,55,21,169,101,91,48,12,3,133,98,1,197,98,17,115,
-115,115,152,152,156,128,174,235,200,164,211,200,94,175,53,183,26,44,170,
-102,194,235,154,189,172,43,247,235,188,206,188,137,207,211,115,162,133,
-27,143,199,113,251,237,183,99,118,118,22,147,147,147,200,100,50,222,187,
-58,89,134,166,105,184,122,245,42,254,236,207,254,12,143,62,250,40,186,186,
-186,144,203,229,214,141,156,27,134,129,153,153,25,76,79,79,227,241,199,
-31,199,169,83,167,32,73,146,103,138,60,197,186,56,69,158,177,218,192,46,
-68,1,23,47,94,196,11,47,188,128,112,56,140,108,54,139,141,27,2,248,225,
-151,55,161,152,75,225,241,103,223,3,195,214,124,127,86,56,28,198,214,155,
-182,98,247,205,187,17,137,70,144,207,230,145,206,165,145,201,100,96,152,
-38,58,58,58,208,221,211,141,225,161,33,244,244,244,56,187,88,221,124,179,
-150,96,62,159,71,34,145,64,98,122,26,99,99,99,72,38,147,40,20,139,78,198,
-92,179,8,107,185,136,111,41,89,137,245,124,142,31,119,162,251,57,211,52,
-145,203,229,48,62,62,142,76,38,83,150,216,33,186,21,139,197,34,246,237,
-219,135,223,251,189,223,67,44,22,91,243,36,102,219,54,242,249,60,102,103,
-103,241,250,235,175,227,139,95,252,34,102,103,103,107,86,213,224,20,121,
-6,19,216,42,198,216,216,24,126,248,195,31,226,238,187,239,198,225,195,135,
-17,12,6,113,219,205,109,120,234,179,10,58,59,99,248,217,249,189,120,242,
-185,56,74,70,245,166,123,1,41,128,61,123,246,160,189,173,29,103,207,158,
-197,197,75,23,97,217,22,84,85,69,36,28,69,36,26,65,36,18,70,40,28,65,56,
-20,6,36,27,125,189,189,184,227,142,59,176,109,219,182,55,251,40,201,11,
-174,172,108,38,131,68,34,225,244,92,26,189,122,117,33,83,44,157,174,171,
-244,209,106,179,206,150,35,46,230,151,204,232,239,66,161,128,96,48,136,
-84,42,133,241,241,113,100,179,217,138,36,246,182,183,189,13,159,248,196,
-39,16,141,70,91,94,168,184,153,150,87,42,149,66,50,153,196,211,79,63,141,
-111,126,243,155,77,77,145,103,226,98,180,26,28,3,187,142,231,159,127,30,
-97,181,136,115,231,71,161,105,26,134,134,134,80,48,163,120,225,88,17,183,
-220,254,65,76,203,31,194,206,77,54,94,191,144,128,13,169,162,213,165,170,
-42,94,61,249,42,94,121,229,21,76,39,166,97,193,114,98,7,145,72,248,122,
-92,64,129,26,84,161,105,42,50,153,12,174,92,185,130,87,142,29,3,32,97,235,
-214,173,8,200,1,167,67,173,162,40,136,197,98,232,136,199,17,143,199,17,
-109,107,131,26,12,194,182,44,200,129,0,242,30,149,212,189,226,94,171,81,
-153,214,19,15,243,122,159,215,235,189,254,87,41,86,166,105,154,83,161,190,
-171,171,11,145,72,4,243,243,243,111,110,70,132,94,98,23,46,92,192,220,220,
-28,246,237,219,135,112,56,188,230,14,58,235,186,142,217,217,89,36,147,73,
-60,254,248,227,120,250,233,167,157,62,106,68,78,98,204,43,28,14,35,20,10,
-57,178,75,46,69,119,138,60,247,241,98,48,129,173,2,140,94,56,138,137,132,
-142,251,111,143,96,251,150,110,204,231,52,200,178,140,7,31,249,183,184,
-255,189,191,13,89,150,49,159,211,176,37,118,20,231,198,131,128,139,196,
-134,135,135,49,58,58,138,177,209,49,216,214,66,98,134,109,219,48,77,211,
-73,212,128,20,128,114,221,69,163,168,111,186,108,10,197,34,82,169,20,174,
-142,94,197,246,109,219,208,221,221,189,160,24,174,39,25,88,150,5,73,146,
-16,210,52,116,196,227,136,70,163,136,132,195,80,130,65,152,134,129,182,
-88,12,201,100,114,213,146,85,163,164,86,139,208,252,36,121,212,34,50,34,
-41,82,202,27,54,108,128,170,170,78,124,76,252,255,249,243,231,145,207,231,
-113,235,173,183,66,211,180,53,113,70,204,178,44,20,10,5,36,18,9,156,63,
-127,30,159,250,212,167,202,170,200,147,85,69,177,46,77,211,16,10,133,60,
-51,13,69,210,98,151,33,99,53,128,147,56,174,227,254,119,62,130,244,216,
-247,240,127,126,50,6,91,10,227,87,255,212,196,195,31,248,56,62,254,241,
-143,99,110,110,14,153,76,6,91,163,63,193,214,91,15,98,122,172,13,71,174,
-221,7,96,225,240,241,192,192,0,0,64,146,36,24,230,66,25,34,89,150,209,217,
-209,137,246,120,59,20,89,129,26,82,17,14,133,161,6,53,200,74,0,74,112,161,
-107,173,108,43,216,208,211,139,72,56,12,203,182,112,242,212,73,108,223,
-177,29,0,96,99,33,102,129,235,10,148,178,230,58,59,59,17,14,133,208,30,
-143,195,212,117,156,56,117,122,201,125,173,154,237,98,108,70,252,171,90,
-226,70,181,215,214,147,224,65,196,69,238,68,195,48,208,217,217,137,80,40,
-132,68,34,129,153,153,153,178,54,44,223,253,238,119,209,219,219,139,95,
-252,197,95,92,245,21,236,197,170,26,135,15,31,198,223,254,237,223,162,88,
-44,150,197,187,168,59,114,165,20,121,174,170,193,96,11,108,13,32,160,132,
-208,185,97,27,134,162,167,49,216,215,134,237,119,255,54,238,125,251,7,144,
-203,229,48,54,54,134,175,125,237,107,24,61,251,20,238,191,171,15,123,55,
-207,224,226,104,14,221,155,238,71,60,30,135,174,235,8,4,2,56,117,234,20,
-6,6,6,176,101,243,22,236,216,185,3,93,221,93,136,197,98,136,182,69,17,10,
-133,96,217,22,44,219,132,97,26,40,149,74,40,20,242,8,6,21,196,218,98,8,
-6,21,104,161,133,86,40,187,119,239,90,176,224,174,91,12,182,109,195,50,
-77,232,165,18,76,122,14,64,88,211,96,67,66,201,208,49,58,58,6,69,81,42,
-158,87,170,150,78,191,28,86,91,181,239,242,235,46,172,215,125,88,205,250,
-170,230,74,36,247,24,157,19,35,247,109,44,22,67,44,22,67,177,88,116,214,
-24,0,142,30,61,138,158,158,30,140,140,140,64,150,229,85,105,137,81,85,141,
-185,185,57,124,253,235,95,199,63,252,195,63,192,48,140,178,170,26,226,217,
-46,77,211,16,14,135,161,105,90,89,122,124,53,151,33,167,200,51,152,192,
-86,17,12,43,136,215,38,135,209,54,240,16,162,253,239,128,105,154,152,154,
-154,194,99,143,61,134,151,94,122,9,167,46,107,208,164,57,220,181,111,19,
-110,219,124,5,175,158,55,81,10,12,1,0,242,249,60,134,135,135,157,82,80,
-34,145,16,121,120,145,74,161,80,192,124,42,137,120,71,39,12,67,71,40,20,
-194,222,189,123,22,44,46,129,188,74,165,18,44,219,134,101,24,48,116,29,
-134,105,194,48,77,68,174,147,95,32,16,64,58,157,134,105,154,235,58,6,86,
-15,153,213,75,100,154,166,57,177,45,241,28,89,71,71,7,52,77,67,58,157,118,
-92,138,135,14,29,194,214,173,91,49,48,48,0,69,81,86,21,137,21,139,69,36,
-18,9,76,78,78,226,51,159,249,140,83,69,222,125,118,139,220,133,110,183,
-33,145,19,187,12,25,76,96,107,12,186,165,97,102,54,137,205,155,134,144,
-78,207,35,52,253,215,248,191,191,117,18,134,185,16,243,58,124,70,197,112,
-79,22,187,111,217,130,93,61,199,113,236,124,16,37,244,46,184,15,13,163,
-140,44,170,17,151,251,121,9,64,177,84,66,87,87,23,246,239,223,239,196,191,
-76,211,68,169,88,92,56,187,163,235,11,15,195,128,97,152,200,230,114,144,
-2,18,122,122,122,160,105,26,36,73,186,30,115,3,12,99,237,157,9,107,148,
-208,154,73,100,100,105,185,137,44,20,10,33,30,143,59,7,206,1,224,185,231,
-158,195,142,29,59,48,52,52,4,73,146,86,124,163,64,85,53,18,137,4,142,31,
-63,142,79,127,250,211,152,152,152,112,8,139,82,228,53,77,115,30,149,14,
-40,139,164,197,228,197,96,2,91,67,72,231,37,36,167,206,224,45,125,79,98,
-207,166,73,236,219,106,225,187,135,36,88,246,2,137,61,123,44,128,93,195,
-121,236,220,177,21,187,186,95,196,137,203,157,40,152,241,134,136,203,249,
-159,161,163,84,52,112,207,61,119,97,243,230,205,11,241,46,34,173,235,86,
-85,169,84,194,228,212,20,206,95,186,132,115,231,206,35,149,206,96,122,122,
-26,115,115,73,132,66,26,182,110,221,138,189,123,247,98,100,228,38,196,98,
-177,235,164,106,194,182,215,102,114,71,43,50,20,189,92,137,212,176,145,
-230,76,156,187,104,52,138,96,48,232,212,72,124,246,217,103,113,231,157,
-119,162,167,167,199,179,178,71,43,231,138,170,106,252,243,63,255,51,190,
-250,213,175,46,170,170,225,174,172,225,238,223,85,43,69,158,93,134,12,38,
-176,53,130,249,172,132,11,99,6,246,244,159,193,205,35,157,184,117,171,138,
-239,29,48,175,39,86,0,63,62,2,220,117,179,137,145,145,173,216,209,254,2,
-142,95,233,135,41,197,43,214,49,172,72,92,215,255,23,8,4,80,210,139,248,
-229,95,254,101,68,163,209,5,242,186,222,151,74,47,233,200,231,115,120,225,
-231,7,112,230,236,107,152,157,157,67,46,159,199,232,232,40,206,157,123,
-3,227,227,227,215,107,253,21,177,109,219,54,108,220,184,17,253,253,253,
-24,28,220,136,142,142,133,230,151,129,64,160,98,229,137,245,76,102,245,
-18,153,72,98,132,64,32,224,172,17,101,239,181,181,181,57,117,19,127,242,
-147,159,224,246,219,111,199,134,13,27,86,132,196,116,93,71,34,145,192,196,
-196,4,30,127,252,113,252,248,199,63,118,210,255,189,42,200,211,195,43,69,
-94,116,25,114,138,60,131,9,108,13,163,179,111,55,166,178,125,216,28,125,
-25,183,108,141,97,168,79,198,143,94,90,32,34,211,4,126,120,216,192,253,
-251,131,216,188,101,11,182,181,61,139,163,151,6,97,74,109,117,17,23,193,
-52,77,220,116,211,8,222,249,142,119,0,210,66,252,75,215,117,152,134,129,
-98,169,136,103,158,249,1,46,94,188,136,66,97,161,66,71,42,53,143,68,98,
-26,83,83,211,184,116,233,34,46,94,188,128,82,169,132,116,58,131,182,182,
-40,84,85,67,87,87,23,186,186,186,208,217,217,137,222,222,94,88,150,133,
-68,34,177,230,215,165,145,84,251,122,207,140,169,170,234,184,10,13,195,
-112,44,50,122,189,109,219,104,111,111,119,54,6,207,63,255,60,238,189,247,
-94,116,117,117,181,140,196,44,203,114,170,181,92,184,112,1,159,250,212,
-167,112,238,220,185,178,56,151,219,101,232,229,46,20,227,93,236,50,100,
-48,129,173,3,236,220,185,19,145,72,4,25,189,7,87,167,21,220,212,126,18,
-183,221,18,71,123,84,198,11,199,23,20,91,201,0,126,112,40,143,119,223,219,
-133,225,225,1,108,9,63,139,227,163,35,40,26,138,111,226,114,220,150,233,
-52,126,227,19,191,129,120,71,28,176,109,88,182,189,80,82,42,151,195,15,
-126,244,35,156,62,125,6,185,92,14,153,76,6,165,82,17,185,92,14,250,245,
-120,216,212,212,20,36,73,66,169,84,114,42,118,88,150,5,211,92,200,58,235,
-233,233,65,123,123,59,198,198,198,48,62,62,190,174,214,105,57,137,140,206,
-242,137,49,49,178,198,128,133,99,13,225,112,24,225,112,24,179,179,179,120,
-238,185,231,28,18,91,238,131,206,84,85,99,118,118,22,223,251,222,247,240,
-229,47,127,25,233,116,186,140,140,220,174,66,119,43,20,49,54,198,228,197,
-96,2,91,7,232,238,238,198,214,173,91,203,178,247,230,75,253,24,159,42,226,
-166,206,115,184,103,79,27,12,75,198,203,103,23,254,87,40,1,63,56,56,139,
-247,190,99,4,27,251,99,216,24,124,22,199,199,182,193,134,234,219,141,56,
-61,61,141,255,248,235,255,17,169,76,10,125,125,125,11,74,242,122,242,198,
-129,67,135,112,232,208,33,20,10,121,20,139,5,71,129,82,45,186,80,40,132,
-238,238,110,36,147,73,168,234,66,10,116,62,159,199,228,228,4,82,169,52,
-116,189,132,98,177,132,201,201,9,188,244,210,75,78,170,56,176,144,57,73,
-110,202,229,124,52,171,38,98,51,172,178,122,137,76,36,49,42,130,75,117,
-43,137,196,2,129,0,218,219,219,145,201,100,112,224,192,1,220,119,223,125,
-206,241,138,229,0,21,226,157,155,155,195,19,79,60,129,239,125,239,123,139,
-82,228,197,152,23,165,199,83,166,161,159,170,26,28,239,98,48,129,173,49,
-80,26,60,41,30,145,116,102,139,67,152,153,153,193,77,93,99,184,255,182,
-48,18,243,10,78,93,92,248,95,182,32,225,135,63,187,138,15,60,114,23,6,122,
-128,1,229,0,94,189,182,3,54,148,170,196,69,174,195,187,239,184,27,239,120,
-240,29,136,132,66,56,250,242,203,72,38,147,232,238,238,198,137,87,95,197,
-79,127,250,44,82,169,249,69,169,204,101,139,40,203,232,232,232,68,42,53,
-239,84,20,15,4,2,142,75,241,245,215,95,199,169,83,39,145,72,36,202,136,
-165,85,104,53,177,53,131,200,220,36,70,37,167,104,60,94,159,17,137,68,144,
-205,102,113,224,192,1,220,115,207,61,232,232,232,104,234,60,139,85,53,174,
-94,189,138,63,253,211,63,197,201,147,39,203,170,106,16,113,185,211,227,
-233,192,50,87,213,96,48,129,173,67,140,140,140,32,22,139,149,145,151,104,
-61,1,192,172,190,13,249,212,21,12,119,205,224,93,119,107,56,63,22,192,249,
-177,133,88,71,58,31,192,115,7,223,192,7,222,255,11,24,232,72,161,75,122,
-17,199,199,182,2,168,172,68,117,93,199,212,212,20,126,243,19,191,9,89,9,
-32,155,201,64,85,20,32,16,192,75,47,31,193,129,131,7,48,55,55,187,80,134,
-170,6,2,129,0,162,209,40,230,231,231,175,19,152,132,64,64,70,62,159,199,
-133,11,231,33,203,10,44,107,117,29,184,93,110,82,107,230,161,103,58,232,
-76,215,71,73,29,34,225,25,134,129,112,56,140,76,38,131,99,199,142,225,238,
-187,239,70,91,91,91,83,44,49,74,145,159,157,157,197,225,195,135,241,249,
-207,127,30,115,115,115,101,214,20,37,106,84,114,25,114,138,60,131,9,108,
-157,33,28,14,99,235,214,173,8,133,66,139,200,203,109,61,233,186,129,107,
-217,109,80,244,243,24,232,200,224,61,247,133,112,252,92,0,163,83,11,36,
-54,155,150,113,248,200,105,188,255,131,31,193,198,182,49,196,236,19,56,
-51,181,29,64,192,211,157,88,40,20,240,91,31,255,45,108,222,182,25,185,116,
-26,217,116,26,182,36,193,150,36,24,166,137,23,15,29,170,217,3,76,116,7,
-90,150,133,182,182,54,228,243,121,103,135,61,57,57,177,200,237,181,154,
-177,28,100,230,151,200,106,89,99,94,36,70,68,102,89,150,83,138,42,20,10,
-33,153,76,226,204,153,51,216,191,127,63,218,218,218,150,100,137,81,227,
-201,153,153,25,60,249,228,147,248,198,55,190,225,156,87,243,74,145,231,
-170,26,12,38,176,27,0,237,237,237,184,233,166,155,28,69,36,18,150,219,2,
-123,147,200,2,56,63,123,19,186,149,51,216,16,47,226,189,111,213,112,240,
-100,0,83,115,11,36,54,49,27,192,169,147,199,240,222,15,252,123,108,140,
-158,134,157,61,135,139,201,173,0,164,69,132,168,6,85,124,248,35,31,134,
-105,232,200,164,82,11,101,162,0,216,146,132,47,124,254,243,232,232,232,
-240,77,94,4,219,182,209,214,214,6,85,213,144,78,47,180,206,232,234,234,
-134,15,35,110,221,147,89,51,14,60,139,37,167,220,69,129,41,54,73,175,157,
-155,155,195,149,43,87,176,127,255,126,68,34,145,134,44,177,82,169,180,208,
-19,46,145,192,231,62,247,57,28,60,120,208,177,184,197,68,12,174,170,193,
-96,2,187,129,208,221,221,141,161,161,161,170,46,67,247,239,244,183,13,25,
-111,36,182,99,48,244,42,122,226,38,30,121,107,24,63,121,25,72,102,22,72,
-236,202,164,132,177,75,199,240,174,247,253,47,216,18,123,9,211,19,163,24,
-77,13,149,125,206,252,252,60,254,219,31,252,55,116,116,199,145,73,165,22,
-44,168,235,228,245,204,245,86,23,181,92,135,148,132,225,181,99,39,171,75,
-108,249,190,150,209,76,50,243,67,100,213,172,49,177,116,148,155,196,0,56,
-235,38,73,18,38,39,39,49,61,61,141,91,110,185,165,174,54,44,228,50,156,
-153,153,193,137,19,39,240,233,79,127,26,163,163,163,85,83,228,221,85,53,
-168,115,50,167,200,51,152,192,214,17,250,251,251,209,215,215,215,16,121,
-57,10,6,10,206,78,111,197,230,232,43,216,208,97,227,145,183,132,241,253,
-67,22,178,215,141,161,215,174,216,200,207,157,192,219,222,253,235,184,165,
-227,89,92,28,77,97,182,184,209,177,146,246,237,217,135,7,222,249,0,242,
-185,44,178,169,20,44,219,118,220,135,223,250,214,183,16,10,133,124,91,93,
-149,96,219,246,186,32,175,229,34,179,70,173,177,122,73,236,234,213,171,
-200,231,243,216,177,99,135,47,18,179,44,11,243,243,243,72,38,147,248,254,
-247,191,143,175,124,229,43,101,110,97,175,20,121,175,244,248,74,241,46,
-118,25,50,152,192,214,40,134,135,135,209,213,213,85,53,222,181,56,246,229,
-157,73,88,40,73,56,51,177,25,219,226,199,209,219,25,192,187,239,141,226,
-95,126,102,162,120,157,231,78,156,3,34,230,171,184,243,129,255,128,125,
-221,63,194,137,115,6,178,102,31,166,166,166,240,7,191,251,7,208,66,42,50,
-169,212,66,161,222,235,214,215,95,124,225,11,104,107,107,171,219,234,186,
-81,177,84,34,107,196,26,243,58,236,76,175,19,227,98,212,48,50,16,8,224,
-252,249,243,48,12,3,219,183,111,47,123,159,123,195,65,41,242,137,68,2,143,
-61,246,24,158,126,250,105,216,182,189,168,119,151,159,170,26,68,90,92,85,
-131,193,4,182,14,80,41,211,208,175,213,229,69,104,186,21,194,153,137,141,
-216,217,125,28,253,221,50,30,184,35,138,167,126,166,195,48,23,206,15,29,
-125,93,193,80,244,52,118,221,253,107,184,99,195,247,241,226,25,21,191,250,
-111,126,7,187,247,239,70,38,149,66,38,157,94,40,79,37,73,40,233,58,142,
-30,61,90,49,113,99,173,182,178,95,235,68,86,205,26,35,50,162,24,152,104,
-141,145,149,70,36,246,218,107,175,33,22,139,97,211,166,77,139,42,216,91,
-150,229,84,145,191,112,225,2,62,251,217,207,226,245,215,95,119,8,201,171,
-16,111,173,170,26,28,239,98,48,129,173,35,242,18,3,233,75,33,47,55,74,86,
-20,175,77,244,225,150,238,19,24,234,147,113,207,173,49,60,245,51,3,150,
-13,24,166,137,151,222,136,96,71,247,25,108,191,253,127,194,107,175,79,224,
-145,95,254,109,216,182,137,76,58,13,195,48,28,215,225,163,159,252,36,218,
-219,219,217,234,90,97,34,171,215,26,171,135,196,142,31,63,142,13,27,54,
-96,104,104,200,233,37,70,141,39,103,102,102,240,211,159,254,20,143,63,254,
-56,146,201,164,67,94,238,134,147,92,85,131,193,184,129,8,172,94,242,170,
-86,77,222,11,186,174,35,91,138,226,245,107,29,216,221,123,26,91,6,21,236,
-217,30,199,247,14,148,96,3,40,20,138,56,122,33,142,144,117,14,191,240,43,
-223,64,79,95,55,50,233,52,10,185,220,130,235,48,16,192,207,127,254,115,
-100,50,153,69,53,244,216,234,106,61,145,213,115,200,153,158,163,117,35,
-185,113,147,24,197,196,136,196,54,109,218,132,190,190,62,152,166,137,68,
-34,129,100,50,137,175,127,253,235,248,206,119,190,3,211,52,23,145,23,89,
-92,228,46,164,7,87,213,96,48,129,221,32,228,85,45,77,190,150,213,85,173,
-182,33,33,171,119,224,74,34,134,155,55,156,193,142,77,10,182,12,197,241,
-195,195,37,188,125,215,44,126,243,23,199,48,58,219,141,173,123,222,3,45,
-20,93,72,220,0,32,201,50,108,73,194,215,190,250,213,178,93,50,91,93,171,
-131,200,234,41,57,69,103,196,188,72,140,42,217,83,86,224,145,35,71,176,
-109,219,54,20,139,69,140,143,143,227,139,95,252,34,78,159,62,237,124,150,
-104,117,137,93,147,221,86,23,187,12,25,76,96,55,8,121,213,34,44,191,46,
-67,175,255,5,131,65,200,178,140,180,222,131,241,89,5,59,122,222,192,173,
-35,50,186,59,100,60,114,251,36,110,185,73,197,214,129,44,230,46,127,27,
-103,207,77,66,139,239,68,80,11,193,150,36,60,254,216,99,101,138,135,173,
-174,213,67,100,245,184,20,197,131,206,149,72,12,88,72,214,144,36,9,135,
-15,31,70,60,30,199,223,252,205,223,32,157,78,59,101,192,232,112,50,85,214,
-32,203,43,20,10,149,149,139,98,151,33,131,9,108,157,18,216,114,146,151,
-219,34,35,165,72,53,232,138,129,155,48,61,171,99,168,237,13,152,197,89,
-108,27,10,34,24,212,16,141,104,216,208,169,160,39,116,30,137,75,223,195,
-229,9,3,221,131,187,240,163,103,158,130,172,132,217,234,106,17,145,53,66,
-98,126,93,138,181,72,76,85,85,199,26,147,101,25,151,47,95,134,162,40,40,
-22,139,14,25,17,113,145,60,185,45,49,247,185,46,118,25,50,110,84,72,31,
-253,232,71,237,245,54,168,225,225,225,178,106,224,245,212,10,75,13,0,0,
-32,0,73,68,65,84,158,247,170,69,94,94,196,69,143,72,36,226,252,62,144,251,
-12,246,109,73,162,61,22,66,52,162,33,168,134,32,201,97,72,176,145,207,231,
-49,157,52,113,101,42,132,174,104,22,143,253,228,65,152,54,239,154,91,137,
-112,56,92,247,123,42,145,159,251,249,98,177,88,86,252,151,98,96,180,65,
-161,131,230,36,79,169,84,10,147,147,147,78,60,141,10,244,146,53,70,110,
-69,58,215,199,86,23,131,225,46,210,183,14,208,223,223,223,114,242,138,68,
-34,136,199,227,136,199,227,14,129,201,197,215,48,220,149,64,44,26,132,97,
-42,144,229,32,100,57,8,203,14,32,147,43,65,150,129,238,120,0,90,160,128,
-225,225,45,248,15,111,125,22,1,176,245,213,74,228,243,249,186,221,181,126,
-100,3,0,52,77,115,158,83,20,197,73,242,32,2,162,131,234,225,112,24,178,
-44,163,179,179,19,253,253,253,142,187,48,18,137,44,170,170,193,228,197,
-96,148,99,93,149,105,232,238,238,94,212,14,165,217,228,229,182,186,34,145,
-136,67,90,4,219,42,97,163,253,15,184,105,80,65,80,85,160,170,65,200,202,
-194,67,50,13,64,181,161,235,128,101,2,111,140,154,216,117,179,132,187,246,
-111,70,190,244,60,254,159,195,239,88,143,251,138,85,79,100,245,88,99,186,
-174,123,90,98,238,231,53,77,3,240,102,38,162,219,125,73,132,20,137,68,96,
-219,182,67,88,201,100,114,193,61,114,221,234,34,235,141,137,139,193,88,
-167,22,88,123,123,59,6,6,6,90,70,94,162,213,229,86,102,109,217,111,97,251,
-96,26,186,165,66,150,23,172,47,72,65,232,6,96,154,58,44,11,208,45,9,175,
-95,181,241,202,27,10,254,243,231,175,32,95,4,222,118,123,59,62,180,239,
-231,0,108,150,204,21,32,177,229,176,196,0,56,241,41,178,196,68,107,138,
-126,82,101,141,254,254,126,116,117,117,85,204,52,100,242,98,48,214,25,129,
-133,195,97,108,218,180,169,233,228,69,9,32,238,24,87,60,30,71,79,79,15,
-34,145,200,162,247,72,249,179,216,30,127,9,61,29,65,216,80,160,40,65,200,
-138,130,128,28,196,236,124,17,166,9,24,166,141,66,17,120,229,117,224,135,
-175,132,112,232,108,4,191,255,87,151,97,216,109,120,247,157,38,238,31,57,
-204,146,185,66,36,86,15,145,185,19,132,252,144,24,0,79,18,163,231,130,193,
-32,6,7,7,209,214,214,182,40,81,67,36,46,38,47,6,99,157,16,216,114,145,151,
-8,183,213,229,5,219,44,162,167,244,15,216,182,73,129,18,12,34,30,11,58,
-177,175,128,100,162,179,13,48,109,27,134,37,225,226,184,133,209,132,4,195,
-92,112,15,253,248,88,20,159,122,226,34,44,185,19,255,250,129,52,110,237,
-59,206,210,185,134,173,177,74,36,70,110,69,93,215,43,146,152,162,40,24,
-28,28,100,226,98,48,214,59,129,141,140,140,56,46,188,102,147,151,151,229,
-229,101,117,17,180,212,183,176,107,56,5,221,12,2,210,130,235,80,10,4,81,
-50,149,235,37,131,36,232,186,132,82,201,198,120,194,194,191,123,111,8,237,
-209,55,223,255,143,47,180,227,111,191,57,138,64,48,142,143,63,60,129,77,
-177,179,44,161,235,140,196,116,93,119,170,104,136,86,25,101,39,234,186,
-14,73,146,160,105,26,134,135,135,203,202,71,49,24,140,117,68,96,195,195,
-195,158,103,189,154,69,94,244,147,92,134,213,206,15,217,217,51,216,214,
-126,24,253,61,65,104,90,16,74,48,8,89,94,112,33,166,179,69,24,38,96,88,
-128,97,74,120,241,12,208,174,101,17,106,223,138,191,251,125,5,33,65,55,
-61,241,221,78,252,127,79,79,64,86,219,241,95,62,112,17,221,218,69,150,210,
-21,36,177,122,93,138,245,62,71,86,153,120,88,153,218,165,116,116,116,96,
-112,112,144,23,130,193,88,111,4,214,222,222,94,150,46,239,86,14,205,36,
-175,74,46,67,135,188,204,2,98,185,255,23,219,134,22,172,174,176,166,32,
-168,4,161,40,65,72,1,9,241,104,0,150,105,95,143,127,89,200,100,37,252,236,
-202,189,72,165,11,104,239,218,129,47,255,111,42,148,235,158,34,203,182,
-241,231,223,236,198,143,15,78,34,28,137,225,127,255,240,105,196,213,49,
-150,212,53,98,141,53,66,98,94,50,75,136,68,34,136,197,98,188,8,12,198,122,
-34,176,106,113,175,90,173,219,253,144,87,173,120,87,25,129,77,63,137,61,
-155,82,8,40,65,228,74,170,147,50,175,155,65,148,12,19,166,181,96,125,21,
-74,192,169,139,54,174,36,251,48,150,236,199,63,62,167,160,144,186,136,205,
-253,50,254,226,183,52,80,3,102,221,176,241,201,255,171,15,7,94,73,160,189,
-61,142,63,248,224,49,180,41,211,44,173,55,16,137,209,79,73,146,208,223,
-223,207,11,192,96,172,23,2,219,185,115,167,111,210,170,167,69,138,72,94,
-68,96,181,144,155,57,138,45,109,71,49,220,23,68,72,83,16,139,202,78,226,
-134,13,27,166,1,152,38,96,26,64,34,105,227,90,34,128,243,179,219,0,0,87,
-231,135,240,221,35,61,152,45,108,192,205,91,34,248,163,95,127,243,88,94,
-190,104,225,119,159,232,195,43,167,166,209,211,221,137,223,127,255,139,
-8,203,73,150,216,117,70,98,213,222,171,235,186,211,162,101,100,100,132,
-23,128,193,88,235,4,54,60,60,220,112,210,134,95,183,161,95,242,74,38,103,
-209,94,120,10,187,110,146,17,144,131,80,213,224,245,67,203,11,177,47,69,
-182,1,9,48,45,27,150,13,140,78,219,184,50,215,11,11,111,198,210,206,78,
-108,194,143,15,23,144,205,101,113,239,110,5,255,229,95,191,73,98,169,172,
-133,255,252,223,123,113,230,141,73,12,14,108,192,127,125,228,231,208,2,
-25,150,218,117,68,98,181,100,87,204,86,220,184,113,35,47,0,131,177,86,9,
-172,82,220,171,81,242,114,195,111,204,11,0,230,231,231,17,72,253,24,123,
-55,205,33,26,86,49,153,124,51,101,222,176,130,72,229,108,152,102,0,166,
-9,228,139,192,92,202,198,228,172,132,75,243,219,22,125,214,171,215,182,
-227,133,147,17,164,242,26,222,119,111,30,255,254,189,111,146,216,76,10,
-248,95,255,186,7,231,46,93,195,200,150,94,252,246,187,159,71,80,226,106,
-245,107,133,196,234,245,10,84,146,83,219,182,17,137,68,60,27,158,50,24,
-76,96,107,0,213,42,109,52,66,94,238,67,202,245,144,87,122,110,20,195,161,
-23,49,50,164,64,85,101,12,245,189,89,46,74,13,42,144,96,195,180,22,18,55,
-44,19,56,115,217,198,229,217,30,152,182,119,38,227,225,203,187,241,243,
-99,41,164,114,5,252,155,119,230,240,129,183,191,121,254,103,42,25,192,127,
-250,98,28,163,163,163,184,121,91,55,254,211,59,159,135,44,149,88,122,215,
-0,137,53,226,218,246,146,109,114,37,246,244,244,240,228,51,24,107,141,192,
-106,185,14,151,178,11,174,199,109,56,63,63,143,249,249,121,116,219,63,198,
-237,219,13,72,129,133,108,195,160,162,92,47,27,165,2,54,32,75,11,21,55,
-12,211,70,42,107,99,122,46,128,171,233,237,85,63,251,165,177,251,112,252,
-98,15,178,249,60,126,227,3,73,188,227,246,55,73,108,52,161,226,227,95,140,
-99,114,114,2,251,118,182,227,99,111,125,30,18,23,255,93,211,36,86,207,123,
-117,93,119,90,173,176,43,145,193,88,67,4,38,186,14,155,29,247,106,132,188,
-228,210,5,236,25,56,143,238,142,32,146,89,13,182,180,96,121,33,16,196,76,
-42,0,195,180,97,90,64,81,151,80,44,2,175,95,182,49,58,215,85,209,250,122,
-19,18,126,252,218,109,56,126,49,130,201,84,55,126,247,95,205,227,246,29,
-146,243,223,115,227,26,126,235,75,109,152,155,157,194,221,187,195,248,213,
-187,95,0,96,177,20,175,81,18,171,55,30,102,24,6,44,203,66,52,26,101,87,
-34,131,177,86,8,76,116,29,86,83,2,75,73,218,168,213,228,144,200,171,84,
-42,98,72,253,41,110,221,26,128,162,40,232,239,146,161,169,11,177,175,96,
-48,140,104,72,130,97,1,166,105,3,166,133,201,25,27,215,230,100,92,205,111,
-247,53,86,203,150,241,211,115,111,197,232,68,14,197,98,22,127,242,209,36,
-118,110,122,147,196,78,92,12,225,191,254,247,8,50,233,89,220,191,95,198,
-47,221,250,2,184,248,239,250,39,49,130,44,203,48,77,19,27,54,108,224,137,
-103,48,129,173,246,11,172,230,58,108,148,188,8,98,59,20,63,228,165,235,
-58,218,205,151,113,223,206,164,211,34,69,9,42,144,21,5,114,80,131,101,3,
-1,201,134,121,221,117,104,218,54,206,143,3,23,103,251,97,89,254,187,0,27,
-86,16,63,56,123,15,206,77,196,145,203,23,240,185,95,79,98,72,208,87,7,207,
-68,240,201,39,84,20,242,25,60,114,175,141,129,200,121,150,228,117,78,98,
-238,120,152,162,40,24,26,26,226,137,103,48,129,173,86,132,195,225,170,174,
-195,70,81,143,235,80,36,47,75,159,199,238,158,163,24,216,160,160,100,168,
-144,3,193,235,173,82,84,232,102,8,150,9,232,166,13,93,183,145,205,3,19,
-9,27,19,179,10,166,10,245,159,225,41,153,33,252,224,204,189,184,50,29,129,
-109,38,241,165,223,152,67,119,252,77,75,235,71,199,218,240,127,124,13,120,
-35,177,25,111,123,247,191,67,46,151,99,105,246,154,199,82,169,226,99,165,
-72,172,81,144,236,155,166,9,211,52,17,137,68,26,234,42,189,220,115,203,
-96,48,129,161,188,218,70,181,93,235,82,92,135,181,200,43,151,203,57,4,218,
-23,120,30,247,238,46,45,244,104,82,20,4,20,178,194,194,152,75,153,48,12,
-192,52,108,88,38,96,89,54,78,158,151,112,62,185,165,113,133,104,68,241,
-163,215,238,195,133,113,9,138,157,192,151,62,145,68,68,123,51,230,149,10,
-188,5,237,59,255,16,123,111,221,139,155,134,57,59,77,84,162,116,118,138,
-44,108,241,81,73,1,183,138,196,154,225,74,164,172,196,86,37,116,248,153,
-219,229,156,87,6,99,77,17,88,119,119,247,138,186,14,115,185,156,243,208,
-117,29,178,126,9,247,223,124,17,161,208,2,105,181,69,22,234,29,202,74,24,
-146,172,160,51,38,57,105,243,166,101,99,106,214,194,120,50,132,148,222,
-183,164,121,72,151,226,120,246,210,187,113,126,92,65,84,73,224,79,63,54,
-143,160,108,99,219,166,118,252,207,239,191,5,249,212,85,152,122,22,31,253,
-181,143,32,157,154,191,33,133,216,173,80,53,77,115,172,20,175,7,21,207,
-165,135,91,241,182,2,75,117,37,26,134,1,73,146,32,203,50,186,187,187,87,
-197,220,174,134,121,101,220,88,144,247,239,223,255,71,171,213,250,178,172,
-5,107,163,210,79,247,239,94,127,187,211,229,137,188,98,177,88,89,175,37,
-55,121,137,214,87,62,159,195,254,238,159,224,190,93,69,152,8,67,146,84,
-132,67,26,20,53,4,221,142,2,166,13,211,180,80,42,217,40,150,108,88,166,
-141,131,39,3,56,149,216,5,211,94,122,27,140,188,17,193,120,50,142,238,208,
-101,108,217,144,195,182,205,29,120,248,129,45,136,134,223,140,171,133,35,
-49,152,166,141,203,163,83,101,109,58,214,51,220,238,179,64,32,224,40,117,
-96,161,142,96,181,135,97,24,176,109,219,233,124,92,42,149,16,8,4,28,133,
-92,73,62,106,193,48,140,154,73,65,36,171,238,239,168,246,183,216,224,146,
-200,197,52,77,180,181,181,97,102,102,102,213,204,237,114,205,43,131,177,
-104,131,181,26,47,138,18,55,188,98,95,141,86,219,240,155,117,232,38,47,
-0,232,213,206,224,193,125,179,144,21,13,65,69,65,80,13,66,150,85,200,74,
-24,249,34,96,97,129,180,116,203,194,92,218,198,108,210,194,149,217,14,148,
-172,104,211,230,36,169,111,198,51,103,238,195,182,153,89,236,216,190,17,
-133,204,40,222,204,62,180,1,216,120,239,187,239,193,207,14,190,2,40,109,
-55,4,121,209,250,16,97,155,166,89,87,223,44,203,178,156,247,234,186,238,
-88,228,197,98,209,177,28,26,237,195,149,207,231,27,138,79,209,225,122,175,
-191,233,119,241,167,162,40,144,36,9,195,195,195,184,122,245,234,170,152,
-219,229,156,87,6,99,213,19,152,159,196,141,70,93,135,213,98,95,94,228,165,
-23,146,184,127,247,241,235,69,122,21,4,131,11,109,223,229,96,4,82,32,132,
-80,208,68,169,8,24,134,4,203,180,17,11,155,120,225,120,0,87,179,59,154,
-62,47,41,107,7,158,127,99,30,87,231,103,241,11,119,247,163,148,155,6,32,
-149,189,230,215,126,229,221,248,218,255,248,33,162,209,245,75,98,164,96,
-131,193,32,76,211,68,48,24,116,172,25,89,150,157,164,27,96,161,4,83,45,
-23,30,253,46,186,185,114,185,28,134,135,135,151,102,57,251,32,49,55,97,
-213,34,49,247,115,134,97,64,150,229,154,241,220,86,205,109,43,230,149,193,
-88,181,4,54,50,50,226,187,252,78,45,197,80,201,250,170,68,94,98,194,6,41,
-160,157,29,71,176,239,166,34,44,132,49,155,9,98,176,87,129,18,12,195,176,
-67,40,21,109,72,182,13,211,178,80,40,45,164,206,191,113,85,194,249,68,63,
-236,101,154,218,182,88,28,19,153,54,60,241,207,23,240,175,222,21,71,123,
-49,137,130,20,184,78,100,18,182,12,14,97,160,55,138,84,246,198,35,175,75,
-151,46,33,151,203,57,221,141,189,32,42,93,183,75,218,182,109,88,150,133,
-112,56,236,100,117,182,194,90,240,34,168,122,94,75,238,185,145,145,17,92,
-184,112,97,69,230,118,53,206,43,131,9,172,229,202,201,221,97,121,169,174,
-67,183,245,229,165,40,196,132,13,186,193,242,249,60,98,193,4,30,222,251,
-198,66,145,222,160,130,112,36,8,89,209,32,203,33,4,2,10,242,69,19,182,101,
-195,48,128,98,9,176,76,27,175,94,84,144,40,109,89,214,121,146,101,25,145,
-206,237,248,251,31,78,226,158,155,243,184,243,230,44,138,185,9,64,146,32,
-1,248,183,31,186,27,127,246,165,239,161,171,107,125,29,118,37,107,70,220,
-144,144,101,32,203,178,99,65,55,101,163,208,214,230,196,107,214,138,43,
-81,150,101,132,195,225,134,210,249,91,53,183,75,153,87,63,137,32,76,138,
-55,22,86,85,180,191,90,197,13,63,150,86,45,235,203,139,192,42,145,23,0,
-188,117,203,75,216,208,1,72,129,5,183,161,166,5,33,7,195,8,40,33,216,215,
-15,45,91,198,66,2,135,28,48,241,250,21,224,194,18,210,230,235,69,71,87,
-31,142,95,217,132,255,241,76,26,249,92,22,165,220,52,10,217,107,8,74,73,
-220,183,111,208,137,57,172,75,193,21,18,85,72,201,74,146,212,148,207,38,
-37,216,44,183,92,179,82,235,171,65,146,36,152,166,217,148,230,151,94,115,
-219,140,196,160,70,230,181,82,218,126,173,140,71,206,122,100,2,91,17,235,
-203,203,234,242,211,110,162,17,235,203,157,42,47,42,155,141,177,203,184,
-99,100,18,166,29,196,233,43,26,36,73,129,172,68,160,155,97,140,38,0,221,
-176,96,232,54,242,215,51,15,117,221,194,43,23,67,72,27,173,61,143,21,10,
-133,96,135,111,197,223,125,187,132,115,151,102,80,202,207,162,152,157,192,
-225,35,199,112,244,200,139,235,90,120,101,89,134,170,170,206,163,89,4,70,
-160,172,185,86,145,88,61,36,87,169,66,135,166,105,77,57,220,76,196,165,
-170,106,83,55,7,238,121,173,68,52,225,112,216,33,45,241,61,129,64,160,236,
-225,149,194,239,38,51,198,250,197,170,113,33,46,135,245,85,137,192,200,
-69,233,142,123,137,74,166,43,60,129,72,72,70,80,13,98,239,118,25,65,53,
-132,64,48,4,57,16,70,91,88,135,105,90,48,204,133,236,195,66,17,56,123,89,
-194,165,244,206,21,155,191,142,158,17,60,125,52,133,151,79,191,134,87,78,
-62,143,23,143,141,67,81,100,108,222,50,142,193,193,193,53,47,168,162,82,
-166,24,13,41,54,209,10,105,6,68,37,40,42,195,149,136,133,213,19,31,35,43,
-108,96,96,160,174,88,152,123,110,169,222,34,145,87,179,44,48,113,94,35,
-145,72,69,15,129,87,22,36,197,216,232,218,40,21,159,226,108,129,64,192,
-121,15,125,15,103,61,50,129,181,212,250,170,55,246,85,139,188,220,86,151,
-248,153,34,113,121,125,110,46,111,225,192,73,25,55,223,36,99,243,70,13,
-178,18,129,44,135,96,89,38,84,25,208,75,54,76,195,130,109,89,208,13,11,
-47,157,139,67,183,194,43,58,143,109,109,237,72,235,187,48,155,154,128,36,
-1,134,97,226,228,137,151,49,56,248,75,235,78,112,69,229,218,76,37,235,70,
-53,69,219,136,21,214,72,86,98,165,255,87,138,133,169,170,218,112,44,76,
-156,223,149,210,5,213,178,32,211,233,52,210,233,116,217,198,130,32,18,22,
-33,147,201,96,231,206,157,76,98,76,96,171,223,250,170,4,55,137,17,121,121,
-185,14,9,23,51,247,32,166,206,99,246,100,14,51,57,25,55,111,85,209,163,
-5,97,88,38,76,211,70,161,4,164,179,18,130,146,141,211,151,101,140,229,119,
-172,138,5,13,6,131,120,235,253,239,65,111,223,41,188,122,242,4,198,39,102,
-113,252,216,43,216,183,255,54,150,246,6,92,93,244,115,37,15,223,182,194,
-10,171,69,102,205,118,33,138,243,74,228,82,141,188,174,92,185,130,177,177,
-177,58,55,116,109,104,107,107,238,113,146,90,46,73,38,201,27,144,192,150,
-195,250,170,244,26,209,125,88,137,188,0,192,178,3,56,150,248,5,108,237,
-185,128,240,212,4,146,121,27,91,6,138,24,236,9,64,178,45,152,166,5,189,
-100,34,93,4,14,95,232,131,97,218,176,109,163,204,221,81,246,121,214,226,
-190,93,94,175,35,69,33,42,12,175,231,42,189,134,176,109,199,46,244,246,
-15,225,216,145,159,225,141,55,94,195,142,157,55,175,104,225,215,86,96,255,
-254,253,101,187,245,64,32,0,219,182,161,40,138,51,255,135,14,29,170,89,
-181,130,148,144,170,170,77,139,129,181,210,10,35,55,96,51,177,111,223,62,
-231,128,50,205,175,162,40,78,138,124,35,243,42,90,183,138,162,148,141,139,
-198,160,170,42,44,203,242,77,224,149,8,115,169,217,164,138,162,148,253,
-116,127,182,120,60,128,201,236,6,34,176,70,14,53,250,77,155,23,127,138,
-164,40,190,191,146,155,197,182,109,216,54,240,218,228,22,156,159,218,136,
-187,70,198,160,155,243,184,54,29,64,95,167,141,158,152,141,80,208,194,203,
-175,201,120,99,162,13,182,61,47,188,207,94,244,187,23,113,217,182,237,16,
-15,61,231,181,211,21,95,71,175,17,255,38,215,25,61,47,150,253,185,235,222,
-119,226,181,211,199,240,194,11,207,225,93,239,250,133,154,164,184,150,224,
-14,232,71,34,17,231,80,47,149,49,162,221,188,101,89,208,52,13,71,143,30,
-93,241,235,110,36,181,190,30,43,140,230,102,41,213,57,196,121,45,149,74,
-136,199,227,78,54,32,145,87,48,24,116,8,172,81,101,237,149,145,40,146,164,
-170,170,208,117,189,33,57,85,85,21,165,82,105,73,110,96,49,30,39,90,143,
-180,89,160,231,196,248,30,199,222,110,32,2,171,84,117,163,25,214,151,155,
-188,220,86,152,23,81,152,166,233,252,164,223,45,203,194,15,142,117,163,
-59,26,193,91,118,78,32,151,181,48,21,178,48,155,1,158,122,185,11,217,124,
-214,33,25,145,176,150,242,156,151,149,86,233,117,94,4,39,254,222,221,59,
-4,53,156,198,248,248,56,84,85,117,148,59,41,33,177,190,221,106,135,168,
-56,200,178,165,235,39,133,75,135,109,105,183,44,73,210,66,182,166,107,158,
-86,51,150,106,133,145,11,109,41,115,43,206,171,88,74,74,140,53,170,170,
-218,180,121,165,152,181,59,137,68,188,150,70,45,176,70,220,192,213,146,
-73,76,211,68,38,147,89,228,94,164,121,200,102,179,80,85,21,241,120,156,
-73,108,189,18,88,35,85,180,27,137,149,137,55,166,187,210,134,27,178,44,
-59,238,38,138,39,16,102,115,17,60,117,100,11,52,89,71,103,36,139,177,100,
-20,150,5,40,138,183,213,37,18,14,61,200,173,37,90,94,110,194,169,84,254,
-136,254,231,126,141,23,33,138,187,89,203,178,16,139,197,28,203,140,118,
-184,138,162,56,207,173,118,144,213,226,94,127,82,174,94,174,42,34,50,81,
-113,213,51,214,102,187,15,91,109,133,209,61,86,203,181,87,105,110,197,191,
-169,40,111,36,18,113,100,136,100,167,94,2,243,51,175,180,134,228,106,108,
-36,65,103,41,217,164,213,226,113,163,163,163,0,80,150,76,34,86,40,33,183,
-117,62,159,71,60,30,103,75,108,189,18,88,79,79,79,77,75,171,89,177,47,63,
-228,69,55,33,185,47,220,132,32,150,198,201,218,93,136,199,109,207,74,249,
-226,239,94,46,69,47,171,202,77,60,94,215,37,186,10,233,111,119,37,112,247,
-115,162,162,89,47,85,234,189,172,48,183,219,136,178,241,104,252,245,40,
-127,77,211,86,197,249,161,122,172,48,175,231,76,211,68,87,87,87,93,149,
-234,197,247,138,127,147,130,54,12,195,137,73,5,131,65,148,74,165,166,206,
-43,125,175,152,101,234,182,250,26,117,85,250,117,35,86,35,47,0,24,31,31,
-175,57,135,138,162,32,26,141,130,177,78,9,44,28,14,47,170,56,95,139,148,
-252,90,95,94,55,84,45,242,170,6,145,216,24,171,203,10,19,119,243,20,168,
-39,215,33,181,245,160,184,205,106,29,79,51,72,173,82,233,41,191,229,165,
-220,115,235,38,50,113,115,64,86,88,35,22,161,23,97,201,178,92,230,62,20,
-215,202,77,100,173,208,75,226,248,233,154,196,86,50,141,140,143,173,176,
-229,193,138,109,201,221,214,87,35,132,229,231,255,213,98,94,140,181,13,
-49,62,33,86,101,48,12,195,137,133,137,86,232,90,148,129,165,222,3,166,105,
-162,167,167,190,234,48,180,177,52,77,211,185,119,104,62,105,126,169,199,
-87,61,27,203,90,155,204,85,167,28,175,187,218,41,110,28,12,6,17,10,133,
-124,109,120,155,93,142,140,177,202,8,44,30,143,151,9,127,181,214,41,141,
-222,36,94,239,109,70,73,31,198,202,90,45,94,235,235,213,33,184,84,42,57,
-202,182,86,123,149,213,52,158,70,73,205,235,94,146,36,201,119,50,7,93,139,
-219,13,233,69,100,148,157,72,207,53,115,94,105,195,225,229,5,169,7,109,
-109,109,104,111,111,111,232,26,68,130,37,43,138,226,198,245,90,96,203,25,
-75,189,209,177,34,46,68,63,201,27,205,136,125,49,121,173,111,18,19,99,21,
-186,174,59,177,48,138,205,132,195,97,24,134,225,40,157,181,26,3,108,36,
-22,230,86,254,126,146,57,104,110,197,121,165,121,35,37,76,253,199,40,22,
-86,175,66,119,67,116,203,185,221,151,68,150,178,44,163,179,179,19,187,119,
-239,246,204,6,164,99,18,150,101,65,215,117,39,115,152,42,223,187,221,160,
-149,224,118,231,186,179,32,41,115,215,15,1,107,154,182,136,116,217,141,
-184,78,8,140,82,231,43,237,28,151,219,237,194,88,63,68,70,74,71,84,126,
-186,174,59,169,216,148,61,71,129,248,213,62,142,102,145,157,219,138,234,
-233,233,241,157,204,225,38,49,218,28,200,178,236,148,171,18,227,140,141,
-204,43,173,145,23,9,139,223,71,215,223,219,219,139,158,158,30,231,123,137,
-192,74,165,18,138,197,162,227,218,36,55,167,120,12,6,88,40,220,93,79,12,
-203,93,11,146,14,198,215,243,25,244,221,205,44,71,198,88,5,4,230,174,188,
-209,10,66,98,235,107,253,194,173,252,196,157,61,37,29,172,101,11,172,17,
-171,203,253,186,122,199,238,38,85,178,194,90,53,175,94,199,35,68,162,164,
-223,197,184,156,97,24,139,220,201,116,109,126,137,135,230,84,124,61,205,
-159,223,100,18,113,62,86,75,57,178,245,138,150,223,209,126,250,21,53,203,
-125,200,228,117,99,88,97,162,92,144,242,160,24,13,253,92,75,227,88,142,
-123,34,16,8,52,212,43,204,189,209,92,238,121,117,39,143,136,137,57,148,
-85,74,150,21,185,10,197,18,87,238,234,44,75,181,186,201,114,167,212,120,
-191,46,64,177,205,15,99,29,17,24,89,95,238,27,111,57,146,55,152,188,110,
-44,43,204,143,60,173,182,36,142,102,140,185,214,92,144,165,66,137,83,141,
-40,113,119,223,177,229,158,215,82,169,84,70,100,133,66,1,166,105,34,159,
-207,151,245,241,115,187,12,201,218,17,45,30,250,233,135,76,220,205,112,
-169,76,150,251,188,167,31,172,39,89,99,2,19,8,108,41,196,196,241,45,70,
-163,10,113,189,91,97,181,222,87,175,11,203,125,61,75,237,26,93,9,84,8,87,
-36,75,49,254,229,231,65,132,71,63,41,94,71,133,118,107,145,151,59,6,41,
-90,94,68,98,193,96,208,23,9,138,201,27,110,55,40,55,216,108,46,90,26,3,
-107,70,246,97,163,55,160,95,193,89,107,38,127,61,55,196,90,26,155,159,113,
-137,227,17,43,39,172,213,93,113,169,84,170,73,50,116,253,94,107,217,204,
-108,68,63,247,169,87,169,166,165,144,152,152,220,69,238,67,183,5,229,94,
-95,247,161,118,250,191,72,94,245,130,202,201,209,153,47,177,18,135,95,11,
-76,211,52,71,255,80,177,223,98,177,216,242,56,216,122,213,15,43,66,96,245,
-102,31,46,133,204,168,157,56,89,124,94,109,16,68,129,245,106,135,176,218,
-22,89,188,54,175,113,121,41,239,90,99,91,45,66,75,215,86,107,189,220,227,
-33,151,52,145,23,197,61,104,23,76,241,145,213,120,115,122,141,153,148,102,
-165,181,164,146,78,244,94,170,60,226,38,19,175,108,68,114,35,54,131,192,
-150,10,178,146,196,113,186,211,232,221,99,161,49,187,73,196,77,252,75,137,
-123,185,191,155,228,144,50,18,253,166,209,139,239,113,143,115,57,211,233,
-171,221,71,245,234,135,181,64,104,45,37,176,122,179,15,235,37,52,58,251,
-83,40,20,32,73,18,34,145,200,162,69,19,21,93,165,118,8,238,5,22,221,28,
-173,38,56,47,18,118,159,109,17,199,228,158,171,74,99,243,234,94,219,106,
-129,117,143,205,235,208,39,141,73,140,111,136,227,161,90,117,244,147,214,
-107,181,86,122,168,53,102,74,249,175,180,150,110,37,154,207,231,161,40,
-138,179,158,212,54,166,146,117,182,210,61,225,220,61,193,168,253,141,23,
-193,185,231,192,235,40,132,72,94,244,187,251,53,126,220,135,110,11,94,140,
-123,81,223,179,122,44,120,85,85,203,44,48,183,21,214,76,18,171,37,83,245,
-234,7,58,114,176,22,122,155,181,140,192,252,156,136,111,148,216,72,128,
-195,225,176,179,120,94,139,230,14,234,146,159,220,173,44,189,174,165,154,
-187,196,107,23,179,212,5,119,55,208,163,49,185,111,34,81,17,184,175,201,
-107,108,244,92,165,254,69,173,16,86,113,108,181,198,85,107,60,52,55,164,
-112,104,183,235,182,194,150,186,51,111,229,152,221,73,18,154,166,149,85,
-18,17,215,82,204,116,115,199,172,42,145,120,123,123,59,82,169,212,138,146,
-88,37,87,175,219,13,76,107,230,69,76,36,175,238,4,14,81,17,215,178,120,
-68,242,34,75,93,212,15,244,189,225,112,24,129,64,192,215,198,136,228,78,
-211,180,178,207,106,54,137,213,35,83,245,232,7,241,186,221,100,182,218,
-136,172,101,4,230,118,31,54,131,204,196,69,17,79,232,187,235,149,185,111,
-24,119,77,55,183,85,69,165,113,104,33,43,157,115,17,175,145,8,97,169,205,
-236,220,38,191,40,148,116,19,120,17,177,101,89,78,170,49,141,207,109,97,
-209,235,52,77,43,171,130,79,215,190,220,194,42,142,77,92,47,247,205,37,
-222,116,52,46,178,220,221,7,66,105,141,76,211,68,91,91,91,153,203,70,211,
-180,178,88,198,74,18,87,61,99,150,101,217,201,186,19,203,96,209,186,72,
-146,228,52,147,164,38,158,244,28,117,54,22,173,50,81,233,146,27,113,37,
-9,172,146,59,81,36,47,90,123,113,158,220,164,71,74,152,82,232,233,119,250,
-60,34,11,191,150,151,216,247,140,44,93,186,95,104,67,84,143,5,38,18,171,
-152,148,18,137,68,202,238,181,122,239,179,70,100,138,228,135,170,149,184,
-93,209,110,253,160,40,10,12,195,112,238,175,213,74,100,45,35,48,183,155,
-160,222,234,27,226,235,194,225,176,51,145,226,185,31,58,145,47,46,28,85,
-208,46,22,139,72,167,211,40,20,10,40,22,139,21,51,190,84,85,133,166,105,
-8,133,66,72,165,82,8,4,2,8,133,66,208,52,109,145,251,197,178,44,36,18,137,
-69,130,144,205,102,33,73,18,134,135,135,125,47,116,53,161,52,77,179,236,
-187,85,85,117,200,151,210,137,243,249,60,138,197,98,89,95,34,241,179,169,
-188,141,168,216,104,7,79,227,91,46,97,245,26,155,120,179,137,196,76,223,
-155,203,229,144,205,102,145,205,102,81,44,22,61,221,66,164,232,137,160,
-138,197,34,34,145,8,98,177,88,25,105,209,121,33,175,26,123,173,36,174,74,
-99,166,174,195,186,174,35,153,76,58,107,233,165,124,3,129,128,19,243,146,
-36,201,233,73,21,8,4,156,218,127,145,72,196,233,71,21,14,135,145,201,100,
-202,234,33,174,150,2,179,162,75,144,200,195,157,253,55,63,63,95,177,221,
-144,72,232,212,76,82,140,13,210,166,108,120,120,120,17,81,184,203,101,137,
-149,240,105,157,196,78,208,100,125,249,185,23,232,94,203,100,50,101,181,
-56,233,243,232,218,178,217,44,66,161,16,122,123,123,125,125,110,171,100,
-170,88,44,34,149,74,57,198,64,37,221,176,26,72,76,105,165,176,86,139,127,
-249,37,50,154,60,183,139,80,172,28,45,18,201,133,11,23,144,207,231,145,
-205,102,125,125,62,185,29,2,129,0,226,241,56,218,218,218,202,172,26,218,
-241,190,254,250,235,176,44,203,17,70,177,103,24,41,13,63,150,152,187,133,
-133,184,99,18,223,71,194,25,8,4,112,245,234,85,36,18,9,232,186,222,80,90,
-46,185,74,34,145,8,44,203,66,62,159,71,50,153,68,36,18,113,4,86,150,229,
-37,91,147,94,29,109,189,206,230,152,166,137,80,40,132,107,215,174,97,114,
-114,18,133,66,161,230,184,220,217,101,161,80,8,157,157,157,142,197,108,
-154,38,58,58,58,28,235,146,122,179,45,55,252,142,153,80,40,20,48,54,54,
-134,116,58,221,144,85,68,235,168,170,42,82,169,20,166,167,167,17,141,70,
-209,219,219,235,200,174,162,40,40,20,10,40,20,10,136,197,98,75,174,95,216,
-76,136,229,153,196,108,191,11,23,46,56,231,188,42,193,221,167,79,236,215,
-39,186,253,68,194,83,85,117,81,75,30,177,202,70,62,159,199,171,175,190,
-234,120,97,200,186,85,20,197,119,65,225,76,38,131,51,103,206,56,174,108,
-241,192,181,40,131,154,166,161,80,40,248,118,115,174,132,76,17,153,133,
-66,33,68,34,145,69,46,208,149,182,198,90,34,201,141,86,132,118,47,162,104,
-117,145,128,185,149,190,44,203,152,152,152,192,165,75,151,150,84,127,204,
-178,44,204,205,205,97,110,110,14,157,157,157,232,237,237,69,48,24,68,54,
-155,69,36,18,169,41,24,84,72,180,218,110,197,45,152,94,194,73,214,87,58,
-157,198,149,43,87,48,55,55,183,228,234,214,150,101,57,10,141,174,85,211,
-52,152,166,137,217,217,89,88,150,133,174,174,46,180,181,181,53,188,227,
-170,213,20,144,20,134,97,24,24,27,27,195,196,196,196,146,206,200,20,10,
-5,92,187,118,13,83,83,83,232,234,234,194,142,29,59,156,58,125,228,158,90,
-42,129,249,221,140,84,27,51,201,196,213,171,87,49,49,49,209,80,154,183,
-251,154,104,222,66,161,16,162,209,40,12,195,192,197,139,23,161,170,42,134,
-135,135,209,213,213,85,70,100,177,88,108,197,227,96,162,187,208,171,238,
-96,46,151,195,252,252,124,83,190,75,116,37,146,139,149,174,65,140,123,17,
-129,205,205,205,45,233,251,12,195,64,50,153,172,57,126,0,53,155,94,174,
-22,153,178,109,27,179,179,179,8,4,2,206,198,112,53,88,99,45,33,176,165,
-166,207,139,5,89,189,18,52,66,161,144,19,51,120,229,149,87,154,126,99,206,
-205,205,33,149,74,97,104,104,200,215,89,54,177,241,95,37,43,198,45,152,
-116,3,81,227,60,18,208,108,54,139,83,167,78,45,171,178,201,100,50,200,100,
-50,80,20,5,177,88,12,129,64,0,201,100,18,233,116,218,233,219,86,143,160,
-250,25,155,105,154,184,124,249,50,70,71,71,171,238,178,27,137,167,76,79,
-79,99,110,110,14,119,221,117,151,99,133,144,117,222,8,137,249,41,198,74,
-138,177,214,122,38,18,9,92,188,120,113,89,138,187,210,166,132,148,78,169,
-84,194,249,243,231,49,55,55,135,45,91,182,192,48,12,4,131,65,164,211,233,
-85,17,7,243,146,37,177,112,110,51,62,159,20,177,152,152,32,18,136,59,182,
-182,18,245,10,43,109,116,87,163,76,89,150,133,217,217,89,100,179,89,116,
-117,117,45,75,86,229,170,35,176,165,164,52,135,195,97,100,179,217,50,242,
-34,127,180,152,14,63,58,58,138,243,231,207,47,171,144,93,190,124,185,174,
-30,67,98,214,145,232,151,23,207,46,137,86,23,41,89,114,53,188,241,198,27,
-184,118,237,90,203,132,193,48,12,204,205,205,33,20,10,161,163,163,3,165,
-82,9,147,147,147,232,238,238,246,221,89,214,157,213,229,30,155,44,203,72,
-165,82,56,125,250,180,227,102,93,174,177,28,60,120,16,247,222,123,47,118,
-238,220,217,48,121,213,235,50,172,180,158,186,174,227,244,233,211,53,119,
-230,205,84,58,209,104,20,237,237,237,152,157,157,69,42,149,194,174,93,187,
-28,75,108,53,244,168,18,61,39,20,131,34,217,106,164,255,87,37,18,171,84,
-72,215,109,125,185,51,243,90,69,224,238,141,174,24,163,92,173,50,85,44,
-22,113,237,218,53,108,216,176,97,69,187,78,183,36,162,93,171,124,84,165,
-231,201,109,232,38,47,218,161,133,66,33,40,138,130,147,39,79,46,43,121,
-137,56,117,234,84,205,146,63,154,166,149,45,164,166,105,136,68,34,206,67,
-116,95,136,55,15,237,172,242,249,60,14,28,56,208,82,242,114,11,235,204,
-204,140,115,227,76,78,78,66,146,36,207,204,198,106,228,229,30,155,36,73,
-152,157,157,197,209,163,71,151,149,188,68,28,58,116,8,71,143,30,117,214,
-161,153,73,28,238,241,186,19,1,196,49,31,62,124,184,37,138,70,68,54,155,
-69,34,145,112,50,202,142,29,59,134,68,34,1,195,48,16,137,68,86,172,172,
-145,123,67,75,127,19,153,168,170,218,148,117,114,31,125,33,249,173,180,
-161,150,101,185,101,149,90,220,4,45,234,8,81,63,172,102,153,2,128,107,215,
-174,193,178,172,154,186,97,205,18,88,163,7,39,233,125,149,200,139,82,62,
-15,28,56,128,169,169,169,150,78,218,169,83,167,124,189,206,125,2,223,189,
-171,34,161,12,133,66,206,239,19,19,19,56,124,248,112,83,221,106,141,64,
-215,117,199,231,173,40,10,38,39,39,23,165,231,139,194,42,186,59,220,99,
-163,241,77,77,77,225,232,209,163,45,31,219,171,175,190,138,23,95,124,113,
-89,228,218,43,139,77,28,243,217,179,103,241,234,171,175,174,216,122,234,
-186,142,68,34,225,156,31,59,123,246,44,18,137,132,115,232,127,181,212,230,
-91,78,215,93,173,18,99,193,96,208,179,141,202,74,185,81,221,7,243,87,179,
-76,41,138,130,169,169,169,138,71,119,214,188,11,177,222,148,93,209,26,179,
-109,123,145,82,20,201,235,224,193,131,117,251,241,85,85,197,224,224,160,
-147,169,69,72,38,147,200,102,179,152,159,159,199,228,228,164,239,107,244,
-43,148,226,153,46,247,174,138,206,172,76,76,76,224,228,210,109,191,98,0,
-0,32,0,73,68,65,84,201,147,13,205,243,198,141,27,209,209,209,129,104,52,
-90,22,24,46,22,139,200,100,50,200,102,179,152,152,152,240,157,141,9,192,
-241,119,183,183,183,67,81,20,36,18,9,244,247,247,47,10,138,139,55,158,219,
-242,162,243,52,141,142,45,26,141,98,112,112,16,170,170,150,173,23,165,216,
-39,147,73,76,77,77,213,92,147,227,199,143,99,96,96,160,169,22,88,37,107,
-147,198,124,245,234,85,140,143,143,47,105,45,69,119,245,220,220,28,74,165,
-18,70,71,71,235,74,52,160,132,164,142,142,14,168,170,138,115,231,206,57,
-191,231,243,249,21,13,194,123,89,67,170,170,54,205,133,72,103,184,188,238,
-195,149,68,48,24,196,134,13,27,60,207,125,186,201,171,217,50,37,234,135,
-100,50,137,82,169,132,177,177,177,186,172,57,183,76,205,206,206,162,175,
-175,175,229,238,196,150,16,88,189,221,151,69,215,161,104,173,208,207,112,
-56,140,151,95,126,185,174,44,165,104,52,138,93,187,118,225,166,155,110,
-242,252,255,134,13,27,156,9,215,117,29,231,206,157,195,107,175,189,182,
-100,87,151,123,103,87,73,48,115,185,28,142,29,59,86,215,103,111,223,190,
-29,189,189,189,216,184,113,163,99,217,121,9,154,40,72,51,51,51,184,120,
-241,34,46,92,184,224,107,167,100,89,22,146,201,36,186,187,187,161,170,42,
-166,166,166,176,113,227,198,69,238,25,183,85,185,148,177,69,163,81,108,
-219,182,13,195,195,195,53,155,38,146,114,26,29,29,197,137,19,39,170,174,
-215,211,79,63,189,228,2,180,238,250,139,213,8,219,175,165,78,242,183,101,
-203,22,12,13,13,45,138,31,18,136,192,247,236,217,131,108,54,139,201,201,
-73,140,141,141,225,234,213,171,190,190,35,149,74,161,171,171,11,0,112,236,
-216,49,236,217,179,7,179,179,179,171,226,92,143,219,242,217,183,111,95,
-89,159,47,154,87,74,73,63,116,232,80,205,154,142,98,18,135,159,142,220,
-148,97,247,224,131,15,58,238,102,58,67,73,93,168,21,69,193,55,190,241,141,
-170,159,211,213,213,133,219,110,187,13,185,92,14,182,109,195,48,12,39,227,
-87,172,18,35,186,74,221,231,185,150,83,166,220,175,1,128,221,187,119,35,
-151,203,97,106,106,10,99,99,99,24,27,27,171,75,166,20,69,193,244,244,52,
-6,6,6,234,78,250,90,213,4,86,239,110,71,116,205,72,146,228,73,94,211,211,
-211,184,124,249,178,239,207,188,229,150,91,112,235,173,183,58,159,87,9,
-134,97,56,109,19,246,237,219,135,155,111,190,25,47,189,244,18,94,127,253,
-245,134,111,74,175,19,254,98,176,154,118,96,47,191,252,114,93,130,185,127,
-255,126,116,118,118,150,53,22,20,199,38,10,14,141,203,178,44,116,119,119,
-163,187,187,27,59,119,238,196,161,67,135,106,90,155,226,238,159,20,104,
-42,149,66,71,71,71,89,182,152,24,132,167,155,177,145,177,237,221,187,23,
-59,119,238,116,214,202,107,108,52,62,82,112,0,48,50,50,130,145,145,17,156,
-58,117,10,167,78,157,170,72,206,141,102,106,185,61,9,213,200,171,30,194,
-142,199,227,216,191,127,63,250,250,250,156,241,26,134,81,118,152,157,214,
-82,84,192,109,109,109,232,236,236,196,45,183,220,130,108,54,139,227,199,
-143,227,181,215,94,243,181,107,222,176,97,131,179,235,94,201,118,247,148,
-52,33,234,8,154,131,120,60,238,16,6,205,43,29,133,112,111,202,154,97,73,
-147,204,6,2,1,103,45,162,209,104,217,119,251,109,104,169,170,42,226,241,
-184,83,139,53,159,207,35,18,137,148,245,46,163,88,155,187,102,33,29,226,
-94,78,153,170,228,37,106,107,107,67,71,71,7,118,236,216,129,108,54,139,
-147,39,79,226,141,55,222,168,75,166,146,201,36,54,108,216,208,50,153,106,
-25,129,213,147,192,65,190,85,170,44,46,214,58,148,101,25,71,142,28,241,
-237,46,188,247,222,123,29,211,86,84,132,110,23,5,41,10,202,210,34,247,195,
-59,223,249,78,12,14,14,226,224,193,131,190,23,69,220,229,187,11,204,210,
-1,75,241,128,228,145,35,71,124,157,221,8,6,131,184,239,190,251,156,241,
-144,80,26,134,81,150,100,225,30,95,48,24,116,206,68,145,226,143,197,98,
-120,232,161,135,48,53,53,133,231,159,127,190,166,53,102,89,22,82,169,20,
-226,241,56,242,249,60,218,218,218,28,119,135,88,135,80,12,54,43,138,130,
-19,39,78,248,30,219,3,15,60,224,156,89,162,181,242,26,27,85,25,16,149,59,
-201,202,109,183,221,134,91,110,185,5,207,60,243,76,83,171,174,187,51,230,
-220,25,108,34,97,31,60,120,208,215,103,110,219,182,13,183,221,118,91,213,
-181,20,107,31,186,45,106,93,215,157,244,230,183,188,229,45,24,26,26,194,
-11,47,188,80,117,45,77,211,68,58,157,134,166,105,24,31,31,119,186,52,183,
-210,10,243,106,138,89,42,149,28,215,150,184,225,243,218,152,137,101,208,
-252,174,157,215,198,213,171,76,21,29,217,161,36,23,145,180,252,118,161,
-166,141,6,149,110,18,61,20,212,205,218,93,141,191,26,121,53,91,166,220,
-250,65,188,143,104,179,27,141,70,113,207,61,247,96,112,112,16,7,14,28,168,
-234,49,19,101,42,157,78,59,235,216,10,153,10,180,138,192,252,32,20,10,45,
-42,208,233,222,225,158,57,115,198,87,28,39,30,143,227,193,7,31,68,103,103,
-167,179,152,166,105,34,151,203,161,80,40,32,159,207,35,159,207,151,85,217,
-160,82,47,244,28,9,222,206,157,59,241,161,15,125,168,97,247,147,88,215,
-79,20,80,69,81,112,249,242,101,95,217,134,193,96,16,247,223,127,191,231,
-120,40,11,72,220,221,121,141,141,14,14,211,205,20,10,133,48,60,60,140,71,
-30,121,196,151,144,209,220,105,154,134,108,54,91,102,73,186,215,137,78,
-241,95,185,114,197,151,117,243,240,195,15,47,170,122,226,53,54,177,189,
-188,123,205,72,73,197,227,113,124,228,35,31,65,79,79,79,83,172,4,247,46,
-217,189,174,180,150,138,162,224,248,241,227,190,82,177,239,184,227,14,220,
-122,235,173,53,215,146,202,158,137,107,75,227,39,229,68,227,222,180,105,
-19,222,247,190,247,161,179,179,179,234,119,83,169,51,85,85,145,76,38,157,
-67,236,43,5,177,1,165,88,63,144,148,61,89,227,244,187,215,6,180,214,70,
-178,210,166,217,93,185,93,156,87,34,90,42,5,229,55,57,193,182,109,231,181,
-98,221,85,209,27,227,229,77,16,189,24,170,170,46,155,76,145,85,232,190,
-143,104,188,162,76,13,15,15,227,61,239,121,15,58,58,58,86,165,76,45,43,
-129,213,83,129,35,20,10,57,7,45,201,100,167,180,114,218,237,90,150,85,211,
-77,34,90,42,161,80,8,182,109,35,155,205,194,48,12,228,243,249,178,162,183,
-150,101,57,245,19,201,55,45,238,86,232,172,5,41,197,247,190,247,189,117,
-147,183,88,45,220,77,94,150,101,225,236,217,179,190,62,235,206,59,239,68,
-91,91,91,213,241,20,10,5,231,111,113,108,226,235,168,144,167,184,51,235,
-234,234,242,77,98,233,116,218,57,91,67,39,241,169,210,5,41,123,114,251,
-212,114,63,136,241,14,178,160,170,173,21,61,196,53,163,255,139,27,15,178,
-148,63,252,225,15,59,62,254,122,33,174,155,91,217,121,185,14,85,85,197,
-220,220,156,175,205,200,254,253,251,49,52,52,180,104,188,98,49,102,113,
-188,182,109,151,141,217,182,109,103,236,164,36,233,247,120,60,142,247,189,
-239,125,53,215,50,155,205,58,9,14,162,103,161,149,25,100,212,61,217,253,
-187,91,241,147,11,140,94,215,140,4,15,119,89,59,175,14,207,116,198,212,
-77,100,126,199,70,99,18,139,81,187,75,64,137,77,51,221,49,176,229,148,169,
-74,186,207,107,19,223,209,209,129,247,188,231,61,53,141,145,149,144,169,
-101,37,176,70,179,125,68,37,65,102,61,41,68,63,147,177,111,223,62,199,87,
-110,24,6,108,219,70,161,80,112,22,133,10,91,138,187,92,218,165,228,243,
-121,231,181,180,144,116,61,189,189,189,184,227,142,59,234,30,139,23,121,
-201,178,140,233,233,105,95,55,196,142,29,59,208,222,222,238,236,190,171,
-141,135,44,75,113,108,162,50,160,113,138,187,45,34,177,7,31,124,176,230,
-181,24,134,129,76,38,227,4,200,221,86,50,141,173,84,42,225,210,165,75,190,
-198,22,139,197,42,142,141,10,144,186,199,37,174,173,72,98,180,83,167,130,
-170,191,244,75,191,180,228,196,13,74,179,166,7,145,27,17,57,141,217,79,
-172,116,247,238,221,232,239,239,47,35,37,81,193,208,90,210,120,137,200,
-169,238,166,59,142,66,178,73,107,73,228,91,107,67,34,214,155,92,9,43,204,
-43,177,203,77,36,162,203,77,146,36,79,215,99,51,174,67,180,64,68,50,21,
-45,93,34,78,63,228,73,10,156,174,157,172,46,250,28,186,63,220,99,17,171,
-212,44,183,76,121,233,7,247,38,94,148,169,96,48,136,119,189,235,93,85,117,
-250,74,200,212,178,18,88,189,25,136,20,251,18,51,247,196,221,238,185,115,
-231,106,126,103,119,119,55,186,186,186,96,89,150,83,169,157,22,136,76,123,
-186,241,221,139,73,202,130,4,32,151,203,57,22,11,9,56,89,66,245,184,47,
-220,59,117,203,178,160,40,138,239,241,108,217,178,197,113,225,185,199,83,
-40,20,156,241,184,119,128,244,60,185,20,221,194,77,10,129,20,196,192,192,
-0,246,239,223,95,243,154,50,153,204,162,94,71,162,27,77,81,20,95,7,203,
-35,145,8,182,108,217,2,219,182,23,141,173,84,42,57,229,193,220,13,31,77,
-211,116,198,77,175,39,37,79,235,69,138,38,30,143,227,237,111,127,251,178,
-184,188,196,164,149,76,38,131,233,233,233,170,239,235,239,239,199,198,141,
-27,157,66,201,162,156,209,152,220,150,128,251,121,170,99,233,229,154,18,
-171,54,116,117,117,225,161,135,30,90,245,86,24,201,143,184,177,18,55,87,
-162,21,230,238,105,215,232,119,121,109,178,69,162,17,239,17,209,90,163,
-123,198,175,11,81,220,112,184,227,94,238,178,86,226,166,136,200,107,57,
-101,74,212,123,162,75,209,237,213,16,101,170,179,179,19,15,60,240,192,170,
-146,169,85,97,129,137,173,47,196,155,81,204,252,41,22,139,190,98,95,35,
-35,35,78,128,95,180,80,200,178,18,23,77,252,78,145,8,220,11,73,194,75,191,
-239,221,187,183,46,55,148,88,105,128,8,58,147,201,248,58,203,179,107,215,
-174,69,55,21,9,31,93,51,149,121,113,239,176,104,188,126,198,38,238,230,
-106,129,44,86,74,122,17,201,139,170,25,248,57,92,62,50,50,226,16,173,123,
-108,34,65,211,216,68,247,142,168,220,197,27,151,82,148,197,241,237,217,
-179,7,241,120,188,41,242,236,142,251,213,67,216,187,119,239,94,164,152,
-197,221,47,141,75,140,5,137,15,241,121,178,200,68,11,162,236,198,14,4,208,
-223,223,143,129,129,1,95,59,230,84,42,181,34,86,88,37,87,158,87,76,134,
-198,75,133,188,27,181,248,196,42,247,226,166,218,109,253,137,107,84,207,
-161,97,82,222,52,6,247,58,250,217,20,181,74,166,196,123,73,236,63,71,155,
-6,183,76,245,246,246,162,175,175,111,213,200,84,160,85,130,234,103,209,
-69,235,203,93,184,215,207,225,189,88,44,230,88,125,238,198,142,238,29,173,
-72,102,238,221,8,185,31,197,54,8,226,123,171,41,5,114,121,186,91,86,136,
-13,250,20,69,241,21,203,27,28,28,116,98,67,110,193,116,95,179,104,133,136,
-215,235,22,80,122,157,152,165,68,10,159,130,176,219,182,109,171,121,109,
-115,115,115,206,57,22,145,188,104,179,49,59,59,91,211,250,234,238,238,246,
-53,54,146,15,247,6,196,107,13,69,226,162,29,164,36,73,216,179,103,79,83,
-172,4,119,140,130,146,15,70,71,71,107,238,148,233,181,238,221,57,237,80,
-201,181,36,42,112,183,130,21,239,37,241,24,129,232,70,20,93,83,91,183,110,
-173,185,25,169,229,98,93,174,250,128,162,21,34,142,213,109,9,145,235,186,
-25,215,33,102,196,82,73,56,113,142,197,121,22,99,111,228,194,244,67,100,
-98,22,162,72,30,110,143,133,152,176,65,155,162,86,202,20,61,47,18,149,187,
-69,149,59,65,10,64,197,179,180,181,100,106,57,172,176,21,181,192,40,13,
-216,235,125,98,202,183,170,170,190,226,41,93,93,93,101,217,63,226,225,65,
-47,37,79,139,73,10,157,136,205,157,169,152,207,231,157,93,27,237,0,119,
-237,218,133,158,158,30,116,117,117,161,179,179,19,29,29,29,232,232,232,
-64,60,30,71,60,30,119,14,140,186,221,3,244,156,31,11,133,14,5,138,150,83,
-53,210,114,187,107,221,59,64,183,43,202,237,231,39,129,245,99,133,145,27,
-145,198,71,235,20,12,6,49,49,49,81,243,253,155,54,109,42,139,53,120,141,
-141,44,61,113,44,149,118,181,94,214,165,232,250,245,107,53,123,201,162,
-184,110,226,239,180,233,242,211,10,134,210,213,197,157,189,59,78,90,233,
-51,220,135,179,105,252,98,178,128,59,193,128,228,173,22,129,209,61,34,38,
-191,208,231,54,90,6,206,79,130,131,155,196,68,93,225,69,220,98,12,182,153,
-103,140,196,186,166,98,140,77,44,20,238,101,141,248,113,33,138,186,135,
-62,223,125,159,122,109,146,90,33,83,238,107,112,39,212,136,164,40,202,148,
-166,105,53,9,204,45,83,203,217,64,85,89,110,2,171,103,215,68,193,75,106,
-112,72,103,166,44,203,242,165,20,251,251,251,29,75,130,22,132,92,103,228,
-90,162,116,213,106,215,64,66,225,181,232,164,184,118,238,220,233,184,192,
-104,177,196,164,134,74,238,1,170,25,88,171,194,135,162,40,104,107,107,115,
-110,48,26,135,72,64,226,120,232,117,134,97,120,42,30,90,7,18,46,178,6,73,
-232,197,243,42,253,253,253,101,85,12,42,237,178,72,168,117,93,135,166,105,
-142,197,234,103,173,162,209,40,138,197,162,179,206,94,99,171,181,9,114,
-203,150,187,125,187,174,235,206,121,194,96,48,136,161,161,161,154,187,90,
-63,50,74,46,30,178,88,107,197,41,232,187,179,217,108,217,97,100,82,152,
-100,73,209,79,47,151,139,187,119,86,165,10,235,94,110,236,193,193,193,138,
-30,12,113,119,93,40,20,16,143,199,157,22,25,203,9,186,126,178,136,168,209,
-164,232,174,18,199,40,86,105,95,142,174,218,116,111,19,201,144,101,35,94,
-19,185,168,253,146,52,117,163,160,207,175,52,167,148,113,77,37,180,90,37,
-83,116,61,164,67,234,145,169,254,254,254,138,247,185,91,166,200,141,184,
-28,50,213,154,254,234,62,136,78,146,36,79,247,161,44,203,53,221,81,192,
-66,170,167,232,11,22,131,178,36,144,100,69,137,150,149,151,27,161,82,208,
-211,157,209,35,238,244,197,115,107,110,11,148,20,30,253,238,167,126,35,
-181,51,241,58,195,225,53,30,247,174,210,107,108,110,247,140,59,101,152,
-254,95,42,149,156,196,145,90,238,24,74,230,16,207,173,248,169,238,65,241,
-51,175,216,78,181,181,18,199,68,243,235,118,143,208,250,211,218,208,142,
-210,143,107,180,146,178,21,227,95,226,186,218,182,93,115,188,131,131,131,
-139,62,143,198,73,202,195,235,16,171,248,32,43,155,146,0,42,185,141,197,
-99,20,100,21,147,55,160,154,21,66,27,144,229,118,29,214,178,42,220,49,49,
-49,19,113,185,18,1,220,247,143,91,225,123,101,12,250,1,109,194,196,68,180,
-74,222,38,209,235,212,42,153,18,117,150,91,134,196,35,28,238,223,53,77,
-171,121,214,176,146,76,53,123,13,151,205,2,171,199,253,80,44,22,23,237,
-184,197,152,131,159,93,79,91,91,155,147,18,74,139,67,19,78,10,177,82,90,
-113,62,159,95,212,102,220,253,123,48,24,68,161,80,88,116,122,223,157,97,
-36,10,186,91,104,73,56,253,16,50,141,71,44,57,227,119,60,149,198,230,182,
-136,169,66,135,166,105,101,21,72,36,73,194,198,141,27,107,166,240,146,21,
-70,201,54,244,254,90,66,74,99,115,147,41,205,89,173,177,137,10,71,172,36,
-78,159,65,164,69,241,80,82,12,228,114,169,103,99,229,174,52,34,90,175,228,
-33,168,101,77,139,45,50,104,254,105,83,68,222,2,191,177,27,49,86,66,100,
-74,215,40,86,125,161,10,8,134,97,212,60,143,73,187,100,90,79,177,188,148,
-187,212,83,171,54,180,100,177,84,10,51,44,71,219,19,177,83,179,72,158,98,
-60,199,15,145,185,99,96,149,172,15,146,33,241,44,88,43,101,138,64,227,35,
-89,210,52,205,57,131,75,99,166,58,148,68,74,181,14,54,87,147,169,53,227,
-66,172,5,47,193,20,77,91,82,28,126,92,82,180,104,193,96,176,204,255,236,
-87,217,147,82,116,43,123,183,233,47,150,70,241,242,115,87,234,57,36,182,
-2,247,83,32,152,58,234,146,18,22,111,4,191,228,85,141,196,68,37,76,228,
-35,22,80,142,197,98,190,54,30,164,56,233,166,245,83,190,73,60,87,67,46,
-227,70,198,230,213,151,141,148,30,141,135,18,131,74,165,82,67,135,154,197,
-107,17,251,85,209,223,126,198,123,229,202,21,36,18,9,103,119,75,74,142,
-148,176,95,183,148,168,64,197,221,189,88,173,194,157,250,44,110,52,170,
-41,155,120,60,238,236,192,101,89,94,214,184,69,165,57,38,57,21,9,197,173,
-248,105,109,155,241,125,181,200,211,45,175,245,110,202,171,125,135,91,63,
-136,30,154,245,40,83,162,62,94,19,4,214,200,174,77,116,29,186,155,220,249,
-21,74,119,199,89,170,22,209,168,178,23,73,73,220,229,84,18,2,55,9,123,41,
-65,63,109,11,20,69,65,62,159,47,35,121,58,235,209,168,155,196,43,198,64,
-99,52,12,195,249,174,64,32,128,238,238,238,154,159,153,74,165,202,148,185,
-223,155,134,190,71,180,250,26,89,43,81,169,145,194,165,49,81,6,150,187,
-182,221,198,141,27,125,87,218,174,38,207,116,221,126,198,76,173,95,86,43,
-200,66,21,61,24,173,232,139,85,207,122,83,156,117,185,190,207,125,127,208,
-119,46,119,109,72,81,174,214,163,76,249,181,90,27,69,160,21,11,227,199,
-175,238,246,59,139,139,232,199,93,64,233,162,126,252,206,126,119,246,181,
-226,98,149,30,141,236,252,220,240,58,188,219,200,231,84,154,127,241,167,
-87,153,30,63,21,7,72,48,137,188,252,42,24,90,43,247,115,75,93,43,113,76,
-116,109,98,82,79,35,55,146,123,61,69,185,94,13,125,165,154,5,114,37,211,
-125,183,146,181,17,111,52,120,197,205,215,139,76,45,183,44,173,120,18,135,
-219,156,118,215,4,107,68,49,123,165,20,55,131,196,200,245,86,233,225,174,
-115,86,105,103,82,15,200,146,160,29,228,82,224,182,28,221,113,62,114,149,
-212,235,63,23,55,24,245,118,199,118,147,243,82,225,149,126,45,142,199,111,
-236,196,221,8,81,188,17,197,245,109,117,75,247,229,86,54,235,73,129,174,
-118,84,210,123,235,77,166,150,19,45,179,192,234,201,104,90,234,77,180,92,
-10,95,28,139,251,65,207,139,129,79,209,111,220,8,137,182,170,167,78,163,
-217,102,162,149,86,143,123,167,218,25,149,165,186,108,232,236,206,82,110,
-38,247,53,136,238,108,34,53,119,28,116,189,96,57,146,35,24,181,33,186,220,
-88,166,214,144,5,214,76,44,135,194,119,167,111,139,86,163,248,16,201,192,
-171,180,207,90,66,163,62,235,122,173,75,17,75,221,108,184,83,175,69,11,
-175,25,242,225,69,172,43,217,193,120,57,20,168,104,241,183,34,6,118,35,
-195,203,154,95,207,50,181,38,9,108,37,148,248,114,250,91,189,206,36,85,
-178,210,214,194,120,220,164,213,168,160,145,245,165,105,218,162,243,41,
-203,69,120,171,69,222,234,25,239,106,223,180,180,183,183,47,57,81,130,81,
-29,162,53,127,35,200,84,103,103,39,98,177,216,178,109,136,86,85,22,226,
-82,149,151,187,249,96,171,224,149,193,212,44,101,44,198,214,150,115,222,
-220,231,156,150,106,17,249,25,219,74,172,85,58,157,110,249,119,190,229,
-45,111,41,107,135,83,169,53,72,181,196,25,47,25,32,215,12,85,5,169,116,
-223,137,213,86,220,53,6,233,112,62,157,113,228,228,141,181,129,102,200,
-148,23,68,153,114,235,114,209,21,40,222,195,228,117,162,126,132,238,190,
-121,84,17,100,57,244,152,178,22,22,203,207,174,144,206,105,52,123,87,191,
-28,232,239,239,175,217,164,142,172,33,58,155,213,138,141,134,184,43,244,
-115,86,205,93,149,154,202,224,248,89,171,229,34,48,177,12,85,43,8,204,175,
-197,210,215,215,231,100,121,122,85,62,17,119,173,181,8,204,235,200,130,
-59,35,84,252,28,119,227,75,241,189,212,182,102,106,106,138,201,171,197,
-214,73,165,245,110,149,76,137,168,118,12,198,235,127,238,18,122,186,174,
-35,26,141,46,234,40,33,118,131,95,83,22,88,51,225,231,76,18,213,45,19,171,
-49,175,86,193,245,211,79,44,155,205,34,28,14,163,84,42,33,26,141,182,228,
-218,68,197,231,167,11,44,93,23,85,43,40,149,74,190,215,138,190,79,60,124,
-73,159,213,72,28,192,139,228,221,86,101,189,25,146,213,20,15,93,171,159,
-241,142,142,142,98,243,230,205,206,123,196,70,129,148,232,67,138,168,146,
-236,210,28,81,117,13,113,140,244,57,226,255,68,133,35,166,51,211,14,153,
-154,51,82,188,171,145,22,37,140,198,188,15,149,14,75,183,90,166,68,130,
-18,221,239,162,28,212,146,41,42,152,237,46,12,110,219,182,243,88,78,125,
-188,106,8,140,250,72,121,41,11,63,85,33,242,249,60,54,108,216,128,116,58,
-189,104,7,218,168,82,108,84,56,43,89,29,116,128,215,239,33,97,34,100,183,
-107,96,169,227,113,95,167,120,35,209,26,92,190,124,185,230,231,80,61,52,
-58,173,111,219,54,36,73,66,44,22,171,106,233,80,141,71,186,113,20,69,113,
-202,206,52,99,167,230,117,56,84,85,85,92,189,122,117,73,100,69,132,45,62,
-47,73,18,218,219,219,171,214,183,164,74,50,212,183,76,44,162,236,183,211,
-48,89,149,20,115,117,175,63,29,176,247,146,11,119,75,33,177,16,52,185,160,
-196,107,240,170,16,207,88,62,157,225,94,179,86,201,148,168,59,189,214,155,
-42,231,211,245,137,250,89,36,48,119,27,35,209,133,72,242,36,86,87,90,19,
-4,230,55,160,46,238,68,104,160,255,127,123,231,26,27,215,117,221,251,255,
-60,206,188,201,153,33,103,248,22,45,138,146,40,138,146,77,201,47,57,241,
-35,109,236,36,182,227,36,118,154,155,230,166,104,220,26,113,107,167,31,
-26,184,65,145,6,105,83,20,129,139,20,201,109,235,162,70,147,184,77,129,
-22,125,32,64,11,4,112,239,181,19,39,126,71,86,44,89,182,94,180,76,82,34,
-41,241,53,156,225,112,200,121,207,57,247,131,188,142,247,108,158,153,57,
-243,162,72,106,253,128,193,144,67,206,156,217,231,236,179,255,123,173,189,
-246,90,242,0,219,210,210,82,113,80,36,255,43,93,84,74,253,223,232,204,218,
-70,129,14,114,229,105,57,101,138,236,46,168,148,92,149,218,67,25,37,26,
-213,30,121,157,78,174,113,37,206,184,204,228,107,36,11,145,158,169,115,
-118,119,119,87,116,213,37,147,73,61,243,138,199,227,169,123,150,86,78,148,
-41,213,149,153,154,114,242,53,22,251,163,216,87,229,236,30,229,6,155,108,
-54,139,88,44,166,103,136,161,28,148,52,0,208,26,129,25,1,147,7,29,49,219,
-1,37,242,45,37,96,242,61,41,78,26,105,251,129,152,33,190,17,69,64,25,243,
-19,165,141,238,83,50,244,126,81,100,196,62,101,100,129,137,53,211,168,45,
-162,229,37,247,169,134,159,187,102,94,24,179,51,56,121,47,149,248,58,93,
-220,74,69,36,129,43,235,54,148,18,167,145,74,79,57,245,236,118,59,60,30,
-15,60,30,15,156,78,167,254,16,11,97,138,3,177,88,56,78,238,176,102,172,
-176,102,181,71,76,250,42,230,49,36,107,197,140,245,69,131,155,232,186,160,
-182,246,246,246,154,158,245,137,21,92,203,77,18,204,136,178,152,89,155,
-6,104,106,211,234,234,170,169,28,115,68,185,144,123,121,118,75,174,156,
-114,76,76,76,32,155,205,234,213,12,178,217,172,158,113,95,124,136,174,23,
-241,97,36,74,98,41,120,113,230,43,103,142,49,10,210,161,129,73,252,236,
-82,233,207,152,218,41,55,49,43,53,214,109,84,159,146,31,244,255,244,25,
-98,129,76,163,138,213,98,217,20,241,255,196,118,53,123,59,198,166,112,33,
-210,250,137,56,192,211,154,22,249,119,119,238,220,89,49,59,122,52,26,69,
-119,119,55,84,85,213,7,255,122,220,110,148,19,145,6,65,49,119,160,120,227,
-83,4,78,44,22,67,56,28,134,223,239,55,180,194,196,154,70,253,253,253,21,
-7,84,177,61,43,43,43,112,185,92,69,155,128,107,29,100,196,250,100,98,205,
-53,26,220,78,156,56,81,241,51,168,120,168,88,163,137,114,27,154,41,197,
-18,139,197,244,140,214,137,68,2,45,45,45,117,89,152,178,40,219,237,246,
-162,54,157,60,121,178,97,158,5,49,235,190,215,235,173,88,224,15,0,38,39,
-39,209,217,217,9,171,213,170,231,228,163,188,131,154,166,85,116,249,80,
-91,196,73,161,152,41,159,254,102,20,225,73,213,172,163,209,168,62,217,160,
-20,98,185,92,78,23,65,143,199,99,234,220,139,46,122,186,15,170,93,63,147,
-83,165,137,125,89,182,166,155,125,60,179,203,0,213,142,105,84,123,207,76,
-159,162,137,216,70,246,41,163,201,138,88,111,142,126,166,177,89,182,232,
-114,185,28,214,214,214,138,2,206,228,76,72,30,143,71,95,2,106,198,164,104,
-195,92,136,70,197,45,211,233,116,81,178,90,74,216,41,119,34,171,213,106,
-106,111,4,185,219,156,78,39,18,137,4,130,193,96,209,160,88,205,160,79,133,
-39,69,19,95,211,180,117,101,208,35,145,8,230,230,230,224,241,120,244,68,
-189,86,171,85,31,156,197,178,16,36,212,138,162,96,207,158,61,21,133,130,
-102,84,228,162,116,185,92,69,101,9,170,105,143,104,169,136,9,146,73,196,
-40,37,212,236,236,172,169,8,196,246,246,118,125,29,133,6,24,177,28,203,
-206,157,59,43,86,209,94,90,90,66,48,24,212,215,196,232,59,81,141,178,74,
-109,19,147,46,211,0,69,109,35,97,86,20,5,201,100,18,99,99,99,85,247,97,
-217,189,74,125,65,156,140,144,117,94,169,189,185,92,14,231,207,159,199,
-192,192,128,94,200,147,6,225,84,42,165,135,176,151,26,112,196,117,44,209,
-106,166,129,70,60,23,98,221,176,217,217,89,140,143,143,235,125,70,206,88,
-46,102,128,8,4,2,101,45,6,163,212,71,213,14,74,226,255,203,19,22,217,154,
-166,98,167,205,58,94,57,247,122,35,16,75,33,149,178,72,74,185,165,55,162,
-79,137,222,16,18,45,177,79,145,120,137,145,173,20,12,117,241,226,197,34,
-215,98,185,62,213,204,45,57,155,46,19,135,40,114,98,104,168,153,82,214,
-100,181,80,137,144,181,181,53,189,190,141,92,130,189,146,171,80,28,172,
-74,21,132,139,199,227,184,124,249,178,110,241,209,205,22,141,70,17,141,
-70,215,13,6,162,171,173,181,181,213,148,165,18,141,70,245,1,62,22,139,233,
-66,40,22,163,172,228,114,147,197,88,180,192,196,18,33,170,170,226,205,55,
-223,52,37,134,109,109,109,250,34,47,69,180,145,11,2,0,118,236,216,81,241,
-115,68,31,127,60,30,135,197,98,209,67,136,43,181,141,218,68,229,95,228,
-226,143,228,62,84,85,21,175,188,242,74,213,131,158,28,202,76,51,75,177,
-95,138,201,143,111,184,225,134,138,159,59,55,55,135,68,34,161,175,95,208,
-103,209,228,202,168,48,167,24,120,97,148,231,81,118,189,211,172,191,80,
-40,32,153,76,226,248,241,227,136,68,34,72,36,18,72,36,18,88,91,91,67,50,
-153,68,50,153,212,221,183,118,187,29,46,151,171,104,239,15,181,85,180,232,
-104,112,18,7,42,217,66,50,131,88,146,70,60,158,156,191,84,156,241,55,250,
-120,181,98,102,93,73,220,210,64,143,114,255,43,23,237,220,168,62,37,102,
-12,18,115,146,138,253,92,236,83,180,103,240,212,169,83,136,197,98,85,247,
-169,45,37,96,165,130,56,202,153,231,114,181,80,114,37,82,135,56,112,224,
-128,41,43,44,30,143,235,55,64,58,157,214,69,204,72,200,228,245,45,177,154,
-179,248,125,196,239,7,0,151,47,95,94,183,86,180,188,188,140,229,229,101,
-56,28,14,36,147,73,196,98,177,162,129,135,68,140,58,232,254,253,251,77,
-185,62,162,209,40,236,118,59,172,86,43,86,87,87,97,179,217,224,116,58,139,
-130,31,196,246,200,237,50,18,99,113,109,132,138,213,29,59,118,204,84,240,
-198,224,224,32,114,185,156,190,230,71,254,114,177,110,208,158,61,123,76,
-13,26,115,115,115,122,219,162,209,104,197,182,153,153,96,208,255,40,138,
-130,177,177,49,211,193,27,213,244,107,49,249,113,62,159,71,123,123,187,
-41,47,193,248,248,120,209,117,53,90,243,147,7,30,241,254,40,87,205,129,
-6,77,122,239,209,163,71,43,6,83,57,28,142,34,143,1,185,132,201,234,167,
-84,105,116,45,201,61,91,175,53,68,3,40,221,151,98,253,49,177,50,69,35,143,
-39,159,227,90,63,171,18,114,132,158,92,142,73,158,16,81,95,186,26,125,170,
-84,238,80,209,90,164,177,52,159,207,227,228,201,147,21,243,138,202,125,
-106,91,9,88,169,255,165,208,79,163,178,24,116,65,187,187,187,77,5,8,172,
-172,172,232,133,17,197,48,83,241,134,145,131,48,196,228,187,226,96,72,22,
-138,205,102,211,195,218,79,159,62,141,153,153,153,146,230,248,226,226,34,
-84,85,69,38,147,65,50,153,212,215,135,232,56,212,158,174,174,46,83,29,52,
-147,201,32,22,139,233,21,157,151,150,150,202,182,199,168,93,70,22,36,101,
-112,80,20,5,71,143,30,213,111,132,114,180,180,180,232,1,40,180,136,43,135,
-209,210,235,35,35,35,13,111,155,153,54,217,108,54,40,138,130,243,231,207,
-227,232,209,163,53,247,97,113,223,148,81,223,150,55,143,222,114,203,45,
-21,63,51,149,74,233,245,200,210,233,52,226,241,120,209,62,45,163,34,169,
-226,204,89,30,8,197,193,158,206,27,89,157,241,120,220,212,245,116,187,221,
-69,150,175,92,204,82,14,6,17,45,145,106,35,221,156,78,167,126,95,145,40,
-136,129,1,98,244,156,124,60,170,72,94,237,241,68,215,152,60,137,173,122,
-192,52,97,249,145,75,78,172,72,44,102,57,145,175,173,60,214,137,69,36,155,
-217,167,68,171,86,118,153,139,129,93,244,243,175,126,245,171,178,145,145,
-98,159,114,185,92,27,146,150,236,170,187,16,141,22,58,197,217,8,13,134,
-116,81,143,28,57,98,234,115,73,68,200,26,162,84,57,180,105,83,126,200,3,
-161,40,92,228,54,91,94,94,54,117,17,147,201,36,18,137,4,220,110,183,190,
-215,169,212,160,55,58,58,106,170,61,171,171,171,250,64,175,170,42,150,151,
-151,139,74,173,24,181,73,110,151,184,113,213,227,241,232,226,245,250,235,
-175,155,18,47,0,216,181,107,151,30,113,41,71,42,137,46,196,108,54,139,145,
-145,17,83,123,248,140,218,38,6,193,84,186,86,178,120,217,237,118,92,184,
-112,1,175,190,250,106,77,125,210,140,235,135,250,37,185,190,242,249,60,
-218,218,218,112,232,208,161,138,159,31,139,197,176,184,184,8,69,81,144,
-78,167,177,186,186,90,52,208,137,235,36,242,239,36,88,52,203,165,159,69,
-247,233,203,47,191,108,74,188,92,46,23,220,110,55,194,225,176,161,103,132,
-220,179,226,185,160,99,208,132,131,44,221,90,44,34,241,218,209,117,85,85,
-85,15,200,17,255,135,172,176,90,142,39,223,203,181,136,88,181,98,71,255,
-79,237,162,182,24,9,160,236,198,19,239,171,80,40,212,244,62,37,159,119,
-250,89,244,118,188,254,250,235,166,196,203,229,114,193,229,114,109,136,
-245,213,84,1,171,37,201,45,69,208,144,155,77,12,223,20,205,106,51,190,97,
-114,243,37,147,73,216,237,118,100,50,25,44,45,45,233,174,46,163,1,80,92,
-204,21,69,76,81,20,188,251,238,187,166,204,103,0,186,233,47,187,69,104,
-208,19,45,21,179,86,24,89,150,145,72,68,183,156,200,93,42,86,209,53,122,
-136,55,176,197,98,129,203,229,210,223,255,226,139,47,98,114,114,210,212,
-241,3,129,0,188,94,175,126,35,202,55,155,60,249,112,185,92,184,245,214,
-91,171,106,27,125,183,84,42,165,7,147,148,186,86,162,40,211,205,166,105,
-26,78,158,60,137,215,94,123,173,238,62,44,174,63,209,179,184,46,39,90,155,
-212,127,71,70,70,76,237,243,139,197,98,186,21,159,207,231,145,72,36,244,
-240,101,177,205,70,214,9,69,153,137,3,188,197,98,193,249,243,231,241,220,
-115,207,153,26,104,104,43,199,206,157,59,13,235,158,137,150,157,120,28,
-250,110,226,224,70,27,216,205,138,74,169,126,42,139,154,184,142,41,186,
-18,107,57,158,40,244,228,34,149,69,172,145,201,160,19,137,68,81,52,159,
-104,29,139,150,144,104,41,201,30,26,234,95,205,234,83,242,121,167,160,44,
-113,66,49,57,57,137,23,94,120,193,84,10,54,234,83,45,45,45,235,214,190,
-154,181,45,195,54,58,58,250,173,102,137,88,71,71,199,186,197,87,163,103,
-106,44,157,76,154,217,137,97,235,52,59,176,90,173,8,135,195,24,31,31,175,
-56,43,210,52,13,201,100,82,55,233,91,90,90,244,69,70,113,189,134,78,46,
-69,241,80,244,83,161,80,192,212,212,20,222,121,231,29,211,69,230,90,91,
-91,209,221,221,93,52,3,161,205,125,52,216,210,12,150,58,208,142,29,59,48,
-57,57,105,106,150,151,203,229,176,178,178,162,135,222,146,235,53,147,201,
-64,211,52,189,227,137,121,9,105,29,195,229,114,233,51,180,83,167,78,225,
-205,55,223,52,29,33,228,114,185,48,50,50,82,180,184,78,237,82,20,69,143,
-208,20,195,155,45,22,11,2,129,0,178,217,44,22,23,23,77,181,109,121,121,
-25,154,166,193,235,245,234,110,88,114,31,217,237,246,162,107,37,91,99,51,
-51,51,120,237,181,215,202,30,203,239,247,87,44,171,66,193,53,153,76,6,233,
-116,26,153,76,6,241,120,28,153,76,70,159,217,90,44,22,221,26,144,19,160,
-118,117,117,97,98,98,162,226,230,236,124,62,143,120,60,174,167,23,163,227,
-137,179,119,90,31,20,163,240,168,31,89,173,86,100,50,25,204,206,206,226,
-141,55,222,192,165,75,151,76,187,216,58,59,59,177,123,247,110,132,66,33,
-196,98,49,189,61,162,80,209,61,39,174,133,100,50,25,253,186,59,157,78,221,
-58,59,119,238,92,197,65,206,232,188,174,174,174,34,149,74,233,65,0,217,
-108,182,104,0,164,180,87,245,28,47,145,72,32,149,74,33,30,143,35,22,139,
-97,117,117,21,145,72,4,171,171,171,152,157,157,69,127,127,127,145,251,140,
-132,147,206,187,232,106,183,90,173,56,127,254,124,197,123,53,157,78,195,
-235,245,194,229,114,233,247,103,42,149,66,54,155,197,194,194,2,98,177,24,
-214,214,214,144,74,165,224,245,122,245,243,47,138,51,89,217,205,234,83,
-244,217,226,189,100,183,219,245,239,120,252,248,113,61,72,205,108,159,106,
-111,111,135,211,233,212,197,48,157,78,235,159,221,12,44,15,63,252,112,211,
-18,160,13,13,13,173,243,243,26,61,211,73,36,209,161,142,162,170,170,62,
-35,119,187,221,250,77,107,183,219,49,62,62,142,159,254,244,167,85,187,134,
-218,219,219,209,218,218,186,206,13,65,3,35,109,228,155,153,153,49,189,143,
-131,8,6,131,232,237,237,213,103,228,129,209,106,0,0,32,0,73,68,65,84,119,
-100,189,209,231,187,92,46,189,147,184,221,238,34,151,87,36,18,193,179,207,
-62,91,211,226,114,32,16,64,107,107,107,209,150,4,163,153,79,50,153,196,
-194,194,130,169,64,13,17,187,221,142,145,145,17,248,124,62,221,50,22,221,
-33,14,135,67,31,236,168,77,30,143,71,159,132,216,237,118,252,247,127,255,
-119,213,199,13,6,131,240,122,189,134,229,24,104,141,129,34,160,46,93,186,
-84,209,234,239,236,236,196,189,247,222,139,31,253,232,71,53,247,233,246,
-246,118,116,119,119,35,24,12,194,239,247,23,93,67,18,52,85,85,49,57,57,
-137,151,95,126,185,170,207,118,185,92,8,6,131,122,150,113,163,153,43,101,
-74,33,183,248,220,220,92,213,149,111,251,250,250,48,48,48,128,96,48,8,77,
-211,112,241,226,197,117,131,12,93,79,154,104,29,63,126,188,234,235,87,45,
-20,164,229,112,56,112,252,248,241,166,187,159,40,39,233,158,61,123,138,
-218,77,109,39,119,152,211,233,132,213,106,213,247,201,61,251,236,179,166,
-3,131,220,110,183,110,205,138,227,9,141,69,78,167,19,189,189,189,69,247,
-16,173,183,139,34,186,21,250,84,40,20,210,173,101,178,54,105,178,216,44,
-11,172,169,49,142,149,54,5,202,123,195,104,35,44,185,160,40,234,74,204,
-243,69,179,129,193,193,65,100,50,153,170,46,104,54,155,197,236,236,172,
-169,68,181,213,66,23,80,252,254,242,57,16,103,79,114,123,66,161,16,238,
-187,239,190,170,69,140,102,75,141,72,84,91,74,188,14,29,58,164,207,252,
-69,247,135,232,106,146,125,251,162,219,194,106,181,226,190,251,238,195,
-127,254,231,127,86,213,182,88,44,166,135,6,215,139,203,229,194,23,191,248,
-197,134,92,123,114,35,150,139,180,165,45,31,213,244,207,116,58,221,180,
-254,73,12,12,12,96,112,112,16,94,175,119,93,54,5,241,251,139,123,201,232,
-218,55,27,113,157,109,35,145,147,14,24,141,99,226,62,177,106,130,19,204,
-44,165,136,253,72,220,223,71,17,194,155,189,79,237,220,185,19,225,112,184,
-40,125,84,165,115,186,233,215,192,228,27,194,204,137,46,242,109,190,239,
-106,19,247,44,136,139,156,249,124,30,67,67,67,184,227,142,59,112,53,177,
-219,237,24,24,24,64,127,127,191,62,219,18,103,179,52,192,27,165,99,145,
-35,247,72,196,204,100,171,223,8,220,110,55,14,31,62,172,187,86,101,127,
-190,188,159,68,110,151,28,149,120,53,219,118,247,221,119,23,185,251,26,
-49,57,163,118,27,37,52,181,90,173,24,24,24,192,93,119,221,181,41,210,50,
-145,21,189,123,247,110,253,122,26,205,178,73,188,68,11,140,220,120,205,
-134,34,77,55,74,192,204,92,23,113,50,74,1,88,205,42,56,41,239,197,218,10,
-125,106,120,120,24,93,93,93,53,87,113,175,151,166,174,129,249,124,62,93,
-188,140,214,194,228,159,197,69,106,209,90,145,211,55,209,205,164,105,26,
-58,58,58,208,213,213,133,139,23,47,110,120,25,21,159,207,135,225,225,97,
-4,131,193,162,206,70,155,122,169,125,226,190,54,242,113,139,25,220,117,
-127,238,251,235,86,67,67,67,88,94,94,54,21,73,214,44,58,58,58,112,248,240,
-97,61,157,151,28,82,78,150,148,216,54,113,144,163,65,72,92,31,186,26,109,
-115,58,157,248,196,39,62,129,189,123,247,34,159,207,99,109,109,13,167,78,
-157,170,235,243,104,207,160,88,134,132,54,115,203,55,184,223,239,199,117,
-215,93,167,175,121,92,13,124,62,31,110,184,225,6,244,245,245,233,46,120,
-90,39,213,52,13,43,43,43,69,238,110,154,245,147,203,91,81,20,92,186,116,
-169,169,25,21,200,171,66,253,166,218,202,1,181,78,208,10,133,2,130,193,
-224,186,204,233,116,93,29,14,71,145,21,68,75,28,103,207,158,173,111,224,
-21,220,236,180,222,75,107,94,98,63,218,204,125,106,100,100,4,129,64,192,
-48,168,134,214,105,141,178,237,111,25,1,83,20,5,126,191,95,23,47,178,170,
-74,9,88,38,147,209,103,128,98,173,40,121,160,167,19,68,51,67,183,219,141,
-253,251,247,111,216,192,72,105,94,14,28,56,160,135,19,151,114,73,80,96,
-3,45,208,210,160,94,106,135,58,189,222,223,223,143,190,190,62,204,206,206,
-214,180,95,165,158,107,54,58,58,138,193,193,65,221,21,40,10,24,237,240,
-167,27,157,18,129,138,229,84,104,50,66,131,186,28,228,208,223,223,143,142,
-142,14,204,204,204,52,117,210,209,211,211,131,251,238,187,15,61,61,61,186,
-248,38,18,9,156,57,115,166,46,87,36,101,24,160,1,80,28,116,228,27,153,82,
-90,237,218,181,11,14,135,3,145,72,100,195,38,90,138,162,96,255,254,253,
-184,249,230,155,209,218,218,90,20,221,75,98,76,217,93,196,73,7,5,54,137,
-91,23,40,162,183,153,236,220,185,83,79,37,183,209,2,38,6,64,209,146,5,165,
-87,19,211,164,41,138,130,150,150,22,68,163,81,211,129,93,149,4,140,214,
-221,228,73,110,41,17,187,218,125,106,104,104,8,7,15,30,212,247,185,201,
-94,23,242,184,144,87,173,153,22,245,134,10,152,104,145,148,178,198,196,
-168,67,209,7,108,132,28,197,216,223,223,143,206,206,78,172,173,173,53,101,
-102,162,40,10,6,7,7,113,195,13,55,160,173,173,77,191,112,178,43,77,20,87,
-177,237,114,249,10,186,57,140,218,165,40,10,220,110,55,134,134,134,224,
-243,249,144,205,102,155,58,219,242,122,189,216,183,111,31,70,71,71,245,
-32,20,209,125,65,223,155,42,250,138,109,163,235,73,98,69,15,35,17,163,182,
-249,124,62,236,217,179,7,54,155,13,177,88,172,225,55,224,193,131,7,113,
-215,93,119,233,125,131,190,107,34,145,192,185,115,231,234,22,48,138,136,
-163,118,138,131,142,108,137,210,68,172,179,179,19,123,246,236,65,161,80,
-64,36,18,105,234,32,179,111,223,62,220,118,219,109,8,135,195,69,19,65,209,
-197,109,181,90,139,146,177,138,2,38,238,151,116,185,92,152,158,158,110,
-186,128,81,208,23,5,150,108,132,128,217,108,54,180,182,182,22,181,91,204,
-78,67,207,98,138,50,138,146,157,154,154,170,185,223,146,128,169,170,10,
-175,215,171,31,195,200,155,177,89,250,212,222,189,123,113,248,240,97,61,
-89,185,92,205,96,163,173,47,160,201,65,28,102,246,163,200,39,41,149,74,
-233,25,47,40,200,163,212,26,154,40,126,100,238,119,119,119,163,179,179,
-19,177,88,12,231,206,157,195,244,244,116,93,22,140,162,40,122,6,144,112,
-56,188,110,198,65,162,37,110,78,22,19,211,138,46,80,49,119,159,152,200,
-88,140,186,76,167,211,122,32,8,221,64,187,119,239,198,174,93,187,26,214,
-38,121,214,187,99,199,14,248,253,126,125,81,159,50,30,104,154,166,39,31,
-150,173,48,185,109,70,129,42,52,224,19,114,219,156,78,39,70,71,71,49,60,
-60,140,233,233,105,156,61,123,182,174,160,13,69,81,208,219,219,139,3,7,
-14,192,231,243,21,165,244,33,33,171,20,66,111,70,232,67,161,80,81,157,48,
-74,120,106,52,25,161,99,219,237,118,221,2,18,219,60,63,63,223,48,107,35,
-24,12,98,104,104,8,29,29,29,69,149,11,228,28,130,162,69,76,169,201,68,119,
-240,70,7,81,136,130,34,186,167,155,13,185,84,197,113,68,30,111,104,43,15,
-213,189,163,9,92,56,28,198,253,247,223,143,231,159,127,222,212,30,41,35,
-1,107,107,107,43,154,160,139,1,28,229,216,200,62,21,8,4,48,56,56,136,112,
-56,172,71,43,138,15,121,45,156,198,7,202,132,212,108,154,26,70,15,92,9,
-141,53,170,247,101,20,74,47,254,46,70,253,136,161,245,70,57,10,105,198,
-36,186,233,200,167,156,201,100,16,141,70,49,63,63,175,87,49,205,102,179,
-37,205,255,142,142,14,120,189,94,61,124,187,187,187,187,104,32,164,77,134,
-180,121,88,14,48,17,7,120,186,136,98,91,100,11,147,214,24,140,178,73,136,
-25,15,196,14,158,201,100,244,188,139,177,88,76,159,25,151,178,60,21,69,
-209,171,39,123,60,30,120,189,94,116,118,118,194,235,245,234,25,242,229,
-182,201,1,27,114,198,120,49,0,128,218,39,23,148,52,219,54,106,151,195,225,
-192,210,210,18,98,177,24,34,145,136,126,141,68,55,151,44,38,30,143,7,161,
-80,8,30,143,7,125,125,125,37,183,71,208,207,226,96,69,123,94,8,138,46,20,
-235,107,137,153,70,196,205,166,162,181,66,159,45,182,151,206,129,153,235,
-153,203,229,48,55,55,87,180,206,84,170,205,36,84,180,197,192,106,181,162,
-179,179,19,62,159,111,93,146,103,241,254,144,173,99,151,203,133,124,62,
-175,91,58,116,222,200,125,88,46,203,9,229,70,20,61,36,52,129,148,5,136,
-246,141,209,185,21,211,37,25,101,134,23,183,157,200,107,80,226,96,95,238,
-120,242,253,42,150,140,145,7,220,114,19,78,218,59,41,134,182,139,91,121,
-104,143,216,202,202,10,78,159,62,173,39,74,144,183,27,216,237,118,248,124,
-62,253,51,168,170,132,24,110,78,253,69,222,247,42,239,197,107,86,159,10,
-4,2,122,162,2,139,197,162,143,131,242,248,32,166,197,43,53,246,109,148,
-120,109,136,128,237,218,181,171,200,2,41,85,184,210,232,103,177,68,132,
-44,98,226,126,3,186,160,116,49,69,87,164,108,169,149,67,220,236,71,191,
-139,229,185,197,193,140,46,90,169,1,222,232,34,86,51,208,139,174,2,209,
-255,94,109,155,140,218,72,109,17,133,72,20,46,106,27,181,79,108,91,169,
-206,89,170,109,98,187,228,182,137,121,214,170,105,91,169,235,36,34,91,67,
-162,120,201,235,150,244,58,221,164,98,249,29,163,153,166,184,14,40,15,186,
-70,237,22,179,73,148,26,244,75,181,185,148,53,68,231,64,20,97,163,140,15,
-228,58,165,245,28,18,47,186,215,166,166,166,214,13,218,165,174,155,216,
-31,69,129,41,181,166,45,23,58,21,179,173,203,165,138,140,68,76,76,226,43,
-175,163,150,59,158,216,183,141,60,38,178,203,95,78,173,68,223,65,62,23,
-180,246,41,138,152,124,14,40,91,139,120,79,209,38,230,90,4,180,220,68,183,
-214,62,101,230,190,42,53,62,200,99,131,60,246,109,164,120,53,221,133,104,
-100,146,87,67,42,149,42,42,155,33,62,147,144,137,41,89,200,164,22,223,43,
-206,216,42,33,167,176,146,47,160,184,255,73,124,54,35,94,244,157,68,81,
-22,63,67,222,55,38,118,104,177,130,110,181,109,146,59,40,181,79,76,107,
-85,170,109,226,96,88,169,115,202,109,51,154,233,201,109,19,235,87,85,211,
-54,186,38,70,3,161,81,104,184,195,225,208,247,227,80,125,48,81,212,196,
-25,60,185,174,233,154,86,18,47,113,61,87,116,253,136,3,179,124,46,69,183,
-149,120,158,140,218,92,234,60,136,137,148,229,207,167,99,138,235,143,84,
-224,80,236,87,212,86,35,15,136,216,239,100,193,160,2,138,98,153,30,241,
-115,100,23,160,92,234,69,172,226,109,36,96,242,189,32,246,13,51,199,19,
-199,4,177,210,176,40,90,98,212,161,145,120,202,125,152,206,131,145,75,124,
-109,109,109,157,21,36,10,128,152,10,76,174,130,44,159,95,177,93,242,61,
-212,168,62,101,102,252,147,199,7,185,127,27,141,125,27,45,94,27,34,96,201,
-100,18,126,191,191,168,227,149,27,228,170,25,24,105,205,136,102,39,244,
-63,52,59,145,139,255,149,155,149,200,213,75,197,89,185,81,22,105,163,1,
-158,254,191,220,69,44,213,30,202,33,72,179,59,113,176,23,139,202,85,211,
-38,163,155,90,156,13,83,169,25,163,182,137,89,171,205,118,78,179,109,19,
-7,39,74,243,69,109,147,7,20,163,182,201,179,110,106,139,60,24,210,103,137,
-73,77,233,102,20,69,77,30,8,197,154,90,226,131,254,71,220,96,95,238,220,
-211,255,200,107,160,213,180,217,104,0,18,175,19,125,31,177,128,33,149,240,
-161,99,144,245,37,90,192,138,162,32,18,137,232,215,172,82,159,17,219,67,
-131,165,216,23,141,38,14,242,253,45,90,41,116,221,140,206,159,60,80,139,
-207,70,46,108,163,227,137,19,79,49,111,164,184,249,94,12,204,160,254,157,
-207,231,75,78,50,101,175,137,56,185,166,73,145,56,110,144,0,24,77,132,228,
-34,151,242,241,75,181,171,17,125,170,154,241,65,156,36,81,95,171,118,114,
-187,229,5,172,218,133,120,241,130,137,129,29,226,162,57,221,56,178,160,
-136,245,109,196,1,171,92,52,163,88,50,91,204,22,79,162,38,15,238,226,115,
-45,23,80,108,143,209,141,46,183,133,206,65,53,109,42,53,59,165,247,210,
-218,68,169,182,25,221,220,141,104,155,216,166,116,58,173,183,77,28,8,197,
-138,174,229,218,34,174,165,136,131,189,60,224,136,101,59,232,28,210,249,
-52,90,48,151,147,217,138,21,115,69,241,50,154,53,27,77,204,204,180,217,
-204,245,44,21,220,64,222,6,209,42,163,40,81,113,182,111,183,219,245,227,
-139,247,166,40,98,226,247,23,247,99,146,216,88,173,86,195,190,88,205,247,
-22,239,171,82,237,145,75,173,136,169,222,204,30,75,60,142,188,249,190,220,
-228,172,156,167,196,200,163,32,138,135,60,17,18,239,49,35,107,153,142,47,
-183,95,94,66,217,168,62,37,143,15,98,27,228,201,237,213,22,175,13,17,176,
-90,178,210,87,26,24,69,215,145,124,113,197,89,161,56,19,145,7,233,114,179,
-16,209,205,32,206,198,101,225,18,47,122,181,23,208,104,230,91,74,200,234,
-105,147,209,12,235,106,182,77,108,147,252,44,90,150,180,118,97,230,90,145,
-112,137,46,42,163,62,40,14,138,149,214,150,228,115,99,36,94,226,44,95,28,
-112,170,105,179,40,144,242,204,156,102,228,165,218,78,235,95,54,155,77,
-247,68,208,255,203,174,42,66,116,129,137,247,102,41,235,89,46,45,95,107,
-255,163,118,138,235,117,149,250,144,216,239,204,190,207,72,188,228,137,
-153,44,94,102,188,9,178,187,223,72,60,140,250,145,209,241,201,237,102,52,
-201,42,55,25,108,68,159,170,101,124,144,207,125,189,227,195,150,18,48,154,
-233,209,130,164,145,219,176,90,119,34,173,127,80,73,16,113,144,49,186,201,
-196,25,92,181,51,68,121,54,94,106,145,186,30,113,47,213,73,235,105,211,
-86,104,155,81,27,203,5,46,24,205,176,69,193,146,219,99,102,102,95,233,134,
-22,221,159,149,102,156,70,109,46,213,175,169,205,149,4,181,220,4,135,68,
-139,214,170,104,189,136,190,183,184,113,94,182,22,141,6,110,35,17,163,64,
-41,217,141,90,106,208,173,198,114,172,102,242,91,205,32,41,15,184,70,253,
-92,60,223,213,174,235,202,247,100,57,33,55,178,2,41,11,74,185,245,242,141,
-234,83,87,107,124,216,82,2,86,79,32,71,165,11,74,29,65,156,153,200,23,179,
-26,75,80,188,128,70,139,184,205,184,120,149,6,251,122,219,180,153,219,102,
-36,46,102,7,60,241,6,51,91,203,73,116,161,153,17,48,249,252,84,179,22,88,
-73,128,202,181,217,233,116,150,173,134,144,203,229,224,116,58,245,245,46,
-250,158,114,169,27,179,98,104,198,5,44,15,212,141,242,174,52,211,147,83,
-170,159,155,181,30,202,89,166,70,162,97,116,108,90,131,171,165,47,53,178,
-79,109,198,241,97,75,8,88,60,30,175,42,144,195,104,29,204,232,66,209,192,
-40,70,67,137,23,213,236,96,85,170,51,200,217,66,154,125,241,74,13,246,245,
-180,105,51,183,205,200,101,106,244,115,45,237,41,53,97,50,43,116,70,159,
-39,187,181,204,14,184,213,182,153,234,209,149,107,187,81,106,50,49,255,
-38,253,77,222,104,78,63,151,75,185,102,118,176,220,10,148,186,142,181,46,
-95,24,157,139,82,22,88,169,73,80,61,174,249,90,251,212,102,31,31,54,181,
-128,85,155,145,163,150,139,106,212,201,170,189,233,74,13,130,27,57,211,
-44,215,81,235,25,72,54,91,219,234,29,32,43,181,71,190,225,140,246,169,149,
-163,210,231,53,179,205,149,34,198,72,160,232,189,180,217,183,154,250,117,
-149,238,73,185,15,214,50,8,86,115,190,235,181,174,74,29,175,81,215,177,
-150,126,219,8,241,108,246,125,180,217,198,135,77,41,96,226,73,173,119,29,
-172,209,55,93,179,6,173,102,137,89,173,108,182,182,201,55,70,181,109,171,
-182,61,155,225,70,52,219,230,74,165,75,168,248,161,56,121,147,45,172,114,
-231,172,218,251,172,210,185,51,154,28,52,179,159,109,244,241,106,189,31,
-55,226,158,171,247,62,218,204,99,223,166,18,176,100,50,9,143,199,179,78,
-176,204,10,87,165,255,115,187,221,235,162,170,182,27,219,177,77,215,66,
-219,170,29,124,42,157,11,49,88,195,204,160,36,11,90,163,147,242,94,77,15,
-5,247,217,107,251,62,218,176,42,100,241,120,188,42,119,66,51,93,15,12,179,
-157,168,246,190,186,154,117,230,24,102,75,10,152,153,117,48,22,45,134,105,
-190,152,53,115,77,154,97,182,165,128,1,31,184,46,106,21,170,74,239,171,
-103,141,136,97,174,22,110,183,219,116,223,173,247,222,105,118,77,47,134,
-217,182,2,38,187,17,75,249,232,217,34,99,152,250,38,117,181,132,207,51,
-12,11,88,25,150,150,150,154,54,195,100,152,173,106,125,53,91,204,170,189,
-7,25,134,5,172,4,70,229,16,26,121,147,178,27,145,185,214,172,45,179,239,
-99,247,33,195,2,86,39,145,72,132,221,136,12,211,128,201,22,187,15,25,22,
-176,13,166,17,110,68,182,194,152,107,77,188,234,189,39,204,222,123,12,195,
-2,86,129,106,221,136,108,133,49,108,121,213,118,79,176,251,144,97,1,107,
-48,213,186,17,175,214,32,193,48,205,134,202,12,53,170,239,179,251,144,97,
-1,107,50,27,225,70,100,152,205,110,125,53,202,3,193,238,67,134,5,108,131,
-161,25,161,60,99,108,100,48,7,91,97,204,86,23,175,106,238,133,82,247,18,
-91,95,12,11,88,131,145,221,136,108,133,49,215,10,162,219,176,217,247,128,
-162,40,136,68,34,124,210,25,22,176,70,146,74,165,74,6,115,176,21,198,108,
-87,235,171,148,104,153,45,113,98,246,222,16,75,167,92,139,153,254,25,22,
-176,13,183,194,140,110,78,182,194,152,237,40,94,102,250,109,45,125,95,190,
-159,216,250,98,88,192,154,68,45,11,203,108,133,49,91,89,188,170,21,177,
-122,250,126,46,151,227,224,13,134,5,172,153,80,130,223,114,193,28,108,133,
-49,91,25,89,188,196,254,94,202,117,88,77,159,55,186,119,20,69,225,189,95,
-12,11,88,179,153,158,158,102,43,140,217,214,214,87,41,11,140,196,203,108,
-69,242,141,184,183,24,134,5,172,6,43,172,212,76,178,145,86,24,139,24,35,
-146,205,102,139,30,205,16,47,69,81,224,241,120,138,158,235,21,171,74,214,
-151,120,79,49,12,11,88,147,49,19,82,223,136,25,41,195,130,85,78,176,26,
-37,102,102,196,203,108,212,97,45,125,157,131,55,24,22,176,13,36,149,74,
-173,171,214,204,86,24,211,104,209,34,10,133,66,201,135,252,190,90,17,221,
-133,36,94,114,8,125,46,151,91,39,100,141,176,190,146,201,36,135,206,51,
-44,96,27,201,236,236,108,67,172,48,182,204,24,35,1,146,69,170,148,120,25,
-9,89,181,214,151,40,92,244,16,215,189,140,132,171,81,253,89,81,20,204,206,
-206,114,7,96,88,192,182,162,21,102,118,144,97,182,191,112,149,178,178,178,
-217,108,69,43,172,22,17,147,93,135,244,16,41,39,96,213,76,216,216,250,98,
-152,77,36,96,27,109,133,177,136,109,63,209,146,133,171,156,136,25,62,84,
-21,78,183,23,3,35,119,193,223,125,184,72,196,204,246,39,81,184,42,137,151,
-40,98,108,125,49,204,22,23,176,84,42,85,83,68,98,173,86,25,139,216,246,
-177,182,140,196,138,44,45,241,217,200,250,82,85,21,129,80,55,70,239,248,
-28,238,255,157,255,3,165,245,32,102,38,79,21,89,98,229,172,48,51,226,85,
-173,245,85,174,143,151,139,60,100,235,139,185,150,176,111,182,47,52,61,
-61,141,3,7,14,148,92,35,168,38,103,92,45,110,26,102,107,8,151,40,90,242,
-207,70,207,70,174,65,171,213,138,238,235,134,48,116,232,19,216,53,114,23,
-84,213,131,185,75,23,240,127,127,252,93,236,218,225,71,33,87,128,205,102,
-51,53,9,146,215,189,140,72,38,147,166,173,175,106,60,14,244,58,239,251,
-98,88,192,54,1,145,72,4,161,80,72,191,209,141,196,72,126,205,204,255,148,
-26,128,120,214,186,253,132,203,72,180,232,217,98,181,98,112,228,54,12,31,
-254,4,122,7,111,66,46,235,64,98,101,13,217,204,34,78,188,254,19,184,148,
-2,178,153,4,108,86,171,254,62,155,205,134,108,54,11,135,195,97,40,94,30,
-143,7,126,191,191,162,120,153,137,58,52,227,97,144,179,110,112,216,60,195,
-2,182,73,152,155,155,131,223,239,47,18,33,249,217,172,136,153,129,69,108,
-235,9,87,37,107,203,200,250,82,28,46,12,29,250,53,28,184,229,147,8,117,
-13,35,157,2,226,177,53,20,242,171,208,52,13,171,43,75,56,247,206,203,232,
-235,8,32,159,137,3,239,91,95,229,172,48,51,226,149,203,229,74,90,95,213,
-136,87,41,215,97,46,151,195,220,220,28,119,20,134,5,108,51,89,97,221,221,
-221,117,187,1,205,138,26,139,216,230,21,45,51,130,37,139,23,189,166,170,
-26,188,173,1,28,188,245,1,236,191,233,19,240,180,244,32,157,44,32,22,77,
-64,21,172,56,77,83,49,49,118,12,185,100,4,153,148,87,183,190,202,245,23,
-51,226,69,214,151,145,5,214,136,136,90,14,220,96,88,192,54,33,75,75,75,
-240,251,253,186,139,164,30,43,140,215,195,174,45,225,42,20,10,208,0,180,
-119,246,97,244,195,159,197,190,209,123,96,181,251,145,90,75,99,121,105,
-5,154,166,22,29,67,211,84,100,210,107,56,123,242,23,232,233,233,2,242,43,
-166,197,171,220,154,151,44,94,229,44,173,90,173,175,100,50,201,25,231,25,
-22,176,205,200,236,236,44,6,7,7,43,6,116,240,122,216,246,18,174,106,215,
-183,196,135,213,102,71,239,174,17,220,116,215,23,176,99,247,173,80,85,23,
-82,201,36,114,185,40,160,149,62,254,244,228,59,136,45,78,194,29,114,1,208,
-74,186,13,229,141,202,228,234,46,39,96,178,235,176,86,241,50,122,207,212,
-212,20,119,30,134,5,108,51,66,97,245,52,72,148,10,232,104,36,44,98,155,
-79,184,202,185,8,233,103,197,233,198,174,3,135,113,227,157,255,27,29,189,
-35,200,102,108,72,172,36,80,200,87,46,41,146,203,166,113,250,205,159,162,
-175,183,23,185,228,124,73,241,18,61,2,126,191,191,162,120,197,227,241,146,
-193,27,181,32,7,110,112,216,60,195,2,182,201,153,158,158,214,93,52,27,229,
-74,100,17,219,56,209,42,101,101,149,178,186,100,241,242,249,219,177,251,
-224,29,24,253,208,131,104,9,238,68,38,165,97,57,186,90,180,190,85,14,77,
-83,177,48,59,137,217,233,51,232,8,218,97,129,113,208,134,104,121,153,17,
-175,102,187,14,115,185,28,135,205,51,44,96,91,225,75,206,206,206,162,191,
-191,127,195,92,137,44,98,87,95,184,202,137,151,170,170,104,235,236,195,
-254,27,63,134,131,183,126,26,138,51,132,116,50,107,184,190,85,137,66,33,
-143,51,39,126,134,80,168,13,185,212,124,81,152,188,205,102,131,205,102,
-131,207,231,171,74,188,74,69,29,178,235,144,97,174,65,1,91,89,89,41,235,
-74,100,17,219,58,194,85,207,250,150,166,105,232,221,53,130,235,143,124,
-26,131,251,239,0,44,45,72,37,211,72,174,197,160,105,90,213,223,75,211,84,
-196,34,151,48,49,118,12,225,128,13,120,95,176,32,88,97,100,121,217,237,
-118,83,226,5,24,187,14,235,17,47,35,215,225,202,202,10,119,44,134,5,108,
-171,124,209,114,174,196,90,96,17,219,28,194,85,73,188,84,85,133,197,98,
-197,174,145,35,56,116,251,103,209,115,221,33,228,243,78,172,173,173,34,
-159,139,214,245,253,52,85,197,187,167,94,133,98,43,32,157,76,232,66,65,
-226,229,114,185,96,183,219,97,183,219,209,209,209,81,181,120,85,178,164,
-204,246,83,241,153,93,135,12,179,5,5,12,0,166,166,166,244,168,196,70,108,
-112,102,17,107,174,104,149,178,178,74,89,93,197,251,183,84,40,78,23,14,
-222,120,15,174,191,237,65,248,219,7,144,77,91,176,18,95,67,33,191,86,247,
-247,212,52,21,137,149,8,198,222,121,9,173,62,39,242,153,180,238,50,116,
-185,92,112,56,28,112,185,92,104,105,105,129,219,237,54,45,94,241,120,188,
-162,229,101,214,250,50,122,30,31,31,231,78,198,48,91,81,192,82,169,148,
-158,102,170,17,235,97,213,192,34,214,56,225,42,191,190,165,193,235,15,98,
-244,67,159,194,129,155,31,128,203,211,137,84,42,143,120,116,21,170,90,104,
-216,247,213,52,13,19,231,142,33,151,94,70,86,203,66,81,20,216,108,54,56,
-157,78,216,108,54,40,138,2,183,219,13,183,219,141,214,214,214,170,196,203,
-172,85,85,78,188,140,222,19,137,68,184,15,50,204,86,21,48,224,74,154,41,
-177,194,237,70,173,135,177,136,53,87,184,52,0,225,238,1,28,190,243,179,
-216,115,224,215,0,107,43,210,201,52,150,163,203,53,173,111,85,178,190,210,
-169,4,206,158,252,57,252,173,94,228,211,25,0,128,211,233,212,93,134,46,
-151,11,173,173,173,186,5,86,73,188,26,29,180,97,180,97,153,211,69,49,204,
-22,23,48,0,152,152,152,192,208,208,80,145,0,153,21,34,22,177,198,11,151,
-217,192,12,163,215,108,118,5,253,123,15,226,134,219,30,196,206,125,31,70,
-62,231,188,34,6,217,104,83,191,255,244,196,59,88,94,154,70,171,59,15,155,
-205,6,143,199,163,91,96,62,159,15,109,109,109,104,105,105,49,101,121,81,
-200,124,61,226,101,244,186,248,60,54,54,198,163,21,195,108,7,1,3,138,67,
-235,171,89,15,99,17,107,158,112,85,35,94,78,183,23,251,14,126,24,7,111,
-253,52,58,122,71,144,73,91,145,136,175,33,159,91,107,126,27,50,41,156,57,
-241,2,66,237,109,200,174,205,193,237,246,233,225,242,100,121,145,213,85,
-206,250,146,221,134,213,136,151,25,209,162,103,14,153,103,152,109,38,96,
-43,43,43,134,235,97,44,98,205,21,173,82,86,86,57,225,18,35,10,189,173,65,
-28,60,114,31,134,15,127,28,173,193,1,164,147,133,170,54,30,215,203,149,
-141,203,227,152,157,62,131,128,87,133,219,237,134,221,110,135,215,235,133,
-221,110,71,48,24,68,75,75,11,236,118,123,69,203,171,30,241,42,231,46,20,
-95,143,68,34,28,50,207,48,219,77,192,128,15,214,195,40,188,190,156,32,53,
-75,196,0,108,91,33,107,100,96,70,71,239,78,92,127,219,167,176,123,228,35,
-112,184,59,144,74,102,106,218,120,92,47,133,66,30,167,79,188,128,80,168,
-13,200,70,224,116,58,225,245,122,225,114,185,16,8,4,224,114,185,202,190,
-63,151,203,213,181,230,85,74,188,228,191,43,138,194,235,94,12,179,157,5,
-12,168,188,30,214,108,17,219,142,214,88,163,54,30,195,98,69,207,192,48,
-14,221,254,57,92,183,231,86,192,210,138,84,50,137,84,52,214,240,192,12,
-179,214,87,116,113,6,23,222,61,134,80,64,129,221,225,208,5,204,231,243,
-233,155,150,229,9,10,65,107,93,102,75,163,84,35,94,70,251,189,38,38,38,
-120,132,98,152,237,44,96,0,48,54,54,198,34,182,65,194,101,106,227,177,205,
-142,221,215,31,193,77,119,126,30,161,158,17,228,115,14,36,147,245,111,60,
-174,23,85,85,49,246,246,75,104,241,121,160,229,227,176,187,221,112,58,157,
-250,126,47,114,27,26,185,15,203,37,230,109,180,120,81,159,102,24,230,26,
-16,48,160,124,80,71,61,34,38,186,136,204,136,24,176,181,92,138,141,220,
-120,236,105,9,96,207,245,119,224,224,145,207,192,223,182,11,185,140,5,137,
-248,149,138,199,87,27,77,83,145,136,47,226,252,153,87,17,244,1,118,139,
-11,30,143,7,62,159,15,62,159,175,228,181,148,173,46,177,63,152,221,164,
-92,141,120,113,208,6,195,92,131,2,182,178,178,130,203,151,47,163,167,167,
-167,161,34,182,93,173,177,134,237,223,210,52,4,194,61,56,112,203,39,48,
-114,227,253,112,184,58,144,78,231,177,18,107,236,198,227,250,5,76,195,196,
-216,49,64,77,195,170,105,112,186,220,186,235,144,114,29,210,51,137,148,
-145,187,176,217,226,53,59,59,203,65,27,12,115,173,9,24,0,68,163,81,40,138,
-130,112,56,204,34,102,66,184,234,95,223,218,143,253,55,125,12,67,215,127,
-76,79,172,155,138,45,95,149,245,173,74,214,87,42,185,130,179,111,253,28,
-93,157,33,32,183,172,7,110,200,238,194,124,254,202,190,176,82,129,26,205,
-20,175,72,36,194,213,149,25,230,90,21,48,0,152,159,159,135,162,40,8,4,2,
-155,66,196,128,205,225,82,108,196,250,214,149,141,199,14,12,30,184,9,7,
-111,253,20,250,247,28,65,46,235,192,218,218,218,85,95,223,170,196,212,248,
-219,88,139,207,33,224,114,195,247,190,120,145,120,136,86,87,42,149,130,
-213,106,53,180,186,154,41,94,241,120,156,35,14,25,230,90,23,48,0,152,153,
-153,1,0,93,196,140,4,104,163,68,236,106,11,153,145,112,213,154,88,247,192,
-145,187,177,255,198,79,32,220,189,31,153,140,13,241,216,234,166,88,223,
-170,120,14,50,41,156,121,235,5,236,216,209,11,155,26,135,197,98,129,197,
-98,129,221,110,71,62,159,71,34,145,120,223,82,211,96,181,90,145,78,167,
-215,9,87,163,197,75,252,61,30,143,115,134,121,134,97,1,43,22,49,187,221,
-174,47,208,87,18,174,106,69,204,104,128,51,35,100,27,33,98,141,44,28,233,
-245,183,225,134,219,62,137,125,163,31,71,107,240,58,36,147,121,44,199,214,
-54,108,227,113,189,104,154,138,249,203,239,33,58,63,1,111,183,87,207,117,
-8,0,171,171,171,112,185,92,208,52,13,154,166,33,159,207,235,5,45,205,150,
-67,169,85,188,196,189,94,44,94,12,195,2,182,142,11,23,46,96,231,206,157,
-77,17,177,205,104,141,53,66,184,84,85,133,166,1,109,157,59,112,232,246,
-7,177,123,228,215,160,184,66,72,173,165,17,91,138,111,248,198,227,122,201,
-231,179,56,125,252,103,8,248,189,80,243,25,192,126,101,163,114,58,157,134,
-203,229,66,42,149,130,166,105,69,110,68,51,86,87,163,196,139,247,122,49,
-12,11,152,105,17,163,65,170,156,136,149,154,129,55,202,165,216,104,33,107,
-68,96,134,170,170,176,88,109,232,217,57,140,27,63,242,69,236,216,125,19,
-52,213,131,84,50,137,100,50,182,233,2,51,204,90,95,177,197,75,152,122,239,
-56,186,195,46,88,44,22,20,10,5,228,243,121,216,237,118,164,82,41,56,157,
-78,253,218,146,245,85,73,188,204,188,94,105,205,139,197,139,97,88,192,170,
-18,49,175,215,139,124,62,95,115,17,204,70,187,20,235,21,178,90,3,51,196,
-215,84,85,133,195,229,193,117,123,15,225,240,157,95,64,71,207,126,100,179,
-118,172,174,36,80,200,71,183,244,117,87,85,21,99,239,188,140,64,160,5,185,
-236,50,148,247,207,53,69,26,146,219,144,42,48,55,194,234,98,241,98,24,22,
-176,166,136,88,111,111,47,252,126,63,10,133,66,195,69,172,30,107,172,26,
-33,107,84,98,93,139,197,2,151,207,143,161,235,239,192,225,59,63,15,95,107,
-63,210,41,21,203,177,213,45,179,190,85,201,250,74,196,23,241,238,233,87,
-17,242,91,145,207,104,40,20,10,186,171,80,22,46,178,190,154,45,94,28,176,
-193,48,44,96,53,113,233,210,37,0,64,107,107,235,149,200,186,58,68,172,148,
-197,85,143,53,86,78,200,26,181,190,165,170,42,218,187,250,49,124,227,199,
-112,224,166,251,161,184,194,72,39,179,91,114,125,171,188,128,105,24,63,
-247,6,172,90,26,169,213,20,20,197,174,191,110,179,217,96,179,217,96,183,
-219,117,17,171,86,184,88,188,24,134,5,236,170,136,88,46,151,67,48,24,44,
-18,40,81,120,100,17,42,37,74,149,172,177,70,8,89,60,30,95,39,90,149,44,
-45,249,119,85,85,161,106,26,122,118,14,99,228,166,251,176,111,244,110,168,
-154,111,75,175,111,85,178,190,82,107,113,156,61,249,115,180,181,5,144,89,
-77,23,137,150,124,157,228,181,175,70,88,93,178,120,69,34,17,222,231,197,
-48,44,96,245,179,176,176,128,124,62,143,80,40,4,139,197,98,58,42,177,150,
-124,137,181,186,21,201,226,114,187,221,186,40,165,82,169,234,19,235,90,
-109,216,53,242,33,92,127,228,83,232,27,188,9,249,156,3,171,171,155,127,
-227,113,189,76,77,188,141,204,90,12,74,46,9,187,253,3,107,75,20,178,114,
-165,83,234,177,186,100,241,154,157,157,229,12,27,12,195,2,214,56,162,209,
-40,82,169,20,186,187,187,245,60,120,181,138,88,163,172,177,82,110,194,124,
-62,15,0,176,90,173,176,90,173,40,20,10,200,102,179,101,55,30,219,29,46,
-140,28,190,27,7,143,124,10,161,206,189,72,37,53,172,44,39,183,196,198,227,
-122,201,102,82,56,125,226,5,180,7,91,145,77,38,215,89,95,138,162,232,174,
-67,35,235,171,81,226,5,0,227,227,227,215,108,245,110,134,97,1,107,34,169,
-84,10,19,19,19,216,181,107,23,156,78,231,58,55,98,41,23,98,57,151,98,37,
-107,204,232,239,149,132,75,180,172,232,53,202,38,65,239,167,194,145,62,
-127,27,70,63,252,25,236,63,124,47,220,190,46,164,82,121,196,150,18,155,
-42,177,110,51,209,52,21,179,211,99,136,206,79,160,173,5,69,107,93,118,187,
-29,78,167,211,208,149,88,171,112,201,214,150,56,153,225,146,40,12,195,2,
-214,116,38,38,38,208,223,223,175,175,59,25,173,139,53,202,26,19,7,186,181,
-181,181,170,133,139,44,173,124,62,255,65,126,66,155,29,237,93,253,56,124,
-199,255,194,224,200,93,128,181,5,169,181,52,150,163,219,43,48,195,12,249,
-124,22,167,79,188,128,182,182,0,212,244,60,28,239,23,173,36,43,172,210,
-53,169,215,234,226,48,121,134,97,1,219,112,166,166,166,208,209,209,1,191,
-223,191,78,132,42,185,20,171,181,198,200,226,82,20,5,249,124,94,23,167,
-82,194,37,186,7,233,119,90,223,234,29,60,128,67,119,252,38,250,6,111,66,
-46,163,108,137,196,186,205,180,190,162,11,51,152,30,63,142,80,64,41,18,
-47,178,184,228,208,249,70,39,231,229,96,13,134,97,1,187,42,44,44,44,32,
-149,74,161,171,171,75,223,240,76,34,100,38,91,71,165,176,122,209,85,72,
-98,5,92,113,7,150,18,42,217,250,186,146,88,215,141,129,189,135,113,195,
-135,126,3,29,189,35,72,167,44,136,71,87,81,200,39,174,233,235,167,22,10,
-56,251,246,139,104,15,133,160,166,103,97,247,120,138,132,75,172,184,76,
-235,158,213,90,93,178,96,201,147,32,174,229,197,48,44,96,87,141,68,34,129,
-68,34,129,254,254,126,61,91,67,53,46,69,89,216,50,153,204,7,39,219,110,
-215,51,157,27,185,11,105,77,139,130,52,68,17,83,85,21,46,111,43,70,14,223,
-141,27,110,251,12,188,173,59,144,78,22,174,172,111,21,10,124,225,0,172,
-196,23,241,222,153,215,16,242,219,80,16,44,45,113,189,139,2,56,40,133,84,
-35,172,46,118,25,50,12,11,216,166,66,116,41,138,233,167,100,225,42,101,
-141,101,50,153,162,215,72,176,72,164,68,225,146,127,22,159,115,185,28,130,
-225,94,236,191,249,126,236,191,241,227,176,41,109,72,37,51,136,69,73,193,
-148,106,0,0,19,228,73,68,65,84,150,175,185,245,173,178,214,151,90,192,248,
-217,95,194,138,44,114,233,140,46,84,244,160,226,149,70,235,96,245,100,216,
-96,151,33,195,176,128,109,74,22,22,22,144,72,36,208,221,221,173,215,138,
-178,217,108,21,55,59,147,213,37,174,113,201,235,92,228,54,164,255,149,133,
-75,211,52,244,236,58,128,131,183,126,26,59,118,223,10,85,117,35,149,76,
-34,159,216,126,27,143,27,65,114,117,25,103,79,254,28,225,246,0,178,201,
-69,221,77,232,114,185,214,137,22,89,95,245,8,87,46,151,227,16,121,134,97,
-1,219,220,80,168,125,111,111,175,158,12,216,102,179,233,22,149,145,112,
-137,66,37,10,86,46,151,91,103,101,209,255,100,50,153,43,110,68,171,21,59,
-135,143,96,244,246,223,64,184,103,24,217,140,130,213,196,234,53,27,152,
-97,6,77,83,49,53,241,54,82,137,69,184,45,22,216,223,119,17,138,1,28,102,
-210,70,85,42,60,73,207,156,18,138,97,88,192,182,20,151,46,93,66,107,107,
-43,194,225,48,172,86,171,110,145,201,145,131,249,124,94,223,163,69,130,
-37,91,88,153,76,70,255,157,222,235,112,185,177,231,134,95,199,129,91,63,
-13,79,75,47,50,41,13,203,209,85,94,223,50,65,38,157,196,153,19,63,67,87,
-87,7,180,108,20,14,135,163,168,112,165,40,66,102,214,190,202,89,93,28,168,
-193,48,44,96,91,146,149,149,21,172,172,172,160,175,175,15,30,143,7,170,
-170,194,102,179,21,69,23,82,160,6,9,25,0,253,119,18,48,81,244,92,190,32,
-174,191,241,30,140,220,244,0,236,142,54,164,82,121,44,47,173,240,250,86,
-21,214,215,236,244,57,204,95,58,135,190,78,223,186,36,189,228,70,52,179,
-113,185,92,192,6,91,93,12,195,2,182,45,152,153,153,129,219,237,70,103,103,
-39,52,77,43,74,178,43,134,199,139,98,37,254,174,105,64,75,123,15,14,220,
-242,0,118,141,220,5,85,245,32,149,76,99,117,117,153,215,183,170,36,159,
-207,225,236,201,23,209,219,187,3,200,45,194,102,115,148,93,255,170,36,92,
-178,213,149,76,38,49,53,53,197,107,93,12,195,2,182,125,72,165,82,120,247,
-221,119,209,214,214,6,175,215,11,69,81,116,241,17,3,55,242,249,252,7,22,
-153,213,134,254,161,27,177,251,250,123,208,189,243,70,228,178,10,18,43,
-107,188,190,85,135,245,181,52,127,17,23,207,191,137,29,221,45,128,144,46,
-74,220,243,69,136,85,185,43,9,87,46,151,227,36,188,12,195,2,182,61,33,183,
-225,226,226,34,22,23,23,209,214,214,6,143,199,131,108,54,187,78,200,92,
-30,31,186,7,70,177,251,134,143,33,16,218,131,116,10,136,199,214,174,249,
-141,199,245,162,170,42,206,189,253,18,218,130,173,208,212,20,92,239,7,110,
-144,112,217,108,54,40,138,98,184,22,86,234,119,14,141,103,24,22,176,107,
-138,66,161,160,15,120,193,96,16,118,187,29,217,108,22,110,95,0,3,7,62,130,
-158,221,183,193,233,238,68,58,153,71,44,202,27,143,27,101,125,173,44,47,
-224,189,179,175,163,167,195,131,66,38,249,65,167,126,223,133,40,10,151,
-152,172,185,148,112,241,58,23,195,176,128,93,83,194,37,255,190,176,176,
-128,80,247,78,140,126,228,55,209,117,221,141,128,181,21,169,100,26,203,
-75,113,14,204,104,168,128,105,56,127,250,85,32,191,138,92,58,11,199,251,
-150,150,203,229,210,131,54,196,71,185,0,13,94,231,98,24,22,176,107,6,185,
-252,9,0,216,236,10,58,251,135,48,114,235,103,16,234,61,8,77,245,96,45,153,
-68,62,199,27,143,155,65,106,45,142,115,111,191,140,29,253,59,80,72,47,233,
-251,190,228,124,135,98,225,74,22,46,134,97,1,99,36,171,171,80,40,160,123,
-224,48,14,126,232,75,128,85,65,100,110,25,54,251,218,251,251,193,172,124,
-146,26,110,125,169,184,240,222,9,172,46,207,32,228,13,174,19,43,217,242,
-146,147,239,178,171,144,97,88,192,24,129,75,227,71,49,123,241,4,90,218,
-6,224,240,118,163,189,107,31,90,131,93,240,182,180,193,225,116,179,152,
-53,144,76,58,137,211,199,127,134,221,131,187,81,200,68,116,183,33,89,90,
-36,86,36,104,20,85,200,193,25,12,195,2,198,72,208,94,163,108,58,137,133,
-233,183,161,170,111,97,254,226,47,17,8,15,193,221,218,131,142,158,125,104,
-9,132,225,241,5,96,183,59,88,200,234,180,190,46,79,157,69,100,246,93,248,
-175,11,233,110,67,122,184,221,238,117,235,94,28,14,207,48,44,96,76,9,241,
-162,96,14,18,178,66,161,128,181,248,34,18,177,121,20,84,21,179,161,93,104,
-105,187,14,109,93,67,232,236,221,3,143,47,8,151,203,7,171,205,198,98,86,
-37,249,124,22,103,78,188,128,254,254,126,88,44,171,112,58,61,134,129,27,
-169,84,10,51,51,51,235,2,109,24,134,97,1,187,166,113,56,28,200,102,179,
-69,226,101,100,145,93,25,112,243,136,204,142,97,225,210,89,76,141,189,136,
-246,158,17,120,90,186,208,55,120,24,193,208,14,120,125,1,40,14,23,187,24,
-77,90,95,145,249,139,152,158,124,11,67,3,29,176,89,29,69,235,94,249,124,
-30,209,104,20,241,120,92,191,78,12,195,176,128,49,21,172,176,114,98,71,
-5,42,179,153,36,46,141,31,133,170,170,184,52,254,26,194,125,7,16,12,237,
-66,231,142,97,248,131,157,112,123,91,217,197,88,6,85,85,113,246,173,95,
-192,227,4,172,214,130,190,190,21,137,68,144,74,165,138,234,127,49,12,195,
-2,198,84,97,133,153,17,50,122,172,173,44,32,113,234,167,176,88,108,104,
-239,218,131,80,207,48,66,221,123,208,209,179,27,222,150,54,56,93,62,88,
-173,86,22,51,193,250,138,71,231,48,126,246,151,184,174,183,19,171,137,24,
-22,230,231,225,112,56,224,112,56,214,9,23,91,95,12,195,2,198,84,97,129,
-21,10,133,117,34,70,2,87,238,177,120,249,44,230,103,206,192,233,246,161,
-115,199,245,240,183,247,163,119,96,20,193,246,94,120,216,197,248,190,128,
-105,120,247,244,171,200,103,98,152,187,180,4,69,177,23,9,23,157,119,182,
-190,24,230,26,26,123,71,71,71,191,197,167,161,118,225,34,235,203,106,181,
-22,61,27,13,166,54,155,13,86,171,213,240,97,177,88,160,169,121,172,68,167,
-49,63,253,14,22,47,159,69,44,114,9,137,149,43,137,126,45,54,27,108,54,187,
-94,107,236,90,35,185,186,140,151,159,251,17,2,173,110,20,114,107,250,254,
-46,69,81,214,157,75,182,190,24,134,45,48,198,4,228,74,20,5,173,156,21,102,
-100,149,145,245,38,62,18,177,203,136,47,205,96,226,204,207,209,221,127,
-0,109,93,123,17,234,218,131,112,247,46,248,90,67,112,56,61,215,140,139,
-81,211,84,76,190,251,38,86,150,166,97,245,89,96,183,219,138,44,47,94,251,
-98,24,22,48,166,14,17,3,160,175,137,85,178,216,72,228,202,9,152,248,250,
-220,212,219,184,124,225,45,56,221,173,232,234,191,30,129,240,0,122,174,
-59,168,187,24,237,138,115,91,187,24,51,233,36,78,159,248,25,122,122,122,
-144,94,157,43,43,88,108,125,49,12,11,24,211,0,107,172,146,144,149,18,180,
-82,162,150,203,172,98,250,252,107,152,58,255,26,46,158,219,129,206,29,7,
-208,222,181,7,29,61,123,208,26,232,132,211,237,131,221,126,101,243,238,
-118,17,51,170,184,188,112,105,12,109,173,87,92,132,242,154,23,91,95,12,
-195,2,198,52,216,26,51,18,50,89,188,196,117,180,114,226,37,191,182,18,157,
-70,108,241,2,108,118,7,186,250,15,32,212,51,140,182,240,0,58,123,247,92,
-73,95,229,112,195,178,13,92,140,249,124,22,239,188,249,60,194,225,16,10,
-233,69,216,236,74,73,209,98,235,139,97,88,192,152,38,10,153,209,26,153,
-44,110,102,45,50,122,109,238,226,73,92,154,56,14,151,199,143,158,157,135,
-17,8,239,68,119,255,8,130,161,62,184,61,173,91,214,197,168,105,42,22,231,
-46,96,106,252,56,218,91,214,91,95,162,5,198,48,12,11,24,211,36,33,35,49,
-51,26,108,229,140,30,70,46,70,89,192,140,4,45,151,89,197,197,177,151,112,
-97,236,37,92,104,239,71,247,206,81,4,66,3,232,232,217,13,127,176,11,46,
-183,15,86,219,149,75,190,21,196,76,45,20,112,238,228,47,224,113,41,80,11,
-73,40,138,178,206,117,200,48,12,11,24,179,73,196,172,148,136,85,18,48,249,
-247,248,210,20,162,11,147,176,218,21,116,246,142,32,220,187,31,225,158,
-189,8,119,13,192,219,210,14,135,195,181,169,93,140,154,166,34,30,155,199,
-123,103,126,9,191,87,129,154,179,174,219,235,197,27,151,25,134,5,140,185,
-138,98,102,38,232,67,22,53,179,22,25,189,182,48,243,14,230,166,78,194,237,
-107,71,247,117,55,32,24,222,133,206,190,33,4,67,125,240,248,2,176,217,148,
-77,231,98,188,82,113,249,53,228,51,203,200,88,10,122,102,121,222,184,204,
-48,140,62,38,242,70,230,171,124,1,132,1,185,80,40,20,109,200,5,160,175,
-251,208,207,178,5,66,255,43,111,146,150,55,248,90,44,22,228,178,73,44,71,
-46,96,246,226,9,68,102,207,35,17,95,68,106,109,21,170,170,193,106,221,60,
-27,165,53,77,189,178,113,249,255,253,19,130,126,23,10,185,36,111,92,102,
-24,134,45,176,237,98,149,85,10,197,175,100,161,197,35,23,17,157,159,128,
-93,113,161,171,255,224,149,112,252,222,125,104,239,216,121,213,139,112,
-106,154,134,201,119,223,68,34,118,25,22,143,10,69,177,243,198,101,134,97,
-88,192,182,146,144,153,21,51,35,65,171,36,96,31,188,174,98,246,194,113,
-92,154,248,21,220,190,118,116,238,56,136,112,247,16,58,119,236,71,160,173,
-11,110,111,235,134,186,24,53,77,69,54,147,196,153,183,94,64,87,119,23,210,
-137,89,222,184,204,48,12,11,216,118,16,179,114,81,140,165,158,205,10,90,
-38,25,195,228,153,159,227,226,216,75,104,239,220,131,142,190,253,104,235,
-220,141,142,238,221,104,13,118,192,233,244,110,72,17,206,75,23,207,98,241,
-242,187,8,182,24,175,121,177,245,197,48,12,11,216,22,21,179,102,184,24,
-229,215,162,243,231,177,120,249,28,108,138,19,157,125,7,208,217,55,130,
-112,207,62,180,119,244,195,215,218,214,180,189,101,249,92,6,167,79,252,
-12,161,80,59,242,169,5,216,12,50,206,179,245,197,48,12,11,216,54,177,202,
-42,137,153,145,160,153,177,200,174,188,174,97,126,234,45,204,94,56,14,111,
-107,24,29,189,35,232,216,113,0,225,174,221,8,180,119,195,237,245,55,44,
-125,149,166,169,88,152,157,196,204,248,91,104,243,219,216,250,98,24,134,
-5,236,90,18,179,102,186,24,83,171,75,152,56,243,115,92,24,123,9,193,240,
-0,122,174,59,132,182,247,51,228,183,248,67,122,17,206,90,197,76,45,20,112,
-246,228,47,224,241,216,145,207,174,234,245,190,204,8,52,195,48,44,96,204,
-54,16,51,51,233,171,234,117,49,46,47,78,98,105,238,61,40,14,55,194,189,
-87,220,139,93,253,35,104,11,247,195,215,18,172,218,197,168,105,42,150,163,
-179,24,63,119,20,33,191,19,217,84,170,236,158,47,118,31,50,12,195,2,118,
-141,90,101,149,172,52,51,22,217,149,71,22,243,83,39,48,123,225,56,222,123,
-39,132,174,254,131,8,247,12,163,179,119,8,254,182,46,184,189,126,216,76,
-164,175,210,84,21,99,167,94,129,150,95,69,122,173,80,50,109,20,91,98,12,
-195,232,227,22,111,100,222,230,23,184,138,141,210,70,207,229,54,74,211,
-231,234,27,165,51,107,88,154,31,199,236,197,227,136,204,141,99,37,182,128,
-76,38,5,13,128,205,166,192,106,181,225,202,30,105,173,104,179,180,166,169,
-88,75,196,240,202,115,63,66,155,223,9,53,159,214,55,45,211,231,83,38,14,
-222,184,204,48,12,91,96,215,176,101,182,17,46,70,138,98,156,60,251,83,180,
-119,15,35,220,51,140,142,222,125,104,11,239,128,87,42,194,169,105,26,38,
-198,222,64,38,25,69,22,5,125,237,139,211,70,49,12,195,2,198,24,10,25,137,
-89,45,46,70,51,37,95,0,32,159,77,225,242,196,49,204,78,254,10,222,214,14,
-116,244,93,169,93,214,181,99,31,90,253,29,112,121,90,144,203,166,113,246,
-228,139,232,8,7,145,75,45,149,205,184,193,214,23,195,48,44,96,140,105,49,
-171,165,8,167,209,223,178,169,24,46,158,251,5,230,46,28,197,229,142,221,
-8,118,238,69,123,247,94,100,179,89,196,22,47,160,35,104,43,178,190,228,
-239,192,48,12,195,2,198,148,21,179,70,20,225,52,18,48,145,229,197,247,176,
-188,248,30,230,47,188,2,175,191,31,29,161,86,216,180,100,217,156,135,108,
-125,49,12,195,2,198,52,204,42,43,101,165,85,18,48,66,43,228,176,26,29,175,
-152,172,151,197,139,97,24,22,48,166,105,98,86,201,213,88,202,130,147,159,
-57,112,131,97,24,22,48,166,41,98,86,75,20,99,165,188,141,229,158,217,250,
-98,24,134,5,140,217,48,171,204,72,204,204,10,24,139,23,195,48,44,96,204,
-166,17,179,114,34,102,36,92,44,94,12,195,176,128,49,27,46,102,102,51,228,
-27,137,22,11,23,195,48,44,96,204,166,176,202,170,17,52,22,46,134,97,88,
-192,152,77,45,104,12,195,48,141,192,202,167,128,97,24,134,97,1,99,24,134,
-97,24,22,48,134,97,24,134,97,1,99,24,134,97,88,192,24,134,97,24,134,5,140,
-97,24,134,97,88,192,24,134,97,24,22,48,134,97,24,134,97,1,99,24,134,97,
-24,22,48,134,97,24,134,97,1,99,24,134,97,88,192,24,134,97,24,134,5,140,
-97,24,134,97,88,192,24,134,97,24,22,48,134,97,24,134,97,1,99,24,134,97,
-24,22,48,134,97,24,134,5,140,97,24,134,97,88,192,24,134,97,24,134,5,140,
-97,24,134,97,88,192,24,134,97,24,22,48,134,97,24,134,97,1,99,24,134,97,
-152,202,216,249,20,48,12,83,138,135,30,122,8,31,254,240,135,209,218,218,
-138,233,233,105,252,227,63,254,35,102,102,102,0,0,225,112,24,143,61,246,
-24,250,250,250,112,250,244,105,60,253,244,211,200,102,179,37,95,127,230,
-153,103,214,207,160,173,86,252,206,239,252,78,67,143,111,177,88,48,56,56,
-136,63,254,227,63,198,151,191,252,229,162,207,43,245,30,35,134,134,134,
-240,216,99,143,225,201,39,159,196,252,252,188,225,255,140,140,140,224,209,
-71,31,197,159,255,249,159,35,26,141,26,254,79,87,87,23,158,124,242,73,168,
-170,10,85,85,17,137,68,240,47,255,242,47,56,125,250,180,233,235,32,126,
-134,200,247,190,247,189,170,62,167,26,134,135,135,241,71,127,244,71,176,
-90,173,80,85,21,79,60,241,4,150,151,151,241,208,67,15,225,163,31,253,40,
-20,69,193,211,79,63,141,19,39,78,152,110,195,183,191,253,109,60,242,200,
-35,108,129,49,12,211,124,18,137,4,158,124,242,73,252,222,239,253,30,206,
-156,57,131,223,253,221,223,213,255,246,197,47,126,17,167,79,159,198,227,
-143,63,142,124,62,143,123,239,189,183,236,235,143,60,242,72,209,227,159,
-255,249,159,177,176,176,208,240,227,127,245,171,95,197,215,191,254,117,
-88,173,235,135,183,82,239,145,81,20,5,143,62,250,40,126,244,163,31,149,
-20,47,0,56,125,250,52,94,120,225,133,178,34,12,0,170,170,226,145,71,30,
-193,163,143,62,138,23,95,124,17,191,253,219,191,93,245,181,160,207,16,31,
-205,18,47,0,56,123,246,44,190,241,141,111,232,199,93,94,94,70,32,16,192,
-3,15,60,128,191,248,139,191,192,163,143,62,106,90,188,154,5,11,24,195,48,
-37,121,254,249,231,17,137,68,160,170,42,142,30,61,138,238,238,110,221,114,
-218,191,127,63,126,241,139,95,32,159,207,227,229,151,95,198,245,215,95,
-95,242,117,35,129,248,204,103,62,131,255,250,175,255,106,232,241,201,42,
-249,198,55,190,97,104,237,153,249,110,0,240,235,191,254,235,88,92,92,196,
-91,111,189,165,191,230,241,120,240,216,99,143,225,233,167,159,198,223,253,
-221,223,225,11,95,248,2,0,224,217,103,159,69,127,127,63,134,134,134,42,
-158,79,77,211,112,234,212,41,120,60,30,0,192,159,253,217,159,225,142,59,
-238,208,255,254,161,15,125,8,95,255,250,215,171,186,70,93,93,93,120,230,
-153,103,240,224,131,15,226,169,167,158,194,205,55,223,140,7,30,120,0,79,
-61,245,20,126,248,195,31,226,201,39,159,196,200,200,72,209,255,62,244,208,
-67,120,234,169,167,240,215,127,253,215,250,223,204,240,167,127,250,167,
-0,128,111,127,251,219,248,171,191,250,171,170,142,77,208,255,86,123,108,
-22,48,134,97,106,102,96,96,0,179,179,179,0,128,64,32,0,69,81,16,139,197,
-0,0,177,88,12,29,29,29,37,95,151,185,231,158,123,144,72,36,240,203,95,254,
-178,161,199,47,71,53,239,185,253,246,219,241,202,43,175,20,189,246,240,
-195,15,235,22,222,159,252,201,159,32,18,137,0,0,114,185,28,94,127,253,117,
-220,121,231,157,21,219,96,177,88,112,203,45,183,224,141,55,222,0,0,28,61,
-122,20,55,223,124,179,254,247,155,111,190,185,170,115,34,138,243,210,210,
-18,254,240,15,255,16,199,142,29,195,169,83,167,240,205,111,126,19,95,254,
-242,151,241,252,243,207,227,183,126,235,183,138,254,119,117,117,21,95,253,
-234,87,241,63,255,243,63,248,252,231,63,111,250,56,223,249,206,119,116,
-139,236,107,95,251,90,77,199,94,91,91,171,233,216,70,240,26,24,195,48,21,
-241,122,189,248,244,167,63,141,127,255,247,127,215,45,40,90,211,1,128,124,
-62,15,69,81,74,190,46,127,214,253,247,223,143,127,248,135,127,104,248,241,
-203,97,246,61,14,135,3,189,189,189,24,27,27,211,95,115,185,92,184,241,198,
-27,241,181,175,125,13,233,116,26,233,116,26,207,63,255,188,254,247,115,
-231,206,233,22,89,41,129,249,254,247,191,15,171,213,10,77,211,240,227,31,
-255,24,118,187,29,111,188,241,6,62,251,217,207,194,227,241,64,85,85,236,
-219,183,207,112,173,80,252,12,66,85,85,252,254,239,255,190,254,243,75,47,
-189,164,255,109,114,114,18,67,67,67,56,114,228,8,58,58,58,208,222,222,94,
-244,190,231,158,123,14,192,21,23,232,131,15,62,88,87,223,184,154,199,102,
-1,99,24,166,44,54,155,13,143,63,254,56,222,124,243,77,28,59,118,76,183,
-58,172,86,43,44,22,11,52,77,131,221,110,71,46,151,43,249,186,200,39,63,
-249,73,204,204,204,224,237,183,223,46,122,93,28,184,197,133,254,106,142,
-95,14,179,239,241,251,253,176,88,44,186,133,5,0,45,45,45,176,88,44,37,3,
-53,150,150,150,16,8,4,202,14,242,143,62,250,168,46,134,15,62,248,32,30,
-127,252,113,252,237,223,254,45,38,39,39,113,248,240,97,20,10,5,140,141,
-141,97,117,117,181,226,103,84,226,43,95,249,10,122,123,123,241,198,27,111,
-148,252,206,36,226,70,107,133,245,176,145,199,102,1,99,24,166,162,120,173,
-172,172,224,223,254,237,223,244,215,151,151,151,145,203,229,16,8,4,16,139,
-197,16,12,6,17,137,68,74,190,78,180,181,181,225,163,31,253,40,190,243,157,
-239,172,59,150,81,116,90,181,199,47,71,45,239,33,72,84,130,193,160,238,
-130,172,149,116,58,141,87,94,121,69,95,235,34,55,98,62,159,175,201,125,
-40,19,8,4,112,211,77,55,225,15,254,224,15,176,182,182,134,174,174,46,124,
-234,83,159,218,144,254,178,209,199,230,53,48,134,97,74,242,248,227,143,
-35,149,74,225,251,223,255,62,52,77,43,178,6,206,156,57,131,143,124,228,
-35,176,219,237,184,227,142,59,240,206,59,239,148,124,157,120,232,161,135,
-112,250,244,105,188,247,222,123,77,57,126,57,204,190,39,30,143,67,211,52,
-4,131,65,253,181,84,42,133,83,167,78,225,115,159,251,28,156,78,39,90,90,
-90,112,207,61,247,232,127,111,111,111,199,242,242,178,233,65,254,222,123,
-239,197,185,115,231,0,0,199,142,29,195,240,240,48,246,238,221,139,227,199,
-143,215,125,205,114,185,28,84,85,69,119,119,55,28,14,7,110,191,253,246,
-13,235,47,27,125,108,182,192,24,134,41,201,225,195,135,161,170,42,110,187,
-237,182,117,150,210,191,254,235,191,226,241,199,31,199,189,247,222,139,
-51,103,206,224,217,103,159,45,251,122,95,95,31,142,28,57,130,111,125,235,
-91,77,61,254,87,190,242,21,236,223,191,31,86,171,21,79,61,245,20,158,123,
-238,57,252,228,39,63,41,251,30,145,108,54,139,75,151,46,97,223,190,125,
-120,237,181,215,244,215,127,240,131,31,224,75,95,250,18,254,230,111,254,
-6,249,124,30,175,190,250,170,254,183,225,225,225,178,162,108,181,90,117,
-23,105,50,153,196,91,111,189,133,31,254,240,135,0,128,149,149,21,156,63,
-127,30,137,68,162,228,158,52,249,51,136,239,125,239,123,88,90,90,42,122,
-109,109,109,13,255,241,31,255,129,39,158,120,2,233,116,186,102,171,78,220,
-7,246,204,51,207,224,137,39,158,168,248,158,70,29,219,44,150,135,31,126,
-88,227,219,148,97,24,230,3,62,254,241,143,227,208,161,67,248,203,191,252,
-203,202,86,128,221,142,239,126,247,187,248,251,191,255,251,162,192,143,
-106,248,230,55,191,137,159,252,228,39,69,97,251,76,101,216,133,200,48,12,
-35,241,194,11,47,32,20,10,97,116,116,180,226,255,222,123,239,189,152,154,
-154,170,89,188,122,123,123,209,209,209,81,209,5,202,176,128,49,12,195,84,
-36,151,203,225,7,63,248,1,30,126,248,225,178,251,203,246,239,223,143,187,
-239,190,27,255,244,79,255,84,243,177,238,188,243,78,252,234,87,191,66,161,
-80,224,19,95,37,236,66,100,24,134,97,216,2,99,24,134,97,24,22,48,134,97,
-24,134,97,1,99,24,134,97,88,192,24,134,97,24,134,5,140,97,24,134,97,88,
-192,24,134,97,24,22,48,134,97,24,134,97,1,99,24,134,97,24,22,48,134,97,
-24,134,1,128,255,15,150,120,132,164,72,109,235,14,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_14 = 720;
-static unsigned char xml_res_file_14[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,98,73,68,65,84,120,218,
-164,82,75,72,84,81,24,254,206,99,102,238,56,143,156,76,28,107,108,12,156,
-200,48,18,44,40,232,1,66,11,195,22,65,80,171,146,164,125,216,131,86,173,
-163,32,90,213,170,135,155,200,90,24,18,21,5,110,50,34,40,97,106,49,69,89,
-41,86,234,216,152,142,163,243,184,231,158,254,185,206,140,51,149,109,58,
-151,159,255,156,239,156,239,255,190,255,242,51,173,53,254,103,201,242,195,
-245,99,15,118,54,110,171,63,186,186,193,183,203,31,244,4,13,175,211,190,
-79,207,103,205,228,212,194,228,143,209,217,231,95,94,77,220,234,238,237,
-124,81,228,176,188,131,222,238,71,130,210,197,154,245,254,158,218,166,0,
-168,0,12,159,179,66,41,157,204,98,230,91,18,147,239,103,144,24,155,187,
-76,208,217,174,27,29,202,86,16,82,158,137,236,14,245,52,239,11,255,211,
-110,112,83,13,154,219,27,17,123,58,218,243,225,217,120,156,160,11,162,121,
-122,239,58,79,181,251,126,235,193,38,1,75,67,171,229,184,122,188,15,201,
-120,10,225,150,250,18,118,247,252,19,220,233,187,141,182,214,237,123,162,
-253,31,111,202,218,13,129,78,71,149,116,42,211,130,50,169,102,254,159,178,
-101,213,216,208,103,184,253,6,218,58,54,227,241,181,33,36,190,206,146,99,
-129,154,6,191,51,155,86,157,178,46,18,136,204,199,211,48,23,173,21,173,
-15,63,140,217,145,95,156,113,59,59,92,14,84,135,124,17,78,253,147,160,128,
-185,160,10,97,149,66,114,137,137,185,113,140,37,70,224,118,122,240,110,
-226,13,230,51,115,96,84,36,255,73,226,114,149,68,139,219,97,128,229,4,96,
-10,202,220,14,152,28,137,133,105,108,220,17,198,129,35,251,49,50,21,195,
-137,83,93,88,27,174,163,86,21,92,14,55,76,226,114,195,107,188,228,164,100,
-101,168,253,52,163,204,160,178,140,246,84,67,229,224,149,171,224,21,126,
-44,230,82,112,233,42,24,210,3,173,201,157,144,112,19,151,125,26,72,156,
-206,38,213,37,87,64,254,249,7,237,85,196,138,19,187,180,207,252,180,224,
-244,242,115,146,91,34,42,57,91,178,205,150,31,160,124,194,139,53,53,43,
-21,148,204,2,183,216,176,180,82,98,80,8,30,165,195,86,86,120,173,11,236,
-114,30,211,75,56,43,160,154,177,168,78,97,208,30,229,241,123,153,45,76,
-98,144,240,53,149,118,43,92,151,95,77,107,133,246,208,33,215,91,246,189,
-223,44,182,90,75,15,174,208,238,112,126,186,43,218,71,137,168,40,250,24,
-195,73,210,141,231,239,216,212,128,254,155,88,219,10,51,245,250,119,224,
-151,0,3,0,73,108,255,70,11,2,77,132,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_15 = 343;
-static unsigned char xml_res_file_15[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,4,0,0,
-0,181,250,55,234,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,0,233,73,68,65,84,40,207,
-99,248,207,128,31,50,208,73,129,29,119,86,105,235,187,121,255,107,30,230,
-152,231,72,212,220,157,247,191,245,93,86,169,29,55,84,129,17,155,79,215,
-196,255,47,254,223,253,127,240,127,227,189,234,67,55,127,220,253,127,228,
-255,196,255,62,93,70,108,96,5,134,126,197,31,174,190,139,216,230,253,39,
-245,255,164,255,149,255,83,255,123,255,137,216,182,226,97,241,7,67,63,136,
-9,93,77,223,39,167,251,115,217,127,222,251,255,220,255,67,255,215,254,183,
-255,236,207,53,57,189,233,187,81,23,88,129,110,102,250,251,105,37,65,59,
-29,127,185,253,15,4,66,183,255,142,191,130,118,78,43,73,127,175,155,9,86,
-160,169,233,123,189,247,253,170,183,235,254,79,255,95,248,191,2,72,174,
-251,191,234,109,239,123,223,235,154,154,96,5,106,204,246,6,94,247,83,190,
-100,127,207,254,25,30,23,238,156,253,41,251,123,202,23,175,251,246,6,106,
-204,244,11,73,138,20,0,0,74,61,15,164,165,85,127,138,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_16 = 612;
-static unsigned char xml_res_file_16[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,1,246,73,68,65,84,24,25,
-165,193,63,72,148,113,28,199,241,247,239,238,185,63,42,150,4,122,154,244,
-199,171,33,176,40,197,169,110,104,111,178,65,90,218,202,69,68,156,90,26,
-90,107,40,20,28,42,104,106,113,105,104,105,13,162,197,193,90,14,21,10,44,
-48,201,72,81,239,79,231,243,124,63,223,124,144,182,26,142,94,175,224,238,
-252,143,48,62,187,56,85,185,62,246,112,187,225,93,238,128,132,75,152,12,
-151,35,23,110,134,220,113,51,76,226,88,62,174,175,172,108,220,123,245,120,
-98,33,26,187,54,54,159,43,118,101,74,69,218,209,85,111,216,60,176,16,53,
-98,207,52,182,107,180,171,25,123,134,67,145,155,115,255,230,32,237,154,
-158,251,66,42,114,23,238,142,147,114,112,32,4,62,44,47,243,47,163,35,35,
-152,140,84,132,59,102,198,228,220,58,127,60,159,57,75,170,82,169,240,55,
-181,90,13,37,70,42,50,25,114,231,233,244,25,8,14,30,144,59,71,156,119,213,
-13,182,246,154,212,90,5,10,185,136,227,29,226,234,80,1,153,72,69,46,71,
-38,66,0,23,135,28,130,51,60,60,204,219,143,235,212,213,197,229,161,19,68,
-185,44,91,187,7,236,236,183,88,250,92,67,50,82,25,201,144,140,196,12,147,
-33,25,74,68,181,90,229,71,179,72,185,212,201,78,43,176,185,103,36,33,203,
-96,95,55,219,205,128,36,82,81,18,199,152,25,51,207,190,243,199,220,100,
-137,84,173,121,64,62,159,35,105,37,200,161,149,56,197,40,75,226,17,73,156,
-144,138,220,132,36,158,220,233,3,156,148,36,82,157,133,28,7,177,17,27,36,
-114,82,30,160,81,175,227,18,169,72,18,146,3,34,0,206,145,114,249,28,191,
-54,99,246,155,70,119,71,158,150,57,81,38,176,185,29,227,63,215,56,159,93,
-35,21,198,103,23,23,75,167,78,78,200,12,153,48,51,36,97,113,76,46,31,209,
-223,215,195,232,197,211,200,97,183,214,194,182,86,168,244,126,99,247,211,
-251,228,235,234,210,237,224,238,180,227,245,131,27,119,251,7,250,31,245,
-14,93,233,89,93,122,211,8,238,78,187,94,78,93,184,53,80,190,244,66,74,58,
-126,3,149,204,48,103,29,102,159,90,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_17 = 741;
-static unsigned char xml_res_file_17[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,119,73,68,65,84,120,218,
-164,83,77,104,19,65,20,254,102,103,146,108,154,52,182,134,208,84,155,164,
-66,35,173,244,80,76,5,5,173,32,22,169,196,131,32,40,136,182,88,188,75,253,
-193,139,94,188,136,130,71,61,249,211,139,24,17,90,69,170,216,163,21,41,
-104,161,94,162,104,237,79,170,164,77,155,216,38,77,243,179,179,235,236,
-198,110,210,162,189,56,203,219,153,125,179,239,251,190,247,120,143,104,
-154,134,255,89,172,242,227,126,247,203,125,141,237,245,103,183,250,170,
-247,187,188,14,175,236,180,26,247,185,76,65,73,207,103,231,22,167,151,222,
-77,125,136,63,234,237,15,191,95,139,33,186,130,254,222,87,84,108,183,220,
-126,87,159,167,169,22,2,0,114,181,117,29,83,46,93,64,234,103,26,115,95,
-82,72,206,44,223,17,174,43,61,15,186,184,193,64,25,187,28,60,208,208,215,
-210,25,216,84,174,183,217,141,150,67,141,136,14,79,247,125,125,59,155,16,
-174,155,180,101,225,224,118,71,141,125,176,237,120,19,133,170,65,227,101,
-187,123,46,130,116,98,5,129,214,122,211,247,244,250,27,60,137,60,70,168,
-109,79,199,248,192,183,135,204,179,163,54,108,169,98,86,174,168,224,138,
-192,212,107,74,202,172,209,145,73,216,93,50,66,93,187,240,250,222,8,146,
-63,150,132,98,10,183,207,101,45,228,120,152,213,5,107,131,153,68,14,202,
-170,250,79,233,99,67,81,195,244,37,17,201,216,45,54,11,106,26,170,131,146,
-200,95,16,82,40,89,254,199,84,211,152,196,16,95,158,197,76,114,2,118,171,
-3,159,227,159,144,201,47,131,8,16,253,97,34,86,226,105,180,218,45,50,72,
-145,2,10,21,187,100,24,20,9,201,236,2,118,238,13,224,216,169,163,152,152,
-143,226,252,197,30,108,11,212,137,84,57,108,22,59,20,17,203,100,167,60,
-154,43,22,143,168,121,160,177,211,109,202,158,26,94,132,194,139,112,178,
-45,112,82,23,86,139,43,176,105,85,144,153,3,154,38,212,81,6,155,211,50,
-74,190,191,72,94,42,164,249,237,230,211,30,244,223,120,102,2,116,95,59,
-129,201,161,84,69,85,215,58,182,116,206,255,82,97,117,74,87,153,164,210,
-113,38,149,202,78,184,132,142,221,135,141,31,166,158,47,1,197,138,24,125,
-105,196,4,100,68,133,164,146,49,226,243,249,180,88,44,246,215,234,199,6,
-50,102,28,17,47,209,9,34,180,132,166,228,213,113,112,132,214,205,130,222,
-214,132,148,155,128,104,172,44,64,16,147,114,38,11,140,210,51,13,39,109,
-156,109,214,186,84,159,53,82,201,32,56,129,136,0,186,160,81,36,226,131,
-188,52,141,34,13,227,222,239,247,155,231,210,140,208,246,13,152,31,55,146,
-252,22,96,0,250,23,250,89,72,171,80,164,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_18 = 735;
-static unsigned char xml_res_file_18[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,113,73,68,65,84,120,218,
-164,83,77,104,19,65,20,254,102,103,146,108,154,52,54,13,165,169,54,73,149,
-70,140,244,80,76,5,5,173,160,136,84,170,32,8,122,209,22,139,119,137,63,
-120,209,139,23,81,240,168,39,127,114,17,35,66,139,72,21,245,102,69,10,90,
-136,151,40,90,107,155,42,105,83,83,155,164,109,126,118,118,157,221,180,
-155,182,104,47,206,242,118,102,222,240,190,239,123,51,239,17,77,211,240,
-63,131,173,220,220,237,121,182,187,165,163,233,116,189,175,118,143,203,
-235,240,202,78,171,113,94,200,151,148,220,244,194,212,175,241,185,183,223,
-223,167,30,244,69,187,223,45,199,16,93,65,180,239,57,21,211,13,143,223,
-21,105,104,117,67,0,64,174,181,174,98,42,228,74,152,253,153,195,212,231,
-89,100,38,178,183,132,235,82,239,189,46,110,48,80,198,46,6,247,54,71,66,
-7,3,235,202,245,110,243,32,180,191,5,137,87,227,145,47,111,38,211,194,117,
-157,134,102,246,109,114,212,217,7,218,143,181,82,168,26,52,94,181,219,103,
-98,200,165,231,17,104,107,50,125,143,175,190,196,163,216,67,132,219,119,
-118,198,251,191,222,103,13,155,221,221,150,26,102,229,138,10,174,8,76,253,
-78,73,149,53,49,52,6,187,75,70,184,107,59,94,220,25,66,230,199,156,80,76,
-225,241,185,172,165,2,239,102,141,65,119,48,159,46,64,89,84,255,41,125,
-100,48,97,152,62,36,34,25,179,197,102,65,93,115,109,80,18,249,11,66,10,
-101,129,47,153,106,26,147,24,82,217,73,76,100,70,97,183,58,240,41,245,17,
-249,98,22,68,128,232,31,19,177,18,207,161,205,110,145,65,202,20,80,168,
-152,37,195,160,72,200,44,204,96,235,174,0,142,156,60,140,209,233,4,206,
-158,239,197,198,64,163,72,149,195,102,177,67,17,177,76,118,202,195,133,
-114,249,144,191,211,99,74,30,123,157,209,223,23,10,47,195,201,54,192,73,
-93,88,44,207,195,166,213,64,102,14,104,154,80,71,25,108,78,203,48,249,246,
-52,115,97,203,209,250,155,209,107,79,76,128,158,43,199,49,54,56,187,180,
-91,190,213,229,138,173,172,139,191,85,88,157,210,101,38,169,52,110,184,
-185,132,206,29,7,204,39,48,210,192,138,24,3,139,152,128,140,168,144,84,
-50,66,124,62,159,150,76,38,255,122,251,201,254,188,25,71,196,79,84,130,
-8,173,160,41,69,53,14,142,240,170,94,208,203,154,144,106,17,16,141,85,5,
-8,98,82,205,100,134,81,122,170,249,132,141,179,245,74,151,234,189,70,86,
-50,8,78,32,38,128,206,105,20,233,212,0,175,116,163,72,195,56,247,251,253,
-230,186,210,35,180,99,13,230,135,181,36,127,4,24,0,102,248,243,212,92,203,
-78,83,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_19 = 622;
-static unsigned char xml_res_file_19[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,
-0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,216,10,3,9,21,38,128,213,
-219,203,0,0,1,238,73,68,65,84,56,203,141,83,61,104,83,81,20,254,238,185,
-231,93,170,18,27,99,99,67,99,69,138,117,169,34,34,14,138,138,139,91,5,41,
-214,14,133,72,157,92,138,16,168,110,29,58,169,131,131,93,58,181,78,66,17,
-92,92,4,103,201,84,90,234,170,29,252,9,232,163,209,248,52,121,185,63,239,
-57,36,77,147,216,134,124,112,184,231,126,247,59,223,185,231,194,21,53,109,
-177,131,169,153,197,75,167,79,101,115,67,153,212,149,99,233,195,153,35,
-201,67,12,0,63,127,253,181,63,252,223,223,191,22,183,223,127,220,42,190,
-88,93,153,45,236,212,136,154,182,152,154,89,148,0,158,166,143,246,231,79,
-12,167,145,29,74,161,63,113,0,173,40,7,85,124,43,150,240,249,139,15,127,
-187,252,12,192,195,213,149,89,199,0,64,66,204,157,59,59,146,159,184,121,
-1,221,112,241,252,73,0,192,235,55,107,249,245,205,79,62,128,199,98,242,
-238,243,108,95,159,218,186,127,239,134,34,18,255,21,45,60,121,213,182,159,
-127,52,137,40,138,177,180,252,78,135,161,30,225,204,96,106,220,243,88,181,
-190,69,39,130,160,210,204,171,161,1,0,164,7,146,202,24,59,206,195,199,7,
-70,75,165,0,65,16,118,189,254,220,131,137,134,89,93,167,60,137,204,96,114,
-148,149,199,245,131,63,251,27,36,18,7,177,180,252,22,0,48,125,231,122,147,
-87,30,131,181,177,26,0,42,213,90,79,35,180,234,180,177,154,163,40,54,0,
-80,169,232,174,35,220,190,117,21,123,232,12,59,231,66,201,18,218,216,174,
-6,157,231,68,4,103,93,141,195,154,41,3,128,179,14,81,28,239,10,132,64,20,
-199,184,118,249,76,189,149,177,77,14,0,4,9,84,66,29,176,209,118,83,178,
-132,117,81,91,135,8,113,219,218,153,3,128,209,118,157,36,203,2,128,13,109,
-44,162,40,238,41,172,117,0,176,33,89,22,72,121,236,148,199,57,150,210,71,
-143,32,34,95,121,156,83,30,59,34,18,32,18,31,136,196,24,145,120,73,36,92,
-131,219,43,92,67,51,214,168,1,183,24,251,0,166,27,177,223,175,90,235,36,
-254,1,254,15,231,231,104,170,7,155,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_20 = 637;
-static unsigned char xml_res_file_20[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,
-0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,216,10,3,9,21,10,178,13,183,
-40,0,0,1,253,73,68,65,84,56,203,141,82,77,104,19,65,24,125,243,237,236,
-82,149,216,24,27,27,27,35,90,155,94,84,68,108,17,235,15,30,44,10,182,80,
-138,181,7,161,82,79,94,138,16,168,158,244,224,73,61,120,176,151,158,90,
-79,66,17,36,144,139,162,215,224,65,74,165,94,181,7,127,2,26,26,141,171,
-201,238,204,236,108,15,177,203,102,109,67,31,12,243,253,188,247,102,190,
-97,152,43,20,214,49,62,57,115,170,183,39,61,209,149,74,156,217,147,220,
-153,218,21,223,193,1,224,231,175,191,234,71,249,247,247,175,165,213,226,
-199,149,210,211,133,249,169,183,235,26,230,10,133,241,201,25,3,192,163,
-228,238,246,220,254,76,18,233,174,4,218,99,219,16,70,213,174,227,91,169,
-130,207,95,202,40,175,86,31,3,184,189,48,63,229,113,0,32,198,166,143,29,
-237,206,141,14,159,64,43,244,31,63,0,0,120,81,88,204,45,45,127,42,3,120,
-192,198,174,63,73,183,181,89,43,55,111,12,90,68,236,63,209,253,135,207,
-155,242,123,119,198,160,181,143,217,185,215,194,113,68,55,79,117,38,134,
-76,147,91,225,183,136,194,182,107,65,92,119,36,0,32,217,17,183,164,84,67,
-60,179,175,35,91,169,216,176,109,167,229,245,167,111,141,254,51,107,240,
-44,211,64,170,51,158,229,150,201,27,141,63,155,27,196,98,219,49,59,247,
-18,0,112,237,234,249,160,110,153,28,92,72,37,0,160,86,119,183,52,66,152,
-39,164,18,92,107,95,2,64,173,38,90,142,112,101,228,44,54,224,73,238,121,
-158,99,112,3,66,42,228,11,197,160,51,50,124,186,201,64,200,230,71,38,34,
-120,202,115,185,227,202,42,0,228,11,69,244,102,51,1,33,95,40,226,242,165,
-147,56,55,112,164,113,148,84,32,198,160,125,191,241,3,137,161,230,8,155,
-75,161,150,13,110,4,194,67,7,247,6,187,214,62,52,252,160,23,142,1,64,10,
-181,196,6,6,239,250,155,205,125,241,66,255,134,117,173,53,148,167,223,3,
-232,163,173,8,162,32,162,178,101,242,9,203,228,30,181,38,178,232,242,136,
-216,51,34,118,152,136,125,32,98,224,97,193,171,55,239,162,30,125,145,124,
-49,74,88,3,141,58,197,31,222,122,32,138,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_21 = 646;
-static unsigned char xml_res_file_21[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,
-0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,216,10,3,9,21,24,65,180,198,
-96,0,0,2,6,73,68,65,84,56,203,141,82,77,72,84,81,24,61,247,155,251,30,86,
-76,142,147,147,147,211,68,89,227,166,34,34,133,178,31,10,146,136,28,16,
-201,92,4,138,173,218,72,48,96,173,42,106,85,45,90,228,198,149,182,10,44,
-144,64,130,160,133,184,144,86,50,97,187,126,92,100,13,212,224,212,244,106,
-230,189,123,239,187,175,197,52,195,243,169,131,7,46,124,63,231,156,123,
-191,143,203,28,161,80,197,192,240,216,137,246,3,137,193,214,120,244,212,
-206,216,246,120,83,100,27,7,128,159,191,254,170,31,249,223,223,191,230,
-86,230,63,45,229,158,78,77,142,188,173,106,152,35,20,6,134,199,66,0,30,
-197,118,52,102,246,36,99,72,180,70,209,24,222,2,63,138,86,25,223,114,5,
-124,89,206,35,191,82,124,12,224,230,212,228,136,203,1,128,24,27,61,114,
-184,45,211,151,62,134,122,232,60,186,23,0,48,61,179,144,201,46,126,206,
-3,120,192,250,135,158,36,26,26,204,165,235,215,186,77,34,182,70,116,255,
-225,139,85,249,157,91,253,208,218,195,248,196,27,97,219,162,141,199,91,
-162,61,134,193,77,255,46,130,176,172,82,45,46,219,18,0,16,107,142,152,82,
-170,30,158,220,221,156,42,20,44,88,150,93,247,249,163,55,250,254,155,85,
-120,166,17,66,188,37,146,226,166,193,43,141,63,27,27,132,195,91,49,62,241,
-26,0,112,245,202,217,90,221,52,56,184,144,74,0,64,169,236,108,106,4,63,
-79,72,37,184,214,158,4,128,82,73,212,29,225,114,239,105,172,195,147,220,
-117,93,59,196,67,120,62,61,87,171,246,166,79,174,49,16,114,245,146,137,
-8,174,114,29,110,59,178,56,59,151,69,123,42,89,107,190,156,153,71,250,226,
-113,104,207,195,153,174,67,149,171,164,2,49,6,237,121,149,31,72,12,37,91,
-88,92,10,181,88,21,238,223,183,11,0,240,225,227,50,148,171,1,0,26,94,205,
-216,31,3,128,20,42,203,186,186,111,123,27,205,125,225,124,231,186,117,173,
-53,148,171,223,1,232,32,127,99,246,213,93,108,6,68,148,55,13,62,104,26,
-220,165,250,68,22,60,46,17,123,70,196,14,18,177,247,68,12,220,47,56,119,
-233,94,208,163,35,144,47,4,9,255,0,40,93,199,115,184,226,222,190,0,0,0,
-0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_22 = 518;
-static unsigned char xml_res_file_22[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,1,152,73,68,65,84,120,218,
-98,252,255,255,63,3,37,128,5,68,8,180,48,130,57,64,18,110,28,72,4,155,209,
-140,80,10,36,247,161,230,63,196,0,144,160,32,167,208,127,123,69,23,6,85,
-97,117,6,25,62,57,6,94,118,62,20,141,159,127,126,98,120,250,233,49,195,
-237,183,55,24,246,223,223,243,255,195,247,119,140,112,23,48,51,51,252,108,
-112,110,103,208,151,48,134,107,248,247,255,31,138,1,76,140,76,12,250,146,
-134,64,150,31,131,131,146,51,67,241,246,244,159,64,14,59,216,0,86,22,6,
-54,121,1,69,134,151,95,159,161,59,149,1,221,75,32,26,164,150,133,149,129,
-13,238,2,118,32,243,241,167,187,112,205,177,217,89,12,12,38,76,40,46,88,
-156,56,5,17,46,64,6,27,11,212,101,96,3,88,25,24,94,127,127,204,240,234,
-219,99,20,205,125,17,229,12,12,103,32,94,137,157,159,3,150,127,5,84,247,
-250,235,99,6,14,54,164,88,0,185,224,229,183,7,24,33,142,46,246,242,59,130,
-15,178,20,110,0,200,180,183,191,30,65,226,6,9,116,110,90,137,226,149,119,
-63,31,193,3,132,131,3,217,0,118,6,134,155,239,143,64,67,142,17,174,193,
-214,226,47,74,64,94,255,120,4,34,251,31,226,106,20,23,48,96,73,56,32,69,
-123,250,24,225,174,112,181,251,139,161,134,9,166,144,141,13,226,18,159,
-138,255,240,128,219,115,136,25,174,217,199,229,47,88,29,7,18,70,4,34,43,
-34,142,255,3,137,224,186,255,64,254,95,132,103,254,35,124,246,31,150,142,
-145,243,2,43,27,3,35,40,31,32,43,196,240,19,35,134,97,136,164,12,77,20,
-144,116,2,177,154,25,35,78,33,26,65,161,202,140,108,13,35,165,217,25,32,
-192,0,17,230,128,36,111,223,157,67,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_23 = 1000;
-static unsigned char xml_res_file_23[] = {
-47,42,32,88,80,77,32,42,47,13,10,115,116,97,116,105,99,32,99,111,110,115,
-116,32,99,104,97,114,32,42,101,110,117,109,101,101,95,120,112,109,91,93,
-32,61,32,123,13,10,47,42,32,99,111,108,117,109,110,115,32,114,111,119,115,
-32,99,111,108,111,114,115,32,99,104,97,114,115,45,112,101,114,45,112,105,
-120,101,108,32,42,47,13,10,34,49,54,32,49,54,32,51,52,32,49,34,44,13,10,
-34,88,32,99,32,35,67,67,67,67,54,54,34,44,13,10,34,49,32,99,32,35,70,70,
-70,70,70,70,34,44,13,10,34,36,32,99,32,35,70,70,67,67,54,54,34,44,13,10,
-34,58,32,99,32,35,67,66,67,66,67,66,34,44,13,10,34,50,32,99,32,35,70,56,
-70,56,70,56,34,44,13,10,34,54,32,99,32,35,57,57,51,51,54,54,34,44,13,10,
-34,51,32,99,32,35,70,49,70,49,70,49,34,44,13,10,34,35,32,99,32,35,70,70,
-67,67,57,57,34,44,13,10,34,59,32,99,32,35,67,67,67,67,67,67,34,44,13,10,
-34,32,32,99,32,78,111,110,101,34,44,13,10,34,119,32,99,32,35,69,65,69,65,
-69,65,34,44,13,10,34,79,32,99,32,35,67,67,57,57,51,51,34,44,13,10,34,38,
-32,99,32,35,54,54,57,57,57,57,34,44,13,10,34,56,32,99,32,35,53,53,53,53,
-53,53,34,44,13,10,34,43,32,99,32,35,69,70,68,54,67,54,34,44,13,10,34,60,
-32,99,32,35,65,48,65,48,65,52,34,44,13,10,34,113,32,99,32,35,65,68,65,57,
-57,48,34,44,13,10,34,48,32,99,32,35,67,67,69,67,70,70,34,44,13,10,34,61,
-32,99,32,35,54,54,54,54,51,51,34,44,13,10,34,101,32,99,32,35,51,51,54,54,
-54,54,34,44,13,10,34,55,32,99,32,35,67,67,57,57,57,57,34,44,13,10,34,44,
-32,99,32,35,57,57,57,57,67,67,34,44,13,10,34,37,32,99,32,35,57,57,54,54,
-51,51,34,44,13,10,34,114,32,99,32,35,54,54,54,54,54,54,34,44,13,10,34,62,
-32,99,32,35,67,48,67,48,67,48,34,44,13,10,34,116,32,99,32,35,53,70,53,70,
-53,70,34,44,13,10,34,45,32,99,32,35,68,55,68,55,68,55,34,44,13,10,34,52,
-32,99,32,35,57,57,54,54,54,54,34,44,13,10,34,57,32,99,32,35,54,54,67,67,
-54,54,34,44,13,10,34,42,32,99,32,35,54,54,54,54,57,57,34,44,13,10,34,64,
-32,99,32,35,70,70,70,70,57,57,34,44,13,10,34,46,32,99,32,35,69,55,69,55,
-68,54,34,44,13,10,34,111,32,99,32,35,67,67,67,67,51,51,34,44,13,10,34,53,
-32,99,32,35,56,54,56,54,56,54,34,44,13,10,47,42,32,112,105,120,101,108,
-115,32,42,47,13,10,34,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,34,
-44,13,10,34,32,32,32,32,32,32,32,46,88,88,111,111,111,79,79,43,34,44,13,
-10,34,32,32,32,32,32,32,32,88,64,64,35,35,35,36,36,37,34,44,13,10,34,32,
-32,32,32,32,32,32,88,64,35,38,38,42,36,36,37,34,44,13,10,34,32,32,32,32,
-32,32,32,88,35,35,35,36,36,36,88,61,34,44,13,10,34,32,32,32,32,32,32,32,
-111,35,35,38,38,42,88,88,61,34,44,13,10,34,45,45,59,58,62,62,44,44,44,44,
-60,88,88,111,111,61,34,44,13,10,34,45,49,49,49,50,50,51,51,51,51,38,37,
-37,61,61,62,34,44,13,10,34,59,49,58,52,60,50,60,53,62,51,42,32,32,32,32,
-32,34,44,13,10,34,58,49,54,55,54,51,56,57,56,48,42,32,32,32,32,32,34,44,
-13,10,34,62,50,62,55,58,51,58,113,58,119,42,32,32,32,32,32,34,44,13,10,
-34,62,50,42,42,42,51,42,42,42,48,42,32,32,32,32,32,34,44,13,10,34,62,50,
-51,51,51,51,119,119,48,48,101,32,32,32,32,32,34,44,13,10,34,44,38,38,38,
-42,42,42,42,114,101,116,32,32,32,32,32,34,44,13,10,34,32,32,32,32,32,32,
-32,32,32,32,32,32,32,32,32,32,34,44,13,10,34,32,32,32,32,32,32,32,32,32,
-32,32,32,32,32,32,32,34,13,10,125,59,13,10};
-
-static size_t xml_res_size_24 = 670;
-static unsigned char xml_res_file_24[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,48,73,68,65,84,120,218,
-140,83,77,104,19,65,20,254,102,119,19,12,69,20,154,54,145,10,130,39,161,
-110,162,84,12,138,88,43,120,242,166,7,137,197,66,46,94,4,145,22,69,196,
-155,63,20,65,233,73,196,139,40,162,120,242,36,168,7,17,10,138,98,12,161,
-8,61,229,226,161,41,137,102,155,184,221,100,226,238,248,102,118,179,155,
-166,10,62,120,251,222,124,251,125,111,222,155,217,101,219,110,0,12,128,
-128,178,67,228,39,200,15,18,150,70,132,75,78,149,242,34,197,215,20,63,6,
-24,152,16,2,219,111,50,157,242,59,4,204,154,233,253,200,237,60,140,241,
-209,12,146,67,35,74,92,183,107,88,174,125,195,135,239,139,88,170,150,36,
-116,143,138,92,177,174,11,215,8,42,93,198,63,196,210,100,190,7,227,189,
-78,80,174,150,102,41,214,40,157,103,195,183,49,70,73,101,102,223,249,248,
-133,220,28,254,199,238,127,190,139,39,165,135,156,186,216,109,196,98,152,
-28,78,140,196,167,179,5,216,221,86,72,202,206,231,54,136,202,87,63,133,
-249,217,76,1,111,42,47,227,63,236,218,164,102,166,247,142,101,118,152,104,
-187,54,90,220,82,30,138,191,120,190,7,5,123,239,37,215,76,153,200,144,214,
-56,186,107,42,85,177,150,177,214,169,251,71,206,16,138,95,61,122,174,210,
-147,133,60,112,64,195,90,187,30,94,89,34,174,227,200,232,84,202,48,232,
-24,93,230,160,209,89,221,52,107,15,123,250,96,193,95,243,136,227,194,129,
-212,26,109,215,226,30,108,88,188,26,110,222,51,137,245,78,190,191,57,105,
-158,102,163,227,89,220,224,104,118,133,238,160,201,87,48,88,161,217,93,
-81,241,218,220,99,53,194,173,252,57,159,66,213,132,230,128,123,205,174,
-209,22,141,22,180,117,252,114,171,225,87,167,140,4,74,24,228,210,236,223,
-17,71,144,166,141,198,186,198,197,207,178,80,5,86,97,123,228,20,47,158,
-202,68,194,64,44,49,197,9,92,110,74,218,175,236,244,91,232,113,45,81,220,
-26,75,102,213,172,236,47,51,247,45,84,42,228,120,245,50,119,157,9,245,47,
-228,223,51,115,139,62,244,142,9,45,185,225,28,250,103,98,17,38,152,87,239,
-184,246,241,103,199,196,18,155,89,12,41,242,227,95,32,194,25,34,235,155,
-238,212,239,194,165,231,11,242,75,240,255,5,186,202,136,42,129,233,192,
-39,6,155,8,26,40,14,214,253,35,192,0,231,226,246,206,35,110,198,207,0,0,
-0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_25 = 549;
-static unsigned char xml_res_file_25[] = {
-47,42,32,88,80,77,32,42,47,13,10,115,116,97,116,105,99,32,99,111,110,115,
-116,32,99,104,97,114,32,42,105,109,97,103,101,95,120,112,109,91,93,32,61,
-32,123,13,10,47,42,32,119,105,100,116,104,32,104,101,105,103,104,116,32,
-110,99,111,108,111,114,115,32,99,104,97,114,115,95,112,101,114,95,112,105,
-120,101,108,32,42,47,13,10,34,49,54,32,49,54,32,53,32,49,34,44,13,10,47,
-42,32,99,111,108,111,114,115,32,42,47,13,10,34,32,32,99,32,35,48,48,48,
-48,48,48,34,44,13,10,34,46,32,99,32,35,67,48,67,48,67,48,34,44,13,10,34,
-88,32,99,32,35,48,48,56,48,56,48,34,44,13,10,34,111,32,99,32,35,70,70,70,
-70,70,70,34,44,13,10,34,79,32,99,32,78,111,110,101,34,44,13,10,47,42,32,
-112,105,120,101,108,115,32,42,47,13,10,34,88,88,88,88,88,88,88,88,88,88,
-88,88,88,88,88,88,34,44,13,10,34,88,88,88,88,88,88,88,88,88,88,88,88,88,
-88,88,88,34,44,13,10,34,88,32,32,32,32,32,32,32,32,32,32,32,32,88,88,88,
-34,44,13,10,34,88,32,111,111,111,111,111,111,111,111,111,111,32,88,88,88,
-34,44,13,10,34,88,32,111,32,32,32,32,32,32,32,32,32,32,32,32,88,34,44,13,
-10,34,88,32,111,32,111,111,111,111,111,111,111,111,111,111,32,88,34,44,
-13,10,34,88,32,111,32,111,46,46,46,46,46,46,46,46,111,32,88,34,44,13,10,
-34,88,32,111,32,111,111,111,111,111,111,111,111,111,111,32,88,34,44,13,
-10,34,88,32,111,32,111,46,46,46,46,46,46,46,46,111,32,88,34,44,13,10,34,
-88,32,111,32,111,111,111,111,111,111,111,111,111,111,32,88,34,44,13,10,
-34,88,32,32,32,111,46,46,46,46,46,46,46,46,111,32,88,34,44,13,10,34,88,
-88,88,32,111,111,111,111,111,111,111,111,111,111,32,88,34,44,13,10,34,88,
-88,88,32,32,32,32,32,32,32,32,32,32,32,32,88,34,44,13,10,34,88,88,88,88,
-88,88,88,88,88,88,88,88,88,88,88,88,34,44,13,10,34,88,88,88,88,88,88,88,
-88,88,88,88,88,88,88,88,88,34,44,13,10,34,88,88,88,88,88,88,88,88,88,88,
-88,88,88,88,88,88,34,13,10,125,59,13,10};
-
-static size_t xml_res_size_26 = 649;
-static unsigned char xml_res_file_26[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,6,73,68,65,84,56,141,165,147,79,72,20,
-113,20,199,63,239,55,191,217,153,157,102,182,117,77,179,130,32,144,77,212,
-178,91,132,20,132,151,138,40,234,16,117,242,16,33,25,84,215,186,86,151,
-14,66,167,232,20,225,33,130,78,65,16,145,21,101,4,6,146,80,135,140,200,
-80,65,211,82,106,103,149,217,153,249,117,82,83,183,40,124,240,46,239,251,
-222,151,239,251,39,198,24,214,98,26,160,247,213,204,93,173,204,73,0,3,83,
-63,203,28,239,234,40,244,255,11,129,24,99,184,245,116,170,63,163,105,95,
-8,166,70,72,210,191,43,75,82,121,120,182,99,195,97,233,190,253,233,114,
-28,39,23,140,73,235,255,71,186,136,250,170,181,117,67,207,150,237,46,91,
-103,242,242,59,90,137,216,178,62,66,3,35,51,17,226,20,86,17,24,67,190,84,
-54,93,218,247,188,146,165,150,128,86,127,148,189,77,62,19,99,99,244,245,
-15,224,199,89,226,154,54,212,198,182,42,109,80,210,190,231,134,130,129,
-104,150,220,183,151,76,126,30,70,53,157,34,168,169,163,210,220,141,43,22,
-136,172,42,6,48,72,168,130,172,46,121,174,194,177,225,208,190,22,198,77,
-145,155,143,199,249,94,138,153,28,188,135,231,42,60,71,86,187,171,8,178,
-186,36,215,159,204,63,136,227,244,128,49,198,78,226,8,75,103,0,152,30,25,
-226,76,123,142,59,125,111,201,53,29,171,50,68,169,104,173,30,105,223,181,
-194,168,146,42,99,4,28,103,49,97,235,246,93,244,222,191,196,14,127,128,
-143,95,178,228,139,7,87,16,160,50,182,21,106,223,147,112,110,94,41,170,
-92,100,126,103,39,51,239,6,169,11,123,136,26,26,89,87,87,92,182,199,172,
-43,161,10,28,202,158,35,226,185,138,149,190,121,91,11,163,178,159,218,92,
-74,60,116,5,215,78,151,112,71,36,112,40,235,145,137,31,161,101,103,168,
-166,0,96,83,251,121,62,188,24,166,185,48,202,251,231,61,212,238,190,184,
-216,195,244,108,24,10,224,1,123,128,108,85,6,160,181,88,223,216,121,180,
-225,90,224,105,125,238,234,224,137,36,33,1,230,128,215,218,24,83,6,250,
-254,84,188,96,167,143,20,222,100,130,66,38,142,205,179,101,195,92,235,59,
-255,2,240,138,183,135,205,242,179,133,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_27 = 688;
-static unsigned char xml_res_file_27[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,43,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,68,105,32,49,56,32,70,101,98,32,50,48,48,51,32,50,49,58,
-51,52,58,50,55,32,43,48,49,48,48,71,119,141,63,0,0,0,7,116,73,77,69,7,211,
-3,8,12,6,36,185,41,44,45,0,0,0,9,112,72,89,115,0,0,11,18,0,0,11,18,1,210,
-221,126,252,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,2,8,73,68,
-65,84,120,218,173,147,77,107,212,80,20,134,159,204,164,51,233,204,56,31,
-173,212,145,82,113,45,216,223,224,47,240,47,184,209,157,11,5,65,16,10,130,
-184,81,232,166,42,8,110,116,33,136,11,119,117,227,194,149,80,87,165,46,
-212,210,162,117,250,57,169,157,73,147,73,38,77,110,226,153,100,218,142,
-29,93,233,129,55,92,110,206,251,222,39,185,247,194,63,150,246,219,120,134,
-41,108,166,9,69,17,23,179,85,109,58,103,140,76,120,205,131,5,20,243,140,
-242,150,89,190,13,7,220,227,198,228,185,241,153,122,161,82,59,61,86,214,
-106,227,69,138,229,60,190,10,241,124,31,87,180,241,163,197,118,195,138,
-91,109,251,75,224,170,121,89,224,5,15,88,74,2,206,204,86,247,158,221,188,
-90,219,197,195,137,92,246,221,46,174,215,165,115,112,64,160,20,42,142,40,
-140,230,176,58,29,62,173,52,88,90,92,163,219,8,214,152,227,188,222,11,112,
-61,207,255,220,90,149,198,44,149,114,153,179,165,49,84,41,20,226,28,171,
-63,119,88,248,186,204,135,197,101,218,91,46,100,142,184,123,35,146,0,219,
-241,155,141,245,245,186,82,26,166,97,80,173,84,48,170,53,174,61,126,138,
-64,165,134,158,114,162,80,20,139,20,219,71,1,210,212,220,238,56,68,1,228,
-93,23,203,178,152,42,20,160,43,239,140,190,233,80,170,175,136,157,227,0,
-69,115,163,109,51,34,84,185,108,22,93,211,168,251,42,109,60,105,60,156,
-139,6,9,192,220,148,128,209,156,46,1,122,50,233,8,73,31,117,216,28,36,158,
-1,130,12,205,29,171,131,81,212,201,103,244,228,239,180,109,39,109,102,192,
-56,24,20,15,18,148,248,232,153,97,236,105,161,150,17,124,180,24,211,114,
-134,9,194,225,128,100,43,184,207,59,178,92,231,59,81,228,196,68,226,53,
-247,172,63,27,131,196,220,160,204,251,227,128,94,221,225,9,5,174,176,37,
-45,226,53,77,59,37,136,250,10,146,128,77,57,28,183,152,228,130,28,233,221,
-147,119,33,173,187,92,102,143,87,167,38,12,195,222,239,166,91,169,88,17,
-227,67,86,121,206,27,252,191,93,166,227,186,205,37,185,84,143,100,100,9,
-197,156,60,95,243,50,249,128,255,95,191,0,245,142,251,88,112,106,209,242,
-0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_28 = 514;
-static unsigned char xml_res_file_28[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,1,148,73,68,65,84,120,218,
-164,83,189,74,3,65,16,158,73,246,126,130,36,134,128,90,8,70,196,202,66,
-59,59,77,210,197,103,176,211,198,218,70,16,68,180,17,27,107,27,237,124,
-6,45,68,77,145,194,103,8,34,70,81,176,144,144,104,98,114,102,199,219,221,
-187,221,187,196,66,200,192,236,238,12,187,223,124,243,179,72,68,48,138,
-48,177,220,29,79,0,8,28,244,87,181,251,54,170,29,6,2,40,19,1,17,138,59,
-239,10,32,233,175,204,201,82,54,95,128,84,110,30,220,204,52,36,237,76,236,
-93,191,215,132,110,243,21,218,31,53,104,212,43,228,117,26,168,25,36,25,
-167,185,226,30,140,77,46,69,34,241,120,100,76,64,122,106,209,39,80,134,
-220,236,10,60,220,108,75,174,18,128,49,2,119,124,6,126,218,111,255,202,
-219,205,230,129,89,100,106,96,57,4,222,231,163,116,148,202,27,114,191,189,
-58,11,138,161,124,171,11,0,7,39,231,186,8,204,82,12,19,18,192,230,208,255,
-126,150,42,68,92,46,149,55,99,62,89,7,105,191,72,181,29,138,0,248,6,239,
-62,73,141,202,225,238,126,204,23,222,17,106,57,220,164,96,251,6,245,234,
-127,230,27,245,147,103,206,33,3,22,166,192,191,170,177,142,95,158,166,96,
-109,171,3,112,116,109,24,180,170,106,60,72,188,137,21,145,15,69,22,160,
-131,98,187,92,15,19,33,196,83,80,126,52,0,62,197,202,133,13,133,245,158,
-25,91,209,58,12,70,53,248,2,40,254,66,235,222,50,236,49,236,84,192,149,
-116,55,117,228,208,76,47,123,193,32,217,164,159,17,133,111,201,128,225,
-80,105,133,51,58,202,242,178,252,74,225,63,210,21,197,40,170,38,133,8,145,
-20,70,145,95,1,6,0,60,10,174,84,253,86,25,93,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_29 = 713;
-static unsigned char xml_res_file_29[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,91,73,68,65,84,120,218,
-140,83,77,104,19,81,16,254,222,102,19,12,69,20,250,147,104,5,193,147,80,
-55,81,170,6,69,172,21,196,67,111,42,72,141,68,2,162,135,138,72,138,181,
-84,111,74,141,133,150,34,86,212,139,88,138,226,69,79,130,245,32,66,65,81,
-140,33,20,161,167,92,4,77,73,52,155,196,109,146,141,155,231,236,219,205,
-166,105,17,28,248,118,102,231,125,223,236,236,188,247,216,166,155,0,3,192,
-33,236,0,225,24,97,63,229,252,104,230,77,78,134,226,4,249,215,228,63,216,
-57,48,206,57,54,223,98,46,138,39,40,17,83,252,123,16,218,118,16,61,93,1,
-116,180,117,10,113,78,203,98,41,251,21,239,191,45,96,49,147,52,83,83,84,
-100,68,189,193,13,217,174,116,21,255,16,155,102,198,59,209,211,232,4,169,
-76,50,70,62,75,97,156,181,143,163,155,130,116,100,247,5,207,80,104,24,255,
-99,247,63,77,98,54,249,72,167,46,118,200,110,55,250,218,189,157,158,112,
-48,10,173,86,114,72,193,120,168,69,148,26,253,232,196,103,2,81,204,167,
-95,122,126,106,217,62,73,241,239,234,14,108,81,80,49,52,148,116,85,32,120,
-106,159,197,252,92,183,96,23,108,172,155,92,197,167,32,64,90,249,240,246,
-126,95,90,93,66,161,154,179,70,206,154,95,125,245,248,153,240,3,209,65,
-96,175,132,66,37,231,108,153,215,227,194,161,174,126,159,44,211,24,13,86,
-70,190,186,188,238,95,7,102,194,152,59,63,133,185,7,211,226,61,175,55,57,
-6,202,48,181,114,197,80,245,58,52,168,122,198,249,248,204,221,81,12,93,
-142,139,248,44,98,194,223,139,140,172,110,14,117,73,67,181,174,234,146,
-142,98,141,187,202,40,234,63,80,168,89,80,9,227,147,231,4,26,51,184,52,
-59,33,242,130,67,92,46,149,161,215,139,53,169,194,243,37,72,43,248,109,
-100,80,250,99,225,250,240,19,140,17,204,120,236,206,113,167,136,102,175,
-151,136,203,73,83,65,126,69,214,249,175,20,23,5,150,155,103,154,6,102,138,
-110,95,155,183,250,53,223,201,4,167,97,164,33,237,23,118,242,13,92,30,201,
-155,216,232,238,8,10,61,179,234,60,124,241,189,101,160,23,79,108,69,227,
-110,48,122,20,107,185,148,110,148,123,197,93,24,124,199,148,13,174,182,
-183,140,75,29,45,147,226,171,98,214,204,113,86,207,85,13,237,232,211,35,
-124,145,69,22,28,138,121,248,167,137,112,154,200,174,117,123,106,157,17,
-131,158,207,9,87,96,221,5,218,202,38,213,76,132,109,244,174,109,194,110,
-32,177,182,238,95,1,6,0,177,199,15,69,241,57,108,150,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_30 = 705;
-static unsigned char xml_res_file_30[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,43,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,77,111,32,50,52,32,70,101,98,32,50,48,48,51,32,49,55,58,
-52,53,58,52,57,32,43,48,49,48,48,38,220,93,34,0,0,0,7,116,73,77,69,7,212,
-7,7,8,30,1,199,217,78,193,0,0,0,9,112,72,89,115,0,0,10,240,0,0,10,240,1,
-66,172,52,152,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,2,25,73,
-68,65,84,120,218,141,82,187,110,19,65,20,61,243,216,93,71,224,68,16,41,
-13,95,64,7,21,159,193,103,240,1,208,166,161,64,138,228,138,146,142,127,
-160,163,129,10,33,33,209,129,34,132,220,80,16,18,252,88,219,107,239,236,
-204,92,206,236,218,201,66,82,48,214,217,241,204,220,115,231,156,185,87,
-225,254,203,39,7,71,251,199,195,219,38,119,46,32,10,8,65,132,66,8,10,144,
-8,129,38,4,74,41,108,98,116,254,124,60,194,215,231,175,1,148,246,224,104,
-120,252,246,213,227,123,167,63,22,56,155,57,156,47,29,38,203,128,105,229,
-177,112,130,170,17,172,153,168,97,66,24,139,124,175,192,167,55,241,25,239,
-57,101,130,15,246,96,152,231,227,179,10,223,127,174,240,171,108,240,123,
-233,49,169,152,96,29,81,214,130,85,3,222,10,56,170,128,142,200,111,105,
-152,60,43,60,240,144,9,190,216,224,35,166,117,192,108,35,152,213,192,132,
-184,216,112,38,230,252,63,119,116,161,72,54,134,241,132,75,51,213,0,251,
-68,102,61,15,23,12,230,229,152,19,51,167,48,37,46,156,198,42,164,16,211,
-145,245,54,201,160,0,108,142,221,176,209,104,44,189,98,112,154,53,202,64,
-37,36,174,98,34,111,73,166,151,36,39,57,111,21,180,31,155,14,214,81,97,
-45,26,149,24,172,68,161,140,100,23,250,239,155,119,40,168,64,155,43,5,194,
-69,67,27,142,254,106,150,169,86,17,49,147,46,200,152,235,73,146,2,211,179,
-0,147,193,107,139,192,18,5,27,225,173,116,18,255,189,185,111,33,89,187,
-76,96,185,176,150,155,25,193,6,202,165,179,119,147,252,157,130,190,133,
-180,169,51,155,106,11,83,8,50,159,248,234,202,66,63,73,186,104,192,179,
-172,103,65,217,140,149,97,135,21,17,5,95,127,144,236,147,20,161,175,191,
-129,72,199,82,173,133,118,97,107,81,238,238,225,30,14,189,197,154,217,171,
-13,75,90,105,76,189,106,251,166,29,122,23,174,146,102,78,161,190,84,80,
-142,191,141,94,140,194,211,44,87,185,243,210,246,124,96,89,211,79,146,149,
-68,228,35,67,73,167,196,59,135,247,39,239,184,59,39,154,212,12,119,136,
-71,196,131,109,123,170,93,147,220,48,100,139,146,248,76,124,84,93,131,183,
-196,182,183,241,127,163,217,42,88,252,1,243,93,220,79,105,182,126,216,0,
-0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_31 = 545;
-static unsigned char xml_res_file_31[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,158,73,68,65,84,56,141,165,147,63,111,
-19,65,20,196,127,179,251,238,206,127,33,1,228,2,129,76,65,67,69,36,10,132,
-40,211,82,81,81,211,88,84,244,124,11,202,212,20,124,2,90,36,164,32,16,18,
-31,0,80,2,20,8,130,45,72,204,157,99,240,221,46,5,142,108,147,200,16,101,
-170,167,221,121,163,217,55,111,21,99,228,36,48,128,71,207,191,63,54,23,
-239,0,68,232,255,24,113,187,183,126,102,243,127,4,20,99,100,227,105,127,
-51,53,110,30,28,134,40,170,176,220,89,21,244,228,222,250,185,91,186,187,
-177,245,64,148,247,67,12,157,227,88,119,114,95,35,246,208,118,199,214,75,
-124,178,226,116,156,118,8,145,149,73,21,123,182,218,110,230,94,192,17,2,
-157,83,30,1,59,195,234,240,101,132,42,146,219,233,102,173,16,139,239,77,
-77,172,93,52,46,119,60,78,176,221,175,120,253,177,228,103,25,255,210,80,
-97,237,186,229,33,86,48,141,179,123,214,115,173,107,212,19,225,4,18,172,
-117,141,43,231,141,87,239,39,108,245,167,110,36,156,124,110,205,6,121,89,
-74,7,235,176,147,7,86,155,194,107,38,224,4,205,20,62,13,3,181,76,211,126,
-201,140,220,90,53,95,252,154,4,23,227,108,8,153,137,212,196,231,189,192,
-32,15,92,189,96,132,8,141,108,198,145,112,105,226,11,107,53,84,236,143,
-157,99,110,35,19,47,234,9,236,141,3,111,250,21,215,47,25,101,88,20,64,114,
-245,154,10,107,103,140,20,165,249,24,182,191,5,82,131,98,2,141,154,227,
-237,32,48,169,254,212,115,80,43,99,100,31,190,12,11,159,164,204,59,120,
-153,47,38,246,236,221,225,20,145,24,236,22,133,128,6,112,3,168,31,65,91,
-134,125,224,133,78,250,27,221,191,41,203,241,27,35,191,152,22,126,165,13,
-36,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_32 = 385;
-static unsigned char xml_res_file_32[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,0,254,73,68,65,84,56,141,165,147,49,74,
-4,65,16,69,95,85,87,247,184,139,224,38,154,9,30,66,16,175,32,27,25,121,
-131,13,205,4,61,131,27,120,4,35,79,160,136,169,130,153,232,29,140,220,116,
-122,71,103,123,166,205,4,19,177,103,127,254,127,189,42,234,75,206,153,117,
-100,0,47,15,231,55,166,118,2,208,195,226,235,115,121,124,48,157,63,253,
-59,64,186,180,43,170,0,56,216,222,168,170,199,215,251,179,63,141,169,239,
-111,247,143,46,167,114,119,61,187,16,250,83,200,59,101,240,242,145,209,
-43,91,188,191,205,204,108,34,34,69,246,156,243,36,165,52,179,202,187,218,
-153,131,194,0,114,198,73,174,45,84,62,170,42,3,8,80,147,104,33,132,186,
-112,246,143,12,106,171,188,175,251,220,15,201,16,85,173,45,4,31,187,46,
-105,233,59,9,168,115,22,173,26,109,198,213,170,213,1,4,234,125,136,54,222,
-218,91,174,82,59,104,5,111,97,105,77,75,244,126,68,105,37,68,160,105,187,
-40,192,24,56,4,70,133,4,13,240,44,235,182,113,200,241,126,233,27,81,98,
-87,31,74,147,58,41,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_33 = 655;
-static unsigned char xml_res_file_33[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,33,73,68,65,84,56,203,
-149,147,235,78,19,81,20,133,137,137,201,137,207,160,86,137,134,200,145,
-128,196,27,66,91,6,40,173,13,8,38,208,251,133,94,164,128,180,165,237,164,
-77,161,54,234,15,77,124,18,159,11,68,197,222,176,210,153,118,58,211,229,
-174,152,74,45,37,225,199,78,206,100,206,250,246,172,181,247,12,0,24,184,
-76,213,215,66,215,206,62,119,95,16,51,58,42,222,87,236,15,114,217,237,141,
-215,108,78,67,47,160,45,206,236,162,149,206,66,139,39,123,32,117,95,128,
-215,3,97,52,54,182,240,235,229,202,231,234,226,210,189,127,128,191,98,228,
-223,161,69,165,37,68,52,55,183,59,16,217,187,198,169,59,154,209,56,144,
-203,163,125,62,54,91,227,229,25,211,149,83,64,42,205,90,9,81,107,237,190,
-1,62,126,130,150,205,181,1,104,4,66,92,246,248,57,117,135,178,29,3,232,
-189,236,15,224,120,254,185,90,22,230,174,118,89,208,98,9,166,190,142,169,
-154,152,1,222,127,128,154,74,163,30,12,131,186,67,217,138,2,217,189,63,
-231,138,201,66,226,89,118,110,136,205,200,38,107,132,214,213,102,116,135,
-236,188,5,246,242,36,204,1,153,44,100,143,15,149,57,179,90,158,158,97,253,
-167,112,26,22,147,92,94,13,89,178,227,246,1,14,55,32,166,81,153,157,215,
-74,70,129,253,127,191,7,32,57,61,237,81,1,52,13,216,156,192,138,29,216,
-73,146,111,11,10,19,83,252,66,128,228,112,115,201,229,129,18,142,0,73,145,
-132,41,32,70,118,40,64,121,213,142,178,222,136,239,99,227,252,92,64,205,
-238,226,146,211,13,37,180,14,208,24,37,135,11,20,150,90,156,50,104,39,139,
-203,64,100,3,181,23,203,40,60,124,140,195,161,97,222,5,160,205,226,212,
-29,74,240,21,117,77,64,162,79,167,176,212,226,164,129,21,158,76,176,163,
-241,71,106,213,100,6,130,33,156,88,172,56,26,25,197,193,173,65,222,1,208,
-102,9,53,155,3,74,32,4,105,213,1,10,75,45,62,211,119,2,251,54,50,198,190,
-14,223,87,127,26,5,72,214,5,252,24,125,128,253,27,58,161,203,2,109,150,
-80,93,88,66,201,48,173,81,88,61,105,31,222,29,98,95,6,239,168,103,197,61,
-33,150,244,70,161,240,116,146,245,251,153,14,116,183,217,254,245,155,194,
-133,99,188,108,253,6,114,187,164,199,219,237,190,20,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_34 = 792;
-static unsigned char xml_res_file_34[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,43,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,68,105,32,51,48,32,83,101,112,32,50,48,48,51,32,50,51,
-58,53,52,58,50,54,32,43,48,49,48,48,101,213,255,193,0,0,0,7,116,73,77,69,
-7,211,9,30,21,54,56,94,91,206,140,0,0,0,9,112,72,89,115,0,0,11,18,0,0,11,
-18,1,210,221,126,252,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,2,
-112,73,68,65,84,120,218,173,83,93,72,20,81,24,61,227,254,224,162,235,66,
-254,36,104,25,61,88,102,152,89,160,132,97,4,21,25,177,20,65,86,190,85,208,
-67,61,69,244,210,83,208,75,136,212,75,68,15,69,36,244,32,4,61,136,134,218,
-74,22,6,185,238,106,182,208,34,254,176,107,40,181,171,179,227,238,206,220,
-153,123,111,223,46,185,172,237,171,243,48,247,206,247,125,231,204,57,103,
-238,0,219,125,5,128,246,49,160,111,10,104,254,191,247,25,184,62,164,96,
-100,0,56,123,31,40,42,0,207,3,79,163,23,143,9,243,225,101,25,84,148,79,
-249,189,73,224,76,168,190,130,201,171,245,50,210,228,145,67,54,37,144,169,
-111,97,145,181,229,222,154,206,102,197,238,4,118,158,58,112,220,15,116,
-103,234,180,182,200,26,79,127,67,71,173,3,105,3,172,196,1,131,75,127,1,
-65,60,26,235,55,23,87,0,195,64,117,235,30,88,229,37,189,195,192,73,86,89,
-54,120,212,219,224,134,186,1,205,48,17,154,138,71,237,192,221,2,130,50,
-224,245,210,216,172,132,164,7,157,225,176,183,177,178,184,194,61,210,214,
-213,84,5,53,1,193,45,204,124,87,133,219,16,55,206,1,106,1,193,62,96,54,
-54,49,55,14,203,4,76,11,14,151,3,237,93,7,21,168,52,203,77,132,35,26,18,
-145,228,179,19,192,135,77,76,65,146,105,46,122,22,199,195,4,96,89,43,72,
-36,137,140,225,119,60,133,31,223,98,65,13,184,151,63,191,133,128,146,174,
-77,3,119,138,61,46,2,145,10,198,178,224,236,62,109,194,146,88,35,128,45,
-31,163,108,174,95,129,155,216,181,227,241,145,243,141,30,59,215,129,20,
-81,89,214,63,18,34,144,28,241,117,29,190,47,241,201,50,1,239,105,224,87,
-142,224,35,112,161,174,181,238,221,222,182,26,96,45,65,64,78,22,56,217,
-102,176,81,112,194,164,125,166,38,5,116,221,132,207,175,173,164,83,162,
-187,11,24,205,90,88,167,68,133,73,126,255,196,41,125,61,235,61,177,145,
-196,192,240,178,53,191,164,209,91,56,97,57,9,178,96,87,36,58,90,138,171,
-73,223,131,92,6,14,155,210,187,187,174,148,124,166,179,224,85,53,9,223,
-216,106,76,106,102,71,32,168,62,95,136,82,93,8,72,82,193,72,217,228,60,
-3,157,181,151,25,172,61,115,75,113,57,202,181,141,67,134,75,65,152,134,
-127,78,171,211,37,66,94,234,4,230,168,61,241,126,70,179,216,126,215,237,
-12,106,110,153,193,136,241,39,215,128,55,185,12,250,128,138,82,103,209,
-160,176,43,85,122,138,191,160,20,122,110,145,150,252,180,223,2,143,232,
-19,58,221,192,171,43,64,104,219,254,222,191,141,62,42,191,243,181,250,120,
-0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_35 = 870;
-static unsigned char xml_res_file_35[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,227,73,68,65,84,56,141,77,147,61,111,
-92,69,24,133,159,121,231,157,153,27,239,122,215,187,142,237,16,36,132,68,
-21,144,48,80,197,13,20,72,81,0,69,136,158,134,130,154,130,34,162,160,224,
-15,240,23,72,19,33,164,208,240,7,44,4,36,66,80,32,1,6,133,15,35,37,33,123,
-237,196,241,174,215,247,99,239,189,51,20,235,130,226,232,156,230,20,231,
-145,142,249,240,250,199,47,140,71,107,87,48,24,99,4,3,198,24,3,198,32,198,
-24,99,12,103,6,103,41,165,152,202,178,110,98,138,95,155,75,219,151,247,
-141,49,207,170,42,33,248,165,124,70,8,30,231,21,103,29,86,21,85,193,90,
-75,93,47,248,109,239,87,170,170,2,99,15,21,120,42,165,68,74,137,174,237,
-104,76,75,74,21,93,215,162,11,197,57,135,115,138,170,50,157,206,120,56,
-201,73,9,68,3,170,186,161,111,95,123,195,190,255,222,187,168,58,172,90,
-172,88,196,10,98,4,35,134,174,237,200,243,156,223,239,254,65,108,91,88,
-110,161,223,235,241,231,223,251,232,104,52,50,139,166,165,139,137,84,69,
-206,173,172,208,20,11,66,150,113,50,159,83,22,37,167,243,57,23,47,94,68,
-173,69,172,165,223,59,199,198,249,13,138,170,70,235,186,142,34,98,235,170,
-166,233,26,202,186,134,148,152,205,231,20,69,73,8,1,31,2,198,24,140,8,195,
-193,42,107,195,33,49,70,234,69,131,62,57,158,114,116,244,132,4,4,239,113,
-78,41,171,10,231,148,222,202,10,214,90,162,46,89,168,181,100,89,70,140,
-145,152,18,117,93,163,205,98,129,15,1,181,150,178,40,88,57,43,133,44,35,
-118,29,33,4,186,46,226,157,98,173,16,99,164,105,26,140,8,117,93,35,214,
-10,89,8,132,224,49,178,204,198,44,33,137,24,98,140,56,103,153,148,15,200,
-211,191,244,135,61,250,195,30,7,249,132,166,109,17,17,193,57,135,247,1,
-107,5,0,49,6,17,193,0,89,22,184,119,248,15,95,221,191,197,221,227,61,156,
-56,30,215,135,140,158,25,178,177,190,134,24,12,85,85,145,82,100,109,56,
-36,203,2,131,193,128,126,191,199,120,60,102,54,157,242,221,209,46,30,199,
-107,91,87,104,219,150,243,110,147,159,30,253,200,43,47,109,163,0,222,59,
-102,179,25,6,104,218,6,49,194,244,248,24,85,101,127,127,159,252,100,194,
-250,112,131,98,86,80,73,133,170,178,151,255,204,115,227,231,17,128,178,
-172,88,44,22,116,49,162,234,40,203,18,107,45,243,249,41,214,90,86,25,241,
-195,253,59,76,235,99,186,174,227,203,191,110,146,159,76,200,243,3,116,146,
-31,52,143,30,31,57,43,130,88,75,81,86,88,107,185,247,224,33,86,44,27,155,
-23,120,85,95,71,189,229,163,111,62,96,53,91,101,212,31,115,253,229,79,248,
-236,198,205,104,46,109,95,190,10,92,101,9,76,130,15,146,101,153,13,193,
-139,247,94,84,173,121,250,194,250,139,215,222,122,115,123,107,107,211,123,
-239,41,138,178,250,252,139,91,191,124,123,251,251,79,77,74,137,179,163,
-122,32,251,159,2,160,128,0,221,96,48,8,59,59,59,239,56,231,22,187,187,187,
-183,79,79,79,239,164,148,234,255,0,199,244,50,234,252,75,165,219,0,0,0,
-0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_36 = 627;
-static unsigned char xml_res_file_36[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,3,0,0,
-0,40,45,15,83,0,0,0,3,115,66,73,84,8,8,8,219,225,79,224,0,0,0,9,112,72,
-89,115,0,0,6,236,0,0,6,236,1,30,117,56,53,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,1,2,80,76,84,69,255,255,255,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,4,4,4,10,10,10,0,0,0,16,16,16,17,
-17,17,11,11,11,14,14,14,18,18,18,27,27,27,31,31,31,1,1,1,19,19,19,21,21,
-21,22,22,22,23,23,23,24,24,24,27,27,27,28,28,28,35,35,35,36,36,36,38,37,
-35,39,39,39,40,40,40,43,43,43,44,44,44,45,45,45,50,50,50,52,50,49,54,40,
-30,54,40,31,54,42,36,54,54,54,56,40,31,57,44,37,60,48,40,69,66,64,72,33,
-0,74,74,74,77,77,77,78,41,9,78,78,78,83,51,28,85,83,82,86,86,86,89,72,61,
-104,88,77,104,104,104,105,87,70,105,105,105,106,106,106,114,112,111,115,
-115,115,118,98,82,120,120,120,129,126,125,132,64,7,132,87,52,134,67,11,
-135,91,59,144,73,11,144,97,61,145,98,63,149,114,84,171,145,122,123,196,
-58,153,0,0,0,32,116,82,78,83,0,1,8,10,19,20,25,36,38,41,71,98,129,142,147,
-152,157,165,190,204,207,209,235,236,237,243,243,244,246,246,251,252,141,
-221,80,73,0,0,0,183,73,68,65,84,24,25,141,193,135,22,129,0,0,5,208,151,
-8,217,17,161,204,108,145,45,34,35,145,172,140,255,255,21,78,199,7,116,47,
-224,74,40,25,6,194,201,16,254,168,226,177,21,12,180,142,69,10,14,154,237,
-245,171,130,80,149,122,44,141,31,127,193,148,150,162,177,21,151,146,89,
-240,3,72,76,84,67,94,151,75,170,108,168,147,4,64,87,244,139,213,236,212,
-106,157,166,117,209,43,52,152,205,120,186,59,53,186,221,250,105,55,29,111,
-24,100,230,218,243,177,23,83,41,113,127,123,105,179,52,184,209,226,110,
-159,121,175,151,63,219,215,213,144,67,164,125,120,127,148,40,16,85,62,239,
-67,59,2,79,44,55,200,199,73,128,140,231,7,217,152,7,0,225,35,224,32,124,
-4,92,248,2,207,199,24,197,87,247,22,178,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_37 = 444;
-static unsigned char xml_res_file_37[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,1,78,73,68,65,84,56,203,
-181,82,187,74,3,81,16,61,27,246,43,140,218,90,248,64,173,67,64,140,164,
-208,86,108,36,8,254,128,127,162,149,22,91,216,216,218,68,116,203,152,15,
-80,20,172,253,134,236,230,238,221,251,30,239,174,236,130,96,66,52,122,96,
-184,195,204,229,204,153,195,4,68,132,121,16,78,106,92,14,51,226,202,128,
-9,133,132,11,156,31,45,5,223,253,107,76,34,224,210,160,189,0,236,54,67,
-140,24,255,185,130,52,151,200,243,16,66,88,36,201,47,8,70,76,224,250,153,
-35,25,115,164,105,62,145,32,152,215,196,198,180,102,28,199,212,239,247,
-167,78,168,21,12,6,3,114,206,193,90,11,173,181,223,93,128,115,238,125,200,
-145,101,25,24,99,229,91,213,162,40,10,190,120,160,148,66,183,219,13,102,
-145,221,235,245,232,207,60,8,206,134,167,100,157,133,245,242,157,127,175,
-58,55,165,138,147,135,67,146,70,66,72,229,67,32,62,126,44,235,91,23,235,
-164,164,134,209,6,112,132,134,177,6,157,230,1,246,22,247,161,125,94,65,
-104,129,118,115,7,173,229,22,114,41,235,186,242,151,185,185,178,134,237,
-213,13,63,144,16,26,91,76,55,158,204,162,200,43,228,66,34,85,9,152,26,251,
-92,212,245,98,114,161,216,249,213,233,147,192,224,238,253,182,92,161,104,
-212,4,94,246,253,91,12,233,87,40,162,130,179,132,167,215,23,84,214,253,
-239,33,205,130,15,118,205,227,18,99,124,149,175,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_38 = 631;
-static unsigned char xml_res_file_38[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,9,73,68,65,84,56,203,
-165,83,61,104,147,81,20,61,249,26,196,82,161,66,138,205,15,193,208,210,
-73,23,113,16,148,170,213,130,40,210,8,25,130,224,208,69,42,40,72,113,112,
-112,17,151,82,29,90,20,193,66,39,21,65,36,67,80,208,224,34,162,22,196,44,
-78,182,249,196,218,96,105,145,240,217,74,32,230,222,115,159,67,73,52,86,
-176,210,11,151,247,184,112,206,227,220,115,94,200,57,135,205,148,135,77,
-86,184,113,185,244,122,196,153,25,140,6,210,64,101,227,52,10,43,170,44,
-82,88,80,213,220,163,225,39,229,6,46,212,144,48,250,242,172,59,28,63,2,
-231,0,115,132,57,7,58,130,70,212,164,134,160,26,96,41,88,134,255,165,148,
-87,225,248,227,243,207,103,90,36,144,182,6,50,5,157,65,77,65,35,232,8,207,
-107,67,251,214,118,244,37,250,176,107,231,238,180,136,94,30,188,209,159,
-108,145,64,37,10,254,83,144,132,10,65,37,84,9,10,17,223,158,64,170,59,5,
-132,67,232,142,68,145,220,145,76,151,230,75,47,0,76,134,54,226,66,250,206,
-177,9,21,205,28,220,115,40,201,144,226,91,176,130,55,239,102,158,189,186,
-250,246,248,134,92,200,159,43,140,138,104,174,188,84,70,8,30,182,117,116,
-64,68,247,174,179,241,204,195,76,219,233,251,167,174,252,141,68,235,10,
-37,161,166,16,35,84,116,125,14,84,116,90,68,179,127,130,7,198,14,76,72,
-93,51,93,145,46,84,165,138,74,80,129,10,139,45,75,204,222,27,186,21,235,
-140,15,171,18,39,111,15,58,149,181,87,40,68,60,154,64,42,153,66,120,75,
-24,158,121,88,92,156,3,69,11,77,130,236,221,161,235,209,206,216,133,222,
-88,47,12,14,61,137,158,166,133,52,3,29,241,253,199,42,60,122,248,188,80,
-70,105,206,207,83,153,107,18,136,104,93,85,33,38,48,7,208,17,102,132,26,
-97,142,168,213,106,88,9,86,49,183,236,195,159,245,243,84,27,255,48,229,
-151,91,146,120,226,230,209,201,88,36,122,81,105,152,95,248,4,149,95,57,
-80,229,87,42,139,84,22,72,230,102,167,62,54,163,12,231,92,179,7,198,246,
-79,247,95,219,247,254,247,217,191,186,197,5,169,235,136,138,62,248,159,
-223,248,19,19,249,133,146,234,21,229,237,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_39 = 678;
-static unsigned char xml_res_file_39[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,35,73,68,65,84,56,141,165,147,93,74,
-35,65,20,133,191,250,233,127,99,58,51,18,34,8,89,128,248,20,193,117,184,
-5,55,224,90,92,135,27,240,85,16,113,13,62,141,136,56,96,50,209,153,166,
-171,59,213,125,107,30,52,61,248,58,22,28,170,30,238,57,247,212,61,85,42,
-132,192,87,150,254,18,27,80,69,81,252,152,76,38,187,69,81,144,231,185,202,
-243,92,101,89,166,146,36,81,113,28,99,140,65,68,216,108,54,52,77,19,170,
-170,146,170,170,164,174,107,94,95,95,127,219,209,104,52,58,59,59,155,196,
-113,76,20,69,3,172,181,196,113,12,64,85,85,220,223,223,179,92,46,41,203,
-114,232,126,117,117,37,54,132,64,8,1,17,97,123,14,33,224,189,167,109,91,
-158,158,158,120,120,120,64,68,222,45,43,197,193,193,1,101,89,114,125,125,
-109,108,8,129,182,109,17,17,188,247,67,81,8,129,199,199,71,170,170,26,58,
-78,167,83,230,243,57,123,123,123,132,16,48,198,104,43,34,97,189,94,99,140,
-193,24,131,181,22,239,61,171,213,138,190,239,63,145,167,211,41,206,57,150,
-203,37,90,107,68,36,216,190,239,195,106,181,226,238,238,142,249,124,206,
-254,254,62,90,127,14,39,138,34,186,174,227,229,229,5,107,45,111,111,111,
-36,73,66,223,247,98,1,180,214,28,29,29,241,252,252,204,205,205,13,147,201,
-132,227,227,99,118,119,119,135,235,136,8,109,219,82,85,21,93,215,209,117,
-29,155,205,70,172,82,138,162,40,40,203,114,176,239,156,99,60,30,51,155,
-205,6,129,190,239,183,164,109,164,40,165,176,90,107,198,227,49,151,151,
-151,28,30,30,114,122,122,202,108,54,27,162,220,10,116,93,55,36,227,156,
-195,57,135,214,250,159,192,249,249,57,31,143,137,44,203,72,211,148,40,138,
-182,195,194,123,79,211,52,56,231,168,235,154,56,142,223,5,148,82,164,105,
-74,150,101,20,69,193,206,206,206,176,95,92,92,224,189,71,68,56,57,57,97,
-177,88,96,173,5,64,68,208,90,163,210,52,93,47,22,139,63,113,28,147,101,
-153,202,243,92,165,105,170,146,36,81,81,20,97,140,161,239,251,173,253,208,
-52,77,168,235,58,56,231,194,237,237,237,72,1,83,32,255,207,191,84,171,16,
-2,74,169,12,248,14,76,128,111,192,8,136,62,160,128,30,240,31,104,128,95,
-192,79,96,245,23,33,215,35,139,26,116,42,232,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_40 = 623;
-static unsigned char xml_res_file_40[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,236,73,68,65,84,56,141,149,146,189,107,
-83,81,20,192,127,247,189,155,151,208,135,38,66,93,132,14,105,141,9,216,
-56,148,14,14,85,99,135,116,169,113,115,114,114,112,241,95,40,138,147,56,
-58,9,14,130,155,121,118,144,224,230,32,37,208,226,199,80,211,170,80,148,
-4,210,36,29,106,205,203,39,141,47,239,58,228,195,164,49,4,15,28,238,29,
-206,239,199,61,247,28,1,204,164,82,169,103,252,71,36,18,137,187,74,169,
-60,128,0,162,101,219,206,212,106,117,116,93,67,215,117,52,77,235,164,16,
-127,239,221,20,191,15,40,189,187,240,105,186,185,240,212,188,181,245,92,
-0,81,187,82,201,52,26,141,137,176,106,149,104,126,89,193,31,92,162,125,
-96,213,247,223,24,87,36,128,38,196,100,248,184,72,115,55,142,127,238,42,
-238,207,87,228,54,106,135,5,135,95,18,64,12,22,143,129,27,187,113,2,193,
-107,184,71,22,63,222,86,139,165,50,177,216,3,149,235,8,122,208,63,225,2,
-141,157,56,129,217,24,202,182,40,125,240,115,63,89,189,147,220,84,57,0,
-173,47,24,3,215,51,93,184,98,145,223,52,201,207,60,193,218,162,216,155,
-136,214,27,197,40,188,79,253,115,156,192,220,117,84,197,34,155,246,178,
-55,253,152,83,103,67,67,35,213,134,90,24,128,107,219,43,4,206,47,67,37,
-73,54,237,33,51,245,144,115,179,11,132,195,225,201,130,239,27,107,156,9,
-45,67,245,37,217,180,228,163,190,198,226,210,42,145,72,4,199,113,134,4,
-242,164,160,118,84,192,52,231,217,219,126,143,44,122,248,118,250,17,55,
-87,111,99,24,6,182,109,99,154,230,120,1,192,235,245,23,76,185,135,24,190,
-139,4,231,239,113,227,114,156,118,187,141,109,219,253,93,25,12,1,68,29,
-199,201,184,174,139,16,162,159,61,241,32,44,165,196,231,243,225,241,120,
-46,41,165,118,250,127,208,43,158,4,75,41,71,94,208,89,101,77,67,41,213,
-135,1,148,82,180,90,45,76,211,28,25,241,201,22,124,64,168,43,243,2,70,247,
-244,2,122,183,70,1,14,112,12,180,128,175,64,89,41,229,252,1,240,126,200,
-57,208,143,162,187,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_41 = 56752;
-static unsigned char xml_res_file_41[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,199,0,0,1,90,8,6,0,
-0,0,170,138,73,239,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,
-71,68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,14,196,
-0,0,14,196,1,149,43,14,27,0,0,0,7,116,73,77,69,7,216,11,7,6,27,9,12,217,
-50,198,0,0,32,0,73,68,65,84,120,218,236,189,217,175,108,251,118,223,245,
-249,53,179,171,126,245,187,59,103,159,115,246,109,125,109,95,59,54,24,25,
-41,36,15,24,8,8,193,59,9,15,136,40,52,50,111,72,240,63,0,34,128,20,241,
-0,60,144,55,44,64,36,18,18,34,82,16,15,193,40,177,149,152,228,54,231,158,
-102,183,171,95,181,170,155,221,175,225,97,86,213,106,118,53,179,246,62,
-142,237,179,235,39,45,85,63,171,214,156,99,252,198,248,142,239,104,132,
-247,222,179,93,219,181,93,111,45,185,61,5,219,181,93,139,151,6,184,109,
-60,132,16,219,179,178,93,219,181,181,28,219,181,93,107,44,199,34,107,225,
-189,223,90,145,237,218,90,14,239,253,220,181,154,221,10,33,88,132,213,235,
-62,183,93,219,245,173,80,142,219,22,98,153,21,185,127,123,31,167,220,127,
-110,171,48,219,245,173,194,28,203,132,123,166,48,183,111,103,247,239,43,
-197,125,133,185,127,252,173,210,108,215,159,57,183,234,190,192,207,30,223,
-23,230,251,207,221,191,127,251,111,110,133,238,61,190,111,137,182,107,187,
-254,84,187,85,203,194,185,139,220,172,117,0,254,45,133,169,238,109,221,
-174,237,250,179,233,86,45,18,236,58,216,99,145,69,121,91,121,60,183,15,
-123,227,94,249,165,0,127,171,60,219,245,167,198,173,90,101,21,214,97,143,
-117,194,236,61,8,1,206,57,192,35,68,245,184,250,136,95,104,129,150,41,235,
-86,113,182,235,79,196,173,90,100,17,234,8,226,82,119,106,106,29,4,254,45,
-60,82,41,193,106,204,178,72,33,110,43,206,178,96,194,118,109,215,55,177,
-244,50,156,177,8,148,175,19,202,251,128,254,150,83,53,53,16,119,221,43,
-49,253,155,189,107,6,220,61,32,110,191,50,181,60,243,99,79,237,205,58,108,
-180,93,219,245,141,96,142,85,187,111,29,87,107,185,178,76,197,92,220,96,
-12,239,253,212,167,114,111,185,85,220,82,24,239,221,13,54,89,130,75,188,
-115,11,93,173,58,216,105,187,182,107,173,229,88,100,25,86,89,137,251,110,
-84,29,48,63,115,175,16,30,231,4,247,15,239,43,83,128,0,156,247,200,123,
-46,23,222,99,111,125,151,115,30,41,153,43,154,16,242,206,49,239,88,174,
-21,152,106,155,38,179,93,43,149,99,153,112,204,4,103,89,152,118,149,162,
-220,183,5,98,110,18,60,139,222,82,1,118,63,87,4,55,245,165,148,20,56,55,
-181,12,2,188,155,186,88,222,223,188,31,49,85,58,143,148,114,165,240,47,
-82,134,101,255,231,86,105,182,202,81,11,112,223,143,34,45,83,132,133,59,
-182,144,211,221,221,1,2,137,91,230,217,77,35,90,55,223,233,220,204,133,
-2,37,229,13,111,34,4,66,248,155,136,151,23,88,103,43,124,34,43,101,92,6,
-222,235,186,136,219,181,85,142,181,74,177,206,186,212,81,42,143,4,47,230,
-86,226,102,199,87,55,214,69,128,148,18,15,72,33,112,206,226,156,155,10,
-249,45,224,142,168,240,200,244,225,237,223,105,173,69,9,181,20,11,221,127,
-126,145,229,91,103,53,182,86,101,171,28,107,149,98,89,254,212,34,193,243,
-222,205,136,13,132,144,115,139,114,223,18,221,126,44,165,186,227,134,9,
-33,240,179,8,26,30,239,43,11,113,23,180,79,173,137,216,204,42,220,119,167,
-22,185,90,155,224,177,237,250,150,41,199,38,59,226,50,1,89,228,126,221,
-86,140,155,199,211,8,150,84,75,49,129,16,2,165,238,10,232,12,83,8,165,166,
-33,94,49,119,197,188,115,115,173,88,167,212,117,255,175,117,231,99,25,105,
-185,85,146,111,177,229,88,4,194,215,185,26,222,87,128,248,45,1,244,238,
-198,33,18,162,114,175,196,148,215,112,22,161,228,74,33,91,132,115,196,220,
-29,155,69,185,252,77,232,88,138,119,250,31,238,11,251,42,48,191,104,19,
-216,68,41,182,174,217,159,254,37,235,8,206,170,116,142,217,115,206,57,156,
-115,111,213,124,220,228,80,57,76,105,166,56,194,78,65,245,141,226,172,250,
-206,69,74,120,251,177,156,42,133,148,18,165,36,226,29,0,119,157,112,246,
-162,72,214,166,217,4,155,133,191,183,235,79,133,229,184,191,147,109,186,
-171,73,41,231,238,205,29,65,152,95,124,135,181,6,168,132,87,120,137,146,
-146,25,9,40,166,201,86,254,206,247,207,192,119,133,35,164,92,188,83,47,
-11,193,174,74,145,95,21,222,93,247,184,110,250,74,93,188,178,206,106,111,
-45,204,159,160,114,44,170,209,88,198,5,172,98,196,239,115,12,55,23,216,
-129,119,83,67,225,112,128,194,129,84,115,140,48,179,48,214,86,225,88,169,
-20,204,222,43,4,214,121,196,173,40,148,49,6,33,43,5,91,150,250,178,200,
-26,212,113,181,214,41,224,58,37,88,118,174,214,41,90,221,112,249,118,253,
-9,98,142,69,130,181,202,229,90,164,88,115,191,125,138,187,61,14,68,21,121,
-178,214,163,102,70,99,26,185,154,145,128,222,57,10,99,81,206,129,117,160,
-36,94,128,41,13,16,34,149,170,88,116,107,17,8,164,168,207,238,175,226,61,
-22,9,248,253,255,127,81,184,119,25,215,179,76,9,23,157,219,186,56,103,139,
-97,254,148,0,242,77,162,86,183,47,248,12,144,223,123,19,66,120,148,188,
-73,249,16,211,92,171,27,203,1,222,217,138,1,167,82,20,33,196,212,9,171,
-104,241,10,215,84,105,40,214,121,148,112,20,198,32,149,66,105,53,39,254,
-238,135,100,87,53,133,88,164,252,247,45,207,251,68,160,150,9,237,34,101,
-94,5,248,223,197,213,219,174,111,0,144,215,245,159,23,189,182,200,13,120,
-107,71,21,1,8,137,86,32,165,39,8,166,150,99,174,32,76,107,60,4,14,63,231,
-40,132,20,24,99,241,94,32,165,70,75,137,183,6,99,45,8,143,53,37,121,145,
-147,229,57,198,186,37,81,45,177,176,228,119,89,25,240,34,107,177,236,243,
-235,54,141,69,239,171,147,138,179,9,54,89,20,172,216,130,252,111,88,57,
-234,164,133,188,75,29,248,77,120,181,129,80,1,66,4,72,25,34,164,70,136,
-16,33,130,233,49,42,5,8,180,70,74,133,82,85,202,137,84,178,2,251,214,224,
-69,101,69,102,228,159,181,22,169,52,82,200,69,201,189,11,65,248,178,154,
-248,58,25,201,239,34,176,247,207,213,187,238,246,235,66,220,139,54,166,
-101,53,58,219,245,158,209,170,117,254,250,237,251,115,18,110,26,210,189,
-203,113,76,67,185,206,2,1,220,56,82,21,222,152,178,228,179,239,144,74,17,
-72,57,101,190,29,32,145,82,224,236,44,252,43,17,82,33,229,204,245,1,169,
-171,247,212,137,14,213,173,137,223,212,143,95,23,176,168,155,240,88,231,
-245,119,33,107,235,70,191,182,36,230,26,204,81,55,159,106,198,78,223,62,
-225,51,229,144,211,40,146,7,188,51,120,107,230,248,195,207,47,146,68,234,
-248,173,139,40,231,143,111,188,190,40,142,177,182,196,10,129,86,178,250,
-11,2,178,113,186,20,224,214,177,34,235,82,69,234,40,204,166,194,189,202,
-125,91,103,53,222,151,100,220,100,3,252,208,129,190,168,51,130,96,213,197,
-191,205,109,220,62,148,82,106,122,209,29,206,230,224,111,162,87,85,22,173,
-195,123,135,144,26,53,85,144,101,138,121,35,100,110,170,124,114,30,54,54,
-198,76,3,1,10,41,223,253,34,190,143,16,108,18,230,173,243,254,117,32,253,
-159,70,228,106,107,65,22,0,242,85,0,117,213,142,102,173,157,11,234,226,
-229,72,179,116,166,26,120,36,66,40,188,51,119,193,164,179,100,89,254,86,
-221,120,117,43,81,74,223,225,83,180,214,104,173,231,110,213,38,152,96,85,
-215,198,101,245,244,139,64,240,42,238,167,110,248,123,157,27,184,169,192,
-175,251,221,117,163,144,91,64,190,226,194,45,58,233,171,82,72,102,175,205,
-211,73,220,44,125,196,82,22,6,83,22,152,178,192,154,2,112,136,219,12,57,
-30,83,148,20,101,73,94,154,59,24,187,78,154,70,157,148,140,117,233,33,139,
-58,172,44,19,152,101,145,167,58,160,123,149,208,175,178,42,235,132,124,
-217,230,182,172,50,114,93,52,242,67,6,242,114,157,0,213,217,81,170,236,
-89,133,214,250,45,63,218,79,93,40,188,65,8,79,89,22,88,83,226,108,9,190,
-132,91,133,79,222,89,138,162,4,192,26,55,85,184,91,2,177,1,22,170,115,193,
-235,246,247,93,246,249,69,156,202,166,209,172,69,86,167,142,245,94,149,
-174,178,72,17,22,89,226,101,24,172,174,44,124,144,128,188,174,31,58,59,
-153,51,220,113,155,0,188,225,6,42,102,220,99,16,178,178,32,214,66,24,48,
-173,121,189,249,9,98,10,216,193,227,172,193,20,30,227,60,97,160,113,214,
-161,181,170,210,74,88,158,118,177,40,183,106,29,187,191,142,61,191,191,
-195,191,47,54,169,11,190,87,89,161,117,225,246,101,150,175,110,36,111,147,
-32,197,183,90,57,150,129,190,117,96,112,89,152,240,238,243,211,20,18,225,
-9,84,197,144,79,210,219,9,137,242,214,241,36,74,107,180,132,50,47,200,210,
-18,227,60,206,69,40,44,69,41,144,74,19,71,225,157,58,143,101,233,28,117,
-114,158,234,88,161,186,86,225,125,106,97,150,41,226,50,94,102,157,114,213,
-13,49,175,170,165,217,2,114,22,247,172,218,4,184,205,34,83,179,251,242,
-78,50,160,0,17,32,132,38,12,60,129,246,68,33,40,53,107,248,118,231,146,
-77,243,72,110,66,190,97,20,162,180,38,8,52,105,94,160,116,80,189,182,128,
-80,91,229,178,188,47,32,93,230,254,188,111,148,107,147,223,177,78,96,55,
-33,252,22,145,133,91,110,99,141,229,88,101,17,214,133,10,151,22,255,200,
-176,74,21,153,118,13,137,163,98,218,169,77,33,100,120,235,205,149,229,64,
-64,32,4,202,148,88,64,10,143,51,14,133,192,90,75,24,200,133,59,232,170,
-122,240,77,227,247,235,184,139,77,58,182,172,179,188,235,152,243,186,130,
-187,105,246,240,38,215,246,67,92,11,121,142,58,64,109,25,128,188,159,182,
-62,15,245,58,67,105,114,16,16,138,178,74,18,148,1,200,24,49,195,29,179,
-150,60,51,139,227,45,227,52,71,107,5,174,178,50,198,11,226,36,66,203,205,
-216,230,77,20,160,206,241,54,229,47,234,124,255,31,135,96,190,235,49,183,
-74,178,64,57,54,61,41,214,86,29,66,110,151,199,222,79,246,51,182,36,45,
-179,91,160,29,4,142,64,133,4,58,68,10,185,242,123,173,181,115,69,117,211,
-82,92,185,38,122,179,137,162,172,75,237,248,38,34,55,155,252,150,186,56,
-226,125,131,41,235,142,253,161,43,136,92,23,247,174,123,210,103,28,199,
-140,223,152,45,231,29,133,45,240,56,2,173,81,211,2,165,194,25,70,197,152,
-188,204,86,198,214,103,117,233,51,44,163,167,245,28,203,92,186,69,62,122,
-157,177,109,171,148,108,213,235,117,195,191,235,202,140,151,253,47,239,
-3,252,235,184,188,235,50,131,63,120,158,99,25,222,168,75,22,221,207,177,
-186,203,52,59,156,119,132,42,192,58,199,36,79,153,228,19,98,29,35,133,32,
-51,217,218,112,235,38,173,113,222,53,58,180,206,226,44,59,47,117,4,120,
-147,118,164,239,154,170,190,104,83,89,180,17,172,194,149,223,148,34,126,
-171,148,163,206,133,88,85,28,228,156,195,90,75,81,20,115,37,185,177,34,
-126,206,95,100,101,70,81,22,148,166,164,176,57,145,142,152,229,154,223,
-16,125,142,210,152,41,249,231,200,179,140,162,52,181,132,122,149,128,220,
-255,237,235,226,255,171,142,179,74,72,23,213,84,212,137,154,213,97,253,
-235,52,194,184,29,121,170,211,204,97,217,244,224,109,170,251,130,81,203,
-247,79,216,170,20,236,219,32,92,107,253,214,49,156,171,172,134,199,227,
-188,197,90,131,86,138,70,28,87,101,179,120,4,183,47,138,199,152,156,209,
-104,76,105,45,182,40,152,76,198,76,210,20,235,28,233,100,76,154,229,88,
-231,176,182,234,81,85,199,45,184,47,156,171,82,96,234,88,160,58,25,4,117,
-10,154,238,243,10,171,24,251,186,185,78,203,8,192,117,101,192,247,21,100,
-203,115,44,105,176,176,40,90,179,42,214,62,75,83,15,130,224,173,207,72,
-228,180,169,194,84,73,156,195,121,91,213,133,251,18,199,77,111,92,188,195,
-20,149,18,25,107,113,69,1,42,64,107,69,58,24,144,27,3,42,152,166,161,120,
-146,36,66,43,185,18,120,214,233,74,178,105,255,223,117,68,219,34,161,95,
-101,161,22,189,119,147,232,219,42,87,109,89,90,124,221,48,242,135,188,150,
-14,175,169,43,24,183,83,70,102,237,121,230,138,33,37,138,170,147,130,245,
-6,132,163,180,142,50,45,209,161,68,4,193,221,157,210,25,242,34,71,43,133,
-41,13,145,150,184,194,226,133,68,73,1,50,32,142,35,132,51,92,95,15,41,77,
-147,80,43,26,205,4,63,77,101,159,53,106,184,77,68,206,126,119,145,103,4,
-97,84,171,33,219,178,93,118,21,31,84,87,128,87,117,117,95,71,248,109,146,
-238,94,23,7,213,141,112,125,176,202,81,231,2,44,122,110,94,212,116,143,
-49,158,61,39,133,36,84,17,19,155,161,180,199,121,55,21,94,79,233,12,146,
-96,238,90,89,107,176,174,106,227,147,25,79,208,105,17,233,148,116,60,33,
-78,98,92,153,146,27,141,10,170,209,4,69,58,198,69,9,82,8,202,60,133,32,
-38,9,21,89,150,129,10,105,55,227,74,89,169,122,236,142,7,125,68,216,162,
-213,140,171,154,144,91,13,224,86,165,205,172,218,105,87,237,190,171,70,
-88,223,223,205,235,76,232,93,231,90,173,138,46,45,11,50,172,195,81,31,188,
-91,181,172,241,192,166,51,43,188,247,243,84,146,91,167,151,80,197,228,118,
-130,147,41,65,56,75,171,178,136,105,9,44,98,214,121,93,18,39,109,146,88,
-115,121,121,77,54,73,81,56,164,247,152,210,144,132,154,52,203,41,8,72,146,
-6,222,25,226,102,66,214,191,96,56,41,64,23,136,110,147,108,50,98,92,130,
-55,45,38,233,4,173,53,72,141,66,48,24,78,80,162,196,184,128,78,167,129,
-119,110,94,40,117,255,127,157,241,55,239,90,249,87,167,255,213,58,151,104,
-85,219,158,85,174,221,58,215,172,110,187,211,15,222,173,90,21,239,174,51,
-134,96,145,64,220,117,69,36,137,238,128,1,135,197,139,106,55,15,84,130,
-68,78,71,219,120,148,14,137,117,53,110,160,213,108,96,172,33,203,45,58,
-138,8,20,12,71,19,4,10,129,164,72,7,56,169,105,200,42,159,75,5,17,113,18,
-81,22,37,66,134,120,59,230,226,122,66,164,29,105,154,227,68,73,183,221,
-164,169,21,233,224,140,171,92,1,142,34,203,136,155,77,48,5,173,78,167,170,
-80,68,32,165,98,52,28,209,234,116,80,130,90,152,100,145,80,111,202,164,
-215,233,101,85,23,119,44,83,132,117,199,222,42,198,10,204,177,9,224,115,
-75,102,242,221,118,181,74,91,50,46,38,224,101,53,167,131,106,214,147,82,
-33,145,142,171,76,17,15,98,222,88,193,19,37,9,129,179,132,145,171,58,27,
-10,80,58,64,200,42,101,221,149,154,194,107,148,212,196,141,6,89,57,170,
-240,134,41,41,140,67,75,137,21,146,70,35,166,44,221,173,98,44,69,220,236,
-145,144,147,94,247,185,30,79,8,39,41,10,79,102,5,145,44,152,228,158,86,
-167,75,255,226,140,113,110,56,218,239,226,189,64,169,42,184,32,164,92,219,
-89,113,157,176,47,10,163,214,77,79,175,203,179,172,42,192,90,149,161,252,
-77,102,6,252,89,94,43,211,71,234,132,255,140,49,111,213,145,87,101,171,
-149,0,89,103,25,231,35,114,155,163,165,70,75,141,7,178,178,106,140,208,
-142,218,52,162,230,74,247,100,209,173,179,6,135,64,43,141,192,81,150,37,
-195,113,78,160,61,89,154,226,208,72,169,73,226,202,21,243,206,97,202,156,
-194,6,236,52,4,163,204,32,109,129,209,17,90,120,172,8,217,223,237,48,188,
-60,230,236,114,76,188,179,79,88,142,240,58,132,162,132,168,65,175,21,144,
-101,134,222,222,62,90,126,115,66,179,46,125,252,125,143,189,73,31,224,45,
-238,88,2,200,215,41,198,58,208,56,139,84,89,107,231,187,146,115,22,235,
-45,73,144,32,132,196,185,42,79,42,9,98,38,229,132,113,49,126,75,57,102,
-77,165,111,119,68,188,191,179,41,29,160,102,23,82,72,130,48,162,45,21,82,
-8,226,40,6,169,145,211,70,113,82,40,60,142,201,200,80,90,79,24,69,136,44,
-199,226,113,214,17,180,66,40,21,2,203,104,108,105,183,18,114,99,136,27,
-29,148,242,152,176,77,89,140,185,184,156,160,117,52,197,72,226,157,115,
-156,234,128,236,247,157,48,85,167,190,101,149,181,219,186,86,11,166,201,
-214,9,115,222,7,141,206,57,140,49,24,99,136,227,120,225,136,0,33,32,55,
-57,227,108,140,119,158,157,86,143,102,216,100,82,76,230,192,119,26,207,
-165,40,45,74,75,76,81,86,130,44,120,171,31,214,162,80,103,160,43,93,87,
-74,221,249,237,141,102,130,115,142,48,12,232,56,8,3,197,126,148,32,164,
-226,236,248,20,235,4,141,70,132,84,1,97,232,201,141,67,104,129,45,50,114,
-225,241,101,142,148,80,24,73,103,167,131,22,239,190,163,110,194,41,124,
-83,41,245,139,20,114,93,251,162,173,130,44,0,228,155,198,236,111,71,118,
-102,25,186,183,115,173,170,91,135,245,134,113,54,194,187,42,188,155,153,
-140,56,136,102,115,102,111,17,138,37,253,235,17,157,110,139,60,203,144,
-65,68,160,170,52,18,29,38,4,90,214,110,247,127,91,16,164,148,200,105,237,
-136,247,158,112,202,119,236,31,236,225,133,36,208,10,33,36,7,71,15,49,78,
-144,230,134,144,140,113,225,192,101,164,46,224,96,191,117,51,178,237,27,
-90,139,132,113,217,115,155,242,48,235,162,100,139,142,189,169,44,124,48,
-128,252,93,221,42,41,37,97,24,78,5,240,150,240,250,106,82,159,195,226,189,
-197,121,135,150,154,36,142,112,222,99,92,65,53,93,124,118,124,48,101,73,
-81,22,20,198,224,157,229,234,242,130,221,221,46,69,94,96,188,70,136,0,37,
-43,215,237,182,133,184,249,109,126,62,14,109,29,31,32,132,32,140,162,59,
-175,133,81,66,8,36,177,199,187,152,216,121,192,97,157,36,12,36,121,225,
-54,218,133,223,133,176,91,150,198,81,135,127,170,131,33,214,133,147,183,
-197,79,11,48,199,170,139,190,234,4,205,172,133,82,234,173,142,135,202,43,
-176,21,67,46,132,195,184,146,172,240,8,5,94,72,28,246,22,206,176,228,89,
-73,160,37,101,86,32,172,195,25,195,101,127,128,176,150,124,124,78,150,52,
-136,163,128,162,48,244,186,109,76,105,144,90,163,102,131,109,166,19,164,
-132,14,166,169,37,179,148,21,8,180,170,173,248,66,8,132,210,136,105,219,
-209,96,250,124,18,171,119,114,123,54,157,203,177,206,98,175,83,148,85,215,
-110,149,194,173,227,106,62,120,64,94,71,33,102,187,209,77,103,195,155,157,
-110,62,212,82,8,148,84,40,161,48,46,69,5,158,188,40,201,179,130,56,209,
-32,197,45,192,237,113,166,32,203,38,20,133,165,84,142,64,7,236,236,237,
-50,190,186,98,148,25,162,36,162,72,83,210,209,16,29,53,232,159,95,144,101,
-57,186,217,36,86,146,168,217,196,23,25,227,180,160,213,105,99,141,67,235,
-128,124,50,98,148,26,226,36,34,73,26,115,215,108,85,78,217,162,29,183,206,
-174,191,201,172,192,77,5,112,145,251,180,105,219,207,58,161,230,237,170,
-97,57,214,249,242,243,131,104,61,47,114,186,175,44,82,42,34,157,96,202,
-28,39,75,226,88,144,11,135,84,6,235,61,129,72,230,13,161,141,245,8,21,208,
-110,69,164,89,65,89,20,12,135,35,28,2,231,161,211,237,50,233,95,210,207,
-44,189,131,54,101,255,140,193,120,136,200,13,157,102,72,225,5,210,164,140,
-38,37,58,80,164,227,107,100,210,67,149,3,78,79,250,236,30,62,4,103,49,97,
-68,16,132,72,233,49,166,68,74,120,241,229,115,146,86,139,70,123,135,86,
-43,174,250,245,226,239,180,128,120,31,1,122,151,84,144,186,46,88,157,239,
-221,180,182,252,67,119,169,238,40,199,50,51,188,105,227,225,69,108,113,
-168,18,0,70,101,149,145,75,148,225,113,72,31,144,232,118,149,251,132,71,
-135,9,173,182,34,10,21,113,154,50,73,115,210,162,36,106,52,136,140,225,
-252,252,2,37,33,140,35,164,16,4,161,166,221,219,39,10,2,226,72,209,31,12,
-8,163,144,40,212,140,135,19,138,108,194,104,226,217,111,135,132,81,72,158,
-142,41,70,37,147,18,186,123,59,68,194,48,28,141,136,27,77,210,220,224,116,
-142,142,75,172,81,148,214,17,40,184,186,26,176,123,112,0,43,220,164,58,
-165,166,117,203,112,23,129,242,58,138,82,167,105,245,187,184,98,91,204,
-177,198,236,175,2,140,245,119,75,9,54,66,120,79,64,130,210,142,40,104,16,
-233,102,197,27,80,133,123,163,40,172,110,147,38,97,156,208,178,85,190,150,
-108,53,57,57,191,36,76,98,194,89,151,245,86,155,171,215,167,148,170,77,
-43,108,34,202,11,92,212,34,212,37,151,195,107,26,141,46,58,77,241,104,90,
-237,93,188,25,114,53,182,60,251,228,33,47,95,157,208,47,74,154,157,152,
-193,96,136,247,22,99,44,166,76,57,121,125,65,81,22,236,236,237,113,113,
-122,202,168,48,60,58,216,131,105,137,239,148,206,103,145,204,212,1,183,
-171,230,21,222,23,244,186,65,146,111,34,87,170,14,94,249,144,86,173,46,
-235,171,252,237,89,8,247,118,228,234,54,238,0,200,138,148,65,62,64,8,129,
-150,1,224,41,76,65,18,36,52,163,22,90,233,133,199,190,127,65,75,99,238,
-52,87,16,66,144,103,25,94,8,60,10,51,25,65,152,32,125,201,100,50,100,52,
-26,146,153,144,221,110,147,116,208,199,40,141,47,74,162,36,193,140,135,
-92,151,138,239,127,239,49,23,199,167,164,86,208,106,55,41,139,148,108,82,
-144,36,10,167,98,202,225,16,235,45,129,142,104,239,116,8,162,8,89,88,84,
-210,164,213,8,223,43,124,187,233,166,180,41,17,88,199,205,218,182,230,169,
-137,57,234,156,252,251,130,107,173,157,51,226,0,101,89,34,165,36,8,2,164,
-148,24,107,72,205,4,33,32,14,171,186,11,0,135,163,159,93,225,188,163,215,
-216,89,218,89,240,246,247,207,72,190,219,43,138,227,169,146,122,162,110,
-103,234,162,5,196,73,76,167,211,67,234,16,83,150,104,114,50,26,180,122,
-142,151,199,125,218,59,251,36,195,116,58,71,16,172,49,56,107,209,50,32,
-74,18,246,15,18,206,47,70,68,73,135,40,116,20,62,70,121,199,224,106,128,
-20,142,230,148,213,95,213,55,119,211,6,9,117,50,107,235,22,39,213,9,35,
-175,251,252,135,110,57,244,178,11,176,202,212,222,63,105,183,103,101,204,
-192,249,108,89,87,241,27,113,16,83,148,57,195,116,132,115,142,131,238,62,
-147,114,204,164,24,211,107,236,220,124,199,44,101,100,54,37,74,74,4,126,
-62,64,115,153,160,200,219,145,47,15,82,106,148,170,74,119,181,138,8,195,
-35,188,151,40,37,121,214,104,163,117,192,184,57,65,235,144,78,111,7,115,
-121,193,104,48,32,106,180,104,54,27,72,60,82,40,132,29,209,31,67,171,221,
-98,103,39,102,114,253,11,76,184,75,35,9,214,134,73,235,16,148,117,93,160,
-186,187,251,186,65,155,117,92,171,173,245,184,165,28,117,218,77,174,58,
-105,206,57,138,162,160,44,75,154,205,230,252,185,217,108,113,41,4,8,207,
-48,27,81,150,5,66,8,70,249,136,86,212,100,104,135,119,243,179,108,193,241,
-249,128,195,131,29,210,113,74,220,108,35,164,35,155,164,232,184,65,168,
-87,135,154,151,9,153,82,193,252,185,56,174,136,191,78,187,250,173,173,78,
-151,164,209,192,88,135,84,26,173,20,222,27,186,93,133,40,33,31,20,36,113,
-136,144,146,32,136,16,113,147,80,214,143,248,108,26,234,221,116,60,65,29,
-78,99,19,235,178,85,140,5,150,99,217,253,85,17,151,101,59,213,60,9,209,
-88,156,183,24,87,117,61,12,2,77,51,105,96,189,197,97,42,170,227,150,252,
-152,178,32,75,83,178,178,77,89,20,56,153,209,136,36,89,150,34,188,68,36,
-209,156,204,91,231,178,212,109,25,42,132,64,134,209,156,232,171,86,72,179,
-17,32,68,196,147,166,67,105,141,183,41,132,1,205,118,114,167,130,112,157,
-192,173,251,77,117,21,97,147,104,83,157,251,219,217,128,53,45,199,186,252,
-254,85,187,148,16,226,173,244,145,89,19,54,231,45,222,86,185,85,206,91,
-188,115,100,69,134,84,144,26,115,107,58,7,8,44,89,90,16,78,67,177,218,25,
-174,206,79,153,52,18,132,49,164,195,51,242,102,147,70,28,18,134,33,58,8,
-40,179,28,21,6,40,41,231,245,32,101,158,35,116,72,160,229,28,79,88,7,97,
-168,55,114,83,42,87,77,17,134,51,102,61,96,103,103,159,48,82,107,163,119,
-171,130,11,117,5,124,209,177,234,114,80,239,211,16,110,235,86,173,8,229,
-250,13,98,250,74,169,121,180,106,118,127,22,177,154,165,148,128,199,248,
-2,169,60,89,86,146,149,57,73,67,17,73,5,254,70,208,156,169,90,241,148,133,
-165,44,29,141,64,147,52,19,138,113,74,94,90,162,36,98,50,26,50,234,27,130,
-184,73,183,213,224,234,226,146,176,213,34,209,138,184,211,198,103,41,14,
-129,116,158,50,183,4,81,76,62,186,230,106,88,176,191,215,67,5,51,165,185,
-189,9,220,164,198,59,107,113,30,148,122,187,60,86,168,128,72,5,181,66,183,
-171,10,134,222,165,131,201,42,247,107,157,224,47,235,97,245,77,118,84,252,
-86,187,85,171,48,199,42,243,174,148,66,41,69,89,150,183,178,95,111,42,229,
-148,84,104,21,80,216,17,58,112,4,84,243,3,165,246,24,87,162,152,13,203,
-244,148,69,137,23,138,102,35,32,205,75,198,121,201,195,253,30,195,44,99,
-156,193,195,253,125,70,231,39,92,76,114,246,31,237,146,95,156,114,57,232,
-163,210,146,157,118,72,14,136,98,66,154,67,167,155,48,26,92,34,27,123,4,
-197,21,111,94,158,99,129,163,131,61,178,116,66,28,55,80,10,242,60,67,107,
-193,207,255,241,79,105,116,15,216,221,107,81,228,208,221,233,16,234,250,
-195,92,234,88,131,69,229,169,239,50,83,112,221,78,255,174,225,217,109,215,
-195,5,60,71,29,255,114,93,62,209,12,128,235,5,225,86,231,44,151,217,107,
-82,119,141,199,207,91,132,42,2,218,250,128,94,114,88,133,129,139,140,210,
-66,51,14,24,15,199,12,71,99,82,99,80,90,225,203,18,47,3,4,22,99,60,251,
-71,15,200,46,94,51,34,36,214,1,141,36,224,226,234,138,36,137,171,58,144,
-32,224,250,226,152,1,45,30,244,66,250,23,215,232,40,70,152,130,113,1,59,
-135,251,36,162,164,127,125,77,210,110,51,25,20,21,159,17,5,104,221,224,
-193,195,3,154,83,247,201,148,5,97,20,147,167,41,66,5,119,220,179,85,28,
-66,221,96,193,166,2,252,77,55,180,94,149,124,248,33,43,135,174,235,243,
-214,105,28,182,156,209,21,116,130,125,92,238,49,206,224,113,104,169,72,
-84,155,70,216,157,15,203,12,194,184,2,197,66,208,232,116,72,90,45,78,47,
-174,136,146,132,16,195,69,127,76,212,236,16,43,81,245,171,58,216,227,242,
-171,99,194,110,151,48,110,34,203,83,108,163,71,18,194,229,229,132,168,177,
-139,30,79,112,180,232,238,28,226,138,62,231,67,199,209,65,151,235,139,83,
-46,243,130,222,94,155,193,245,0,156,162,221,141,57,61,30,208,104,59,206,
-47,34,100,55,32,43,12,227,254,57,163,66,240,248,225,1,82,129,41,83,164,
-142,136,163,112,163,157,118,19,151,104,25,206,216,52,68,92,7,199,44,171,
-233,216,214,115,240,126,21,109,243,169,177,43,118,159,172,204,40,109,137,
-41,37,136,8,129,199,90,112,66,221,112,19,211,14,36,119,250,217,42,197,131,
-195,253,105,191,93,79,148,52,17,82,86,17,46,4,66,116,232,181,7,56,41,65,
-8,118,247,14,16,81,3,233,53,61,111,56,61,187,68,168,6,161,18,140,174,47,
-40,149,166,17,9,178,210,162,172,161,112,33,143,30,61,228,248,197,107,206,
-175,134,24,169,121,242,244,128,139,227,75,6,131,9,221,40,228,236,244,2,
-99,28,165,181,156,93,94,35,109,73,154,13,144,201,46,223,255,206,39,119,
-154,13,191,79,66,98,221,102,11,235,194,235,117,92,190,85,185,95,235,82,
-92,62,72,203,177,106,167,89,69,56,25,99,238,212,140,207,138,144,102,133,
-72,214,89,198,197,144,204,102,132,58,34,152,2,218,65,118,205,100,50,198,
-122,203,94,107,127,229,78,53,35,248,244,130,193,56,15,159,60,161,52,6,37,
-21,141,221,157,41,127,24,209,108,53,217,221,59,228,114,152,211,109,4,4,
-62,39,21,77,218,161,227,203,231,231,116,143,30,209,234,143,42,194,16,232,
-238,63,226,241,227,35,204,228,130,115,99,113,210,226,172,97,50,25,211,123,
-240,140,221,168,228,139,151,39,96,75,58,123,61,70,147,20,199,221,78,220,
-117,115,153,214,177,221,235,48,73,93,110,165,142,162,108,167,199,174,193,
-28,117,204,239,178,157,170,40,138,59,9,115,51,126,35,138,34,164,148,100,
-69,202,117,118,69,20,84,93,6,243,50,175,202,84,131,128,97,54,192,58,199,
-39,187,159,189,45,84,222,99,173,67,168,27,75,81,215,239,190,219,244,161,
-170,48,244,206,226,167,77,228,138,162,68,233,128,209,104,68,179,17,50,30,
-142,176,34,162,211,105,82,102,67,70,131,140,87,47,94,97,181,71,202,136,
-72,107,188,43,200,157,64,120,193,179,239,125,194,229,241,9,143,159,125,
-70,184,129,117,120,95,96,189,201,231,223,69,169,22,29,99,107,57,214,156,
-164,117,38,214,123,79,81,20,20,69,65,187,221,190,211,203,234,198,76,123,
-134,233,144,235,241,0,107,45,15,247,30,208,73,58,244,39,253,187,223,229,
-45,131,81,78,210,8,73,71,19,226,118,135,64,58,140,169,216,107,37,69,237,
-223,91,37,64,78,159,83,55,255,106,20,133,120,239,233,117,219,120,239,233,
-238,236,204,149,79,55,218,36,141,54,123,135,59,124,245,226,13,157,118,155,
-87,191,248,35,94,247,75,190,251,131,31,146,8,8,149,70,138,155,30,91,117,
-114,169,214,249,253,155,238,226,235,210,226,235,150,9,215,113,157,63,120,
-158,163,174,249,93,180,179,204,44,198,172,3,137,148,114,222,108,193,218,
-138,33,47,93,193,32,29,128,247,36,97,68,90,78,144,170,129,188,215,228,204,
-153,140,211,179,11,14,31,30,144,103,41,86,106,26,177,226,250,226,146,214,
-222,3,146,160,126,209,79,157,88,254,124,28,244,189,247,74,169,121,246,201,
-199,120,87,114,217,136,217,215,187,60,126,112,56,237,200,40,216,219,223,
-171,10,162,86,16,115,235,4,112,29,22,88,245,158,186,233,38,239,187,182,
-245,28,27,236,20,139,82,33,164,148,36,73,50,103,197,223,142,170,56,202,
-41,67,30,232,128,86,43,193,58,71,97,83,28,55,131,105,4,150,34,171,154,46,
-228,121,129,119,150,139,147,99,198,173,38,148,134,235,254,21,180,155,132,
-97,64,145,231,4,97,72,145,102,168,48,68,43,85,13,214,196,147,167,211,174,
-37,186,170,33,55,165,65,79,59,186,175,155,220,244,118,169,176,226,193,147,
-207,56,36,162,17,222,212,160,183,58,237,121,214,203,50,14,163,78,183,250,
-77,139,204,54,229,90,222,197,42,108,35,85,183,148,99,147,118,150,139,94,
-159,1,114,173,245,60,175,106,70,6,90,175,17,214,99,92,142,80,142,188,200,
-185,30,57,84,0,161,80,85,101,224,140,15,49,57,163,81,138,4,210,209,4,101,
-29,113,18,145,13,135,148,133,37,44,13,163,209,144,70,164,201,115,71,183,
-221,228,252,228,148,176,221,165,21,105,118,15,15,192,148,164,105,134,178,
-142,204,149,132,113,147,108,112,193,249,117,193,131,163,61,116,24,17,133,
-122,169,127,255,150,11,41,36,221,222,222,98,171,195,250,44,216,77,67,186,
-155,88,156,101,150,102,83,140,179,173,0,172,17,202,173,227,23,223,7,232,
-179,168,212,162,78,237,66,84,237,58,181,212,228,182,32,140,28,19,95,50,
-72,51,218,58,64,58,9,211,70,210,222,123,202,60,103,146,103,20,105,70,81,
-90,194,32,226,193,225,46,253,34,103,50,49,60,126,248,144,243,151,47,184,
-184,190,166,115,240,144,244,186,207,121,255,10,53,41,49,157,144,137,135,
-150,48,92,244,83,122,187,77,174,47,79,145,173,35,194,226,146,231,95,30,
-211,104,181,232,72,197,112,48,160,217,106,19,40,24,79,70,132,113,19,133,
-33,140,26,228,227,1,103,103,231,20,50,226,233,71,143,80,53,240,194,186,
-188,169,77,5,183,46,32,94,229,90,213,105,2,177,74,217,182,149,128,247,106,
-200,215,249,182,139,78,214,44,108,59,195,23,65,16,220,41,126,82,82,211,
-12,58,148,62,195,209,167,221,148,72,101,144,186,160,116,158,134,236,33,
-102,32,91,69,244,246,31,210,41,70,12,135,99,210,44,229,205,241,25,82,105,
-26,77,207,249,201,25,94,43,172,151,116,186,109,210,172,207,206,225,3,146,
-48,162,211,14,57,57,189,196,55,99,10,83,144,77,52,147,225,144,171,161,224,
-163,189,152,86,187,197,241,155,23,148,195,132,175,143,7,236,61,56,32,33,
-231,242,234,146,100,231,1,137,157,112,153,11,142,66,197,213,112,76,30,70,
-60,58,218,39,45,50,194,184,193,224,252,132,214,222,35,156,201,145,82,224,
-188,32,137,195,218,59,236,50,130,173,238,48,203,77,187,137,108,130,117,
-254,105,96,151,63,211,161,220,58,39,100,21,96,156,1,240,32,8,222,250,156,
-243,142,188,156,112,153,189,198,78,25,242,82,140,9,104,208,11,31,208,77,
-14,152,53,99,155,145,129,249,100,76,154,102,12,243,146,164,217,34,162,170,
-243,104,116,58,52,180,64,132,13,228,228,140,23,39,35,90,59,61,14,246,118,
-121,249,243,159,162,119,31,162,138,33,215,253,148,40,214,156,15,39,28,29,
-236,34,172,192,22,87,156,156,231,60,121,184,195,197,249,37,227,52,231,232,
-81,143,235,137,195,158,95,81,54,122,236,232,156,76,54,121,252,201,99,162,
-124,204,241,217,9,173,163,39,216,171,231,28,103,17,135,173,0,221,236,209,
-108,52,105,134,96,145,116,154,9,89,150,145,52,91,179,51,69,54,28,240,230,
-252,138,70,187,195,225,222,206,218,180,145,58,179,208,235,70,189,182,128,
-251,27,182,28,117,235,11,234,180,149,121,75,0,156,167,52,22,111,98,132,
-247,224,61,173,176,69,43,236,146,4,237,91,199,188,185,208,113,163,73,212,
-104,208,113,32,100,213,52,180,209,238,85,33,84,65,53,102,32,220,167,61,
-42,169,122,18,10,14,14,31,32,146,22,210,105,250,87,125,70,163,17,58,104,
-19,105,197,224,234,152,66,71,180,98,193,48,43,81,174,164,32,226,227,143,
-158,240,245,151,175,17,7,251,228,185,229,232,7,223,231,244,249,87,188,57,
-57,65,247,47,56,185,234,211,42,67,246,91,33,73,146,112,126,250,146,50,74,
-217,107,53,121,157,94,99,84,204,167,143,246,185,56,61,163,12,59,124,239,
-179,71,12,70,35,198,151,151,156,93,93,35,7,99,186,173,152,178,48,180,59,
-157,149,109,56,215,185,61,117,137,189,77,148,96,59,155,99,67,203,177,46,
-63,231,246,253,217,8,130,251,77,221,102,9,136,206,57,134,217,128,139,201,
-57,129,14,137,84,136,199,51,74,71,36,65,131,189,214,30,81,88,5,94,40,0,
-0,32,0,73,68,65,84,16,215,222,9,23,89,44,79,85,170,59,27,98,230,169,20,
-240,197,243,47,208,141,61,122,173,136,193,249,107,198,162,205,78,228,248,
-233,23,111,16,90,160,100,196,15,190,247,144,215,207,223,96,203,148,243,
-179,1,189,143,158,144,72,24,247,71,92,93,92,145,244,122,28,62,56,68,217,
-28,213,57,194,92,159,49,49,57,195,243,75,100,210,37,144,37,121,97,8,148,
-38,77,83,68,97,208,187,77,68,89,96,189,198,169,144,239,61,233,241,230,205,
-25,251,31,61,99,167,33,201,173,166,213,8,24,141,50,146,70,131,48,80,107,
-107,197,55,177,52,239,106,37,182,138,177,68,57,222,213,76,231,121,62,199,
-24,183,71,133,37,73,213,172,173,40,115,206,199,103,24,12,173,176,77,105,
-74,28,30,173,36,39,131,99,118,226,61,30,245,30,191,125,193,189,131,91,77,
-155,235,176,247,247,95,171,6,205,168,41,67,62,155,216,36,166,92,140,98,
-48,28,210,108,68,140,71,99,46,79,79,152,136,144,94,232,57,57,57,135,198,
-30,73,121,205,117,154,115,244,201,119,105,185,9,175,6,134,142,40,185,204,
-82,236,36,227,224,233,47,209,228,154,63,250,252,152,79,158,125,135,242,
-234,21,105,38,8,180,160,180,99,82,43,81,58,230,163,61,205,23,191,248,18,
-177,251,17,225,112,64,235,225,3,118,27,33,111,206,251,236,30,61,228,233,
-163,253,218,194,186,110,28,221,186,115,178,233,88,137,173,114,80,63,109,
-224,254,251,138,162,152,91,136,178,44,9,195,16,107,45,113,28,163,148,34,
-205,39,92,165,23,196,81,194,40,29,115,57,188,194,88,195,199,135,31,145,
-155,140,180,152,240,221,253,31,32,102,51,249,188,101,48,206,73,146,144,
-201,112,68,171,219,67,73,79,89,24,164,14,222,98,200,235,236,184,235,148,
-189,82,36,139,67,160,166,161,105,164,66,73,193,243,47,62,71,52,119,57,104,
-135,188,60,185,164,215,140,120,121,114,70,187,217,37,72,186,196,126,192,
-235,55,87,32,28,215,227,148,157,157,29,38,167,47,201,69,204,119,126,233,
-123,140,78,78,200,140,67,73,195,69,38,56,108,38,40,97,72,135,35,46,179,
-140,230,206,99,126,235,215,191,87,187,85,206,55,153,14,255,62,249,91,31,
-20,207,177,73,248,240,254,9,179,214,146,101,25,89,150,209,237,118,231,220,
-71,85,38,235,166,88,194,210,159,244,113,214,16,42,205,32,187,166,155,180,
-41,202,108,90,219,81,181,17,181,101,202,235,55,167,60,124,242,128,241,104,
-76,212,238,161,164,99,208,239,19,119,247,105,70,235,187,125,44,243,219,
-87,205,3,23,74,87,67,161,189,71,223,10,42,124,244,233,103,120,95,185,138,
-159,125,210,68,8,193,238,254,193,124,244,89,54,214,224,11,126,241,243,159,
-50,18,251,28,133,10,253,248,35,90,161,226,243,159,253,130,70,179,141,42,
-83,10,41,137,130,24,21,195,213,201,144,48,10,121,250,236,49,113,216,124,
-235,188,174,234,137,91,151,196,132,250,157,72,182,179,1,215,0,242,247,9,
-231,221,230,53,110,167,130,148,101,57,173,223,54,148,174,26,165,28,6,1,
-189,118,155,210,91,50,59,70,136,89,148,170,66,11,121,154,99,109,73,150,
-229,224,45,95,252,236,167,124,244,244,49,121,158,49,190,184,192,117,155,
-196,81,72,158,229,85,139,207,73,74,187,219,185,245,91,168,138,146,130,106,
-200,166,16,245,218,229,44,7,172,114,158,159,53,195,52,98,150,5,0,36,205,
-38,182,72,104,247,122,236,238,124,194,211,71,123,4,10,148,20,60,250,232,
-41,39,151,67,18,82,46,250,35,154,157,46,229,120,192,131,103,159,209,11,
-225,203,231,39,136,163,164,22,192,126,151,4,196,77,230,142,47,179,182,31,
-178,130,44,204,202,221,100,23,201,178,108,254,90,89,150,243,190,85,51,183,
-106,52,25,112,85,156,130,178,156,94,94,227,45,196,81,136,10,5,97,32,48,
-165,229,59,59,191,138,210,10,92,193,233,235,99,174,198,41,65,148,160,172,
-193,8,79,105,65,90,195,36,77,137,154,109,154,113,64,154,89,118,187,77,222,
-188,124,69,212,217,229,233,227,35,116,20,66,89,112,125,61,68,197,49,216,
-156,168,217,33,237,159,34,227,29,180,116,232,48,33,142,244,74,193,218,68,
-24,103,255,251,160,127,73,152,116,136,166,41,38,119,163,117,14,231,61,74,
-86,99,223,188,168,218,138,150,101,137,16,114,154,246,178,254,119,212,253,
-109,239,146,205,251,161,19,126,107,73,192,186,45,91,238,55,116,171,46,178,
-120,171,193,2,128,214,1,178,132,220,101,168,192,51,46,114,38,163,9,237,
-110,128,80,138,155,138,8,143,41,38,12,71,3,138,220,144,23,134,48,76,120,
-244,228,144,254,203,215,156,13,115,14,30,30,48,190,186,226,248,242,130,
-157,163,39,140,47,46,57,187,186,68,77,44,129,43,104,31,29,225,71,125,78,
-47,83,246,246,91,92,156,190,68,116,30,211,40,206,249,255,126,242,15,248,
-213,223,252,45,118,122,146,243,179,115,186,59,59,68,26,6,215,87,68,173,
-46,129,47,137,26,109,210,193,37,175,95,189,33,83,9,63,248,238,103,168,233,
-140,244,34,203,9,167,35,221,22,185,38,157,222,238,242,29,72,74,102,226,
-47,111,101,7,47,226,132,22,9,107,93,224,188,46,204,254,77,118,77,252,224,
-48,199,38,233,215,179,251,179,124,170,89,164,106,198,152,207,62,31,5,49,
-97,25,147,150,125,194,200,224,132,199,56,135,14,74,74,151,211,80,59,211,
-100,69,79,81,24,130,164,205,81,79,51,24,140,72,179,148,227,55,103,160,20,
-94,64,179,221,198,142,7,92,15,37,59,187,61,38,175,47,232,30,60,160,17,37,
-52,119,154,156,93,92,146,144,145,151,57,147,145,98,60,28,114,49,120,195,
-167,135,77,122,59,59,188,126,249,21,121,63,225,203,55,3,246,30,30,208,240,
-25,231,151,23,36,123,143,104,150,67,78,51,201,147,56,160,63,74,41,19,75,
-158,165,228,147,17,113,187,203,245,241,11,198,178,195,97,183,129,14,20,
-214,9,218,173,100,33,89,119,95,224,202,34,199,163,238,212,158,111,210,225,
-165,110,74,123,29,220,181,37,9,55,84,142,119,157,48,122,187,219,200,44,
-156,59,219,13,111,43,80,59,220,197,186,130,145,56,65,107,141,247,21,80,
-215,180,232,133,71,243,244,145,32,106,177,127,216,34,137,2,90,141,17,163,
-209,152,126,90,208,238,237,114,216,203,248,252,139,175,72,154,9,189,189,
-30,82,8,218,221,54,151,167,99,226,102,76,179,221,227,236,249,115,242,157,
-3,58,45,184,56,31,16,55,246,9,134,41,94,68,236,238,63,194,230,231,188,60,
-190,230,147,199,251,156,188,121,205,155,113,206,211,79,15,185,28,244,185,
-62,190,192,180,247,40,218,130,161,21,124,250,228,49,215,47,95,242,245,235,
-87,116,30,127,6,253,215,188,154,156,243,34,187,98,239,233,247,217,237,246,
-40,38,215,148,40,14,119,187,12,6,3,124,144,208,136,20,97,24,49,188,56,225,
-243,231,175,104,239,28,208,75,20,153,79,120,242,96,103,229,57,174,219,252,
-160,174,160,215,137,80,189,107,186,253,7,7,200,235,70,124,234,54,40,158,
-189,55,210,9,189,232,33,102,98,41,108,142,199,17,170,136,118,184,75,43,
-234,205,62,65,16,197,243,174,131,141,78,151,70,167,203,190,247,211,102,
-207,61,126,99,247,136,139,193,144,56,80,232,32,36,136,14,104,92,79,40,139,
-170,105,219,209,195,39,12,172,38,214,130,43,209,103,146,150,68,73,135,36,
-80,244,207,95,145,6,49,141,168,164,221,105,113,246,202,96,68,194,39,159,
-124,140,253,217,215,200,71,71,76,198,5,173,7,159,240,253,94,159,159,125,
-249,28,125,117,198,241,101,159,145,111,113,212,107,176,179,211,197,143,
-60,131,171,115,178,126,159,108,210,199,232,152,242,201,1,167,111,142,41,
-130,46,251,237,128,179,209,136,94,20,50,152,100,140,70,95,145,237,238,163,
-99,65,255,226,12,35,66,118,119,58,55,149,243,75,250,92,213,13,144,108,26,
-218,221,116,194,212,22,144,127,3,107,214,109,61,12,239,22,142,58,239,24,
-166,3,178,50,99,152,15,145,162,154,111,97,157,165,25,181,216,109,237,17,
-223,99,200,87,41,29,211,57,30,55,175,185,249,128,204,217,69,204,38,19,38,
-147,33,215,215,87,168,198,1,123,157,136,254,233,11,198,162,199,94,226,248,
-163,159,188,128,80,18,200,152,95,254,225,99,94,124,249,146,34,31,113,122,
-122,205,206,147,39,132,56,138,65,202,249,249,5,205,253,125,30,63,121,140,
-200,199,136,238,3,204,213,9,50,146,188,250,234,57,97,231,1,145,204,184,
-28,140,233,180,58,164,195,107,202,81,129,222,235,160,112,124,250,189,95,
-130,193,107,126,241,106,196,222,97,155,244,252,148,177,106,240,207,253,
-214,111,16,171,247,3,213,223,84,25,236,214,82,108,8,200,235,92,144,219,
-17,42,107,237,188,36,118,214,96,33,8,2,132,16,24,83,114,157,245,153,148,
-19,90,81,139,80,87,77,156,175,38,23,28,143,95,99,189,229,163,221,143,215,
-132,83,111,115,48,55,221,9,111,43,203,237,207,197,141,6,113,35,97,103,239,
-112,254,124,227,147,31,128,168,114,180,254,252,225,67,132,144,92,245,7,
-196,113,196,163,143,62,226,226,244,13,186,115,200,78,236,121,245,250,20,
-209,61,224,105,44,56,185,30,82,32,217,107,4,124,254,250,5,123,129,227,213,
-229,0,47,66,246,31,60,36,49,87,188,60,25,242,240,163,35,2,87,82,36,61,40,
-198,140,138,170,192,170,179,179,199,79,127,114,204,165,202,104,181,15,8,
-38,35,114,227,136,149,170,29,134,93,199,55,45,99,200,235,54,162,94,229,
-54,111,121,142,154,59,207,162,93,102,102,49,42,44,225,231,185,86,179,170,
-192,210,26,192,179,223,222,199,59,24,102,35,172,179,236,53,247,209,74,115,
-157,95,241,196,127,244,182,64,120,71,94,148,232,32,68,138,245,51,182,23,
-92,238,59,22,230,238,111,175,34,100,59,189,138,31,9,119,35,122,59,55,120,
-224,241,199,223,97,246,225,246,151,95,64,35,161,211,233,112,228,47,233,
-53,99,114,165,104,54,186,236,116,98,180,219,225,241,193,128,254,155,207,
-57,31,102,28,236,239,50,25,95,80,18,242,249,207,126,66,236,74,130,86,76,
-62,25,243,240,211,35,90,3,121,167,113,246,50,64,95,71,56,235,164,182,215,
-169,126,92,244,184,78,112,230,131,81,142,247,153,36,36,165,68,41,53,183,
-30,119,27,44,184,105,157,184,229,114,212,231,98,80,165,143,132,65,64,39,
-233,80,152,124,158,143,37,132,192,230,3,78,251,57,189,157,14,195,203,43,
-218,7,71,36,122,195,201,169,206,144,21,158,56,14,214,70,108,22,178,200,
-242,102,218,236,199,159,61,171,132,86,8,158,61,109,1,130,189,253,195,91,
-194,156,240,221,103,3,254,223,255,231,231,148,193,19,118,119,123,236,237,
-247,104,5,138,175,95,157,16,118,15,248,206,227,29,94,124,241,130,227,95,
-252,35,174,51,203,131,103,223,173,21,165,218,196,162,47,2,236,239,147,100,
-184,45,118,90,98,57,54,245,101,103,233,35,51,204,241,118,131,133,138,33,
-31,102,67,180,84,180,147,38,153,153,16,104,113,167,193,2,120,178,180,74,
-31,9,146,144,34,207,56,61,62,161,219,233,208,110,197,92,95,92,160,147,38,
-113,84,77,141,82,82,146,101,19,74,35,16,229,144,175,94,159,209,104,245,
-56,218,111,113,118,89,242,248,241,1,161,90,157,217,187,81,149,29,51,131,
-114,215,165,137,155,123,252,202,159,251,231,233,23,17,79,31,237,18,170,
-234,184,15,159,124,60,255,142,246,47,73,254,143,255,253,167,12,68,143,64,
-174,87,214,101,238,83,221,29,191,174,23,176,206,82,108,45,7,188,87,171,
-150,25,183,49,235,182,126,255,253,14,67,225,10,74,151,19,169,136,86,51,
-194,120,75,106,199,88,95,220,8,129,43,24,94,79,136,67,85,41,91,89,114,113,
-113,197,96,52,102,111,39,225,244,235,55,232,94,143,78,18,209,221,221,163,
-156,140,152,12,207,57,62,27,163,132,35,247,158,225,96,64,145,239,82,152,
-132,221,201,128,203,180,224,193,225,254,70,124,192,58,127,253,254,107,97,
-220,230,240,65,155,195,85,66,174,19,254,220,111,253,121,162,70,123,229,
-224,155,85,209,193,58,174,215,58,238,100,211,230,12,91,203,177,1,0,127,
-59,122,84,89,142,40,138,80,74,205,155,188,105,173,81,74,17,250,16,97,60,
-185,155,160,2,199,104,52,33,55,57,97,67,209,72,52,214,219,121,13,185,205,
-71,92,15,250,100,153,33,77,11,186,205,38,135,15,15,184,62,187,228,229,87,
-87,236,236,237,145,142,174,121,121,126,69,220,238,50,186,30,144,141,71,
-92,156,159,33,227,54,63,254,245,95,131,235,55,188,124,113,129,234,57,222,
-252,226,156,175,47,198,28,127,252,140,95,249,206,35,36,22,112,8,239,240,
-216,106,244,128,247,8,196,20,7,76,119,79,39,16,40,60,18,33,102,44,254,102,
-173,112,238,159,43,169,66,14,31,28,109,236,78,189,79,135,194,77,91,24,109,
-35,86,53,149,99,93,53,218,236,245,89,84,234,118,234,250,140,53,7,8,84,64,
-164,98,210,242,138,40,182,24,10,70,3,79,175,21,82,56,129,20,193,188,233,
-91,145,151,232,184,201,131,110,192,245,112,204,40,43,217,57,218,97,18,72,
-220,200,210,108,183,241,233,136,126,158,82,230,57,121,81,146,116,15,121,
-228,19,156,247,4,81,66,163,183,203,201,151,103,92,245,47,184,182,130,110,
-67,50,25,156,145,229,141,42,163,215,87,10,130,179,149,163,36,238,253,207,
-76,103,11,74,5,78,128,212,120,7,8,141,16,33,8,205,44,229,101,93,35,131,
-202,173,116,211,196,74,55,119,53,141,169,48,153,113,6,225,193,241,118,64,
-65,138,106,58,162,150,26,33,64,7,122,218,176,226,38,119,235,118,43,164,
-85,130,94,119,222,224,86,65,86,0,242,85,101,155,203,128,154,148,178,154,
-178,164,245,188,158,227,246,142,167,164,166,19,237,81,186,20,203,49,157,
-166,66,170,2,169,51,140,133,174,190,105,176,160,162,54,135,15,59,180,27,
-1,221,235,1,253,254,53,95,124,241,146,164,219,229,201,211,38,175,191,248,
-2,209,108,113,244,96,151,87,207,191,36,55,240,89,59,198,165,215,200,184,
-205,100,50,34,31,92,96,180,197,230,3,84,178,203,195,67,77,127,156,131,31,
-129,99,90,68,229,16,88,112,126,214,95,231,230,127,242,85,89,46,94,33,188,
-4,39,17,72,112,26,47,50,4,1,94,40,132,136,240,232,59,66,55,139,220,85,205,
-181,61,69,81,50,153,140,25,143,199,228,121,206,100,50,33,77,83,242,60,199,
-24,67,154,166,72,41,240,30,38,147,241,156,175,105,181,90,56,95,53,232,142,
-162,152,48,12,137,162,136,36,73,104,52,26,68,81,68,171,217,164,209,72,238,
-76,212,154,41,203,251,12,222,220,242,30,75,72,192,119,37,133,102,17,170,
-219,36,224,253,99,101,229,152,235,226,24,99,75,140,51,12,236,9,13,217,99,
-63,126,74,175,113,176,20,8,190,126,115,66,212,106,211,73,20,199,47,222,
-32,155,93,118,59,17,207,191,250,10,175,155,60,125,216,227,236,205,11,174,
-134,5,167,151,151,116,26,1,251,71,109,38,87,125,138,98,204,48,237,19,117,
-31,240,227,31,126,68,35,112,149,114,76,173,71,245,29,247,255,151,153,128,
-72,16,170,170,70,244,26,164,4,31,84,22,69,4,56,31,96,141,167,180,33,206,
-9,70,163,17,151,151,87,244,251,125,174,174,46,25,12,6,228,121,78,16,132,
-104,93,241,62,113,28,211,106,181,230,66,62,219,72,58,157,206,60,32,81,133,
-160,5,215,215,215,243,98,178,153,82,141,70,35,178,44,163,44,75,140,177,
-20,101,65,20,69,116,218,109,246,246,247,233,118,186,236,236,236,208,110,
-183,16,74,17,40,141,14,244,124,110,251,251,144,142,91,229,120,143,38,194,
-139,24,242,251,39,220,217,170,90,176,44,75,26,141,6,153,29,17,233,38,74,
-170,91,187,175,35,203,10,164,82,243,6,208,141,70,130,247,246,158,32,203,
-91,156,133,1,159,241,245,151,159,163,227,144,221,94,72,49,186,228,236,213,
-207,249,135,95,158,242,228,187,223,231,199,207,142,136,164,157,42,134,173,
-148,4,255,54,231,48,227,72,164,4,212,84,65,52,160,176,14,138,18,156,87,
-140,198,25,167,103,215,28,31,159,115,126,49,164,52,18,173,227,138,15,57,
-58,228,232,232,136,86,171,65,179,217,36,138,162,183,112,203,251,174,60,
-207,153,140,199,12,71,35,78,78,78,56,57,57,97,48,24,80,20,5,74,42,118,118,
-119,121,248,240,33,71,71,15,232,116,58,40,45,9,131,128,32,8,182,205,162,
-55,85,142,77,173,198,162,106,192,89,223,170,85,159,53,165,161,52,37,73,
-146,188,117,172,162,40,184,234,143,24,79,74,194,48,64,74,65,150,166,36,
-137,226,225,131,54,248,233,110,47,85,37,184,8,240,6,40,240,54,3,10,4,5,
-248,18,151,95,115,118,242,146,243,97,201,225,195,67,118,155,26,133,197,
-123,51,45,176,114,149,168,206,89,247,74,41,166,116,251,84,144,37,165,245,
-56,11,198,194,101,127,200,233,217,37,175,95,159,145,230,134,36,105,179,
-119,240,136,167,79,191,75,111,247,136,102,107,23,230,125,215,167,216,198,
-219,169,78,200,169,23,171,191,81,37,185,191,42,11,118,201,231,159,127,206,
-241,241,49,131,193,128,36,73,248,232,227,167,124,244,228,9,251,251,7,132,
-161,38,12,195,133,41,243,91,11,178,68,57,22,69,89,234,70,55,238,91,142,
-101,202,118,219,114,220,81,26,99,185,188,26,48,24,100,4,97,136,0,242,194,
-144,101,99,148,76,121,250,81,131,102,60,245,247,101,52,229,26,236,84,57,
-74,132,47,192,23,224,42,229,240,46,163,200,199,56,231,8,3,137,194,78,45,
-76,101,53,188,155,90,34,239,241,184,10,107,136,106,8,142,181,14,99,29,214,
-11,70,163,148,215,111,142,57,62,57,163,52,158,221,189,35,62,254,228,25,
-251,251,15,73,154,93,16,33,200,168,82,10,17,130,12,97,150,62,233,139,233,
-239,179,83,197,139,171,191,90,131,11,190,57,101,121,245,234,21,63,249,201,
-79,120,245,234,21,58,8,248,244,211,207,120,246,236,25,251,123,187,40,173,
-137,167,145,198,109,174,85,13,203,81,199,98,220,127,255,44,109,36,12,195,
-165,85,108,179,92,172,153,114,220,62,198,100,146,242,250,184,143,82,154,
-70,35,34,207,75,94,191,57,69,105,195,78,43,71,113,201,39,79,143,16,170,
-129,247,106,218,152,164,106,140,32,176,120,87,50,184,58,1,173,104,197,18,
-229,202,74,25,220,45,1,181,102,170,32,83,236,49,31,244,236,1,137,41,11,
-172,243,24,235,56,59,191,224,229,203,215,12,70,19,246,15,142,248,248,233,
-103,28,28,62,68,233,184,114,179,228,84,17,102,202,49,139,100,77,93,48,132,
-158,126,79,54,253,179,32,123,32,187,32,146,117,81,244,63,150,101,140,225,
-139,47,190,224,143,254,232,143,248,250,235,175,233,245,118,248,209,47,255,
-50,159,124,242,148,36,73,8,131,96,234,2,110,221,173,183,48,199,38,38,246,
-190,146,220,86,142,85,199,153,41,71,20,69,119,34,94,215,131,17,175,223,
-244,209,65,72,24,104,210,44,231,249,243,215,180,219,150,195,94,137,181,
-103,60,123,122,128,210,211,80,170,16,224,10,62,255,217,231,196,157,3,14,
-15,90,252,147,191,255,127,19,238,125,204,119,31,247,80,148,224,10,132,171,
-44,11,174,196,187,202,205,17,83,229,240,56,4,55,211,169,138,178,228,205,
-155,99,222,188,57,70,42,205,147,143,158,242,248,201,199,132,81,12,50,152,
-42,69,112,75,49,130,91,183,1,200,89,152,247,86,120,213,149,149,5,1,80,61,
-80,251,32,90,83,235,241,39,39,120,147,201,132,63,252,195,63,228,31,252,
-193,31,96,74,195,47,253,232,151,248,209,143,126,68,179,213,34,12,66,26,
-73,188,29,94,115,127,151,168,155,155,179,172,225,240,162,214,149,139,216,
-231,25,47,2,85,185,168,53,22,231,44,69,97,112,214,145,23,6,132,171,238,
-27,16,86,227,125,9,118,82,185,65,66,146,14,142,249,199,255,232,247,57,252,
-244,71,236,246,142,56,121,254,11,186,66,50,238,90,26,170,96,50,26,208,105,
-55,167,150,197,32,188,5,103,184,190,124,67,225,67,58,205,136,34,203,16,
-74,113,242,230,53,199,39,167,36,73,131,31,125,255,41,251,7,135,83,48,94,
-224,141,157,90,5,53,85,140,224,230,86,133,213,243,94,85,81,173,41,86,97,
-218,88,174,186,31,128,136,240,78,84,22,76,78,241,200,159,160,114,52,26,
-13,126,251,183,127,155,223,254,237,223,230,103,63,255,25,127,247,239,254,
-95,252,225,31,252,1,191,242,171,191,202,143,127,252,99,242,188,73,28,135,
-196,83,75,178,37,1,89,159,115,179,140,100,90,180,203,172,106,125,121,191,
-247,85,81,228,88,235,112,222,96,141,164,40,12,198,120,156,23,20,133,68,
-11,53,21,168,2,65,78,57,185,228,236,213,11,58,45,143,182,3,76,234,17,145,
-199,12,94,240,245,87,99,246,226,156,235,171,75,142,163,54,159,62,236,48,
-78,83,98,5,165,41,57,251,250,231,116,142,158,96,85,196,197,241,9,23,87,
-151,196,81,200,47,127,255,19,186,221,46,94,72,108,54,168,194,184,42,152,
-90,170,153,213,8,170,231,212,244,190,155,222,119,114,142,233,111,238,104,
-144,17,30,121,131,75,188,196,91,119,131,67,120,223,114,154,119,83,176,89,
-153,129,16,130,239,125,247,123,124,239,187,223,227,235,175,190,226,255,
-252,59,127,135,127,240,247,255,62,191,241,155,191,201,175,253,218,175,147,
-134,17,205,70,60,119,183,182,110,21,235,139,98,238,39,195,205,0,249,253,
-147,120,223,146,24,99,22,2,242,209,120,194,151,95,157,81,20,30,47,42,255,
-120,52,26,210,109,7,72,57,38,148,23,252,240,187,13,52,3,188,191,230,234,
-245,207,248,226,235,215,40,4,50,217,227,104,71,240,230,50,39,46,135,92,
-14,11,154,177,160,219,8,120,241,226,156,157,134,3,21,211,139,29,113,179,
-77,187,25,49,28,12,121,241,252,57,129,146,124,252,236,25,221,86,3,103,61,
-110,94,46,82,177,227,200,41,142,144,26,47,244,84,49,166,183,114,118,59,
-229,67,132,191,177,8,50,2,17,227,105,128,236,225,229,62,94,116,42,11,226,
-111,129,246,63,45,130,48,237,7,160,181,230,39,63,249,9,127,251,111,255,
-109,242,188,224,95,252,157,223,225,147,79,63,67,107,77,167,221,68,45,24,
-90,250,173,183,28,117,154,23,215,153,223,176,170,73,242,170,78,132,97,24,
-160,181,98,146,21,211,215,4,73,146,96,93,137,247,37,50,16,21,8,247,14,151,
-245,57,190,24,16,119,18,236,245,25,88,207,176,95,144,132,93,52,37,157,36,
-197,185,144,70,164,104,198,37,101,62,97,111,191,65,175,149,160,132,227,
-249,231,255,132,201,104,200,147,7,143,216,223,223,131,72,99,38,213,72,54,
-188,152,82,18,18,63,195,17,66,84,86,66,71,83,161,214,224,37,232,41,248,
-246,18,230,209,95,85,89,11,87,165,185,123,145,224,189,192,227,240,94,0,
-106,122,235,255,248,175,174,223,236,13,214,90,242,60,231,217,179,103,252,
-238,239,254,46,127,239,239,253,61,254,215,255,229,127,230,227,143,159,242,
-47,253,165,191,132,177,37,205,164,65,35,137,63,108,18,112,147,136,197,237,
-212,137,69,150,227,182,178,44,139,86,121,239,25,12,39,252,236,243,99,202,
-178,106,244,230,177,8,63,34,80,3,14,118,45,159,124,20,32,220,21,54,125,
-69,127,112,65,167,215,228,242,197,207,25,77,82,164,157,80,120,69,168,66,
-58,173,128,179,55,231,4,82,208,74,34,148,177,116,219,109,174,47,47,120,
-253,226,107,90,173,132,39,15,30,160,181,194,57,139,104,118,241,249,24,140,
-97,46,229,74,130,8,240,168,74,9,148,134,32,0,29,86,10,160,53,72,49,237,
-140,50,251,76,0,58,6,17,226,189,6,217,198,203,93,188,236,225,197,14,158,
-54,158,46,254,143,153,235,88,165,28,254,142,51,182,248,13,126,122,205,227,
-56,102,48,184,230,247,126,239,247,248,252,243,207,249,215,255,141,127,147,
-31,252,240,135,72,41,232,181,219,111,229,117,125,43,149,163,78,189,242,
-125,12,113,95,248,103,17,159,117,190,233,50,158,99,246,29,131,225,152,47,
-191,186,192,88,7,126,130,146,19,218,205,146,195,61,71,187,81,32,252,0,111,
-250,8,119,5,118,12,66,144,142,7,248,252,138,178,204,209,50,32,9,5,131,171,
-62,88,73,67,7,96,61,167,175,95,50,184,188,228,193,209,30,221,118,11,111,
-202,234,59,189,67,118,142,240,217,16,138,201,212,61,18,32,20,94,168,169,
-82,132,83,193,87,160,36,94,41,8,166,202,49,19,144,32,65,132,29,60,18,239,
-4,94,52,241,178,139,23,189,169,114,116,240,116,170,91,31,191,23,94,120,
-7,19,177,244,19,126,17,130,241,243,36,101,148,82,68,81,200,239,255,254,
-239,243,123,191,247,63,241,235,191,254,27,252,206,191,242,47,35,149,164,
-215,106,125,171,177,200,91,152,99,221,152,179,101,86,102,19,229,40,138,
-130,102,179,249,214,229,42,10,67,255,122,68,191,63,6,97,144,98,140,242,
-41,187,59,208,106,88,148,24,130,27,129,29,128,61,7,51,2,210,42,90,228,12,
-100,231,96,82,188,53,216,18,124,110,177,198,115,252,242,5,148,37,15,15,
-247,209,30,124,89,13,227,20,211,20,18,177,255,20,38,215,248,209,85,37,236,
-82,225,189,188,101,45,42,5,241,90,87,10,162,221,148,160,159,186,91,97,19,
-17,237,226,189,196,59,83,185,82,170,135,163,131,151,109,188,232,226,69,
-27,71,11,79,19,79,147,111,150,41,247,239,253,9,191,226,13,2,136,227,152,
-179,211,51,254,251,255,225,191,67,235,128,127,235,223,254,43,36,73,66,171,
-217,164,117,111,163,251,214,89,142,85,238,83,29,130,240,125,149,195,90,
-203,217,249,53,151,87,99,162,40,66,50,66,203,140,44,191,34,82,41,251,187,
-138,70,92,226,205,16,225,175,161,188,6,123,13,110,0,62,7,221,1,91,64,250,
-10,155,13,241,165,160,204,75,78,95,191,33,209,33,187,157,14,194,150,248,
-188,172,200,64,91,229,89,9,33,17,71,63,196,167,151,112,245,186,138,44,169,
-169,139,164,84,245,23,132,248,32,172,238,135,106,250,186,169,240,72,220,
-69,52,158,224,189,197,21,99,156,139,241,186,131,87,29,156,232,86,22,68,
-180,112,162,141,167,133,167,129,23,141,169,130,124,83,184,67,212,247,167,
-22,126,210,223,121,217,223,63,236,244,137,64,87,121,89,127,243,111,254,
-143,124,249,229,151,252,59,255,238,95,101,255,96,159,40,12,233,117,58,223,
-78,64,190,188,73,193,122,139,241,46,105,6,139,220,179,44,43,184,190,158,
-16,4,33,141,134,36,207,12,227,116,72,153,79,176,114,194,149,43,105,60,76,
-16,222,128,155,178,219,222,225,140,1,147,34,76,10,209,62,62,120,8,133,165,
-44,207,57,63,121,69,175,217,164,149,132,80,12,161,52,8,107,192,150,136,
-210,86,105,79,74,85,117,26,94,226,139,188,154,60,21,72,112,217,148,168,
-83,32,74,16,89,197,109,24,81,89,21,17,35,146,54,34,121,140,47,83,92,126,
-61,181,54,65,53,11,68,56,188,48,120,97,112,24,156,40,240,34,195,11,9,94,
-226,80,223,120,196,202,175,82,25,191,226,3,226,174,106,248,37,168,196,230,
-25,74,42,254,242,95,254,43,252,173,191,245,191,241,95,252,231,255,25,255,
-222,191,255,31,240,228,227,143,232,247,251,244,122,189,111,103,180,170,
-110,253,112,221,74,180,58,5,252,183,223,83,148,134,162,180,4,66,147,165,
-35,242,108,194,87,95,191,162,215,130,189,29,201,120,50,198,25,129,240,5,
-194,149,96,74,76,62,97,208,191,66,249,33,161,118,132,113,134,104,61,195,
-70,143,25,157,157,176,219,107,144,8,135,47,7,149,82,24,3,198,67,89,209,
-12,194,78,79,129,72,16,34,174,94,163,170,247,192,3,190,132,176,226,56,132,
-210,120,35,241,132,8,221,129,100,31,209,252,20,111,134,248,236,53,88,15,
-170,93,177,240,194,226,125,137,39,199,203,0,79,126,43,220,91,41,134,71,
-86,96,255,150,32,251,13,236,132,175,165,44,126,177,166,188,213,253,68,44,
-80,5,191,240,237,165,45,49,153,229,47,253,171,255,26,73,163,193,127,251,
-55,254,6,127,245,175,253,181,169,130,92,211,235,117,191,189,36,224,178,
-40,213,170,124,169,117,214,102,209,241,203,178,188,243,94,107,12,206,89,
-242,108,2,46,163,44,82,148,176,56,91,226,141,198,154,28,103,66,180,168,
-118,254,114,124,205,229,197,27,60,142,88,26,132,180,248,236,26,83,254,156,
-50,250,148,222,71,191,137,26,252,20,134,207,145,110,0,165,1,43,171,63,47,
-241,78,85,197,78,40,208,45,16,227,74,10,166,68,135,192,131,116,96,138,74,
-60,164,4,17,65,210,68,180,31,65,231,7,248,242,26,63,124,142,55,35,144,49,
-30,139,151,224,189,193,75,131,159,41,137,40,240,104,60,26,39,3,188,200,
-167,185,87,197,52,114,117,91,0,197,38,34,127,239,149,69,238,213,108,82,
-150,95,225,94,249,121,53,226,91,214,199,223,141,98,85,15,75,70,198,240,
-47,252,133,191,64,89,150,252,55,255,213,95,231,63,252,221,255,136,71,143,
-31,127,171,20,100,97,59,208,247,233,215,90,167,139,133,247,158,60,207,239,
-124,174,40,10,172,173,24,240,60,79,49,101,138,183,57,206,90,178,73,134,
-150,211,140,91,81,128,53,244,207,79,184,26,166,60,125,184,131,198,129,73,
-177,217,144,203,139,231,244,30,26,244,225,63,3,42,2,103,17,101,14,126,8,
-206,226,141,7,227,16,206,85,172,182,12,33,104,86,160,90,134,96,82,192,84,
-22,68,122,16,30,225,108,229,2,133,29,68,251,59,208,253,49,190,188,192,95,
-255,20,159,143,240,132,120,93,213,151,120,97,240,210,226,101,137,23,57,
-78,40,188,10,112,62,199,75,141,183,26,39,53,136,2,231,117,101,61,196,154,
-240,234,42,247,201,175,82,27,191,62,60,53,87,10,191,252,187,238,25,160,
-217,245,31,15,71,252,197,191,240,23,25,14,134,252,215,127,253,191,228,63,
-254,79,254,83,186,221,14,244,7,244,122,157,111,143,114,172,234,192,241,
-46,221,42,214,149,106,206,138,110,230,63,36,208,128,199,152,202,55,119,
-182,32,12,5,173,134,170,118,88,91,76,147,248,42,203,209,191,188,68,55,90,
-20,131,43,84,18,130,245,156,189,57,166,17,121,162,252,53,244,255,17,98,
-231,159,133,189,4,124,12,230,23,80,92,86,249,85,162,178,26,179,153,129,
-232,22,196,105,197,87,184,18,166,211,107,177,182,218,58,195,6,52,31,33,
-246,126,4,59,63,198,23,111,224,242,31,66,118,81,157,66,25,76,107,168,12,
-168,178,178,28,182,152,135,130,61,25,94,40,188,207,113,66,131,215,56,20,
-14,141,35,0,241,255,115,247,166,65,146,93,215,157,223,239,222,183,229,94,
-89,251,210,59,208,232,110,0,13,16,27,1,80,0,23,16,36,72,145,212,104,22,
-74,28,59,52,51,226,104,56,182,71,150,60,138,113,76,140,253,9,161,239,142,
-249,96,135,195,33,123,36,81,203,136,164,36,146,226,34,139,132,40,74,36,
-118,18,0,1,52,186,209,123,87,119,215,190,229,158,249,150,123,175,63,220,
-151,89,89,213,89,213,213,164,199,70,171,16,15,85,149,249,222,235,172,204,
-251,191,231,156,255,57,231,127,228,79,197,91,153,155,96,73,236,224,26,13,
-72,120,12,184,161,184,1,114,102,155,69,209,198,208,110,183,249,244,167,
-63,195,202,242,50,255,251,255,246,191,242,63,254,251,127,143,86,26,207,
-115,201,231,111,111,22,75,222,44,112,222,211,135,52,32,152,223,110,93,182,
-223,171,219,23,221,61,242,185,44,129,7,90,71,104,21,33,76,66,33,231,98,
-116,140,82,33,142,72,144,105,117,45,58,70,133,77,164,10,241,188,12,82,27,
-214,22,150,144,26,74,89,31,154,43,176,126,26,42,167,32,123,8,38,62,2,163,
-15,64,97,166,103,77,64,33,208,182,112,208,203,130,151,71,56,30,34,157,75,
-136,73,44,85,155,41,67,249,24,76,60,1,99,31,132,104,3,86,127,12,245,89,
-232,52,32,214,182,19,42,177,96,51,74,99,84,98,129,162,19,140,142,54,43,
-115,141,253,110,140,205,250,67,156,246,158,232,159,254,48,59,31,218,152,
-155,31,58,61,84,223,207,218,160,180,70,105,133,210,58,237,137,183,69,160,
-221,35,209,26,173,21,113,146,208,233,180,249,220,63,253,167,68,81,200,87,
-190,244,37,60,223,103,189,90,33,142,147,191,63,1,249,94,3,234,189,142,44,
-216,238,102,237,246,229,251,62,197,162,67,171,149,160,85,140,52,9,50,141,
-57,28,29,147,43,56,8,52,70,71,8,149,48,58,92,198,243,61,60,33,169,174,45,
-209,168,84,216,63,85,130,184,3,73,7,17,119,128,211,182,127,98,244,9,152,
-42,88,11,33,223,129,245,121,104,181,236,94,232,250,224,230,192,11,109,121,
-136,176,137,65,28,23,10,99,48,126,20,198,31,132,161,251,160,115,25,86,126,
-140,168,94,196,36,109,132,44,33,76,130,209,182,218,23,225,89,203,33,67,
-140,116,108,60,33,60,140,176,189,37,134,216,186,93,196,24,153,160,117,140,
-33,66,167,31,131,216,91,200,177,199,192,221,236,241,154,193,177,136,217,
-246,127,49,192,75,179,110,36,232,196,54,185,253,202,175,252,115,254,227,
-127,252,95,56,121,223,125,60,244,240,35,172,109,108,48,49,54,122,219,102,
-210,221,189,90,134,159,69,46,116,47,86,200,117,37,99,35,121,140,206,81,
-221,104,97,52,72,163,113,92,65,206,247,24,46,154,180,15,195,238,200,165,
-161,97,76,212,33,110,55,88,186,126,157,241,225,60,174,6,226,24,161,141,
-109,135,141,231,193,188,13,110,25,70,63,0,78,1,100,1,56,5,58,221,249,221,
-76,10,142,24,188,52,71,227,230,96,104,26,38,79,192,196,3,48,116,18,90,151,
-96,233,71,176,118,1,162,134,245,189,93,251,90,112,210,126,17,153,150,174,
-75,23,220,216,2,67,38,160,34,12,158,61,68,140,22,9,70,199,24,18,180,137,
-209,105,133,238,158,192,209,23,91,223,10,56,6,123,84,102,71,55,205,136,
-254,127,76,88,158,34,117,178,122,185,145,190,76,122,187,29,178,111,255,
-62,62,246,177,143,243,71,127,248,135,220,121,244,46,114,185,44,245,122,
-195,198,33,127,31,192,177,151,86,201,91,209,111,221,201,106,220,88,232,
-104,200,230,124,70,134,51,196,161,64,26,137,212,14,14,146,114,62,32,31,
-104,208,45,140,81,24,101,203,219,61,163,153,191,126,21,199,104,138,25,31,
-163,58,72,149,230,47,148,0,221,182,32,240,74,224,14,193,240,163,48,153,
-79,65,146,135,141,107,16,20,108,5,173,107,131,114,114,35,80,158,129,169,
-123,96,226,65,40,221,3,173,139,176,242,35,88,61,3,245,245,52,80,119,210,
-238,190,196,186,75,78,108,229,123,72,65,97,210,150,92,149,96,100,154,243,
-32,1,145,128,180,192,48,196,128,111,207,197,185,105,12,177,87,131,97,6,
-242,189,187,0,97,123,66,208,108,35,114,77,191,235,44,210,40,196,244,100,
-191,122,0,105,182,248,224,7,63,196,171,47,191,204,183,190,249,13,126,229,
-159,253,115,106,205,6,217,108,110,203,84,171,219,10,28,187,85,210,14,114,
-145,246,146,191,216,171,219,163,55,224,109,0,0,32,0,73,68,65,84,181,9,22,
-69,171,217,96,163,82,7,163,241,92,137,99,36,81,152,208,108,118,112,129,
-172,147,32,180,34,10,67,28,52,205,70,141,245,149,101,14,79,143,35,148,182,
-1,116,162,45,93,219,13,168,155,53,88,189,0,78,201,30,229,135,97,34,11,78,
-30,50,195,224,103,173,59,101,12,20,167,32,40,193,248,113,24,127,0,10,199,
-83,96,252,24,150,78,65,117,25,148,194,56,46,38,29,213,134,99,227,23,163,
-19,112,82,138,86,36,32,19,140,136,49,41,80,140,86,150,197,50,9,218,40,123,
-8,109,193,142,182,9,196,159,41,241,103,122,11,213,152,189,33,104,91,225,
-208,166,19,101,182,97,203,244,137,223,153,237,73,194,77,132,37,10,50,153,
-128,79,126,234,83,252,231,63,254,99,62,244,225,143,48,51,51,67,189,94,103,
-116,116,248,239,7,149,123,43,153,237,221,98,146,110,19,212,94,52,94,147,
-56,100,125,163,70,167,19,145,207,250,8,21,210,110,198,36,157,8,37,58,136,
-36,38,59,236,218,62,239,164,131,107,18,150,22,175,147,205,120,100,3,31,
-19,183,145,58,178,61,68,170,155,195,144,54,155,94,93,5,113,214,90,15,183,
-8,165,251,65,102,193,47,3,45,240,125,91,18,50,126,204,246,119,151,239,129,
-194,29,208,186,12,43,175,193,226,91,54,78,137,35,155,204,83,216,243,149,
-1,47,178,13,79,50,149,241,209,182,61,215,40,119,211,82,96,173,134,73,98,
-180,244,211,220,135,5,143,54,9,74,71,125,57,10,113,75,144,184,169,239,52,
-240,108,179,107,216,33,24,160,194,104,250,193,97,207,24,20,211,180,59,33,
-247,220,123,47,227,227,227,252,213,95,126,155,47,252,55,255,45,173,78,155,
-98,148,31,216,66,253,158,103,171,110,165,252,227,86,207,221,169,93,118,
-123,14,196,138,150,181,113,28,137,35,109,149,239,234,90,133,86,59,196,145,
-146,118,59,76,219,104,91,56,142,164,221,106,82,89,91,101,120,168,100,165,
-118,84,140,73,52,38,49,152,4,76,34,48,113,154,244,11,99,88,95,128,197,211,
-176,242,22,52,47,67,176,31,70,31,134,242,113,8,50,144,201,193,232,61,48,
-254,24,228,143,65,103,17,86,223,128,133,183,96,101,22,218,45,80,210,222,
-83,75,208,41,72,146,212,98,25,109,129,168,108,89,139,192,88,2,33,101,142,
-186,229,46,221,243,140,86,41,227,180,41,48,215,29,217,192,14,199,38,19,
-101,6,28,244,29,134,254,255,122,233,187,244,132,45,231,153,109,231,165,
-44,214,150,231,187,44,150,177,205,96,61,38,172,199,108,117,127,214,40,149,
-224,72,201,19,79,60,201,143,127,244,35,86,150,151,241,252,128,181,245,245,
-219,159,202,237,111,121,221,137,166,221,233,185,254,193,238,55,163,121,
-187,165,235,221,201,80,97,212,33,73,18,146,56,161,221,9,233,116,34,58,29,
-91,61,171,181,34,81,138,122,173,102,147,213,8,86,151,87,145,82,218,190,
-144,36,182,187,120,162,83,203,145,90,15,5,40,97,53,111,195,54,108,204,193,
-234,89,216,56,13,209,34,248,147,144,61,106,3,118,127,24,242,199,33,123,
-16,146,53,168,188,3,43,103,96,253,42,116,154,22,16,74,130,22,24,37,44,8,
-99,99,75,78,116,87,209,36,93,96,26,140,238,46,244,244,187,86,61,81,7,67,
-23,44,42,93,236,106,203,66,223,137,118,53,187,30,91,193,115,3,85,171,183,
-223,71,111,46,250,222,243,26,221,189,71,42,105,218,125,220,152,148,198,
-213,58,5,131,238,73,150,118,105,229,174,12,106,24,134,28,63,113,2,33,4,
-175,190,252,18,158,231,146,104,88,92,92,188,125,221,170,155,105,167,14,
-74,244,237,54,228,113,183,44,122,55,67,222,189,62,10,67,226,216,242,255,
-70,197,36,113,130,49,154,40,78,136,99,155,165,142,162,144,92,206,37,105,
-55,88,91,95,165,84,44,224,72,1,90,219,156,5,96,180,4,71,34,220,84,194,211,
-241,45,93,235,5,54,224,246,178,64,27,212,18,152,50,184,163,169,26,136,182,
-84,172,170,164,207,53,109,60,50,122,8,10,163,182,140,68,69,246,187,238,
-74,254,164,98,9,66,90,230,71,111,74,141,246,44,132,212,105,144,107,23,38,
-218,214,110,25,52,38,109,171,237,46,232,159,58,2,223,157,149,29,232,70,
-153,1,148,109,191,167,180,245,51,55,55,176,100,91,95,239,230,243,6,251,
-167,231,243,121,142,159,184,155,151,95,126,153,103,62,241,73,70,70,70,120,
-231,173,183,152,154,154,250,251,69,229,238,20,152,239,6,132,155,205,217,
-118,93,119,203,155,236,184,30,8,65,216,137,49,110,130,142,173,10,137,151,
-113,80,73,132,99,52,153,76,128,54,49,237,78,155,88,41,138,35,83,200,108,
-6,25,100,144,8,164,244,16,34,139,144,5,132,95,176,76,148,151,7,63,253,238,
-164,224,200,228,32,200,165,1,116,146,234,72,97,65,35,219,16,20,97,228,164,
-181,36,73,104,75,226,147,14,36,45,91,253,27,215,16,81,27,163,155,24,221,
-176,229,38,74,219,28,137,176,210,60,150,182,117,83,145,236,174,211,146,
-186,35,233,223,173,209,214,142,24,187,59,239,41,228,48,183,4,151,27,147,
-28,102,80,73,225,128,197,63,224,90,211,119,146,49,253,97,252,38,42,83,21,
-52,148,210,220,117,215,93,252,249,155,63,97,121,105,137,32,147,165,60,50,
-114,251,231,57,118,82,18,185,89,96,190,83,99,212,32,11,148,201,108,237,
-67,78,146,44,158,231,18,133,154,40,138,145,198,144,205,6,248,126,140,86,
-17,42,10,113,156,2,82,66,163,19,226,231,139,228,202,99,224,56,182,177,213,
-113,16,194,179,86,64,218,197,47,188,18,184,89,155,183,112,51,182,112,208,
-9,210,190,112,103,135,149,104,236,238,175,19,80,109,91,107,165,154,16,55,
-33,106,96,226,38,132,13,76,212,192,232,6,198,180,45,27,133,65,11,7,141,
-135,118,124,180,212,104,41,208,142,135,145,6,35,82,11,34,108,57,187,22,
-169,53,233,183,42,63,19,56,204,158,178,134,219,129,99,118,74,20,166,113,
-199,32,38,171,31,40,230,134,228,139,189,46,138,67,246,237,219,135,49,134,
-179,231,206,114,248,200,17,242,133,2,171,171,171,140,141,141,221,158,108,
-213,94,115,27,123,101,174,246,218,72,149,9,60,138,133,12,173,166,72,103,
-90,24,130,192,71,171,200,210,167,73,76,144,201,146,52,43,108,44,45,17,213,
-42,168,90,129,88,117,48,170,131,81,33,142,138,16,198,65,246,20,9,93,132,
-235,167,174,85,0,65,30,10,83,48,118,20,134,79,128,51,149,42,20,182,108,
-248,101,92,80,1,116,170,176,126,6,150,207,65,125,30,162,38,196,97,207,181,
-178,101,27,214,237,211,14,104,215,67,121,57,180,159,69,123,57,180,145,104,
-199,183,97,174,180,53,72,70,164,254,190,176,75,205,24,221,251,190,41,108,
-125,235,121,14,51,48,167,189,7,114,202,244,45,250,29,226,194,254,123,155,
-27,10,172,244,54,247,108,43,5,172,149,38,151,203,82,44,22,185,114,229,10,
-70,43,202,67,101,174,206,94,190,189,192,241,95,122,178,207,94,196,225,92,
-215,99,124,180,132,138,235,84,171,109,132,114,144,72,146,182,193,19,164,
-245,72,2,165,21,245,70,19,223,207,32,132,180,156,144,1,169,21,70,41,68,
-146,96,8,17,166,145,58,193,169,154,186,144,80,152,4,127,8,68,30,156,73,
-32,103,131,111,39,76,105,223,44,136,98,250,220,21,136,211,32,190,181,70,
-87,50,212,106,222,186,182,52,221,233,38,197,172,248,180,65,246,254,73,35,
-109,230,193,178,62,2,109,4,70,136,222,235,181,81,82,26,154,239,48,192,230,
-150,192,97,6,255,46,186,57,141,237,150,130,1,224,232,170,162,220,224,122,
-153,27,114,34,219,207,49,125,134,197,0,194,24,164,227,48,54,62,206,194,
-252,60,157,48,34,200,100,88,90,90,226,238,19,39,110,223,60,199,79,59,116,
-113,144,69,216,59,216,36,249,92,142,137,241,18,58,169,34,181,143,32,193,
-205,229,25,46,230,8,27,169,136,131,54,180,195,14,185,130,223,247,177,136,
-84,83,42,157,47,136,72,233,213,238,14,103,210,56,226,32,140,223,13,229,
-123,109,32,222,190,10,106,25,50,67,54,79,17,206,129,51,1,254,20,12,223,
-3,225,6,116,54,64,181,172,91,37,210,42,35,161,108,53,175,3,70,10,144,2,
-45,164,181,10,6,140,48,41,56,182,138,184,27,77,31,105,106,44,88,12,104,
-35,54,221,170,159,10,33,59,169,136,152,27,2,239,129,89,120,211,31,48,152,
-129,139,158,1,86,100,203,153,125,165,36,38,173,53,241,124,151,98,161,200,
-213,171,179,68,81,68,167,221,225,224,161,67,183,87,204,177,211,252,233,
-254,92,197,160,231,127,86,43,179,245,30,146,102,39,162,82,235,160,113,240,
-188,0,215,104,162,78,147,122,51,36,112,93,43,15,106,32,12,35,156,114,1,
-45,29,164,144,182,245,212,145,54,254,16,170,71,155,246,138,8,189,188,101,
-157,166,239,135,177,7,33,51,5,141,115,80,57,13,166,13,163,239,179,61,227,
-149,179,192,53,24,186,27,242,71,96,188,14,73,205,138,58,84,102,109,123,
-173,180,150,192,50,97,86,194,199,8,15,140,181,10,70,202,84,129,4,180,144,
-116,121,52,157,86,50,105,99,153,101,141,101,159,117,74,96,245,2,242,205,
-173,231,22,35,241,29,56,42,51,168,140,196,12,40,70,52,55,148,149,12,2,135,
-233,7,135,217,26,179,208,75,3,116,31,119,200,229,178,52,155,77,18,165,48,
-24,220,190,49,214,183,141,229,216,190,211,239,6,136,189,8,76,223,236,177,
-237,255,70,156,24,86,87,235,52,234,49,133,124,14,161,13,237,102,157,40,
-132,118,163,205,88,201,96,124,199,74,117,26,145,246,96,75,187,99,59,174,
-237,194,51,158,221,213,181,65,184,2,161,148,141,55,202,51,48,117,63,140,
-63,12,153,25,168,189,5,43,63,129,149,179,105,175,198,49,240,140,45,51,137,
-218,16,85,210,18,247,99,41,64,170,150,218,173,47,217,4,159,99,165,73,141,
-116,48,174,103,101,124,112,123,173,175,58,149,245,49,169,171,165,77,10,
-22,153,202,246,116,1,132,72,211,35,219,11,161,196,205,179,224,131,104,91,
-179,67,228,97,118,254,125,123,245,173,25,152,17,223,180,68,253,241,133,
-233,55,141,102,107,224,222,189,198,117,61,75,209,107,171,4,25,43,69,20,
-69,183,133,164,143,187,23,26,118,55,229,194,189,212,81,237,6,144,205,12,
-121,76,181,17,147,241,2,60,55,33,108,55,88,88,174,19,56,49,197,172,135,
-54,73,42,228,236,90,55,4,235,202,8,225,97,92,141,49,142,109,125,149,34,
-205,82,43,235,42,21,39,96,226,36,140,63,2,153,105,168,254,24,150,222,176,
-217,242,202,60,12,31,128,164,101,123,55,234,11,105,210,47,213,196,26,123,
-8,74,39,82,41,160,154,45,100,236,84,108,110,195,193,54,57,73,39,213,194,
-181,114,161,134,46,48,44,80,140,233,143,71,236,235,182,238,149,72,55,219,
-20,48,55,44,211,29,98,52,110,70,203,14,6,132,25,24,190,111,189,143,233,
-243,143,204,13,20,111,95,114,216,108,2,164,139,146,65,174,152,50,182,39,
-68,8,209,123,221,90,169,158,202,254,109,73,229,222,138,186,200,78,204,214,
-94,175,239,222,35,78,52,113,164,144,6,154,109,69,216,209,52,91,49,78,94,
-144,104,235,207,91,137,127,7,101,36,81,162,209,194,69,58,221,93,59,193,
-56,14,218,56,72,153,234,213,6,35,48,122,55,76,188,31,50,147,176,241,50,
-44,255,4,150,222,181,229,36,81,7,242,35,144,52,109,255,70,216,176,0,137,
-235,160,155,160,26,214,218,12,221,99,173,71,92,131,106,152,138,201,73,11,
-12,225,98,132,143,150,246,123,215,98,244,68,20,132,131,70,162,145,22,8,
-66,216,223,141,176,96,209,58,141,55,116,127,199,247,142,95,122,207,78,87,
-255,221,76,191,33,184,33,103,177,37,150,232,1,101,107,101,162,49,91,173,
-131,48,102,91,166,164,91,138,34,122,224,81,137,162,81,111,236,141,162,190,
-221,146,128,63,141,60,232,110,154,187,253,231,116,58,157,190,115,32,142,
-98,18,5,38,237,64,139,59,26,165,165,85,37,113,32,209,86,5,68,58,30,210,
-245,9,19,141,146,54,183,97,171,91,83,183,198,72,140,235,32,220,44,148,143,
-194,228,251,193,31,135,181,23,97,229,13,88,185,0,181,213,84,250,83,90,138,
-54,110,216,152,35,73,135,204,116,42,176,30,1,77,27,111,140,61,12,67,247,
-66,82,1,209,128,198,21,187,193,74,39,93,252,174,237,15,23,46,218,56,41,
-48,186,160,72,191,27,7,157,130,70,27,27,139,24,35,210,246,89,209,91,202,
-102,79,172,149,216,153,194,53,3,30,53,55,222,87,247,211,75,253,206,144,
-238,7,203,246,123,247,130,13,180,216,146,218,216,12,254,141,238,93,160,
-146,132,102,171,73,177,84,236,37,125,5,63,155,172,211,255,175,224,216,109,
-120,252,205,148,214,7,93,51,104,56,99,183,182,170,255,186,40,142,72,18,
-135,132,196,142,29,139,12,137,22,8,233,17,107,77,146,72,43,192,230,6,4,
-217,2,237,184,131,150,34,205,27,244,45,64,36,218,45,33,75,135,96,236,17,
-107,61,214,159,135,165,55,97,227,138,45,97,87,41,181,107,132,205,128,199,
-13,155,7,73,162,148,141,50,16,53,96,99,214,186,82,73,3,38,30,134,225,147,
-160,171,64,11,211,169,218,24,2,23,140,147,130,195,14,217,52,198,69,225,
-160,112,210,0,220,73,65,226,160,117,26,131,224,160,112,73,148,147,14,209,
-97,75,41,248,205,236,199,13,231,118,93,27,177,45,160,54,219,65,99,110,188,
-166,31,60,102,155,131,100,182,51,84,93,230,205,108,179,40,155,214,166,75,
-122,71,81,194,250,218,58,35,195,163,118,86,100,122,142,227,56,104,173,223,
-243,65,249,158,231,115,236,6,158,221,174,217,41,118,201,100,50,91,192,145,
-201,68,8,233,17,133,33,90,130,209,14,153,76,30,223,183,5,114,181,102,131,
-125,78,25,207,207,80,24,42,179,186,124,21,101,52,158,35,45,117,106,36,90,
-8,140,204,97,242,19,152,209,135,17,254,48,172,254,16,214,222,177,241,69,
-167,149,178,74,86,67,202,160,17,42,182,64,112,178,22,40,200,158,71,34,84,
-8,141,121,43,232,70,221,198,32,229,147,24,221,68,87,206,91,89,81,145,210,
-184,88,214,76,227,161,141,159,138,39,88,1,133,30,48,122,86,197,186,89,90,
-219,252,199,173,177,82,253,103,234,29,89,93,179,77,82,103,224,19,253,27,
-214,32,55,107,91,178,176,159,174,221,4,150,25,144,76,52,24,33,105,181,90,
-172,173,173,114,226,196,9,130,32,131,227,56,84,43,21,238,56,114,228,182,
-96,172,110,90,91,53,200,122,220,170,96,219,160,192,189,59,201,180,123,94,
-62,159,35,8,50,180,154,77,140,35,145,198,37,155,205,19,171,6,66,75,150,
-54,42,220,119,207,17,148,136,25,26,29,101,113,113,150,118,20,147,205,186,
-246,131,210,198,10,168,229,202,136,209,251,192,47,163,215,95,130,245,211,
-136,198,82,170,42,226,216,188,68,119,231,19,174,77,28,118,106,8,63,135,
-86,202,190,126,41,172,85,17,142,205,94,119,86,160,210,1,209,193,140,60,
-0,229,251,64,39,232,250,28,90,233,116,244,128,205,252,217,32,60,213,198,
-74,149,13,181,113,49,90,160,132,117,169,148,112,81,198,65,105,251,251,238,
-14,212,77,224,98,184,209,18,108,139,6,216,230,254,236,156,204,235,115,176,
-204,246,18,145,173,12,149,217,126,127,179,165,56,30,215,149,44,45,47,209,
-110,183,57,120,240,32,174,235,226,121,30,171,171,182,154,58,73,146,247,
-124,111,185,123,51,235,176,23,213,195,221,64,181,91,50,176,255,222,153,
-76,192,248,104,145,70,189,65,24,69,72,33,17,198,195,36,18,71,64,38,91,64,
-33,209,194,97,108,98,138,11,231,61,26,157,14,229,225,2,82,107,112,20,34,
-40,35,135,142,99,156,60,241,218,107,80,189,128,108,111,32,52,72,225,166,
-65,189,131,113,228,102,235,167,10,145,97,195,214,77,233,16,164,180,227,
-54,92,129,113,140,173,35,20,26,147,180,49,245,107,246,53,143,156,68,148,
-239,182,61,237,173,213,84,169,36,176,82,60,58,5,6,169,70,149,113,208,194,
-69,225,98,180,117,165,180,177,174,149,82,50,173,204,53,59,58,83,102,79,
-153,241,65,243,212,13,194,24,118,227,172,140,73,83,65,194,220,80,116,104,
-122,77,31,219,152,170,109,28,178,233,3,146,233,110,58,198,38,65,175,205,
-94,197,247,61,142,29,59,134,74,236,244,222,124,62,79,24,134,56,142,115,
-123,5,228,55,107,74,218,11,53,187,151,128,124,208,99,174,35,153,24,47,99,
-128,133,69,5,218,126,184,14,134,108,224,161,58,17,213,102,135,66,224,80,
-30,29,35,87,44,82,175,215,80,83,121,28,233,32,252,18,206,208,17,112,51,
-68,235,167,48,245,57,100,20,34,9,16,194,67,8,141,144,202,182,211,218,245,
-155,122,80,6,161,235,16,231,123,5,132,66,136,116,164,179,205,128,107,199,
-6,216,38,214,152,214,10,134,51,200,210,81,100,233,14,132,86,152,176,218,
-203,105,24,199,170,41,26,227,98,28,23,173,82,48,224,162,186,1,187,113,209,
-90,98,140,211,171,169,50,183,236,98,152,157,245,162,205,160,188,197,0,169,
-207,110,252,109,182,229,46,182,88,21,211,87,137,187,165,146,202,54,62,245,
-177,92,221,122,117,33,160,211,106,112,241,226,5,102,102,102,56,112,224,
-0,6,205,218,90,133,76,38,67,20,69,91,230,208,191,231,51,228,55,107,99,221,
-107,233,200,79,175,82,34,8,2,151,98,33,96,221,207,226,57,2,129,64,197,9,
-197,130,67,232,180,105,52,58,20,243,5,124,39,203,228,204,52,243,87,78,211,
-106,182,241,202,121,100,110,28,132,71,84,57,131,110,172,67,146,32,77,128,
-32,64,98,135,101,10,18,132,163,65,199,8,169,173,133,16,6,99,58,160,91,104,
-161,48,142,232,101,190,187,195,107,44,85,156,2,68,11,76,167,142,48,23,113,
-74,7,113,74,251,72,234,2,29,38,169,21,72,41,94,227,162,181,29,151,166,181,
-5,133,73,45,138,214,14,74,123,91,68,11,48,134,254,183,99,144,45,17,91,216,
-167,157,108,139,25,104,93,110,8,188,251,19,127,134,173,129,247,150,154,
-23,179,141,174,221,102,49,122,193,200,166,117,113,93,151,43,151,47,179,
-184,184,200,103,63,251,89,10,197,2,70,27,86,87,214,240,60,215,54,72,25,
-115,251,88,142,159,198,117,26,20,75,236,244,252,160,248,163,159,237,74,
-146,132,107,115,171,180,90,33,82,230,112,61,23,137,164,211,105,177,188,
-190,129,52,33,158,236,128,176,3,45,247,237,219,207,252,236,187,84,91,109,
-134,247,29,65,75,159,78,245,18,166,83,77,231,110,100,81,194,32,180,70,118,
-129,97,226,84,241,208,69,136,200,10,168,11,131,209,49,82,117,72,164,103,
-93,35,225,96,179,124,110,154,228,243,210,124,70,106,110,52,16,215,81,245,
-89,100,126,63,50,59,13,122,197,118,8,246,37,253,108,129,162,139,49,62,90,
-123,40,124,148,114,80,198,177,192,17,55,73,119,239,22,94,236,88,43,194,
-14,65,117,191,248,130,217,198,70,177,67,34,207,108,113,179,182,184,78,41,
-109,187,37,6,73,207,79,148,226,157,119,222,33,8,2,30,123,252,113,203,76,
-33,216,168,84,24,31,187,125,122,58,220,91,205,102,223,234,121,187,89,152,
-126,1,134,86,43,164,82,105,225,103,50,118,4,114,236,176,188,178,78,212,
-81,248,174,36,110,71,228,130,54,137,138,113,164,102,120,100,152,177,169,
-41,58,137,38,12,19,18,189,129,233,196,72,227,111,174,57,45,17,169,178,161,
-32,70,72,7,161,98,4,10,92,23,97,180,213,184,82,6,105,20,137,244,211,220,
-67,58,187,79,164,195,50,113,83,128,56,182,246,80,166,73,187,196,96,26,43,
-200,220,56,50,51,138,233,180,48,170,187,171,202,180,176,176,155,243,240,
-80,202,50,88,202,120,105,76,176,141,141,221,41,19,190,91,252,177,61,175,
-97,196,96,202,86,108,119,187,196,141,86,98,91,32,174,183,111,128,91,2,114,
-189,37,88,239,62,238,186,46,115,115,115,156,57,115,154,199,31,127,156,59,
-239,60,74,146,40,84,146,80,171,213,24,31,27,185,109,230,154,187,59,229,
-34,110,6,136,159,165,0,113,251,245,54,239,145,16,39,10,17,41,90,68,52,154,
-17,87,175,215,41,230,52,133,241,44,235,171,29,242,89,73,181,94,97,116,200,
-65,186,46,135,238,186,151,51,239,188,205,236,149,139,236,159,28,5,50,169,
-156,39,86,252,217,104,4,210,90,18,33,144,8,132,20,8,71,91,96,0,194,104,
-52,2,71,105,98,25,164,20,111,154,224,147,50,85,22,113,193,120,118,142,184,
-148,8,210,57,128,198,206,234,48,237,58,78,80,70,122,69,18,29,165,214,163,
-91,45,156,38,250,210,210,18,165,210,57,131,189,76,179,184,165,64,124,240,
-185,219,41,88,179,41,212,211,157,241,167,183,119,247,233,193,217,115,179,
-45,112,55,253,44,149,238,163,126,205,54,112,216,207,83,105,205,107,63,254,
-17,8,248,216,199,63,142,231,186,68,113,196,226,242,50,82,90,122,247,118,
-81,64,116,183,51,75,183,66,215,222,138,251,181,29,96,81,20,109,121,44,142,
-35,148,82,116,58,17,113,162,105,183,35,194,200,224,123,26,77,64,20,135,
-228,11,195,84,42,235,148,242,37,132,239,51,54,54,69,54,56,207,220,213,69,
-114,217,50,67,165,33,171,65,171,109,207,185,192,32,116,132,208,137,5,140,
-145,72,199,69,160,44,195,37,172,31,47,133,68,3,137,147,161,59,48,211,56,
-41,45,43,237,144,25,35,186,99,151,101,10,20,153,78,183,21,24,45,73,194,
-8,233,187,8,63,15,145,85,30,193,128,16,78,234,198,185,32,124,219,141,104,
-182,102,138,127,214,47,193,102,109,150,16,34,253,119,123,6,98,123,37,201,
-214,95,68,87,57,61,189,143,216,116,181,36,182,130,120,243,131,235,158,172,
-7,34,217,243,60,206,190,251,46,103,78,159,230,195,31,249,8,15,61,244,16,
-81,20,17,39,9,11,11,139,12,149,135,168,214,235,4,65,112,251,84,229,238,
-198,82,221,140,125,218,107,55,224,246,152,35,138,162,173,25,242,40,66,43,
-141,50,10,145,104,162,56,2,52,142,147,161,19,70,184,142,131,35,37,245,70,
-155,74,213,97,98,194,78,17,58,122,236,126,102,175,46,115,105,118,149,227,
-199,70,240,28,111,179,100,93,37,72,36,66,166,218,187,18,180,81,8,163,144,
-210,186,32,66,24,164,113,144,70,162,156,108,90,68,104,147,88,8,55,221,245,
-157,52,243,109,167,196,10,227,164,75,199,150,172,116,23,136,138,12,194,
-147,8,215,129,68,218,247,212,72,164,148,8,229,128,240,237,252,26,37,122,
-101,51,166,111,129,239,25,47,3,202,65,250,45,208,22,1,12,76,10,20,147,46,
-254,174,21,176,132,71,207,92,136,20,40,93,183,50,181,24,14,160,211,231,
-140,16,8,45,54,173,75,223,235,117,28,151,122,173,206,243,63,252,33,67,229,
-50,159,253,236,47,35,132,68,74,205,226,210,50,245,70,147,124,46,71,51,142,
-113,28,231,246,10,200,247,146,225,254,89,115,30,253,191,7,65,176,229,13,
-10,50,25,164,83,167,211,86,105,188,144,80,42,120,148,138,30,113,216,98,
-124,108,20,76,130,227,100,88,94,109,80,42,150,8,130,44,195,227,119,114,
-244,120,157,151,94,252,33,142,187,194,93,119,30,65,155,24,161,99,164,177,
-37,37,82,56,182,111,27,133,52,26,129,66,11,235,106,128,65,72,129,52,46,
-218,201,218,96,90,138,116,145,56,41,243,148,86,218,26,27,127,96,186,110,
-150,147,42,28,110,78,70,18,73,58,68,83,250,233,182,155,186,95,194,177,67,
-106,133,73,69,23,68,186,59,111,78,229,16,123,42,31,49,233,168,244,109,4,
-135,236,251,140,54,195,138,30,104,186,64,233,217,153,158,215,101,95,139,
-232,102,186,133,73,115,31,93,123,36,144,169,49,209,194,254,59,70,200,148,
-199,77,187,84,164,221,8,94,120,254,121,150,22,23,249,87,95,248,215,220,
-121,244,40,157,78,155,176,211,97,110,110,14,41,5,218,40,198,70,199,8,195,
-240,246,169,202,189,213,105,77,187,101,191,247,26,164,123,158,183,229,126,
-133,124,142,32,240,169,55,91,24,99,153,212,161,161,0,116,147,36,106,145,
-29,10,144,142,192,152,128,86,39,100,246,122,131,99,199,142,145,104,195,
-61,239,251,0,23,47,47,243,238,185,179,184,94,145,131,251,167,81,186,131,
-64,35,69,130,131,107,129,129,65,11,101,227,18,161,17,78,215,122,8,36,14,
-218,145,233,107,74,27,168,164,173,170,237,246,105,24,225,166,74,134,105,
-28,34,61,48,30,24,137,232,78,131,194,216,185,129,116,131,121,27,219,72,
-12,142,99,210,34,67,185,9,5,33,110,200,132,239,248,254,165,85,175,114,135,
-141,204,96,144,219,172,69,191,91,37,186,227,205,210,115,76,95,211,247,22,
-144,8,179,205,23,163,207,138,216,164,161,196,186,147,6,8,124,151,215,94,
-127,157,55,222,120,141,159,123,226,9,62,253,153,207,16,133,33,66,72,102,
-175,95,167,221,110,219,12,121,154,37,79,146,228,6,129,141,219,194,114,252,
-52,150,96,175,207,237,84,160,104,107,173,124,70,71,10,212,234,29,218,157,
-4,129,198,149,26,65,136,20,13,178,190,143,144,14,218,100,144,158,199,236,
-124,133,210,72,200,228,212,4,174,209,60,245,212,167,153,155,91,229,245,
-55,222,197,117,115,76,78,140,162,147,48,93,220,182,62,182,11,16,145,42,
-129,8,4,66,218,206,10,141,131,145,94,175,47,221,6,211,105,13,86,95,51,147,
-22,158,117,177,180,151,198,16,14,2,39,157,71,158,22,51,118,119,103,99,131,
-119,33,52,82,42,180,182,139,87,9,185,245,125,18,59,48,84,219,166,185,34,
-196,13,253,28,189,251,164,110,83,127,100,221,3,141,232,6,204,155,73,62,
-129,232,89,147,27,64,210,253,117,160,21,73,197,64,165,125,61,129,231,115,
-225,220,89,190,247,220,119,217,183,111,63,191,246,133,127,141,31,248,152,
-68,179,184,178,194,194,194,34,210,113,16,82,226,186,62,66,72,194,48,164,
-88,44,222,62,181,85,131,74,70,118,210,185,189,21,97,233,65,231,13,242,55,
-93,215,101,114,188,140,214,154,249,197,42,32,112,68,130,239,120,120,100,
-240,61,15,164,135,150,154,36,182,211,151,94,127,115,150,39,139,211,20,115,
-121,70,39,10,252,252,167,127,137,63,252,226,127,226,149,31,189,205,207,
-61,241,24,99,195,69,59,75,16,141,131,66,8,171,21,37,186,203,63,117,19,236,
-94,46,122,117,87,246,193,46,157,43,251,26,152,186,172,147,103,45,131,242,
-48,210,5,188,148,193,146,150,29,19,98,75,42,79,10,133,148,26,97,108,130,
-112,211,213,217,227,166,36,118,207,132,247,104,217,126,192,244,149,125,
-136,1,241,7,187,128,196,24,235,10,110,183,34,155,125,28,18,137,193,13,124,
-230,174,95,231,219,223,250,38,190,239,243,155,191,241,155,28,216,183,143,
-40,137,89,223,216,224,252,133,11,189,207,222,247,28,124,223,86,230,106,
-173,111,11,182,74,238,148,119,24,196,72,109,95,224,187,141,23,184,153,213,
-24,116,78,16,120,12,15,229,40,228,60,134,138,89,134,74,69,114,185,34,133,
-226,48,194,43,225,120,163,40,93,102,101,29,220,96,130,106,77,242,210,75,
-103,232,132,30,137,201,113,236,238,135,248,7,255,232,191,166,214,84,188,
-240,194,107,172,108,116,16,94,9,37,178,36,50,135,34,67,66,134,68,100,73,
-100,134,68,102,80,4,104,114,36,50,139,18,25,180,200,162,100,6,37,179,36,
-34,131,18,89,148,180,135,22,89,52,89,52,25,116,122,47,101,50,36,58,71,172,
-115,36,170,72,172,75,68,106,136,88,149,73,76,9,77,198,54,67,17,160,133,
-139,49,2,41,211,67,200,222,33,44,172,110,237,232,94,43,64,202,148,166,150,
-105,225,164,196,142,111,147,118,130,173,72,129,75,122,157,144,91,9,128,
-46,72,4,2,41,210,251,136,174,21,180,231,74,72,7,135,66,38,8,88,154,159,
-231,235,95,253,115,162,48,228,215,255,251,95,231,129,135,30,68,105,205,
-245,107,215,120,254,133,231,137,162,8,215,245,168,85,171,56,82,18,248,62,
-142,235,112,187,124,201,237,22,225,102,18,159,55,155,187,49,232,185,65,
-214,101,16,235,85,171,55,89,88,170,130,112,112,221,28,82,230,104,182,51,
-44,174,5,116,226,2,142,59,140,235,21,89,90,170,19,37,121,50,249,73,174,
-206,213,248,198,55,191,79,163,165,81,38,224,209,199,63,194,63,249,165,127,
-193,122,61,230,111,127,240,42,11,43,53,164,91,64,153,12,177,200,145,200,
-188,93,240,34,139,38,135,38,135,34,64,145,181,160,17,89,20,57,148,201,161,
-100,30,37,115,22,48,98,19,28,74,102,81,164,63,155,44,137,206,144,168,60,
-74,229,73,84,129,68,151,72,76,30,165,115,36,166,72,108,134,81,38,15,198,
-183,110,86,186,184,173,85,73,215,113,106,73,236,123,197,46,71,122,29,189,
-245,127,3,96,122,96,17,164,128,177,23,11,97,159,239,46,248,237,32,233,1,
-67,244,77,153,146,34,149,59,221,124,93,153,76,134,43,87,174,240,103,127,
-250,21,26,245,58,255,195,191,253,45,62,250,212,211,104,173,89,94,92,228,
-59,127,245,93,188,32,139,227,56,36,42,97,109,117,133,76,38,131,31,4,214,
-234,72,137,82,234,61,207,88,201,221,92,161,189,232,224,254,180,163,150,
-183,255,28,133,49,75,203,85,194,72,83,42,21,112,28,151,149,181,144,181,
-138,161,214,10,104,183,29,92,183,72,38,55,76,179,25,177,184,176,142,231,
-15,147,47,140,177,188,17,241,165,47,127,139,245,141,16,101,178,60,254,196,
-211,124,238,115,159,167,82,139,249,235,239,189,200,229,171,43,224,22,209,
-194,90,15,187,224,115,40,145,75,1,145,71,153,44,74,228,80,210,30,214,210,
-4,246,124,145,197,116,129,64,22,165,51,22,24,100,208,228,48,38,135,210,
-89,226,212,130,40,227,163,77,128,54,89,148,46,146,168,60,90,5,104,37,182,
-1,33,93,129,169,188,79,55,233,32,210,157,190,31,21,189,199,96,243,124,185,
-233,158,89,82,97,19,44,98,59,80,228,230,117,66,118,239,37,54,45,70,247,
-179,20,244,93,187,9,8,132,64,72,151,192,15,56,115,250,29,190,242,229,47,
-209,108,54,249,183,191,245,91,124,236,233,143,161,180,98,117,101,133,47,
-126,241,15,200,21,138,228,114,89,132,16,44,47,46,17,133,33,197,66,17,223,
-247,192,232,219,134,202,149,131,220,160,45,111,214,30,0,243,51,37,176,82,
-43,211,106,119,168,55,58,184,174,7,6,58,157,136,43,215,86,168,84,34,60,
-111,136,139,151,150,8,178,37,114,185,18,165,226,8,23,206,95,64,107,137,
-31,148,41,151,247,177,186,17,243,197,47,254,57,235,149,16,69,142,15,60,
-249,113,254,197,231,127,157,68,103,248,206,115,207,243,230,169,139,24,153,
-3,183,128,54,129,117,135,200,88,43,145,186,78,154,12,202,228,236,227,34,
-131,18,249,212,58,216,197,175,176,214,195,164,143,27,10,104,147,67,97,173,
-141,38,72,251,57,210,98,67,29,144,40,207,50,92,198,177,239,103,119,129,
-246,22,127,223,251,45,197,102,80,45,216,226,118,245,30,150,125,139,25,209,
-143,178,30,192,132,96,32,80,186,214,164,107,17,186,32,17,108,190,150,45,
-139,67,88,75,2,224,122,30,210,145,188,248,194,11,252,233,87,190,130,239,
-7,252,135,255,233,127,230,163,31,253,40,74,107,214,86,215,248,189,223,253,
-61,132,227,49,53,51,221,235,246,188,120,241,60,195,35,35,228,10,5,114,217,
-28,139,139,11,120,158,119,91,196,29,242,86,139,10,7,181,188,222,204,42,
-108,7,214,32,23,75,41,141,74,52,97,24,211,104,134,52,91,17,157,78,76,156,
-36,68,145,102,97,113,13,63,200,225,251,89,166,166,166,105,53,91,44,204,
-95,39,159,203,219,199,102,238,100,189,110,248,157,223,249,35,150,87,26,
-104,242,188,255,177,167,248,245,223,252,15,140,78,28,226,123,127,243,18,
-223,251,254,203,52,27,6,233,149,173,149,96,115,97,39,38,79,66,62,117,151,
-114,233,226,207,162,176,86,101,139,187,101,114,104,147,79,1,102,93,51,33,
-92,187,0,145,41,101,42,211,105,77,41,45,220,99,155,54,55,157,254,120,163,
-231,24,109,139,15,186,71,239,185,158,3,181,233,38,117,221,163,222,206,47,
-100,31,80,54,239,36,7,129,164,207,221,26,228,106,73,33,201,102,50,52,27,
-13,190,254,181,175,242,205,111,126,131,67,135,15,241,219,191,253,219,60,
-249,196,147,0,92,159,187,198,151,254,243,159,128,116,57,118,226,4,24,131,
-148,146,185,235,215,9,219,109,102,102,102,8,252,0,215,243,104,183,59,91,
-226,219,219,170,124,100,55,70,233,103,169,161,218,158,23,105,181,90,91,
-184,151,78,216,38,81,9,137,146,36,74,211,238,68,104,109,193,82,175,183,
-136,21,132,97,7,207,245,216,183,111,31,165,161,18,115,215,174,49,58,54,
-78,190,144,71,27,205,193,67,119,49,127,125,142,223,255,189,63,229,31,255,
-227,207,112,215,93,119,114,236,248,131,252,187,127,247,44,127,244,199,191,
-207,15,126,240,125,230,230,215,249,224,135,63,200,145,67,135,236,236,143,
-174,32,64,55,248,52,233,226,234,201,234,216,159,73,11,8,193,235,21,18,130,
-151,178,93,189,176,181,151,71,232,123,19,236,51,178,191,100,68,108,174,
-251,155,176,82,59,210,87,219,74,116,69,202,197,110,97,25,123,148,148,232,
-169,133,216,4,97,183,230,171,59,171,163,75,223,202,190,13,12,28,199,65,
-72,193,217,179,239,242,151,127,249,151,204,207,205,241,137,103,62,193,175,
-125,225,11,140,141,141,162,141,226,221,211,167,121,238,187,207,81,30,29,
-103,196,245,200,4,62,82,74,234,141,58,243,243,215,41,13,149,152,158,154,
-194,117,29,58,97,72,46,151,77,3,245,247,254,140,64,231,217,103,159,125,
-118,47,20,237,110,84,47,41,61,167,181,190,161,253,117,251,61,180,214,36,
-73,210,187,166,187,131,180,91,29,170,213,14,113,2,74,105,194,40,166,86,
-107,82,42,230,136,162,144,202,250,26,251,247,141,49,84,44,225,184,46,243,
-11,243,172,111,172,19,134,33,35,99,99,120,174,135,209,138,76,54,67,16,228,
-249,201,79,78,33,132,199,190,253,71,40,20,203,60,252,200,99,20,138,195,
-188,246,218,91,188,241,198,219,180,218,49,99,227,51,100,115,101,148,241,
-80,198,82,178,118,128,165,143,193,71,27,15,35,130,244,247,0,99,50,41,235,
-100,249,122,33,251,217,163,20,19,114,115,225,11,217,231,187,247,116,118,
-5,189,136,90,108,117,147,54,253,252,221,143,45,174,88,15,104,98,171,117,
-234,126,158,130,45,214,106,43,118,183,198,25,221,91,201,148,89,170,86,43,
-124,247,187,223,229,219,223,250,22,158,235,242,175,190,240,5,126,245,87,
-255,37,133,98,129,36,73,120,225,249,231,249,222,247,254,134,123,239,127,
-31,137,210,248,190,75,38,155,33,73,18,174,94,190,76,173,90,229,224,161,
-131,220,127,223,253,100,178,57,86,87,87,136,227,136,145,145,17,50,25,219,
-83,126,219,168,143,236,180,160,7,5,226,187,89,153,155,169,30,74,41,111,
-200,144,134,97,130,227,54,104,135,73,202,181,27,134,203,69,92,87,210,110,
-183,16,66,176,177,81,101,23,11,5,109,0,0,32,0,73,68,65,84,102,122,134,92,
-33,207,157,119,30,101,126,110,142,102,163,206,236,229,203,220,121,244,40,
-185,92,142,68,37,40,229,112,242,254,247,241,226,139,175,112,109,246,58,
-159,249,197,95,164,52,52,202,63,252,71,255,140,227,39,30,230,15,190,248,
-187,252,221,15,94,228,157,51,87,120,226,201,39,57,121,242,62,251,161,198,
-81,154,196,147,169,213,112,236,120,51,35,123,174,138,77,28,110,150,111,
-200,94,68,188,45,102,219,110,37,82,85,147,205,140,184,216,66,163,222,184,
-112,119,76,146,111,149,183,17,102,179,240,176,203,18,10,122,165,235,34,
-173,16,238,117,56,154,110,99,85,154,224,75,221,45,35,109,238,221,11,124,
-218,173,22,63,126,233,69,254,238,111,255,150,149,149,21,158,120,226,9,254,
-229,175,253,26,119,30,189,11,157,104,106,181,10,95,255,250,215,184,58,123,
-157,143,124,244,163,52,26,77,194,48,100,162,60,14,192,181,171,87,169,215,
-107,248,158,199,225,67,135,201,102,179,120,174,67,165,90,227,118,250,114,
-158,125,246,217,103,119,75,230,237,246,120,255,117,93,203,209,211,39,218,
-129,186,85,74,161,148,34,147,201,32,132,192,113,156,180,132,89,80,171,181,
-105,52,195,222,76,58,71,58,68,73,76,187,213,194,232,54,217,172,195,193,
-3,7,208,90,145,205,100,153,157,189,66,28,199,180,90,45,148,74,24,27,27,
-71,8,209,211,196,186,255,129,7,121,247,221,119,121,254,7,127,199,196,248,
-56,227,19,147,140,143,79,242,193,15,62,197,248,196,12,239,188,115,142,231,
-159,127,133,43,179,11,4,126,129,225,209,41,124,191,128,74,133,18,108,118,
-123,51,144,238,82,163,61,26,182,231,10,109,238,230,93,223,189,103,37,100,
-215,58,208,151,207,144,125,180,169,232,61,223,31,7,32,7,240,184,220,72,
-233,110,177,32,253,159,87,159,117,232,89,143,238,175,125,22,71,32,144,82,
-226,251,1,74,37,156,58,117,138,191,248,250,87,121,254,135,63,100,108,108,
-140,255,238,223,252,27,62,255,249,207,51,49,49,137,54,154,51,167,79,243,
-159,254,175,255,147,70,163,205,71,63,246,52,210,113,184,114,101,150,242,
-112,25,63,240,185,54,59,203,250,218,26,198,104,74,197,34,143,63,254,1,50,
-217,44,174,227,112,225,194,5,178,153,128,177,177,177,219,194,114,56,207,
-62,251,236,179,183,170,61,53,168,40,177,31,28,187,93,175,148,34,73,18,124,
-223,223,2,48,207,115,41,149,178,56,18,226,68,225,186,146,86,59,38,142,98,
-92,71,83,200,9,146,56,100,122,122,26,207,115,201,229,178,212,234,117,22,
-22,22,240,131,128,181,245,53,164,116,24,29,29,5,160,86,175,227,249,62,119,
-223,125,15,27,213,42,223,250,230,183,168,215,106,28,62,114,7,185,92,142,
-227,199,143,243,228,7,63,72,46,159,227,173,55,223,228,229,151,95,230,218,
-181,107,248,190,207,232,200,40,217,76,110,51,19,189,141,33,146,221,191,
-189,155,3,144,59,131,162,31,16,219,193,208,3,0,93,250,86,108,210,167,108,
-50,77,244,220,36,185,117,241,111,7,77,207,125,234,251,124,4,125,175,139,
-62,16,129,116,28,2,63,32,142,35,78,157,122,155,175,127,237,235,124,239,
-175,159,67,0,159,251,220,231,248,141,223,248,13,30,122,248,33,60,199,38,
-242,254,252,207,254,140,47,127,233,203,76,239,219,199,99,31,248,57,114,
-249,28,87,174,92,65,58,130,114,121,136,235,215,175,179,180,48,223,187,231,
-189,247,222,203,177,99,199,237,128,211,78,155,75,151,47,83,30,42,49,62,
-62,78,16,4,239,121,112,8,179,205,39,186,85,145,232,238,87,146,36,36,73,
-178,99,173,126,247,218,40,138,122,181,53,131,190,162,40,102,125,189,134,
-210,170,151,40,10,124,201,155,111,190,73,152,40,38,38,38,56,126,244,168,
-77,56,45,47,243,205,111,126,195,54,208,184,46,181,106,141,35,119,220,201,
-244,204,62,170,149,10,81,20,115,244,206,59,144,82,114,225,226,5,94,122,
-225,69,74,197,60,159,251,220,47,243,216,99,143,33,83,5,140,217,217,89,190,
-241,141,111,242,157,239,252,21,107,107,107,28,58,116,136,71,30,121,63,247,
-220,123,146,242,200,48,66,130,74,82,209,135,62,107,49,104,241,109,217,153,
-123,153,231,174,191,100,54,23,115,95,0,189,83,60,110,118,137,211,187,85,
-183,91,219,96,251,180,169,182,252,104,54,135,203,244,141,156,219,88,91,
-231,237,83,111,241,234,43,175,48,59,59,203,240,240,48,207,60,243,12,159,
-254,244,167,57,124,248,8,66,64,24,69,252,232,149,87,248,210,151,190,194,
-122,165,202,251,223,255,40,119,220,121,132,177,209,49,214,54,214,89,92,
-88,98,106,122,146,197,133,121,174,94,189,74,169,84,34,108,183,200,100,179,
-252,194,47,252,2,35,195,163,72,71,114,241,210,101,150,87,150,201,5,62,143,
-62,250,168,117,181,60,239,61,221,248,36,140,253,186,105,119,223,205,170,
-109,187,224,232,198,18,59,201,253,244,131,99,187,69,82,74,209,170,181,137,
-90,17,65,214,199,24,67,101,189,134,27,56,60,255,202,243,76,76,77,177,190,
-81,225,193,251,239,163,92,46,99,48,188,252,210,75,188,250,202,43,4,153,
-44,113,162,168,213,170,28,56,120,136,153,125,251,169,86,171,4,190,207,161,
-131,7,169,213,107,204,205,45,112,234,237,183,184,58,123,133,15,60,246,24,
-255,228,151,62,203,93,119,29,237,189,198,217,217,89,158,123,238,57,158,
-123,238,175,185,122,213,46,150,147,247,221,199,201,251,238,227,240,193,
-67,228,242,121,219,239,174,146,212,210,246,7,196,59,129,130,173,128,184,
-129,168,218,30,111,236,173,61,121,59,132,204,150,231,68,175,83,175,107,
-77,28,199,206,39,108,52,26,92,185,114,153,183,223,122,139,183,223,122,139,
-181,181,53,14,30,60,200,199,63,254,113,62,250,209,167,57,124,248,48,8,187,
-25,92,56,127,142,175,126,245,107,188,244,202,171,140,79,76,114,239,61,247,
-50,53,53,201,212,244,52,2,184,120,233,50,229,242,16,203,203,75,204,205,
-93,167,92,46,131,129,102,163,206,163,143,62,202,163,143,61,6,105,14,235,
-141,55,223,100,120,168,196,218,234,42,159,250,212,207,227,56,206,237,1,
-142,189,4,209,131,62,156,254,231,182,131,227,86,45,135,214,154,218,122,
-131,250,74,19,63,227,227,166,89,212,106,165,78,163,214,224,236,220,59,76,
-239,223,199,213,235,215,153,154,152,228,225,135,31,64,107,77,171,217,226,
-27,223,248,11,86,87,87,201,230,242,180,219,109,54,54,54,152,154,153,225,
-224,193,195,52,27,13,70,71,70,24,25,29,101,105,113,145,133,197,37,174,93,
-187,202,165,75,151,200,248,30,79,125,228,195,60,243,137,103,56,120,240,
-80,47,24,94,219,168,240,242,139,47,240,220,115,207,241,214,91,111,17,134,
-33,7,14,28,224,158,123,79,114,244,232,81,246,239,223,79,46,159,71,74,7,
-165,146,77,58,120,0,40,250,221,152,237,128,176,116,43,3,43,116,119,70,198,
-13,213,135,3,107,215,108,21,172,67,162,52,173,102,147,235,215,174,113,254,
-220,57,222,122,235,77,174,95,191,78,16,4,156,188,239,36,79,127,244,105,
-30,127,252,3,140,143,143,129,16,196,81,196,181,107,215,248,235,231,254,
-154,231,159,127,129,72,105,198,198,198,153,154,154,100,114,114,146,125,
-51,51,148,74,69,46,95,153,197,96,88,91,93,97,105,113,145,145,145,81,50,
-217,12,149,202,58,227,99,227,124,234,83,159,38,151,203,34,17,156,191,120,
-137,171,215,175,51,61,57,193,198,250,26,159,248,196,39,112,28,7,215,117,
-111,63,112,220,204,181,26,20,155,236,6,142,254,251,109,7,71,247,185,78,
-43,100,125,174,138,231,122,228,74,25,214,230,170,168,88,17,228,61,222,124,
-233,12,238,164,34,83,12,88,90,93,165,81,111,240,129,15,60,202,212,196,36,
-0,231,47,156,231,185,239,62,7,64,38,151,163,81,111,176,182,182,74,121,120,
-152,195,71,238,68,107,197,244,244,52,190,231,51,55,119,157,249,249,121,
-22,151,86,104,183,154,180,91,109,242,217,12,143,60,252,16,31,250,240,7,
-57,114,199,81,92,87,246,226,163,243,231,207,243,226,139,47,240,194,11,47,
-114,241,226,69,146,36,97,106,106,138,163,119,29,227,240,225,195,28,60,116,
-144,225,225,97,50,153,44,174,227,162,180,178,20,245,54,145,102,177,165,
-127,99,171,249,216,222,50,187,75,59,199,142,132,137,148,18,199,113,80,137,
-162,211,105,179,177,190,198,149,217,89,46,94,188,200,249,115,231,88,94,
-94,198,113,28,238,184,227,14,30,127,252,113,62,240,129,159,227,232,93,71,
-201,102,50,104,13,157,78,155,203,151,46,241,252,11,47,240,147,159,188,73,
-20,39,228,114,121,52,134,98,177,200,204,244,20,51,51,251,152,156,152,96,
-105,105,153,149,213,21,214,86,151,169,213,107,140,142,142,81,40,20,168,
-215,170,40,173,249,248,211,79,115,228,142,59,49,70,83,171,213,120,243,237,
-119,80,74,49,62,58,130,235,185,156,188,231,30,10,133,194,192,248,244,182,
-0,199,78,73,191,157,128,115,51,203,177,25,83,68,68,81,68,161,80,216,242,
-120,189,210,160,186,208,36,95,200,35,93,193,236,219,243,172,205,85,240,
-114,14,231,79,95,224,200,147,83,100,138,1,11,203,203,212,106,117,92,233,
-240,169,79,126,162,231,206,188,248,226,139,188,254,250,235,100,243,57,60,
-207,167,94,175,179,190,190,134,227,184,28,58,116,152,98,105,136,125,51,
-251,136,227,136,171,215,174,49,63,55,199,202,202,42,174,231,225,121,46,
-237,86,19,207,113,56,118,215,93,60,246,248,99,156,56,113,156,124,62,191,
-229,117,159,59,123,142,87,127,244,42,175,191,254,58,231,206,157,235,53,
-241,204,76,207,112,240,240,33,166,167,103,152,158,153,102,124,124,130,124,
-46,139,231,249,91,136,7,157,74,216,244,164,109,216,74,42,89,158,118,123,
-63,96,90,17,155,214,87,217,138,94,137,54,134,40,138,137,163,136,86,187,
-197,210,242,50,243,215,231,88,92,152,231,202,149,89,230,231,231,72,146,
-132,108,38,195,177,227,199,121,240,193,7,121,232,193,135,184,235,248,49,
-10,233,223,165,148,162,82,173,113,238,221,179,188,246,218,107,92,186,124,
-25,109,32,155,207,145,36,138,70,163,73,54,8,152,158,158,102,102,223,62,
-246,237,155,161,217,104,112,250,204,25,214,215,86,1,24,29,29,161,88,44,
-210,106,54,105,52,234,60,240,224,131,60,254,248,227,104,101,197,174,223,
-126,231,29,214,215,55,112,29,135,201,137,49,60,215,229,142,59,238,96,120,
-120,248,246,11,200,111,230,62,237,4,146,65,224,24,4,164,40,138,232,116,
-58,248,190,191,197,10,53,42,77,58,107,9,217,108,14,199,145,204,158,153,
-231,234,185,235,196,81,194,106,101,153,251,62,121,148,32,239,51,191,176,
-72,24,197,92,187,118,157,135,30,120,31,15,63,242,16,113,148,160,146,152,
-239,124,247,59,92,185,124,153,98,169,132,227,122,52,234,13,54,42,235,116,
-58,33,99,99,19,28,58,116,136,67,135,14,82,173,84,185,122,237,42,115,115,
-243,108,108,88,21,190,98,161,128,235,187,68,97,132,74,18,38,198,70,57,113,
-247,113,238,57,113,15,251,14,236,219,146,209,85,74,49,63,191,192,153,51,
-167,57,115,230,12,167,79,159,102,118,118,150,118,187,141,54,134,192,247,
-25,31,31,103,114,114,146,209,177,113,202,229,33,74,165,33,134,202,67,228,
-114,121,74,197,34,210,177,59,125,175,131,68,58,118,231,87,9,186,15,60,74,
-89,75,84,175,215,104,54,154,212,234,117,106,213,10,149,106,149,213,149,
-21,150,150,150,88,89,89,161,19,134,8,32,155,205,114,232,208,33,78,156,56,
-193,137,19,119,115,226,196,9,102,102,166,123,159,139,214,154,86,171,197,
-252,252,2,231,207,157,229,221,179,231,217,216,168,224,249,30,126,16,16,
-199,9,205,102,147,70,163,137,144,146,233,201,73,246,237,223,199,161,131,
-7,9,163,136,87,94,125,153,234,198,6,133,98,129,225,242,48,133,98,145,176,
-211,166,178,177,193,225,195,71,248,232,211,79,227,121,46,142,116,184,116,
-121,150,139,151,47,33,165,196,115,29,166,167,166,144,82,48,61,53,197,244,
-244,180,237,173,191,221,146,128,59,149,158,239,54,39,112,175,129,123,215,
-5,136,227,120,203,181,42,221,169,22,22,23,40,151,134,145,82,80,28,205,147,
-132,49,45,101,203,159,125,63,192,119,61,58,97,68,121,184,204,143,126,252,
-58,99,227,99,28,57,116,152,68,74,62,252,145,143,208,110,181,88,89,89,161,
-84,30,102,168,60,132,235,185,212,170,85,86,87,150,88,95,95,163,213,106,
-114,239,61,247,160,149,29,150,19,69,49,205,86,19,233,72,114,34,71,161,80,
-36,147,9,0,195,169,83,167,121,247,221,115,140,143,143,115,248,240,33,14,
-29,60,200,228,228,4,126,16,112,224,192,126,14,28,216,207,51,207,60,67,146,
-40,214,214,215,184,116,241,34,87,175,94,229,218,181,107,189,239,167,78,
-157,234,177,110,221,191,213,247,125,60,207,163,80,40,244,222,227,76,54,
-75,46,107,231,231,133,97,152,62,14,245,122,141,36,73,122,106,45,221,247,
-222,117,93,74,165,18,51,51,51,60,240,192,131,28,56,176,159,253,7,14,112,
-228,142,59,25,29,30,33,155,13,182,0,172,86,175,179,186,188,194,236,172,
-125,93,107,27,235,104,109,240,51,89,166,166,179,116,194,144,86,171,69,171,
-221,166,213,106,99,48,140,141,140,48,53,61,197,254,253,251,168,84,171,188,
-246,218,143,104,183,90,140,142,142,82,42,149,40,20,11,68,157,144,74,165,
-194,228,228,36,79,60,249,36,129,31,128,128,203,151,47,115,121,246,154,29,
-46,164,20,158,27,224,251,254,150,170,136,247,250,215,174,1,249,246,82,145,
-221,234,171,110,198,86,109,207,135,108,7,85,117,163,198,219,175,157,166,
-93,237,224,121,62,7,198,14,225,59,25,194,48,100,97,113,145,242,93,62,133,
-114,145,107,215,174,50,123,237,58,165,161,33,230,231,230,1,120,230,99,79,
-115,232,240,33,148,86,182,159,224,59,223,161,90,173,50,84,30,193,113,29,
-90,173,22,205,70,131,141,74,133,70,163,193,209,163,119,113,255,253,239,
-163,213,106,115,241,226,69,174,95,191,70,24,70,20,242,121,114,249,44,217,
-108,142,108,186,88,125,223,67,105,131,138,99,28,71,82,44,21,152,154,156,
-100,106,114,138,209,177,49,74,165,18,142,35,7,190,111,157,78,135,141,141,
-13,150,151,151,89,95,95,103,109,109,173,247,58,146,36,97,117,117,181,55,
-167,162,191,209,172,251,187,148,146,145,145,81,92,215,97,100,196,186,47,
-229,114,153,145,145,17,38,39,167,40,151,135,8,130,224,134,58,37,165,12,
-81,212,161,94,111,176,190,182,198,210,242,50,203,203,43,52,155,13,148,6,
-207,247,145,66,216,4,106,187,77,167,211,166,221,234,208,238,180,83,112,
-70,140,141,141,112,248,240,17,134,203,195,204,93,191,198,165,203,23,201,
-100,2,134,71,70,40,20,138,228,243,121,162,48,100,117,101,153,82,105,136,
-143,61,243,49,198,199,38,144,66,240,198,27,111,112,225,210,101,134,71,71,
-17,66,80,89,95,231,192,190,25,246,239,223,79,24,71,140,141,140,48,57,57,
-249,158,15,200,221,155,185,81,63,173,62,213,78,64,147,82,14,124,67,90,157,
-38,215,150,174,144,37,207,250,226,6,165,204,16,71,247,31,39,10,98,84,172,
-136,76,141,32,240,201,231,115,52,27,53,242,133,2,229,242,48,171,171,171,
-252,249,87,191,198,39,63,249,113,78,158,60,201,212,212,52,159,248,228,207,
-243,221,239,252,21,149,202,6,229,97,171,103,229,121,30,158,239,147,203,
-102,185,114,229,50,75,75,11,220,117,244,46,246,205,76,35,165,96,118,118,
-150,102,171,149,38,232,100,154,237,182,73,182,108,38,67,166,88,192,77,69,
-33,86,86,215,89,94,89,195,243,60,242,185,44,229,114,153,161,82,137,210,
-80,137,124,62,79,38,147,65,74,73,54,155,37,155,205,50,51,51,243,95,238,
-19,76,99,143,78,187,77,179,221,162,86,171,83,175,86,169,84,171,180,59,29,
-155,159,17,130,108,46,71,38,151,35,137,19,218,157,14,97,216,161,211,233,
-16,134,33,157,48,164,19,117,104,181,90,68,81,196,216,216,24,83,83,19,212,
-235,85,206,157,61,67,20,69,12,143,140,48,84,178,127,95,54,155,163,213,106,
-176,178,178,204,208,208,48,31,123,250,99,76,140,79,224,186,46,111,188,246,
-26,63,124,254,69,238,190,247,30,4,16,71,17,205,70,141,108,238,78,124,223,
-39,12,163,45,159,255,123,121,78,135,187,91,57,250,94,21,13,247,170,146,
-184,219,27,210,104,52,88,94,93,162,60,52,204,229,249,243,76,14,77,115,199,
-228,113,116,12,72,67,130,198,247,125,242,5,219,8,181,182,178,194,248,228,
-20,165,82,9,165,19,190,252,229,63,69,24,195,125,247,221,207,244,212,20,
-159,252,228,39,121,238,185,239,177,182,190,74,121,8,138,197,34,190,31,144,
-9,2,178,185,28,181,74,133,159,252,228,39,20,10,69,38,38,38,152,153,153,
-97,113,113,145,102,203,14,207,148,194,182,178,118,101,103,16,144,65,16,
-100,2,178,197,34,158,231,227,56,246,111,168,55,154,212,106,117,196,252,
-124,170,176,225,146,205,100,9,50,1,129,31,16,100,2,50,153,12,158,231,225,
-184,174,221,49,247,56,163,189,107,105,227,56,65,197,49,177,74,232,116,66,
-43,123,19,70,68,81,72,187,221,177,150,91,41,155,219,144,14,153,172,5,131,
-82,154,56,142,137,66,203,18,134,97,135,40,10,9,195,136,48,10,45,56,218,
-33,173,86,155,40,142,25,26,26,194,117,37,87,46,95,34,138,35,134,74,37,198,
-39,198,201,231,139,228,243,89,124,63,160,86,169,176,186,186,194,248,248,
-56,31,121,234,41,38,198,39,144,142,195,233,119,78,241,181,175,125,157,251,
-30,124,200,142,24,16,130,213,21,171,116,88,40,20,241,125,31,165,98,92,215,
-189,45,250,57,220,157,22,247,173,10,181,237,197,138,36,42,70,165,146,146,
-158,244,112,157,77,49,101,33,4,190,239,227,122,14,153,92,6,55,47,209,217,
-16,145,85,20,135,3,174,94,90,226,248,137,163,100,91,89,70,71,70,56,115,
-230,12,35,163,163,228,243,185,158,156,232,239,254,238,239,243,249,95,253,
-85,238,123,224,126,166,166,166,248,204,103,62,205,223,124,255,111,152,187,
-118,13,165,21,67,67,195,4,129,103,23,120,38,67,161,88,164,82,169,112,249,
-242,197,148,89,10,136,19,104,181,218,41,32,186,213,178,105,41,72,183,79,
-187,87,215,228,225,123,62,110,198,195,117,93,28,41,122,115,63,162,68,209,
-220,168,18,134,33,73,146,160,180,78,123,179,211,12,181,1,207,117,145,206,
-206,110,133,74,20,113,90,193,172,148,194,104,141,198,142,107,112,92,151,
-76,16,224,185,62,153,108,182,71,17,119,171,158,227,216,246,194,36,113,108,
-193,17,71,68,113,68,24,197,169,181,176,150,163,221,110,211,106,181,104,
-167,50,157,205,102,157,86,179,78,190,144,103,124,220,82,180,217,108,142,
-108,46,135,64,176,186,186,66,173,186,193,193,131,7,249,208,135,62,204,80,
-121,8,41,36,167,79,157,226,79,254,228,75,28,56,124,132,114,121,200,22,147,
-182,219,172,44,47,113,226,248,9,50,217,44,217,124,142,133,133,37,238,188,
-243,206,94,236,241,255,214,76,251,255,98,224,216,173,191,251,102,66,208,
-123,81,31,209,90,83,109,85,88,170,45,98,132,165,52,209,134,114,110,152,
-241,226,4,190,231,51,53,53,197,83,79,61,133,49,134,147,39,79,50,54,58,78,
-110,216,69,41,136,85,128,190,168,144,142,131,239,251,76,78,78,112,246,252,
-57,230,231,231,56,116,248,14,50,42,21,11,235,132,252,254,23,255,128,255,
-42,250,101,30,121,255,163,148,135,135,249,212,39,127,158,151,95,121,153,
-83,167,78,145,196,49,195,163,163,148,138,67,4,65,134,32,147,33,155,14,145,
-111,212,27,118,152,124,28,19,39,138,36,142,48,218,244,213,42,245,229,190,
-123,245,77,162,215,186,42,0,92,23,71,74,28,71,226,73,159,32,99,255,141,
-40,142,72,226,132,36,81,36,90,17,69,9,90,67,187,19,14,110,26,235,43,42,
-148,210,246,84,116,51,202,142,235,226,122,30,129,239,225,186,93,53,15,133,
-54,198,42,70,170,36,181,34,9,73,18,19,39,49,81,180,105,57,58,97,135,78,
-24,18,118,66,154,141,22,181,122,213,150,223,8,65,224,103,200,23,242,20,
-11,5,114,249,60,249,92,158,108,46,75,38,147,165,211,105,179,180,176,64,
-24,134,220,123,239,73,30,125,236,49,178,153,28,82,10,126,252,234,143,249,
-187,191,253,91,166,247,31,100,58,237,2,20,66,176,184,48,143,35,37,227,227,
-99,248,158,237,243,48,70,221,54,65,185,187,55,183,118,48,194,183,63,182,
-83,211,212,70,115,157,11,171,231,144,142,160,16,20,145,66,48,95,153,99,
-182,122,153,99,241,9,142,78,30,163,92,46,83,46,151,81,74,245,138,239,146,
-36,33,138,5,81,51,34,151,203,209,106,53,241,60,159,177,241,9,70,210,120,
-99,125,125,141,209,145,81,180,214,76,79,79,17,4,62,223,254,246,255,77,165,
-82,229,169,167,63,74,174,144,231,67,31,250,48,35,35,35,188,250,234,171,
-44,47,44,81,30,25,166,88,42,17,248,62,129,239,147,9,50,228,114,121,218,
-237,22,205,102,147,102,163,73,187,221,102,109,117,137,86,179,78,121,120,
-184,23,47,117,227,17,250,170,99,101,159,144,129,16,86,147,215,6,218,105,
-177,97,10,46,41,4,142,148,8,71,32,101,218,100,52,48,245,221,255,30,203,
-27,173,86,23,156,6,116,106,137,181,214,40,173,45,0,85,98,133,185,163,152,
-40,140,9,35,235,74,69,81,68,187,221,166,90,173,82,217,216,160,213,108,34,
-4,20,11,150,165,203,229,243,228,82,34,34,147,205,144,205,230,144,82,178,
-177,190,206,202,202,50,153,32,224,67,31,250,48,247,220,125,55,210,115,49,
-74,243,220,95,125,151,51,103,207,114,248,232,93,68,113,140,239,251,56,142,
-195,234,202,10,149,141,10,35,35,101,198,198,198,240,60,215,230,77,178,217,
-94,63,207,109,227,86,237,84,58,178,19,48,186,168,239,154,241,46,31,223,
-173,204,237,102,63,163,36,100,169,177,128,112,96,178,52,77,172,98,18,173,
-56,56,122,152,249,234,53,174,215,174,114,231,196,93,61,112,57,66,179,86,
-109,145,47,248,44,95,95,34,55,50,142,82,10,215,117,89,93,93,101,106,114,
-138,82,169,200,212,212,36,245,122,141,249,185,235,100,179,57,242,121,59,
-211,175,88,178,85,159,167,78,189,195,242,210,18,255,224,31,254,34,165,82,
-153,7,30,124,144,137,201,73,94,126,233,101,174,93,191,70,216,105,83,30,
-30,161,84,42,145,205,230,200,133,29,194,40,79,177,80,164,83,234,208,74,
-129,210,106,181,88,90,156,103,99,109,149,66,169,196,232,216,56,35,229,97,
-164,148,184,142,139,144,241,86,9,155,94,107,170,238,149,228,59,142,68,41,
-97,245,151,205,128,225,148,70,111,133,134,232,206,99,237,130,102,179,55,
-68,10,153,234,6,167,74,237,70,111,90,141,148,49,76,146,196,254,172,148,
-101,164,154,45,54,54,54,88,93,93,165,94,171,18,71,17,158,239,49,60,92,38,
-159,207,147,203,89,226,32,200,100,201,100,50,100,130,12,158,239,209,106,
-53,89,94,90,162,217,108,178,127,223,126,30,127,252,113,166,166,166,145,
-142,164,86,171,242,23,95,251,26,149,74,149,135,31,121,148,217,217,171,20,
-74,54,235,221,104,52,88,92,152,199,247,61,166,166,166,41,165,132,200,226,
-210,18,65,16,108,97,43,223,203,1,121,175,100,125,167,60,198,22,81,226,1,
-90,85,93,198,163,11,140,40,178,106,233,221,162,178,102,167,193,70,123,141,
-225,194,8,213,86,141,115,115,231,185,190,50,199,68,121,130,145,252,48,181,
-118,133,3,67,135,145,142,109,209,76,194,13,94,125,237,44,133,145,33,214,
-23,22,73,164,143,68,81,175,215,104,52,219,204,204,76,247,124,240,149,149,
-21,226,40,98,109,125,141,177,177,113,124,223,190,241,157,78,135,99,199,
-143,179,182,182,198,11,63,252,1,147,147,147,140,79,76,80,42,150,184,227,
-142,59,8,130,128,229,229,101,54,54,214,49,198,144,205,229,200,229,243,248,
-190,141,59,130,32,176,59,103,46,71,46,151,35,72,39,223,54,27,117,86,86,
-150,89,93,181,187,98,171,221,198,17,178,231,242,184,174,183,101,135,151,
-98,147,249,50,90,163,181,157,107,177,57,23,99,231,185,227,221,118,219,238,
-103,225,116,93,43,215,195,247,187,5,123,38,181,26,105,151,165,209,68,113,
-76,171,209,100,99,99,131,171,215,174,114,229,242,37,102,175,92,97,121,121,
-137,56,14,201,230,178,12,143,140,48,58,54,202,200,200,48,229,114,153,82,
-105,136,98,177,68,161,88,76,99,56,205,242,210,18,75,139,11,184,190,207,
-35,143,188,159,39,159,120,146,242,232,8,174,116,57,127,254,28,191,255,123,
-191,135,144,30,79,126,232,195,44,44,44,16,171,132,114,121,136,40,138,184,
-116,241,34,66,64,46,151,227,196,221,119,51,50,58,138,239,121,92,191,118,
-29,199,145,140,141,141,245,44,204,207,162,214,255,255,121,64,190,27,171,
-52,8,40,90,235,222,240,195,48,12,123,202,18,253,115,28,92,41,113,36,204,
-173,207,89,17,97,199,99,181,177,204,244,240,4,126,58,147,218,73,103,86,
-52,171,53,154,157,58,181,70,131,168,213,224,202,181,87,104,132,134,86,109,
-133,98,105,152,251,238,187,23,132,96,102,122,31,35,35,35,40,165,88,93,91,
-231,220,217,179,156,56,113,55,197,66,158,36,78,152,95,88,224,190,247,61,
-192,133,243,231,248,157,255,227,119,248,200,211,31,230,153,103,62,65,161,
-80,224,177,199,30,227,200,225,195,188,254,250,235,92,184,112,129,102,163,
-65,121,120,132,161,161,33,50,153,44,113,98,203,50,226,48,34,138,98,203,
-234,68,33,97,199,6,177,173,86,155,106,181,194,218,234,10,231,206,190,75,
-46,159,99,116,100,148,114,217,186,16,99,227,227,20,139,69,50,129,5,90,16,
-228,241,125,143,118,59,36,140,58,54,166,17,54,192,54,221,65,48,55,196,116,
-114,75,1,161,231,186,22,180,153,12,158,235,17,199,33,97,164,8,59,29,234,
-141,6,171,171,171,172,174,172,178,81,217,96,99,99,131,118,218,163,239,122,
-46,249,92,142,177,177,81,50,217,172,141,131,2,159,32,8,236,70,224,123,248,
-126,128,231,121,68,113,204,202,242,10,171,43,203,8,33,56,126,252,4,15,60,
-244,0,227,99,19,56,142,67,187,211,226,219,127,249,29,190,255,253,239,115,
-247,189,39,121,228,253,143,88,23,173,82,101,98,98,12,165,20,151,46,94,32,
-78,34,74,133,2,195,195,195,76,78,76,246,214,203,70,173,202,228,216,232,
-192,196,241,123,214,173,218,109,38,224,78,52,108,127,203,107,28,199,212,
-235,117,234,245,58,19,19,19,72,41,137,162,200,198,12,97,136,50,49,29,213,
-36,140,59,20,50,89,102,38,38,72,72,104,196,27,40,54,231,116,232,168,202,
-133,243,215,8,140,230,202,153,75,100,60,159,7,30,121,144,11,63,126,141,
-31,45,213,240,179,5,106,245,58,197,66,145,92,46,199,145,35,119,216,100,
-223,208,16,43,255,15,123,239,249,29,201,125,222,123,126,42,87,117,206,104,
-100,12,6,147,135,164,72,81,162,68,203,81,78,235,112,108,223,87,94,239,95,
-179,187,127,202,218,222,245,190,184,215,246,189,14,178,124,117,164,93,43,
-81,162,152,134,147,19,114,234,220,93,93,185,106,95,84,85,163,49,68,26,202,
-222,75,137,196,57,56,131,1,208,64,163,171,158,223,19,190,225,105,181,120,
-248,240,62,215,111,220,164,80,136,167,80,91,91,91,92,187,126,29,77,51,248,
-214,183,254,149,159,189,251,30,127,254,231,127,206,245,27,215,153,109,206,
-242,59,191,243,187,92,191,126,157,15,222,127,159,141,205,45,6,253,30,197,
-82,137,66,169,68,62,159,39,200,132,120,174,139,155,76,124,60,207,141,235,
-120,55,110,104,29,55,193,8,44,155,221,221,93,54,54,54,38,164,65,221,48,
-40,228,11,20,139,69,114,185,28,185,108,14,205,208,147,82,76,64,81,180,152,
-35,21,134,241,148,75,56,222,127,132,65,132,144,124,221,247,93,2,63,32,12,
-3,108,219,193,52,135,140,70,38,253,126,159,209,104,136,101,89,19,98,162,
-170,42,24,134,65,163,81,159,140,145,53,77,71,213,226,172,168,170,42,170,
-34,163,168,26,170,166,34,137,34,142,237,176,183,191,75,251,176,67,24,6,
-44,45,45,241,234,171,175,177,184,184,128,172,200,8,130,200,253,187,247,
-248,171,191,250,43,246,15,14,121,235,235,111,115,101,237,10,190,231,179,
-181,181,77,161,144,71,86,20,238,223,187,199,104,52,162,92,42,34,43,10,43,
-151,46,145,201,102,226,50,108,56,196,52,77,180,249,185,73,57,149,2,160,
-159,121,156,227,60,210,225,121,76,221,48,12,9,146,61,222,47,214,7,97,228,
-97,7,14,1,30,182,231,211,234,183,24,10,93,42,5,141,32,138,98,243,230,40,
-194,30,244,176,92,11,93,19,25,217,22,3,215,99,123,103,151,145,168,208,104,
-150,233,182,218,236,237,31,80,200,229,17,68,88,90,94,98,99,99,147,48,60,
-164,82,46,211,238,196,25,228,242,218,26,133,66,129,110,183,71,177,80,96,
-110,126,150,95,249,181,95,231,221,159,252,132,255,245,127,251,223,249,230,
-55,127,147,63,251,211,63,163,90,171,114,121,109,141,197,133,69,158,62,123,
-198,221,187,31,179,189,189,77,183,211,161,88,44,81,40,22,227,210,42,25,
-14,120,174,23,215,244,158,135,227,121,248,201,36,200,119,61,220,52,219,
-248,113,240,120,174,199,112,56,160,221,106,225,249,222,100,186,117,100,
-8,114,228,171,174,235,122,44,188,74,136,135,97,16,226,216,214,148,110,118,
-218,19,55,102,252,42,74,60,76,80,84,149,92,62,135,42,171,200,201,128,65,
-81,228,120,196,172,168,49,103,74,85,98,16,52,41,253,84,69,33,140,34,76,
-51,70,208,187,221,46,162,32,176,176,176,192,141,27,215,89,89,185,148,136,
-214,68,14,14,247,248,175,127,247,247,252,203,191,252,43,245,102,147,183,
-190,254,54,115,179,179,104,186,202,246,214,14,130,40,144,201,24,60,124,
-112,159,225,112,64,185,92,70,85,100,42,149,10,139,75,139,113,153,137,192,
-97,171,141,61,182,38,171,39,166,223,63,211,193,113,214,62,142,211,74,170,
-244,227,180,1,47,149,74,73,9,161,225,121,94,60,118,148,36,180,64,67,112,
-66,156,112,64,190,20,208,238,154,244,7,45,102,102,52,236,96,76,70,170,38,
-83,160,8,15,141,185,213,219,44,53,139,108,61,219,96,123,239,144,189,253,
-46,70,185,193,237,102,137,191,251,47,255,76,171,221,161,144,205,50,55,63,
-71,38,155,229,202,149,53,70,163,97,124,83,69,208,58,60,192,117,28,174,221,
-184,73,38,99,176,187,183,199,165,75,43,84,202,37,110,191,242,10,153,108,
-150,255,250,15,255,196,143,126,244,99,254,236,79,255,132,95,255,141,223,
-32,151,203,113,227,198,117,86,47,175,178,179,189,205,221,187,247,216,216,
-88,167,215,235,98,100,50,148,74,37,114,185,60,249,92,14,4,33,158,6,165,
-77,111,50,162,13,2,47,249,92,144,140,81,125,194,32,192,79,100,193,65,16,
-16,38,250,249,48,12,9,162,136,40,8,147,137,83,240,137,19,37,95,200,77,220,
-72,82,58,186,148,144,19,37,69,70,22,37,36,57,214,68,72,178,140,44,201,200,
-74,60,8,145,146,143,149,100,48,162,200,49,14,19,17,219,27,29,30,30,210,
-237,116,48,199,38,186,166,113,245,202,85,174,93,187,202,220,252,60,154,
-170,33,8,208,237,246,248,254,191,253,27,255,237,191,253,3,123,7,135,92,
-190,114,133,75,203,43,20,139,113,54,28,244,135,244,7,125,138,229,18,15,
-30,220,103,48,24,80,171,213,48,180,88,139,115,245,234,85,178,153,44,130,
-0,253,254,144,222,96,128,101,199,44,230,211,252,204,62,243,172,220,151,
-165,171,155,166,137,235,186,147,18,33,8,2,36,73,74,56,71,18,65,24,112,104,
-110,176,101,126,140,25,181,240,195,128,32,244,65,240,17,3,157,197,204,171,
-92,171,125,5,132,40,185,201,34,36,17,124,215,195,182,45,122,163,120,95,
-135,99,155,252,63,223,253,46,213,230,28,154,162,242,246,215,191,26,223,
-168,126,192,59,239,252,152,237,237,45,92,215,103,48,26,209,237,116,48,12,
-131,43,87,174,17,132,33,186,166,49,63,63,71,187,221,102,103,103,135,221,
-189,125,54,214,55,24,13,7,92,190,180,194,239,255,222,239,242,149,183,190,
-74,161,80,136,155,253,16,58,237,67,158,60,121,194,227,199,79,232,118,218,
-132,81,68,54,155,165,80,44,198,104,175,166,197,187,48,162,40,254,155,252,
-163,155,63,8,252,68,215,145,76,145,194,144,48,136,203,162,233,25,127,244,
-162,188,149,41,125,199,68,38,46,78,116,231,146,20,47,226,145,36,49,102,
-245,138,73,192,200,241,214,43,81,150,227,73,150,36,33,43,241,82,157,40,
-8,177,29,59,166,148,244,122,12,71,67,64,160,90,169,178,186,122,105,66,84,
-148,21,137,8,24,244,250,252,248,199,63,230,219,255,250,175,236,236,238,
-97,100,114,148,74,37,26,141,58,205,153,38,243,11,115,40,138,194,179,103,
-235,8,2,108,110,60,199,118,29,106,149,42,25,195,32,138,34,22,22,22,248,
-202,87,190,50,113,112,252,248,254,125,122,189,62,195,94,135,175,124,229,
-43,147,82,51,61,64,83,225,211,47,68,112,188,140,134,220,243,226,82,35,45,
-173,68,81,36,147,201,28,255,30,223,161,53,222,98,219,186,139,31,184,68,
-132,200,130,66,69,93,162,153,91,35,171,21,38,19,168,23,203,52,215,117,25,
-143,199,180,90,45,238,221,187,71,128,128,227,120,220,190,117,131,107,87,
-214,240,131,128,94,191,199,15,127,240,67,204,225,8,219,117,25,153,38,157,
-118,27,4,88,189,124,21,77,211,168,148,43,148,75,69,118,118,119,217,217,
-222,97,119,111,143,177,53,198,247,124,28,123,204,210,194,2,191,242,141,
-183,121,243,203,111,82,171,215,38,207,221,113,92,118,119,119,121,246,236,
-41,155,155,155,244,251,125,130,32,36,147,49,146,233,78,14,35,99,36,32,87,
-108,184,16,132,65,18,12,33,81,24,17,18,17,250,65,28,4,201,196,42,140,166,
-215,30,79,105,56,78,177,248,17,69,17,65,60,210,115,8,130,24,7,68,50,42,
-22,69,49,222,0,27,69,56,142,139,57,138,251,146,193,160,63,65,191,11,133,
-2,139,139,139,172,172,172,48,51,211,36,147,49,136,136,203,184,86,235,128,
-119,127,250,46,63,254,241,59,236,238,239,163,27,25,20,69,193,243,125,42,
-229,50,115,179,179,204,47,204,83,46,149,88,223,216,164,213,106,113,176,
-191,139,32,8,84,171,213,248,154,71,144,205,101,248,218,215,190,70,177,80,
-68,16,5,246,246,14,120,248,248,9,182,53,70,18,34,110,222,188,57,249,126,
-85,85,39,35,127,85,85,63,251,32,224,203,44,166,137,162,40,169,99,229,73,
-233,112,146,216,73,18,21,50,82,13,213,157,67,12,92,194,40,66,145,84,12,
-173,129,34,233,39,34,234,211,233,54,13,202,124,62,207,243,245,77,102,102,
-231,120,239,189,15,88,152,155,71,55,52,42,165,10,55,111,220,228,253,247,
-223,155,140,81,37,81,164,73,236,37,60,0,0,32,0,73,68,65,84,219,237,114,
-255,222,199,49,241,47,138,48,116,141,153,70,61,110,168,93,7,103,215,65,
-210,68,42,213,50,182,231,243,143,255,244,47,252,224,251,63,228,149,87,94,
-225,203,95,126,157,197,197,69,52,77,101,101,101,153,149,149,101,28,199,
-229,224,96,159,173,173,45,182,183,183,233,116,58,116,218,109,194,48,140,
-89,188,9,41,79,79,184,84,154,166,29,51,100,6,33,177,29,10,207,194,253,142,
-253,55,197,80,68,81,76,198,221,73,174,9,99,225,148,235,186,12,135,38,182,
-101,99,154,35,198,166,153,208,95,98,246,109,173,90,99,238,246,45,102,103,
-231,104,212,27,24,134,17,255,156,48,194,178,44,54,54,54,248,240,195,15,
-185,123,247,46,35,115,140,166,27,204,205,47,48,30,199,180,146,92,62,79,
-181,90,163,222,168,83,41,87,216,222,217,225,241,147,71,152,195,33,153,76,
-134,82,185,76,54,147,153,216,18,221,188,121,43,214,247,135,17,142,227,241,
-124,115,19,85,85,216,219,235,177,188,48,127,172,215,248,133,34,30,190,12,
-119,234,197,62,229,180,169,67,20,69,244,199,125,158,117,30,227,135,1,25,
-45,139,128,192,222,96,151,3,243,144,181,224,42,151,234,151,143,245,48,39,
-77,203,36,73,66,215,117,44,123,140,174,107,88,182,205,15,126,248,35,190,
-249,59,191,73,232,135,172,44,175,96,154,35,30,61,124,68,198,144,226,19,
-85,150,232,247,251,236,108,111,211,235,245,176,109,135,235,215,174,50,59,
-59,23,143,104,29,143,195,195,3,198,227,49,249,92,142,98,177,132,40,192,
-71,119,239,113,247,222,61,230,102,155,220,188,113,131,181,43,107,212,27,
-13,52,77,101,113,113,145,197,197,69,194,48,196,52,77,246,247,247,39,130,
-163,78,167,67,191,215,155,4,183,162,40,147,32,81,18,13,135,156,28,38,162,
-32,162,40,49,101,59,94,10,115,60,48,34,33,229,73,121,132,97,178,138,58,
-153,152,185,142,51,193,151,92,215,77,74,175,184,177,175,86,171,92,187,86,
-163,209,104,208,104,204,144,205,102,209,52,117,210,232,187,174,195,225,
-78,139,103,79,159,114,255,254,3,14,14,15,9,129,108,190,72,38,95,196,26,
-143,99,174,149,101,161,235,26,141,90,141,153,153,6,51,51,77,182,119,182,
-121,247,167,63,33,12,67,202,229,50,133,66,129,76,210,87,4,97,192,149,43,
-107,44,45,46,78,50,221,147,39,79,25,155,38,153,108,22,219,52,227,195,98,
-74,224,244,98,160,124,102,131,227,52,76,227,60,207,170,96,170,201,140,189,
-109,157,73,29,25,35,228,46,123,195,29,172,112,204,92,113,33,118,25,9,67,
-230,42,243,236,244,55,217,232,61,99,165,182,58,149,54,124,58,189,81,108,
-96,16,5,71,205,104,242,158,203,100,56,60,60,164,209,168,243,232,241,19,
-106,141,26,95,249,242,151,113,93,143,235,183,110,98,59,14,27,235,27,100,
-12,61,121,76,140,15,244,122,61,238,222,253,136,94,175,195,91,111,189,197,
-210,226,98,130,40,59,116,58,189,248,180,69,156,128,100,170,162,224,120,
-62,239,252,244,93,222,251,240,67,154,141,6,75,203,75,44,45,46,198,160,150,
-170,146,207,231,201,231,243,172,173,173,17,65,108,91,218,237,209,237,245,
-226,49,235,112,200,96,48,136,199,220,131,65,146,53,62,249,206,139,36,146,
-228,115,41,181,251,197,209,185,174,235,20,10,133,201,239,47,149,74,20,139,
-69,74,165,18,178,166,161,37,245,123,148,144,23,77,115,68,187,221,97,123,
-107,155,173,68,30,236,249,62,170,170,81,159,105,226,121,46,227,177,133,
-109,89,216,86,140,227,72,178,68,163,209,96,97,97,158,122,173,198,131,251,
-177,226,81,211,53,234,229,114,76,72,204,24,8,17,4,190,207,242,210,18,87,
-175,93,67,16,37,130,208,231,195,15,62,160,219,27,160,105,58,237,86,139,
-76,198,152,244,22,103,237,129,249,204,142,114,207,122,178,167,81,76,82,
-195,132,244,241,41,58,158,205,102,17,69,17,199,179,112,67,155,217,194,28,
-99,219,98,253,96,29,199,117,121,117,245,21,46,85,87,217,108,63,39,12,66,
-36,57,118,27,241,221,33,31,223,125,200,218,141,155,212,11,58,195,94,15,
-55,113,184,116,61,159,108,46,199,198,198,6,175,126,233,203,20,10,121,126,
-244,195,119,112,45,139,175,191,253,54,66,4,175,189,250,26,190,231,179,183,
-183,139,161,105,19,0,77,85,84,6,195,1,59,59,91,252,247,127,29,242,250,235,
-111,176,180,180,148,8,181,66,250,131,65,108,201,47,37,53,61,177,228,180,
-80,44,34,201,50,182,235,113,239,254,67,30,62,122,68,33,151,167,86,175,81,
-175,55,168,85,43,113,115,169,170,104,170,198,204,76,236,210,49,253,26,249,
-190,31,147,254,18,16,209,182,44,188,228,115,158,231,29,159,16,38,193,17,
-69,81,156,113,146,76,19,103,32,131,76,38,41,215,68,9,249,132,45,73,94,16,
-98,154,99,70,163,1,157,78,143,118,59,6,7,77,203,34,8,226,201,98,181,94,
-39,240,253,24,208,180,236,152,2,159,232,58,198,86,76,217,111,206,52,89,
-88,88,32,240,61,190,255,253,127,163,223,235,82,44,149,41,150,10,100,179,
-57,116,93,39,10,3,124,223,163,57,59,203,237,87,94,153,248,36,127,239,59,
-223,101,96,154,148,43,21,20,69,97,119,103,155,229,197,133,201,223,147,186,
-92,254,194,200,100,47,34,111,61,233,115,65,16,76,254,72,215,117,227,109,
-62,73,131,158,150,73,138,40,33,75,34,235,237,117,122,195,30,170,164,176,
-55,220,101,182,84,67,149,98,68,93,140,226,210,192,26,244,25,142,122,12,
-204,1,121,121,196,221,15,62,68,173,86,145,157,17,207,119,246,9,45,139,238,
-126,44,121,45,149,203,248,65,192,119,190,251,255,50,182,198,252,222,239,
-254,46,146,33,242,230,155,111,242,238,207,222,101,119,103,23,85,81,145,
-36,249,136,205,170,233,116,187,93,190,251,221,239,48,63,63,79,115,118,142,
-229,229,37,214,215,55,25,12,251,201,78,10,113,138,254,17,151,43,233,187,
-44,203,8,64,183,219,167,211,237,241,88,146,209,117,45,46,203,18,233,104,
-92,202,104,19,115,133,20,99,120,209,84,226,231,212,56,77,228,179,182,237,
-48,30,155,12,135,35,6,131,33,99,115,132,237,184,4,97,124,109,244,76,22,
-61,155,197,247,3,28,219,73,196,78,14,150,147,0,153,182,141,99,219,19,231,
-251,217,153,25,178,89,131,167,79,31,211,233,180,49,12,131,153,102,147,92,
-46,23,211,105,52,109,226,92,217,156,157,229,141,215,223,136,1,69,73,226,
-239,255,246,239,216,216,218,225,198,173,91,136,98,76,113,151,196,184,95,
-204,38,20,157,23,5,111,191,48,32,224,69,70,186,211,193,148,142,112,77,211,
-100,56,28,82,175,215,39,168,121,24,134,120,190,79,24,249,216,129,137,237,
-90,148,114,121,102,107,117,60,60,134,110,111,130,144,11,130,64,224,59,116,
-58,38,197,92,134,97,167,199,238,200,69,175,204,144,145,93,246,91,54,75,
-243,53,214,239,220,103,56,28,243,211,31,191,195,111,255,222,239,98,219,
-22,205,217,38,223,251,222,191,65,24,242,251,255,211,31,128,0,111,190,249,
-38,31,126,240,33,155,91,155,40,178,132,156,92,24,45,17,60,141,70,35,246,
-246,227,230,186,92,174,80,44,228,136,136,48,77,243,72,9,40,190,176,3,35,
-161,146,171,154,134,110,24,168,9,127,76,16,69,92,207,231,160,213,98,255,
-240,48,33,37,74,137,7,109,236,64,162,106,42,170,114,244,175,172,200,241,
-130,153,228,241,47,150,86,81,16,18,70,169,208,41,161,157,39,8,125,218,107,
-120,158,71,24,69,248,137,214,35,189,30,153,92,30,35,23,143,145,93,47,6,
-39,29,215,157,160,250,110,34,114,114,19,116,223,182,109,204,177,69,24,134,
-228,50,6,131,65,143,131,131,29,84,53,30,96,228,114,121,140,76,150,140,110,
-32,43,50,158,231,18,248,30,43,203,203,220,188,117,107,98,237,249,237,127,
-249,23,126,250,238,123,124,237,237,95,129,4,168,220,222,218,96,118,102,
-38,33,120,26,199,72,169,233,161,250,11,213,144,95,116,151,248,196,28,33,
-8,38,194,25,223,247,145,18,190,20,16,207,254,35,15,39,112,226,32,113,3,
-122,102,143,72,13,9,36,1,63,114,18,228,55,34,180,251,28,28,238,50,232,142,
-193,244,113,179,42,171,183,222,68,25,60,163,213,113,184,182,54,71,111,99,
-131,153,197,21,198,163,54,155,155,27,52,103,102,9,131,144,133,197,37,254,
-241,159,191,133,235,121,252,209,31,253,49,134,110,240,198,151,223,192,200,
-102,120,250,248,17,81,4,134,174,161,170,10,154,22,11,132,50,217,12,195,
-225,144,65,127,64,183,219,73,202,130,40,150,203,78,173,37,59,182,121,105,
-218,235,150,152,174,161,8,18,170,161,79,20,126,241,107,40,16,4,30,230,216,
-162,211,235,227,123,177,224,41,138,194,100,159,120,188,142,76,150,36,78,
-94,23,27,37,150,168,225,177,129,135,40,73,200,178,130,166,41,24,186,142,
-36,41,9,139,23,194,48,74,0,200,32,86,13,250,62,190,231,30,11,46,199,73,
-222,237,88,65,104,91,54,163,161,137,101,143,145,101,1,211,244,209,116,157,
-90,189,78,33,31,211,216,245,132,173,155,10,152,32,226,234,213,171,92,189,
-122,45,198,83,34,248,214,63,253,51,63,250,209,59,220,188,125,27,77,143,
-71,180,219,91,155,168,178,76,173,86,139,185,102,169,26,242,133,178,234,
-23,2,33,191,168,120,105,250,49,233,78,142,82,169,20,159,204,154,134,239,
-251,71,181,114,168,35,186,33,118,56,64,82,67,6,61,139,238,110,159,218,172,
-142,160,200,241,122,98,65,64,16,34,198,35,19,81,203,114,229,114,149,131,
-182,133,34,195,195,247,127,66,177,168,162,68,38,119,31,111,160,229,242,
-148,51,38,136,37,158,60,125,202,204,76,147,108,54,75,24,69,92,190,114,157,
-239,124,231,187,248,158,203,31,255,241,159,160,170,42,175,220,186,69,33,
-151,231,238,221,143,177,108,59,158,22,101,213,248,244,215,117,12,195,32,
-159,203,99,154,35,70,195,17,158,103,227,184,46,190,231,224,123,62,97,122,
-80,76,109,145,140,95,159,169,210,107,202,192,89,150,164,100,15,159,136,
-40,198,190,193,114,178,152,62,8,66,252,48,36,10,98,113,82,20,198,116,243,
-83,142,31,68,73,65,82,196,201,141,36,139,105,112,200,168,9,21,100,66,91,
-15,163,120,59,86,16,38,180,245,32,81,0,250,56,174,123,196,7,75,133,78,99,
-139,225,176,207,112,56,194,247,28,52,77,35,147,201,144,203,229,200,230,
-114,19,26,187,97,100,98,231,68,207,195,178,108,12,77,227,250,141,235,44,
-46,45,197,46,248,158,203,63,255,195,63,242,252,249,6,151,214,174,82,44,
-150,38,37,246,254,238,14,43,43,43,84,42,177,52,64,215,245,99,101,213,47,
-196,30,242,139,72,21,207,98,232,122,158,55,1,255,82,180,60,125,215,20,29,
-77,209,24,122,38,185,124,72,32,132,184,190,143,166,219,216,129,79,81,158,
-75,220,59,34,36,163,196,242,90,145,122,201,160,118,208,35,20,35,118,54,
-55,209,139,21,26,213,42,178,81,32,12,67,46,93,62,224,249,214,54,235,235,
-207,121,252,232,1,55,110,190,130,31,248,132,65,200,218,213,235,220,127,
-240,152,65,255,47,249,211,255,244,159,40,151,75,172,172,92,34,159,207,243,
-241,199,119,104,181,218,177,187,120,146,69,84,85,69,215,226,155,32,155,
-203,97,141,45,204,113,44,120,26,12,186,152,230,128,92,174,64,185,82,129,
-168,20,255,93,169,193,154,192,100,239,120,154,85,2,65,64,146,68,162,40,
-140,215,23,136,47,238,37,143,8,147,141,26,76,14,162,104,146,77,226,111,
-21,143,163,229,199,112,244,41,125,59,36,122,14,8,211,76,147,208,90,38,99,
-95,47,38,78,186,174,135,101,91,12,250,67,218,157,54,230,104,128,31,4,104,
-154,70,169,88,141,3,34,113,93,209,245,88,236,164,170,42,2,177,139,138,231,
-186,212,170,85,110,222,188,69,165,18,187,186,116,187,93,254,246,63,255,
-103,16,68,150,47,95,198,118,92,20,53,166,175,60,124,112,143,106,53,118,
-25,41,167,211,173,164,172,58,113,33,207,103,85,207,113,154,178,239,180,
-128,56,171,97,151,19,106,117,74,7,144,196,120,181,176,227,15,241,165,62,
-134,17,145,201,8,8,130,143,33,20,89,204,222,166,148,105,196,143,85,117,
-50,134,129,32,201,232,25,35,118,24,41,151,169,215,106,228,10,37,116,93,
-67,146,68,164,196,165,144,40,162,211,110,99,89,54,141,70,3,223,247,8,130,
-144,74,181,70,16,132,252,232,7,63,160,222,168,211,104,204,96,24,58,179,
-179,115,136,162,68,127,208,77,172,118,98,11,126,69,141,9,122,154,166,198,
-102,8,154,158,136,127,98,255,170,177,105,210,237,118,24,12,251,88,214,56,
-190,65,101,17,89,86,144,100,113,130,51,28,173,35,62,90,37,32,10,98,82,34,
-133,19,213,222,180,158,227,100,202,246,244,200,156,73,134,18,5,9,81,142,
-151,221,203,146,18,147,16,147,12,148,142,212,3,223,143,41,241,65,220,172,
-143,70,35,58,157,14,219,91,155,108,111,111,209,58,220,199,247,93,50,134,
-65,165,92,161,82,169,196,206,34,197,34,133,100,52,156,205,230,80,84,133,
-192,247,24,155,38,146,36,178,182,118,149,219,175,190,74,62,31,11,151,30,
-63,124,196,95,255,229,95,83,169,214,88,93,187,202,222,222,30,165,82,76,
-212,220,88,95,199,119,108,46,93,90,101,110,110,142,74,165,114,12,17,79,
-199,252,105,223,49,61,182,254,204,151,85,39,245,21,167,5,140,162,196,167,
-239,105,142,135,162,40,82,212,235,136,194,109,162,129,136,27,218,132,81,
-136,33,231,168,27,11,84,50,243,71,101,132,120,252,119,135,97,136,158,80,
-81,142,100,170,71,107,214,28,199,193,178,44,30,61,122,132,97,24,84,42,85,
-194,32,98,56,28,178,184,184,72,165,90,225,47,255,143,191,226,27,223,248,
-21,126,243,155,223,36,155,205,112,251,214,45,102,154,13,238,223,187,199,
-225,225,33,162,24,160,168,42,170,154,37,8,13,124,215,195,201,58,71,154,
-107,123,202,136,192,52,105,181,14,216,219,219,69,83,53,74,165,18,213,90,
-141,102,179,73,185,84,78,4,83,74,210,188,39,1,35,136,177,198,37,105,174,
-163,48,34,20,162,120,241,82,116,186,216,233,232,117,158,90,140,35,137,168,
-138,130,146,136,170,194,48,254,249,17,32,36,141,187,57,50,233,245,122,236,
-239,239,209,106,181,233,247,123,184,142,131,40,75,232,154,30,31,20,153,
-12,25,67,159,0,148,170,166,39,195,10,21,81,18,241,220,248,231,4,190,79,
-189,209,224,234,149,107,212,235,117,4,69,34,244,66,190,253,173,88,211,241,
-250,27,111,114,245,250,53,238,221,187,135,110,24,100,179,89,14,246,247,
-233,182,14,88,93,93,141,29,31,79,160,138,156,134,225,124,38,185,85,39,77,
-166,206,50,115,59,41,187,156,101,7,234,7,62,237,81,155,173,238,243,35,205,
-115,20,81,205,214,152,47,47,98,168,198,39,94,160,148,235,63,253,113,138,
-60,251,190,143,53,54,105,181,59,236,237,237,241,248,241,99,54,183,182,184,
-188,118,21,35,147,165,219,237,226,58,46,55,110,92,195,28,153,124,247,59,
-255,157,70,189,198,255,252,23,127,193,226,210,34,126,16,224,58,14,27,155,
-155,60,126,244,136,225,112,132,36,203,168,201,178,199,48,140,38,116,244,
-88,207,17,55,177,174,147,88,217,216,49,181,98,60,30,79,244,208,186,97,80,
-44,20,40,151,171,84,42,21,106,213,42,229,74,57,217,67,161,33,74,98,44,91,
-77,244,33,190,31,196,126,178,137,118,118,146,61,132,227,70,14,162,36,161,
-40,82,236,142,162,40,200,146,148,216,237,196,13,117,183,215,165,211,106,
-211,238,116,232,118,187,12,250,221,216,26,52,233,117,50,134,65,38,147,69,
-55,116,244,36,16,98,246,180,58,241,242,85,21,5,81,16,112,61,151,177,57,
-198,245,92,242,185,2,107,107,171,204,47,46,198,217,85,150,88,223,220,228,
-111,254,234,175,217,217,221,231,235,223,248,6,151,47,175,178,179,179,203,
-193,193,1,179,243,115,12,7,3,158,61,126,200,252,252,60,87,174,92,97,110,
-110,46,49,217,62,106,196,167,3,226,101,122,220,255,225,196,195,211,128,
-190,139,148,93,41,183,42,229,235,79,159,254,135,195,67,158,116,30,98,40,
-6,57,45,143,32,136,108,247,55,24,90,3,46,149,215,184,57,119,251,232,247,
-134,62,157,129,73,38,155,67,87,164,19,105,205,97,24,226,57,35,158,63,219,
-96,123,55,94,43,176,190,190,206,216,118,184,113,243,22,134,110,208,106,
-183,49,116,157,181,203,151,233,245,122,124,255,251,255,70,235,96,159,63,
-252,131,63,224,247,126,255,247,208,13,3,63,8,48,71,35,54,54,54,88,95,223,
-192,52,71,49,197,91,211,144,196,184,108,243,195,32,177,183,241,39,10,65,
-55,105,112,93,207,139,3,38,241,255,117,108,27,199,118,38,251,247,4,65,32,
-147,244,50,185,124,14,93,75,80,123,89,70,20,165,137,61,38,68,232,154,142,
-44,43,120,222,17,168,42,164,35,241,41,166,239,120,28,103,48,115,52,194,
-178,98,219,206,40,209,196,104,154,58,193,99,84,77,67,87,53,148,36,16,212,
-36,16,100,69,158,216,145,74,146,12,68,184,137,21,168,235,186,228,178,57,
-22,151,22,89,94,90,38,155,205,34,201,18,182,101,243,173,111,125,139,191,
-255,251,191,167,92,169,242,213,183,190,198,252,220,28,65,16,240,240,241,
-99,106,181,26,174,107,243,224,254,61,22,230,230,38,129,81,171,213,200,102,
-179,147,82,42,205,254,211,149,192,121,144,193,103,62,115,92,100,105,77,
-74,31,153,6,189,4,65,192,114,45,158,180,30,98,135,54,51,185,38,35,199,196,
-11,60,10,70,158,189,225,14,99,123,204,111,174,253,78,188,251,26,8,156,46,
-63,120,247,17,87,110,221,102,166,152,97,216,237,128,162,163,43,18,230,216,
-66,207,24,132,174,131,31,186,172,63,126,194,230,222,30,251,59,135,116,71,
-99,130,48,160,215,58,224,250,237,87,209,53,131,118,187,77,179,57,67,173,
-90,229,224,240,144,7,247,239,243,254,123,239,177,184,56,199,255,242,23,
-127,193,107,175,191,142,36,138,248,126,128,105,154,108,110,110,196,84,246,
-177,137,40,8,168,154,62,249,59,194,40,58,102,96,224,29,27,149,250,9,59,
-217,59,226,64,165,226,39,207,195,247,252,56,91,36,216,143,144,40,255,4,
-142,150,205,136,82,220,232,79,236,82,147,126,229,168,63,137,205,218,148,
-164,223,74,203,217,116,42,168,168,26,138,34,199,98,38,53,46,189,210,235,
-160,40,106,242,181,88,231,33,32,16,132,1,142,101,77,198,239,185,124,158,
-197,133,152,55,150,205,102,144,36,153,32,8,120,255,131,247,249,155,255,
-235,111,120,242,244,25,183,110,223,230,202,149,171,204,204,52,40,20,138,
-60,125,250,20,73,142,3,236,209,131,123,204,54,155,92,185,114,133,133,133,
-5,170,213,234,4,244,75,3,227,197,30,245,179,62,173,58,213,101,253,60,143,
-220,244,235,233,137,51,77,31,145,36,137,124,62,143,36,73,244,205,46,235,
-189,103,20,179,69,14,7,29,158,239,61,199,113,92,94,89,123,133,130,145,97,
-179,189,206,215,22,127,13,69,85,136,162,136,81,123,157,239,190,115,159,
-171,175,126,137,229,138,198,71,239,222,193,152,153,161,40,135,108,118,198,
-204,148,74,216,253,30,174,162,226,59,14,197,74,150,205,199,27,140,125,17,
-207,110,243,193,251,239,211,25,58,188,250,234,171,228,114,249,120,15,224,
-202,50,162,40,178,187,187,203,206,206,46,119,238,220,97,208,239,241,107,
-223,248,21,254,240,143,254,136,43,87,174,32,73,98,226,64,110,177,187,183,
-199,214,230,6,221,110,151,192,79,123,18,117,98,7,154,6,74,144,136,153,2,
-223,195,79,60,163,2,63,21,63,197,167,189,31,196,90,142,20,179,8,124,63,
-217,127,30,151,150,194,9,154,142,137,155,137,192,113,177,147,36,37,110,
-236,98,44,104,74,78,100,57,25,82,200,146,28,107,59,18,93,135,44,43,200,
-114,204,47,19,4,129,48,8,38,136,184,109,217,72,162,64,185,92,102,97,97,
-145,230,108,147,140,145,153,56,189,63,126,244,152,127,250,135,127,228,135,
-239,188,131,162,233,92,190,188,198,236,108,147,217,102,147,198,204,12,135,
-135,7,244,251,67,16,34,54,158,61,97,118,118,134,203,151,143,50,70,62,159,
-159,60,191,233,108,241,89,15,136,51,233,35,47,214,129,167,89,132,78,151,
-56,105,45,105,219,246,132,90,48,77,73,150,69,17,8,217,235,237,66,24,81,
-201,21,25,216,29,144,198,8,162,63,21,169,30,157,195,17,133,156,193,160,
-211,97,199,10,136,180,28,74,48,102,175,53,162,84,175,210,219,217,98,115,
-123,159,80,51,200,22,42,172,94,89,193,233,91,120,82,6,183,47,176,87,171,
-114,56,216,225,103,63,125,151,27,55,110,80,169,213,216,219,221,103,105,
-121,145,74,165,202,216,180,88,91,187,194,238,222,46,63,249,217,251,220,
-185,115,151,175,124,229,203,252,214,55,127,139,43,87,174,144,203,101,89,
-91,187,204,202,242,18,237,118,155,237,237,29,246,247,247,18,106,69,20,159,
-214,137,22,123,130,108,71,177,160,41,8,66,66,223,79,154,239,40,209,117,
-196,153,32,109,200,195,32,76,156,11,143,198,183,199,232,235,83,75,45,153,
-154,232,164,58,142,120,148,124,164,225,144,100,17,73,72,88,200,162,136,
-40,75,9,214,18,55,234,169,142,223,182,45,28,219,70,16,4,116,195,224,242,
-234,42,115,115,179,148,203,21,84,85,67,20,193,245,60,30,221,123,200,247,
-190,247,61,222,123,239,3,188,32,160,222,156,35,151,203,82,42,21,41,21,99,
-19,235,241,120,76,175,215,103,60,54,105,183,14,152,159,159,103,117,53,158,
-76,165,25,99,26,9,255,172,211,68,46,76,31,57,107,140,251,98,128,164,117,
-99,106,176,48,24,12,152,153,153,57,110,176,224,186,4,161,135,29,140,112,
-125,151,140,174,51,215,168,209,119,123,140,125,27,63,178,143,16,114,103,
-192,193,193,30,230,192,194,180,193,201,40,92,121,237,171,24,227,77,186,
-125,159,235,151,23,185,179,191,131,86,172,178,184,80,165,55,112,136,162,
-24,115,48,140,12,126,87,98,126,249,26,145,108,176,187,215,226,209,195,7,
-52,122,93,22,150,47,113,120,208,98,102,166,65,189,81,195,113,99,130,93,
-170,162,123,255,163,143,185,243,241,93,110,221,188,193,219,111,191,205,
-245,27,55,209,245,216,133,177,217,108,98,89,22,173,86,155,253,253,125,90,
-173,195,216,181,61,12,99,173,118,146,81,100,73,65,83,197,35,176,48,201,
-12,97,16,196,218,139,164,52,74,51,198,209,2,155,19,172,88,39,19,170,24,
-255,17,167,49,1,81,68,20,165,56,88,132,132,163,52,85,162,5,129,63,25,36,
-88,142,133,231,120,136,162,128,161,27,52,151,151,105,52,26,84,170,213,36,
-75,136,132,145,192,120,52,226,193,253,123,252,232,157,119,120,240,240,17,
-32,80,174,213,113,61,151,48,8,41,22,11,84,42,21,234,141,58,146,36,177,245,
-252,57,251,187,219,248,158,203,82,34,158,154,155,155,163,84,138,125,176,
-82,91,166,95,180,76,113,230,40,247,52,122,200,73,53,226,73,101,214,73,1,
-37,8,2,33,30,118,96,17,226,49,178,92,222,125,180,79,185,161,82,150,85,66,
-142,196,64,227,225,144,80,86,152,159,205,209,53,125,100,9,30,127,244,30,
-229,130,130,232,143,120,239,206,35,16,21,20,92,60,34,84,45,33,246,37,53,
-183,165,68,100,12,137,230,194,10,149,66,129,103,235,18,189,241,152,71,15,
-238,50,55,191,132,158,49,168,148,171,137,161,178,51,105,166,75,229,10,170,
-34,242,108,99,155,103,235,255,39,179,179,179,188,254,218,107,220,186,117,
-147,122,99,6,195,48,88,88,152,103,113,113,1,199,113,232,118,187,147,149,
-2,253,126,236,135,27,151,147,50,74,210,244,42,73,73,161,36,136,240,68,247,
-58,181,35,48,154,102,17,30,131,252,142,232,41,130,144,250,46,76,93,15,1,
-194,32,76,176,12,7,223,243,98,118,180,27,47,222,17,68,17,69,146,41,21,75,
-241,62,196,74,133,82,169,156,224,79,177,28,214,115,61,246,246,247,184,119,
-247,30,119,62,186,195,254,225,1,138,162,209,104,52,241,3,143,225,200,196,
-115,61,106,181,120,242,54,51,211,32,159,207,243,209,71,31,241,236,217,19,
-138,249,220,164,191,72,129,190,233,30,227,23,161,167,120,233,105,213,139,
-83,169,243,22,105,142,70,163,73,121,101,89,22,153,76,38,110,240,146,157,
-111,35,171,207,243,193,199,88,116,217,235,12,176,60,19,215,247,168,87,85,
-16,124,10,66,147,175,47,252,9,130,24,49,236,117,48,29,129,102,53,203,225,
-126,143,80,8,216,218,216,32,87,111,144,87,96,183,111,211,40,21,112,6,3,
-28,89,37,159,43,48,83,47,97,143,76,178,133,34,65,16,187,251,217,158,199,
-176,215,101,127,255,128,253,195,67,158,63,123,70,171,213,34,87,40,241,250,
-151,222,32,151,203,177,177,241,156,205,173,109,118,119,247,136,162,144,
-108,46,71,54,147,65,215,117,130,32,192,115,29,12,93,99,110,110,142,107,
-87,175,112,233,210,37,42,149,234,100,112,144,190,14,169,189,102,191,223,
-103,48,24,48,232,247,177,18,147,187,148,30,34,137,177,241,115,106,146,32,
-36,126,186,66,130,182,31,119,37,57,74,38,65,24,151,167,105,105,230,39,32,
-95,58,25,36,225,103,165,66,176,66,161,64,190,80,76,44,129,242,104,186,142,
-170,168,8,66,140,160,251,174,71,167,219,97,253,249,58,79,158,62,99,123,
-103,7,215,117,99,35,106,81,194,77,240,28,115,60,198,178,108,114,249,60,
-243,115,179,92,74,40,32,239,191,255,30,235,207,159,49,215,156,97,101,117,
-149,217,217,89,26,141,56,104,50,153,204,100,56,240,89,222,185,241,239,210,
-144,95,132,87,5,39,27,44,200,178,76,62,159,143,75,46,223,97,115,112,159,
-125,231,49,129,104,17,70,1,97,20,16,68,62,106,152,101,41,243,26,43,213,
-87,146,146,227,72,9,151,46,218,246,60,7,68,25,89,18,241,60,63,70,222,195,
-0,63,34,97,190,10,199,240,144,148,74,109,89,22,163,196,236,108,111,111,
-143,173,173,45,214,215,215,241,188,144,183,190,254,22,181,106,157,231,207,
-215,121,246,252,57,173,214,33,162,40,145,203,101,99,185,107,38,147,224,
-19,50,158,231,17,248,62,186,166,209,108,212,153,95,88,96,126,126,142,82,
-185,130,166,169,159,56,60,130,32,192,113,28,70,163,216,152,58,5,16,45,203,
-154,104,95,82,113,152,152,232,205,143,149,170,83,153,100,26,48,147,18,19,
-109,69,81,38,20,15,195,48,200,102,51,137,190,34,102,37,8,137,22,37,74,216,
-186,182,101,211,239,117,217,221,221,99,103,103,135,86,187,131,235,121,147,
-134,62,8,2,198,201,243,179,38,248,141,141,161,107,204,47,44,176,178,188,
-130,36,10,124,124,231,67,76,115,196,242,242,50,11,11,11,52,155,205,201,
-66,157,76,38,115,12,249,254,101,121,59,182,135,252,101,153,185,112,100,
-176,144,2,116,162,40,198,163,197,68,248,18,17,49,178,187,184,129,197,166,
-25,27,44,132,81,136,42,233,212,245,37,234,153,101,52,213,56,49,0,79,195,
-87,206,122,142,233,243,240,188,152,218,109,154,230,196,39,118,103,103,135,
-173,205,77,218,157,14,243,11,139,44,47,95,162,215,239,243,228,241,19,90,
-237,22,138,162,144,207,197,230,107,217,76,22,35,65,145,117,67,71,18,196,
-100,204,26,79,227,50,134,65,181,90,165,86,171,38,220,161,120,93,218,89,
-30,195,233,152,54,29,5,167,67,140,23,133,78,105,10,209,52,45,166,200,171,
-234,100,226,148,54,230,39,49,23,226,27,221,198,28,14,233,245,186,116,186,
-189,216,253,208,178,9,194,32,9,8,133,32,12,18,51,186,88,249,103,37,2,172,
-177,101,51,50,71,201,238,246,69,138,165,50,157,118,139,195,131,61,74,165,
-18,75,75,75,147,105,84,177,88,156,44,234,73,179,197,47,83,96,28,203,28,
-47,211,60,157,118,97,78,219,38,27,4,1,131,113,159,205,222,250,100,111,183,
-40,136,148,179,85,102,138,179,232,138,126,38,166,114,145,114,239,69,224,
-113,58,112,83,173,73,76,171,216,159,100,18,207,243,168,213,103,80,84,157,
-86,235,144,131,131,3,84,69,37,151,207,96,24,217,201,102,38,67,215,18,27,
-205,88,11,34,39,129,31,38,83,57,41,161,117,100,50,25,178,217,236,36,3,25,
-134,158,96,12,202,75,77,107,78,115,153,60,98,35,4,49,169,208,117,177,44,
-59,209,124,143,49,205,88,251,237,122,177,238,60,181,235,137,175,65,188,
-244,198,177,237,100,113,141,155,4,134,53,201,108,166,57,70,85,85,170,213,
-114,92,21,12,251,40,138,194,226,226,34,179,179,179,212,235,117,42,149,88,
-249,152,82,79,126,89,250,139,51,27,242,139,4,193,73,68,195,243,130,42,12,
-67,122,227,46,79,219,143,17,37,145,92,38,7,8,236,14,118,216,111,237,227,
-4,14,215,154,55,206,68,224,47,178,134,109,250,255,105,205,155,78,77,82,
-209,81,74,201,46,149,74,212,235,117,118,118,118,216,223,223,199,113,92,
-116,35,67,161,80,96,56,26,49,30,59,8,130,52,113,252,144,18,26,135,40,198,
-96,93,106,37,99,24,49,170,45,37,159,139,162,144,193,104,68,127,48,76,114,
-166,0,97,136,144,252,254,24,188,139,155,118,69,142,193,56,85,85,142,17,
-240,226,94,35,74,152,181,62,16,11,198,60,47,14,136,152,214,18,27,198,197,
-61,75,250,2,196,25,59,95,44,78,172,141,188,137,141,105,226,204,232,199,
-184,75,60,69,60,90,75,224,56,46,182,227,32,10,34,170,44,50,26,244,48,12,
-131,165,165,37,102,103,103,169,213,106,19,102,109,38,233,203,210,215,246,
-151,49,40,62,65,89,127,25,100,252,180,169,213,73,101,143,231,187,28,140,
-246,136,164,136,122,190,129,227,197,242,205,165,202,18,123,195,93,246,71,
-59,92,13,175,35,136,201,239,12,93,182,247,123,148,107,117,50,234,241,198,
-174,211,237,99,100,116,66,199,38,144,84,114,134,68,171,61,64,207,230,80,
-241,24,218,33,133,124,6,123,52,64,144,179,177,173,232,208,68,207,230,200,
-100,164,137,27,72,54,155,165,88,44,82,169,84,104,54,155,19,247,144,40,112,
-17,137,24,143,77,162,40,60,194,21,16,16,36,41,97,221,74,72,83,38,207,113,
-143,148,160,212,138,138,164,167,39,169,24,247,31,174,131,235,249,241,244,
-199,243,18,237,69,72,20,9,137,207,87,242,186,69,169,127,213,17,246,17,69,
-196,191,55,201,78,105,99,175,170,42,70,66,230,139,133,101,193,148,215,87,
-152,176,147,131,4,140,60,90,73,144,162,247,142,231,226,185,113,166,183,
-45,7,211,28,17,5,1,217,172,65,169,84,136,205,176,147,247,98,177,56,81,241,
-25,134,49,41,155,127,217,3,227,24,206,113,210,201,124,222,134,217,180,116,
-73,37,177,169,225,66,74,91,144,36,9,219,183,9,34,159,102,190,73,127,60,
-76,12,22,28,94,185,116,155,133,210,60,155,157,141,196,76,57,190,169,60,
-103,192,189,251,15,185,241,165,12,70,57,199,225,246,22,100,242,184,253,
-3,214,219,35,102,138,69,198,157,22,150,90,96,182,40,113,231,233,62,205,
-70,21,193,234,97,10,58,51,101,157,214,206,62,228,235,20,20,143,161,171,
-113,245,218,26,165,76,124,65,83,218,69,58,221,41,151,203,52,26,141,216,
-165,188,213,162,219,237,198,91,95,199,22,131,126,47,89,166,35,38,124,168,
-180,230,143,49,8,73,242,145,68,145,64,12,16,67,145,48,18,17,130,48,201,
-46,76,154,104,4,1,49,233,29,130,40,1,2,83,190,216,177,172,125,124,147,84,
-252,127,9,68,226,21,4,130,152,136,157,98,71,67,81,148,166,86,25,196,31,
-6,137,171,98,108,63,234,227,123,65,156,117,220,169,44,226,185,177,230,124,
-48,32,140,2,74,133,108,76,150,172,213,40,149,74,19,219,157,92,46,55,25,
-207,78,139,148,126,89,166,81,47,29,28,167,101,136,211,62,239,37,51,246,
-180,73,76,123,143,212,19,53,10,35,100,81,66,16,34,182,187,91,184,142,141,
-161,234,116,198,45,234,114,5,69,124,97,5,193,96,132,32,133,12,205,17,35,
-113,192,211,173,3,74,133,54,131,78,159,92,173,66,119,107,131,245,205,61,
-252,76,142,129,34,51,14,53,2,189,197,238,198,1,149,75,139,236,109,117,144,
-213,2,206,254,54,15,76,139,91,111,125,3,67,149,142,233,6,82,42,134,166,
-105,24,134,49,177,181,153,153,153,73,44,245,123,71,171,145,77,147,78,219,
-193,26,27,20,203,101,136,132,184,169,149,124,252,100,28,43,136,34,146,24,
-16,5,34,145,42,38,104,69,136,128,148,176,104,3,2,81,66,8,124,132,232,72,
-247,17,165,130,39,72,20,129,71,194,38,81,16,136,136,21,146,19,250,187,24,
-37,219,161,142,80,112,240,99,234,123,170,23,9,34,130,228,58,196,202,192,
-128,40,12,112,124,15,211,52,25,244,122,88,182,9,17,212,106,69,138,133,18,
-149,106,153,66,161,68,161,80,72,188,168,50,159,208,95,124,214,37,173,255,
-191,4,199,203,218,129,166,230,101,65,16,96,89,22,185,92,238,136,140,152,
-212,183,97,228,227,132,38,190,239,146,207,100,105,214,106,120,145,135,233,
-247,9,34,247,232,158,8,29,90,135,3,20,81,160,191,127,72,111,203,98,245,
-149,55,208,71,219,244,7,17,183,174,172,112,103,127,15,41,87,98,101,101,
-6,41,16,48,218,3,44,43,164,190,186,130,211,58,160,99,251,172,222,92,35,
-234,31,48,118,21,26,141,10,134,42,158,168,67,73,3,196,243,60,12,35,94,153,
-92,173,86,25,141,70,19,196,127,48,24,208,233,116,24,14,135,116,90,135,244,
-59,29,178,185,60,229,74,133,82,177,72,46,113,71,79,39,89,4,18,130,20,33,
-69,241,205,44,32,35,203,1,81,16,225,69,97,172,3,76,120,78,8,49,173,38,142,
-145,88,20,149,138,0,5,225,72,3,40,78,182,219,198,187,58,84,69,70,20,101,
-224,72,5,24,37,1,22,137,32,4,49,54,98,57,54,189,94,143,126,175,143,101,
-154,132,161,143,170,170,204,205,206,78,198,176,249,137,192,41,59,49,2,79,
-27,237,23,85,123,159,183,183,51,93,214,79,202,24,39,53,204,158,231,77,110,
-164,244,166,11,130,0,196,68,198,137,135,19,216,132,4,140,157,49,135,221,
-67,4,3,178,162,68,128,55,161,143,248,227,62,157,238,1,214,200,5,65,65,87,
-5,54,31,222,167,152,21,144,194,17,119,31,174,19,170,58,165,108,128,162,
-235,104,66,200,198,102,27,217,200,147,115,76,218,182,67,173,156,103,239,
-209,71,120,170,193,219,111,95,67,19,79,239,141,166,255,77,75,173,108,54,
-75,62,159,167,90,173,78,52,27,105,176,140,70,35,6,131,1,163,209,136,253,
-221,109,14,247,247,208,117,157,124,161,64,185,92,161,82,41,163,235,17,74,
-46,27,55,234,162,64,4,72,146,142,36,120,224,8,136,65,76,82,68,144,137,194,
-144,99,230,10,83,125,7,130,152,48,115,227,165,153,138,36,34,201,74,236,
-94,34,203,147,192,138,41,235,126,220,84,91,22,189,94,151,254,112,192,160,
-219,199,119,93,130,40,150,17,204,204,212,41,149,10,100,179,249,73,99,157,
-246,17,233,56,246,154,8,94,8,0,0,32,0,73,68,65,84,69,116,123,90,144,244,
-121,124,59,85,207,113,209,209,238,120,60,142,231,235,227,49,130,32,144,
-205,102,241,60,143,92,46,135,36,73,140,236,1,155,195,7,56,244,217,235,12,
-232,247,199,248,126,64,173,169,147,53,68,240,20,222,158,255,19,36,25,6,
-7,91,108,236,15,184,125,115,45,70,200,9,216,124,254,156,92,163,73,94,14,
-217,238,217,52,43,5,172,110,15,91,209,41,25,50,109,211,166,86,46,226,13,
-6,132,70,158,122,193,160,123,120,200,210,218,245,201,158,240,211,178,223,
-139,24,196,180,129,117,154,253,82,27,156,84,117,152,2,123,166,105,78,70,
-196,182,109,79,176,30,85,211,200,231,98,169,105,62,159,75,182,179,230,145,
-101,149,48,140,229,171,97,4,126,178,24,52,13,138,116,234,20,37,7,133,144,
-244,96,81,20,47,183,137,203,65,25,73,148,8,124,151,225,104,200,216,178,
-24,14,134,49,43,192,30,227,56,30,162,24,162,40,26,186,170,146,75,74,36,
-35,81,233,197,19,182,227,193,144,18,4,83,242,232,139,61,197,47,58,63,234,
-63,12,33,191,200,210,204,241,120,124,108,121,102,106,242,150,6,135,227,
-217,236,12,31,209,114,215,177,124,139,209,216,198,11,125,242,185,120,237,
-110,89,94,228,245,153,223,70,16,35,236,241,24,205,200,37,183,8,147,249,
-124,148,56,138,199,63,91,130,196,84,64,20,99,250,120,252,185,128,212,112,
-249,34,56,201,105,23,127,98,41,52,21,44,41,93,35,245,138,114,19,113,147,
-235,186,147,13,173,150,101,29,57,26,38,95,75,3,102,186,140,19,68,17,69,
-150,9,194,16,85,209,167,56,84,194,4,52,21,5,113,66,170,114,61,23,73,60,
-210,121,120,158,31,151,111,112,172,119,138,157,16,141,137,195,71,186,34,
-45,117,25,156,14,132,105,123,156,233,209,247,139,229,211,103,89,136,244,
-63,164,172,58,169,196,58,107,98,37,138,34,142,227,76,234,211,116,82,149,
-190,224,170,172,82,49,102,113,35,147,72,218,70,85,53,162,72,38,136,66,12,
-234,204,103,175,78,248,74,122,38,199,20,129,36,190,1,100,229,232,201,78,
-118,56,72,19,127,142,73,40,8,210,153,8,251,121,67,6,0,215,245,81,85,121,
-114,195,164,43,21,194,48,32,66,161,80,208,39,129,50,253,111,138,120,167,
-203,66,211,143,211,233,144,63,37,146,74,3,38,165,144,196,38,9,113,69,37,
-139,34,126,24,34,200,201,164,74,4,93,83,39,175,103,58,253,154,46,129,82,
-51,139,233,175,165,1,48,253,184,233,166,250,36,199,193,79,83,53,124,46,
-50,199,121,171,150,79,195,66,82,244,59,181,0,77,101,178,159,4,2,3,76,103,
-192,214,240,1,174,239,16,70,17,25,37,75,45,51,79,209,168,39,78,26,209,75,
-157,90,167,93,192,192,119,113,220,144,76,70,63,142,154,251,14,99,39,34,
-155,213,63,97,161,182,189,215,194,30,246,208,242,117,22,154,69,32,100,212,
-110,241,120,115,135,76,161,74,65,23,176,66,157,229,185,202,49,70,64,58,
-142,77,157,63,82,125,123,250,185,24,215,136,142,209,107,142,130,226,200,
-16,111,250,244,158,70,249,211,27,251,197,73,91,122,115,79,27,108,191,248,
-249,233,64,72,31,155,94,207,105,58,249,121,153,244,243,252,38,159,23,12,
-231,161,227,47,74,32,79,122,113,131,48,196,116,108,92,91,5,65,67,32,162,
-63,114,8,253,46,154,148,39,103,40,167,247,5,97,128,227,120,8,146,140,38,
-11,88,182,131,32,43,232,170,114,98,233,103,15,123,60,219,30,114,235,214,
-234,241,231,239,244,121,186,238,114,227,230,2,10,17,253,253,45,62,248,232,
-46,61,75,100,102,118,142,65,251,144,230,178,142,236,15,145,179,89,58,27,
-79,217,216,237,162,237,31,80,169,54,208,243,53,14,119,54,49,3,133,165,197,
-57,20,69,156,4,135,162,40,147,18,236,69,247,244,105,225,215,180,148,56,
-253,254,147,178,245,244,255,95,28,161,10,199,4,80,71,229,208,73,65,240,
-226,99,78,27,70,156,180,66,251,162,50,233,207,69,112,124,154,212,122,150,
-157,207,116,163,219,49,219,108,246,215,201,233,121,178,106,22,65,16,216,
-31,237,177,61,220,164,103,183,249,218,165,95,61,122,92,228,113,208,30,82,
-40,149,208,101,49,30,239,30,180,144,178,37,102,43,10,173,131,125,204,241,
-152,222,56,98,117,117,21,57,28,130,156,161,80,200,209,221,217,162,213,218,
-99,99,215,99,117,109,17,85,6,215,139,240,198,93,182,31,223,225,192,95,96,
-238,96,155,222,200,103,227,241,3,118,90,99,214,46,47,35,69,30,142,31,96,
-245,219,252,248,253,7,24,245,25,4,207,231,198,237,55,144,250,155,124,252,
-180,67,99,62,224,131,123,155,244,208,201,85,27,52,114,242,39,110,172,180,
-169,157,86,65,78,127,124,90,217,119,214,225,115,82,47,112,214,225,245,105,
-36,169,231,217,50,125,174,51,199,73,167,200,121,193,50,109,7,58,93,54,140,
-199,227,73,205,43,8,2,142,239,208,181,219,100,244,12,5,189,72,127,220,199,
-13,92,230,10,243,24,138,142,105,15,39,43,8,4,65,192,183,71,60,120,248,132,
-43,183,110,210,44,25,236,111,111,178,177,61,160,177,104,176,187,185,205,
-211,205,46,185,140,194,97,203,165,154,223,96,103,251,25,145,49,195,242,
-242,12,207,222,123,31,91,16,240,2,141,141,221,54,179,101,129,135,15,119,
-112,59,219,172,111,109,163,207,234,124,252,163,7,188,255,108,139,124,54,
-207,216,113,217,219,211,81,36,9,211,246,216,121,242,128,167,59,219,232,
-157,33,249,82,131,219,249,18,69,221,227,167,63,221,100,39,26,114,233,213,
-95,101,174,183,61,165,226,227,66,188,175,52,67,252,60,111,103,161,210,167,
-173,201,190,72,57,250,121,111,186,95,170,172,122,217,211,38,157,216,164,
-13,108,26,44,105,29,236,249,46,2,80,54,74,236,247,15,217,105,109,227,120,
-46,178,36,147,207,100,112,220,113,60,113,138,162,88,13,56,50,1,15,115,60,
-98,24,244,121,242,100,139,126,160,144,237,238,177,189,183,77,203,145,169,
-52,22,88,81,96,216,218,67,206,22,176,204,30,247,239,118,40,53,22,169,201,
-46,187,187,45,58,125,147,70,78,225,233,227,103,20,202,69,110,127,245,117,
-62,250,201,99,62,28,141,88,91,91,193,181,67,74,70,133,183,223,188,194,222,
-250,51,62,124,188,131,111,14,88,186,246,26,75,51,25,90,123,61,198,150,137,
-181,191,133,156,83,200,202,10,187,143,222,167,63,28,242,27,87,111,158,203,
-38,152,190,233,94,188,177,207,154,158,157,54,76,120,25,206,219,105,143,
-57,233,103,188,236,218,137,207,211,155,120,214,9,116,94,137,149,190,208,
-233,164,42,93,177,28,77,16,227,120,26,35,10,2,33,62,157,81,11,69,148,105,
-150,235,132,216,140,253,1,33,94,178,53,85,128,208,165,219,30,162,72,18,
-253,195,14,187,187,45,170,75,203,204,214,242,12,218,29,234,43,87,89,108,
-54,80,68,17,207,247,64,201,115,237,230,109,230,171,57,220,161,69,115,121,
-149,185,153,26,170,36,224,39,132,58,211,139,80,245,42,229,66,14,185,148,
-231,210,124,131,202,76,131,74,189,76,181,82,163,209,168,146,207,103,209,
-141,28,243,151,22,241,123,45,250,182,135,42,187,124,247,219,223,102,211,
-202,242,141,223,248,42,175,188,122,149,195,167,31,242,112,235,16,85,150,
-78,45,151,166,95,155,179,214,86,159,117,163,159,132,74,159,181,10,123,250,
-123,79,211,193,156,54,189,59,47,27,125,158,75,43,249,34,39,197,89,88,71,
-186,192,102,122,63,71,234,128,24,79,108,124,194,200,195,9,67,130,208,71,
-83,21,16,3,76,127,132,46,9,9,66,30,79,248,125,123,72,183,223,198,29,123,
-88,110,128,39,235,172,52,139,4,246,0,215,139,200,229,178,236,237,237,161,
-106,1,135,173,1,185,124,30,49,4,81,206,48,55,87,225,225,187,63,68,213,101,
-2,181,132,219,122,202,143,118,44,102,231,23,168,103,199,124,112,119,143,
-55,223,252,50,97,103,147,103,125,139,153,153,57,42,165,10,32,80,109,206,
-241,101,163,66,33,43,83,42,60,71,200,151,168,172,44,241,205,197,165,163,
-233,145,221,161,49,187,72,181,176,72,78,17,62,129,79,156,151,17,46,210,
-71,188,244,168,241,140,223,115,209,160,58,47,99,125,158,179,135,124,209,
-154,245,60,204,227,36,48,73,20,99,240,46,18,2,220,192,33,34,96,100,185,
-140,7,22,229,186,134,160,72,32,200,19,167,113,203,114,80,115,101,46,207,
-232,180,123,99,196,16,30,221,187,143,47,105,204,52,107,236,109,61,163,90,
-171,83,206,72,248,158,72,169,90,35,163,235,52,154,115,204,136,179,108,62,
-125,142,96,100,41,149,27,4,227,18,67,59,228,246,173,155,64,196,171,41,126,
-178,60,207,229,40,154,144,255,0,242,197,50,133,82,124,163,85,170,245,147,
-111,50,57,203,107,95,125,27,61,83,68,149,184,176,238,228,34,245,254,69,
-191,255,188,230,253,36,135,152,151,89,39,113,82,35,254,5,66,254,115,140,
-238,166,17,114,199,113,98,90,118,16,76,188,139,198,246,136,237,209,67,198,
-81,159,238,200,196,13,44,252,192,167,144,151,136,8,40,74,179,188,82,255,
-245,9,66,238,4,34,197,172,194,104,24,111,26,234,244,123,200,122,142,133,
-102,45,81,58,8,39,173,122,249,228,141,22,91,118,124,170,23,229,60,35,187,
-211,110,174,139,54,187,103,41,27,95,118,21,196,207,115,19,159,20,224,95,
-52,232,39,100,142,243,210,232,89,96,160,239,251,177,113,177,28,27,18,76,
-155,121,41,178,74,70,201,51,114,90,20,242,17,17,42,81,36,17,68,33,26,37,
-102,140,75,9,66,46,160,103,114,164,34,219,92,49,198,49,242,229,98,188,205,
-98,242,251,79,190,144,47,150,45,211,4,240,179,166,109,211,111,150,237,97,
-232,202,39,78,207,241,104,136,143,76,33,103,28,123,220,206,97,143,70,173,
-136,124,1,117,226,105,159,191,136,126,230,172,155,249,172,178,237,172,191,
-245,172,125,43,95,188,157,50,173,186,232,228,34,189,8,233,200,54,157,233,
-167,180,134,180,196,146,37,133,178,209,36,136,92,44,223,156,24,44,104,114,
-134,170,62,75,209,104,156,121,35,164,129,113,209,11,25,91,148,218,24,134,
-118,252,68,12,92,70,118,68,46,167,195,11,167,244,198,214,1,195,206,33,70,
-185,201,234,98,21,8,233,237,110,242,222,131,39,100,138,13,234,57,153,81,
-152,227,181,235,11,8,130,192,183,255,203,255,205,86,207,161,113,249,38,
-111,220,88,196,50,93,106,181,58,195,246,58,163,32,195,92,89,97,107,243,
-144,229,27,55,49,100,225,194,25,249,188,140,112,222,168,253,180,33,202,
-69,240,168,47,222,206,105,200,47,146,130,95,188,8,41,175,39,229,11,169,
-170,250,137,11,110,40,89,114,114,147,241,120,31,33,10,17,137,112,188,144,
-65,100,163,203,46,146,40,159,122,234,70,97,128,235,250,8,146,132,34,9,56,
-182,75,36,201,24,154,114,226,13,52,238,29,178,190,103,114,227,250,202,241,
-27,206,29,240,124,203,229,198,181,57,36,160,183,183,193,207,222,255,136,
-190,45,49,51,55,71,255,224,128,166,156,103,253,81,23,165,144,231,240,217,
-83,90,221,1,114,167,195,168,220,36,95,81,120,244,209,123,188,243,112,11,
-217,21,41,86,42,56,126,200,176,189,203,15,223,123,200,210,234,53,250,143,
-62,66,156,91,162,243,112,196,163,141,45,6,82,133,215,111,205,161,190,100,
-121,115,214,88,246,36,112,238,180,254,231,188,138,224,34,99,226,207,61,
-66,126,17,52,244,188,23,249,164,133,243,233,91,103,212,97,179,191,142,166,
-104,228,212,44,8,2,135,163,67,54,251,235,120,129,199,213,230,245,79,92,
-8,199,15,209,100,17,66,151,78,171,139,152,201,51,83,82,232,116,90,140,45,
-135,145,29,178,184,180,72,181,120,180,219,163,181,187,67,167,115,192,246,
-129,207,202,202,28,138,12,174,23,226,153,93,182,159,222,163,21,45,208,59,
-216,162,51,244,9,70,45,246,251,33,107,171,243,196,131,102,1,167,119,200,
-15,239,223,65,175,55,144,34,145,55,222,250,85,148,222,51,126,248,254,62,
-178,28,241,112,20,80,84,101,14,123,93,228,32,160,106,212,113,6,38,7,251,
-123,216,40,100,187,2,181,25,184,119,255,49,249,229,75,24,146,128,24,157,
-182,158,230,252,145,249,69,48,141,243,112,146,151,233,135,78,26,7,127,209,
-115,76,205,180,95,150,232,119,222,11,25,132,1,93,187,141,170,168,148,50,
-21,198,206,24,47,240,152,45,204,209,83,218,244,237,46,81,24,77,118,234,
-17,216,60,223,110,147,41,150,169,23,52,90,251,187,108,239,14,169,204,169,
-236,143,247,88,223,238,163,107,18,135,29,143,74,173,202,176,245,28,81,175,
-34,72,33,207,63,186,131,45,8,4,161,198,214,126,151,102,81,224,241,211,93,
-220,238,46,59,251,251,40,85,157,123,63,105,179,53,114,240,108,15,203,117,
-216,63,208,144,5,9,203,113,216,123,254,132,221,126,159,140,23,96,228,106,
-100,50,121,138,114,3,69,216,98,235,249,22,87,191,250,91,232,195,77,134,
-182,200,149,107,151,217,249,232,99,30,180,69,110,172,45,115,104,134,172,
-92,93,160,115,184,203,252,229,101,68,45,79,185,150,69,18,132,11,247,62,
-231,141,204,207,251,248,162,125,206,105,189,203,23,205,248,25,153,227,172,
-148,122,218,11,150,210,182,167,205,212,210,189,128,130,32,48,118,98,119,
-242,74,182,74,119,212,99,167,189,139,235,185,92,93,88,163,156,173,196,44,
-221,196,96,1,192,181,135,236,238,110,49,171,41,140,25,242,252,217,54,253,
-64,33,51,108,115,112,176,67,215,150,89,185,212,164,33,132,140,91,155,236,
-28,236,35,107,109,252,48,160,80,159,167,174,248,236,237,181,232,13,199,
-212,179,50,235,207,54,200,151,75,220,120,253,53,238,188,251,152,221,238,
-33,151,110,92,193,117,2,48,106,124,227,205,203,108,63,125,202,7,143,182,
-113,60,155,75,215,95,99,105,54,71,107,187,197,160,223,229,238,199,119,153,
-189,188,128,219,235,179,255,240,93,122,230,8,85,82,120,246,224,99,242,51,
-117,116,183,77,207,246,169,20,139,4,193,136,185,87,191,196,188,225,241,
-100,125,15,63,136,206,29,229,158,103,220,125,209,76,242,239,81,18,77,87,
-0,95,208,215,47,72,60,60,43,107,164,122,133,105,250,72,186,126,57,166,70,
-135,201,18,22,159,214,160,133,16,65,57,91,192,244,134,200,138,128,116,236,
-130,68,28,236,117,209,84,133,97,183,79,128,67,177,57,139,102,141,25,180,
-59,148,102,151,81,71,86,44,19,85,124,60,203,229,245,183,222,166,245,252,
-9,79,55,15,169,93,91,36,231,183,105,29,116,240,45,155,193,40,194,14,4,42,
-106,1,93,147,177,2,151,213,213,21,74,245,26,174,237,130,82,36,159,207,147,
-203,101,200,23,138,84,103,75,236,108,183,232,22,20,52,45,226,241,157,247,
-104,44,172,114,101,185,70,96,153,124,235,31,254,150,29,191,200,31,254,218,
-45,172,209,152,165,171,55,144,189,14,7,61,151,27,87,215,142,189,46,205,
-213,155,167,154,115,95,52,64,206,235,75,206,107,172,63,13,135,234,52,28,
-230,115,63,202,189,72,234,62,41,155,164,13,185,109,219,100,50,153,73,128,
-196,219,77,3,194,200,199,13,45,130,208,199,208,84,170,229,2,94,232,99,251,
-67,2,142,12,22,124,171,71,175,215,197,177,92,44,59,192,85,52,22,87,75,116,
-14,44,250,62,100,115,89,28,203,194,243,61,108,219,37,192,64,136,34,68,69,
-167,57,83,228,249,199,239,163,234,18,104,5,156,222,22,31,30,218,204,206,
-205,18,153,251,252,228,103,125,126,227,119,126,155,160,187,205,122,207,
-166,49,51,75,57,217,153,93,105,204,242,165,76,149,92,86,166,88,216,68,200,
-230,185,126,249,237,99,47,84,152,17,89,188,116,149,165,194,60,215,111,222,
-66,158,40,92,179,84,27,167,247,97,47,51,1,60,171,169,62,171,124,186,72,
-64,125,81,42,253,28,32,224,203,164,227,233,175,219,182,141,231,121,19,227,
-228,90,173,54,113,174,16,69,145,177,51,162,237,236,128,236,179,121,208,
-38,244,194,120,35,106,70,32,99,72,248,110,192,171,141,95,69,150,69,204,
-206,46,155,123,93,114,89,141,222,208,65,12,5,198,174,133,47,72,20,117,141,
-78,175,141,47,234,84,243,10,142,39,80,170,212,152,111,86,177,199,22,162,
-24,177,249,228,41,100,114,148,202,13,66,171,197,192,14,153,107,206,226,
-154,93,26,115,75,47,197,49,250,196,73,29,249,244,251,35,20,45,67,54,163,
-189,20,126,114,81,176,241,101,208,237,139,100,249,127,79,192,240,11,156,
-227,37,78,153,23,5,57,41,50,158,250,85,165,120,71,128,143,232,131,29,142,
-81,245,136,161,231,48,182,76,170,89,13,55,20,144,4,53,182,225,39,66,212,
-242,204,46,148,40,230,20,74,131,49,97,20,114,216,237,162,26,5,42,121,157,
-76,206,64,214,179,228,52,153,98,169,60,121,46,122,178,164,243,214,27,95,
-158,122,110,71,95,167,84,120,169,102,243,196,45,87,130,66,169,92,62,119,
-106,116,86,221,127,17,30,212,69,65,188,139,100,142,79,219,55,124,17,60,
-39,148,85,47,219,184,193,145,86,193,48,140,35,35,183,169,211,89,145,20,
-116,57,195,216,235,160,235,1,72,16,132,2,146,226,224,7,80,84,234,136,82,
-12,24,26,217,60,122,50,250,204,149,138,0,20,202,229,201,243,203,230,114,
-23,42,27,62,141,183,239,73,104,251,203,4,210,89,20,145,139,76,140,46,146,
-205,206,251,249,103,245,8,23,61,252,190,152,94,157,48,173,58,175,76,56,
-237,212,147,36,105,162,149,78,155,242,76,38,115,12,33,47,105,117,130,200,
-97,32,236,162,41,82,226,181,4,134,80,166,97,172,156,11,114,157,135,6,159,
-119,242,159,244,249,48,140,63,54,71,125,118,219,14,87,47,205,188,244,8,
-251,211,104,33,46,74,82,60,43,240,78,187,102,23,25,227,126,145,33,62,69,
-207,113,154,192,230,188,147,55,53,12,72,71,185,146,36,29,237,230,152,186,
-25,109,215,100,119,244,28,207,119,137,0,93,202,80,201,52,80,101,3,253,132,
-253,28,39,7,106,128,235,120,68,162,28,7,217,11,123,173,167,191,119,60,30,
-35,136,10,134,174,188,240,83,67,62,248,209,15,216,237,13,49,138,51,168,
-4,40,185,58,115,133,144,129,39,113,121,117,25,89,136,78,44,115,46,114,51,
-125,218,27,238,63,242,148,126,217,0,255,34,104,206,25,229,94,244,66,165,
-138,191,212,129,35,13,140,233,199,251,129,79,223,26,226,186,18,146,152,
-37,2,250,214,24,203,219,197,144,13,86,234,171,167,222,44,81,232,51,30,59,
-88,62,212,10,50,157,118,7,65,203,226,155,109,58,253,17,205,197,203,212,
-202,217,164,111,1,103,60,226,189,15,30,48,51,59,67,177,80,96,127,107,27,
-163,84,38,167,75,236,108,61,67,206,22,216,217,235,163,150,11,204,27,46,
-119,215,45,102,84,153,143,223,95,167,29,168,204,44,44,82,214,197,83,203,
-162,243,26,222,151,229,44,189,152,49,95,182,17,63,237,58,93,196,115,236,
-162,189,208,231,62,56,94,188,176,167,189,152,103,81,21,78,122,161,211,253,
-28,173,241,1,121,163,128,38,39,70,102,98,108,124,220,115,58,68,225,165,
-137,119,85,20,184,236,30,244,40,85,171,24,74,76,31,233,117,58,4,90,150,
-214,65,139,237,253,62,185,156,197,160,223,69,145,34,54,158,111,226,123,
-53,252,81,151,200,40,97,181,55,217,217,124,66,168,168,120,227,30,143,31,
-239,146,155,169,98,68,54,173,206,33,145,102,160,151,103,185,253,165,219,
-228,220,67,62,186,251,30,135,123,38,165,153,203,204,217,3,28,55,32,210,
-78,111,172,47,210,228,158,135,25,77,223,128,23,233,73,206,42,59,95,22,68,
-124,177,175,250,34,75,92,48,56,78,187,104,23,185,17,166,53,29,211,38,196,
-174,239,50,114,7,100,245,28,186,108,208,53,187,56,190,203,92,169,73,36,
-132,28,4,251,199,16,114,223,29,177,181,189,141,148,201,96,200,26,155,207,
-159,241,252,192,98,182,89,165,181,191,195,192,23,9,92,135,218,220,37,22,
-155,89,238,254,248,3,158,220,233,32,170,33,140,119,144,11,57,234,243,43,
-168,225,152,245,103,3,86,46,207,211,221,221,101,189,61,228,214,27,55,104,
-239,109,51,242,124,76,115,132,221,107,161,231,53,108,123,140,86,40,33,137,
-222,133,203,146,243,70,167,167,113,150,46,210,184,159,212,88,159,199,129,
-58,175,47,249,4,165,255,2,154,149,207,123,224,200,231,93,160,243,228,156,
-169,171,95,218,127,164,125,64,106,46,230,135,94,60,105,210,178,28,244,91,
-180,250,237,24,81,151,160,146,43,38,102,203,71,8,185,101,58,232,134,130,
-109,141,233,217,29,60,49,67,189,44,50,106,183,41,52,22,208,157,17,253,246,
-136,108,38,139,170,26,104,162,192,161,29,176,176,184,68,216,218,199,145,
-20,100,217,64,150,76,130,8,244,140,129,36,70,8,74,134,70,163,129,56,54,
-233,62,223,229,254,199,99,12,65,100,238,210,60,254,200,228,240,217,135,
-236,13,108,22,110,191,118,38,163,245,101,38,75,39,101,137,243,198,178,47,
-51,77,58,107,0,113,214,32,229,34,135,221,23,229,213,11,61,199,73,23,245,
-188,23,106,58,32,210,157,128,105,147,46,8,2,81,24,33,2,65,228,49,180,135,
-104,178,194,210,76,19,47,244,176,131,17,97,228,29,253,252,208,161,215,27,
-224,59,46,131,118,23,87,130,114,179,78,191,101,51,12,4,140,92,22,223,183,
-208,12,133,78,183,141,38,107,12,253,0,163,144,165,179,187,131,156,45,48,
-223,44,210,222,120,206,48,204,50,63,87,225,193,157,39,100,170,69,150,87,
-116,36,81,162,177,176,68,64,68,207,12,168,54,23,152,107,228,137,28,147,
-141,167,119,112,162,50,25,69,60,51,115,94,36,131,92,244,52,63,171,148,189,
-168,227,228,105,217,254,101,158,195,69,38,97,159,235,81,238,89,58,226,147,
-92,44,94,220,193,55,26,141,24,143,199,19,161,83,26,32,129,239,19,18,224,
-133,54,97,20,160,74,50,157,65,7,81,21,208,69,49,33,139,199,32,160,103,141,
-48,199,38,18,33,150,61,70,213,99,175,42,47,18,41,149,242,236,109,61,199,
-67,101,166,49,67,175,181,203,253,150,67,101,126,142,112,216,226,176,31,
-178,52,63,79,179,158,193,16,61,70,81,158,90,65,195,200,28,144,173,86,200,
-25,42,185,108,6,65,16,40,87,107,199,254,158,72,21,88,189,118,155,43,185,
-6,57,229,229,111,166,151,197,14,78,3,14,207,82,8,158,85,42,93,180,169,190,
-72,134,249,162,57,63,163,231,248,52,39,79,42,147,157,222,67,61,177,172,
-148,68,240,3,188,208,7,33,100,224,12,241,3,159,82,89,67,10,5,4,65,153,24,
-44,184,94,68,174,84,167,144,211,232,245,198,84,42,69,14,218,29,180,76,145,
-74,193,224,224,80,65,214,114,84,202,37,10,134,136,105,121,44,204,214,105,
-181,51,204,174,230,41,21,51,177,73,66,115,133,106,242,60,214,174,231,207,
-45,71,80,12,174,222,188,141,97,24,255,46,227,210,139,52,221,159,198,252,
-224,231,61,237,47,2,152,126,145,53,78,192,57,62,237,197,177,109,123,82,
-66,121,158,55,241,206,53,12,35,222,9,232,142,57,24,111,96,71,3,70,150,131,
-135,157,16,16,227,113,105,81,110,178,90,254,18,130,16,225,185,46,65,40,
-162,107,226,39,92,211,207,58,5,163,40,4,68,68,241,236,102,247,34,245,250,
-203,24,88,255,60,152,198,69,228,173,159,214,52,225,188,70,251,63,2,167,
-249,165,110,200,63,237,204,59,53,112,75,51,71,24,134,199,50,136,44,169,
-24,114,14,219,237,147,201,0,168,68,40,132,97,132,46,20,169,233,11,137,73,
-136,128,162,106,40,233,5,62,229,166,61,105,72,32,138,210,185,13,115,232,
-59,152,118,136,174,203,128,136,44,6,116,187,35,10,229,50,178,192,167,178,
-166,249,180,123,197,47,50,226,189,168,62,227,211,6,211,167,17,182,125,110,
-123,142,243,210,254,105,55,93,58,182,157,214,113,164,193,17,69,17,146,40,
-81,208,98,211,130,216,96,193,39,140,34,84,73,163,164,215,201,105,165,83,
-79,190,147,26,225,79,227,169,20,69,17,184,38,143,31,108,17,70,54,94,36,
-177,184,56,75,123,183,203,188,36,98,245,187,40,133,58,181,82,14,145,232,
-220,210,228,180,44,115,145,177,238,203,140,131,47,90,226,94,212,202,245,
-211,62,167,207,125,89,245,105,95,140,52,107,76,7,199,73,55,187,235,57,108,
-247,118,38,155,182,189,208,69,149,53,234,185,58,57,61,255,201,199,36,242,
-210,40,244,177,108,23,65,82,142,153,42,92,228,109,103,123,143,250,76,21,
-171,215,102,127,103,131,251,27,125,52,67,167,100,68,4,130,138,237,202,255,
-95,123,103,218,36,199,118,156,231,231,108,181,245,50,27,112,47,238,74,82,
-164,165,144,29,254,228,255,255,27,108,203,10,135,28,146,40,74,186,11,47,
-128,89,122,171,245,44,254,80,85,61,61,141,94,170,27,8,81,36,250,48,46,1,
-244,244,244,82,117,242,100,230,155,111,190,201,23,99,199,47,239,30,48,95,
-254,23,254,199,127,255,45,153,30,86,147,248,143,220,60,231,210,226,135,
-24,241,101,125,68,66,126,140,127,179,61,63,110,251,231,66,8,170,166,226,
-247,15,255,76,22,103,36,166,77,122,231,101,195,99,121,79,8,238,133,113,
-4,223,240,254,113,201,100,58,237,4,22,26,230,79,51,116,58,33,141,91,29,
-222,186,170,152,207,158,16,38,37,209,129,217,108,134,21,17,95,223,77,248,
-229,143,63,51,247,6,247,238,45,63,222,207,248,221,223,254,142,226,221,79,
-220,63,205,240,50,227,230,139,239,249,155,47,53,255,248,119,255,196,172,
-169,248,197,42,190,252,205,95,243,248,84,183,131,44,181,218,107,0,67,133,
-16,62,70,127,234,80,66,127,140,46,114,8,241,218,231,109,46,198,50,48,231,
-56,166,194,125,232,70,238,171,188,58,239,120,42,30,201,226,140,81,52,102,
-81,44,105,92,195,237,248,142,88,199,44,203,5,222,135,117,50,237,234,21,
-63,252,248,19,223,153,136,120,20,241,199,31,127,228,237,172,98,52,14,76,
-198,9,179,119,15,160,37,63,254,225,159,40,205,148,107,19,88,230,37,181,
-136,8,229,19,143,79,115,190,249,171,239,248,159,255,251,45,46,150,252,240,
-239,63,51,26,141,249,221,127,125,195,223,255,223,31,145,74,17,197,25,24,
-69,44,2,141,76,208,113,130,150,182,245,84,123,194,199,33,181,142,125,155,
-111,223,239,31,67,149,246,229,89,167,240,166,246,25,230,208,194,224,165,
-206,113,68,96,225,16,205,186,31,57,208,83,72,250,241,3,81,20,181,8,150,
-173,169,93,201,36,30,243,176,122,226,253,211,61,206,89,34,99,24,39,25,85,
-93,116,104,147,2,60,101,81,19,71,146,170,42,88,52,11,30,158,86,216,160,
-104,138,39,158,230,41,171,186,32,85,9,193,7,22,139,25,42,155,112,243,250,
-27,92,181,228,237,83,193,221,235,95,145,37,10,157,165,220,126,249,5,137,
-8,212,78,99,109,67,109,107,86,243,71,254,215,236,71,38,175,95,17,121,65,
-189,124,226,231,127,254,123,242,244,91,196,214,232,177,115,195,158,115,
-32,210,83,10,175,67,242,134,67,181,145,99,189,38,231,128,14,127,209,97,
-213,177,57,221,251,110,106,211,52,235,9,178,155,99,191,250,54,89,239,159,
-71,16,204,139,5,145,210,100,163,49,54,212,212,78,130,120,30,19,38,130,101,
-49,95,129,15,44,158,230,52,50,240,250,155,175,89,45,10,180,242,60,252,241,
-103,226,233,13,178,46,208,233,21,83,85,32,162,17,147,171,107,154,89,195,
-114,181,100,246,254,223,40,170,41,175,111,175,168,173,101,250,197,29,79,
-127,252,153,127,249,183,146,215,183,83,110,38,158,96,222,240,221,247,111,
-240,117,195,195,143,11,126,254,241,137,235,175,254,27,145,20,47,228,117,
-135,34,70,67,79,220,33,218,96,67,188,192,161,67,107,87,174,113,217,240,
-31,25,86,13,185,104,251,208,171,158,178,94,85,21,105,154,174,147,243,222,
-179,248,224,104,92,69,240,14,163,21,105,26,99,131,165,246,249,186,66,46,
-4,216,114,197,42,95,18,172,167,178,129,160,34,226,177,163,170,107,178,47,
-222,144,230,63,162,76,66,34,29,65,66,146,140,72,179,148,200,8,68,154,240,
-183,127,253,59,30,222,191,163,82,41,55,223,79,121,154,175,184,190,187,99,
-58,138,184,45,29,211,241,136,171,235,13,116,44,137,169,151,119,252,246,
-111,82,222,252,234,53,90,158,191,137,134,64,224,135,154,200,78,233,62,60,
-229,62,157,10,7,15,169,153,124,150,80,238,169,83,101,251,127,91,107,215,
-179,184,123,73,158,150,62,210,179,117,61,77,168,65,122,138,218,82,63,54,
-152,76,146,37,138,128,95,87,200,155,198,147,78,110,120,61,74,152,47,10,
-132,135,251,119,239,65,167,92,101,9,163,175,190,70,69,9,177,73,120,85,7,
-116,60,98,156,165,68,177,193,76,191,2,96,52,189,94,127,230,187,55,221,119,
-24,101,220,236,249,142,55,95,124,203,213,107,58,22,241,225,205,254,41,226,
-242,33,176,235,49,157,219,67,175,113,140,150,126,106,59,244,5,173,58,3,
-23,223,54,24,99,204,186,0,216,123,19,41,37,72,131,114,130,50,84,152,8,106,
-107,105,156,35,146,134,198,7,148,72,214,189,28,42,25,115,27,77,73,99,73,
-154,140,9,4,210,73,198,221,221,93,251,166,113,143,106,25,190,249,246,187,
-179,96,207,237,239,161,180,65,13,240,146,199,196,19,206,198,210,7,54,80,
-157,234,57,142,177,138,135,48,123,47,97,213,137,23,103,31,33,177,31,22,
-191,57,200,70,41,69,192,16,171,148,178,153,19,197,14,161,2,62,128,212,53,
-33,72,190,26,253,102,253,126,81,244,44,121,99,146,118,100,112,148,36,39,
-133,5,199,88,175,67,67,141,99,185,192,177,196,120,8,125,124,72,183,225,
-169,198,56,20,17,59,132,92,193,121,162,15,127,241,9,249,33,100,99,215,133,
-238,169,234,155,207,217,164,143,40,169,24,71,55,120,44,75,247,158,88,245,
-3,234,37,169,188,98,28,223,12,102,170,30,59,209,15,85,168,79,165,99,12,
-165,209,28,10,55,15,93,219,143,161,165,12,53,158,67,109,188,199,140,250,
-50,106,121,71,88,53,244,166,245,207,235,81,169,158,99,213,135,83,155,27,
-34,214,41,211,240,154,186,113,56,111,241,190,165,143,132,96,168,154,242,
-133,192,194,57,83,141,134,108,176,161,74,33,167,198,230,67,11,105,199,106,
-22,159,58,7,24,202,18,190,228,28,251,151,236,47,222,33,245,189,67,23,78,
-74,185,54,144,205,191,175,127,47,64,227,106,102,229,156,198,10,164,72,48,
-42,101,89,23,220,231,111,121,191,122,183,245,30,1,231,61,219,135,214,49,
-146,222,16,195,58,86,15,56,117,157,18,122,108,78,136,221,215,3,126,104,
-140,195,144,77,123,168,118,178,175,77,246,178,6,162,85,167,32,43,67,41,
-18,62,120,22,229,156,69,61,103,156,76,48,178,229,71,101,201,136,188,89,
-146,151,121,59,244,190,127,41,95,241,243,47,79,220,220,189,194,96,153,207,
-231,72,19,19,27,205,236,241,1,76,202,205,205,53,105,164,247,198,201,167,
-118,191,13,157,5,126,40,148,58,69,214,255,20,205,169,33,57,195,144,208,
-110,104,136,119,73,198,143,132,85,199,78,213,237,155,191,249,95,79,68,236,
-87,227,26,74,91,50,138,71,40,161,120,88,62,82,219,154,235,209,21,89,52,
-162,110,42,124,8,168,174,58,93,215,37,79,79,79,152,56,66,54,21,143,179,
-39,16,26,130,32,248,134,198,174,240,34,226,219,47,166,131,78,206,161,84,
-142,33,33,228,16,99,59,70,193,25,98,180,199,126,119,223,244,166,115,66,
-174,99,135,203,231,140,94,201,99,200,201,246,69,221,118,203,206,57,234,
-186,94,207,29,239,235,29,207,114,161,174,203,59,98,158,86,51,22,171,5,101,
-89,80,218,130,198,151,109,109,161,55,194,224,169,10,203,120,156,146,47,
-86,228,121,205,221,151,111,72,241,44,103,57,175,190,250,134,137,214,212,
-121,117,48,92,58,150,63,28,75,174,135,122,136,33,57,206,154,99,230,252,
-193,247,56,39,214,223,101,244,155,218,87,199,120,111,135,242,167,75,222,
-113,132,62,50,228,180,219,20,88,216,84,32,92,87,200,131,71,0,62,88,202,
-166,32,54,134,235,233,4,235,29,181,47,241,193,174,67,170,224,107,22,243,
-25,85,94,225,133,66,155,184,181,27,165,49,177,167,174,42,26,41,184,190,
-29,127,112,19,63,118,42,213,174,36,249,148,240,172,40,27,98,35,240,8,116,
-87,235,33,180,249,83,85,151,248,160,24,103,201,201,202,137,135,32,246,83,
-8,144,219,215,234,28,224,226,18,86,157,1,49,246,112,110,79,31,233,195,43,
-239,61,222,121,2,14,27,124,87,13,87,60,206,103,168,24,18,217,86,200,251,
-68,188,169,10,106,231,248,250,155,175,88,46,22,204,231,43,222,191,117,164,
-89,194,100,236,121,251,246,158,111,190,253,150,235,113,114,116,176,228,
-208,68,117,104,40,83,149,5,210,196,24,37,63,248,217,15,127,248,87,116,118,
-75,40,223,81,233,9,191,254,250,117,151,63,213,252,195,255,249,7,146,219,
-59,174,198,19,158,126,249,9,210,41,35,237,120,120,120,194,167,55,124,255,
-245,43,98,117,60,55,56,214,212,116,172,57,107,223,181,58,213,59,125,214,
-198,113,138,38,82,255,252,222,48,202,178,36,233,138,118,253,77,148,74,130,
-243,216,96,91,93,170,38,199,57,207,56,209,88,15,82,70,8,209,65,193,65,242,
-230,219,223,16,71,138,56,50,4,15,68,35,166,211,132,98,46,136,198,41,119,
-215,163,163,28,165,79,213,2,234,156,67,8,201,251,63,254,200,251,199,25,
-147,47,190,230,171,87,215,232,141,247,120,122,255,11,111,239,31,185,139,
-175,184,255,241,223,169,210,215,124,247,106,196,47,63,253,196,188,110,200,
-243,37,149,54,80,149,172,22,75,40,106,158,108,197,237,151,95,49,95,214,
-88,23,136,213,167,221,140,67,89,183,231,12,216,185,120,142,3,167,205,174,
-11,38,165,36,142,227,53,132,219,23,2,165,148,120,12,202,74,26,95,17,197,
-2,147,8,124,16,40,101,9,65,146,233,201,250,245,76,60,66,245,243,61,210,
-140,155,87,138,40,73,81,210,99,164,34,234,230,12,30,203,43,246,121,138,
-186,42,169,27,152,76,82,188,179,212,85,69,144,6,139,96,146,124,56,186,249,
-253,187,7,158,86,37,229,236,61,196,9,182,200,249,229,167,5,141,117,120,
-235,144,81,68,254,238,29,69,229,9,161,33,30,77,65,192,124,118,79,238,12,
-191,254,230,21,63,6,67,60,82,188,251,249,129,215,223,255,150,230,225,23,
-22,209,53,217,104,76,177,122,66,132,97,155,113,232,180,223,125,61,247,67,
-115,165,11,125,100,143,113,12,69,73,118,37,233,125,85,124,147,95,5,160,
-165,38,209,25,117,189,66,25,139,145,17,132,64,8,146,68,78,152,70,95,172,
-5,22,100,167,92,210,99,5,105,150,174,255,190,203,48,54,55,77,83,215,72,
-109,80,114,51,12,241,120,15,170,11,133,150,243,39,102,133,98,50,73,200,
-159,238,249,231,127,253,129,16,95,49,185,186,98,21,10,172,201,184,25,73,
-222,254,242,30,145,94,241,246,15,255,143,70,37,188,186,249,134,223,252,
-238,107,202,135,95,248,195,31,126,166,129,216,114,235,0,0,28,232,73,68,
-65,84,240,150,209,248,154,229,253,156,87,55,175,249,122,82,19,170,37,247,
-143,75,92,88,241,239,74,49,138,98,26,231,81,193,147,87,30,165,21,203,199,
-123,172,84,220,140,19,180,20,100,89,210,42,62,14,204,47,206,169,129,12,
-209,56,190,232,84,13,48,142,83,235,29,155,137,120,239,65,182,139,128,66,
-72,50,211,194,174,101,83,96,187,4,94,75,195,68,95,147,232,236,32,124,250,
-97,136,16,168,138,18,116,68,164,37,2,112,182,225,167,31,126,32,158,188,
-226,246,118,210,182,215,2,182,202,121,92,66,154,4,234,213,138,183,15,143,
-148,101,224,247,33,7,231,16,241,148,68,122,138,167,247,204,87,11,92,58,
-102,238,42,102,43,203,23,223,103,92,189,250,138,88,183,222,79,43,1,66,96,
-178,41,177,242,36,217,136,42,175,241,193,81,86,5,222,59,146,201,13,191,
-250,98,202,188,168,105,170,57,247,139,136,116,100,88,172,44,175,223,124,
-133,198,162,210,41,163,52,70,105,133,185,213,24,125,26,181,253,144,119,
-24,130,212,13,241,56,23,3,233,174,205,166,110,213,144,222,230,237,199,54,
-251,54,160,165,126,239,122,110,221,84,188,95,190,95,63,86,185,10,37,20,
-55,217,13,227,100,178,241,252,128,115,237,92,114,185,243,38,57,30,223,221,
-35,179,27,174,70,6,92,205,191,252,227,239,201,45,40,29,115,125,119,141,
-244,37,65,143,136,221,140,191,251,253,59,190,123,51,165,88,228,212,214,
-82,149,150,36,211,212,78,81,230,37,215,119,55,196,194,161,179,59,194,234,
-137,101,81,131,13,4,19,51,74,37,58,54,44,158,86,92,125,113,131,43,22,148,
-222,112,61,138,16,74,81,231,21,101,177,160,22,134,44,137,121,253,230,13,
-99,35,169,106,71,93,231,120,29,51,138,36,69,229,185,154,142,15,110,246,
-115,128,131,83,195,161,83,26,169,134,64,191,159,173,113,156,114,147,122,
-116,170,239,0,220,118,219,181,173,121,200,239,209,74,97,84,68,32,80,54,
-5,171,122,69,44,99,190,187,249,21,129,190,214,209,240,238,126,201,228,250,
-138,212,180,225,217,124,185,196,40,197,106,57,7,101,104,138,10,97,34,38,
-211,12,63,159,241,175,239,150,76,167,99,170,60,39,155,100,20,139,247,60,
-214,17,95,221,70,20,165,34,18,37,68,19,140,47,120,202,5,215,35,203,15,63,
-220,35,226,49,191,253,237,247,132,252,145,183,115,143,171,114,146,113,194,
-242,225,17,51,185,101,162,106,242,16,97,124,193,60,175,200,166,55,124,247,
-245,27,228,134,206,85,85,174,64,197,68,218,144,36,209,73,12,220,79,29,227,
-127,236,107,13,253,204,151,176,138,221,12,205,99,52,231,205,10,185,16,2,
-231,29,203,106,177,54,140,101,185,106,5,22,70,55,24,109,88,150,75,124,8,
-235,70,35,91,87,60,205,158,48,105,2,141,231,241,241,145,170,118,72,33,177,
-182,34,4,129,11,138,81,230,121,154,57,234,98,137,150,150,217,195,59,38,
-119,175,136,101,160,240,154,208,84,184,48,194,219,10,167,3,161,174,112,
-193,163,163,9,145,94,49,158,222,48,190,253,130,219,171,9,181,241,252,244,
-243,63,193,232,154,113,36,73,190,124,195,248,246,150,68,212,20,141,32,53,
-130,155,162,228,246,238,245,7,155,168,239,149,63,22,154,30,130,141,79,233,
-177,24,226,209,79,81,63,57,37,127,249,236,209,170,125,23,103,223,77,234,
-195,169,94,100,161,239,39,239,231,115,88,103,177,222,146,70,9,79,249,156,
-197,106,65,8,158,216,68,140,226,20,45,21,33,248,86,181,48,120,234,202,146,
-38,17,182,46,89,86,37,217,244,10,113,127,207,195,44,231,155,223,124,75,
-121,255,142,119,179,138,219,155,9,213,98,134,50,99,70,89,73,19,143,248,
-242,110,202,236,237,31,105,130,96,60,30,147,165,25,249,236,9,153,36,148,
-171,5,94,197,92,93,39,92,93,79,136,199,14,109,162,118,131,103,83,190,255,
-245,175,17,81,202,100,148,110,124,239,148,184,239,87,73,199,39,109,154,
-83,58,248,118,29,62,135,238,195,80,16,229,84,132,234,162,62,178,199,56,
-78,233,109,216,188,192,253,184,179,77,228,106,59,188,146,66,180,137,107,
-83,18,107,67,154,36,32,60,181,175,128,64,95,34,15,222,146,175,114,154,170,
-194,185,128,81,26,3,32,21,58,54,212,77,131,21,2,29,41,76,156,226,203,25,
-98,60,66,59,131,138,71,36,177,166,30,165,44,171,57,183,95,190,102,50,74,
-49,202,163,77,130,191,170,241,82,147,38,25,38,82,152,248,197,183,225,234,
-246,238,131,112,240,148,230,162,115,59,248,134,18,15,247,253,121,140,92,
-184,175,31,103,168,7,186,120,142,51,78,191,237,11,24,66,160,105,26,226,
-110,38,120,159,131,120,255,92,33,7,143,144,18,169,4,46,56,172,247,120,234,
-222,52,112,77,73,99,27,98,163,219,228,217,121,170,247,150,40,137,201,178,
-192,227,195,19,163,81,198,171,241,132,72,43,42,29,51,30,167,152,16,131,
-84,8,169,24,95,221,49,189,251,106,253,249,175,175,187,22,91,70,47,12,120,
-200,200,178,161,146,254,199,140,228,208,102,223,222,192,187,146,225,93,
-239,51,84,152,237,148,240,233,34,242,182,199,56,134,80,41,14,137,77,87,
-85,69,85,85,47,36,121,250,90,3,34,224,66,3,34,80,213,53,181,109,48,137,
-36,150,10,33,194,134,0,156,32,157,92,51,74,35,242,213,138,170,172,9,81,
-198,100,156,80,173,4,81,26,49,25,167,68,70,33,177,248,201,152,88,43,36,
-27,157,135,38,30,76,65,31,162,135,123,172,48,122,238,60,139,83,164,117,
-134,76,220,26,170,61,118,142,209,124,214,198,177,139,128,55,36,164,218,
-252,189,190,127,188,39,30,174,71,159,5,133,244,130,58,52,24,3,206,7,188,
-119,173,156,79,176,100,250,122,13,225,234,56,101,18,9,180,106,251,207,227,
-212,19,165,41,74,120,180,16,232,40,225,153,218,164,25,111,112,172,78,9,
-5,135,40,128,12,193,255,79,145,185,57,7,134,61,215,19,28,42,30,14,209,251,
-189,120,141,13,40,119,200,108,138,125,23,178,174,235,15,146,243,16,194,
-154,78,226,189,99,85,207,88,218,71,26,74,188,119,157,80,116,96,172,110,
-152,68,175,137,117,122,118,79,244,167,64,104,62,38,140,248,20,253,20,31,
-243,189,143,65,176,67,117,121,247,121,168,207,30,202,29,130,134,12,45,22,
-109,11,44,72,161,72,205,152,128,167,240,16,132,239,82,96,197,88,191,34,
-86,233,193,202,248,174,155,229,124,64,16,240,62,160,55,132,159,247,225,
-243,199,228,55,135,170,174,156,219,77,120,106,163,212,177,241,11,199,42,
-232,251,198,53,12,129,152,143,237,135,207,26,173,58,37,54,237,195,168,126,
-62,199,182,97,244,175,165,100,68,162,38,212,141,197,5,71,8,173,209,204,
-221,146,32,4,89,148,189,120,93,231,60,82,126,104,144,77,93,49,91,148,76,
-174,38,232,224,168,172,95,27,7,64,190,92,144,151,13,81,154,49,29,37,131,
-195,147,67,167,235,49,143,115,232,80,57,102,68,159,98,48,206,208,239,120,
-78,142,113,201,57,246,32,22,67,111,72,15,217,66,75,33,249,96,36,65,0,235,
-26,150,245,18,23,4,90,198,32,4,214,215,20,77,14,165,39,51,217,186,225,73,
-16,152,47,150,100,163,17,177,81,47,222,171,169,43,202,162,192,251,134,36,
-73,240,214,129,15,68,70,242,248,56,167,152,63,240,84,212,36,147,59,166,
-127,245,245,96,74,197,144,188,228,88,175,196,80,253,218,115,232,225,67,
-117,185,142,193,177,231,160,104,151,57,228,7,78,203,115,217,155,155,121,
-72,222,172,168,92,73,22,141,144,93,239,70,172,35,34,21,145,215,249,11,119,
-238,125,195,108,54,67,69,17,184,134,178,106,136,99,77,185,92,48,207,75,
-172,117,4,47,40,106,75,172,36,149,173,73,162,136,160,28,121,97,201,70,41,
-70,171,143,26,93,118,74,242,61,20,14,61,5,21,59,6,181,30,50,210,161,181,
-149,125,247,243,66,97,127,94,242,216,9,179,171,160,180,189,241,250,174,
-191,205,191,63,231,7,150,198,55,164,81,70,8,48,91,205,184,95,60,80,52,37,
-90,233,174,66,254,124,106,85,69,73,28,27,108,93,145,47,231,212,141,163,
-204,87,212,46,112,51,29,147,164,99,110,95,191,194,215,53,46,72,4,142,167,
-121,78,28,167,152,216,144,164,35,198,147,236,168,48,217,174,199,143,245,
-163,239,67,125,14,121,160,93,175,61,100,60,192,177,207,188,235,253,78,129,
-145,135,116,3,158,242,154,127,177,198,49,212,221,239,58,93,156,115,88,107,
-215,70,209,139,45,172,13,39,4,36,2,45,21,171,114,73,221,212,164,38,198,
-133,6,235,219,218,199,250,125,8,148,69,133,119,142,178,40,169,109,32,27,
-37,120,31,80,58,162,113,32,117,132,54,186,101,236,10,69,34,33,142,34,162,
-56,101,50,78,240,214,226,54,80,179,33,82,157,187,54,218,177,100,246,20,
-97,182,161,2,7,67,136,159,219,69,204,161,198,116,232,123,92,52,172,206,
-12,171,134,192,146,219,49,113,111,40,235,176,129,86,133,164,113,182,245,
-22,90,225,133,195,134,26,143,219,16,88,104,7,204,72,33,112,174,193,9,131,
-214,10,39,67,171,111,37,53,81,18,163,132,100,60,30,161,162,152,241,104,
-74,234,64,71,10,253,234,21,85,109,81,81,124,118,162,57,36,228,56,39,212,
-24,66,219,56,119,136,229,49,130,226,80,148,235,178,142,64,185,135,226,206,
-67,125,228,206,185,53,125,164,55,16,33,4,193,183,194,10,14,15,29,45,125,
-145,47,209,145,192,24,185,126,44,132,64,83,55,36,217,148,44,137,40,242,
-130,218,181,197,196,52,203,48,49,120,33,49,38,70,41,193,213,245,20,33,36,
-82,73,164,162,19,157,206,136,146,211,234,11,47,141,0,86,203,28,101,98,146,
-88,127,20,244,187,47,183,56,101,54,198,46,136,246,80,46,115,236,30,29,67,
-235,62,119,138,250,94,180,234,24,238,126,232,52,237,71,159,89,107,215,20,
-238,126,152,166,148,18,124,43,205,35,100,43,242,22,240,24,165,240,56,148,
-48,235,225,53,42,74,25,25,129,82,130,145,210,164,1,180,148,136,100,204,
-246,28,89,105,228,96,100,230,249,123,180,112,112,109,61,38,138,137,186,
-142,193,231,223,11,204,103,11,210,137,34,142,212,193,77,253,169,106,1,167,
-200,32,13,129,131,79,161,253,236,51,170,75,50,126,32,172,218,117,154,28,
-186,145,82,202,245,208,26,165,212,26,210,237,255,45,157,160,14,22,99,192,
-68,130,128,64,8,135,8,146,68,61,171,137,108,246,158,43,173,81,3,235,5,219,
-55,217,58,143,209,234,131,207,221,148,57,247,15,143,20,22,174,110,110,185,
-30,167,8,224,233,233,145,44,77,89,205,103,204,87,5,241,244,230,168,66,251,
-49,175,122,142,209,12,153,169,113,10,5,230,88,216,182,175,175,228,226,61,
-182,194,170,67,99,184,14,109,208,254,191,190,111,220,57,247,65,133,60,86,
-41,206,214,120,213,160,132,1,2,2,69,36,51,82,61,121,214,201,61,225,100,
-221,126,220,217,134,188,40,89,174,10,198,147,233,179,113,116,159,111,145,
-23,184,213,156,170,14,140,71,41,52,37,111,127,186,103,190,42,64,42,198,
-89,129,171,45,70,171,15,62,206,169,181,137,143,101,199,30,67,190,134,26,
-216,177,159,13,145,45,253,236,251,57,142,157,24,135,54,232,46,202,245,102,
-97,80,10,73,164,83,132,128,178,73,90,152,55,4,164,80,24,149,161,132,62,
-249,198,62,127,222,150,176,24,130,39,95,204,121,88,228,36,73,74,176,21,
-121,14,248,182,1,43,95,45,120,88,84,140,162,136,233,205,45,55,211,132,249,
-195,3,139,202,146,101,99,148,82,172,86,37,215,183,183,68,229,114,208,6,
-28,26,90,125,76,242,62,212,0,142,169,151,236,3,20,246,213,130,46,51,58,
-182,114,142,83,78,141,205,205,209,235,83,109,75,244,108,224,179,72,36,146,
-8,231,43,164,208,8,41,168,109,69,229,102,140,227,9,89,244,92,151,32,4,172,
-115,72,181,125,130,191,188,113,79,179,25,38,78,160,206,89,149,53,85,89,
-99,162,24,165,53,66,120,30,223,223,163,98,67,40,10,22,181,37,210,6,31,196,
-186,180,19,16,36,211,43,132,247,72,1,70,41,170,213,130,210,54,124,121,35,
-207,58,153,143,133,71,135,66,216,83,189,196,190,68,125,40,74,117,200,184,
-47,220,170,3,104,213,46,183,123,232,162,110,50,114,119,221,248,198,53,44,
-235,5,198,24,148,144,109,239,159,132,178,41,201,235,21,153,201,8,244,239,
-99,153,205,87,140,38,19,140,240,44,243,178,51,64,48,74,83,149,37,179,249,
-18,161,4,178,110,80,190,65,234,86,58,167,125,93,137,73,18,170,226,23,148,
-185,67,123,71,146,36,36,89,134,168,11,22,179,7,108,109,168,235,134,108,
-60,69,134,86,233,68,107,69,85,228,124,253,250,43,226,72,15,138,219,79,229,
-100,157,43,96,112,72,96,111,8,104,114,12,137,60,116,56,126,206,6,162,135,
-156,102,167,156,154,219,70,18,130,167,108,74,2,1,137,36,175,10,156,115,
-76,178,49,89,148,81,214,69,251,51,33,215,185,67,93,87,196,54,193,55,37,
-171,85,195,120,20,209,212,14,171,20,85,89,162,116,196,116,156,176,88,44,
-145,201,136,235,171,140,197,227,140,96,34,180,148,120,219,16,69,9,222,121,
-178,171,9,69,94,210,88,203,237,245,24,63,91,80,89,199,171,215,95,180,72,
-216,198,215,201,178,148,40,142,14,158,178,199,234,3,206,59,170,178,33,74,
-98,182,37,169,134,10,181,29,26,17,176,47,33,31,90,240,60,181,127,253,146,
-144,15,96,227,30,138,169,55,219,98,55,199,161,181,2,11,158,16,28,105,148,
-178,42,87,148,85,213,229,31,37,137,137,145,114,227,198,17,104,106,71,28,
-105,138,188,32,146,130,88,107,132,208,24,21,88,229,37,105,150,209,216,176,
-70,194,92,83,242,52,119,52,77,141,45,74,180,137,136,35,197,213,237,43,188,
-247,140,38,25,73,82,226,144,196,105,194,173,142,49,91,69,194,53,66,166,
-212,65,196,104,223,9,237,157,163,170,74,102,139,21,105,150,210,84,14,29,
-69,184,208,142,150,30,167,241,73,7,205,144,199,207,73,166,247,33,82,251,
-144,185,11,43,119,143,27,221,215,19,177,125,18,181,243,198,253,78,131,105,
-99,251,254,247,28,214,89,140,214,196,81,123,58,219,96,215,42,235,109,193,
-176,161,170,74,234,218,34,148,38,232,24,239,10,170,70,49,25,69,176,106,
-48,145,1,28,82,73,146,44,195,213,5,101,99,185,186,190,193,91,139,144,10,
-165,20,198,232,13,128,96,67,57,196,68,39,109,204,162,40,208,38,90,83,227,
-219,239,21,8,225,185,198,227,154,138,167,199,39,76,164,169,242,28,161,98,
-170,213,130,249,170,64,69,233,11,227,24,210,26,59,116,46,252,41,125,29,
-167,108,248,161,180,250,207,54,172,58,36,47,121,136,166,176,201,255,9,33,
-180,35,205,0,31,92,167,51,210,162,75,1,15,65,116,169,113,167,116,216,88,
-188,16,100,105,130,82,10,235,2,194,24,226,216,160,36,36,147,49,81,20,97,
-76,171,104,162,12,132,56,226,202,152,147,98,229,99,211,103,251,127,207,
-31,238,201,171,134,120,52,102,50,202,144,162,173,233,172,22,115,42,47,24,
-25,197,42,47,80,198,96,210,41,183,211,152,197,195,19,133,111,200,115,207,
-237,245,148,162,180,7,141,226,16,111,237,83,49,116,79,209,185,186,244,116,
-236,241,28,67,32,195,109,3,233,255,238,156,163,170,42,146,36,121,25,199,
-18,64,248,118,136,141,12,88,235,177,165,195,68,2,41,3,82,232,103,110,149,
-80,164,233,132,52,137,214,252,44,231,3,218,104,176,37,89,18,175,199,163,
-61,99,197,114,247,6,90,123,47,193,246,253,109,213,214,61,38,138,136,204,
-115,40,229,157,71,200,246,119,189,111,193,0,33,21,85,109,137,116,193,106,
-85,226,16,132,124,133,204,70,216,229,130,188,174,137,147,17,81,146,117,
-76,24,65,112,150,32,35,202,178,194,5,117,244,80,217,119,221,207,77,234,
-63,69,203,241,37,172,58,160,178,126,44,6,221,190,208,222,251,117,149,124,
-19,197,82,72,100,16,52,193,182,136,82,232,58,8,85,107,19,145,74,214,158,
-67,105,131,210,173,96,179,144,18,37,37,186,123,31,175,34,204,86,78,112,
-8,6,117,193,99,235,166,21,101,16,155,161,94,96,246,248,72,101,65,199,41,
-175,239,166,172,86,5,90,56,86,171,154,201,221,21,62,95,50,95,150,157,159,
-235,40,44,193,209,212,37,94,106,178,56,67,8,200,125,32,29,79,73,98,77,85,
-86,204,23,13,94,74,116,208,24,3,179,229,146,104,116,117,82,248,50,100,126,
-250,208,122,199,208,98,227,69,2,116,207,117,10,3,171,60,251,46,248,38,61,
-125,243,57,125,253,195,121,71,227,74,42,191,194,133,6,31,66,59,225,9,72,
-212,132,68,141,208,42,58,219,123,57,103,177,46,96,140,65,132,118,62,225,
-124,177,32,29,141,113,77,67,58,154,96,148,68,74,193,211,195,3,94,8,234,
-178,38,74,99,234,188,194,122,75,156,100,8,91,225,130,0,163,209,120,38,215,
-119,44,30,238,9,202,128,109,8,8,16,158,198,67,44,161,110,44,82,182,252,
-49,147,164,248,166,38,72,69,154,101,196,70,81,23,75,30,23,21,163,233,53,
-87,163,248,163,234,38,67,238,203,167,128,142,135,244,222,127,118,198,113,
-10,222,190,253,156,190,151,99,243,241,158,87,245,156,127,248,206,64,242,
-181,96,180,68,17,203,49,90,155,53,140,123,232,134,111,183,224,174,19,230,
-124,73,213,64,54,74,193,150,204,102,75,84,100,240,214,227,125,32,8,48,81,
-138,240,21,101,89,183,121,143,144,40,163,240,206,163,132,98,116,53,38,159,
-231,76,38,49,111,127,121,36,29,39,104,109,168,203,10,164,34,56,71,146,40,
-170,198,97,76,12,182,2,29,113,53,25,211,52,13,82,233,54,151,18,2,163,53,
-33,120,108,93,209,120,65,28,69,235,249,32,159,42,124,249,20,6,117,106,205,
-227,179,54,142,83,251,57,54,219,96,55,107,27,155,27,248,5,170,229,45,69,
-147,175,61,140,235,126,63,53,41,177,222,24,76,211,13,153,20,82,182,10,35,
-221,136,242,178,170,73,226,168,51,174,118,60,65,153,175,40,235,26,107,3,
-82,182,97,153,179,129,233,245,21,197,227,3,171,178,38,74,34,172,115,212,
-85,195,171,55,175,105,242,21,243,142,150,254,250,213,53,243,89,78,54,78,
-89,62,62,16,132,36,157,142,9,101,78,89,89,164,82,120,31,72,71,19,210,184,
-5,8,180,214,120,215,162,98,155,226,14,167,156,232,167,228,3,167,72,120,
-158,34,201,115,65,170,206,172,115,28,187,1,219,185,71,95,31,216,119,243,
-156,119,20,77,73,8,160,164,110,55,55,142,218,214,237,132,89,189,9,117,58,
-242,188,36,78,51,180,176,84,117,192,219,138,162,172,17,98,132,179,13,214,
-75,70,137,166,172,42,2,207,196,199,170,182,68,81,66,223,35,34,164,102,58,
-29,179,152,47,32,50,148,69,78,83,55,68,113,198,104,60,66,43,73,20,105,148,
-148,164,73,68,81,121,70,73,130,215,134,56,117,8,41,33,4,180,49,237,247,
-212,189,103,52,131,197,10,206,169,107,236,203,251,78,25,249,124,238,6,191,
-80,71,118,36,228,199,78,174,33,100,182,157,27,133,64,109,43,92,112,107,
-35,8,33,96,132,65,69,138,186,169,94,60,223,59,75,221,52,232,200,34,176,
-172,86,21,73,36,1,1,222,211,84,21,121,19,112,54,34,77,199,72,26,202,26,
-178,212,80,63,45,112,182,161,200,3,94,74,140,105,149,76,68,156,112,157,
-193,251,135,71,172,208,188,186,189,34,235,102,0,166,89,210,194,194,227,
-41,217,84,34,186,241,107,74,235,15,234,54,67,19,228,115,14,153,67,143,29,
-218,196,135,100,67,135,24,212,37,148,58,177,206,177,175,120,52,164,95,121,
-51,196,90,135,93,120,98,221,194,179,101,83,226,172,37,73,18,34,101,214,
-106,36,207,164,67,143,86,18,103,29,90,11,70,89,134,81,1,132,65,132,128,
-84,17,113,176,72,33,176,77,221,214,73,164,65,10,65,18,25,156,179,212,181,
-35,27,141,17,174,33,175,44,211,44,67,250,26,37,53,38,206,72,227,190,46,
-34,214,131,104,132,82,123,191,127,247,209,142,142,32,59,214,77,119,10,239,
-233,16,61,228,20,245,247,93,53,144,11,90,117,98,88,53,244,2,111,175,77,
-9,208,254,223,125,168,213,251,14,209,231,8,182,196,123,79,154,164,4,2,46,
-184,23,189,28,33,56,108,99,241,206,225,131,197,104,131,179,182,53,32,215,
-170,174,251,46,9,73,18,67,83,215,4,161,136,76,203,244,29,141,71,109,129,
-49,128,54,6,130,38,201,90,96,192,7,197,228,234,10,109,162,117,94,116,76,
-130,200,59,139,181,14,165,13,193,59,130,80,237,108,192,141,231,237,227,
-42,157,210,254,186,207,251,236,19,191,62,102,84,251,140,124,72,67,214,197,
-40,206,44,2,238,155,36,251,66,76,97,227,166,182,124,171,206,136,130,199,
-135,128,150,170,203,9,218,206,242,158,62,2,161,51,138,64,100,218,25,229,
-222,131,16,14,132,70,27,129,15,26,233,61,163,116,130,86,109,247,33,8,164,
-84,107,142,214,139,205,192,243,224,78,169,13,35,109,246,158,188,187,190,
-91,145,231,212,141,67,71,166,171,200,39,184,186,104,121,90,73,130,81,195,
-101,121,142,137,90,159,227,93,78,241,24,251,94,251,92,35,254,108,141,99,
-72,11,230,230,197,147,82,174,135,216,244,141,78,47,61,74,232,80,166,246,
-207,170,118,40,35,80,161,187,105,235,9,29,130,40,110,71,12,52,141,69,155,
-8,111,116,135,92,233,214,208,66,88,231,3,67,218,68,91,14,212,86,109,166,
-169,177,174,125,157,200,232,206,184,193,251,78,37,62,4,242,124,69,109,3,
-58,138,17,193,210,88,240,110,213,30,8,72,180,241,24,37,7,65,172,31,67,24,
-220,133,64,125,138,126,239,125,186,91,23,242,225,17,227,24,42,93,179,121,
-179,182,197,220,250,122,71,192,35,66,203,173,18,178,85,35,65,6,132,108,
-125,135,20,6,186,152,94,105,141,12,109,140,111,140,65,72,129,16,106,157,
-31,8,113,2,132,25,2,182,105,80,38,122,209,52,229,189,39,95,229,88,79,91,
-145,159,100,84,101,141,18,142,178,114,164,227,12,95,151,88,235,81,90,19,
-199,9,216,170,53,40,4,73,154,129,109,214,6,125,206,6,58,150,36,31,243,36,
-251,38,54,157,210,73,121,40,188,186,132,86,103,132,85,135,220,246,135,243,
-199,59,5,18,33,215,67,108,148,2,161,91,10,9,34,32,130,36,146,241,198,235,
-62,27,192,49,10,197,230,205,109,172,107,107,14,222,209,52,22,235,90,24,
-214,91,135,145,106,221,183,177,90,182,194,213,65,72,146,212,208,84,13,179,
-199,39,116,20,99,93,131,16,146,124,85,32,149,98,52,25,81,21,197,250,61,
-180,209,248,16,240,182,193,57,191,22,127,24,138,6,157,131,38,157,74,107,
-63,55,175,248,20,195,53,63,43,227,24,66,161,222,126,188,111,151,125,9,103,
-74,180,52,173,199,160,70,208,146,170,132,144,24,25,161,101,116,86,28,221,
-47,231,26,154,218,181,207,241,13,101,81,226,105,123,212,67,0,187,90,161,
-180,33,50,178,29,234,217,22,64,176,206,129,18,104,21,145,36,49,85,1,105,
-106,152,205,86,40,5,85,89,180,212,148,194,161,164,32,78,34,188,115,212,
-117,133,13,10,165,229,94,68,111,72,174,48,164,121,106,40,117,125,72,142,
-120,200,107,12,9,187,46,198,113,228,180,27,114,194,108,254,183,126,19,217,
-106,83,53,94,16,124,39,228,22,36,72,197,62,233,145,231,238,52,16,34,16,
-60,109,251,119,247,209,218,33,156,158,170,170,113,46,80,150,45,170,37,148,
-33,137,12,190,174,168,106,139,142,52,174,169,89,148,158,233,213,4,91,183,
-5,197,32,37,211,241,136,34,175,219,207,27,44,121,238,24,95,77,8,77,69,99,
-45,74,73,66,128,108,52,66,8,112,18,156,147,40,21,161,164,216,249,201,79,
-49,130,161,185,199,185,34,212,199,66,166,33,239,121,241,28,28,111,9,221,
-119,50,110,122,140,221,53,130,142,137,75,107,24,66,180,33,142,117,150,202,
-89,2,17,145,216,164,143,120,172,107,179,104,137,167,177,1,37,3,141,245,
-40,45,241,214,226,145,196,70,82,87,245,26,186,149,136,142,222,97,48,218,
-80,215,53,66,42,210,52,161,206,115,16,138,186,174,112,182,77,244,227,36,
-65,74,129,54,45,210,101,34,67,99,91,164,44,40,137,9,30,209,177,114,251,
-143,38,165,34,138,19,140,137,78,190,208,231,76,115,29,90,55,249,152,241,
-101,231,118,128,126,14,107,205,202,253,216,19,98,115,120,205,246,197,119,
-222,81,185,10,45,117,71,78,111,177,41,235,45,33,192,40,122,22,118,11,222,
-178,42,106,76,20,161,113,172,74,139,86,208,212,150,36,141,105,234,154,198,
-5,226,168,165,112,104,37,104,44,68,145,102,149,23,104,29,33,5,120,111,241,
-62,180,5,60,32,137,12,203,229,18,47,20,147,209,168,235,20,100,205,221,34,
-132,150,46,114,0,205,25,50,93,119,104,88,114,174,62,241,185,52,245,161,
-6,249,185,123,139,23,128,210,199,92,140,67,234,228,155,205,78,214,219,245,
-235,215,182,161,106,42,64,96,186,202,54,225,25,242,237,97,213,86,99,23,
-84,55,60,51,74,82,164,16,72,165,209,90,182,163,207,132,192,250,0,157,55,
-146,180,98,212,214,54,152,40,106,85,68,132,96,148,141,80,74,34,149,38,138,
-98,140,209,107,4,76,246,97,160,148,31,108,234,99,51,74,118,37,217,67,117,
-158,182,85,222,79,165,141,236,186,230,31,134,164,97,240,231,184,120,139,
-61,97,213,208,49,189,199,90,98,55,189,136,124,177,217,2,90,40,106,215,224,
-125,155,60,59,239,186,130,224,198,13,9,30,239,66,203,204,117,30,37,21,90,
-41,180,12,212,214,209,216,54,132,18,180,253,25,109,213,90,162,85,139,136,
-197,113,132,210,109,34,174,148,6,20,74,247,97,145,36,73,210,78,215,106,
-127,34,251,66,56,161,43,110,14,237,222,219,87,112,219,55,231,240,99,123,
-189,247,25,200,190,215,61,197,243,93,214,17,40,119,95,188,188,249,216,46,
-195,248,240,244,19,93,45,35,160,58,1,132,0,248,190,58,46,158,159,111,157,
-69,73,137,235,171,239,206,226,132,66,138,64,144,178,69,189,132,198,104,
-217,210,74,16,235,234,120,20,199,91,239,45,144,178,219,36,66,17,199,234,
-40,253,98,243,115,219,78,176,161,55,190,99,221,117,135,78,251,161,180,145,
-161,207,59,86,191,216,247,217,46,57,197,71,24,199,33,104,114,215,223,183,
-141,225,101,40,178,25,102,249,94,188,179,19,88,232,106,29,235,123,211,134,
-84,218,196,109,216,100,93,171,252,166,66,87,117,215,235,231,181,155,190,
-5,1,228,64,161,128,99,27,118,123,99,121,239,113,214,130,100,61,70,237,16,
-80,113,236,61,135,36,223,135,16,164,125,161,222,80,52,241,98,4,31,97,28,
-135,164,37,15,97,240,219,21,242,151,114,160,237,192,76,209,81,71,122,138,
-70,43,247,217,86,177,37,47,67,43,221,201,128,42,213,10,47,72,105,118,118,
-0,30,242,0,47,54,114,151,187,236,211,126,237,91,109,157,11,72,37,187,113,
-8,1,231,218,4,93,238,19,112,96,152,32,218,185,250,181,67,104,29,23,85,244,
-63,65,88,117,106,99,255,161,211,74,72,1,94,180,84,145,94,192,173,51,20,
-129,68,73,189,22,88,16,125,14,34,186,127,31,168,32,111,191,255,174,73,182,
-173,52,144,199,5,186,10,186,199,218,6,41,117,107,184,66,224,173,237,42,
-246,180,12,96,101,214,74,133,125,31,252,190,28,98,200,201,124,72,122,103,
-223,239,31,147,239,185,24,196,159,208,56,134,170,87,188,128,189,164,252,
-160,209,71,8,129,64,160,132,194,5,15,34,160,58,77,91,137,66,10,221,118,
-6,138,54,241,120,161,63,125,44,9,238,230,13,246,60,170,22,182,237,88,192,
-66,32,66,192,54,182,205,117,232,251,208,29,222,185,110,228,115,143,227,
-118,194,111,74,210,52,22,1,56,255,124,34,59,239,63,232,1,63,84,121,62,214,
-40,54,36,169,191,16,255,254,19,25,199,80,73,158,161,70,243,226,181,16,173,
-119,240,224,104,233,27,34,64,39,218,211,22,218,142,64,153,253,92,193,176,
-97,24,189,182,148,236,234,42,129,128,109,90,202,187,144,138,224,154,110,
-239,183,163,209,250,95,147,82,225,105,31,247,222,34,149,110,11,143,235,
-190,245,54,12,147,82,182,245,146,129,117,131,93,97,233,161,199,46,185,193,
-159,17,148,123,42,254,189,175,169,102,147,124,248,34,54,22,18,188,234,242,
-143,54,65,183,161,37,240,105,165,119,122,132,23,189,33,193,227,92,64,105,
-213,38,202,253,134,235,114,154,208,21,33,123,90,9,136,245,137,47,250,192,
-45,244,149,247,14,225,10,93,78,177,214,210,146,47,18,124,96,173,155,117,
-10,10,245,177,195,107,46,235,207,8,202,29,18,35,31,170,8,251,224,113,222,
-117,63,151,237,70,21,125,3,148,35,132,231,36,62,16,186,238,187,54,71,216,
-148,247,113,174,253,179,55,162,240,140,2,183,57,140,212,40,1,56,71,232,
-141,84,64,112,142,166,241,40,41,59,207,34,251,88,176,51,66,185,241,58,167,
-13,180,28,138,50,93,234,9,127,1,97,213,41,243,26,14,241,114,94,212,62,130,
-95,15,177,105,227,248,118,52,154,18,106,171,7,36,108,8,53,183,161,83,43,
-48,253,92,179,144,130,86,75,202,187,206,19,64,112,27,57,139,160,13,181,
-130,199,135,118,178,84,80,1,41,213,186,138,222,47,37,250,60,231,67,18,225,
-203,239,26,216,4,185,246,133,71,135,160,221,139,97,252,5,120,142,99,67,
-21,143,61,119,251,231,253,230,239,133,20,214,29,130,62,116,205,76,155,29,
-76,91,73,236,230,116,179,78,12,161,125,82,255,154,2,103,109,155,87,180,
-213,190,214,56,68,59,193,73,30,216,152,199,168,21,67,137,126,151,228,249,
-51,200,57,14,225,235,135,194,140,93,21,242,237,147,85,116,255,243,221,166,
-86,82,178,107,107,6,194,75,196,6,177,238,67,239,186,87,17,66,118,36,65,
-245,65,99,212,174,16,102,23,77,100,31,157,227,80,210,45,196,110,10,249,
-197,32,62,3,207,49,148,105,186,189,233,134,10,151,173,133,214,94,252,60,
-108,132,51,97,131,242,33,58,186,120,87,185,150,162,243,14,12,58,205,15,
-209,236,79,45,156,93,12,225,98,28,71,19,198,67,93,128,135,126,167,135,97,
-95,38,232,29,109,36,124,48,212,184,53,12,241,82,120,97,200,230,60,212,100,
-116,65,133,46,235,147,121,142,93,161,213,144,94,129,189,162,7,107,250,136,
-88,59,17,209,254,223,78,161,130,62,73,62,102,168,67,60,220,165,163,237,
-178,62,89,66,190,107,3,30,67,100,250,199,182,69,164,159,97,216,222,19,132,
-117,210,252,236,27,228,115,102,34,24,28,218,157,58,208,243,98,24,151,117,
-234,122,209,9,120,206,70,218,206,57,118,27,199,179,110,85,111,1,162,167,
-121,32,206,154,48,116,241,4,151,245,31,226,57,206,81,164,24,218,23,241,
-242,177,231,176,10,113,90,94,115,105,208,185,172,255,232,37,55,55,251,190,
-16,106,219,27,236,203,67,182,21,72,246,251,43,122,69,208,131,73,244,165,
-65,231,178,254,228,97,213,57,195,19,135,140,212,122,17,114,173,167,198,
-126,104,16,23,79,112,89,255,169,115,142,67,225,213,57,106,27,187,18,231,
-139,1,92,214,159,93,206,177,211,106,6,162,62,135,166,187,94,84,243,46,235,
-47,194,115,12,41,2,14,245,0,151,48,233,178,254,98,18,242,131,185,194,14,
-120,182,127,124,168,182,210,101,93,214,159,181,113,156,26,94,93,140,224,
-178,62,171,132,252,18,34,93,214,101,237,240,28,151,16,233,178,46,107,64,
-206,113,89,151,117,89,3,114,142,203,186,172,139,113,92,214,101,93,214,197,
-56,46,235,178,46,198,113,89,151,245,17,235,255,3,170,68,49,97,147,119,15,
-95,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_42 = 733;
-static unsigned char xml_res_file_42[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,90,73,68,65,84,120,218,133,147,203,107,
-19,81,20,198,191,123,51,153,87,50,83,103,226,216,214,216,4,107,109,170,
-85,90,93,104,241,133,32,82,234,162,84,169,143,141,130,184,42,110,68,240,
-47,17,116,227,78,220,149,22,23,197,82,16,55,74,33,11,219,110,90,161,141,
-15,106,98,218,6,218,36,51,177,147,199,92,175,208,224,56,89,244,7,103,49,
-103,190,243,205,57,31,12,24,99,255,149,40,138,10,0,18,236,115,66,252,157,
-28,236,11,8,32,73,210,64,92,16,106,132,144,5,46,240,192,25,34,68,215,21,
-229,68,131,210,18,128,21,248,160,8,80,46,151,63,187,170,58,120,3,184,214,
-46,203,199,250,121,181,1,231,153,32,244,58,142,243,5,1,40,90,97,84,150,
-99,189,19,169,167,86,66,74,55,58,72,186,107,132,60,210,52,173,29,77,246,
-49,192,248,245,237,1,120,229,97,167,102,154,165,170,97,238,216,161,219,
-119,70,229,163,0,200,190,6,170,170,90,107,175,27,71,62,77,187,120,112,119,
-12,150,38,34,179,40,33,247,106,61,9,32,140,0,193,164,173,123,145,3,243,
-203,68,244,54,164,16,123,60,50,196,238,15,95,96,59,122,148,229,65,27,19,
-154,49,5,32,226,159,161,224,240,196,161,235,250,205,104,52,122,181,187,
-77,235,90,54,162,68,36,97,152,244,32,170,5,23,202,241,62,164,173,24,189,
-18,137,156,76,38,147,99,241,120,124,28,123,8,205,45,184,201,59,0,36,99,
-154,111,6,93,23,68,16,240,112,107,19,98,95,55,26,153,44,136,227,224,123,
-111,188,235,199,226,226,164,63,11,234,59,101,247,28,160,62,177,237,240,
-124,40,132,139,178,140,181,181,12,230,211,75,232,207,172,130,212,235,184,
-85,175,75,135,129,208,95,237,191,13,124,164,1,59,15,108,182,87,171,135,
-60,198,80,183,109,228,43,14,118,68,17,89,254,156,210,180,173,28,80,69,147,
-160,1,207,97,112,142,225,231,41,110,48,185,187,11,27,64,138,127,57,197,
-79,42,82,138,169,202,239,156,162,40,157,0,214,91,12,246,194,188,156,113,
-107,147,51,177,216,89,183,80,64,152,16,68,25,67,141,215,203,100,18,70,246,
-215,44,15,250,180,223,128,250,134,73,34,145,80,231,42,229,23,125,133,237,
-247,223,248,208,10,175,143,0,86,117,29,169,141,194,219,37,86,159,6,208,
-201,165,173,39,88,150,117,169,88,44,206,240,128,138,92,48,44,128,62,239,
-96,108,164,64,104,229,107,201,158,253,0,239,25,28,120,134,97,40,61,61,61,
-103,0,44,160,249,219,54,55,96,156,192,73,20,0,243,247,131,218,63,48,56,
-26,248,105,235,157,94,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_43 = 894;
-static unsigned char xml_res_file_43[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,43,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,70,114,32,49,50,32,68,101,122,32,50,48,48,51,32,50,49,
-58,52,50,58,48,50,32,43,48,49,48,48,158,131,49,239,0,0,0,7,116,73,77,69,
-7,211,8,27,10,52,46,133,125,36,144,0,0,0,9,112,72,89,115,0,0,10,240,0,0,
-10,240,1,66,172,52,152,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,
-2,214,73,68,65,84,120,218,165,147,91,72,147,97,24,199,255,223,183,111,155,
-115,50,39,74,154,169,216,242,196,200,164,36,236,34,200,44,66,170,11,189,
-138,180,72,73,37,130,69,4,38,132,116,83,100,23,222,120,145,134,148,32,138,
-23,169,97,168,69,16,116,16,131,200,3,150,194,92,147,202,67,155,59,184,211,
-183,237,59,237,123,251,92,32,88,121,229,115,249,190,239,243,227,255,252,
-159,247,15,236,178,168,191,15,156,78,167,222,110,183,215,209,52,125,78,
-163,209,228,9,130,64,220,110,183,85,20,197,17,159,207,55,208,216,216,200,
-239,72,11,133,66,39,109,86,219,170,24,150,137,224,145,201,79,251,42,89,
-91,114,16,206,37,145,31,139,203,100,232,217,144,109,124,124,252,200,127,
-21,248,253,129,211,17,54,50,150,154,152,161,237,152,190,141,9,12,195,71,
-121,17,137,9,48,8,123,113,193,104,65,173,169,9,175,222,143,133,162,66,180,
-188,174,174,110,102,11,48,55,55,103,212,235,146,172,153,41,57,233,150,217,
-10,176,134,21,168,73,34,56,145,32,42,73,96,197,40,156,130,27,21,154,106,
-220,207,239,66,223,72,175,77,140,137,197,205,205,205,2,179,9,8,4,2,215,
-10,115,205,233,237,159,110,33,156,252,11,135,147,202,81,111,186,135,61,
-9,89,113,117,97,49,132,46,107,27,58,108,15,113,204,115,10,197,69,37,5,227,
-111,70,47,42,87,189,244,230,3,21,173,170,10,251,163,248,200,140,128,145,
-116,104,48,181,65,75,233,112,231,237,21,52,142,158,133,134,214,194,98,190,
-11,3,140,232,113,119,192,148,101,130,98,106,213,102,111,92,1,163,82,23,
-126,247,47,34,66,133,161,227,147,112,245,229,9,40,230,35,89,159,138,155,
-165,15,176,224,154,197,227,217,118,208,49,6,115,161,121,48,148,26,202,150,
-138,182,0,28,207,209,250,196,4,68,69,17,2,19,131,172,39,32,90,25,29,21,
-195,160,8,133,218,23,149,88,151,156,136,37,16,196,100,64,82,124,81,20,80,
-91,0,159,111,227,91,225,190,227,165,178,164,6,11,94,25,137,70,140,34,168,
-126,94,166,40,145,226,141,114,34,16,145,57,148,24,15,193,229,118,194,227,
-241,216,55,123,233,63,0,159,178,155,0,42,19,46,193,43,108,196,157,231,37,
-17,147,181,43,248,92,239,128,168,150,33,34,166,220,177,104,200,184,129,
-201,233,73,5,44,140,110,1,12,201,134,71,51,11,83,190,166,140,22,228,48,
-102,56,120,23,130,60,7,243,147,52,20,116,167,42,91,224,176,198,123,81,115,
-224,50,50,151,246,99,118,126,102,153,162,168,190,109,31,169,191,191,191,
-154,146,233,193,163,7,203,84,131,124,15,250,214,187,224,8,110,196,103,206,
-77,205,129,37,187,5,185,182,2,12,189,30,228,194,81,246,204,192,192,192,
-196,63,89,232,236,236,172,102,67,236,211,252,236,130,148,188,172,124,176,
-76,72,113,94,49,45,72,48,49,245,1,95,173,95,28,132,34,53,74,243,187,29,
-195,212,218,218,154,230,245,122,175,19,153,156,103,84,140,137,227,56,226,
-15,250,23,121,158,31,145,101,185,91,201,66,112,183,9,222,86,191,1,216,18,
-102,195,252,90,176,179,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_44 = 735;
-static unsigned char xml_res_file_44[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,92,73,68,65,84,56,141,165,147,63,76,
-20,65,20,135,191,55,179,59,203,113,28,255,14,229,160,210,4,133,194,196,
-66,99,33,149,177,179,16,11,49,96,76,44,104,12,137,182,134,196,216,88,152,
-104,99,40,12,13,137,86,16,176,16,45,168,176,51,209,70,141,141,145,16,11,
-69,114,192,158,24,239,184,187,221,187,189,177,224,220,59,196,206,73,126,
-153,204,228,229,155,247,126,243,158,88,107,249,159,229,252,125,33,23,150,
-61,218,75,19,162,212,120,127,119,178,183,6,29,217,95,149,79,22,230,17,111,
-209,62,61,159,219,23,223,156,129,140,189,28,233,233,48,51,23,79,101,50,
-131,253,109,248,249,16,1,186,219,91,88,205,150,88,122,239,231,114,133,104,
-196,62,57,247,250,0,64,174,45,15,15,100,90,95,93,62,211,103,28,173,248,
-145,15,120,48,62,132,8,76,45,172,210,222,150,160,90,179,60,123,151,11,215,
-252,240,138,157,57,187,4,160,0,228,250,74,58,221,153,88,26,30,234,49,126,
-49,34,91,168,146,78,185,36,61,77,171,209,244,117,182,144,205,71,248,197,
-26,195,199,186,76,79,123,98,70,110,173,121,13,15,28,25,61,218,155,74,231,
-138,22,164,6,34,124,217,46,179,240,118,19,173,97,101,53,79,75,34,1,34,32,
-194,145,195,201,140,191,94,152,0,30,59,0,174,241,198,209,14,155,197,189,
-114,162,168,70,49,136,184,243,226,43,136,144,106,107,69,91,64,0,177,160,
-28,92,199,187,26,3,42,226,28,255,184,89,161,51,225,224,185,154,160,28,176,
-249,240,116,108,110,239,237,15,120,73,23,4,130,8,126,150,35,42,202,237,
-142,61,64,187,59,161,117,216,42,9,235,5,240,43,6,117,227,77,12,216,46,195,
-247,93,88,223,21,182,202,138,80,92,112,220,174,38,15,76,110,175,62,133,
-21,193,138,128,173,197,0,43,26,171,76,236,1,162,64,248,220,148,129,153,
-67,27,208,110,93,6,84,83,143,105,7,28,183,46,83,223,189,249,6,32,84,179,
-56,238,70,28,32,10,162,168,1,136,162,189,151,29,179,7,83,202,199,120,139,
-49,192,78,15,4,104,51,137,54,1,218,133,106,136,157,62,217,40,225,209,9,
-8,75,127,142,1,162,47,217,169,84,238,96,43,223,219,26,198,170,231,170,22,
-245,100,156,18,253,41,197,161,164,144,45,88,190,149,19,248,161,218,0,38,
-237,221,244,210,63,103,1,64,238,231,211,84,131,81,172,140,41,97,80,9,59,
-213,154,205,33,50,71,231,206,172,189,57,16,236,139,143,103,65,196,0,45,
-77,242,234,191,164,128,8,168,0,33,80,174,171,100,173,173,254,6,207,154,
-227,149,127,20,234,56,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_45 = 506;
-static unsigned char xml_res_file_45[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,119,73,68,65,84,56,141,165,81,187,75,
-194,97,20,61,247,97,246,112,105,169,161,130,12,9,154,140,134,40,136,22,
-7,135,30,67,81,52,132,99,65,53,72,16,244,7,52,68,67,208,208,224,16,45,77,
-9,22,180,72,139,75,209,11,162,90,130,104,19,132,198,160,84,76,187,13,254,
-4,43,205,192,3,119,57,223,249,238,61,231,94,50,51,212,3,174,235,119,173,
-6,52,31,235,228,185,216,209,159,154,74,17,104,54,42,110,183,123,197,204,
-54,0,120,12,60,152,59,152,184,249,119,131,150,208,73,4,132,133,31,244,37,
-212,166,223,247,38,83,53,35,164,179,217,37,101,10,171,240,155,10,67,133,
-63,84,120,72,77,206,219,150,163,158,154,13,236,112,166,240,186,63,190,163,
-194,125,162,124,172,194,163,42,156,82,225,238,124,206,179,94,51,66,37,180,
-47,198,215,64,180,5,195,195,75,36,232,47,241,90,46,234,88,62,189,4,172,
-149,129,177,228,110,240,185,252,77,92,124,69,197,89,61,85,35,168,48,171,
-72,47,171,174,252,116,224,18,153,114,246,241,88,181,129,8,197,139,34,10,
-121,195,137,32,17,136,8,228,13,39,130,42,20,82,97,136,80,188,234,14,186,
-86,47,154,154,57,119,7,88,175,67,149,98,248,138,106,122,74,23,26,250,147,
-219,195,153,138,14,146,219,195,153,70,177,128,138,56,78,216,167,194,62,
-151,50,92,34,241,70,182,64,249,231,95,14,202,49,176,126,230,55,182,65,0,
-160,79,186,190,221,28,185,175,164,251,247,25,171,225,219,25,137,136,1,136,
-195,139,83,4,224,19,64,193,169,60,128,130,57,147,191,0,30,99,118,114,243,
-123,34,116,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_46 = 479;
-static unsigned char xml_res_file_46[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,4,0,0,
-0,181,250,55,234,0,0,0,2,115,66,73,84,8,8,85,236,70,4,0,0,0,9,112,72,89,
-115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,1,94,73,68,65,84,24,25,5,193,203,78,19,97,
-24,0,208,51,51,63,96,105,184,36,160,40,94,208,136,17,55,38,38,174,141,107,
-35,175,224,202,231,208,55,49,113,111,112,99,220,186,50,172,76,52,152,32,
-90,188,209,10,88,154,90,11,197,82,102,62,207,201,2,112,148,185,245,125,
-249,207,50,179,141,171,13,155,245,0,132,176,177,184,254,242,87,191,27,157,
-232,196,65,116,163,27,123,253,245,181,141,197,16,132,23,171,95,6,191,99,
-55,118,226,87,28,68,39,118,163,21,251,209,142,198,96,237,97,200,194,155,
-230,149,139,25,66,50,33,51,82,33,55,180,211,188,127,57,113,116,238,16,33,
-147,12,81,42,81,9,221,5,18,221,148,155,6,156,34,33,100,250,154,137,156,
-83,45,31,213,229,146,73,147,146,194,140,109,13,144,147,251,171,231,155,
-58,90,154,126,58,171,80,51,20,72,48,107,90,219,148,99,35,149,210,123,201,
-184,154,64,162,140,102,86,179,34,92,176,167,146,91,112,198,150,190,90,69,
-162,200,150,20,90,238,56,84,169,148,58,42,35,115,78,114,18,39,167,95,199,
-230,173,232,43,16,198,204,26,55,244,67,81,146,99,116,67,93,203,37,147,50,
-185,16,122,122,230,165,19,114,182,158,54,170,129,69,159,180,13,12,252,115,
-104,202,140,118,181,249,132,44,240,248,238,249,231,75,55,239,21,61,251,
-74,133,5,195,242,237,214,231,71,207,222,145,5,224,193,196,181,213,185,219,
-217,245,202,112,251,248,195,246,171,215,67,224,63,88,118,169,59,145,118,
-103,111,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_47 = 504;
-static unsigned char xml_res_file_47[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,4,0,0,
-0,181,250,55,234,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,2,98,75,71,
-68,0,255,135,143,204,191,0,0,0,9,112,72,89,115,0,0,1,187,0,0,1,187,1,58,
-236,227,226,0,0,0,7,116,73,77,69,7,217,12,13,17,43,19,33,85,167,107,0,0,
-1,124,73,68,65,84,40,207,69,209,191,75,212,97,0,199,241,215,243,245,81,
-243,200,52,46,50,46,60,202,34,8,162,33,10,90,131,150,32,27,26,26,91,90,
-250,3,154,218,27,131,230,150,134,214,48,16,33,90,218,194,201,168,28,36,
-61,33,242,199,229,143,227,148,211,187,190,158,247,125,26,52,122,143,239,
-207,123,251,4,199,236,5,87,127,94,222,185,204,104,237,66,205,194,201,228,
-63,243,149,217,247,235,173,102,106,164,70,218,78,205,212,76,191,91,179,
-83,243,149,227,249,221,228,82,123,51,213,211,74,90,79,219,169,145,234,105,
-45,109,164,173,84,107,79,221,39,240,105,181,122,62,32,137,6,5,93,5,50,185,
-149,213,59,227,145,253,179,123,72,130,40,71,79,15,133,164,57,70,164,25,
-55,12,74,162,113,135,136,199,121,203,106,36,227,208,180,92,215,91,81,73,
-73,212,103,196,178,26,71,121,166,163,45,232,96,77,114,232,134,220,144,45,
-3,136,183,70,146,125,117,65,199,166,150,126,133,175,162,1,67,18,178,238,
-206,84,168,234,248,227,138,215,94,40,156,82,53,161,171,165,87,144,181,159,
-53,13,235,151,161,238,161,146,174,134,21,93,101,49,35,91,124,25,139,97,
-21,85,227,38,220,150,244,27,117,206,9,219,246,123,100,60,200,167,141,42,
-155,241,84,144,73,146,93,187,206,136,7,244,113,45,175,220,157,11,11,30,
-41,105,59,80,200,140,200,253,42,150,158,127,153,13,240,228,230,247,143,
-229,211,175,194,174,13,61,125,198,228,189,207,63,22,31,191,153,35,252,123,
-244,222,224,197,201,242,245,112,169,144,47,119,190,45,207,124,200,143,252,
-95,244,150,165,237,114,41,24,7,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_48 = 1288;
-static unsigned char xml_res_file_48[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,16,6,0,
-0,0,79,99,35,34,0,0,0,9,112,72,89,115,0,0,55,92,0,0,55,92,1,203,199,164,
-185,0,0,0,9,118,112,65,103,0,0,0,16,0,0,0,16,0,92,198,173,195,0,0,0,6,98,
-75,71,68,255,255,255,255,255,255,9,88,247,220,0,0,4,101,73,68,65,84,120,
-218,141,207,121,80,212,117,28,198,241,103,247,167,176,225,69,90,147,77,
-204,40,150,57,102,118,152,163,100,90,14,150,147,132,105,8,152,20,172,181,
-110,176,28,10,44,199,152,162,137,114,196,181,200,177,24,50,185,108,44,154,
-10,200,134,78,169,120,36,136,169,165,144,147,23,231,16,83,153,90,51,58,
-50,171,232,39,158,217,165,166,28,39,222,175,63,158,249,253,243,253,126,
-127,24,108,250,74,2,82,47,19,148,214,51,109,198,118,3,144,95,183,121,194,
-230,59,42,125,117,118,117,225,30,47,96,89,235,178,203,33,147,23,167,125,
-226,191,193,154,186,229,108,125,94,138,201,199,100,18,41,177,151,172,44,
-89,248,225,129,162,51,69,97,69,19,1,179,217,28,111,94,62,52,8,131,45,90,
-75,64,156,158,128,196,180,196,248,196,96,117,68,140,57,102,81,116,59,160,
-239,210,239,215,39,106,55,90,34,45,117,229,51,68,170,46,212,100,215,26,
-69,118,237,216,61,107,247,123,31,247,38,220,78,250,37,249,45,192,20,158,
-63,63,191,76,89,150,155,156,243,110,246,85,120,98,176,233,186,9,152,61,
-158,208,132,127,53,34,204,86,110,179,218,42,218,127,110,203,110,75,111,
-75,17,49,79,47,238,45,62,81,114,212,212,220,127,97,34,144,243,90,206,145,
-156,187,67,123,224,170,116,111,233,154,210,48,93,206,255,255,249,18,2,18,
-58,8,8,159,73,106,247,5,223,16,240,206,225,126,71,166,79,58,217,66,247,
-214,59,98,28,43,29,177,34,150,46,203,239,150,27,53,91,69,24,144,30,156,
-121,61,107,10,80,125,171,38,189,166,98,77,210,230,220,130,249,5,219,68,
-240,160,98,131,8,48,92,38,168,147,132,128,164,64,82,85,190,236,67,128,238,
-146,238,162,238,162,183,219,161,14,234,45,184,86,69,34,87,98,175,172,186,
-178,74,196,90,98,181,90,119,214,180,154,55,152,231,152,61,182,152,171,139,
-247,188,105,127,78,36,245,249,141,107,55,197,159,90,128,255,150,144,65,
-128,97,43,65,29,24,67,24,200,187,161,139,148,180,134,171,4,84,28,165,228,
-37,13,175,146,72,231,44,186,171,185,150,223,207,36,143,57,172,142,47,28,
-54,41,108,237,106,109,107,253,81,164,108,116,153,174,236,186,72,136,111,
-136,95,200,231,65,163,49,80,170,15,1,198,41,4,85,112,61,97,160,49,141,11,
-72,169,60,237,75,192,238,60,74,56,92,123,148,68,186,39,209,221,246,19,15,
-83,159,178,247,79,234,213,157,138,236,103,16,177,101,217,178,109,185,191,
-206,209,158,211,110,215,190,191,124,66,154,87,90,79,70,0,128,244,245,4,
-196,151,18,84,11,189,8,3,105,190,45,38,101,95,211,219,4,84,119,82,236,33,
-187,134,68,58,3,232,118,97,227,38,18,137,120,137,86,47,14,93,71,99,183,
-7,93,160,153,185,35,143,208,168,227,158,63,120,158,247,188,4,4,220,14,104,
-15,56,167,58,8,67,27,65,229,147,64,128,8,3,246,47,37,229,216,225,96,2,236,
-121,20,221,104,247,39,145,142,123,116,199,253,248,111,36,18,110,161,164,
-79,107,115,9,56,81,74,170,140,129,243,234,253,234,3,235,87,96,181,177,204,
-152,105,52,168,87,193,153,39,220,207,210,63,23,239,105,33,165,185,222,141,
-128,186,36,138,184,86,59,153,68,218,191,167,59,169,77,254,36,18,241,34,
-197,251,124,25,74,192,103,111,144,146,23,253,21,169,10,162,35,72,61,213,
-247,107,66,75,104,10,1,43,28,132,33,127,95,108,13,37,229,158,189,135,128,
-170,14,210,123,238,122,150,68,46,94,165,62,205,119,79,144,72,212,12,138,
-249,99,199,13,2,204,63,145,82,11,103,207,140,107,38,96,218,92,130,250,21,
-127,194,253,229,228,145,18,87,17,70,192,182,237,244,65,160,165,152,68,90,
-66,168,175,232,120,56,137,36,204,33,195,201,202,177,4,152,79,147,114,16,
-206,188,30,93,68,192,212,6,130,122,246,112,194,131,27,56,40,55,142,34,71,
-20,102,147,72,83,29,245,53,30,242,35,145,56,35,125,52,108,235,235,4,100,
-84,211,144,39,225,204,15,153,160,121,56,3,242,133,179,23,92,235,237,218,
-71,92,171,113,173,26,250,14,154,87,191,246,24,217,188,247,101,209,205,185,
-246,94,18,137,60,64,90,83,102,15,1,85,157,164,14,232,28,67,128,8,187,111,
-7,223,242,157,148,172,137,202,34,32,69,75,149,167,195,202,41,110,84,205,
-66,2,158,110,162,145,81,0,243,40,194,83,228,49,17,10,61,52,15,96,238,125,
-206,117,75,115,238,144,91,206,85,98,156,171,30,6,103,221,174,157,138,168,
-89,100,234,246,91,71,235,78,78,185,73,75,125,1,54,174,217,109,3,249,52,
-1,108,102,57,60,104,134,7,192,166,133,186,206,89,226,220,73,174,239,241,
-231,157,251,184,235,65,99,52,206,29,238,239,220,161,174,135,169,150,254,
-5,206,26,1,49,150,157,62,200,0,0,0,34,122,84,88,116,83,111,102,116,119,
-97,114,101,0,0,120,218,43,47,47,215,203,204,203,46,78,78,44,72,213,203,
-47,74,7,0,54,216,6,88,16,83,202,92,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_49 = 3479;
-static unsigned char xml_res_file_49[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,2,178,73,68,65,84,120,218,84,147,205,110,28,69,16,199,127,213,
-221,187,243,185,51,179,216,94,239,70,182,176,76,140,9,68,9,28,125,2,30,
-194,18,15,192,19,112,15,24,8,202,3,240,36,92,200,33,9,28,16,188,0,57,68,
-142,21,11,41,1,197,31,27,219,140,179,179,51,211,221,28,178,30,145,146,170,
-74,42,233,255,83,85,169,74,188,247,0,124,115,231,235,47,63,253,252,179,
-47,140,86,149,181,142,171,186,32,111,130,247,62,8,2,241,158,224,151,71,
-15,126,186,179,247,237,143,0,134,133,173,175,175,125,181,190,190,118,163,
-174,91,156,179,8,130,136,160,148,224,189,71,43,133,233,105,170,121,67,63,
-136,182,128,183,1,195,97,49,106,234,150,139,243,115,148,122,35,70,4,1,68,
-132,94,212,231,159,195,23,92,92,252,75,154,38,195,43,93,7,200,6,89,82,207,
-42,234,166,198,104,253,150,88,27,205,95,207,14,153,207,26,86,150,151,177,
-214,70,87,58,5,240,195,119,223,199,40,29,132,121,2,222,227,172,93,184,163,
-109,91,78,94,30,81,215,115,134,195,33,58,236,161,148,50,247,238,222,221,
-234,0,69,145,223,84,74,100,122,124,130,23,193,3,120,193,24,67,91,183,160,
-13,121,86,224,188,197,205,45,227,201,42,217,160,184,213,1,226,36,185,53,
-26,141,104,235,57,90,41,148,81,172,44,15,17,173,8,147,144,165,34,39,12,
-34,178,116,64,16,25,86,199,99,172,184,143,59,192,195,135,143,62,124,119,
-99,3,99,2,250,189,62,189,94,72,146,167,128,195,232,30,213,188,198,57,75,
-152,68,68,81,202,48,207,56,216,127,118,163,91,162,214,234,3,241,16,167,
-9,226,161,245,150,242,252,146,116,144,83,205,102,68,81,68,150,101,32,130,
-199,97,130,136,32,52,155,29,96,235,253,173,247,250,65,159,52,29,224,157,
-163,31,6,24,17,188,83,228,131,28,165,192,123,1,181,184,7,165,217,222,222,
-94,235,70,88,93,29,175,60,127,241,156,36,141,137,227,8,172,197,122,133,
-21,75,85,189,166,117,150,32,10,232,153,0,239,28,211,211,19,38,147,107,121,
-215,129,82,42,190,255,243,125,6,105,202,233,116,74,51,175,137,7,3,178,52,
-229,162,44,81,222,209,88,75,81,20,132,65,200,124,222,160,180,152,14,176,
-191,255,180,218,127,242,36,88,90,122,135,223,126,255,131,131,131,167,108,
-110,108,50,185,54,97,122,54,165,153,55,120,224,147,219,183,41,134,5,233,
-205,11,162,227,235,174,3,60,126,252,231,203,147,163,227,188,44,75,218,166,
-33,142,34,148,86,56,107,233,233,30,58,84,128,112,118,246,138,203,178,100,
-118,88,82,100,205,43,0,241,222,35,34,203,123,123,123,31,237,236,236,140,
-178,44,155,196,113,50,54,70,47,105,173,115,163,117,223,131,181,214,206,
-170,170,58,171,170,234,168,44,47,255,158,78,79,127,221,221,221,61,148,171,
-183,253,159,245,129,20,72,128,16,144,69,189,1,94,3,151,139,236,0,254,27,
-0,117,73,16,195,100,100,116,215,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_50 = 887;
-static unsigned char xml_res_file_50[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,42,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,83,111,32,52,32,74,97,110,32,50,48,48,52,32,49,57,58,48,
-56,58,52,48,32,43,48,49,48,48,20,91,120,127,0,0,0,7,116,73,77,69,7,211,
-8,8,11,55,55,137,85,77,213,0,0,0,9,112,72,89,115,0,0,11,18,0,0,11,18,1,
-210,221,126,252,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,2,208,
-73,68,65,84,120,218,165,82,93,72,83,97,24,126,247,191,213,102,233,164,185,
-230,223,252,171,212,57,149,36,77,215,208,11,149,137,212,205,48,40,47,194,
-64,251,161,40,47,70,42,182,98,4,74,224,15,145,20,171,139,44,188,41,176,
-46,52,9,116,253,49,92,153,44,153,185,90,51,167,204,220,116,110,59,115,231,
-108,167,179,211,153,160,72,66,66,189,240,94,124,188,207,251,124,207,243,
-242,0,252,103,209,118,2,244,245,77,30,68,81,164,193,239,71,30,51,153,145,
-126,12,3,163,78,87,219,184,49,103,236,68,160,84,158,106,81,169,178,154,
-73,146,214,148,155,155,42,114,187,221,7,36,18,37,91,46,175,114,154,205,
-195,30,250,223,150,117,186,49,53,73,162,39,80,52,2,34,17,31,2,1,20,138,
-139,115,248,106,245,49,45,130,32,189,81,204,54,130,222,222,78,186,203,133,
-21,145,36,121,84,44,102,156,169,175,87,72,227,226,120,192,231,179,240,137,
-137,249,46,202,2,204,205,57,1,69,209,167,81,60,243,79,130,140,12,245,76,
-48,184,38,209,235,159,44,217,236,63,82,166,123,134,129,203,98,67,74,114,
-58,171,166,166,250,74,36,66,130,199,19,11,56,30,174,166,224,15,214,9,58,
-58,134,216,92,174,176,39,28,198,87,100,178,88,233,155,215,195,204,67,202,
-114,105,221,89,41,88,169,31,191,121,1,60,99,67,96,50,141,64,98,162,12,140,
-198,41,192,176,144,103,211,2,130,132,20,249,249,194,166,186,186,156,86,
-58,157,193,156,182,217,32,43,83,10,4,9,128,6,195,16,70,80,160,31,86,129,
-253,251,12,48,24,68,208,104,156,76,114,56,2,151,55,9,124,190,192,244,224,
-224,135,69,159,47,12,76,38,45,234,15,166,86,1,62,186,66,176,232,197,33,
-16,37,193,1,112,34,132,113,56,236,46,147,169,123,193,225,208,99,155,55,
-136,143,223,61,91,91,91,196,137,250,163,188,1,16,196,218,215,85,216,77,
-195,194,148,84,2,252,56,29,36,60,18,88,12,186,187,188,92,214,182,245,102,
-235,10,48,44,236,179,217,92,212,50,65,237,210,32,61,53,147,19,154,24,141,
-44,255,18,192,26,99,15,236,139,17,128,231,149,30,132,162,132,253,43,173,
-138,91,91,9,214,131,148,150,86,61,106,54,127,57,82,80,144,158,128,83,82,
-243,242,242,232,179,159,199,105,203,239,159,129,255,211,75,88,120,55,20,
-225,239,226,146,199,75,73,70,242,252,120,161,182,36,153,115,227,173,211,
-176,53,202,52,141,102,192,171,84,230,199,56,157,62,200,206,78,1,30,143,
-160,154,77,53,135,82,136,44,9,30,157,190,39,38,23,47,65,163,106,47,12,24,
-80,194,225,189,205,188,59,219,190,145,3,210,110,95,186,102,181,62,111,64,
-144,213,135,149,149,138,59,118,251,66,196,98,177,105,229,242,28,173,197,
-98,53,25,12,134,235,164,166,48,0,247,71,52,208,160,22,118,188,16,159,7,
-104,106,223,22,223,210,210,54,65,85,85,203,108,69,69,75,127,244,93,82,114,
-181,176,172,236,36,111,99,78,158,75,186,112,179,179,251,231,197,102,205,
-246,229,127,169,223,158,105,64,153,156,76,148,88,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_51 = 681;
-static unsigned char xml_res_file_51[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,45,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,106,101,117,46,32,53,32,100,233,99,46,32,50,48,48,50,32,
-49,50,58,50,49,58,49,48,32,43,48,49,48,48,96,59,210,134,0,0,0,7,116,73,
-77,69,7,211,1,21,20,0,6,240,149,228,165,0,0,0,9,112,72,89,115,0,0,10,240,
-0,0,10,240,1,66,172,52,152,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,
-0,0,1,255,73,68,65,84,120,218,99,96,24,242,128,17,155,96,122,122,58,223,
-155,55,111,130,25,25,25,109,222,191,127,191,254,243,231,207,59,79,157,58,
-245,27,167,1,81,81,81,214,108,108,108,29,2,2,2,31,229,229,229,53,126,253,
-250,165,200,194,194,194,196,197,197,197,240,247,239,95,134,243,231,207,
-95,187,121,243,102,222,145,35,71,246,162,27,192,12,34,100,101,101,247,24,
-24,24,24,70,68,68,168,9,11,11,11,241,242,242,50,254,248,241,131,225,213,
-171,87,12,207,159,63,103,224,228,228,20,5,226,88,62,62,62,109,30,30,158,
-51,175,95,191,254,0,51,128,5,68,0,157,201,164,170,170,202,112,231,206,29,
-16,27,108,235,237,219,183,25,174,94,189,202,32,36,36,196,160,174,174,206,
-208,211,211,3,114,109,104,83,83,139,223,187,247,239,102,125,255,250,185,
-110,214,236,57,31,192,46,144,150,150,62,245,237,219,183,192,15,31,62,112,
-177,179,179,51,0,93,194,96,98,100,204,240,244,197,23,134,223,63,191,51,
-188,126,243,146,65,78,86,150,225,234,181,59,12,134,166,78,44,170,86,254,
-230,103,142,238,82,191,112,238,204,74,176,1,79,129,64,80,80,112,251,253,
-251,247,3,77,77,77,121,190,126,254,200,112,227,241,79,134,216,248,8,6,94,
-117,123,134,125,107,231,48,8,8,240,51,252,21,210,98,80,208,84,102,248,198,
-204,204,112,251,234,117,233,83,135,119,119,48,193,252,178,103,207,158,203,
-192,128,180,219,179,123,247,189,139,87,110,49,72,154,88,49,220,255,204,
-192,240,151,159,151,129,133,157,243,242,150,205,155,183,63,124,241,154,
-225,248,99,6,134,171,143,24,24,62,191,0,250,23,22,136,48,112,239,222,189,
-119,192,64,220,242,247,207,207,96,102,21,47,190,87,95,153,25,94,222,189,
-207,112,97,215,162,238,223,127,255,23,252,255,240,68,237,245,227,103,58,
-79,78,175,249,116,249,236,209,132,167,207,158,63,196,154,14,146,147,19,
-53,255,50,241,237,230,147,80,147,126,118,253,208,161,39,143,239,123,158,
-56,121,234,27,72,206,217,201,65,13,24,208,175,206,157,191,248,129,1,31,
-176,179,179,225,180,177,182,84,197,149,216,134,17,0,0,4,223,217,134,133,
-215,167,132,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_52 = 367;
-static unsigned char xml_res_file_52[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,3,0,0,
-0,40,45,15,83,0,0,0,3,115,66,73,84,8,8,8,219,225,79,224,0,0,0,9,112,72,
-89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,0,99,80,76,84,69,255,255,255,0,0,0,0,0,0,
-0,0,0,0,0,0,27,27,27,30,30,30,30,30,30,44,44,44,49,49,49,49,49,49,66,66,
-66,72,72,72,74,74,75,109,109,109,108,108,109,50,50,51,89,89,89,216,216,
-218,238,238,239,215,215,217,167,167,168,168,168,169,193,193,194,194,194,
-194,195,195,196,198,198,198,199,199,199,218,218,219,219,219,221,241,241,
-242,254,254,254,255,255,255,78,245,20,106,0,0,0,21,116,82,78,83,0,21,29,
-47,48,67,68,69,72,74,75,80,80,85,96,97,131,144,251,251,252,107,174,169,
-164,0,0,0,93,73,68,65,84,120,218,141,203,235,14,64,32,0,64,225,46,148,46,
-238,228,22,122,255,167,84,141,98,179,113,126,126,219,1,136,208,43,130,128,
-77,110,49,233,64,172,49,225,32,215,122,80,170,247,85,52,133,160,52,102,
-142,83,139,29,76,113,106,60,140,58,212,37,14,22,19,218,255,64,241,9,136,
-241,250,1,182,226,6,248,21,16,99,252,44,131,7,217,234,22,224,97,207,36,
-126,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_53 = 745;
-static unsigned char xml_res_file_53[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,42,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,68,111,32,56,32,74,97,110,32,50,48,48,52,32,49,49,58,49,
-55,58,51,52,32,43,48,49,48,48,72,183,249,154,0,0,0,7,116,73,77,69,7,212,
-1,8,10,18,7,86,168,149,96,0,0,0,9,112,72,89,115,0,0,11,18,0,0,11,18,1,210,
-221,126,252,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,2,66,73,68,
-65,84,120,218,165,147,205,107,19,65,24,198,159,221,236,154,96,77,91,83,
-99,241,3,171,98,123,80,80,16,138,7,207,162,160,169,7,69,61,25,168,160,82,
-240,175,17,212,139,168,127,65,161,20,189,9,138,84,16,122,236,197,88,108,
-155,102,19,211,108,55,201,126,207,236,108,124,103,55,77,209,210,83,7,94,
-134,153,225,249,189,207,251,206,12,112,192,161,252,191,209,123,120,177,
-128,200,155,67,161,88,194,240,232,36,56,7,140,90,5,245,141,5,196,225,107,
-229,59,182,247,5,244,202,151,238,224,244,196,123,220,190,63,134,177,2,208,
-172,1,166,9,56,14,176,190,14,124,249,220,130,185,85,86,150,241,113,15,32,
-17,95,189,54,143,242,83,13,245,85,160,177,6,116,73,104,123,20,46,65,60,
-244,2,134,104,105,137,235,27,198,93,101,5,159,164,78,77,196,143,78,21,80,
-60,241,14,15,30,107,168,174,0,150,1,68,130,14,232,48,142,211,12,52,43,140,
-65,191,114,89,111,229,14,127,232,156,193,209,1,0,142,242,28,55,102,142,
-193,160,172,102,3,240,67,128,81,237,156,17,136,0,156,96,66,164,80,30,65,
-59,123,174,216,136,241,108,23,112,36,63,131,241,147,72,172,239,88,246,2,
-32,32,72,184,3,139,250,144,8,185,124,14,92,205,148,164,84,75,0,35,249,41,
-152,127,128,118,151,144,25,178,30,167,130,144,165,0,57,75,72,36,33,17,162,
-144,67,232,250,20,45,250,128,128,41,176,232,118,28,202,172,168,105,221,
-210,46,235,59,8,164,11,89,78,234,36,244,66,154,122,202,174,3,163,90,161,
-171,154,78,172,75,128,236,158,172,91,190,1,202,150,128,36,64,134,96,240,
-236,0,174,207,43,3,128,104,152,139,234,239,213,105,5,60,189,217,30,1,68,
-156,90,78,178,74,251,82,204,209,105,185,112,219,30,60,55,94,28,52,49,19,
-226,21,251,246,213,74,178,186,94,26,62,69,224,83,4,105,102,234,3,167,6,
-111,111,217,104,212,172,109,85,197,155,1,64,249,137,86,214,104,62,177,127,
-44,11,196,210,110,144,10,67,2,176,48,89,59,166,141,90,181,141,122,213,18,
-217,110,52,123,211,134,185,231,41,139,243,184,103,12,15,189,29,157,156,
-24,201,13,101,33,66,106,24,53,208,161,154,29,203,199,230,102,167,157,235,
-178,217,235,62,230,247,253,76,107,199,49,222,2,94,136,67,90,73,213,244,
-11,81,220,131,231,176,95,142,23,47,100,51,120,121,203,69,243,160,63,248,
-159,241,23,68,229,79,41,23,72,123,24,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_54 = 62919;
-static unsigned char xml_res_file_54[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,242,0,0,1,242,8,2,0,
-0,0,94,125,4,71,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,0,7,116,73,77,69,7,215,11,11,18,54,5,133,234,34,195,0,0,0,7,116,69,
-88,116,65,117,116,104,111,114,0,169,174,204,72,0,0,0,12,116,69,88,116,68,
-101,115,99,114,105,112,116,105,111,110,0,19,9,33,35,0,0,0,10,116,69,88,
-116,67,111,112,121,114,105,103,104,116,0,172,15,204,58,0,0,0,14,116,69,
-88,116,67,114,101,97,116,105,111,110,32,116,105,109,101,0,53,247,15,9,0,
-0,0,9,116,69,88,116,83,111,102,116,119,97,114,101,0,93,112,255,58,0,0,0,
-11,116,69,88,116,68,105,115,99,108,97,105,109,101,114,0,183,192,180,143,
-0,0,0,8,116,69,88,116,87,97,114,110,105,110,103,0,192,27,230,135,0,0,0,
-7,116,69,88,116,83,111,117,114,99,101,0,245,255,131,235,0,0,0,8,116,69,
-88,116,67,111,109,109,101,110,116,0,246,204,150,191,0,0,0,6,116,69,88,116,
-84,105,116,108,101,0,168,238,210,39,0,0,1,0,73,68,65,84,120,156,236,189,
-91,179,28,87,118,38,246,173,181,119,102,85,157,11,110,36,155,183,238,233,
-110,221,103,44,133,61,242,120,28,19,225,23,191,56,66,225,23,255,68,191,
-251,15,216,14,63,104,28,142,145,195,118,140,20,30,89,82,116,75,77,138,100,
-243,2,224,224,156,83,183,204,220,123,173,245,249,33,179,10,135,32,64,118,
-163,65,128,40,212,199,98,161,42,79,86,214,206,202,111,175,92,123,93,5,192,
-173,91,183,150,203,165,170,70,196,98,177,232,186,110,54,155,13,195,128,
-35,142,216,225,236,236,44,165,148,115,110,219,118,54,155,181,109,155,115,
-78,41,1,80,213,166,105,198,237,77,211,52,77,51,110,127,234,254,170,250,
-91,109,23,145,111,255,222,166,105,198,237,77,211,168,234,124,62,7,32,247,
-238,221,251,135,127,248,135,119,222,121,7,128,153,229,156,1,148,82,218,
-182,125,149,191,226,17,175,9,34,226,169,219,85,245,251,59,62,201,145,217,
-207,130,140,59,153,153,153,205,231,243,213,106,117,126,126,62,110,124,234,
-7,158,181,93,68,126,235,33,31,241,195,195,179,174,172,126,17,242,0,0,1,
-0,73,68,65,84,239,158,166,36,199,125,198,231,111,167,215,19,135,37,249,
-157,199,225,14,227,219,223,228,248,55,247,31,143,159,155,166,1,176,92,46,
-239,221,187,55,254,161,214,218,52,205,179,104,122,164,239,97,227,89,215,
-119,148,154,178,195,126,123,223,247,242,52,60,177,255,248,17,17,113,247,
-253,246,155,18,125,228,229,55,143,95,74,249,230,193,1,212,90,111,30,231,
-137,155,131,140,159,28,201,125,243,28,94,212,77,228,136,3,195,77,17,139,
-223,65,217,120,214,113,110,110,255,78,101,227,89,200,183,110,221,26,245,
-233,136,88,175,215,183,110,221,26,191,227,168,132,188,153,248,78,37,100,
-47,119,191,253,131,251,183,79,108,127,130,166,227,113,110,238,243,196,241,
-159,122,28,146,223,220,225,230,241,69,85,31,62,124,184,88,44,198,37,36,
-128,241,54,241,124,179,228,136,67,197,77,229,225,38,167,247,172,250,13,
-229,218,94,217,120,214,241,247,223,178,223,254,205,141,223,137,105,174,
-68,68,68,228,156,151,203,229,233,233,233,145,211,71,124,39,158,74,208,253,
-130,239,137,37,96,68,140,251,223,137,160,211,47,0,0,1,0,73,68,65,84,84,
-119,121,3,163,202,240,45,199,249,150,237,227,193,199,227,143,199,17,85,
-29,134,33,231,236,238,227,174,55,37,252,17,71,188,142,56,174,11,143,56,
-64,28,105,125,196,1,226,72,235,35,14,16,71,90,31,113,128,56,210,250,136,
-3,196,145,214,71,28,32,142,180,62,226,0,161,251,192,191,103,121,35,143,
-56,226,181,195,81,90,31,113,128,56,210,250,136,3,196,145,214,71,28,32,142,
-180,62,226,0,113,164,245,17,7,136,35,173,143,56,64,28,105,125,196,1,226,
-72,235,35,14,16,71,90,31,113,128,56,210,250,136,3,196,145,214,71,28,32,
-142,180,62,226,0,113,164,245,17,7,136,35,173,143,56,64,28,105,125,196,1,
-226,72,235,35,14,16,71,90,31,113,128,56,210,250,136,3,196,145,214,71,28,
-32,142,180,62,226,0,113,164,245,17,7,136,35,173,143,56,64,28,105,125,196,
-1,34,63,209,179,3,47,171,93,198,243,85,177,255,38,66,42,160,227,67,1,1,
-72,152,225,235,205,112,94,63,188,228,203,113,96,200,223,189,203,15,27,102,
-166,154,4,4,195,153,84,89,197,5,10,0,0,1,0,73,68,65,84,69,229,181,231,244,
-17,191,35,94,49,173,127,119,81,212,106,43,162,16,1,25,225,160,64,15,167,
-67,200,81,84,63,31,94,25,173,95,212,5,19,217,157,130,64,147,50,140,116,
-17,125,229,51,246,119,196,145,208,191,11,94,255,37,99,128,213,89,29,16,
-64,3,82,60,106,248,171,30,214,17,175,18,63,32,145,246,172,214,102,223,137,
-0,68,85,0,2,134,76,205,208,3,20,117,207,253,251,188,129,248,161,72,235,
-231,47,211,154,32,57,73,146,0,214,133,143,150,221,122,160,189,208,177,253,
-16,112,44,99,251,91,225,7,36,173,159,15,230,78,8,168,125,141,7,23,215,87,
-203,205,201,249,45,109,110,45,94,251,51,59,226,249,241,202,46,190,97,16,
-136,64,20,2,170,16,8,128,24,104,77,147,85,196,9,98,210,38,156,224,208,183,
-179,150,68,64,84,181,212,32,208,54,250,85,77,172,112,143,171,194,79,150,
-237,229,218,239,4,183,45,231,183,227,164,33,109,131,60,171,152,71,96,46,
-64,141,200,192,141,91,249,235,114,79,127,93,198,249,3,193,43,163,53,65,
-0,2,225,155,131,154,49,0,0,1,0,73,68,65,84,120,205,68,32,0,208,184,171,
-16,0,194,1,145,177,133,53,161,41,65,210,184,79,0,157,97,59,12,109,59,191,
-184,46,180,193,35,174,170,94,110,236,209,166,12,102,80,249,249,217,201,
-162,73,146,26,64,20,224,200,10,85,32,94,209,25,31,241,242,240,202,104,173,
-80,0,4,64,8,0,25,27,85,67,37,70,14,10,67,118,75,63,21,104,211,18,216,14,
-62,4,66,210,213,214,150,155,162,41,54,67,120,45,22,188,142,118,229,249,
-218,155,245,214,251,232,255,244,157,230,124,158,179,100,144,50,46,39,21,
-144,163,134,250,70,224,213,217,173,161,4,72,4,25,116,64,4,42,34,202,24,
-9,40,162,148,52,234,38,213,169,89,250,129,23,215,155,245,16,204,243,77,
-137,205,32,169,201,213,45,34,149,224,58,242,6,121,77,169,101,187,42,245,
-211,139,213,59,247,22,103,72,97,131,100,112,52,0,34,166,217,115,196,65,
-227,85,210,122,255,10,16,66,32,163,50,221,64,18,33,85,16,132,25,186,193,
-187,126,72,237,188,27,202,197,178,116,6,157,163,247,212,57,82,202,67,117,
-55,100,172,77,165,0,0,1,0,73,68,65,84,12,142,43,227,245,192,171,129,253,
-182,74,221,254,243,87,250,135,255,226,71,139,38,193,145,50,68,24,20,85,
-193,81,94,191,1,120,101,180,142,32,68,68,116,212,64,136,233,209,33,51,80,
-29,125,101,113,20,139,245,118,88,111,183,169,165,5,183,53,185,164,140,182,
-139,216,84,147,240,77,33,2,131,241,186,212,235,62,86,67,25,250,130,210,
-255,211,23,221,191,233,254,224,110,66,14,66,144,4,129,152,140,219,71,28,
-58,94,165,243,124,92,221,79,106,70,192,204,61,98,99,217,157,93,177,109,
-177,26,82,41,219,193,183,29,179,131,34,125,213,16,201,176,237,80,55,93,
-159,155,184,28,92,233,213,252,186,231,170,151,174,175,94,6,169,229,163,
-207,31,60,90,149,247,155,60,175,181,153,5,131,14,79,154,142,74,200,155,
-128,87,183,100,148,105,201,24,64,177,232,135,210,151,82,205,86,182,40,238,
-219,190,110,139,135,100,228,89,245,84,208,134,52,30,177,41,165,88,81,181,
-113,231,57,228,114,61,100,184,153,173,250,88,117,232,134,138,210,39,235,
-239,95,92,47,55,93,127,58,106,78,186,33,0,0,1,0,73,68,65,84,211,90,22,11,
-179,136,74,211,148,51,218,87,117,202,71,188,52,252,214,180,38,249,77,27,
-42,201,190,150,156,82,78,89,166,13,46,16,136,148,232,147,170,80,25,146,
-164,193,206,199,109,45,134,240,110,136,222,100,59,96,213,75,177,57,52,109,
-203,166,186,75,106,44,183,219,222,232,17,148,229,166,204,130,53,228,122,
-136,206,19,114,219,87,12,3,103,196,103,93,56,181,248,172,148,24,106,245,
-66,27,132,117,214,47,110,255,251,191,249,155,15,254,252,39,127,246,225,
-219,155,190,244,204,103,39,39,45,106,49,3,160,170,34,178,143,53,63,226,
-192,240,60,210,250,9,102,143,126,221,54,39,157,86,100,225,30,100,136,136,
-138,36,109,20,10,209,16,6,160,130,32,42,177,29,172,47,117,168,28,92,186,
-138,190,122,9,65,196,224,168,6,4,107,112,91,157,34,78,217,12,182,13,86,
-202,245,182,246,46,200,232,135,82,134,50,51,246,133,78,154,75,49,55,51,
-115,243,168,100,117,139,229,166,255,234,114,245,147,59,167,185,89,144,110,
-181,180,8,50,137,200,83,39,231,17,7,131,23,240,35,168,205,0,0,1,0,73,68,
-65,84,166,132,164,73,79,38,35,64,202,168,60,171,38,36,2,78,12,14,11,6,164,
-90,12,165,12,134,161,90,113,22,202,96,220,84,175,1,209,212,87,25,42,168,
-44,198,117,231,46,48,98,217,213,24,88,67,150,157,245,46,146,181,31,106,
-41,101,86,177,41,18,16,139,48,119,51,119,175,17,149,81,194,249,240,114,
-243,79,159,95,188,127,251,236,253,183,103,16,150,161,54,72,76,138,157,211,
-238,24,60,116,168,120,97,74,72,132,137,170,138,138,106,82,37,48,58,63,6,
-27,181,103,108,74,29,44,42,209,215,218,13,37,235,105,49,41,206,10,244,206,
-109,241,26,164,70,95,218,161,210,17,189,197,106,235,46,172,129,229,214,
-152,114,37,86,61,6,135,102,12,5,181,96,78,108,6,134,48,8,15,210,35,34,192,
-0,130,148,71,155,250,203,47,151,63,121,103,125,231,238,157,69,66,53,179,
-102,1,137,113,181,186,63,145,35,185,15,15,207,169,132,224,134,192,219,189,
-205,128,80,18,0,2,14,88,192,131,203,149,83,100,112,223,86,27,130,21,24,
-42,187,18,139,54,15,142,226,81,22,191,234,168,0,0,1,0,73,68,65,84,201,206,
-184,46,40,30,20,108,7,246,133,14,110,107,44,59,51,73,149,178,236,34,37,
-24,177,238,80,136,228,40,21,86,80,5,131,9,1,130,1,32,4,156,28,241,13,218,
-109,173,255,124,89,62,190,88,255,254,79,202,124,46,97,213,124,46,240,81,
-177,30,153,189,63,169,35,173,15,9,207,175,132,60,25,42,153,114,0,78,56,
-97,129,98,44,213,170,249,245,198,40,106,196,224,110,208,80,45,144,10,154,
-69,177,24,60,74,200,182,98,213,179,175,12,196,166,183,190,152,65,182,230,
-203,206,76,97,144,101,23,141,84,131,110,122,51,74,211,230,90,35,106,80,
-89,34,70,87,14,40,66,81,36,97,22,48,161,22,153,127,181,217,124,124,177,
-126,180,90,223,210,20,230,121,126,150,193,81,78,31,215,139,7,140,23,166,
-132,56,80,28,125,241,161,122,117,214,96,181,48,143,117,0,2,11,22,163,129,
-20,22,139,82,163,74,55,84,47,134,33,116,91,98,185,245,174,120,64,215,93,
-233,106,53,200,214,98,217,91,36,152,232,170,196,156,230,144,237,96,14,109,
-197,195,34,156,201,163,20,39,8,252,0,0,1,0,73,68,65,84,132,67,84,40,0,53,
-148,145,148,89,130,98,136,60,191,30,186,207,47,215,23,87,87,239,181,115,
-56,116,86,230,109,26,241,196,61,231,133,252,154,71,252,64,240,156,210,250,
-9,197,20,64,9,116,197,55,221,208,13,213,66,28,26,144,160,120,74,128,88,
-248,16,52,51,35,74,241,190,12,181,209,82,163,184,20,79,219,130,237,224,
-221,16,1,172,135,232,75,53,209,173,199,182,152,103,9,197,182,134,74,4,196,
-156,46,204,193,32,73,144,112,250,24,199,36,147,163,82,16,170,84,247,64,
-51,235,93,174,54,253,106,179,237,123,38,104,170,214,102,81,213,136,175,
-197,241,29,53,144,3,67,142,136,241,26,239,9,58,82,182,250,32,34,42,42,162,
-143,227,55,136,148,116,12,122,30,181,231,98,50,148,90,204,122,133,7,205,
-105,154,3,106,33,230,116,231,166,118,22,172,33,37,116,112,237,42,187,34,
-197,26,143,249,106,179,237,139,71,74,125,197,229,166,244,37,52,231,7,165,
-4,97,30,213,163,34,213,193,44,12,212,203,26,0,198,200,145,109,233,0,136,
-104,25,44,148,42,145,129,192,42,255,0,0,1,0,73,68,65,84,133,10,130,116,
-130,72,128,204,180,26,22,91,156,220,95,251,71,95,246,63,61,155,189,115,
-107,6,43,181,2,64,206,25,187,133,193,222,223,249,90,227,88,87,228,38,50,
-118,63,196,19,63,135,168,10,4,162,128,76,191,24,65,194,232,17,8,194,33,
-78,169,22,197,188,122,56,212,156,22,172,14,15,90,208,140,230,209,85,90,
-176,6,134,136,193,165,171,236,170,151,234,197,135,117,87,250,26,174,232,
-13,155,190,244,53,196,88,107,4,97,227,17,156,230,240,96,16,49,218,86,0,
-10,49,133,154,18,2,114,114,85,142,133,111,176,139,45,9,77,78,138,74,245,
-120,120,189,185,220,204,110,159,206,165,86,205,170,170,238,238,238,251,
-19,63,170,218,7,134,60,154,5,110,110,26,223,234,84,168,64,98,10,31,5,131,
-36,170,199,200,90,39,156,98,129,106,97,206,42,98,33,213,89,28,230,172,206,
-98,97,30,171,2,115,148,224,224,236,13,157,69,87,188,84,47,130,109,239,125,
-13,23,233,13,235,226,125,13,81,12,46,36,45,96,1,115,169,1,15,4,17,24,69,
-53,192,221,11,232,97,30,202,0,0,1,0,73,68,65,84,0,132,8,66,32,66,0,49,50,
-26,66,145,72,179,26,84,213,161,198,39,15,174,62,251,209,236,157,187,183,
-169,67,110,210,19,180,62,36,66,31,69,245,136,103,74,235,125,120,114,4,34,
-224,17,30,140,96,141,157,178,17,59,187,135,143,132,86,51,22,147,193,88,
-157,197,57,212,48,143,229,32,22,28,140,131,115,240,29,173,205,67,82,103,
-58,56,12,24,92,10,83,5,72,169,54,26,161,97,33,35,185,157,18,68,136,79,9,
-7,16,8,101,55,66,21,136,144,227,178,113,20,221,0,32,69,154,234,150,84,135,
-144,79,47,183,31,95,116,191,247,227,104,146,213,90,85,213,204,114,206,227,
-194,241,48,60,142,7,112,10,47,16,249,169,102,13,0,132,16,8,142,230,103,
-140,10,70,68,4,178,51,42,195,118,182,60,11,122,160,84,169,46,131,73,111,
-44,142,222,56,24,171,177,171,169,250,40,170,57,56,59,143,193,88,156,2,173,
-145,140,82,41,149,8,209,16,56,232,212,32,28,116,96,122,16,65,248,158,211,
-24,165,245,52,236,70,100,90,40,238,255,70,5,8,157,27,55,164,206,103,148,
-0,0,1,0,73,68,65,84,10,86,73,15,123,249,228,106,120,176,234,111,207,102,
-238,110,102,177,195,222,134,253,242,126,242,35,190,127,228,189,63,101,255,
-28,17,34,82,35,77,180,38,61,88,131,30,12,210,33,30,98,84,35,140,176,96,
-241,48,231,0,86,227,96,209,91,12,142,222,162,183,168,30,189,177,26,7,103,
-239,81,130,197,163,4,107,144,238,230,52,103,141,176,49,71,6,99,92,83,154,
-178,102,192,192,196,239,0,108,90,49,142,42,182,236,211,1,118,21,65,56,234,
-33,251,212,91,151,134,162,238,17,146,171,44,62,189,174,159,62,188,250,23,
-183,239,213,154,71,105,29,17,55,79,252,240,240,38,123,79,31,211,122,20,
-93,251,139,93,107,140,75,49,7,109,148,217,100,80,138,51,98,47,167,81,44,
-250,226,213,172,0,213,162,55,239,61,6,71,231,49,88,84,247,90,83,245,168,
-230,53,188,6,60,34,24,193,160,59,131,140,136,8,78,92,13,192,41,74,48,4,
-33,12,48,72,39,131,244,144,41,229,17,147,74,61,98,92,74,142,107,199,29,
-179,5,2,72,147,82,178,106,148,20,237,217,253,4,2,177,7,0,0,1,0,73,68,65,
-84,213,213,167,95,93,116,63,62,61,109,155,148,146,153,141,122,136,170,142,
-103,125,72,26,54,14,119,174,254,134,248,154,221,250,166,244,114,247,81,
-0,6,16,83,198,33,2,168,230,163,74,224,68,117,20,139,82,189,84,171,162,197,
-163,152,23,231,232,21,31,204,171,7,61,220,99,252,47,200,32,131,193,201,
-140,129,241,246,47,128,42,148,99,138,248,104,143,38,119,59,143,159,34,19,
-101,47,172,177,191,106,148,253,53,36,199,63,77,218,183,38,213,240,160,40,
-243,108,185,180,139,171,229,80,202,200,102,119,143,105,70,77,119,167,151,
-250,171,31,241,61,35,19,116,88,66,54,146,212,8,152,139,136,74,142,240,168,
-193,74,24,197,40,213,105,17,219,234,54,89,42,164,82,139,115,160,84,73,163,
-221,163,24,74,160,186,88,104,132,48,98,3,186,160,138,154,72,64,64,10,67,
-35,250,36,30,28,181,106,66,16,148,64,98,110,144,70,205,55,17,128,66,84,
-16,22,225,147,17,4,248,186,40,218,88,76,170,182,136,138,96,162,168,52,221,
-178,157,207,187,52,47,101,219,74,244,30,31,243,27,129,193,0,0,1,0,73,68,
-65,84,95,197,255,123,209,252,187,211,110,38,66,99,63,36,93,220,5,230,90,
-134,121,46,21,72,41,61,81,237,251,245,165,251,235,59,242,23,130,201,138,
-55,62,143,202,244,168,218,142,70,189,32,34,24,132,147,30,28,109,32,30,59,
-3,28,195,28,102,211,70,143,240,8,119,120,200,184,179,71,0,47,161,44,239,
-222,220,247,216,2,232,72,70,56,52,144,92,196,37,117,230,23,171,174,235,
-114,157,89,164,68,175,244,194,148,136,192,46,247,225,251,31,234,17,47,3,
-10,140,230,178,233,222,63,133,43,97,52,75,239,28,43,65,115,86,143,106,97,
-38,213,96,21,181,178,86,212,74,51,152,137,79,202,198,72,110,142,214,192,
-136,239,159,40,147,116,222,167,40,78,138,148,107,91,66,13,41,52,155,180,
-85,102,215,131,124,242,96,181,90,13,67,239,172,14,43,81,251,136,18,112,
-40,143,156,62,36,236,238,185,59,29,218,201,241,49,202,227,26,163,227,48,
-202,232,205,246,112,135,79,14,23,140,94,64,115,184,79,31,220,169,224,28,
-103,200,75,40,160,36,79,252,59,146,26,168,146,7,186,108,67,165,0,0,1,0,
-73,68,65,84,138,35,133,54,38,185,234,252,186,234,71,247,87,15,174,203,186,
-119,15,192,141,181,119,27,156,230,147,31,253,72,238,3,129,42,84,144,70,
-219,239,40,170,141,168,59,67,135,79,62,145,201,51,98,1,138,18,26,163,139,
-36,70,165,69,40,83,247,22,66,33,10,36,72,26,115,190,190,247,51,248,186,
-217,121,167,65,81,180,245,80,104,18,205,78,101,158,245,152,125,113,61,124,
-118,85,30,117,24,92,220,195,173,120,45,230,97,129,155,180,62,146,251,117,
-135,98,23,71,177,151,214,70,26,195,246,234,71,140,14,17,113,138,67,38,109,
-229,6,171,41,132,144,144,253,3,178,171,26,249,253,215,153,254,250,23,236,
-203,141,144,34,4,147,170,142,169,58,169,245,52,91,14,241,203,135,219,47,
-54,182,54,20,15,171,230,230,238,48,215,35,167,15,9,99,116,222,180,100,28,
-213,134,192,228,190,30,163,62,2,211,99,148,211,35,195,3,177,139,10,113,
-76,11,203,177,226,233,254,177,163,248,247,13,217,207,162,175,125,189,2,
-10,230,36,73,193,8,164,148,154,121,69,250,229,197,250,215,174,169,237,35,
-0,0,1,0,73,68,65,84,171,225,186,68,111,81,205,221,72,151,136,39,219,157,
-29,241,90,99,188,156,99,228,244,13,3,200,104,18,217,91,69,48,186,239,198,
-144,162,209,138,61,174,39,39,93,154,8,222,208,78,39,179,243,75,209,84,229,
-105,111,70,3,182,0,73,36,9,192,80,81,205,25,146,190,92,118,143,186,178,
-169,94,60,220,199,124,98,5,211,55,135,251,134,219,200,94,107,100,151,112,
-56,168,100,8,85,35,82,4,33,85,37,16,49,218,50,198,84,193,8,120,24,147,67,
-40,42,138,36,136,128,50,20,20,21,165,168,48,9,199,176,103,130,194,112,209,
-233,30,32,28,125,39,187,199,211,49,126,225,24,85,56,205,142,175,57,203,
-159,4,159,248,195,46,112,132,210,213,156,106,156,136,54,205,60,203,176,
-246,2,206,79,31,213,197,127,250,232,225,127,126,39,126,239,15,223,174,69,
-243,201,105,110,98,216,124,53,59,191,131,93,52,223,247,17,37,242,172,120,
-232,103,77,253,227,164,250,93,112,80,30,227,39,240,216,72,178,83,84,68,
-20,130,213,118,120,120,189,89,245,102,100,41,67,25,122,200,47,24,156,174,
-0,0,1,0,73,68,65,84,20,53,112,84,66,14,3,7,76,235,177,116,229,40,122,19,
-36,65,51,52,67,245,114,181,253,248,254,242,98,99,198,84,250,190,219,110,
-71,90,191,4,102,31,101,240,203,193,65,211,122,12,137,18,129,42,82,150,148,
-145,26,81,92,247,254,233,229,240,96,75,151,236,94,251,126,27,144,125,148,
-200,247,52,154,99,248,235,203,196,193,210,90,31,107,30,123,81,221,32,53,
-89,146,177,253,170,147,47,55,49,132,8,233,181,214,27,145,79,55,241,170,
-79,226,136,231,196,193,210,122,39,173,199,190,6,73,52,35,101,164,70,21,
-152,159,94,90,251,233,101,127,181,238,233,22,110,165,142,89,96,190,143,
-203,157,14,241,125,50,251,56,115,190,63,28,44,173,101,122,236,219,137,41,
-52,67,83,82,73,243,243,181,55,159,220,95,126,117,113,105,181,128,81,170,
-221,20,213,227,17,190,111,78,127,127,7,63,226,96,105,253,216,134,184,119,
-121,138,64,84,128,212,206,134,208,135,215,235,171,235,85,173,149,12,51,
-191,185,94,60,114,238,117,199,247,79,107,78,225,34,143,95,236,187,122,61,
-13,5,195,168,71,0,0,1,0,73,68,65,84,34,224,88,35,146,49,49,147,124,142,
-149,220,0,49,97,136,11,76,53,36,9,114,203,102,62,155,205,74,215,35,47,62,
-185,230,223,124,229,247,121,119,91,181,229,48,12,131,187,3,24,181,17,124,
-87,70,122,181,222,124,8,24,65,2,134,168,140,10,172,61,12,240,199,179,42,
-64,199,208,59,98,51,116,4,140,232,134,24,39,155,83,150,130,165,196,32,18,
-34,165,86,24,132,34,46,181,214,90,171,187,31,231,216,115,224,160,123,205,
-238,242,193,128,201,18,1,17,147,70,218,57,235,16,208,71,203,205,87,23,87,
-239,126,120,86,251,46,231,118,159,183,43,34,227,243,183,36,165,55,185,221,
-125,1,193,208,177,140,14,34,165,177,203,66,184,135,16,105,188,81,180,179,
-4,206,84,4,204,66,162,10,102,0,18,57,31,122,17,105,91,5,64,69,104,168,38,
-42,26,52,47,225,23,58,84,28,172,18,178,183,132,128,130,49,160,92,68,68,
-107,90,232,252,20,154,92,243,103,15,151,191,250,252,129,67,135,126,99,102,
-55,87,141,191,193,122,78,129,4,10,220,225,161,164,144,136,80,194,32,177,
-195,0,0,1,0,73,68,65,84,88,148,206,135,33,105,210,156,135,144,18,18,34,
-128,186,11,32,140,209,51,74,32,32,54,139,220,50,143,226,61,167,76,137,138,
-82,81,246,95,115,52,203,60,7,14,86,90,11,101,47,173,167,252,45,81,104,234,
-181,205,173,120,191,1,230,95,174,174,126,245,96,213,83,195,199,156,93,115,
-247,39,170,78,62,19,65,200,110,206,140,166,113,16,238,80,245,8,104,19,34,
-1,60,234,188,27,134,118,190,240,82,135,190,220,186,61,171,86,221,237,92,
-102,99,229,149,119,103,51,0,110,4,37,101,201,148,210,111,20,244,38,237,
-7,192,67,169,168,246,210,112,176,180,78,72,99,62,3,48,50,91,169,9,4,117,
-14,120,206,138,52,191,94,205,126,189,142,135,91,187,123,130,169,208,211,
-55,108,124,207,132,7,114,130,10,36,239,86,10,210,91,204,114,42,152,151,
-138,148,176,236,240,233,87,203,229,182,111,231,139,194,121,223,151,91,67,
-169,86,204,203,121,151,35,44,34,250,119,91,183,232,183,195,105,59,251,224,
-110,106,32,45,79,144,149,250,88,255,249,254,156,68,135,138,131,165,181,
-231,135,221,132,0,0,1,0,73,68,65,84,80,64,217,101,164,239,2,66,148,104,
-114,116,54,203,202,104,216,156,223,31,240,143,95,92,189,247,99,213,89,173,
-181,222,204,75,255,22,197,26,0,116,138,186,173,152,34,114,183,5,171,109,
-180,196,163,171,186,233,107,228,102,51,216,131,235,82,66,23,41,175,35,117,
-37,173,123,29,6,41,5,39,78,179,112,247,139,242,80,36,15,155,225,206,252,
-180,54,231,119,21,39,166,139,252,181,123,197,88,242,225,240,170,62,124,
-127,56,88,90,43,198,68,119,0,83,85,51,8,69,181,213,228,235,210,102,116,
-85,209,158,95,148,238,111,63,250,252,79,110,191,181,152,159,142,198,135,
-177,250,181,251,212,180,96,172,173,250,20,36,1,48,16,203,206,58,215,42,
-186,220,250,229,245,86,20,235,109,223,21,99,242,18,216,122,131,148,67,230,
-219,176,222,93,61,122,227,80,232,25,181,138,155,172,183,165,157,231,213,
-58,190,72,219,53,23,167,236,111,105,253,163,159,222,189,235,125,211,52,
-41,61,78,47,58,42,33,191,57,14,150,214,59,51,226,142,215,66,64,64,105,154,
-100,97,169,129,147,72,63,6,194,246,0,0,1,0,73,68,65,84,179,141,245,159,
-124,121,113,181,62,121,255,174,237,87,141,35,82,74,223,202,36,6,216,21,
-187,90,119,171,42,61,243,213,166,92,92,175,79,78,78,6,107,12,201,153,42,
-163,11,154,199,198,251,136,174,239,251,148,116,24,202,48,88,78,109,53,15,
-143,25,23,50,59,43,142,71,155,237,218,46,172,187,56,207,117,189,72,255,
-213,162,159,207,231,139,197,98,63,175,142,180,254,205,241,253,211,122,159,
-115,243,155,197,91,191,40,152,148,27,89,5,187,84,8,77,195,106,149,206,63,
-188,40,5,105,141,116,61,183,126,217,188,245,191,220,191,253,193,7,229,60,
-174,251,154,135,91,31,212,176,219,221,195,118,241,222,3,91,220,69,8,35,
-134,218,204,102,8,130,142,156,135,40,31,247,243,171,235,1,218,92,94,203,
-114,61,180,243,220,151,68,61,223,186,117,165,12,30,161,121,240,88,117,67,
-13,166,134,197,164,239,177,17,150,33,74,177,173,22,51,115,15,77,73,151,
-87,181,186,164,60,112,97,233,189,109,141,229,63,230,255,221,235,239,189,
-149,255,135,255,178,185,67,204,80,165,26,218,131,16,8,241,0,0,1,0,73,68,
-65,84,197,88,106,208,199,250,91,68,45,190,104,147,10,16,7,108,211,122,30,
-28,176,180,126,58,52,37,17,21,85,74,146,148,67,82,103,113,189,25,46,150,
-246,206,226,36,149,1,253,86,102,57,232,168,37,165,5,88,147,164,212,182,
-16,117,114,61,88,206,122,181,229,23,23,155,213,122,211,204,78,150,93,217,
-20,43,98,219,190,14,213,154,185,108,6,27,44,92,185,173,92,118,86,156,218,
-104,181,218,245,117,144,50,148,90,74,237,80,205,44,220,23,179,121,82,90,
-13,17,56,170,155,185,133,52,101,219,215,191,251,248,242,237,147,252,103,
-239,157,254,139,219,205,188,109,166,182,128,176,36,72,80,10,180,73,99,81,
-148,32,245,216,244,250,6,222,56,90,231,220,16,34,106,76,73,115,27,218,174,
-203,112,127,217,127,190,156,253,254,59,137,54,68,191,210,246,220,204,188,
-219,234,217,237,12,2,66,77,1,60,216,198,131,85,97,151,47,215,229,193,202,
-54,93,93,128,27,211,109,228,28,121,227,209,87,151,176,117,111,93,141,42,
-92,23,94,110,234,224,144,70,194,189,239,237,44,188,20,228,83,76,131,0,0,
-1,0,73,68,65,84,43,197,78,199,222,168,30,119,23,76,26,102,174,194,133,75,
-184,49,204,179,24,230,87,155,205,127,248,197,131,235,109,253,227,183,23,
-255,250,167,39,39,86,129,34,154,167,40,114,72,86,101,208,93,112,212,79,
-190,142,55,142,214,33,99,119,95,149,148,147,204,189,158,108,141,23,189,
-124,182,201,29,218,91,94,80,182,224,105,141,64,233,25,128,164,26,188,222,
-246,93,52,159,95,118,95,173,74,52,249,98,89,152,219,77,77,67,77,155,202,
-77,101,82,89,23,233,171,248,224,235,206,183,53,10,176,42,124,180,241,222,
-32,77,82,178,235,121,46,28,10,75,225,41,96,134,112,246,213,82,146,176,154,
-19,79,67,132,85,16,222,184,75,203,211,119,62,238,134,7,191,184,252,213,
-103,15,222,121,251,79,126,54,111,91,219,134,102,5,105,131,136,34,53,34,
-74,143,212,28,85,144,175,225,141,163,53,67,68,5,162,162,73,211,156,179,
-115,19,221,74,254,116,179,184,234,211,219,98,234,5,160,107,147,36,5,99,
-107,205,245,166,255,252,114,189,246,252,96,27,215,131,8,155,203,33,75,228,
-212,196,143,60,0,0,1,0,73,68,65,84,101,175,153,126,189,25,150,93,213,153,
-174,251,50,148,170,218,174,59,246,198,2,172,43,175,58,244,78,181,144,136,
-174,103,73,28,6,150,194,65,194,44,220,163,212,72,10,186,55,137,61,60,33,
-146,134,183,44,125,201,179,133,69,122,184,169,23,143,214,255,242,147,82,
-222,209,15,79,79,79,180,105,5,225,125,148,161,57,201,99,57,171,163,172,
-126,2,111,28,173,141,108,69,84,53,52,33,101,153,159,82,179,181,205,39,189,
-126,177,242,31,75,93,204,189,175,222,166,38,231,89,95,236,178,203,143,214,
-246,235,203,161,19,174,171,246,145,103,200,198,102,83,228,170,39,204,47,
-86,229,106,221,235,92,54,125,29,170,105,78,219,222,139,133,171,244,22,203,
-226,53,152,144,162,122,215,27,26,27,6,43,197,34,217,88,99,187,134,37,149,
-48,107,18,139,164,36,145,133,166,80,247,190,91,158,220,186,43,39,119,46,
-203,240,191,253,167,79,63,121,43,255,203,31,191,245,95,188,203,247,238,
-180,109,51,183,97,104,72,32,24,78,182,71,53,228,38,222,56,90,143,246,16,
-77,41,66,161,9,192,242,194,46,0,0,1,0,73,68,65,84,121,33,210,202,108,246,
-40,228,225,118,217,47,188,141,88,119,67,154,137,204,228,226,122,121,191,
-156,175,7,94,148,228,77,222,56,135,234,174,165,239,251,71,214,94,109,76,
-154,116,185,245,203,206,37,124,221,91,95,141,82,187,161,186,83,50,45,216,
-151,26,196,88,64,222,190,241,240,112,79,84,210,107,100,11,23,79,225,73,
-104,176,59,109,108,55,221,201,249,157,26,172,249,228,111,191,188,254,245,
-37,254,191,135,110,63,139,127,247,231,127,240,86,3,151,4,15,36,65,56,61,
-36,31,245,144,199,120,243,104,45,162,73,25,73,68,9,161,102,209,44,205,188,
-164,166,179,245,88,181,108,219,15,141,228,84,236,226,170,123,16,139,10,
-41,50,11,105,123,235,183,219,222,106,108,150,203,71,190,88,174,59,157,97,
-213,215,245,96,130,186,234,75,87,106,72,30,6,11,70,10,146,52,51,2,201,85,
-144,118,61,122,166,188,198,49,164,176,10,5,240,96,101,104,113,113,83,82,
-212,243,176,174,213,232,245,242,242,170,105,91,164,179,135,148,207,126,
-189,254,121,255,197,239,253,252,231,119,126,129,222,151,185,0,0,1,0,73,
-68,65,84,148,156,202,41,204,48,158,89,110,226,77,197,15,142,214,36,68,36,
-169,6,233,50,85,105,87,213,23,117,225,36,233,80,171,0,210,180,100,100,149,
-156,83,78,114,186,216,254,34,22,31,250,219,255,182,214,183,155,235,213,
-112,231,23,195,252,62,223,211,102,181,92,109,61,146,153,44,183,220,14,77,
-221,74,87,78,62,222,186,199,172,44,109,48,29,98,86,214,86,61,5,117,53,20,
-64,136,84,107,128,160,206,0,20,131,72,228,182,237,75,1,36,183,237,48,246,
-135,84,77,67,29,255,21,164,18,34,210,64,165,239,109,213,52,77,158,247,143,
-86,109,158,49,4,206,126,176,240,246,127,252,236,238,221,143,183,119,195,
-127,126,75,235,86,155,219,11,70,136,12,238,179,199,147,229,141,199,15,142,
-214,47,13,178,239,200,40,42,170,109,66,80,86,158,239,15,226,154,187,36,
-91,181,138,65,60,202,224,149,168,97,155,190,174,135,40,110,221,80,215,125,
-120,140,125,250,188,24,171,211,2,65,190,136,245,27,1,137,8,119,169,226,
-2,64,84,198,112,89,0,139,219,255,243,223,124,116,94,146,133,20,118,0,0,
-1,0,73,68,65,84,239,253,197,159,126,56,247,237,173,194,246,108,30,67,47,
-205,145,205,143,241,102,210,122,108,129,39,99,7,3,85,77,170,51,21,67,126,
-88,210,71,61,174,152,152,155,141,70,39,61,132,155,142,67,120,31,120,180,
-45,171,193,7,151,237,80,87,125,10,142,101,191,199,126,170,140,152,154,71,
-254,150,99,121,220,18,7,35,163,9,128,238,163,123,222,233,116,29,43,210,
-18,192,160,179,191,250,244,210,184,142,249,230,191,255,227,179,51,91,187,
-228,14,249,228,88,179,225,6,222,60,90,115,140,238,155,154,59,234,254,198,
-205,232,60,63,176,54,213,188,212,156,67,92,104,232,129,217,117,199,193,
-209,49,30,117,182,28,188,15,233,138,109,45,113,215,63,50,40,14,112,106,
-91,243,219,5,145,126,147,134,187,76,55,120,128,140,208,112,213,60,181,233,
-214,205,122,21,231,239,255,135,47,87,248,63,127,249,223,252,201,191,126,
-139,195,245,229,195,243,119,127,70,247,233,128,71,102,191,137,180,126,6,
-204,180,75,249,178,206,212,230,125,202,77,4,89,35,170,136,94,245,210,59,
-58,242,106,192,243,196,239,74,0,0,1,0,73,68,65,84,170,96,32,186,138,226,
-8,202,142,124,99,227,236,231,226,211,205,218,220,55,227,188,37,113,170,
-216,57,85,247,76,73,20,42,67,127,114,251,253,71,93,253,235,79,62,255,191,
-126,121,113,246,126,185,155,181,97,87,35,239,91,92,31,153,253,230,209,90,
-128,49,234,106,108,150,190,75,169,218,70,102,213,92,144,250,48,70,86,122,
-132,121,36,241,171,173,15,129,66,189,238,185,53,152,104,239,169,152,239,
-202,195,78,197,55,229,185,92,35,187,142,124,216,199,27,238,168,173,35,205,
-133,83,105,207,16,136,114,158,155,238,234,98,214,182,181,158,253,79,127,
-245,203,217,191,249,209,95,252,103,239,246,171,107,54,183,85,149,228,216,
-146,239,13,103,246,155,71,107,96,10,233,35,1,50,36,34,60,100,72,51,120,
-52,93,201,94,125,72,146,164,128,37,34,75,89,110,107,13,24,210,106,240,193,
-65,69,169,152,164,232,24,141,72,232,88,242,143,160,252,150,246,99,17,236,
-230,24,176,43,162,191,111,211,52,150,27,15,170,96,204,249,157,235,25,134,
-78,221,57,191,251,151,255,252,224,252,124,216,162,45,140,0,0,1,0,73,68,
-65,84,120,235,108,243,111,223,138,70,61,34,246,25,107,111,56,179,223,76,
-90,3,187,38,51,36,130,161,33,21,173,250,80,124,232,221,96,202,148,7,201,
-61,164,65,89,246,213,40,33,232,139,215,16,36,186,35,37,217,105,13,220,55,
-100,18,192,158,103,44,242,181,72,221,145,218,99,19,86,153,54,48,8,161,16,
-125,180,231,167,233,225,163,251,126,114,7,120,235,175,62,173,63,149,143,
-254,252,191,251,3,221,229,61,140,9,243,223,145,218,115,232,248,193,209,
-90,85,194,25,228,120,91,31,115,199,249,98,12,103,192,227,102,210,16,81,
-64,29,112,199,224,222,242,171,80,181,148,215,108,154,170,169,138,68,128,
-188,84,134,164,234,52,175,78,9,40,130,73,179,69,217,31,104,252,103,247,
-13,55,245,227,239,30,52,121,99,137,57,238,63,29,48,190,94,7,123,42,229,
-189,105,251,240,184,221,44,174,174,47,242,189,197,151,215,95,253,229,63,
-218,95,252,183,255,245,159,181,215,210,45,111,181,185,57,189,109,204,149,
-152,129,64,239,222,190,129,246,236,31,28,173,95,21,44,118,173,239,24,92,
-24,213,48,0,0,1,0,73,68,65,84,20,40,69,72,16,158,199,226,245,227,76,147,
-169,87,239,43,244,234,169,176,6,21,169,105,156,234,38,95,94,109,254,143,
-191,254,252,214,31,217,143,78,155,211,89,214,106,46,149,77,243,38,231,171,
-31,105,61,193,92,67,36,40,46,176,209,88,23,163,210,140,152,218,76,98,207,
-236,87,56,78,133,134,59,82,202,243,69,79,129,44,30,118,87,255,235,255,243,
-183,239,200,237,63,255,195,31,159,47,178,15,69,178,106,74,46,145,147,238,
-60,246,79,182,64,56,108,186,31,105,61,193,153,130,66,74,140,37,115,118,
-93,115,114,13,114,223,92,88,56,181,217,121,101,144,234,100,68,86,109,26,
-26,209,158,197,226,206,223,223,191,254,203,191,219,156,220,186,251,246,
-217,201,157,228,51,53,157,154,198,63,169,5,237,43,233,28,105,253,70,64,
-145,199,198,210,19,21,118,134,9,113,217,247,46,27,45,131,120,97,122,254,
-243,32,27,32,106,66,10,80,93,152,155,211,59,215,117,243,127,255,243,230,
-253,119,47,127,118,231,244,244,173,102,22,193,48,104,170,30,237,75,232,
-205,253,195,195,49,145,245,239,217,0,0,1,0,73,68,65,84,154,113,66,22,209,
-49,155,106,124,63,117,156,150,160,4,133,84,78,133,162,36,4,241,234,244,
-16,117,228,166,45,97,230,21,102,40,85,84,45,165,127,238,102,255,241,163,
-135,191,250,226,81,177,112,43,86,6,2,197,248,68,45,250,87,53,236,151,140,
-35,173,39,36,50,145,137,161,164,146,10,170,64,117,215,225,113,172,35,140,
-157,93,230,213,241,67,66,115,211,212,168,65,91,52,154,221,232,21,26,62,
-127,231,23,95,92,125,252,197,197,96,94,250,190,239,183,0,252,113,39,193,
-199,3,126,19,214,145,71,90,79,16,82,25,2,10,67,16,187,234,122,124,92,0,
-126,106,75,9,124,179,107,222,75,4,131,170,10,119,21,156,206,218,153,138,
-48,32,196,233,189,135,171,254,226,122,109,230,165,12,101,24,72,248,55,122,
-134,188,9,156,198,43,164,245,227,133,203,88,209,122,108,158,254,234,126,
-241,170,168,42,166,226,73,93,213,69,92,224,0,53,168,99,44,83,140,5,127,
-19,144,95,157,114,93,231,253,245,102,45,233,220,98,118,109,81,79,230,53,
-102,179,244,94,182,207,217,234,129,232,82,61,0,0,1,0,73,68,65,84,95,127,
-177,254,104,157,102,139,91,177,188,242,205,166,201,139,190,239,199,114,
-221,17,225,187,112,168,131,199,81,90,191,166,120,60,175,40,0,16,78,209,
-102,221,215,95,63,184,188,218,246,38,24,74,63,12,253,215,62,115,163,4,235,
-75,28,234,43,192,145,214,175,25,166,126,14,147,63,114,106,218,77,1,76,84,
-231,143,214,245,239,62,250,252,215,151,171,42,178,29,54,125,183,220,51,
-248,77,208,61,246,56,210,250,53,131,80,118,97,130,147,29,146,2,138,32,160,
-121,126,53,240,111,63,249,234,87,15,151,91,106,241,26,182,125,162,141,234,
-27,210,28,231,72,235,215,12,143,237,50,50,9,109,170,80,208,136,16,218,161,
-249,167,7,203,95,124,121,121,93,88,107,36,114,172,151,249,166,53,124,58,
-210,250,53,131,66,228,166,239,112,84,45,68,154,20,142,176,60,251,106,107,
-255,240,249,197,23,87,219,190,56,157,99,117,227,177,38,201,155,195,236,
-35,173,95,51,200,62,206,111,52,56,238,44,145,77,114,243,1,179,217,198,240,
-79,159,95,124,118,255,122,189,169,62,196,200,233,133,123,179,72,0,0,1,0,
-73,68,65,84,223,162,203,194,65,224,72,235,215,12,123,43,58,190,238,194,
-87,37,188,34,103,64,30,92,173,46,174,214,93,95,235,240,184,115,200,111,
-220,234,233,16,240,202,250,50,142,11,243,41,199,68,198,186,120,143,93,98,
-223,196,247,62,206,215,4,21,201,4,14,82,12,98,137,204,76,153,249,162,228,
-179,91,11,121,240,203,69,43,87,60,255,247,191,186,94,55,139,174,251,188,
-95,173,89,204,251,26,189,183,152,37,38,53,205,146,43,138,161,24,204,225,
-113,35,40,177,71,116,240,30,81,1,7,60,16,241,109,49,139,223,114,201,94,
-225,117,60,134,58,29,10,52,131,38,146,129,100,86,86,235,237,245,114,109,
-183,201,40,37,6,9,137,96,19,125,150,198,131,89,114,158,66,160,120,35,118,
-92,0,100,20,16,66,81,168,76,121,244,2,40,211,235,100,31,60,210,250,80,144,
-230,244,170,210,10,164,86,94,94,174,190,186,255,232,143,79,230,105,230,
-5,174,112,194,42,156,34,1,82,48,143,241,210,223,136,87,148,192,232,64,149,
-169,153,241,212,155,15,0,95,179,118,7,71,90,31,8,104,164,197,107,0,0,1,
-0,73,68,65,84,68,50,169,170,13,4,8,185,94,109,191,248,234,225,246,189,119,
-23,243,176,26,158,57,54,9,19,81,77,76,170,49,210,116,167,167,239,83,132,
-19,1,81,64,16,49,217,18,1,4,119,225,48,79,130,252,33,74,241,35,173,15,4,
-73,50,3,73,51,233,16,237,135,250,229,131,7,87,235,211,156,178,229,198,60,
-242,220,208,54,18,46,160,54,13,242,201,216,97,120,4,167,194,13,18,206,148,
-19,0,163,16,146,19,72,152,200,252,181,170,94,121,164,245,161,96,172,155,
-170,176,106,80,113,250,131,71,15,191,122,120,114,110,203,129,171,116,178,
-208,249,172,198,109,157,183,0,164,201,205,217,91,16,17,85,136,34,37,136,
-98,44,33,43,170,16,64,84,3,162,99,150,116,202,120,246,178,241,40,173,143,
-248,254,32,1,161,40,171,23,104,80,227,226,234,209,23,247,243,207,212,60,
-221,181,186,168,125,83,120,75,102,13,192,104,114,83,238,65,20,154,161,13,
-82,11,109,68,179,136,134,44,48,155,67,68,107,133,36,93,204,1,69,41,209,
-156,62,253,107,127,144,58,247,145,214,7,131,117,42,58,84,0,0,1,0,73,68,
-65,84,144,49,1,211,43,64,34,54,219,245,163,171,71,114,119,131,161,163,206,
-201,28,179,115,143,134,116,105,178,151,11,17,133,182,72,51,73,115,209,150,
-169,133,164,62,102,243,249,28,162,125,173,162,105,54,156,64,116,40,67,115,
-239,247,159,250,173,73,155,151,124,158,191,9,126,112,180,126,92,210,124,
-42,111,254,166,68,190,255,134,24,124,75,40,36,3,77,214,4,161,104,5,212,
-226,210,135,135,148,12,214,243,213,199,171,56,251,172,253,0,203,79,151,
-91,182,39,51,73,80,73,222,43,34,55,9,139,52,115,191,18,81,161,10,149,158,
-70,13,4,64,203,144,33,67,180,113,64,18,182,13,144,178,135,250,125,119,66,
-115,106,230,162,141,83,161,57,165,166,208,115,211,138,54,129,172,105,166,
-205,2,104,98,172,73,65,217,249,40,20,59,155,74,165,237,47,236,205,166,123,
-133,14,96,234,235,115,195,223,52,85,129,251,6,248,173,137,198,63,56,90,
-31,241,237,72,41,5,133,19,37,8,6,25,12,71,200,216,123,93,2,8,194,195,171,
-89,169,94,122,31,90,79,230,76,222,122,48,198,55,139,72,0,0,1,0,73,68,65,
-84,71,130,163,213,102,6,17,104,66,82,145,132,49,147,19,18,164,32,3,26,1,
-145,20,8,136,134,135,172,190,12,39,52,33,207,69,27,163,64,50,115,227,81,
-145,91,213,198,145,68,231,169,153,67,178,59,243,233,41,39,59,139,66,146,
-72,18,73,16,81,205,34,34,163,81,124,82,96,198,178,136,62,154,21,71,159,
-29,119,111,118,133,89,158,78,95,62,163,50,196,145,214,175,25,178,230,0,
-130,186,187,158,1,58,194,17,170,161,17,34,33,18,128,185,71,173,125,31,221,
-149,111,225,108,173,106,164,147,176,20,202,176,86,230,167,35,173,37,37,
-104,134,170,64,40,66,38,166,12,81,4,137,204,220,0,202,136,28,93,10,66,146,
-196,12,210,8,5,146,212,178,120,73,185,21,109,18,19,116,166,205,28,72,112,
-82,207,0,33,4,146,32,153,146,68,147,136,34,223,166,200,56,145,198,192,173,
-209,28,51,114,88,198,45,72,211,118,25,59,4,131,99,121,175,167,233,241,79,
-101,246,145,214,175,25,166,156,74,193,152,22,35,8,34,0,79,68,10,34,168,
-17,234,14,55,218,224,67,69,208,108,226,0,0,1,0,73,68,65,84,23,221,133,111,
-106,141,166,41,226,105,17,166,84,134,101,141,115,138,104,202,212,36,41,
-67,117,180,123,64,90,228,12,40,3,34,9,222,64,20,30,88,156,75,4,36,33,10,
-36,167,16,74,18,105,50,43,216,32,26,101,2,6,120,1,114,114,178,175,132,8,
-148,146,33,25,218,136,38,136,186,81,100,252,108,18,201,220,145,85,114,3,
-64,68,41,163,128,87,142,138,203,88,140,156,66,145,155,169,165,55,149,144,
-111,50,251,72,235,215,13,83,201,62,202,20,192,23,2,167,132,18,26,65,11,
-177,154,162,194,69,56,160,118,28,150,209,211,41,214,48,218,5,169,20,167,
-43,98,13,21,104,198,78,90,143,81,220,154,230,154,50,161,26,132,36,77,45,
-68,233,129,20,238,132,36,141,25,37,91,8,36,169,103,0,137,141,104,227,76,
-80,87,4,144,205,217,12,192,36,170,157,58,230,239,83,68,233,43,136,136,102,
-72,130,102,32,17,10,72,30,155,48,76,85,45,148,162,16,33,199,138,221,130,
-201,198,206,41,255,127,231,70,218,19,250,9,102,31,105,253,186,129,143,255,
-39,9,58,223,155,64,71,0,0,1,0,73,68,65,84,232,164,169,23,218,16,53,180,
-110,89,59,184,11,59,241,206,235,198,6,26,97,30,222,247,33,18,98,17,10,108,
-71,37,132,41,81,51,38,49,41,72,45,114,22,168,4,128,132,220,142,210,218,
-147,122,16,146,152,103,144,38,40,144,132,148,169,13,216,138,54,193,4,173,
-160,65,114,120,0,99,44,248,40,167,3,41,192,128,164,140,30,162,227,118,68,
-3,73,68,162,8,124,10,128,163,40,84,49,190,0,40,45,0,64,101,170,61,180,179,
-31,200,100,129,185,201,108,236,228,247,145,214,175,25,84,132,28,175,240,
-184,88,52,120,13,43,82,123,150,173,23,143,97,227,117,139,112,160,71,244,
-94,123,171,82,25,153,110,197,60,137,74,49,202,92,250,105,201,168,74,205,
-152,42,255,136,136,34,101,136,210,9,201,200,13,160,240,208,148,25,1,201,
-169,153,65,91,132,64,115,202,185,202,66,154,86,180,17,100,209,89,226,28,
-200,8,2,21,162,144,76,182,228,140,104,193,6,154,18,20,146,192,12,58,212,
-33,13,36,9,5,76,251,222,126,196,244,154,34,194,93,236,202,84,253,80,56,
-105,44,23,244,0,0,1,0,73,68,65,84,170,38,56,42,33,7,4,21,37,24,83,229,249,
-64,120,184,133,155,122,9,43,168,70,235,195,122,80,40,5,172,30,238,94,77,
-194,205,220,37,92,92,74,136,32,135,136,8,21,76,8,221,27,248,192,96,202,
-148,68,39,36,209,219,113,201,136,205,87,8,66,50,154,153,164,86,40,144,44,
-185,9,57,145,220,106,106,137,12,157,177,89,64,50,131,72,78,73,148,28,104,
-137,66,153,65,26,68,74,49,131,36,168,67,9,5,149,68,162,104,74,45,246,150,
-19,238,130,8,9,48,70,211,224,227,66,181,99,193,184,113,176,175,76,9,145,
-0,2,136,177,179,197,84,206,238,181,10,48,120,42,158,25,58,252,140,110,4,
-124,70,141,14,73,207,216,191,14,170,73,85,57,153,184,36,165,164,41,111,
-236,81,110,90,43,14,139,147,148,81,221,54,67,3,174,86,29,86,171,211,235,
-79,197,109,85,238,160,220,255,87,183,30,166,212,74,104,29,108,209,232,108,
-150,34,106,169,72,141,120,104,111,67,74,169,145,164,52,4,129,72,16,25,87,
-160,62,54,194,17,64,89,85,32,89,196,97,16,51,13,135,176,0,0,1,0,73,68,65,
-84,133,38,247,70,180,133,54,208,28,166,218,156,194,83,104,35,169,21,157,
-51,90,209,38,73,178,205,26,146,69,91,201,115,77,115,164,185,104,11,205,
-145,206,32,58,185,54,49,35,102,163,134,29,54,74,247,68,109,132,141,104,
-35,4,68,201,205,78,71,79,208,44,227,11,17,141,13,68,32,9,76,162,105,50,
-158,236,112,148,214,47,24,250,12,7,129,63,203,163,244,204,233,145,40,74,
-81,142,165,181,73,8,9,167,143,109,119,73,247,96,208,58,43,27,192,97,247,
-53,174,157,93,132,1,37,167,205,105,187,57,159,13,152,106,189,62,142,227,
-223,247,187,193,36,248,118,33,124,163,205,97,146,56,50,253,125,87,72,51,
-88,65,29,223,142,54,9,9,82,148,94,40,73,166,174,77,74,142,114,95,9,133,
-56,210,40,100,21,84,38,72,56,217,64,20,26,36,133,194,52,202,99,133,52,128,
-78,227,224,110,129,8,221,213,68,226,215,30,223,37,21,143,180,126,209,120,
-6,77,159,69,247,103,74,253,212,76,169,138,99,116,29,25,65,50,96,42,16,24,
-97,53,224,209,175,172,123,68,52,140,78,93,0,0,1,0,73,68,65,84,90,187,253,
-44,202,163,98,155,48,71,244,167,121,125,111,190,186,55,235,167,33,17,140,
-152,74,116,83,249,216,209,49,189,218,179,120,63,46,0,147,58,59,218,40,162,
-64,116,74,149,25,39,130,6,168,176,4,81,168,83,39,215,13,213,32,9,4,36,49,
-92,130,12,72,16,225,148,132,72,144,132,100,136,224,120,107,80,131,40,50,
-39,105,61,101,54,16,163,147,40,181,227,10,121,215,211,132,251,1,124,11,
-142,180,126,193,96,60,163,32,152,62,189,34,239,179,46,144,99,178,223,98,
-87,55,97,244,41,38,15,21,87,43,172,157,176,96,184,68,119,17,81,154,229,
-125,239,54,49,24,204,32,221,189,89,255,86,91,110,229,178,215,65,227,134,
-168,158,158,177,91,131,113,250,119,34,241,126,121,118,179,79,19,28,140,
-93,209,29,157,20,93,161,140,116,191,57,13,48,6,106,67,36,97,202,174,25,
-63,22,144,68,100,72,2,27,73,156,118,166,83,18,85,33,2,205,136,81,242,7,
-52,131,10,205,50,149,96,22,97,112,170,252,35,207,254,229,128,35,173,95,
-56,158,245,99,63,235,136,153,35,91,0,0,1,0,73,68,65,84,182,153,158,241,
-9,199,40,101,41,50,22,2,9,70,144,161,117,72,161,28,54,49,172,52,186,216,
-94,162,187,80,31,100,213,113,48,12,129,40,119,218,250,254,44,238,54,200,
-240,41,160,102,228,236,238,6,190,255,202,27,74,8,119,29,248,118,35,221,
-103,205,128,83,156,222,142,81,178,223,97,220,103,170,0,30,130,32,67,232,
-16,8,28,163,75,156,99,49,67,31,183,19,190,251,112,26,117,41,80,5,36,13,
-84,64,160,2,42,98,252,38,142,137,57,130,0,68,24,187,74,86,66,249,182,194,
-221,71,90,191,96,232,51,120,237,207,82,54,158,165,90,211,71,241,60,90,43,
-64,135,25,195,164,191,20,21,110,87,209,93,51,58,172,31,234,250,145,178,
-248,48,176,6,188,158,74,247,97,187,253,201,169,221,158,209,131,170,73,244,
-107,25,44,187,114,158,123,37,100,106,88,38,163,70,36,55,251,136,60,150,
-214,59,25,169,50,229,89,143,65,29,18,50,117,217,30,237,113,24,75,76,77,
-238,147,241,104,123,205,225,166,126,60,30,150,34,132,144,66,137,105,4,163,
-179,28,138,221,226,125,89,202,0,0,1,0,73,68,65,84,157,101,124,15,129,144,
-177,151,220,56,210,250,101,34,226,233,45,236,66,158,30,192,41,241,44,93,
-124,140,244,240,233,54,237,230,117,48,171,216,60,164,192,214,203,216,94,
-215,232,185,185,224,250,82,80,157,85,196,27,221,222,75,215,63,57,221,252,
-248,214,112,186,24,6,198,185,54,42,20,9,25,251,70,78,153,138,178,111,190,
-119,83,116,223,144,208,187,77,187,45,194,93,249,0,170,80,65,25,75,9,48,
-77,161,29,28,3,239,166,42,224,162,143,3,57,70,239,201,116,186,188,177,237,
-198,151,137,78,19,97,172,87,165,156,94,43,57,106,53,2,161,240,230,172,248,
-54,28,105,253,130,97,181,62,117,187,52,79,255,169,35,158,222,35,61,105,
-144,206,48,208,25,22,86,108,232,162,22,239,175,3,136,110,137,237,181,197,
-128,237,154,221,134,226,212,42,176,150,221,89,179,190,55,223,222,61,177,
-89,91,182,5,59,37,68,30,179,235,107,174,139,29,175,167,222,214,55,45,33,
-188,201,250,41,202,148,178,99,151,8,101,76,94,184,161,233,238,10,78,237,
-166,195,99,171,202,190,121,30,34,47,17,0,0,1,0,73,68,65,84,37,111,40,237,
-187,63,98,156,54,178,155,45,20,25,95,67,118,3,27,11,111,188,182,150,144,
-39,170,74,60,126,245,67,11,185,118,11,8,37,137,106,18,81,58,188,192,171,
-251,48,93,84,55,88,21,27,50,34,171,20,93,148,237,246,157,15,63,220,118,
-253,182,235,223,126,231,71,67,41,219,237,54,230,103,97,131,134,53,74,33,
-135,90,3,218,180,115,139,107,235,74,110,22,41,180,187,94,159,165,124,75,
-210,229,253,165,245,23,89,11,182,247,177,189,0,13,157,163,135,166,179,202,
-175,110,53,151,255,234,246,195,63,186,189,253,224,150,100,228,92,78,222,
-102,49,237,179,130,146,128,164,132,134,36,151,36,2,5,196,161,59,183,135,
-80,69,84,96,143,109,36,0,110,208,62,5,4,208,8,113,145,4,25,215,180,84,54,
-143,117,107,241,209,183,77,81,97,30,13,56,178,111,155,58,201,218,81,183,
-222,121,51,232,163,132,14,177,201,123,56,166,162,169,142,250,92,218,89,
-109,118,147,98,92,39,136,132,63,94,61,134,64,119,11,89,0,63,64,90,191,46,
-24,3,225,119,18,110,36,222,133,127,0,0,1,0,73,68,65,84,167,161,146,25,81,
-202,0,171,138,80,175,44,189,71,213,164,213,151,232,250,254,145,150,97,224,
-80,106,203,112,71,223,55,26,66,247,97,203,176,166,201,94,74,177,208,56,
-137,245,35,12,3,154,198,195,176,186,28,196,201,98,215,247,117,123,161,25,
-169,118,81,75,2,221,43,194,6,150,147,211,203,15,78,182,239,223,242,187,
-103,222,100,11,70,8,53,51,41,84,68,85,116,31,230,188,139,232,255,129,201,
-137,23,137,35,173,159,19,170,10,142,190,83,76,86,6,6,25,39,9,86,182,177,
-93,137,56,106,239,235,107,175,67,228,68,18,181,14,177,172,165,160,122,95,
-47,131,180,82,165,191,211,36,169,203,43,218,208,158,157,73,173,232,11,206,
-206,219,205,70,106,73,141,144,125,108,47,5,91,247,13,250,71,205,102,0,68,
-141,240,32,66,88,36,21,145,248,227,179,203,159,156,219,207,111,151,123,
-179,42,116,0,16,164,6,89,144,85,178,72,26,35,136,166,136,38,217,61,79,202,
-195,120,82,175,176,121,200,139,197,145,214,207,137,125,32,153,200,206,223,
-49,42,75,214,161,172,49,245,156,107,255,0,0,1,0,73,68,65,84,92,103,22,233,
-87,118,125,1,175,205,124,206,97,3,81,177,75,53,139,128,149,7,65,160,214,
-186,58,211,54,243,250,17,106,207,187,119,197,3,93,143,225,124,123,121,77,
-80,84,9,131,117,197,182,240,45,134,173,171,90,87,97,34,110,153,221,217,
-162,220,58,183,156,202,159,156,119,63,58,177,119,154,50,19,47,4,1,85,168,
-74,82,166,49,181,107,103,252,30,213,227,199,50,123,172,116,115,88,56,210,
-250,57,49,117,167,125,108,172,154,86,2,195,122,21,219,181,244,171,228,27,
-108,175,116,115,161,17,51,204,135,171,7,179,249,60,130,73,164,209,236,91,
-2,128,57,250,19,102,197,118,137,50,184,95,147,130,106,222,63,130,21,145,
-68,38,80,16,64,17,148,172,114,110,109,7,119,205,233,246,140,39,209,189,
-119,167,188,127,207,179,172,126,58,203,39,50,52,165,134,66,18,82,147,155,
-148,178,160,193,144,5,89,168,99,176,169,236,130,224,4,55,90,246,241,25,
-197,109,94,87,28,105,253,220,216,133,148,237,84,212,145,231,94,171,208,
-165,118,182,185,192,250,33,215,87,86,135,199,152,114,156,0,0,1,0,73,68,
-65,84,235,43,96,88,241,252,188,108,59,228,220,204,23,214,15,72,9,16,148,
-109,161,39,26,173,116,219,11,73,89,52,217,181,99,142,156,103,86,9,151,70,
-155,232,122,212,114,54,159,27,150,174,235,247,111,207,63,56,151,133,109,
-223,63,175,239,221,161,245,235,243,124,39,121,132,131,0,154,220,52,179,
-54,177,65,109,18,154,36,73,37,41,199,101,216,168,135,60,78,127,198,13,47,
-12,15,68,227,62,210,250,57,177,243,63,239,61,110,147,77,88,52,53,41,17,
-145,162,156,180,218,222,57,237,183,92,175,86,50,75,231,139,102,88,93,1,
-150,60,213,178,149,118,150,114,182,178,197,208,205,207,79,211,76,151,235,
-117,154,47,78,22,231,203,126,171,171,117,158,205,88,6,165,221,94,52,144,
-117,78,221,219,103,231,239,159,73,223,94,190,255,214,252,157,219,136,237,
-131,59,11,185,219,206,215,93,64,11,196,1,72,3,153,75,158,69,147,106,11,
-107,115,106,146,182,89,154,196,156,144,114,104,130,166,105,193,123,16,28,
-126,10,142,180,126,78,144,220,57,230,228,6,71,196,61,18,144,85,99,128,142,
-182,0,0,1,0,73,68,65,84,207,22,179,15,78,79,222,57,159,245,219,205,195,
-135,15,7,235,110,157,223,170,101,8,98,62,95,184,213,217,98,222,52,237,114,
-213,59,227,108,49,155,183,105,88,175,78,79,79,238,189,245,22,136,123,185,
-89,44,90,175,155,38,245,239,220,201,77,116,51,200,135,239,230,247,87,155,
-235,229,245,173,179,213,98,230,215,29,230,129,134,69,12,62,31,52,121,202,
-64,11,105,168,185,38,181,12,228,164,57,105,74,146,18,53,65,21,73,169,73,
-38,147,153,8,14,101,153,120,19,71,90,63,39,122,82,4,73,36,129,66,144,74,
-204,152,26,57,109,203,208,104,204,127,114,58,255,211,15,236,167,247,88,
-236,206,195,119,239,230,116,169,210,252,225,91,115,145,54,28,87,215,143,
-206,78,231,183,238,156,255,205,223,255,253,221,59,63,253,209,219,111,103,
-193,240,179,123,179,156,155,148,182,63,202,239,233,127,44,221,101,142,238,
-188,157,207,117,30,86,40,155,100,143,162,137,243,123,32,188,27,48,63,129,
-10,182,165,204,206,193,168,10,36,160,13,204,195,230,196,34,39,205,154,179,
-53,89,154,233,158,56,56,0,0,1,0,73,68,65,84,148,178,34,43,179,32,77,137,
-132,33,206,160,79,5,59,228,57,205,32,250,117,239,141,76,110,110,64,71,13,
-126,239,205,153,252,41,191,237,253,193,119,142,75,236,98,172,190,22,115,
-248,12,28,105,253,226,32,0,97,78,204,78,117,126,235,186,92,223,223,212,
-247,238,181,183,78,22,137,92,220,126,63,231,217,157,243,109,147,23,34,233,
-234,234,222,124,209,156,158,44,78,110,157,157,156,44,238,156,159,211,189,
-223,108,218,156,26,77,219,205,90,30,254,227,144,77,77,22,57,55,76,70,241,
-73,188,142,201,216,211,53,158,212,101,32,183,154,18,218,36,109,142,38,177,
-73,200,194,52,242,88,31,251,55,198,216,141,137,133,95,51,238,1,135,163,
-90,31,105,253,188,208,199,110,13,236,110,232,227,61,189,153,157,156,69,
-197,195,237,229,175,174,203,143,238,202,221,183,210,187,39,92,90,81,205,
-25,156,55,210,52,57,74,155,179,102,241,183,111,159,39,213,6,225,180,140,
-104,68,179,70,86,230,102,134,166,1,52,43,82,132,139,9,93,24,141,38,236,
-2,137,146,200,216,152,93,32,243,151,156,56,182,0,0,1,0,73,68,65,84,217,
-72,107,52,9,109,138,89,102,155,209,164,241,25,141,34,43,210,110,14,220,
-176,92,127,87,136,231,235,137,35,173,159,19,55,10,109,237,2,112,68,168,
-72,139,51,69,27,115,241,249,187,159,85,251,197,163,242,118,59,252,193,89,
-214,64,2,178,68,22,159,101,46,102,170,42,2,182,74,122,101,13,97,52,202,
-38,33,41,178,82,8,97,0,174,226,73,217,36,38,149,212,72,242,41,72,78,128,
-36,163,12,22,17,153,55,204,9,109,150,54,161,77,50,203,108,27,52,9,243,6,
-57,97,150,209,38,100,101,82,170,138,42,199,216,167,253,41,224,177,41,228,
-16,112,164,245,115,34,137,124,45,100,103,180,98,11,242,201,29,239,42,218,
-5,222,250,112,216,200,199,221,23,31,174,252,253,179,249,188,141,121,59,
-179,102,180,184,97,214,166,156,50,68,102,16,51,107,154,156,146,196,172,
-205,57,137,128,116,52,51,105,26,72,154,165,104,1,23,9,166,220,54,24,12,
-99,96,178,48,9,84,37,9,68,56,75,209,36,153,101,157,53,104,19,102,89,102,
-19,161,53,39,105,178,52,153,105,213,221,61,108,0,0,1,0,73,68,65,84,18,216,
-20,17,81,157,134,252,255,179,247,110,189,146,93,201,153,88,92,214,90,251,
-150,153,231,86,117,234,194,170,102,147,221,205,150,90,210,204,104,132,145,
-228,177,7,214,211,0,126,240,95,240,147,49,128,13,248,213,126,240,192,111,
-254,17,254,13,6,252,230,7,3,6,12,120,124,209,88,178,173,177,36,118,183,
-250,82,100,177,88,172,203,185,230,109,239,189,214,138,8,63,172,204,172,
-83,69,182,102,154,125,78,145,162,24,56,172,74,102,229,217,185,115,229,183,
-99,199,138,248,226,139,210,202,253,205,169,48,2,124,11,235,47,109,184,197,
-194,43,18,49,2,0,102,95,195,144,66,96,223,30,173,107,62,93,216,19,91,63,
-181,230,158,92,26,48,16,9,104,214,172,96,64,132,200,8,72,100,204,142,29,
-169,154,152,129,153,0,76,66,5,217,27,160,103,101,5,195,12,32,8,90,5,221,
-197,59,76,198,4,140,128,136,181,51,239,160,14,80,121,168,28,84,12,193,131,
-99,11,132,204,232,139,202,13,66,201,94,23,78,209,150,70,250,13,44,51,126,
-11,235,47,105,180,237,142,218,158,29,242,11,0,0,1,0,73,68,65,84,16,45,183,
-236,33,33,118,158,2,137,57,6,220,83,184,255,140,46,254,166,215,135,7,169,
-233,166,232,136,157,121,207,236,99,8,13,145,51,181,148,82,8,158,152,136,
-123,3,37,38,10,85,53,15,234,189,26,123,202,78,13,5,212,144,153,26,46,239,
-83,48,10,76,200,132,136,208,48,121,71,117,160,202,65,96,245,44,37,81,29,
-24,153,193,49,108,154,170,94,145,254,183,76,173,215,152,168,223,16,251,
-22,214,95,210,190,224,190,189,173,204,56,207,1,99,175,17,208,65,53,187,
-200,249,227,229,101,222,67,36,231,124,112,30,216,17,11,176,15,132,222,84,
-213,128,157,39,71,172,98,96,161,10,190,86,31,42,205,193,48,212,108,206,
-80,152,12,216,121,117,18,97,155,3,97,196,130,108,68,168,28,123,135,193,
-83,112,230,201,28,161,35,101,4,38,220,132,224,4,175,237,17,113,155,186,
-190,106,223,148,84,200,141,195,186,204,185,44,63,182,185,103,151,27,237,
-18,12,8,144,16,73,169,40,16,18,185,40,153,76,11,159,188,8,100,150,91,124,
-82,0,216,188,190,104,254,148,102,87,79,121,201,0,0,1,0,73,68,65,84,140,
-104,95,76,219,191,105,75,160,175,202,230,0,12,27,103,71,57,9,54,231,190,
-1,21,47,145,32,101,152,124,36,225,127,58,27,255,228,118,243,195,3,178,97,
-1,205,94,187,63,245,26,247,188,190,156,175,219,198,87,85,5,0,3,51,17,17,
-209,122,189,110,14,30,100,253,176,194,23,19,186,149,146,147,176,108,88,
-43,153,64,125,153,34,4,15,206,161,102,243,222,170,192,57,103,199,217,59,
-104,2,4,71,129,209,33,58,114,76,200,150,11,219,159,12,137,17,129,55,169,
-95,76,240,186,127,222,242,67,126,69,139,241,175,105,27,5,136,237,196,164,
-237,193,127,237,139,134,119,190,3,1,182,29,191,240,111,59,208,141,195,186,
-168,79,109,233,7,248,170,127,130,216,12,76,139,58,14,138,65,222,180,11,
-144,17,152,25,144,129,97,145,142,0,2,208,141,138,133,25,40,24,193,166,249,
-237,235,109,104,37,165,134,116,158,220,139,149,188,219,242,65,211,128,71,
-99,11,85,237,61,78,141,17,177,192,218,123,79,68,204,236,156,243,99,157,
-86,33,0,215,68,76,152,13,3,65,200,244,106,14,49,0,0,1,0,73,68,65,84,0,142,
-208,52,120,112,142,4,36,56,10,142,8,48,4,243,12,193,179,119,228,192,8,173,
-44,59,109,43,160,72,155,140,30,252,29,88,183,223,212,222,14,172,183,3,5,
-118,173,116,128,69,26,176,244,78,148,54,9,5,208,205,53,142,6,69,224,22,
-181,200,100,88,17,158,40,154,176,219,198,210,146,90,251,154,141,46,217,
-22,58,138,178,58,1,146,17,131,233,179,52,249,197,185,124,255,160,122,112,
-80,179,137,18,132,110,226,124,216,243,107,68,172,235,26,0,134,97,96,102,
-34,170,170,202,165,61,28,39,142,171,9,112,118,148,1,3,130,79,134,204,137,
-52,56,118,76,66,226,29,134,64,25,169,107,136,153,60,147,35,32,83,4,45,100,
-84,130,13,172,169,12,5,32,216,122,151,111,78,36,253,121,187,121,88,195,
-118,123,114,165,141,25,192,12,121,131,79,220,213,50,12,8,77,10,111,121,
-163,22,81,30,169,217,22,189,219,14,162,87,121,214,175,25,174,203,121,149,
-27,46,17,16,131,178,145,157,216,228,209,124,241,108,12,191,83,117,83,91,
-2,98,232,90,117,93,96,216,143,46,75,142,0,0,1,0,73,68,65,84,193,154,175,
-88,21,15,108,221,177,133,137,145,120,76,6,14,141,89,153,48,17,120,135,142,
-49,19,122,7,193,91,70,171,61,51,145,99,36,52,220,210,61,8,141,128,16,182,
-82,209,184,237,105,252,134,163,250,109,104,240,237,26,163,0,182,196,55,
-53,43,202,247,219,242,92,225,185,111,187,153,161,8,30,130,109,188,120,97,
-233,191,118,89,192,78,4,224,107,102,84,52,253,55,56,98,219,168,56,131,184,
-233,139,113,252,120,193,167,41,204,234,166,117,232,131,143,190,118,56,22,
-88,35,98,137,64,152,25,17,167,114,36,243,25,198,106,162,164,12,25,145,0,
-0,205,19,70,68,239,128,201,50,152,99,171,156,37,211,128,76,104,140,128,
-168,8,10,168,165,82,195,182,77,69,226,86,149,236,239,129,221,60,172,175,
-180,217,154,129,217,102,243,136,42,104,134,170,101,90,188,201,70,72,139,
-149,204,202,62,19,138,4,29,169,177,169,232,118,234,43,0,108,71,186,126,
-45,39,184,238,18,194,80,180,24,205,28,2,176,131,117,14,191,188,180,159,
-159,235,241,253,102,175,70,199,100,76,85,252,222,143,28,0,0,1,0,73,68,65,
-84,93,35,98,211,52,187,168,186,32,123,98,251,125,51,193,16,90,113,192,154,
-144,17,72,21,3,131,3,112,12,76,144,13,152,53,56,37,51,135,74,136,27,181,
-37,84,64,101,68,226,50,241,249,106,195,173,109,133,65,254,54,157,141,191,
-235,118,227,176,190,218,64,190,73,137,152,170,42,27,128,26,110,198,65,100,
-205,57,139,168,154,100,22,85,17,19,51,181,34,221,166,162,170,214,20,247,
-188,147,225,223,48,65,255,86,25,148,183,111,87,2,164,178,83,46,30,211,90,
-151,6,242,143,47,134,159,188,24,127,247,238,225,195,218,49,2,50,214,174,
-46,222,186,228,64,10,178,17,177,145,189,38,76,204,85,53,34,154,122,114,
-6,34,226,42,66,54,116,140,68,192,6,76,16,156,145,129,99,68,68,164,146,109,
-42,170,233,175,105,205,88,153,152,180,45,188,124,99,169,214,0,240,54,96,
-189,147,125,51,131,43,143,201,212,76,177,168,142,167,36,41,102,17,17,145,
-196,89,53,137,38,131,108,152,204,146,152,168,22,169,197,18,175,108,194,
-70,0,48,228,175,23,170,223,176,45,233,19,116,76,195,198,0,0,1,0,73,68,65,
-84,177,2,25,137,78,215,242,116,30,215,22,208,7,52,241,4,37,228,40,80,102,
-102,239,253,38,19,226,106,231,130,177,247,102,4,72,204,102,156,153,61,33,
-48,58,135,132,0,12,142,208,49,154,130,227,146,233,0,45,43,254,26,106,95,
-73,198,236,202,137,223,194,250,223,205,182,254,88,212,196,72,12,21,80,17,
-124,113,185,34,144,115,249,193,148,41,231,121,26,198,97,100,164,214,7,31,
-147,158,157,195,24,67,168,150,26,23,231,231,135,183,142,23,171,190,95,172,
-167,251,135,203,126,88,175,251,220,180,192,140,6,6,132,174,161,106,106,
-174,85,242,32,103,194,45,184,134,17,106,75,164,18,193,143,16,2,94,160,49,
-154,7,240,8,172,69,182,5,109,211,149,125,99,38,69,223,218,100,147,164,37,
-4,170,0,170,121,238,163,25,52,123,191,124,118,242,236,50,93,28,249,195,
-73,205,117,101,121,116,206,1,0,51,183,109,91,14,210,182,237,208,28,183,
-127,246,33,230,207,210,254,253,189,161,199,220,157,73,104,235,23,48,10,
-59,50,80,48,13,129,16,204,32,187,128,136,27,53,152,47,78,204,0,0,1,0,73,
-68,65,84,41,2,120,21,96,24,148,40,4,96,155,131,250,187,134,230,175,152,
-111,189,203,153,239,24,11,133,60,41,155,168,67,76,18,228,104,113,212,113,
-212,148,58,138,16,151,105,136,131,65,28,198,52,95,72,202,226,67,150,209,
-46,231,25,71,237,7,88,15,106,43,24,70,24,70,148,41,33,72,76,128,174,154,
-30,88,90,37,240,161,106,197,41,120,45,157,214,162,25,16,128,43,230,160,
-194,133,141,188,169,167,149,124,55,124,177,132,210,91,178,118,2,125,92,
-155,251,201,227,103,255,228,59,239,231,177,71,27,235,110,127,151,253,32,
-34,216,246,219,152,18,49,35,145,2,108,242,63,219,246,195,237,225,202,70,
-240,27,221,188,245,101,237,26,131,144,13,152,139,96,16,153,17,168,154,170,
-154,138,152,36,75,131,141,107,235,87,218,175,52,69,79,35,47,22,113,185,
-202,57,203,24,109,185,146,24,7,0,100,244,171,149,201,28,99,242,67,132,241,
-148,98,242,49,226,56,5,83,89,174,192,135,202,238,37,243,81,176,218,59,26,
-188,135,106,4,81,100,167,154,21,157,86,193,24,193,60,0,198,55,175,123,0,
-0,1,0,73,68,65,84,41,186,173,8,98,201,169,200,175,18,228,189,105,99,163,
-80,53,49,241,82,154,191,248,232,228,159,255,254,119,142,124,110,109,196,
-201,65,193,43,17,109,211,251,0,0,14,29,122,15,206,73,25,22,3,64,72,68,4,
-68,102,134,160,102,4,69,255,250,53,157,211,111,13,224,122,189,181,237,50,
-163,166,104,6,42,168,98,34,150,35,228,1,211,10,135,5,244,115,88,45,44,246,
-163,70,29,6,28,7,146,236,115,22,235,37,174,226,56,10,1,165,52,14,151,57,
-11,100,29,87,152,82,214,148,211,170,117,204,176,94,131,247,16,32,39,48,
-65,231,50,100,165,238,136,38,9,124,109,106,74,94,204,25,86,188,169,101,
-110,89,106,6,8,134,191,82,36,253,230,13,125,22,163,118,50,228,254,241,234,
-236,175,63,91,62,236,234,163,64,57,231,18,91,151,253,226,166,53,18,145,
-152,208,57,99,7,155,66,244,6,247,176,171,107,109,14,187,77,11,125,139,235,
-43,118,109,176,70,36,2,80,176,130,30,212,12,146,77,50,165,100,105,212,113,
-5,195,2,134,57,14,151,52,46,104,236,123,85,47,86,20,0,0,1,0,73,68,65,84,
-37,73,89,114,202,113,4,81,70,245,14,36,170,164,228,205,250,97,48,53,82,
-27,98,212,44,96,10,235,65,130,71,85,212,212,159,60,139,81,128,194,224,65,
-250,158,166,75,136,17,235,9,34,129,171,1,88,144,29,131,145,51,135,198,14,
-145,16,129,20,176,52,103,127,21,230,92,215,47,86,147,163,253,229,42,44,
-252,254,255,249,139,147,119,167,71,147,119,170,89,149,16,49,231,92,246,
-142,37,14,129,178,217,100,6,230,87,50,59,8,80,38,125,33,108,103,80,108,
-255,251,54,8,121,221,174,51,19,178,157,212,176,29,63,149,163,164,132,227,
-2,226,104,195,82,251,133,13,11,27,151,16,215,148,199,60,130,106,206,253,
-186,95,47,200,172,169,252,180,118,53,87,142,90,31,252,217,217,57,2,176,
-115,243,249,188,244,120,127,244,217,121,101,214,180,181,154,206,151,39,
-144,12,66,221,63,235,157,137,165,49,167,68,245,148,67,224,122,66,136,140,
-70,232,204,121,13,141,133,10,56,108,246,75,95,97,162,219,77,64,151,30,5,
-8,199,106,246,255,124,250,252,238,132,13,14,254,195,23,230,176,32,0,0,1,
-0,73,68,65,84,38,21,111,93,28,54,0,20,175,156,85,28,226,134,158,7,229,228,
-223,60,100,41,211,26,194,102,46,248,183,182,181,235,141,173,97,91,125,17,
-147,164,57,106,78,56,92,66,28,117,189,146,126,33,195,74,227,0,18,81,179,
-75,67,240,174,169,177,51,14,14,15,246,102,77,29,76,165,171,154,166,109,
-158,63,107,156,115,117,85,157,157,157,150,204,215,241,116,138,104,7,251,
-123,49,199,199,159,126,22,129,192,215,207,78,206,42,114,67,92,14,115,76,
-171,75,9,193,117,51,82,177,60,146,107,213,87,96,201,112,98,104,101,114,
-148,126,117,223,125,130,192,85,173,195,130,29,136,134,19,155,254,171,95,
-46,129,235,63,122,48,152,217,110,203,184,139,179,179,8,155,21,225,165,45,
-71,169,80,10,224,213,172,140,87,121,232,47,158,104,255,247,214,174,15,214,
-175,86,181,208,56,84,69,84,50,196,181,197,81,227,90,99,47,105,84,73,166,
-106,96,19,206,179,174,174,67,3,214,118,117,184,117,184,223,181,181,74,182,
-36,211,201,100,130,99,8,190,107,187,211,22,153,217,57,126,112,124,247,78,
-157,179,0,0,1,0,73,68,65,84,55,167,120,235,232,112,136,195,173,206,169,
-11,202,225,195,191,137,171,149,206,5,98,236,85,7,29,41,73,34,112,38,234,
-155,67,208,108,76,230,28,176,3,32,5,34,251,202,18,182,49,67,91,215,105,
-253,178,170,170,245,136,48,185,245,232,197,229,157,83,25,199,17,0,174,122,
-107,40,76,24,209,205,24,185,109,126,11,97,183,53,176,157,167,222,18,190,
-190,77,134,188,102,215,6,107,73,81,212,164,84,189,53,99,238,121,156,219,
-184,150,254,66,198,81,199,104,121,148,97,89,217,248,157,187,7,239,61,184,
-251,241,163,143,186,174,107,219,246,234,110,73,145,146,165,249,114,217,
-78,166,136,56,164,28,218,137,170,26,145,119,131,119,148,242,218,49,126,
-255,187,239,148,72,244,189,195,122,185,30,94,156,156,126,248,179,71,31,
-61,59,141,60,213,116,4,121,104,242,114,181,122,94,77,143,72,142,72,19,42,
-68,101,101,55,217,219,63,207,35,1,17,48,91,225,0,137,65,50,20,128,238,186,
-150,226,11,205,233,121,38,198,238,88,37,123,234,33,46,121,186,255,151,47,
-199,255,229,241,78,135,212,200,0,0,1,0,73,68,65,84,226,223,251,126,59,147,
-181,172,70,154,188,63,178,143,195,229,254,148,108,236,23,119,127,64,143,
-126,60,185,92,128,155,141,112,70,178,10,116,55,218,103,91,130,135,32,26,
-2,33,48,2,137,125,241,20,132,175,37,191,224,215,176,95,205,183,198,205,
-172,25,220,176,138,182,244,35,128,235,220,50,110,59,47,54,172,59,149,242,
-35,146,114,138,146,147,35,108,166,221,196,119,135,7,123,147,201,228,187,
-223,253,110,169,168,165,148,114,206,219,234,186,94,205,6,64,209,219,221,
-82,219,84,117,23,125,22,115,206,29,31,223,154,76,167,221,100,246,222,162,
-95,139,251,244,98,120,244,217,217,242,244,5,28,220,22,66,4,142,201,60,250,
-110,239,88,208,45,22,115,108,42,216,16,71,17,55,179,38,222,82,202,239,202,
-52,162,82,125,36,48,253,241,211,203,239,28,31,30,55,53,105,30,151,23,220,
-206,28,49,36,5,112,136,14,145,182,172,142,146,238,248,124,12,253,13,231,
-226,125,57,187,54,88,19,161,106,25,158,167,160,2,146,77,162,229,145,76,
-81,18,91,110,235,176,223,77,246,187,218,200,51,23,0,0,1,0,73,68,65,84,112,
-48,107,171,170,50,209,130,212,146,225,218,145,215,10,166,85,117,151,22,
-40,104,246,222,155,89,41,200,169,106,161,4,137,136,115,110,127,230,219,
-186,122,8,148,209,63,122,122,130,113,249,36,205,23,235,19,61,51,202,153,
-218,156,144,114,86,55,217,247,85,107,170,136,91,137,197,237,196,30,176,
-95,53,201,232,218,172,16,111,75,218,2,11,97,213,216,204,254,175,143,87,
-247,142,251,135,251,221,61,159,105,113,230,24,185,109,87,73,43,172,144,
-2,146,7,216,12,181,45,2,218,88,50,213,87,120,140,223,38,173,63,111,215,
-153,9,65,128,45,166,147,73,180,52,90,26,9,196,147,133,64,7,147,234,248,
-96,54,109,171,202,97,202,57,165,164,170,170,42,34,101,83,72,68,197,97,35,
-110,130,200,18,105,236,156,180,170,122,191,25,44,84,60,189,170,102,201,
-8,200,32,142,180,170,43,190,51,173,244,225,15,31,28,61,158,167,159,60,122,
-178,190,56,115,239,124,64,68,121,24,83,142,213,237,123,148,21,200,16,208,
-152,54,195,94,141,223,74,26,193,54,45,189,88,152,125,14,162,69,106,215,
-0,0,1,0,73,68,65,84,76,204,224,167,23,240,231,159,44,191,127,107,58,187,
-67,129,71,140,75,171,235,8,190,2,34,172,145,156,1,148,214,32,3,84,221,176,
-113,175,214,96,202,220,217,111,19,33,87,237,250,188,53,128,110,74,30,2,
-154,33,71,200,163,229,1,115,174,24,219,202,31,77,155,195,105,83,5,167,57,
-197,152,170,170,42,240,221,197,21,197,115,87,85,117,213,103,151,199,59,
-88,135,16,0,96,87,191,72,41,213,77,75,160,227,26,52,71,111,105,191,102,
-127,255,200,240,248,183,177,145,249,217,95,61,122,202,151,79,201,57,169,
-197,198,106,117,162,213,222,29,227,108,30,0,169,248,104,44,163,136,111,
-88,225,153,10,161,174,192,146,28,178,2,168,9,68,222,255,240,89,255,231,
-31,93,188,211,29,236,31,4,200,41,165,209,234,61,147,128,88,35,134,13,96,
-105,67,99,162,157,174,199,21,182,233,183,129,200,27,118,141,85,70,3,19,
-83,5,21,208,12,154,64,18,74,2,75,93,237,15,167,237,225,164,238,2,19,65,
-34,18,102,48,187,90,49,46,17,69,161,104,138,200,134,23,97,86,89,13,234,
-173,0,0,1,0,73,68,65,84,194,238,2,110,51,43,61,127,5,211,165,138,129,46,
-4,70,71,160,201,59,231,40,139,0,16,251,9,210,31,254,232,253,187,183,111,
-61,190,28,127,118,242,177,117,67,211,54,121,204,184,174,193,87,86,6,194,
-58,67,96,52,67,53,117,55,235,238,202,8,216,50,63,148,136,16,138,183,54,
-104,186,231,171,249,255,253,241,197,15,142,234,7,179,169,87,177,97,112,
-205,190,41,3,6,68,183,33,246,16,150,68,78,73,96,111,136,175,59,157,18,195,
-111,189,245,85,187,62,88,111,134,15,43,168,162,10,170,160,101,212,220,4,
-127,48,237,110,29,76,167,77,96,20,21,40,189,122,50,142,187,77,161,115,174,
-132,206,222,251,170,170,68,4,182,155,197,156,51,108,163,17,0,40,93,36,227,
-56,238,2,149,4,236,202,60,113,231,171,170,162,148,35,244,98,232,198,254,
-123,247,143,223,127,239,253,159,62,61,189,248,215,127,249,217,234,132,251,
-35,170,103,218,79,64,18,32,20,225,12,68,71,6,168,160,111,163,255,109,195,
-131,6,36,32,3,98,83,169,28,165,232,127,254,114,245,23,143,211,229,194,221,
-0,0,1,0,73,68,65,84,47,254,193,253,110,234,209,198,129,115,82,101,0,111,
-192,86,34,23,196,162,91,179,195,52,192,235,109,116,223,218,21,187,70,111,
-189,19,76,40,164,34,69,83,48,237,186,102,54,157,236,77,39,21,105,28,7,201,
-130,174,114,206,181,211,0,0,34,82,66,231,178,23,4,128,16,66,129,53,51,3,
-192,142,180,89,220,115,161,219,15,195,176,251,93,110,166,154,211,122,1,
-146,163,11,181,177,121,37,84,184,213,85,79,159,191,112,100,239,63,188,251,
-163,211,121,126,114,182,30,23,171,190,111,111,29,24,2,248,0,154,80,115,
-233,139,39,181,155,166,158,227,38,103,177,233,116,220,245,240,178,102,117,
-225,108,190,120,244,98,126,178,60,126,119,47,144,137,164,104,80,155,209,
-86,125,9,138,210,222,54,185,133,159,131,242,183,208,126,205,174,47,193,
-199,6,170,106,34,162,38,128,202,206,2,98,237,48,206,38,173,10,40,134,170,
-10,10,125,213,212,228,56,246,99,8,193,57,87,246,136,37,174,40,207,148,172,
-200,206,31,151,40,101,189,94,3,192,213,230,168,130,114,51,3,168,106,135,
-205,236,86,237,0,0,1,0,73,68,65,84,57,231,16,194,56,142,166,89,68,150,227,
-185,235,66,91,133,137,226,159,188,123,235,253,91,123,127,117,161,127,246,
-248,68,198,207,98,172,17,164,174,38,38,24,83,118,206,55,237,36,98,95,218,
-19,204,172,80,178,9,153,144,242,53,177,72,18,210,54,175,42,102,34,0,224,
-60,56,191,94,174,64,115,123,176,247,211,231,159,252,98,254,189,135,183,
-154,61,24,14,19,44,195,47,24,30,2,63,8,225,241,4,90,136,67,148,165,15,15,
-147,156,165,97,8,32,1,45,139,33,3,58,234,99,70,49,239,177,196,105,195,48,
-138,64,55,107,135,245,58,1,120,135,57,27,24,212,222,73,150,156,173,174,
-252,40,105,219,72,188,157,186,1,8,0,250,149,177,102,190,216,126,53,223,
-186,244,182,225,166,73,2,117,163,28,3,0,55,228,162,182,171,132,128,216,
-54,77,8,129,213,118,156,75,53,51,145,16,66,201,102,148,48,186,72,100,148,
-56,228,243,176,222,144,215,0,138,183,46,191,136,155,166,175,205,190,179,
-192,186,236,68,85,21,192,93,92,246,154,200,98,222,159,117,254,168,93,84,
-227,9,90,123,0,0,1,0,73,68,65,84,171,31,63,121,126,49,159,135,253,154,136,
-250,213,194,50,87,237,140,153,22,171,75,232,252,231,165,249,223,66,45,163,
-106,218,81,214,198,188,212,250,95,255,248,163,99,127,239,159,253,240,222,
-24,151,80,49,177,51,226,210,175,85,40,45,104,160,64,138,148,84,84,77,181,
-36,42,81,145,41,103,5,82,83,37,210,140,42,6,137,44,17,146,34,57,82,49,53,
-100,70,69,212,12,153,182,132,120,68,176,77,19,100,169,119,124,35,252,254,
-53,243,173,119,61,78,176,137,5,169,110,26,239,189,197,140,0,196,228,156,
-115,204,134,86,249,170,248,102,0,216,33,181,100,166,11,172,95,29,23,177,
-184,115,0,40,168,77,41,241,86,0,169,188,50,132,80,96,29,99,44,119,0,149,
-0,216,142,125,30,23,11,7,50,155,117,23,2,239,238,251,225,204,96,232,51,
-206,173,102,224,90,181,6,82,197,76,234,182,19,176,192,112,219,236,126,243,
-55,247,134,67,116,106,190,234,171,163,127,245,55,79,15,42,251,253,15,222,
-241,253,121,213,77,60,56,4,18,85,177,140,172,37,25,228,24,209,121,154,72,
-251,169,0,0,1,0,73,68,65,84,73,34,138,72,96,196,0,228,28,147,50,1,154,41,
-129,103,52,131,12,224,25,3,152,120,172,8,179,130,50,120,34,69,4,134,77,
-123,66,33,127,81,185,108,190,65,251,206,107,172,50,110,229,221,74,253,172,
-16,222,185,248,93,82,48,64,114,206,85,80,249,42,24,130,35,231,189,15,33,
-92,237,225,131,109,5,241,243,176,46,160,47,176,46,177,120,201,9,22,183,
-93,178,34,229,58,41,62,126,24,116,74,245,116,202,67,21,150,103,207,209,
-134,251,83,255,7,239,223,165,26,63,57,153,159,94,138,15,13,82,142,253,5,
-132,122,182,183,215,39,43,55,227,93,11,235,219,41,59,247,253,88,87,77,82,
-210,201,157,147,197,229,159,63,185,252,233,243,179,127,112,144,96,52,175,
-132,128,150,115,182,232,73,208,204,68,89,122,6,139,42,89,212,57,7,6,146,
-34,179,51,196,108,42,42,82,218,37,76,1,76,192,82,78,206,179,154,168,101,
-213,34,142,154,69,181,8,165,110,168,218,91,69,33,132,111,72,67,250,245,
-193,186,12,254,131,34,36,68,134,108,196,70,236,216,49,51,80,229,227,153,
-153,0,0,1,0,73,68,65,84,241,174,204,78,189,247,134,224,144,75,2,164,128,
-56,132,240,134,183,126,35,182,46,62,184,92,6,0,176,171,50,150,203,0,0,68,
-100,23,201,0,192,172,171,78,231,61,82,152,182,117,160,56,142,195,237,186,
-250,221,247,238,135,198,246,43,250,217,233,120,145,22,99,95,131,111,209,
-145,200,136,234,183,90,106,8,27,9,19,0,176,155,22,215,137,9,14,38,77,127,
-185,128,186,133,131,7,191,156,255,242,207,126,246,233,15,255,253,239,242,
-72,173,121,135,78,77,77,165,220,2,85,4,134,158,189,151,81,82,6,70,82,201,
-113,212,16,210,128,148,146,164,4,137,135,156,114,140,102,195,48,166,40,
-17,192,101,83,201,217,140,34,33,100,53,52,9,190,218,244,126,152,2,22,5,
-184,27,254,168,111,209,174,211,91,111,93,246,198,91,27,21,229,123,100,102,
-242,206,17,17,17,106,97,94,162,99,231,189,47,64,116,206,237,96,93,30,148,
-96,186,0,116,151,162,46,176,46,177,120,129,245,110,187,201,204,57,103,239,
-125,217,74,18,81,87,209,98,144,40,84,181,147,217,225,173,52,172,22,244,
-232,213,0,0,1,0,73,68,65,84,66,134,62,193,143,238,202,189,195,119,247,63,
-93,252,233,163,211,229,229,243,112,251,33,49,174,206,206,124,119,108,96,
-37,134,42,159,231,237,124,203,86,53,46,16,196,5,56,130,118,111,217,79,254,
-223,71,39,255,209,31,126,64,6,106,12,88,248,5,49,136,72,78,177,31,210,128,
-1,194,101,159,215,99,154,96,157,83,26,251,126,2,213,194,100,28,37,70,24,
-25,115,198,113,180,145,33,69,178,44,26,28,24,231,60,42,7,231,48,91,52,83,
-84,46,209,22,34,18,20,6,108,185,150,191,210,118,207,107,178,235,140,173,
-113,35,163,120,101,111,77,148,83,54,51,34,166,45,157,152,153,217,179,39,
-95,130,144,141,126,192,54,182,254,85,91,198,2,226,146,222,134,43,222,186,
-60,46,224,222,69,50,204,92,163,116,109,139,202,4,234,155,174,170,2,69,169,
-150,121,214,94,220,187,115,12,117,243,228,114,117,254,124,180,52,80,105,
-137,55,3,43,93,97,155,221,246,102,238,208,77,163,187,110,98,26,2,69,128,
-49,162,131,102,255,227,147,243,31,127,114,57,185,59,75,6,36,54,148,99,73,
-109,0,0,1,0,73,68,65,84,198,17,99,70,72,99,92,172,47,232,101,207,97,112,
-207,79,225,114,13,123,251,32,25,211,0,135,41,140,154,250,117,26,71,216,
-139,40,66,195,160,211,72,41,17,37,89,103,143,168,57,107,215,184,224,57,
-103,48,21,109,18,66,137,19,55,234,215,69,254,253,198,201,49,111,197,174,
-189,141,0,183,180,135,205,248,134,97,28,114,78,30,137,16,9,169,132,209,
-190,242,100,84,156,235,14,214,37,86,198,43,182,57,46,34,108,211,216,37,
-198,160,43,86,0,189,115,225,37,140,97,102,200,105,111,111,175,243,221,122,
-181,88,246,243,138,61,85,220,45,82,53,127,110,28,111,77,171,135,199,7,143,
-23,231,47,215,43,245,147,182,157,38,123,37,13,179,75,50,191,141,124,48,
-185,126,56,235,42,132,0,49,230,186,157,94,188,176,159,124,244,252,247,14,
-154,136,153,82,26,199,81,123,51,77,125,111,139,139,203,159,95,130,175,221,
-39,207,211,217,2,246,23,43,80,201,17,238,164,196,57,175,214,48,142,176,
-24,178,170,12,3,76,251,148,82,134,17,150,67,36,180,156,83,215,96,85,89,
-43,128,122,34,0,0,1,0,73,68,65,84,206,89,37,187,35,32,2,199,224,24,188,
-3,231,208,49,34,66,253,117,147,52,252,82,118,125,124,107,85,41,37,105,34,
-36,71,236,145,60,113,190,148,44,160,251,30,52,245,174,57,242,126,143,44,
-78,152,18,250,130,203,93,228,176,235,125,130,45,148,175,54,99,239,8,125,
-184,149,205,5,128,166,105,118,14,123,23,154,79,38,19,51,139,145,2,166,154,
-82,85,115,56,56,20,17,140,241,248,112,34,225,214,121,175,199,173,255,227,
-119,186,73,90,255,213,139,225,175,47,94,172,173,166,246,52,129,131,106,
-90,87,179,42,185,60,72,38,166,166,178,180,186,174,37,250,98,75,139,209,
-79,115,216,179,24,49,175,37,15,50,123,255,127,248,5,77,235,167,255,201,
-31,86,123,103,252,217,167,125,85,233,39,231,206,252,253,71,207,158,254,
-100,65,206,225,203,23,212,247,112,144,143,134,184,94,174,151,135,107,92,
-47,67,28,21,76,222,209,163,216,47,87,171,245,221,227,118,185,156,15,3,28,
-231,64,152,64,241,104,175,162,133,141,189,5,223,172,105,200,217,28,193,
-119,223,57,148,249,165,230,42,31,138,0,0,1,0,73,68,65,84,173,229,7,223,
-169,32,14,61,78,0,19,97,100,50,6,65,67,214,64,16,6,91,18,123,102,64,38,
-69,177,194,152,197,18,146,111,25,208,91,119,246,149,55,53,92,119,222,122,
-131,192,162,173,72,128,152,21,178,2,16,51,111,179,234,68,184,13,74,118,
-205,78,59,131,45,166,175,250,108,252,213,203,180,211,214,216,118,138,216,
-46,74,217,253,226,46,207,93,85,21,241,241,8,125,69,245,253,67,93,246,249,
-69,94,253,60,194,8,10,25,0,13,146,140,16,17,176,140,195,18,141,55,238,188,
-118,57,121,66,32,66,164,172,41,38,125,58,182,31,126,214,67,172,123,154,
-174,87,231,207,230,235,149,210,211,75,120,121,169,38,139,203,75,72,9,198,
-124,30,115,26,19,12,178,150,12,41,66,140,48,200,139,56,128,36,200,176,92,
-173,204,49,216,217,32,57,153,192,114,189,32,128,245,18,8,251,65,32,37,96,
-132,136,189,87,13,10,179,85,32,53,28,134,170,198,42,16,161,56,132,218,1,
-177,129,102,64,222,80,121,55,137,79,43,93,148,95,207,156,224,53,118,158,
-111,148,88,54,213,95,28,141,0,0,1,0,73,68,65,84,187,70,98,32,54,116,163,
-114,204,128,200,62,56,34,48,52,118,140,204,142,139,107,222,4,33,229,203,
-125,3,214,240,183,2,122,251,190,175,94,182,67,54,108,189,123,185,114,74,
-153,221,123,159,115,6,109,155,116,206,128,213,190,130,205,78,205,127,184,
-90,205,83,244,90,39,112,106,104,89,132,196,177,35,148,49,15,1,253,117,45,
-209,23,154,119,174,176,149,16,137,156,71,203,146,114,159,210,159,62,90,
-236,201,188,59,236,46,23,126,56,201,151,17,78,227,240,228,20,6,133,229,
-18,114,6,34,190,88,171,1,0,195,197,170,12,138,196,68,118,182,130,56,2,19,
-184,85,88,44,250,166,118,107,197,20,1,1,6,3,71,52,246,10,6,249,37,228,12,
-142,160,7,171,137,91,202,234,141,13,102,156,15,14,235,9,56,208,222,35,112,
-167,68,162,146,48,212,64,108,192,96,168,182,101,36,126,45,49,13,215,234,
-173,109,83,138,221,100,66,216,200,1,187,33,243,58,153,2,59,199,133,179,
-79,206,237,148,156,11,236,118,152,254,124,72,253,107,217,213,186,99,137,
-73,138,147,46,116,144,16,185,69,0,0,1,0,73,68,65,84,214,66,124,93,246,86,
-55,41,104,228,184,56,238,240,251,119,167,239,156,230,79,62,91,112,118,88,
-55,137,131,0,131,149,237,129,128,70,184,97,88,227,166,47,8,17,145,157,71,
-19,149,164,57,125,116,62,254,114,134,151,199,247,95,198,189,229,201,83,
-117,112,17,249,116,109,2,238,229,197,24,2,213,117,183,28,123,118,174,10,
-126,209,47,57,132,174,155,248,154,114,86,116,198,174,90,1,47,228,50,70,
-135,73,114,86,176,188,204,196,196,166,132,128,203,103,201,57,168,2,69,131,
-150,161,117,16,115,172,29,236,121,72,206,69,96,77,125,32,64,54,173,37,167,
-88,213,19,66,134,242,83,180,178,144,8,233,235,153,55,185,62,190,53,162,
-2,17,26,22,142,60,57,32,103,228,5,234,213,104,73,128,107,78,102,72,200,
-222,27,190,22,99,192,21,16,127,9,52,191,97,111,120,107,216,18,89,205,44,
-165,20,197,194,30,113,92,141,151,47,91,214,239,28,77,191,127,180,126,244,
-242,114,57,212,22,2,85,141,185,10,12,85,213,200,152,233,166,55,141,168,
-6,101,228,2,17,50,33,209,184,228,175,0,0,1,0,73,68,65,84,4,144,164,34,40,
-250,241,233,252,199,47,81,242,173,152,112,241,210,94,166,177,167,201,193,
-237,239,46,226,139,110,50,235,38,51,184,184,244,85,152,76,59,60,63,109,
-187,233,100,50,245,161,90,173,122,66,223,180,147,97,136,205,193,16,152,
-115,30,212,98,78,125,223,175,162,168,99,143,196,139,139,71,33,248,172,188,
-88,246,21,217,126,11,253,122,60,156,213,231,2,35,225,98,68,16,232,60,176,
-39,67,54,97,167,108,101,190,18,50,34,3,50,253,125,128,245,166,231,31,119,
-83,165,184,32,59,81,181,26,117,72,162,165,185,138,144,189,83,20,124,221,
-96,27,76,127,233,19,216,81,180,119,153,193,205,137,149,148,226,214,109,
-239,49,33,52,26,171,249,197,75,136,195,157,186,254,225,81,56,185,237,254,
-252,83,89,166,85,26,2,54,149,81,16,17,64,244,222,235,77,79,92,18,217,242,
-14,202,172,23,6,231,81,181,34,248,228,60,253,31,31,197,31,76,126,239,254,
-7,97,254,147,191,168,181,61,186,247,65,59,187,239,186,23,77,219,181,147,
-174,91,44,66,8,237,164,235,46,172,129,144,31,0,0,1,0,73,68,65,84,47,155,
-80,215,77,67,236,220,197,188,174,155,110,178,183,90,175,157,243,78,109,
-24,215,204,38,22,47,47,46,84,181,105,38,76,238,252,227,202,57,206,18,95,
-60,251,132,109,136,102,167,151,54,31,71,143,176,178,180,183,148,10,225,
-160,5,10,44,224,60,147,139,153,25,2,50,35,150,25,234,101,106,213,215,51,
-14,185,214,216,122,195,184,124,21,91,3,177,81,53,196,245,24,69,213,172,
-36,255,153,69,229,141,36,221,27,206,27,182,78,247,202,241,127,141,32,251,
-234,139,119,105,111,68,244,222,55,13,244,9,212,77,186,163,123,50,44,26,
-192,31,28,84,252,253,91,47,180,249,120,217,247,105,176,74,201,177,137,89,
-22,246,111,131,132,205,128,70,100,101,80,142,1,32,129,243,193,59,165,135,
-191,76,231,183,111,253,225,31,125,247,143,15,31,254,35,197,64,147,227,39,
-31,63,159,230,218,121,231,234,208,96,67,204,88,213,213,164,10,228,216,121,
-231,131,175,176,106,59,223,116,58,228,122,178,231,20,19,144,15,212,120,
-84,174,17,121,50,153,129,81,93,181,196,152,242,56,134,189,47,18,149,0,0,
-1,0,73,68,65,84,67,182,161,162,241,197,167,191,24,86,48,243,218,159,219,
-249,42,118,30,134,17,144,53,139,118,53,7,31,189,55,64,23,10,61,10,54,45,
-213,95,207,98,251,181,126,109,184,251,235,85,185,209,144,146,88,202,162,
-102,134,128,132,68,36,10,87,1,125,53,170,254,188,74,222,46,168,248,242,
-231,181,61,56,51,59,142,169,207,70,109,61,59,132,224,98,191,188,51,9,211,
-182,254,179,245,244,226,211,231,39,243,210,88,233,115,210,44,6,249,198,
-233,63,132,104,136,70,36,128,170,106,186,233,225,61,63,191,156,28,29,61,
-62,31,247,46,229,63,152,62,188,245,195,22,213,62,126,49,159,204,84,192,
-27,40,123,66,95,3,18,59,103,84,239,185,218,135,208,118,109,221,205,38,211,
-41,57,30,179,204,246,247,91,87,163,35,231,192,5,70,246,128,220,182,147,
-24,37,65,93,213,97,226,41,87,211,174,70,214,213,34,105,26,150,73,22,57,
-198,49,166,228,193,1,84,46,51,98,236,252,126,39,6,232,156,48,43,161,1,1,
-168,34,226,55,28,214,163,70,81,200,72,74,8,206,99,174,164,44,122,35,0,0,
-1,0,73,68,65,84,208,41,42,81,90,156,11,62,73,225,8,248,54,46,166,57,85,
-18,192,117,37,84,40,93,186,59,150,41,124,17,124,191,52,160,119,124,169,
-93,143,66,85,85,195,96,147,202,231,156,200,235,168,30,172,221,223,207,188,
-88,252,103,31,156,252,167,31,126,10,237,239,85,30,229,252,19,119,248,189,
-184,210,35,188,60,145,9,188,186,96,95,93,184,215,133,246,104,136,0,164,
-194,133,42,202,172,133,214,50,193,241,226,151,123,141,255,233,120,248,223,
-255,127,139,127,241,219,205,33,175,92,189,63,185,149,144,99,219,182,204,
-124,126,126,222,52,77,211,52,47,94,188,232,186,166,109,219,182,109,125,
-77,77,211,116,93,215,86,142,136,154,166,81,27,219,182,109,154,230,249,243,
-231,0,112,120,120,40,34,103,103,103,85,85,17,145,172,247,153,185,174,239,
-127,240,123,135,57,103,93,189,248,232,209,47,46,86,243,167,23,39,23,166,
-39,113,30,235,170,205,169,154,116,93,166,153,234,68,86,179,182,106,155,
-6,145,83,22,213,145,200,17,32,2,131,41,170,18,2,33,69,51,42,229,51,196,
-226,84,134,64,94,0,0,1,0,73,68,65,84,216,137,0,233,26,59,70,223,150,78,
-200,107,93,27,219,180,124,17,15,232,99,94,143,25,38,65,17,199,24,181,106,
-174,82,197,222,166,142,105,193,122,73,146,120,239,69,36,132,16,66,0,179,
-119,143,15,159,142,102,105,68,230,44,25,28,197,95,193,184,190,198,144,114,
-119,28,123,227,201,192,222,218,4,176,90,141,47,107,189,136,254,168,13,183,
-166,174,158,222,170,170,170,235,58,239,253,222,222,94,129,242,108,54,243,
-222,183,109,91,215,245,114,185,172,170,170,192,157,136,38,147,73,249,167,
-170,170,74,223,254,193,193,65,97,215,20,58,100,241,26,165,41,41,231,28,
-14,219,81,44,143,235,97,190,31,244,226,252,124,249,232,211,85,32,155,133,
-48,109,157,238,7,71,62,176,7,43,92,98,175,144,1,105,27,62,126,225,167,249,
-10,236,26,97,77,187,15,102,128,134,100,68,64,196,206,171,132,121,159,46,
-214,233,59,7,157,145,140,99,116,65,191,42,6,228,206,115,171,110,54,241,
-57,231,156,115,5,252,251,239,250,199,159,232,147,179,222,185,89,150,72,
-30,251,183,32,110,182,158,220,94,1,0,0,1,0,73,68,65,84,85,70,64,123,165,
-126,106,8,142,140,92,51,42,130,172,94,14,240,120,73,119,107,190,183,23,
-128,154,182,109,39,147,73,85,85,227,56,22,101,172,131,131,131,170,170,170,
-170,10,33,44,151,203,114,161,94,94,94,50,115,193,119,249,167,182,109,205,
-108,54,155,153,89,219,182,37,239,217,52,77,225,35,20,186,88,221,132,4,158,
-76,226,250,114,184,252,236,163,85,127,218,47,216,250,79,94,194,180,81,51,
-10,190,38,228,49,106,83,211,116,210,34,174,16,118,233,145,18,119,219,87,
-168,183,92,236,26,183,140,69,210,115,167,131,129,69,18,12,136,205,133,197,
-16,79,215,121,132,170,97,17,209,128,87,199,127,109,106,40,191,121,106,239,
-223,241,60,161,4,217,219,50,100,85,85,57,103,201,246,143,190,51,249,171,
-243,211,79,159,173,160,62,84,137,85,237,199,204,238,138,30,7,220,128,23,
-218,221,56,237,141,39,37,70,115,224,106,104,121,77,227,95,159,14,119,92,
-250,103,199,179,104,161,105,154,2,107,85,45,110,184,170,170,182,109,11,
-117,172,56,242,242,184,16,19,10,13,157,104,35,3,220,0,0,1,0,73,68,65,84,
-153,11,233,160,140,242,40,206,187,108,163,203,155,18,145,136,168,243,23,
-235,232,153,9,36,46,239,175,6,131,113,142,58,158,12,63,93,230,68,65,154,
-137,33,171,135,164,200,161,17,231,202,212,9,218,6,3,96,104,96,95,161,136,
-39,192,181,234,132,108,139,227,6,134,106,200,64,12,204,72,30,152,122,29,
-206,123,189,24,116,82,121,118,250,70,69,250,237,95,220,229,230,123,181,
-179,38,143,246,254,62,253,214,17,254,233,207,115,70,15,57,121,226,17,3,
-109,198,161,110,78,113,155,59,188,190,48,164,92,204,87,87,0,17,0,42,246,
-203,140,4,142,154,42,137,253,197,179,197,29,78,127,242,15,187,9,85,206,
-185,226,107,203,53,89,136,98,37,80,46,196,221,130,99,17,41,216,45,179,76,
-17,177,105,26,216,142,160,46,127,94,77,67,109,90,253,49,172,215,145,152,
-28,147,229,59,253,32,54,174,45,199,231,63,127,17,243,194,175,82,55,239,
-137,169,243,226,4,234,188,158,56,111,72,155,121,154,176,221,244,223,176,
-232,202,191,213,174,213,91,3,64,225,240,2,26,161,109,66,50,167,92,0,0,1,
-0,73,68,65,84,4,28,217,152,213,183,23,99,255,217,249,234,176,157,237,183,
-149,228,4,175,231,206,118,200,126,59,62,219,174,168,148,20,199,166,149,
-220,202,235,31,221,173,102,181,59,37,246,144,88,18,144,7,45,233,44,124,
-13,122,215,136,234,87,178,8,69,26,103,179,29,245,161,129,156,65,83,37,171,
-36,240,120,205,63,190,224,211,228,239,54,84,215,117,65,243,174,107,174,
-174,235,221,172,176,18,129,148,36,125,193,113,161,70,238,52,177,118,215,
-115,89,129,157,242,27,150,70,105,87,231,20,21,204,64,77,116,88,247,26,99,
-234,251,249,252,7,121,125,50,234,201,89,223,7,31,161,131,70,108,200,82,
-103,7,96,72,198,84,194,39,43,119,226,111,136,183,198,13,75,0,96,211,162,
-75,64,4,70,128,132,204,84,117,171,117,255,233,203,139,119,15,235,195,105,
-51,244,125,91,215,87,131,144,183,108,87,211,228,197,219,73,11,205,226,228,
-7,247,246,246,167,205,153,56,135,64,41,146,159,32,234,166,150,254,202,85,
-95,247,169,152,237,102,130,26,66,161,197,36,5,240,141,139,49,164,57,184,
-122,216,101,105,0,0,1,0,73,68,65,84,105,118,7,143,214,167,127,253,116,126,
-240,160,171,235,186,192,180,124,4,219,202,99,151,227,237,210,74,59,169,
-183,157,120,208,78,193,16,183,44,72,34,170,235,186,92,30,69,82,203,163,
-143,119,143,201,243,144,163,228,172,105,128,44,253,114,61,230,127,154,215,
-47,242,229,47,101,253,209,124,117,86,19,76,219,16,147,23,167,136,70,2,68,
-155,41,99,6,240,5,18,243,111,215,174,183,141,160,152,65,1,248,174,52,131,
-76,190,26,5,206,231,203,126,140,128,56,142,195,245,189,239,151,180,93,225,
-102,67,79,169,145,23,227,157,253,166,107,43,92,146,67,192,156,201,115,217,
-0,191,209,144,126,157,167,241,186,136,205,142,180,190,234,35,212,77,112,
-88,217,200,225,160,231,253,211,113,254,211,39,167,127,116,39,20,76,239,
-208,92,220,109,241,187,175,157,229,182,183,8,0,10,19,125,199,89,223,93,
-15,176,245,217,187,187,22,197,60,107,235,102,218,13,121,204,146,37,14,100,
-184,94,174,147,113,94,191,88,62,247,243,79,87,227,106,61,140,57,165,144,
-146,151,42,146,110,221,147,149,171,230,251,148,0,0,1,0,73,68,65,84,30,231,
-175,94,59,141,1,241,191,254,151,255,146,136,83,86,64,18,53,81,3,192,108,
-168,101,238,109,233,4,50,80,51,53,19,248,226,231,19,128,154,170,9,152,98,
-25,252,0,12,224,70,170,47,206,207,246,38,205,40,26,185,190,117,231,238,
-20,215,239,84,195,0,12,166,196,133,161,202,8,188,41,81,222,240,205,203,
-118,51,135,136,118,80,96,230,4,28,76,169,95,123,230,127,243,233,252,37,
-221,134,253,219,213,226,83,101,103,166,0,186,33,217,97,9,59,93,212,181,
-130,24,8,130,18,152,195,141,112,239,160,8,232,0,89,209,25,57,224,96,228,
-5,156,198,184,217,81,169,18,160,103,71,0,154,243,200,145,130,67,83,18,109,
-136,41,39,137,107,135,146,73,173,63,71,135,43,245,41,14,173,45,82,191,250,
-203,83,154,175,47,126,248,195,247,14,105,238,198,243,233,222,193,42,113,
-26,115,219,120,179,87,157,22,229,99,238,246,130,155,111,122,235,206,223,
-40,17,148,32,27,0,66,8,68,20,85,66,211,32,177,99,143,192,77,211,57,31,154,
-174,59,205,167,7,183,238,86,11,42,153,248,0,0,1,0,73,68,65,84,213,209,217,
-233,170,107,171,28,47,235,0,147,174,81,27,200,121,102,6,83,38,116,149,71,
-231,50,24,83,85,148,59,17,29,178,39,246,128,12,128,64,190,120,58,32,6,114,
-27,238,20,18,162,223,57,65,164,205,147,0,104,232,118,165,107,68,66,220,
-238,77,203,209,182,207,111,37,15,54,31,246,230,103,158,3,76,166,211,126,
-232,137,57,14,250,228,233,243,239,181,179,165,41,151,78,128,43,121,110,
-250,138,250,50,94,145,82,136,67,8,123,157,219,239,224,201,34,91,78,72,76,
-132,155,190,25,51,83,221,233,238,18,109,64,99,134,6,40,136,90,88,211,50,
-160,82,233,157,218,141,76,36,181,82,86,69,176,82,155,195,141,90,67,241,
-13,98,57,91,202,186,153,185,147,148,0,37,66,26,16,61,196,53,228,104,100,
-58,174,84,248,231,143,94,60,121,254,193,221,187,1,128,215,253,136,206,213,
-77,13,91,162,249,111,238,21,118,241,247,46,235,87,178,251,223,189,123,15,
-213,175,49,172,222,255,33,173,221,229,227,207,146,204,37,143,202,88,246,
-41,72,104,80,86,232,171,103,138,76,12,11,13,0,0,1,0,73,68,65,84,188,133,
-225,208,208,182,221,217,203,165,15,97,236,233,241,243,211,203,135,179,89,
-91,79,180,140,49,54,81,37,17,68,36,114,111,191,169,98,23,100,51,51,178,
-171,217,223,222,231,251,51,253,155,249,160,209,216,7,216,200,19,131,22,
-10,169,106,97,207,19,133,77,240,128,38,5,233,102,6,165,105,74,183,183,29,
-52,211,114,175,207,16,138,122,27,106,6,5,51,82,17,75,17,145,200,52,143,
-131,141,163,48,171,100,203,217,52,80,154,203,56,96,242,208,175,44,143,138,
-32,203,185,56,254,217,243,79,62,252,197,211,135,221,195,123,147,202,22,
-171,80,99,59,155,229,126,196,109,199,208,111,104,180,27,53,182,21,174,40,
-23,204,123,124,111,61,218,186,221,79,26,243,229,116,92,126,10,195,207,99,
-28,188,243,89,81,129,202,149,170,34,136,76,95,245,32,250,27,135,181,152,
-137,106,85,215,64,172,28,86,3,127,122,25,15,186,73,45,74,100,34,70,89,192,
-210,174,165,229,43,65,54,17,49,3,186,64,8,71,157,123,48,227,61,90,44,146,
-186,182,6,52,221,168,104,0,32,40,69,47,107,137,0,0,1,0,73,68,65,84,2,130,
-153,129,22,77,47,220,140,125,80,208,141,247,101,175,42,88,68,243,202,85,
-96,74,136,150,86,134,0,170,42,17,204,16,65,37,75,138,172,21,128,217,106,
-161,195,90,152,77,68,69,52,84,56,158,194,56,64,40,176,142,134,0,203,133,
-58,158,175,23,63,254,197,39,63,56,222,223,255,222,93,39,134,195,58,55,117,
-138,169,217,246,228,95,215,178,236,162,181,114,204,134,27,168,148,90,63,
-75,15,117,82,141,23,159,210,73,236,151,63,115,9,66,182,36,202,140,197,75,
-49,1,185,183,17,5,252,45,118,227,111,79,232,250,126,49,157,76,23,235,193,
-184,178,122,246,179,167,23,135,123,221,145,67,115,219,76,183,169,170,168,
-145,25,226,13,95,232,111,144,4,119,255,27,28,43,7,176,60,245,240,96,66,
-199,33,199,62,1,77,8,198,146,184,6,220,76,230,40,121,56,19,69,132,146,201,
-44,106,245,102,106,96,25,67,206,128,160,142,9,84,82,28,77,133,153,185,191,
-36,4,211,140,105,4,19,64,131,156,32,142,20,59,180,100,139,115,24,150,230,
-200,212,44,169,250,64,145,20,229,233,0,0,1,0,73,68,65,84,233,12,198,1,66,
-128,126,109,146,140,16,150,75,117,76,42,31,126,248,243,119,102,237,123,
-119,143,246,143,26,146,104,42,224,194,213,156,210,111,152,176,217,101,168,
-118,187,106,68,4,168,131,79,80,135,208,117,236,31,190,243,254,63,73,109,
-124,250,211,211,14,134,152,112,76,226,24,17,145,204,0,136,208,127,181,162,
-103,55,79,188,36,50,0,118,46,137,154,171,4,241,227,211,243,195,103,203,
-223,106,107,118,14,0,183,69,129,13,223,248,237,219,102,7,105,128,46,104,
-146,150,237,225,204,61,152,242,105,180,104,72,101,127,178,29,163,106,91,
-93,28,212,180,85,144,80,4,53,205,166,98,38,22,166,152,71,52,37,35,16,129,
-113,141,154,201,57,92,60,3,4,212,132,105,68,205,8,74,57,82,28,113,89,131,
-69,91,156,194,184,64,79,32,6,81,213,5,211,5,140,163,86,149,141,3,136,0,
-19,172,86,232,93,78,242,243,159,92,76,89,255,225,123,119,239,53,15,91,74,
-49,142,90,213,111,96,241,55,95,144,171,215,134,153,97,112,132,224,64,218,
-154,67,152,205,238,253,78,33,8,243,72,0,0,1,0,73,68,65,84,12,241,229,217,
-51,215,255,196,48,39,17,49,115,192,128,8,86,120,125,95,165,68,229,205,199,
-214,102,93,215,173,214,189,2,134,102,50,172,150,194,237,39,167,203,213,
-29,5,192,16,130,115,140,155,18,132,1,190,61,174,200,155,5,32,5,98,7,153,
-90,167,247,247,170,7,7,205,207,230,121,149,181,9,176,25,134,168,162,98,
-162,90,148,188,77,6,218,204,70,204,32,217,114,180,156,76,196,77,214,58,
-12,96,226,28,131,164,188,94,154,36,23,124,188,248,140,208,64,178,166,129,
-52,33,136,229,168,113,36,108,193,70,88,158,64,156,83,96,21,131,81,141,189,
-97,130,24,181,174,45,142,168,134,142,97,232,73,92,0,238,227,240,201,227,
-39,143,62,122,252,143,31,206,234,142,199,113,76,152,91,79,240,27,251,233,
-171,182,187,60,54,199,36,200,38,12,195,94,75,46,7,145,187,149,251,157,131,
-247,95,182,31,61,83,89,26,244,6,70,68,132,132,165,195,224,43,181,27,135,
-117,86,221,159,117,79,78,79,32,180,117,211,173,214,125,59,59,88,142,151,
-171,213,154,136,170,186,242,227,109,66,98,0,0,1,0,73,68,65,84,158,1,29,
-0,177,138,42,241,219,205,135,92,249,242,128,137,129,176,114,116,208,133,
-195,73,93,185,117,26,164,173,182,21,225,50,233,38,139,150,142,136,188,34,
-48,82,69,73,152,162,197,81,227,104,146,33,157,167,190,7,19,242,12,57,230,
-213,2,36,167,224,100,57,23,0,208,4,113,16,75,6,98,41,106,28,204,205,208,
-6,88,159,65,154,163,48,137,193,160,64,222,216,32,37,195,108,49,34,0,152,
-199,52,32,250,227,163,91,75,113,76,180,90,173,36,69,71,173,153,197,172,
-0,116,45,152,46,51,33,118,225,199,142,177,163,136,125,140,83,78,45,123,
-4,232,137,170,233,189,195,7,63,194,23,255,115,26,18,218,8,168,165,95,191,
-44,230,87,94,101,220,164,251,174,140,100,197,223,252,70,182,179,214,227,
-98,185,106,103,7,89,36,175,47,90,15,49,134,149,59,248,31,95,156,253,211,
-206,29,58,73,235,197,138,167,221,193,113,227,128,199,133,86,126,183,25,
-255,205,27,8,254,22,123,227,176,53,90,100,47,97,218,113,255,110,187,248,
-126,61,63,242,242,203,56,61,27,86,155,212,186,249,0,0,1,0,73,68,65,84,160,
-202,6,36,153,211,232,198,1,227,200,166,75,57,201,47,95,214,183,110,73,223,
-143,243,249,65,215,14,139,197,216,247,174,30,116,24,242,56,100,21,54,173,
-69,200,148,16,150,227,37,164,196,93,43,113,132,152,92,93,107,74,150,146,
-250,33,205,47,184,107,125,179,215,159,158,248,182,58,220,159,156,157,188,
-172,246,154,102,90,201,184,62,190,183,127,123,127,175,34,124,112,239,206,
-221,227,227,187,7,211,167,79,159,238,239,239,255,206,111,223,93,140,241,
-201,34,220,174,101,18,214,125,95,8,78,27,209,149,47,189,122,87,69,61,119,
-191,94,240,61,9,157,105,7,0,134,234,39,154,146,30,221,254,209,243,247,254,
-243,213,179,255,110,182,250,233,196,110,251,97,162,77,15,33,231,220,128,
-91,2,32,2,25,208,230,207,146,147,254,53,191,166,95,57,151,241,85,27,212,
-134,180,81,202,2,229,255,110,220,91,171,161,26,40,224,246,135,20,201,128,
-30,159,143,119,39,139,251,21,220,155,86,21,41,196,213,8,4,144,233,154,2,
-196,95,215,204,180,80,43,13,192,51,207,38,205,164,25,182,72,125,0,0,1,0,
-73,68,65,84,30,240,124,77,48,128,233,184,90,85,100,208,175,135,139,83,7,
-10,146,2,205,243,250,148,230,201,134,129,150,243,156,170,188,90,234,48,
-172,214,2,67,15,166,230,29,128,197,161,183,156,152,8,96,32,102,89,94,34,
-24,169,13,23,75,80,5,85,170,2,64,158,85,84,7,183,202,205,254,108,114,124,
-235,232,222,225,244,254,157,227,166,174,243,56,28,238,77,247,39,173,229,
-116,235,112,255,112,127,191,237,42,102,158,76,38,133,78,157,82,90,175,215,
-5,205,165,244,120,117,245,110,98,25,119,120,42,93,207,147,189,3,88,29,243,
-56,147,132,204,217,202,38,132,164,108,64,62,191,204,215,126,62,95,104,55,
-15,107,32,45,213,12,220,222,24,200,144,224,84,247,126,121,150,31,52,253,
-97,19,142,26,211,180,204,230,170,38,188,177,7,127,107,140,17,4,35,132,178,
-117,12,193,29,31,76,143,186,12,171,19,71,2,146,198,211,231,190,245,214,
-47,224,244,49,214,94,115,204,151,79,97,49,31,23,173,229,164,195,122,112,
-148,198,1,114,226,217,161,228,1,36,107,134,36,217,250,53,112,242,53,164,
-0,0,1,0,73,68,65,84,164,148,9,33,45,235,189,189,245,217,89,179,55,219,159,
-77,47,227,178,109,171,42,132,211,139,211,217,108,250,193,123,247,110,31,
-29,198,126,221,181,245,254,108,58,14,253,241,228,176,109,234,113,232,39,
-93,83,215,161,95,47,187,182,105,28,141,227,56,153,76,234,186,142,49,166,
-148,16,177,140,151,46,226,177,87,145,125,237,152,198,207,169,34,2,192,222,
-209,61,94,127,79,230,63,206,241,194,65,218,144,238,41,217,174,175,224,106,
-107,193,219,114,86,55,191,101,44,189,122,136,219,166,244,205,48,68,233,
-142,63,235,95,252,252,100,124,247,32,31,118,25,77,4,124,198,138,182,99,
-190,222,38,166,1,0,202,57,18,137,129,35,188,53,107,110,53,23,184,124,62,
-244,3,202,8,79,63,138,123,21,198,5,124,246,40,239,117,150,98,155,70,208,
-129,87,3,128,162,68,75,25,114,68,4,93,154,35,204,41,194,122,101,160,85,
-83,133,218,169,228,7,247,239,221,191,119,239,211,79,171,135,239,188,243,
-206,189,123,207,159,125,118,120,176,63,157,116,127,249,225,191,57,58,60,
-252,222,251,187,211,98,71,0,0,1,0,73,68,65,84,239,30,238,239,167,56,48,
-98,240,110,24,130,203,208,6,66,1,38,5,72,98,105,200,160,131,196,36,71,71,
-71,34,178,90,173,10,113,175,104,201,238,96,189,163,64,93,251,10,93,253,
-58,112,167,85,52,153,118,179,239,245,213,119,116,181,66,47,200,94,21,152,
-34,2,191,14,98,123,37,4,117,243,118,243,121,107,48,43,83,27,1,8,96,195,
-204,69,96,172,206,215,248,145,229,39,11,187,119,136,29,129,168,244,73,26,
-191,209,74,125,219,200,46,1,61,1,32,33,216,172,118,71,149,214,227,169,203,
-152,251,203,60,158,211,165,96,156,67,255,18,224,2,84,83,68,52,29,114,100,
-6,64,203,227,26,16,208,179,158,157,181,183,111,249,138,150,49,79,218,250,
-189,239,62,156,118,221,106,185,248,253,239,189,127,231,206,157,143,143,
-166,119,239,28,31,223,190,253,105,199,179,217,172,235,218,219,179,224,152,
-171,42,104,30,36,141,101,234,106,69,160,1,32,152,36,77,148,209,177,85,108,
-181,19,79,93,168,11,127,122,231,56,69,164,239,251,194,121,218,121,235,107,
-15,228,174,198,235,71,202,245,155,0,0,1,0,73,68,65,84,187,103,136,40,2,
-133,246,97,174,191,147,253,35,10,61,177,207,153,145,50,226,102,219,182,
-169,197,190,221,154,250,205,231,173,53,163,41,154,162,10,136,149,185,209,
-32,226,53,71,213,147,24,62,94,208,195,53,60,152,178,99,151,12,130,8,110,
-135,67,191,221,8,91,77,25,25,136,217,146,214,164,135,149,30,80,127,62,198,
-180,124,25,116,41,103,167,152,22,222,134,52,159,35,115,142,216,52,181,200,
-48,109,218,174,107,198,145,218,182,238,186,246,204,61,253,206,195,227,233,
-180,235,215,203,105,215,190,255,222,187,77,83,157,159,157,222,222,155,116,
-129,110,239,79,106,7,121,92,57,18,77,235,113,157,167,109,197,196,170,106,
-42,77,21,54,59,54,227,76,104,158,192,145,49,34,179,171,170,80,213,196,212,
-112,93,22,103,167,137,188,233,106,121,29,211,55,129,236,98,111,28,118,128,
-84,215,119,66,253,64,124,69,85,143,24,52,146,199,215,195,15,216,214,105,
-223,150,147,186,121,88,75,4,85,200,2,34,38,102,57,107,202,154,165,179,49,
-33,92,140,244,87,159,46,38,208,195,131,177,191,88,137,0,0,1,0,73,68,65,
-84,230,206,173,169,15,155,94,244,155,62,171,47,48,51,83,69,38,118,94,192,
-2,233,126,141,183,91,250,248,23,79,228,236,89,29,242,112,246,212,99,62,
-190,125,120,113,153,171,182,249,224,131,251,123,179,233,114,49,63,60,152,
-29,238,239,13,235,213,222,222,116,111,54,125,252,241,147,163,163,195,182,
-169,99,28,156,195,189,217,132,9,43,152,54,222,171,196,189,217,4,9,68,198,
-217,108,194,76,128,208,47,251,182,109,153,157,11,161,169,27,64,140,49,138,
-40,88,170,67,149,125,114,206,53,174,242,70,1,188,9,184,202,141,227,88,58,
-9,74,236,177,163,224,193,149,2,225,13,193,186,92,72,187,1,222,102,38,44,
-208,28,84,245,237,193,121,100,3,117,96,193,177,102,195,43,29,109,240,150,
-155,118,111,62,182,214,12,82,48,45,150,213,178,88,78,154,165,211,5,105,
-125,178,180,213,217,165,159,167,137,29,84,21,78,157,239,170,234,106,29,
-248,45,154,21,18,19,51,43,130,3,107,3,237,181,174,169,104,21,240,254,237,
-195,203,116,118,208,134,31,253,246,111,189,56,189,152,237,11,207,49,0,0,
-0,1,0,73,68,65,84,31,254,240,222,116,111,54,59,125,249,98,111,218,237,117,
-237,249,25,206,38,237,222,180,109,221,123,204,68,4,162,78,37,89,26,148,
-160,173,157,67,23,227,216,180,245,24,199,148,83,59,105,75,129,103,50,221,
-171,155,58,167,60,166,132,49,19,179,1,135,186,174,81,166,237,212,43,57,
-230,38,212,17,163,35,22,145,233,116,58,159,207,75,59,99,140,177,140,99,
-253,194,21,187,57,135,13,87,174,31,0,0,4,8,83,36,54,52,48,198,82,109,204,
-105,199,32,183,87,191,117,19,231,242,5,230,128,3,58,231,8,28,130,104,86,
-49,5,66,246,168,171,146,28,32,68,3,102,68,3,2,180,49,141,168,74,10,100,
-168,86,146,239,136,134,38,106,34,144,50,138,176,42,170,144,168,168,44,70,
-185,184,56,191,117,116,107,88,45,46,78,79,247,102,83,25,6,141,227,2,87,
-118,190,186,43,156,52,127,248,100,145,96,21,102,183,254,241,164,94,196,
-121,219,182,197,253,20,213,201,34,9,89,218,164,111,206,20,188,247,8,102,
-34,162,97,38,195,240,199,239,29,253,193,127,241,31,255,196,167,71,15,0,
-0,1,0,73,68,65,84,139,127,249,223,62,252,131,223,221,159,116,103,47,14,
-247,219,230,189,7,239,196,126,29,135,222,28,230,60,222,61,154,17,145,104,
-158,204,102,64,180,74,153,49,49,50,24,144,25,243,38,139,172,170,89,115,
-213,214,73,132,157,111,187,73,206,25,140,102,147,189,245,122,157,36,119,
-211,110,66,52,142,99,201,61,143,227,72,228,145,201,85,190,174,235,170,174,
-181,199,210,152,200,204,179,217,172,104,33,92,237,213,45,245,162,171,248,
-222,41,12,95,151,225,182,91,236,170,237,65,175,217,75,55,115,71,223,151,
-139,179,32,99,219,180,189,102,66,54,44,77,244,130,160,8,132,224,9,111,246,
-75,220,153,131,43,217,238,146,174,40,33,208,38,223,108,166,86,18,172,38,
-6,162,90,198,141,88,153,73,81,86,82,85,85,64,20,114,182,156,52,103,17,17,
-145,242,87,35,113,72,115,92,41,173,230,85,188,164,245,104,171,101,92,175,
-123,20,27,101,88,103,96,54,200,63,253,155,159,237,233,120,220,54,223,189,
-29,224,245,13,74,233,60,189,233,133,216,133,242,87,85,212,152,249,191,249,
-175,52,203,244,152,0,0,1,0,73,68,65,84,254,75,48,29,215,171,39,31,127,148,
-251,53,104,94,206,207,68,147,231,166,124,254,29,122,174,118,39,236,184,
-111,59,88,151,94,247,82,195,219,141,94,216,141,25,41,20,126,51,43,176,54,
-51,231,92,233,68,44,114,8,176,237,21,247,222,167,148,118,13,139,187,215,
-95,125,223,155,94,171,207,175,221,166,45,96,43,166,10,176,165,155,127,69,
-202,33,174,132,242,8,64,8,165,101,7,193,204,212,128,13,84,193,212,64,1,
-196,64,205,164,84,69,55,144,54,19,83,81,73,34,89,216,196,36,99,142,144,
-162,166,44,57,231,156,36,139,173,207,112,126,17,123,103,67,239,135,129,
-197,211,114,137,171,85,66,14,224,243,178,247,77,211,76,234,231,39,243,79,
-62,123,62,10,142,227,184,27,123,94,220,143,123,43,44,199,171,37,140,171,
-84,227,7,135,251,167,39,39,57,199,253,182,214,138,151,203,121,213,248,230,
-112,218,247,105,183,181,133,43,236,228,226,210,118,80,222,33,184,192,183,
-124,174,2,77,51,107,154,166,188,190,220,160,138,224,119,169,173,120,239,
-187,174,43,66,31,37,145,235,30,163,32,0,0,1,0,73,68,65,84,87,215,117,233,
-48,79,41,149,215,148,35,132,16,202,123,189,113,69,189,133,69,43,11,6,72,
-200,30,40,24,133,210,237,130,168,8,102,240,198,100,2,219,230,195,110,220,
-28,152,109,238,17,27,21,147,66,235,217,189,189,194,6,194,165,167,75,193,
-4,84,76,197,178,106,86,221,108,1,179,67,165,148,48,69,24,71,72,201,74,101,
-56,103,89,95,58,25,36,137,197,145,82,26,71,201,125,15,227,208,212,13,231,
-52,12,203,213,242,252,226,28,47,206,95,62,73,227,255,250,191,253,239,71,
-127,242,187,206,185,221,24,141,157,31,122,11,107,177,179,157,211,101,102,
-92,245,148,6,150,232,80,5,149,200,216,81,85,7,17,44,41,136,2,160,157,63,
-222,33,172,60,184,234,134,175,122,235,146,108,238,186,174,116,125,119,93,
-71,68,101,86,170,247,190,60,40,79,22,111,77,68,59,117,132,24,227,174,172,
-88,68,66,68,164,92,18,215,30,120,252,91,109,35,16,196,1,92,99,92,129,56,
-64,70,148,194,41,191,146,16,217,118,3,189,21,115,133,111,9,0,140,96,136,
-76,72,160,170,127,69,253,56,0,0,1,0,73,68,65,84,194,192,6,160,102,10,134,
-102,37,67,135,42,152,5,68,32,101,200,25,82,134,148,44,38,203,217,44,105,
-206,54,142,22,163,165,164,41,105,76,38,89,179,4,31,250,245,218,212,52,203,
-122,189,146,156,208,64,231,103,172,180,239,200,91,26,208,222,249,193,187,
-119,102,123,39,207,159,174,215,239,55,77,147,115,222,113,27,74,98,228,166,
-145,189,11,73,203,45,2,182,224,14,4,135,179,105,91,7,147,180,26,160,174,
-234,170,170,1,169,105,154,148,82,241,190,112,69,253,44,231,188,27,83,182,
-155,55,89,188,245,110,192,123,1,98,225,54,150,112,185,56,230,113,28,139,
-76,194,56,142,136,216,182,45,34,150,164,7,108,131,144,2,241,221,69,178,
-11,184,203,159,59,13,252,27,93,171,215,141,0,1,185,6,87,3,215,70,132,200,
-8,76,101,152,41,226,102,42,56,22,87,253,150,114,92,110,119,13,97,25,102,
-180,205,220,176,153,169,136,10,138,144,40,138,150,124,51,164,132,89,48,
-37,204,9,83,198,24,41,70,76,41,231,40,57,75,140,154,162,230,12,41,99,78,
-32,178,184,18,196,40,166,0,0,1,0,73,68,65,84,88,213,117,221,47,231,132,
-16,152,18,65,215,181,33,248,179,147,245,126,87,223,217,63,194,192,60,235,
-126,240,91,31,28,77,103,207,30,61,46,73,171,221,125,246,173,21,101,174,
-18,131,174,22,135,79,22,151,206,123,96,82,64,68,110,154,110,210,77,145,
-136,144,11,172,119,24,42,142,118,24,134,130,173,114,159,217,193,186,40,
-123,148,39,119,81,214,100,50,41,47,40,142,185,232,48,21,236,2,64,209,143,
-44,254,24,17,119,255,122,21,214,37,200,46,94,96,167,119,124,211,107,245,
-186,33,16,252,255,236,189,91,143,36,217,145,38,246,153,217,57,238,30,17,
-121,169,107,223,200,38,135,32,135,115,217,25,44,102,23,90,96,5,233,97,245,
-34,9,18,244,176,18,180,144,94,36,253,0,1,250,55,2,244,11,164,7,65,47,130,
-0,105,31,6,35,9,194,46,116,91,206,130,51,75,205,206,146,28,146,221,93,93,
-183,204,140,139,187,159,115,204,76,15,199,195,51,42,171,179,155,85,172,
-202,44,178,105,8,36,50,34,61,35,78,184,127,110,199,174,159,81,104,16,58,
-151,214,25,250,126,58,169,0,0,1,0,73,68,65,84,68,66,19,135,100,13,196,236,
-181,245,132,236,155,144,64,94,181,181,239,231,38,0,128,155,145,25,169,146,
-230,73,61,171,162,20,104,65,202,21,220,200,137,114,166,148,40,37,206,89,
-75,70,81,42,153,181,4,83,130,18,138,64,79,162,173,90,82,74,139,174,187,
-115,114,220,175,100,181,92,46,186,118,123,127,245,224,232,248,40,68,136,
-183,119,143,143,90,227,254,249,251,39,177,166,205,198,113,172,20,22,51,
-81,203,219,62,17,179,61,58,219,214,21,34,119,63,120,223,84,83,202,139,163,
-99,137,109,206,57,134,13,49,119,93,147,82,154,203,56,105,79,72,80,225,123,
-104,91,31,194,186,186,152,149,199,177,106,235,67,35,164,106,244,106,132,
-48,243,114,185,172,246,216,76,103,51,171,228,10,235,121,194,42,246,81,163,
-219,113,25,1,112,132,52,206,141,147,129,132,136,43,15,61,94,32,138,48,191,
-169,66,236,234,141,29,176,122,96,223,20,173,25,90,51,130,197,85,93,75,45,
-147,39,205,208,66,154,235,131,117,100,77,164,153,1,129,26,12,149,206,9,
-36,96,99,255,214,119,233,189,96,250,0,0,1,0,73,68,65,84,190,177,232,186,
-37,165,229,162,189,127,239,222,118,179,94,44,186,38,198,243,101,251,222,
-241,73,89,95,128,237,206,170,185,184,120,106,253,240,253,111,125,103,135,
-9,214,115,36,225,134,93,198,153,144,96,138,195,180,77,191,222,142,57,83,
-8,157,68,25,211,162,91,53,77,3,214,122,7,210,1,207,70,213,172,95,232,50,
-30,218,214,85,191,186,123,141,240,84,119,144,247,51,38,231,16,71,37,203,
-171,104,174,138,249,144,126,105,30,172,90,217,109,14,253,197,155,140,250,
-79,244,77,36,149,70,162,158,75,0,251,180,185,95,22,62,3,55,70,98,22,204,
-52,196,198,204,156,132,137,196,203,113,52,221,158,109,189,209,82,114,206,
-37,103,43,138,146,41,103,42,101,76,90,237,4,205,154,179,230,226,106,4,146,
-205,250,89,211,52,93,19,3,55,77,136,93,211,8,177,153,173,58,0,184,251,7,
-223,173,225,176,85,55,213,79,222,93,198,33,109,188,33,145,246,226,162,15,
-161,109,78,142,31,111,199,24,237,48,16,81,13,18,222,79,34,125,123,238,227,
-97,230,162,154,16,21,28,77,105,149,62,33,0,0,1,0,73,68,65,84,1,183,109,
-75,20,129,221,110,103,197,239,220,59,206,57,199,216,214,104,198,28,130,
-168,218,122,183,219,85,252,29,26,33,216,223,45,244,146,212,3,170,26,174,
-182,71,125,177,46,166,154,215,68,116,124,124,60,47,111,230,212,235,186,
-174,130,184,90,32,243,119,153,117,246,219,75,199,204,98,198,74,30,26,237,
-228,131,109,190,91,232,19,105,57,235,42,240,14,14,118,34,5,156,32,226,20,
-156,163,238,9,169,103,95,146,0,216,245,195,229,217,8,4,230,125,4,154,129,
-240,149,52,182,87,21,225,101,4,96,202,126,130,43,69,53,213,145,61,44,158,
-8,6,40,49,164,9,139,166,26,115,116,122,20,99,136,34,66,142,192,210,132,
-64,128,170,90,233,241,98,26,108,111,189,123,69,15,128,154,48,175,154,108,
-238,224,183,3,193,219,119,25,95,150,121,187,152,33,82,151,81,117,103,173,
-117,158,111,54,0,135,138,118,134,245,225,239,47,99,26,251,16,202,97,2,252,
-240,175,135,118,17,237,195,234,135,175,207,63,111,35,47,59,173,118,2,217,
-188,200,75,123,250,214,100,130,245,124,133,96,254,235,0,0,1,0,73,68,65,
-84,79,207,251,160,15,189,169,186,21,183,2,83,114,37,55,130,29,47,27,83,
-85,21,51,35,154,24,117,69,100,28,162,136,84,40,147,131,137,220,93,201,146,
-79,52,233,21,157,135,198,223,97,233,66,189,234,62,183,24,237,129,174,170,
-51,209,250,77,90,141,51,146,248,69,78,209,26,98,171,171,58,116,25,253,128,
-7,126,158,223,94,33,62,91,11,120,81,91,99,95,127,55,79,108,154,191,230,
-225,89,186,2,241,95,230,246,190,217,19,117,185,13,113,189,195,137,137,232,
-102,211,47,87,229,11,180,117,189,24,49,36,38,103,136,144,155,144,50,5,38,
-85,62,90,52,102,86,84,109,95,24,93,251,50,73,153,153,220,28,106,110,234,
-68,110,166,165,204,27,250,124,121,100,63,197,153,246,115,54,174,104,184,
-89,141,85,100,207,41,143,151,43,120,222,42,214,105,79,40,138,125,222,184,
-6,161,103,218,187,82,74,85,219,243,230,83,243,44,85,245,214,91,116,86,195,
-135,190,239,33,112,231,8,6,14,246,180,43,176,198,245,72,189,162,164,111,
-18,208,85,120,162,235,199,116,223,219,222,174,36,40,103,0,0,1,0,73,68,65,
-84,69,187,85,185,212,214,135,193,218,24,227,157,227,35,85,45,90,84,213,
-14,146,225,1,234,238,102,98,106,106,251,122,72,245,150,133,153,21,230,76,
-230,12,170,140,176,172,78,179,165,49,95,108,34,170,241,93,236,219,58,106,
-208,99,206,198,93,81,222,95,184,195,190,217,109,247,16,16,47,219,217,135,
-127,165,3,115,118,78,158,87,88,215,23,103,55,17,251,0,197,97,174,244,10,
-76,103,87,15,251,8,253,33,166,241,18,82,175,3,238,109,153,34,135,16,222,
-107,235,91,86,213,56,212,214,51,134,0,136,200,162,37,85,46,133,84,217,140,
-139,178,22,82,165,113,40,123,175,182,158,253,122,54,193,44,68,196,12,98,
-33,16,9,187,67,152,197,105,54,145,15,99,195,85,225,213,75,88,21,97,213,
-127,53,38,80,145,113,168,219,102,108,221,164,182,62,252,32,222,207,153,
-174,177,185,217,24,152,227,30,87,96,93,15,59,204,56,206,111,251,242,47,
-135,95,240,10,172,191,114,145,47,63,189,97,112,59,166,89,192,243,11,183,
-101,232,207,18,46,23,178,215,169,245,58,49,185,147,49,133,50,228,0,0,1,
-0,73,68,65,84,51,121,29,242,202,238,230,6,55,169,173,160,102,14,173,28,
-162,76,204,2,77,121,239,226,26,132,73,4,4,98,110,89,174,192,122,142,160,
-213,44,67,206,185,86,62,84,107,181,102,209,102,147,157,15,102,161,207,22,
-200,91,61,107,135,174,237,225,106,233,32,163,62,103,200,113,48,99,137,246,
-113,183,10,238,26,194,171,255,82,65,127,229,131,174,220,165,116,208,19,
-116,120,59,93,249,175,195,42,148,235,190,194,219,62,69,95,32,149,60,101,
-250,29,230,118,187,36,124,87,71,2,204,107,11,194,4,119,175,93,90,112,49,
-54,22,119,142,173,22,205,37,171,3,78,68,206,196,196,4,3,49,195,76,64,228,
-78,65,64,0,91,35,92,227,116,21,214,243,101,155,97,61,177,75,239,3,183,117,
-160,201,97,20,246,149,180,215,155,146,47,4,86,93,201,225,58,177,199,253,
-97,184,102,254,57,247,248,124,225,250,175,67,222,151,88,32,238,94,74,185,
-98,160,127,37,202,223,182,204,150,226,190,158,218,111,125,186,110,168,102,
-238,108,15,84,95,94,68,114,54,243,90,112,8,183,98,78,203,174,43,85,0,0,
-1,0,73,68,65,84,6,114,98,43,25,238,12,143,194,118,176,116,21,0,38,130,142,
-3,230,107,22,46,153,241,235,97,179,234,173,80,198,222,169,154,75,216,42,
-92,14,107,217,234,238,81,144,218,166,13,96,135,81,173,126,116,66,206,37,
-196,74,37,228,53,139,229,181,15,24,64,134,41,136,65,225,74,7,210,23,202,
-21,37,61,203,21,45,59,127,145,106,68,189,124,216,252,226,97,136,253,151,
-140,78,126,229,97,68,36,104,182,101,189,248,197,255,24,242,6,223,249,135,
-136,247,145,251,109,187,32,148,0,106,32,53,153,70,10,99,98,185,164,179,
-185,114,163,190,234,109,112,221,77,168,164,13,50,210,35,29,63,167,6,192,
-18,230,45,67,205,234,180,13,34,38,170,108,201,78,244,234,155,136,79,4,104,
-251,88,181,131,20,224,47,103,255,186,54,129,119,184,245,215,157,119,222,
-46,103,231,239,240,50,92,33,9,255,18,148,208,62,2,80,179,15,117,203,174,
-172,23,117,7,167,125,238,250,48,33,92,212,37,155,139,194,92,8,44,161,230,
-70,153,11,176,39,127,172,227,61,38,4,139,153,3,196,129,193,239,227,250,
-0,0,1,0,73,68,65,84,224,100,90,224,224,16,110,221,73,255,21,69,26,136,102,
-179,141,110,126,158,30,255,101,92,124,16,48,52,237,119,35,22,168,157,176,
-4,7,148,157,165,0,126,192,195,253,86,252,16,134,192,211,148,138,182,189,
-157,125,83,181,31,215,201,181,176,158,163,22,213,239,57,140,172,29,26,18,
-243,139,135,170,235,186,109,244,112,223,172,65,143,106,91,51,115,53,169,
-231,84,249,188,221,207,200,110,194,66,88,152,184,210,150,2,0,131,98,36,
-42,0,38,186,159,249,134,134,3,145,169,153,139,18,136,120,63,137,234,203,
-228,22,183,242,95,90,114,16,11,156,108,124,60,156,255,139,178,251,108,197,
-9,93,134,124,27,38,133,151,222,69,16,92,216,145,8,153,246,13,41,135,209,
-195,55,184,154,0,66,113,228,228,170,48,118,10,228,201,167,139,114,107,242,
-101,218,26,123,157,61,43,236,25,145,47,71,54,14,255,113,126,101,86,249,
-135,127,154,180,239,129,229,83,173,142,217,102,61,60,120,214,214,34,123,
-234,107,62,248,56,6,16,48,81,163,211,68,111,234,102,181,29,141,128,189,
-2,163,206,96,210,63,0,0,1,0,73,68,65,84,175,226,246,123,213,139,125,91,
-55,64,134,2,34,220,8,107,71,207,165,108,56,109,199,199,141,248,167,163,
-28,217,234,195,16,63,166,208,49,224,22,75,177,248,98,95,209,155,95,182,
-1,58,122,217,144,39,130,144,71,71,1,235,173,18,166,126,85,139,238,12,187,
-89,121,207,124,20,135,253,225,21,235,243,239,56,56,125,117,82,224,149,119,
-163,131,234,142,10,220,249,158,185,146,28,230,203,242,29,152,1,181,40,0,
-149,38,29,4,48,216,193,142,253,32,38,135,59,187,163,34,28,14,115,135,205,
-213,100,46,252,78,206,158,255,229,69,59,16,161,116,40,104,173,103,234,49,
-174,121,125,150,236,47,50,31,187,126,139,67,223,28,127,155,249,148,92,192,
-203,183,191,30,32,111,188,156,145,15,129,132,208,186,143,78,122,187,62,
-227,87,104,107,28,40,236,249,247,195,134,80,236,193,122,5,229,151,31,240,
-98,253,221,12,220,217,200,198,85,248,126,193,61,80,55,128,10,107,174,88,
-133,26,140,65,138,88,255,234,128,194,12,83,240,193,80,24,66,52,53,179,49,
-216,0,83,253,229,65,13,107,113,170,0,0,1,0,73,68,65,84,253,229,91,246,109,
-105,107,102,192,90,36,241,109,63,182,79,23,209,161,37,106,54,122,108,249,
-76,215,107,215,11,235,159,209,226,91,180,248,8,161,123,83,46,227,181,146,
-119,72,79,172,60,33,108,153,8,222,184,179,185,242,141,140,37,186,78,190,
-218,182,158,207,200,21,240,29,130,242,229,179,54,203,97,175,242,33,72,103,
-83,239,48,237,114,104,208,31,254,11,170,98,102,56,212,225,25,105,55,110,
-115,25,65,84,44,215,104,137,154,230,148,107,24,39,132,16,178,54,109,23,
-67,75,8,194,45,81,67,0,253,210,170,250,214,19,10,215,9,3,34,0,179,217,48,
-14,143,217,172,45,12,31,200,155,80,70,25,63,163,241,194,118,143,117,249,
-72,238,124,47,158,124,35,251,157,217,255,158,223,228,48,61,244,171,74,58,
-211,244,164,228,39,226,91,208,10,202,106,40,166,205,187,9,107,188,84,91,
-67,47,85,222,205,175,19,81,213,202,135,160,60,76,190,28,30,57,195,250,48,
-87,252,133,153,136,195,247,33,34,181,92,52,41,202,110,216,158,173,159,239,
-134,173,187,13,56,107,155,199,97,216,43,0,0,1,0,73,68,65,84,38,132,168,
-90,250,97,208,82,66,140,109,211,132,158,23,139,163,229,226,56,134,69,215,
-30,47,22,194,16,187,57,86,248,183,37,106,187,32,45,22,34,173,59,237,138,
-14,109,9,69,119,86,58,46,57,218,142,203,38,231,77,159,119,5,137,237,34,
-30,253,61,188,168,92,174,43,70,120,77,41,155,146,215,170,27,182,1,190,128,
-139,169,155,223,170,101,93,227,214,135,207,103,149,124,5,82,179,41,92,147,
-103,135,209,189,67,117,126,229,23,92,191,217,29,134,117,231,195,204,76,
-157,69,172,248,96,202,141,116,100,128,27,133,146,209,12,148,30,175,127,
-190,238,31,27,141,187,180,29,203,216,180,237,144,203,243,205,121,29,105,
-48,12,61,49,26,139,207,183,185,223,109,239,134,123,54,16,140,239,156,220,
-143,235,69,27,187,247,239,126,96,184,151,61,231,49,159,116,39,4,152,90,
-20,113,67,178,20,67,48,55,38,98,48,17,180,36,9,241,58,0,220,150,17,2,89,
-110,198,45,31,255,46,63,248,219,237,191,250,239,155,241,51,156,126,199,
-55,127,89,244,25,19,131,67,224,54,154,114,101,87,218,0,0,1,0,73,68,65,84,
-132,244,216,158,172,237,233,15,207,78,126,112,122,255,91,190,248,120,12,
-31,202,242,27,10,74,96,9,92,96,230,202,160,134,194,158,105,29,32,130,101,
-120,29,45,9,160,198,145,20,100,100,90,140,84,218,154,22,16,43,72,23,176,
-148,47,254,41,149,33,216,41,16,20,27,65,106,145,91,187,87,242,99,144,64,
-162,79,195,23,107,194,186,48,181,115,120,202,231,79,224,235,45,241,106,
-166,19,93,246,217,184,92,22,110,208,225,227,242,159,190,218,101,156,145,
-61,107,223,43,136,159,255,122,5,202,135,63,127,121,169,106,37,80,48,97,
-55,176,192,29,195,184,222,0,67,218,108,250,179,126,220,34,104,42,105,44,
-217,133,70,77,89,147,66,0,235,115,15,120,182,80,74,49,148,100,99,78,154,
-198,82,84,77,137,92,46,182,231,82,218,24,154,101,183,90,116,18,209,24,171,
-163,29,203,40,20,25,12,135,169,113,168,131,231,8,213,146,127,151,132,129,
-38,52,20,90,131,184,1,80,88,95,134,51,242,13,136,156,162,113,114,49,15,
-238,2,39,227,243,79,139,59,154,193,219,77,115,26,226,63,95,0,0,1,0,73,68,
-65,84,55,135,238,110,3,33,68,231,232,196,216,39,57,138,17,28,34,168,67,
-141,224,6,48,17,46,251,89,40,98,15,30,134,151,241,220,251,103,156,123,170,
-89,115,51,88,113,203,102,9,150,93,223,213,0,223,203,66,7,101,165,248,34,
-88,95,57,242,229,223,15,229,186,125,144,129,98,26,152,136,100,44,206,66,
-70,229,209,243,79,55,72,89,135,139,205,179,81,119,28,49,164,161,79,99,242,
-148,172,79,57,73,96,119,235,199,29,224,209,66,206,89,75,241,160,37,89,78,
-170,40,154,221,13,136,217,146,50,36,112,179,25,159,180,178,104,195,226,
-195,7,223,64,67,146,58,212,155,86,1,131,154,171,209,45,143,97,251,34,97,
-160,145,136,230,40,81,231,206,228,138,178,46,233,81,75,35,28,32,49,106,
-16,6,196,132,152,17,218,123,104,168,71,218,109,178,60,67,57,199,226,20,
-70,96,166,15,255,14,169,3,2,105,1,113,96,38,205,243,58,16,217,140,64,34,
-117,236,19,136,133,43,153,51,12,186,182,241,73,217,126,142,180,89,56,96,
-230,166,110,5,150,204,6,232,232,86,110,247,33,191,237,0,0,1,0,73,68,65,
-84,55,254,255,101,145,144,67,224,94,241,225,94,118,233,230,167,47,191,207,
-43,45,200,129,156,83,104,91,2,105,73,222,54,9,253,167,103,191,72,97,40,
-86,182,195,166,120,98,231,62,245,187,97,39,37,12,184,200,41,135,192,14,
-239,135,29,224,81,67,41,121,232,199,34,163,169,155,130,26,53,144,187,183,
-206,78,67,78,154,7,189,24,63,103,107,86,237,137,197,212,198,238,180,188,
-119,220,156,0,204,129,64,96,136,154,171,189,16,37,127,39,68,29,66,8,71,
-20,142,157,59,34,192,118,158,77,160,53,87,237,20,17,122,216,8,140,228,29,
-249,18,193,27,237,109,92,27,111,177,91,102,117,98,110,219,123,106,4,233,
-164,61,70,92,9,181,144,0,192,65,130,192,76,106,192,20,165,51,117,15,100,
-228,5,154,8,35,242,25,165,39,92,158,194,182,164,137,39,37,61,194,6,216,
-224,62,184,21,226,27,226,37,251,66,249,106,151,241,101,112,95,81,180,115,
-117,219,149,23,95,111,65,4,208,212,110,6,22,50,248,214,54,103,227,83,243,
-100,174,187,178,43,158,9,188,29,215,155,170,250,71,68,0,0,1,0,73,68,65,
-84,126,205,66,23,249,89,206,41,132,0,242,97,216,17,81,211,132,82,138,22,
-112,242,146,213,138,171,140,86,172,36,77,188,38,100,130,16,75,19,197,210,
-110,183,189,240,79,179,21,255,214,234,251,247,241,96,217,29,5,105,59,89,
-82,165,104,122,189,239,240,86,69,11,36,130,151,220,220,229,230,14,114,132,
-103,113,11,78,110,106,230,6,114,27,9,35,104,32,107,243,197,50,158,36,132,
-5,81,235,89,97,45,59,135,216,228,39,63,82,103,110,86,180,184,195,221,41,
-100,73,113,69,77,7,115,4,144,11,19,213,113,147,208,164,121,64,116,77,59,
-43,61,251,142,203,5,141,79,163,93,48,37,232,192,218,195,6,183,17,150,224,
-25,94,28,5,120,87,97,93,229,101,112,191,17,249,146,183,138,113,90,85,19,
-99,194,120,182,123,182,179,13,44,171,105,175,125,210,4,179,245,240,252,
-188,127,70,236,207,134,167,37,231,234,50,246,67,207,140,216,68,45,153,188,
-177,152,74,42,102,174,97,116,181,146,139,143,35,17,24,34,8,193,131,58,74,
-81,236,202,56,164,126,187,125,104,239,159,2,114,248,69,0,0,1,0,73,68,65,
-84,44,238,174,154,211,135,119,191,113,36,119,132,47,93,169,119,71,140,138,
-123,20,110,101,241,64,218,251,186,235,200,54,129,29,70,78,14,100,152,17,
-18,242,8,244,40,49,245,199,177,51,96,65,212,32,39,215,198,77,96,29,149,
-127,73,206,136,75,47,167,54,158,152,44,17,22,210,44,76,27,105,23,224,6,
-89,97,14,118,45,67,26,118,188,64,25,119,150,119,130,193,117,135,178,33,
-29,136,13,121,99,58,88,217,194,118,100,137,172,192,141,111,251,172,189,
-178,245,248,114,228,228,202,139,151,101,183,95,250,221,190,4,214,34,1,147,
-123,138,205,176,254,252,249,163,157,110,68,189,152,246,121,55,150,209,57,
-175,135,103,23,253,99,146,178,203,187,156,179,184,0,54,140,61,17,162,133,
-82,138,107,52,201,57,101,119,80,80,56,180,168,20,23,90,148,92,74,210,161,
-36,50,102,112,227,156,169,252,162,63,219,158,61,235,206,143,87,114,119,
-76,233,163,123,223,94,240,73,160,134,223,49,251,154,130,167,154,94,90,220,
-227,238,94,177,6,14,137,162,94,235,189,220,61,67,13,62,192,142,199,187,
-99,0,0,1,0,73,68,65,84,118,206,210,186,33,155,107,52,8,251,41,168,179,194,
-133,155,102,85,224,140,210,145,29,99,92,25,181,144,142,98,155,84,186,110,
-73,20,243,88,28,30,162,184,38,27,182,240,35,164,158,203,200,200,108,217,
-74,175,154,157,64,227,115,211,100,214,195,6,246,194,174,48,252,218,204,
-101,188,98,79,31,190,254,133,199,255,170,145,209,74,219,44,178,221,109,
-158,95,60,27,74,31,69,138,234,88,210,152,7,227,52,228,237,144,215,100,197,
-200,149,50,193,28,150,125,36,192,181,20,45,174,218,103,73,227,88,138,178,
-184,155,151,148,21,73,232,180,148,98,89,37,132,200,129,157,119,105,61,244,
-131,138,34,25,134,179,78,207,91,90,46,229,216,91,110,121,185,56,110,127,
-165,47,242,166,133,168,78,78,3,55,43,138,171,226,1,70,161,97,5,79,177,48,
-24,60,187,186,219,8,166,96,132,221,144,157,10,199,134,149,227,49,43,147,
-70,148,200,6,183,150,104,128,110,9,13,164,69,105,153,65,121,9,136,143,153,
-136,152,35,67,91,218,73,41,174,35,89,22,50,184,66,83,46,197,224,148,200,
-134,14,63,0,0,1,0,73,68,65,84,183,102,217,109,36,79,84,185,71,205,221,110,
-185,100,236,149,35,33,215,61,189,242,250,175,96,174,172,115,10,65,22,46,
-120,220,255,236,179,205,15,251,242,184,164,60,80,63,230,93,95,46,182,249,
-124,204,187,161,12,42,92,84,182,233,57,128,156,1,128,185,54,71,130,40,24,
-149,77,127,78,32,138,180,30,207,136,8,66,79,182,35,228,89,224,16,99,252,
-124,183,105,168,105,67,55,158,111,218,216,52,116,180,203,27,98,30,120,243,
-207,158,63,250,193,243,63,35,103,2,253,163,127,243,191,106,41,174,208,53,
-188,24,158,111,187,211,83,56,20,112,47,87,66,239,55,36,186,96,25,71,52,
-34,239,197,213,31,218,226,79,121,247,89,244,163,100,59,119,6,137,115,32,
-7,153,178,2,74,153,215,121,216,17,55,141,180,122,81,84,158,147,52,78,82,
-116,116,18,146,86,101,77,113,69,97,201,161,3,71,117,241,210,19,11,231,194,
-36,224,5,128,48,166,81,159,187,102,241,34,92,160,61,134,77,40,61,195,44,
-127,46,181,127,96,79,132,67,32,22,50,19,176,192,64,36,224,72,6,142,13,133,
-0,0,1,0,73,68,65,84,94,231,43,222,16,218,223,177,45,22,192,193,208,200,
-148,134,33,245,169,140,106,58,166,113,204,227,152,134,148,134,49,15,169,
-140,73,179,234,181,117,189,47,230,213,234,238,225,0,212,178,146,24,151,
-66,89,145,85,138,149,146,98,211,70,23,150,40,77,144,8,2,185,187,169,187,
-255,223,127,241,103,39,237,157,111,221,255,157,111,223,255,30,98,132,193,
-212,164,101,179,23,48,253,150,170,153,191,80,104,98,150,11,8,157,135,133,
-147,64,21,181,178,107,95,224,133,233,57,216,169,54,243,57,178,59,185,25,
-52,129,152,208,128,130,107,3,25,97,9,58,88,233,136,131,67,12,29,51,107,
-202,6,110,114,231,142,52,14,180,186,227,90,28,197,89,73,71,148,141,151,
-209,201,93,117,159,94,161,26,24,187,153,147,240,229,242,78,194,26,76,132,
-2,219,141,155,205,238,98,72,187,236,41,151,49,231,113,204,227,152,199,84,
-198,92,82,209,82,76,175,163,75,102,225,105,8,143,59,42,147,177,195,225,
-134,2,82,87,101,112,65,40,60,230,50,132,20,162,164,24,154,174,93,180,77,
-23,185,41,63,13,252,0,0,1,0,73,68,65,84,37,176,169,187,249,15,255,230,127,
-91,240,157,245,246,108,117,124,119,25,79,213,156,43,92,94,196,244,205,193,
-154,64,181,2,64,26,180,39,232,238,216,174,245,146,247,121,149,185,139,98,
-122,202,206,238,0,169,185,187,21,39,118,16,8,193,220,193,224,6,210,64,22,
-144,14,210,58,139,112,164,210,56,200,115,118,167,18,26,119,215,49,5,122,
-159,172,0,234,236,176,236,105,7,205,32,152,101,76,205,71,4,146,169,17,240,
-38,78,196,151,201,187,7,107,99,38,6,193,144,250,113,189,25,206,251,180,
-45,158,235,67,45,171,21,181,98,40,70,10,250,165,186,48,252,64,133,177,128,
-38,3,208,13,158,77,205,75,86,238,81,98,136,201,134,78,23,77,232,132,66,
-101,72,206,188,189,232,159,141,159,232,234,244,254,119,238,255,254,131,
-197,195,101,92,96,72,88,92,6,176,230,184,231,77,32,155,170,182,118,8,163,
-187,143,229,3,187,88,232,184,163,24,156,80,163,33,192,148,108,38,34,152,
-215,250,92,114,157,184,240,200,29,32,87,128,65,1,28,33,45,184,129,68,144,
-136,68,202,188,220,47,77,0,0,1,0,73,68,65,84,1,32,201,234,32,146,64,14,
-201,5,187,236,90,28,238,66,112,243,60,186,41,152,124,202,89,49,168,54,101,
-147,95,54,40,221,154,188,123,176,166,40,28,0,152,231,177,108,135,180,25,
-173,47,164,102,69,173,168,151,98,89,189,168,107,173,230,187,238,252,217,
-129,125,66,160,253,246,232,44,209,109,142,219,213,192,172,187,57,193,75,
-73,197,211,88,134,38,180,49,180,129,3,179,44,98,246,206,159,12,63,251,103,
-63,253,63,214,219,139,239,220,253,222,223,250,230,31,153,21,190,173,184,
-44,77,227,45,65,64,123,31,171,247,189,89,217,102,77,20,201,201,39,170,48,
-66,189,197,252,242,158,174,196,45,160,105,226,167,232,224,128,147,184,49,
-105,4,11,56,128,152,56,56,51,156,96,206,96,98,33,162,104,110,189,185,42,
-64,94,59,237,85,1,135,8,243,98,202,52,212,20,100,221,19,111,219,18,121,
-247,96,141,169,200,166,88,202,218,39,237,179,141,133,61,149,148,117,76,
-101,204,58,102,77,197,115,165,148,15,215,148,228,185,91,221,136,15,235,
-83,38,195,29,230,123,157,86,45,135,154,57,64,0,0,1,0,73,68,65,84,20,51,
-11,49,171,103,213,148,108,76,165,137,177,109,66,35,18,74,178,110,37,99,
-56,255,201,243,127,126,190,126,252,228,243,95,124,244,224,189,211,120,175,
-114,245,206,221,15,243,103,188,109,49,128,96,4,131,139,183,119,124,249,
-144,154,85,53,170,157,64,243,224,251,250,253,64,198,54,187,114,19,228,39,
-35,197,0,144,215,233,41,6,103,24,215,19,98,152,106,65,8,130,137,134,29,
-52,130,234,140,138,16,65,2,67,37,37,99,82,39,158,108,235,26,45,155,238,
-162,27,56,25,215,202,59,8,235,201,92,40,154,178,142,217,198,226,169,56,
-204,117,122,152,154,171,187,125,213,240,74,154,127,0,179,23,10,114,113,
-35,119,3,129,136,65,83,129,172,177,194,188,56,145,169,185,214,109,65,88,
-186,124,12,41,189,157,21,47,227,238,124,243,228,252,239,254,254,223,195,
-81,19,184,157,187,137,111,210,79,50,64,170,143,0,120,56,66,119,135,154,
-37,209,161,195,88,119,167,9,152,46,251,175,238,21,172,147,229,235,196,238,
-238,52,57,31,128,98,127,78,172,242,80,19,1,110,78,76,152,157,40,157,0,0,
-1,0,73,68,65,84,74,44,164,3,169,85,75,3,12,24,83,237,6,33,0,110,52,105,
-232,91,183,170,171,188,123,176,174,151,204,49,217,208,94,212,85,173,86,
-155,97,234,49,223,23,229,48,174,61,145,87,161,86,61,70,56,113,83,149,86,
-189,132,68,112,87,98,7,85,103,136,172,30,104,176,226,76,124,76,31,13,195,
-249,90,207,227,194,34,243,243,167,159,61,62,123,212,164,123,239,221,121,
-143,246,100,78,111,255,164,28,126,15,236,207,17,140,5,161,35,137,47,124,
-215,57,24,66,128,195,121,194,180,3,213,38,175,0,36,134,83,109,2,157,60,
-131,250,198,77,12,213,241,160,125,75,243,164,136,173,192,106,95,251,28,
-170,19,16,51,185,131,234,240,239,203,66,211,27,139,228,93,35,239,28,172,
-11,107,104,4,99,89,80,144,16,118,154,32,230,105,72,121,40,121,48,29,129,
-66,112,114,246,122,45,174,57,127,246,197,175,83,178,17,216,151,240,216,
-84,237,206,204,148,95,40,106,50,87,83,5,240,72,126,194,133,98,56,166,132,
-245,168,182,92,255,183,63,252,175,239,158,222,255,183,30,252,23,221,189,
-92,98,0,0,1,0,73,68,65,84,15,79,62,248,91,223,249,67,215,146,198,139,118,
-181,4,22,250,246,187,20,162,94,12,178,34,70,235,57,132,216,47,255,129,45,
-254,34,210,255,90,188,3,136,40,194,9,200,142,236,94,220,149,247,195,109,
-0,0,58,51,166,84,24,51,14,79,160,3,80,221,1,251,219,0,92,45,121,83,114,
-89,144,48,152,12,74,80,18,2,171,154,171,117,32,67,101,4,96,128,125,98,5,
-121,83,82,183,160,90,36,236,76,36,32,254,202,113,97,239,28,172,39,97,230,
-90,47,108,102,80,175,123,110,245,128,110,118,159,99,134,121,206,165,8,145,
-195,85,125,189,62,75,227,248,87,219,255,167,127,240,189,15,239,125,112,
-111,121,10,180,64,44,86,146,242,50,190,101,229,61,105,202,90,245,15,9,145,
-67,195,97,246,95,167,242,250,175,185,188,115,176,182,106,61,18,11,71,144,
-168,122,241,137,232,172,206,65,157,123,43,112,25,163,125,139,66,172,150,
-179,186,66,2,179,16,219,208,111,54,235,245,95,61,255,167,57,245,223,126,
-255,123,241,254,114,25,27,32,48,155,248,219,159,59,232,124,249,37,148,204,
-43,0,0,1,0,73,68,65,84,173,9,18,26,139,45,73,11,197,193,8,68,34,218,3,255,
-93,49,119,111,84,222,57,88,59,20,136,32,136,180,76,209,20,213,194,222,115,
-188,249,13,95,167,82,70,243,92,19,58,204,96,1,200,212,242,163,221,95,70,
-105,127,246,232,39,141,221,189,127,124,111,177,108,56,114,115,19,141,146,
-188,183,154,13,4,176,128,27,71,164,75,123,122,138,89,223,94,95,218,237,
-203,59,7,107,2,85,166,43,65,19,67,71,36,102,174,174,94,121,178,39,104,223,
-28,178,213,10,1,196,48,211,172,110,133,137,92,132,215,249,241,231,23,63,
-255,197,227,159,30,241,7,193,229,228,180,141,0,7,18,122,219,30,100,156,
-252,51,83,18,56,137,33,102,13,32,163,41,112,93,235,50,166,56,219,91,94,
-204,59,42,55,94,169,243,85,50,69,156,12,128,196,216,133,208,0,168,147,15,
-246,45,211,135,14,247,91,23,51,39,22,34,81,181,52,230,148,82,206,165,20,
-45,82,46,198,179,199,231,159,60,189,248,100,151,158,23,29,76,85,243,13,
-172,138,247,11,51,243,154,53,109,20,241,32,156,121,219,135,168,140,0,0,
-1,0,73,68,65,84,16,227,251,154,162,250,157,212,214,230,46,70,0,53,177,139,
-161,161,204,230,70,52,213,120,92,102,206,112,19,190,145,27,249,52,8,150,
-1,39,18,119,43,69,57,180,23,235,237,47,62,255,233,17,238,157,118,237,7,
-239,159,138,220,139,177,123,251,11,170,176,38,7,152,33,0,170,109,237,169,
-78,25,135,31,120,148,95,87,121,231,96,141,57,63,0,136,84,22,96,184,219,
-30,209,55,237,1,153,185,43,234,112,216,24,5,30,188,148,209,181,24,159,175,
-215,63,235,127,218,244,139,59,205,226,155,31,188,223,134,165,240,234,173,
-47,104,254,254,123,208,74,104,72,26,47,184,52,59,246,170,251,235,232,45,
-2,120,7,141,144,144,74,136,146,3,12,248,214,241,195,143,154,227,179,103,
-79,242,49,15,190,45,92,40,8,135,198,17,204,24,78,124,253,46,91,153,249,
-94,126,92,39,70,95,252,232,66,20,38,39,24,195,24,230,6,51,113,216,24,187,
-35,156,217,191,252,233,230,135,255,223,163,31,159,39,123,190,222,236,118,
-79,83,74,149,214,103,38,115,195,175,222,84,113,32,26,44,83,227,140,119,
-0,0,1,0,73,68,65,84,22,180,200,33,2,64,76,16,254,230,167,247,190,175,126,
-33,102,193,90,245,176,165,178,11,201,8,49,191,245,221,99,58,177,0,59,200,
-193,14,194,151,157,231,155,145,119,14,214,224,74,4,12,2,132,99,219,44,163,
-52,154,203,62,182,7,224,157,216,93,213,220,221,85,117,28,135,245,230,226,
-252,252,124,179,94,247,125,63,207,93,192,47,221,255,246,74,34,82,169,98,
-104,170,33,39,112,183,90,28,221,51,15,230,251,52,54,49,129,39,230,154,175,
-165,188,123,176,150,6,123,88,71,233,142,23,247,151,237,113,30,243,129,179,
-248,78,248,66,4,33,4,51,31,134,221,217,217,179,103,207,158,156,95,156,247,
-125,95,135,53,190,220,156,255,230,62,185,218,206,236,112,171,62,198,226,
-100,117,242,13,231,165,66,212,21,228,66,66,8,238,112,220,50,13,205,109,
-201,187,7,235,90,232,65,112,128,209,158,172,30,30,47,238,150,49,217,1,235,
-248,97,33,218,109,9,33,48,7,102,74,121,92,175,207,207,206,158,111,55,155,
-113,28,43,172,47,215,89,15,126,115,139,117,40,28,112,33,210,251,74,219,
-0,0,1,0,73,68,65,84,240,84,218,20,86,178,248,208,249,196,16,12,133,200,
-132,34,121,116,144,253,22,214,239,138,84,31,158,178,155,177,181,167,139,
-247,79,87,247,189,216,21,141,55,193,228,246,26,247,221,3,192,102,158,243,
-184,235,215,155,205,249,102,187,233,251,97,28,199,74,83,248,150,96,61,215,
-16,16,2,200,192,0,58,229,7,161,125,8,238,204,149,96,76,129,208,184,147,
-243,111,141,144,119,68,12,128,17,20,48,242,112,188,124,112,247,248,97,195,
-193,246,81,235,89,91,223,174,133,173,217,181,184,170,230,156,250,97,183,
-217,174,215,235,139,245,197,122,24,134,148,210,21,59,228,141,106,235,125,
-177,56,24,48,37,56,117,22,30,196,238,62,98,235,100,4,99,23,242,56,117,28,
-124,45,229,221,251,222,14,192,9,90,75,31,86,221,189,59,199,247,187,216,
-205,21,148,192,12,233,219,196,181,67,0,118,119,115,213,146,198,113,216,
-237,182,235,245,186,239,251,170,176,223,82,36,4,176,90,55,139,74,21,136,
-58,93,234,129,116,247,56,116,32,7,140,32,228,1,68,111,61,227,249,174,202,
-187,249,100,189,177,0,0,0,1,0,73,68,65,84,189,29,176,234,22,182,113,185,
-232,86,205,139,99,196,246,53,197,183,41,194,129,89,152,185,78,243,48,215,
-156,243,56,142,41,165,156,115,133,117,69,246,27,230,147,190,228,208,37,
-135,57,64,1,161,61,70,92,48,135,58,103,164,118,183,253,86,91,191,130,92,
-119,157,252,26,121,213,247,207,81,55,125,34,59,134,202,152,198,64,229,123,
-15,254,228,111,159,254,135,69,115,214,93,224,49,16,108,32,182,174,141,141,
-211,238,186,247,185,46,14,125,157,92,23,231,54,115,171,109,97,211,184,156,
-169,136,40,251,179,97,220,185,182,174,139,126,59,12,187,173,21,45,131,247,
-125,63,135,174,231,225,13,111,176,213,128,124,137,232,104,0,196,14,139,
-88,155,123,154,7,229,248,79,158,43,187,39,230,213,56,234,40,79,227,66,41,
-29,189,169,207,253,245,146,215,204,50,190,189,56,4,129,130,132,125,251,
-29,1,212,132,246,244,232,180,184,153,37,82,134,71,223,143,229,128,125,9,
-223,247,91,145,169,140,208,29,6,55,55,53,85,80,81,213,82,74,201,37,215,
-161,232,179,158,190,177,128,77,29,57,123,244,0,0,1,0,73,68,65,84,232,78,
-98,119,132,62,194,193,76,76,53,61,242,53,149,87,214,34,87,152,127,223,248,
-38,75,160,121,138,82,245,13,23,205,226,253,251,31,52,109,103,64,210,172,
-84,16,188,182,25,145,222,196,46,75,56,164,117,113,119,55,55,50,134,194,
-138,91,81,85,45,185,228,148,198,52,166,148,74,41,135,73,153,27,146,213,
-251,113,117,31,210,213,41,221,34,181,191,235,107,106,133,188,254,215,254,
-21,141,141,235,132,64,194,124,208,176,72,45,186,15,238,126,120,188,188,
-31,164,45,166,74,133,196,65,238,118,109,107,215,91,145,137,57,22,110,102,
-106,100,4,35,87,55,117,83,83,211,172,37,231,156,82,154,145,253,166,173,
-234,47,149,238,161,44,30,42,119,185,24,19,9,139,59,209,187,72,60,127,19,
-242,206,221,205,151,163,110,29,196,4,32,32,220,93,221,127,111,241,205,206,
-142,117,112,205,10,178,186,193,10,197,47,123,175,55,33,19,15,193,94,91,
-87,85,109,102,98,129,11,163,16,180,102,143,200,221,213,181,2,250,166,49,
-13,120,120,128,238,129,201,178,216,62,13,235,52,79,140,36,168,189,0,0,1,
-0,73,68,65,84,134,254,186,201,235,187,140,111,233,178,77,29,208,14,131,
-75,16,56,96,188,10,171,111,29,127,255,174,188,31,114,187,159,59,236,68,
-44,114,131,218,104,207,243,93,113,237,10,47,94,201,29,38,90,12,2,224,135,
-134,245,205,173,13,72,114,42,203,135,220,28,25,152,136,9,100,230,248,186,
-194,250,149,97,113,229,106,189,113,151,104,86,138,251,174,37,70,214,70,
-218,63,254,198,223,57,127,242,217,102,247,217,40,107,99,46,19,187,222,77,
-24,33,87,62,195,221,205,221,179,107,49,203,102,234,82,147,250,149,68,233,
-197,36,255,141,185,140,22,208,45,239,251,226,196,36,50,115,113,87,253,245,
-31,215,247,186,242,198,2,124,111,86,28,7,84,137,6,128,127,247,163,63,248,
-248,222,239,220,95,61,88,181,171,24,34,17,153,169,218,77,37,135,15,93,70,
-56,220,85,205,138,153,154,155,185,249,37,209,198,109,73,0,117,71,161,89,
-176,4,48,3,110,118,61,221,196,111,186,92,171,173,175,3,110,79,99,74,189,
-106,10,129,130,136,27,180,56,156,151,171,86,85,1,18,137,4,113,38,59,25,
-186,0,0,1,0,73,68,65,84,3,17,7,138,197,54,238,30,165,37,112,54,139,220,
-0,80,119,113,75,41,3,212,180,45,8,150,65,84,73,176,138,27,42,13,223,56,
-230,24,99,232,26,0,141,29,127,120,247,247,30,124,254,211,245,58,75,60,91,
-52,94,96,197,56,65,171,102,220,147,163,78,214,240,155,42,249,53,175,163,
-81,213,212,80,24,57,112,238,56,243,96,103,73,135,229,98,249,233,47,158,
-124,235,254,71,39,139,123,37,33,196,163,58,160,214,221,235,60,95,0,243,
-47,111,80,174,100,230,137,168,27,243,6,127,50,222,249,227,163,167,255,59,
-206,59,15,15,120,69,40,35,74,3,24,92,225,74,32,114,33,4,130,40,250,55,187,
-164,27,150,137,87,98,10,4,95,253,235,43,27,33,102,166,170,185,100,119,152,
-137,169,107,49,119,26,242,90,213,8,28,66,195,44,238,196,44,49,68,211,157,
-155,199,38,17,56,103,109,98,27,66,236,135,225,206,234,40,116,2,175,237,
-75,228,236,78,36,151,133,30,245,15,102,166,204,146,146,54,77,251,224,206,
-251,31,127,248,59,27,121,252,120,200,163,57,51,66,34,51,2,236,0,0,1,0,73,
-68,65,84,224,228,101,254,15,194,158,212,240,77,42,205,61,75,209,196,26,
-227,170,170,69,173,112,41,148,139,187,49,65,220,221,221,84,243,229,191,
-221,108,220,154,162,72,137,76,13,92,80,233,240,80,115,236,47,47,224,166,
-187,247,111,94,94,125,118,12,224,102,170,197,221,205,139,154,151,98,230,
-0,138,22,5,145,88,98,18,51,103,230,16,98,78,27,51,111,82,3,162,156,74,140,
-77,8,177,239,123,146,156,82,38,226,174,235,152,131,22,101,150,150,59,66,
-241,41,220,74,18,48,13,41,103,37,111,62,188,247,209,218,127,127,237,79,
-135,207,183,62,58,97,84,207,92,198,73,79,239,111,224,55,189,243,210,76,
-202,232,128,153,149,82,82,78,110,209,52,143,3,24,109,19,23,68,44,194,128,
-222,164,61,253,130,8,73,104,65,157,123,132,99,202,198,24,8,236,115,49,194,
-196,102,234,149,130,240,55,88,94,25,214,204,4,130,187,169,43,64,10,87,82,
-115,72,112,175,45,35,80,55,20,85,20,136,74,206,91,51,143,30,1,164,148,163,
-53,65,67,63,246,187,39,23,41,101,102,238,186,151,177,5,17,0,0,1,0,73,68,
-65,84,78,36,168,170,176,180,93,215,184,16,81,215,45,68,66,41,214,112,27,
-41,142,54,176,82,108,227,221,163,251,119,87,15,79,154,251,234,101,208,77,
-111,59,102,222,71,30,38,114,212,55,221,196,231,251,40,31,204,221,204,107,
-70,209,44,186,113,201,136,113,217,117,71,34,177,109,155,24,105,78,152,227,
-166,252,144,189,20,80,128,47,85,27,120,170,37,169,238,12,38,154,166,37,
-97,242,105,111,52,218,127,59,242,234,176,38,130,89,209,12,43,78,108,176,
-2,83,183,172,86,74,54,119,34,184,123,41,217,221,197,68,45,169,89,177,0,
-247,164,41,115,16,72,95,250,78,142,71,31,44,251,128,45,220,199,113,0,208,
-52,77,227,209,129,69,183,12,33,152,161,107,187,16,226,174,239,79,228,14,
-101,219,13,59,50,238,154,213,138,142,109,44,227,216,139,136,79,213,154,
-78,168,89,117,55,248,155,171,91,157,54,128,125,228,113,22,5,160,106,109,
-187,90,116,75,34,138,77,136,77,136,49,134,16,110,152,70,21,0,160,240,200,
-180,2,58,247,228,40,96,7,5,130,56,64,84,103,93,128,97,83,84,0,0,1,0,73,
-68,65,84,123,45,0,188,105,198,183,27,151,215,9,240,169,149,156,147,81,98,
-144,193,82,41,106,174,158,74,41,14,23,38,135,155,41,8,1,50,104,111,170,
-153,130,187,165,50,6,136,152,244,121,135,86,70,12,78,166,36,14,79,52,56,
-220,168,217,38,53,181,198,90,34,86,181,166,105,69,194,110,187,59,93,156,
-232,182,92,12,231,187,97,23,57,182,210,246,36,12,98,102,82,154,90,210,43,
-97,185,191,249,158,235,90,7,178,15,220,177,176,144,164,216,184,9,22,113,
-209,182,157,27,68,68,132,43,172,69,228,134,145,93,108,36,238,98,56,101,
-89,57,93,56,21,16,64,17,224,61,166,103,52,191,125,70,181,219,150,87,134,
-181,48,215,224,90,241,12,114,117,29,75,46,69,21,165,104,169,51,50,64,110,
-86,8,40,46,155,97,107,86,130,6,119,29,211,16,2,139,240,110,216,101,230,
-52,142,128,55,22,136,144,117,36,130,123,147,169,20,47,125,14,0,74,214,168,
-13,179,108,119,187,158,159,13,227,184,235,251,161,236,170,186,33,53,1,234,
-158,127,160,129,168,218,148,111,74,89,239,167,69,145,26,0,0,1,0,73,68,65,
-84,153,111,43,168,137,153,68,36,132,176,88,229,150,68,6,156,52,203,197,
-162,3,33,132,16,247,114,8,235,155,49,66,28,22,34,100,113,7,205,17,177,56,
-212,201,137,132,188,54,134,211,11,199,254,166,35,251,149,97,29,16,68,152,
-152,92,221,93,139,149,162,57,107,41,158,115,201,238,90,25,163,139,102,192,
-68,120,200,73,77,163,137,153,142,105,8,202,34,180,27,118,46,139,113,28,
-220,53,20,54,215,113,28,0,139,77,108,218,182,218,220,102,94,138,53,214,
-136,132,109,218,153,241,118,220,141,99,114,184,67,77,139,153,10,189,212,
-173,251,86,216,49,170,166,174,217,31,98,102,22,94,174,130,115,164,29,173,
-154,101,215,117,194,18,66,140,113,210,211,243,148,2,191,169,177,50,196,
-128,131,155,21,66,7,162,23,89,130,166,67,46,207,204,13,37,178,110,77,174,
-133,245,117,151,65,32,94,88,21,133,234,92,203,92,44,185,107,182,93,101,
-240,47,86,28,106,80,181,98,89,139,209,148,189,128,58,204,74,177,98,16,79,
-73,135,177,87,183,232,65,77,119,195,206,92,27,107,109,19,12,254,148,0,0,
-1,0,73,68,65,84,219,11,79,129,190,32,177,145,134,140,148,117,123,166,185,
-164,84,198,98,73,61,143,185,31,52,15,217,251,212,251,68,187,68,230,117,
-158,192,68,38,254,133,242,170,238,82,14,25,14,118,9,188,160,192,165,41,
-97,153,59,241,1,79,185,57,122,47,126,243,158,62,88,208,114,37,171,101,104,
-23,77,211,181,129,160,129,209,198,224,106,68,20,99,4,80,48,56,156,193,12,
-169,195,48,200,8,68,234,153,192,4,153,6,194,236,99,177,118,153,170,252,
-165,214,25,16,119,91,44,143,126,239,236,254,31,150,167,255,239,131,113,
-89,210,113,127,148,227,168,227,216,155,141,49,64,4,102,32,66,12,77,210,
-132,3,10,29,76,147,95,80,125,134,95,119,121,157,154,10,34,34,166,153,98,
-233,242,180,191,116,1,28,216,39,226,84,189,142,22,40,230,106,110,42,101,
-24,6,115,43,38,106,218,143,59,115,43,158,74,233,137,184,14,116,169,42,16,
-238,165,148,208,54,165,228,92,146,122,49,148,164,99,210,49,123,154,131,
-176,135,106,250,13,234,107,218,211,36,213,208,24,17,36,112,48,57,233,190,
-57,206,164,0,0,1,0,73,68,65,84,222,35,94,46,112,218,228,101,228,46,118,
-139,102,177,106,22,171,166,105,98,140,196,82,221,52,87,103,102,102,98,14,
-0,120,178,7,246,51,222,28,149,90,7,128,187,57,216,109,143,107,174,106,254,
-106,23,242,151,16,254,176,0,44,177,61,166,102,133,172,224,228,174,66,173,
-144,86,134,213,58,164,68,157,200,188,218,32,251,247,174,215,242,205,153,
-110,183,45,175,3,107,102,98,102,232,212,41,114,48,116,136,94,40,141,152,
-16,87,159,153,153,22,45,197,146,90,49,55,227,113,204,163,185,101,99,117,
-29,82,111,166,197,194,144,119,68,164,166,165,20,0,53,126,151,115,58,58,
-58,46,211,232,58,5,172,88,153,96,125,41,151,249,237,55,56,106,138,137,247,
-205,222,238,228,36,20,154,192,76,205,242,8,214,134,178,32,22,23,208,130,
-168,35,143,88,29,173,218,174,107,154,40,149,118,105,111,8,176,201,180,192,
-249,172,212,86,155,54,78,139,223,39,124,224,6,119,124,193,176,245,9,232,
-95,182,82,230,216,222,247,246,14,242,103,96,117,119,162,46,74,195,48,38,
-37,24,179,193,95,115,203,162,0,0,1,0,73,68,65,84,137,33,70,249,146,118,
-229,210,51,241,219,103,96,121,19,242,234,145,16,128,153,133,133,140,252,
-69,26,229,171,39,164,90,163,51,51,45,213,118,141,233,81,60,25,178,65,205,
-73,173,152,39,133,194,52,217,0,130,106,73,154,221,13,68,170,37,229,148,
-182,131,185,57,204,201,137,96,208,226,170,40,147,181,177,103,190,221,235,
-238,55,22,224,99,236,121,237,200,225,206,2,38,65,148,216,68,90,133,72,220,
-100,141,33,135,211,132,85,95,154,181,114,73,62,12,214,87,123,67,221,132,
-2,131,107,82,125,58,131,245,125,25,80,160,200,116,238,46,253,58,131,187,
-185,94,118,8,205,229,231,151,255,255,146,40,64,80,115,132,7,144,251,201,
-254,134,56,145,7,211,222,60,1,197,81,136,156,165,150,209,78,83,74,246,66,
-111,197,37,185,61,121,157,44,35,179,136,200,172,173,47,199,183,209,164,
-178,231,16,239,84,238,182,31,151,67,4,102,114,34,56,169,25,113,213,18,106,
-80,39,3,76,125,226,0,54,152,161,24,25,200,11,151,194,169,207,19,115,59,
-184,142,29,68,69,57,239,87,29,101,205,93,0,0,1,0,73,68,65,84,85,71,184,
-209,28,120,120,67,90,135,193,251,187,197,235,160,44,22,98,166,174,229,208,
-72,187,162,133,251,113,163,171,227,28,79,118,190,192,249,248,100,167,177,
-247,205,42,173,136,164,148,194,44,77,211,70,139,77,108,130,4,128,162,52,
-194,161,182,208,90,134,217,148,242,97,6,17,204,216,12,210,216,229,89,124,
-225,252,95,83,94,66,81,130,107,33,110,62,66,252,96,52,91,132,204,222,21,
-27,12,217,41,193,141,1,174,129,29,3,75,51,85,3,212,179,246,130,71,249,107,
-47,175,171,173,101,242,123,46,113,253,98,226,122,31,1,128,154,214,210,142,
-253,212,57,171,32,169,195,164,220,235,68,58,115,76,115,63,105,98,251,157,
-110,9,176,59,153,145,146,234,196,152,106,123,211,148,224,243,61,180,87,
-106,251,192,195,155,139,60,152,163,198,126,225,245,190,97,6,11,129,156,
-91,4,246,32,89,218,145,86,125,105,215,61,13,231,229,152,148,54,120,190,
-40,75,119,74,99,2,81,215,118,200,188,232,186,24,27,6,183,77,119,180,92,
-5,137,90,202,73,251,33,79,252,8,211,233,136,48,107,165,0,0,1,0,73,68,65,
-84,37,1,227,176,167,183,26,190,95,153,173,100,97,179,16,195,226,99,142,
-223,216,21,138,164,37,131,152,137,163,187,155,141,12,8,145,19,138,85,26,
-145,125,60,132,106,101,206,111,14,201,234,235,217,214,211,20,123,247,169,
-221,16,123,109,253,210,177,206,12,115,16,131,108,218,199,39,67,21,168,227,
-161,12,234,251,251,195,204,216,216,201,217,137,246,126,148,153,185,25,99,
-223,115,234,110,53,189,48,213,105,216,37,107,200,116,77,222,232,165,49,
-159,217,209,188,222,122,68,32,42,57,8,73,38,103,207,131,15,59,219,33,51,
-141,18,143,158,153,90,68,51,240,194,157,134,113,36,208,130,22,253,102,92,
-148,69,144,96,234,81,226,106,177,98,150,156,210,239,126,195,74,41,90,140,
-72,218,102,17,99,75,96,7,90,13,123,234,245,105,55,228,125,215,217,23,139,
-59,80,156,3,154,247,73,30,238,6,167,148,199,109,26,81,130,128,24,238,28,
-152,218,38,194,41,167,178,138,149,132,18,152,118,9,191,52,115,126,253,229,
-53,96,189,167,225,170,121,171,47,6,243,164,96,0,136,8,237,93,141,102,55,
-0,0,1,0,73,68,65,84,39,13,155,215,122,137,122,63,72,5,61,169,129,156,185,
-206,66,113,38,113,114,131,18,152,166,193,26,190,15,225,193,43,53,134,79,
-94,251,52,20,115,70,53,237,189,187,55,135,108,55,39,217,175,218,1,114,175,
-3,218,188,131,55,230,146,21,163,90,82,99,24,138,111,242,153,22,13,214,148,
-48,146,243,88,18,177,144,105,14,69,196,11,120,204,35,37,222,233,5,12,195,
-48,104,218,148,162,166,20,67,187,92,28,47,22,71,49,180,32,62,214,59,181,
-124,74,36,132,16,130,8,139,48,211,181,70,72,206,46,106,136,144,149,99,217,
-15,234,134,221,217,238,209,58,55,13,130,128,25,93,139,229,34,48,113,201,
-220,29,167,137,27,171,150,149,145,19,195,29,55,59,101,242,109,201,107,216,
-214,34,96,6,65,13,166,196,78,80,120,217,91,14,245,32,154,130,36,160,202,
-179,225,86,91,74,42,74,171,189,16,204,138,169,195,193,83,218,66,1,203,172,
-106,90,80,32,96,103,119,99,112,195,177,212,120,106,213,46,211,199,92,102,
-28,14,11,138,152,24,95,74,9,242,106,223,87,216,96,67,18,58,0,0,1,0,73,68,
-65,84,1,181,90,226,201,112,120,65,41,90,228,73,46,161,241,174,11,43,206,
-240,157,54,178,22,10,190,219,168,90,200,205,214,86,166,52,142,57,134,246,
-8,199,158,243,80,98,144,6,206,130,232,25,110,164,238,143,198,103,34,162,
-174,92,100,49,110,117,171,166,182,92,46,153,41,165,124,247,206,61,87,64,
-233,244,228,142,27,185,251,176,75,119,78,239,152,18,35,220,61,125,72,46,
-154,177,106,143,98,55,142,208,157,9,75,187,57,254,214,99,249,62,158,252,
-160,29,150,127,126,126,126,116,212,246,155,113,236,113,239,36,116,161,45,
-163,69,89,124,252,237,231,228,190,108,227,113,39,139,104,93,200,129,76,
-8,121,132,59,86,71,205,102,61,30,29,133,190,31,143,86,203,82,74,63,60,15,
-177,145,216,57,181,44,129,163,24,56,23,109,124,71,16,32,58,234,212,15,175,
-225,76,35,7,57,145,131,235,32,69,34,33,240,43,151,193,215,18,182,189,219,
-76,147,157,73,95,209,33,241,90,189,128,147,119,248,27,180,105,189,186,168,
-170,27,200,18,148,188,88,73,99,224,70,72,8,199,170,54,171,74,92,0,0,1,0,
-73,68,65,84,22,66,147,108,168,81,204,24,90,229,49,245,125,19,219,24,26,
-161,16,165,109,98,71,16,115,11,69,216,88,179,18,200,81,180,152,155,83,242,
-92,82,26,51,216,173,184,43,178,37,83,184,89,74,219,140,181,102,135,113,
-159,206,93,185,100,61,62,62,213,254,124,237,187,140,163,143,239,125,155,
-238,199,114,247,244,231,127,77,79,254,234,252,175,71,28,31,143,48,88,193,
-168,101,217,166,237,122,184,56,219,148,192,121,244,134,211,71,239,29,181,
-236,48,123,120,175,105,27,4,100,130,235,206,213,185,31,161,198,253,160,
-0,86,139,59,196,1,20,140,2,44,80,97,38,14,206,132,64,36,132,232,8,64,4,
-34,121,96,15,182,223,57,247,245,52,70,230,128,221,12,127,218,171,195,218,
-65,96,38,217,23,253,59,110,157,230,241,86,196,201,221,139,103,87,211,146,
-70,48,131,153,168,96,107,230,34,177,137,157,59,165,84,130,196,173,46,211,
-48,204,176,110,66,211,196,78,72,204,124,213,158,48,113,26,51,129,146,45,
-76,13,14,147,156,203,56,142,73,6,148,162,150,93,41,105,101,110,94,33,191,
-251,0,0,1,0,73,68,65,84,192,198,134,190,36,179,226,9,107,45,158,134,178,
-41,39,23,235,231,79,118,159,62,223,166,31,223,255,56,166,159,253,98,183,
-190,192,123,27,89,242,42,125,122,246,172,228,45,65,127,254,20,66,67,215,
-128,128,191,252,41,245,59,68,194,136,21,233,46,143,195,119,233,36,136,173,
-194,186,107,163,244,222,53,205,166,79,171,197,50,15,38,140,16,90,115,128,
-152,68,88,4,78,33,132,16,67,81,169,29,55,64,96,136,187,176,51,85,170,180,
-201,84,37,175,188,206,238,168,67,190,223,190,188,94,150,145,153,133,89,
-166,66,4,236,13,180,175,147,48,75,13,144,153,103,120,54,7,224,228,40,67,
-50,131,136,132,220,184,163,20,19,9,91,107,93,45,90,148,28,224,20,56,196,
-208,16,200,212,238,31,127,72,68,121,204,4,90,232,178,26,111,26,7,45,101,
-44,163,20,43,217,44,155,231,98,149,214,143,70,46,148,75,177,2,20,210,98,
-73,11,138,110,226,197,216,60,95,111,159,94,156,61,221,110,62,217,88,250,
-248,123,127,255,143,190,253,247,225,187,127,252,143,255,167,159,125,250,
-18,141,76,92,0,0,1,0,73,68,65,84,151,167,167,177,137,94,114,255,124,147,
-134,33,13,30,220,216,75,150,39,58,108,54,67,143,109,216,236,182,195,123,
-43,124,248,225,74,160,93,192,184,73,223,254,230,41,91,33,168,178,153,153,
-8,154,54,178,171,23,13,170,45,186,236,36,68,236,78,100,78,132,169,114,208,
-136,150,251,224,60,209,222,35,185,177,237,253,245,34,33,82,31,53,203,93,
-147,202,95,55,125,61,141,173,113,7,213,12,119,205,25,122,81,114,119,114,
-22,27,171,107,65,206,217,119,128,4,23,34,118,53,6,7,9,4,82,85,117,99,162,
-156,10,129,150,121,73,78,76,156,232,40,151,156,198,84,100,208,98,150,145,
-121,48,117,83,79,106,35,76,139,186,162,8,172,120,73,217,27,127,212,127,
-226,244,204,227,249,64,233,137,63,223,50,125,116,244,205,163,240,119,79,
-27,253,79,254,211,63,142,141,61,250,252,167,127,246,103,255,243,143,126,
-244,195,229,178,123,239,155,167,127,243,243,255,179,107,163,102,156,253,
-248,73,73,88,45,209,157,231,243,11,252,228,111,240,189,148,35,59,116,24,
-55,24,88,27,33,205,186,123,69,40,0,0,1,0,73,68,65,84,250,189,134,75,177,
-166,161,227,24,216,105,28,7,225,180,52,163,70,132,16,132,153,64,12,98,131,
-56,152,137,184,62,175,224,62,120,122,19,242,122,60,27,44,21,214,96,223,
-119,200,190,225,117,189,243,178,47,9,242,125,140,126,138,0,79,227,217,189,
-182,163,215,67,204,180,168,82,144,64,4,87,99,226,96,194,96,51,125,186,253,
-148,136,75,202,4,238,117,233,230,4,218,218,17,220,198,49,105,24,181,152,
-23,168,12,166,110,230,219,65,71,12,90,212,13,137,71,87,207,169,36,233,31,
-109,63,231,242,217,250,252,233,32,71,207,134,179,126,24,158,239,134,39,
-195,197,54,250,157,59,199,93,19,238,28,135,127,247,223,254,207,255,227,
-255,104,69,160,39,79,158,254,47,127,250,223,180,77,179,221,156,127,242,
-243,31,43,173,61,134,159,62,234,199,17,190,69,254,89,14,108,101,52,50,236,
-100,219,53,82,242,216,199,70,181,28,175,228,161,133,54,74,78,218,68,209,
-197,145,245,30,2,26,67,140,20,2,49,56,48,179,179,187,131,124,10,141,123,
-189,229,111,238,234,188,150,17,2,44,163,204,36,0,0,1,0,73,68,65,84,34,18,
-38,166,203,104,231,215,206,8,185,44,245,66,205,155,238,203,189,189,38,242,
-166,112,96,189,223,205,204,76,148,140,0,43,202,100,112,103,34,83,77,72,
-76,156,181,16,200,115,214,162,166,158,188,103,161,52,38,106,172,106,107,
-147,108,197,205,124,155,70,139,187,146,139,153,169,92,104,177,156,210,72,
-199,35,24,253,110,253,236,188,167,180,213,109,217,245,165,236,202,230,162,
-111,194,221,213,105,222,210,110,237,240,110,167,45,156,131,127,240,239,
-255,59,255,165,187,245,187,205,159,255,224,255,210,188,46,229,252,7,63,
-248,39,33,216,131,15,86,79,47,206,74,25,9,116,114,180,248,23,159,142,49,
-40,17,198,224,37,151,147,163,242,209,206,87,29,52,99,181,8,239,97,65,169,
-143,17,93,199,109,43,77,148,16,37,6,97,225,69,99,32,34,49,192,136,140,170,
-13,114,83,64,121,61,88,207,244,93,95,59,37,61,11,239,203,72,171,201,56,
-39,51,200,0,128,224,230,54,197,218,225,174,96,22,38,118,171,121,85,83,192,
-28,106,202,45,57,1,162,238,80,228,108,185,20,229,198,160,139,140,0,0,1,
-0,73,68,65,84,226,54,234,56,38,14,164,217,52,215,194,25,87,179,132,94,210,
-152,83,214,162,206,91,205,101,28,83,198,209,103,107,94,140,143,135,179,
-117,79,118,145,207,211,179,179,117,254,124,183,121,180,188,247,224,241,
-167,143,68,120,185,90,46,22,171,167,143,207,215,235,241,222,221,7,101,188,
-19,131,60,188,243,221,63,252,254,157,135,15,142,220,55,228,247,31,62,188,
-115,182,251,209,63,255,243,31,12,138,174,59,234,238,60,248,217,207,127,
-66,132,166,141,203,205,114,216,249,89,79,163,107,27,74,234,55,71,203,116,
-190,235,238,119,212,52,88,44,176,232,168,105,184,137,28,35,137,112,115,
-170,32,80,197,180,25,145,19,217,205,25,33,149,137,25,7,5,214,95,145,121,
-38,148,156,69,121,65,139,77,62,47,4,10,108,193,41,131,188,186,6,181,215,
-121,42,107,42,83,234,188,146,67,79,159,226,182,231,211,157,55,166,185,166,
-228,21,183,170,55,21,159,190,46,160,122,221,251,155,29,94,161,125,133,21,
-46,239,116,62,200,9,178,48,80,188,206,114,15,64,29,63,7,144,176,141,110,
-152,210,118,177,227,0,0,1,0,73,68,65,84,232,151,82,46,32,146,38,36,45,14,
-151,54,108,198,45,17,16,233,249,248,180,190,185,22,29,206,250,154,232,29,
-182,3,17,145,96,232,7,69,255,36,97,164,118,76,27,223,228,229,243,247,46,
-206,194,207,243,231,114,49,126,252,205,111,194,253,217,147,205,251,239,
-191,39,6,31,119,219,179,71,218,102,98,186,56,255,236,228,206,201,243,139,
-93,42,229,223,248,7,255,104,76,99,19,255,117,198,63,57,62,93,118,45,45,
-150,242,233,255,240,223,117,139,240,241,199,31,253,232,95,253,41,193,223,
-91,61,248,201,179,243,211,147,163,245,69,190,203,139,167,143,54,32,52,65,
-254,224,119,127,55,63,217,105,191,254,238,183,63,238,114,32,183,167,118,
-118,122,122,79,7,0,229,254,253,133,64,242,208,47,151,139,113,64,136,20,
-59,150,64,96,55,152,195,96,76,48,22,97,230,26,219,246,234,99,242,158,18,
-226,160,214,203,15,139,52,174,145,95,77,91,127,217,123,255,102,20,23,220,
-154,188,116,237,166,98,164,169,152,12,110,110,174,151,21,230,185,104,206,
-40,25,37,91,78,197,115,30,3,224,30,99,0,0,1,0,73,68,65,84,242,56,228,193,
-182,244,188,125,110,170,102,138,236,37,231,179,179,179,174,109,143,223,
-91,85,160,68,106,212,74,177,146,99,41,217,2,186,63,248,189,127,237,248,
-100,185,219,157,47,22,241,63,248,247,254,179,110,17,137,60,182,84,74,214,
-146,63,253,228,231,101,12,68,247,210,120,188,221,100,106,134,174,13,63,
-254,249,179,200,222,50,62,121,114,17,5,86,202,253,247,154,33,103,45,20,
-67,144,134,66,96,53,49,142,78,38,174,13,149,224,36,65,72,106,61,186,216,
-27,197,203,107,166,99,152,107,43,193,101,29,198,92,27,50,31,117,48,72,241,
-183,114,189,92,167,26,14,149,146,215,80,83,53,214,167,93,194,205,13,230,
-53,131,11,55,131,43,213,135,41,178,234,88,210,78,7,90,243,121,56,215,82,
-74,46,101,93,210,56,174,47,214,77,140,15,210,61,16,192,164,91,119,50,39,
-180,88,168,234,243,39,187,251,247,239,217,216,166,93,209,17,223,248,240,
-79,98,148,205,102,253,71,127,208,196,32,41,141,63,187,251,227,16,184,137,
-98,90,62,249,228,23,163,124,238,18,126,250,48,19,240,115,0,0,1,0,73,68,
-65,84,233,102,213,133,187,39,139,205,103,235,54,18,193,194,241,221,243,
-94,76,105,185,108,209,48,139,51,135,194,49,6,17,103,37,138,64,112,143,32,
-102,122,227,211,64,94,179,59,134,137,167,22,212,185,218,121,250,75,61,196,
-247,140,116,191,197,245,87,200,181,27,222,149,34,246,169,53,226,178,158,
-124,95,233,56,85,36,16,49,19,11,113,160,200,36,10,207,148,71,12,71,126,
-172,67,41,169,228,156,215,105,59,14,195,118,189,11,18,114,42,68,0,211,120,
-47,145,16,11,135,210,184,219,192,182,230,221,185,109,98,19,47,118,59,242,
-101,41,153,184,57,58,250,246,209,241,81,140,252,240,254,247,99,144,182,
-13,155,237,250,238,221,79,182,244,40,70,249,241,191,250,81,19,141,186,240,
-244,249,103,139,78,98,148,159,61,73,112,10,161,59,113,26,144,88,176,92,
-54,190,144,86,37,186,152,4,15,129,76,216,136,138,187,27,189,81,58,183,215,
-138,91,19,49,201,33,172,49,103,211,235,19,0,184,228,14,253,173,124,169,
-92,3,236,151,123,6,246,181,190,83,181,13,8,4,38,222,35,84,40,149,105,0,
-0,1,0,73,68,65,84,156,132,196,89,148,50,17,140,74,162,97,160,221,131,216,
-161,56,12,108,156,251,156,118,89,147,27,74,158,154,157,93,7,3,64,66,158,
-200,204,154,19,166,148,83,46,199,167,199,23,155,77,32,201,90,186,110,17,
-98,115,158,118,196,104,218,8,103,98,233,186,59,223,253,222,61,107,126,175,
-105,195,209,234,35,230,12,74,20,254,58,68,111,219,240,249,163,31,19,241,
-241,113,64,162,117,222,74,192,29,134,109,251,214,87,93,199,5,236,44,196,
-178,175,75,180,112,235,176,222,107,235,151,139,247,232,160,207,226,183,
-128,254,229,228,90,84,239,163,44,135,251,222,84,25,121,208,106,183,175,
-122,87,203,68,181,172,200,1,85,148,17,219,29,46,136,44,23,117,117,128,114,
-206,41,103,45,102,230,129,201,220,138,150,45,247,185,36,53,213,98,165,20,
-240,240,222,251,239,171,219,217,231,79,135,52,182,28,192,52,172,183,34,
-247,82,30,29,246,224,225,189,97,155,33,46,129,255,127,246,222,173,71,146,
-44,57,19,251,62,179,227,30,145,153,117,237,219,204,244,220,185,32,185,188,
-45,118,121,250,55,245,184,0,0,1,0,73,68,65,84,131,102,87,132,180,171,93,
-72,88,64,47,186,64,239,11,61,8,208,191,210,211,190,73,250,11,18,32,74,11,
-104,169,5,40,80,20,41,145,28,206,176,167,187,186,170,171,43,111,17,225,
-126,204,244,96,231,28,247,136,140,200,170,204,202,174,30,205,164,117,118,
-86,164,135,135,135,95,236,216,249,236,179,203,249,224,131,247,125,147,168,
-253,247,190,245,27,253,146,134,205,227,199,223,34,115,183,72,34,75,17,125,
-248,240,145,8,79,207,94,142,24,46,135,110,253,226,242,164,91,30,141,146,
-37,67,149,52,33,148,16,185,99,74,237,182,216,58,240,53,42,115,91,67,50,
-213,80,215,186,187,215,36,90,221,11,174,245,187,89,171,36,102,169,228,45,
-157,13,64,201,94,119,56,40,38,116,23,136,56,37,155,108,70,89,13,114,97,
-204,155,113,45,84,209,20,77,139,33,52,51,64,220,97,230,227,152,55,235,97,
-61,172,187,190,223,12,155,62,227,140,151,144,88,166,199,158,47,94,116,139,
-110,204,163,138,102,207,20,62,125,132,205,144,157,54,140,27,65,7,227,151,
-176,247,63,122,31,162,228,183,35,140,0,0,1,0,73,68,65,84,128,124,244,222,
-15,33,158,58,213,95,59,33,121,124,114,50,142,155,23,95,60,211,52,138,230,
-47,190,120,230,250,32,11,135,44,171,13,58,181,78,173,79,248,185,192,214,
-33,219,76,72,245,111,38,40,88,147,174,239,229,118,82,236,244,86,193,138,
-3,50,105,52,74,145,145,187,187,119,209,42,85,160,74,17,80,204,101,52,25,
-40,112,24,69,85,133,137,84,81,192,220,45,79,75,38,148,234,220,200,107,223,
-44,191,248,217,57,212,77,204,152,207,94,253,117,191,76,221,162,135,36,135,
-15,121,72,210,109,242,230,228,225,113,182,113,209,109,30,61,56,254,226,
-203,87,15,31,60,60,59,93,175,134,213,135,223,248,192,104,162,118,114,252,
-109,17,121,248,224,65,246,177,239,158,62,120,216,129,27,225,95,73,178,164,
-89,82,118,140,57,123,206,230,118,229,218,223,90,82,91,50,176,225,224,235,
-35,225,57,155,16,20,93,226,104,225,203,149,93,100,207,46,38,67,98,118,228,
-209,163,145,33,1,101,244,99,220,127,160,86,251,216,110,234,181,117,77,95,
-117,59,196,187,58,254,161,227,28,185,213,172,243,0,0,1,0,73,68,65,84,226,
-197,243,161,145,63,49,250,241,187,253,195,89,137,76,97,251,225,200,3,71,
-25,198,197,102,28,93,135,147,126,88,8,57,44,95,156,125,241,114,161,199,
-93,94,142,163,89,50,95,142,118,106,253,70,215,50,2,72,41,13,235,65,161,
-71,221,241,112,49,18,114,201,53,65,90,116,121,128,100,142,25,190,202,159,
-254,205,39,32,142,142,143,62,247,103,221,162,187,248,252,252,248,228,248,
-114,184,252,217,39,63,125,244,248,209,179,79,63,167,114,177,236,47,95,109,
-82,167,151,195,37,30,216,114,185,56,93,189,208,142,143,30,156,208,224,72,
-191,246,195,127,100,195,229,203,87,23,227,40,227,192,179,124,161,253,250,
-40,109,86,60,63,82,53,82,152,133,202,218,169,203,178,33,85,254,223,65,47,
-161,202,107,218,74,132,220,170,17,176,55,234,122,171,217,68,133,214,247,
-242,117,200,28,239,177,164,24,57,162,18,212,188,188,205,215,89,173,125,
-199,117,192,113,113,126,225,240,156,71,135,167,78,13,118,113,121,177,94,
-175,199,180,22,87,27,92,148,195,114,1,99,234,210,152,71,21,186,38,116,70,
-180,0,0,1,0,73,68,65,84,17,116,73,36,133,10,135,141,163,121,30,55,43,203,
-6,138,39,29,114,206,40,121,99,173,210,137,229,114,222,66,110,174,214,140,
-108,158,232,70,23,105,33,142,130,173,167,179,187,151,119,47,164,144,6,24,
-8,42,33,158,109,204,50,186,88,96,25,58,89,202,140,15,107,205,78,224,193,
-35,32,90,138,159,242,104,155,245,102,28,37,123,206,99,118,115,151,140,13,
-135,243,65,84,250,101,63,94,230,126,217,155,27,192,113,237,161,214,158,
-41,10,67,94,44,114,206,184,92,197,25,230,172,131,229,76,97,74,73,152,0,
-97,180,149,168,99,144,183,85,239,155,99,107,50,192,80,180,85,96,141,17,
-179,182,55,223,11,10,239,229,29,72,132,200,156,112,1,149,166,158,45,143,
-58,228,60,58,140,80,9,189,161,189,73,79,217,74,186,20,110,188,75,157,3,
-73,85,32,81,201,5,71,30,179,229,188,246,141,109,92,148,195,106,244,1,253,
-162,7,1,149,113,157,33,174,157,208,41,137,14,243,145,171,141,15,227,40,
-73,37,109,216,143,164,116,169,235,58,39,181,228,103,79,73,206,183,39,15,
-66,18,204,0,0,1,0,73,68,65,84,28,110,97,173,11,10,87,145,148,146,4,161,
-4,80,72,171,33,245,224,179,239,181,250,29,74,244,51,137,251,78,1,59,64,
-125,28,134,44,163,137,185,128,86,107,245,34,168,119,160,213,222,68,179,
-120,211,106,148,118,222,132,103,207,163,69,111,81,24,242,144,59,73,200,
-244,209,205,124,244,188,194,218,70,19,17,127,121,54,30,141,20,164,94,21,
-162,157,56,13,134,245,200,49,143,201,115,226,64,90,215,245,93,215,171,2,
-222,87,4,34,45,41,233,230,41,66,69,110,199,132,56,0,65,233,11,26,109,110,
-88,112,126,53,211,247,138,253,142,197,65,41,214,26,226,84,66,61,211,70,
-29,178,140,14,19,80,32,2,201,68,201,147,127,131,99,122,115,230,205,72,186,
-193,179,185,80,3,229,24,180,83,169,29,31,0,207,121,28,6,104,210,241,124,
-116,203,84,118,163,166,196,212,73,172,5,52,80,178,103,154,40,178,118,92,
-44,251,190,91,144,37,217,107,222,213,225,109,160,236,109,212,122,170,241,
-158,7,26,11,26,218,223,46,228,94,190,122,105,113,3,119,34,26,91,103,228,
-44,84,198,152,225,0,0,1,0,73,68,65,84,217,196,42,1,91,137,147,235,158,80,
-123,207,43,3,225,238,136,184,114,116,201,84,106,210,36,42,32,172,45,187,
-36,116,161,197,234,43,14,53,192,50,0,27,205,134,97,4,29,166,2,235,145,61,
-139,139,19,41,117,125,223,169,166,60,82,85,235,40,154,85,165,220,86,147,
-110,111,173,1,48,186,107,5,8,57,220,48,228,94,222,141,76,38,37,152,16,186,
-163,208,32,53,87,170,133,23,94,255,92,74,183,138,210,117,165,194,92,159,
-53,113,245,104,202,53,26,133,81,184,29,125,134,29,4,23,41,37,85,136,139,
-48,86,175,113,152,91,54,152,251,232,46,128,136,118,41,41,40,150,93,85,80,
-118,3,194,91,19,220,122,190,191,113,116,199,176,233,250,24,12,122,178,120,
-180,148,165,111,242,81,234,135,97,200,57,183,16,111,224,111,17,241,104,
-109,75,146,81,244,23,136,229,23,214,160,139,239,255,49,238,255,185,169,
-148,16,202,148,221,93,16,243,168,150,197,72,79,34,29,85,160,148,78,186,
-197,223,60,254,51,71,62,217,60,220,164,245,234,232,242,136,15,79,236,233,
-208,89,160,31,64,40,0,0,1,0,73,68,65,84,4,109,74,23,226,160,79,28,53,127,
-106,150,163,86,179,79,198,60,228,178,14,182,155,231,97,28,34,232,40,212,
-196,36,80,90,180,75,16,161,138,75,30,177,94,143,102,66,118,235,193,55,78,
-116,139,81,210,218,199,129,29,210,163,203,13,50,70,237,108,216,140,93,247,
-196,125,101,177,228,13,44,40,7,55,113,83,23,186,16,82,91,119,185,139,187,
-188,46,141,245,214,65,203,128,83,177,176,149,76,56,132,111,135,137,238,
-229,45,133,51,147,189,245,32,188,142,128,216,254,53,206,162,149,157,222,
-58,153,59,62,159,155,171,181,215,60,118,144,20,213,36,162,165,25,223,149,
-252,134,123,8,242,206,164,122,54,149,234,8,83,220,58,47,79,148,25,240,181,
-54,177,22,78,250,92,172,48,13,119,189,4,194,45,214,60,71,131,89,66,73,169,
-11,181,158,57,36,179,155,118,143,173,223,149,180,39,32,194,218,206,192,
-41,22,237,48,11,247,199,210,107,239,107,85,107,105,58,29,221,203,8,67,91,
-10,249,174,190,229,166,31,96,93,157,193,61,194,67,189,106,114,167,68,37,
-58,107,151,84,159,133,70,0,0,1,0,73,68,65,84,246,123,121,183,66,72,81,233,
-168,38,16,143,31,52,174,149,78,250,108,234,255,122,68,89,115,177,72,149,
-232,12,246,115,160,214,181,236,5,0,8,73,169,83,73,94,27,73,214,144,231,
-189,124,61,194,146,11,15,9,107,29,177,116,248,132,95,103,93,82,191,22,145,
-154,157,37,209,41,92,126,62,64,200,156,232,33,2,91,75,41,217,40,166,224,
-94,175,191,22,41,118,184,172,77,29,216,90,26,182,14,59,253,245,47,13,35,
-144,150,211,84,195,71,119,175,214,183,89,141,96,46,66,137,60,190,221,2,
-221,123,121,231,210,162,115,59,140,71,227,130,227,247,215,219,8,180,197,
-90,56,5,234,125,182,28,195,221,200,141,173,181,136,56,70,200,70,197,8,118,
-120,120,164,15,101,52,43,141,171,133,136,102,170,90,131,251,165,237,131,
-151,54,254,4,248,115,88,227,120,136,111,190,169,220,21,63,125,72,118,250,
-14,77,253,86,44,59,220,20,163,114,72,204,157,178,239,211,98,169,227,240,
-226,232,103,207,151,207,211,250,228,209,229,19,104,94,117,3,54,143,189,
-228,84,79,15,205,128,95,201,49,203,0,0,1,0,73,68,65,84,49,90,246,236,147,
-155,158,103,6,205,89,150,219,129,136,139,186,170,203,102,252,44,245,50,
-230,229,232,39,235,204,213,122,5,73,24,196,198,149,231,181,219,0,228,104,
-67,105,164,177,174,94,209,120,30,160,70,63,174,147,219,128,172,249,49,167,
-236,153,125,166,250,30,143,188,51,169,73,202,222,30,73,108,117,148,229,
-19,156,19,137,245,53,78,172,68,79,40,9,115,223,108,198,213,106,192,56,148,
-94,88,119,39,183,81,235,121,196,190,250,40,210,48,117,155,99,238,65,201,
-59,21,70,10,135,19,16,137,36,85,0,238,146,157,230,52,135,129,6,184,112,
-155,182,10,169,22,241,171,62,77,197,145,48,69,214,212,122,109,103,103,155,
-245,102,132,126,237,225,152,109,137,64,163,76,43,142,204,32,211,189,82,
-191,83,41,228,116,161,174,149,165,83,129,100,147,209,56,58,179,71,133,1,
-33,97,141,216,74,200,106,161,245,87,47,98,75,113,17,186,144,195,134,151,
-23,190,25,28,233,142,169,153,155,243,214,219,70,56,212,90,85,39,236,51,
-167,68,190,118,199,251,151,70,88,202,57,28,61,164,213,166,0,0,1,0,73,68,
-65,84,244,136,200,148,2,15,205,46,230,52,103,110,212,181,132,49,98,20,3,
-204,50,76,190,250,231,165,88,192,33,204,170,2,95,172,87,221,102,163,144,
-59,237,18,242,54,149,231,33,213,90,235,212,216,41,254,185,183,213,239,90,
-10,51,93,173,117,201,128,107,214,218,162,88,186,42,125,41,251,152,162,234,
-111,82,49,115,7,34,16,98,20,1,146,192,151,155,53,86,43,218,112,199,234,
-114,23,32,164,66,235,58,218,239,107,26,191,14,169,57,67,36,40,181,166,131,
-51,108,77,115,214,254,163,219,244,70,235,205,253,14,76,145,10,129,1,28,
-84,133,88,108,214,221,197,185,159,159,127,253,225,152,144,41,103,175,210,
-118,211,61,153,189,184,215,236,119,38,147,169,157,135,199,163,248,220,89,
-151,1,65,13,8,183,95,51,121,7,79,75,162,233,53,70,33,224,58,14,178,90,249,
-229,106,184,219,111,185,13,8,49,147,64,72,14,75,138,227,238,145,14,79,144,
-191,116,55,52,174,50,90,6,153,109,229,91,219,44,223,250,0,245,88,237,200,
-44,229,172,81,151,95,165,220,148,90,190,105,245,34,48,164,0,0,1,0,73,68,
-65,84,63,236,187,58,206,14,101,91,233,39,184,165,178,158,13,205,64,19,247,
-68,244,162,28,95,242,75,246,207,245,232,201,201,234,88,86,150,109,204,75,
-179,139,181,195,200,44,226,81,24,235,128,27,188,80,215,245,249,84,70,203,
-189,44,118,108,238,44,235,107,70,31,226,253,150,81,216,146,154,128,50,210,
-40,34,23,227,101,39,125,202,189,108,84,187,81,59,57,91,63,94,255,44,117,
-143,254,159,164,203,62,61,80,244,98,74,103,172,233,184,161,147,46,112,168,
-19,6,137,234,250,215,68,20,222,2,132,180,74,139,26,57,154,147,32,211,30,
-247,242,78,100,119,186,172,214,65,53,137,2,146,157,217,90,93,162,231,171,
-236,30,176,253,196,184,245,102,179,53,172,15,252,118,254,101,68,246,219,
-167,219,82,225,227,230,36,143,139,108,116,100,231,224,200,14,135,133,19,
-32,168,57,116,0,174,47,89,11,185,157,203,184,213,193,33,218,167,54,60,125,
-21,138,220,203,187,17,214,100,248,26,204,5,73,149,142,226,46,155,204,141,
-193,197,197,65,120,110,201,150,161,234,77,101,125,50,78,94,202,215,119,
-166,0,0,1,0,73,68,65,84,60,201,64,46,225,69,177,37,157,148,13,55,62,73,
-106,209,212,104,9,82,243,11,215,23,79,109,97,148,76,29,52,101,193,130,232,
-136,36,18,75,115,43,91,31,26,188,190,213,194,45,87,35,152,171,181,136,104,
-82,110,239,81,236,247,189,106,191,51,153,77,158,113,255,171,18,38,227,104,
-60,207,114,153,233,42,137,54,74,164,53,108,213,201,56,203,146,203,83,251,
-128,166,60,142,169,197,1,43,162,184,29,219,213,64,102,225,128,157,97,176,
-207,207,30,44,242,6,186,98,26,161,6,233,4,172,13,239,34,237,47,58,227,236,
-113,9,174,202,237,58,166,150,223,209,181,76,40,170,169,94,236,12,25,191,
-174,196,249,94,238,84,170,66,206,152,14,17,138,119,25,227,136,243,1,151,
-38,78,233,19,115,167,151,174,42,102,21,10,212,81,49,211,221,89,25,238,93,
-186,54,132,0,90,215,104,100,233,2,1,93,93,46,12,144,46,75,55,186,120,151,
-152,148,26,108,14,8,103,153,71,10,191,243,26,189,122,91,222,26,177,72,187,
-106,27,215,245,244,121,171,193,124,47,183,20,54,123,197,210,142,200,0,0,
-1,0,73,68,65,84,77,111,16,33,86,67,1,86,89,138,181,118,38,66,68,74,95,151,
-250,105,119,52,172,93,179,73,90,185,117,237,169,16,59,122,75,54,186,85,
-9,162,23,212,81,141,126,53,198,163,81,114,218,12,189,172,29,98,14,5,204,
-117,80,147,240,29,81,117,249,77,190,243,182,32,100,250,7,132,232,86,223,
-237,201,185,184,71,33,239,86,26,62,174,19,61,153,36,13,122,233,44,216,218,
-161,14,58,178,80,91,146,168,239,243,245,231,6,187,24,109,115,115,167,185,
-75,233,62,108,110,138,27,6,8,75,63,6,210,171,169,22,33,85,212,33,146,109,
-49,12,10,25,221,13,24,20,185,103,31,76,8,1,10,218,124,116,253,151,220,129,
-181,38,16,129,90,110,109,187,151,175,67,102,200,51,84,91,53,137,48,152,
-16,111,237,150,45,55,192,49,247,191,170,189,7,208,172,226,100,165,189,101,
-111,23,130,239,54,208,100,94,93,133,74,176,144,212,14,20,129,107,30,35,
-135,127,67,205,206,161,83,7,220,205,163,139,200,27,106,214,205,213,218,
-157,164,187,155,153,170,2,240,141,30,219,227,148,26,51,176,58,0,0,1,0,73,
-68,65,84,250,243,139,51,23,166,212,173,134,149,25,132,105,180,44,34,230,
-16,179,182,248,230,14,145,114,229,240,62,71,115,49,58,127,14,195,58,95,
-117,63,236,155,238,175,226,163,15,177,114,47,196,51,204,56,48,217,70,62,
-191,224,73,94,156,29,231,103,249,204,197,47,93,94,154,127,96,221,203,205,
-48,12,48,232,66,140,158,71,243,13,105,231,217,72,62,120,240,224,244,244,
-149,168,44,150,139,23,95,188,120,252,228,177,108,86,201,83,114,237,101,
-49,186,39,73,150,165,215,254,243,243,211,15,63,252,112,179,190,236,209,
-61,92,60,112,213,148,150,171,213,234,164,27,104,46,22,32,218,130,45,19,
-33,116,48,186,1,153,73,164,139,86,146,6,31,198,49,137,36,81,38,129,118,
-153,186,54,27,70,140,150,187,142,125,47,137,2,66,224,164,49,58,158,65,80,
-208,174,238,224,130,183,91,141,160,190,168,161,216,50,244,127,238,116,240,
-151,66,56,1,135,169,64,134,74,21,136,57,5,162,209,131,207,9,115,31,224,
-131,219,104,240,76,32,99,112,142,164,33,173,135,113,124,113,250,229,106,
-238,98,211,120,0,0,1,0,73,68,65,84,189,50,183,135,250,112,141,83,46,150,
-235,188,122,181,94,139,203,131,229,9,201,245,197,186,235,210,163,254,241,
-131,199,15,70,123,37,9,208,188,30,179,90,18,217,104,47,144,62,120,139,40,
-125,49,139,31,151,178,8,18,0,52,119,212,221,167,92,89,16,16,196,34,172,
-81,16,150,125,28,13,112,85,119,113,157,138,81,14,114,231,111,5,66,188,208,
-68,37,55,149,100,153,97,42,97,255,54,7,191,151,27,10,57,235,65,86,124,49,
-65,175,93,98,114,168,120,89,161,214,179,231,49,99,45,190,129,13,217,152,
-157,150,125,147,57,0,118,57,124,217,117,105,204,227,226,113,186,92,173,
-198,142,175,134,79,121,182,234,31,158,176,39,20,207,135,231,169,79,92,208,
-151,139,207,199,207,143,95,190,92,173,86,239,61,125,239,104,121,188,25,
-244,248,248,36,121,62,234,143,50,58,210,21,200,209,212,202,17,173,211,116,
-210,221,162,208,110,102,38,169,120,98,2,87,68,109,140,68,159,204,149,185,
-154,49,103,119,55,109,252,53,162,81,94,9,71,238,232,218,205,107,25,171,
-42,207,161,85,232,47,157,111,0,0,1,0,73,68,65,84,73,226,147,105,153,198,
-162,214,135,193,198,189,220,181,72,229,38,10,197,23,11,196,81,68,69,50,
-1,119,203,121,216,12,155,188,94,13,212,77,30,135,97,51,172,179,140,89,198,
-141,175,71,12,16,27,237,146,233,232,243,47,63,207,103,249,116,56,253,0,
-239,95,242,82,77,135,151,231,195,48,28,159,28,105,210,71,203,71,155,97,
-195,5,251,190,31,54,107,75,89,143,116,196,184,218,172,57,234,106,220,156,
-174,206,159,62,253,48,231,14,6,56,197,37,161,180,72,218,58,229,10,245,221,
-205,12,102,98,6,119,113,75,84,37,147,80,69,33,101,45,28,184,179,212,66,
-136,71,243,28,7,233,108,107,177,182,3,223,102,53,130,249,89,53,107,157,
-146,10,37,79,145,86,162,213,24,221,203,87,47,132,178,249,99,213,84,171,
-18,74,77,34,73,156,182,25,215,151,43,185,24,206,46,198,177,119,174,242,
-106,101,103,131,175,7,31,214,190,26,124,116,250,249,217,217,135,125,151,
-147,140,158,145,211,133,111,86,58,94,94,124,241,189,15,191,255,179,79,63,
-25,23,221,98,217,247,125,247,79,253,247,129,0,0,1,0,73,68,65,84,201,167,
-159,92,174,46,30,61,126,212,9,251,197,226,60,175,109,116,101,119,212,73,
-159,22,217,112,49,156,119,232,144,50,205,213,105,80,208,98,58,241,230,121,
-98,202,113,49,115,203,102,217,45,67,85,128,36,236,85,146,38,175,43,54,91,
-124,212,28,48,168,36,175,1,157,136,233,204,135,204,45,173,245,214,13,109,
-32,68,202,58,58,196,61,8,121,247,82,3,209,17,100,20,23,161,42,115,231,178,
-96,50,193,185,173,243,165,173,135,243,205,171,115,27,87,106,231,118,122,
-97,167,3,215,163,15,27,219,12,158,157,188,196,229,203,203,151,235,188,202,
-28,121,140,207,206,62,91,158,44,82,159,254,250,147,191,124,239,253,247,
-158,190,255,240,199,63,249,113,122,192,31,254,250,119,158,190,247,244,39,
-63,253,9,79,22,39,143,143,158,191,120,70,215,71,15,158,60,187,120,246,240,
-228,145,48,73,30,178,118,180,44,230,201,153,33,22,220,162,209,69,118,89,
-129,25,248,54,51,179,236,174,112,115,24,217,67,40,69,173,13,52,143,112,
-76,137,206,136,239,144,147,0,222,30,91,135,150,12,134,30,214,0,0,1,0,73,
-68,65,84,55,108,13,148,105,240,94,173,223,185,68,150,69,177,43,17,108,166,
-128,11,79,38,160,242,212,55,190,222,108,86,23,195,217,10,216,240,226,194,
-78,87,118,154,185,49,177,193,115,118,0,250,222,211,163,151,175,158,93,228,
-115,237,244,91,31,125,227,242,197,240,7,255,254,239,255,230,239,252,230,
-191,254,239,254,245,175,255,254,15,191,245,241,183,206,254,248,249,15,127,
-231,227,31,253,227,31,125,239,251,223,251,227,255,245,143,63,250,232,233,
-147,71,79,254,205,255,246,191,31,31,61,120,112,244,232,223,253,201,159,
-126,153,215,125,191,88,226,33,188,239,156,131,203,224,210,153,140,38,98,
-166,158,220,109,210,234,26,155,142,6,79,193,133,103,27,37,99,52,71,30,57,
-46,85,75,7,211,186,50,78,180,140,21,130,30,209,199,186,110,118,83,184,59,
-224,173,49,5,250,129,169,225,211,158,49,116,47,239,76,166,68,134,4,237,
-197,77,153,152,49,102,27,55,182,30,185,56,207,167,151,118,182,178,115,151,
-17,238,25,112,8,192,213,248,50,243,252,215,255,254,247,255,225,31,254,195,
-63,205,42,134,69,0,0,1,0,73,68,65,84,248,209,239,253,201,159,254,219,63,
-250,103,127,244,123,127,240,123,255,244,95,254,209,163,71,15,143,31,28,
-255,238,191,253,157,111,127,247,219,143,30,63,250,232,27,31,246,31,241,
-233,209,226,131,247,63,176,238,226,135,63,248,213,15,223,251,230,226,161,
-228,209,31,156,60,252,191,255,151,191,112,138,97,48,12,230,67,182,33,231,
-77,150,218,200,184,214,46,176,113,184,225,76,130,238,102,238,217,92,178,
-81,212,199,222,65,81,168,68,248,6,172,43,59,109,145,110,219,40,36,77,107,
-78,190,217,186,140,173,26,183,105,114,24,236,163,252,72,198,231,110,23,
-232,137,172,150,147,219,40,200,40,67,112,178,235,230,230,6,47,243,77,97,
-169,91,69,157,31,16,222,144,252,63,116,21,63,135,45,74,238,68,70,191,136,
-48,52,12,230,57,51,231,62,91,178,252,226,225,240,228,167,221,49,186,254,
-120,253,87,63,93,111,30,174,198,135,167,71,95,92,158,158,189,26,95,29,247,
-203,81,120,186,250,242,247,126,244,187,255,238,79,255,228,71,255,228,223,
-251,175,254,219,255,244,127,248,31,255,197,4,51,168,0,0,1,0,73,68,65,84,
-251,143,191,243,241,127,241,95,254,103,20,60,253,237,7,31,124,248,222,197,
-226,229,195,111,165,205,240,106,24,78,127,227,119,127,232,238,235,225,203,
-191,123,118,250,244,195,227,213,250,213,167,151,195,111,253,232,239,91,
-246,51,251,252,95,252,231,255,68,152,220,221,23,171,179,47,207,124,227,
-50,12,103,103,175,198,13,187,254,113,242,135,103,249,172,79,61,244,72,122,
-65,7,138,208,85,70,205,88,19,234,2,106,162,9,77,105,9,57,129,107,135,26,
-59,66,68,133,73,69,85,84,204,71,0,165,227,129,128,178,149,75,120,55,214,
-26,128,136,146,117,245,49,224,205,44,245,68,149,236,68,40,119,211,195,238,
-25,149,215,73,203,112,2,32,16,23,119,117,146,71,143,78,86,158,22,93,250,
-224,195,247,215,31,61,254,105,127,249,234,226,203,85,119,154,30,141,143,
-60,165,133,175,242,230,63,250,231,63,250,157,223,253,173,63,252,103,191,
-249,159,252,203,255,248,225,183,143,63,254,222,127,115,242,224,152,9,47,
-95,190,248,214,119,191,209,245,233,207,254,226,255,252,248,155,31,143,24,
-82,252,61,0,0,0,1,0,73,68,65,84,220,220,114,202,217,214,235,21,201,17,235,
-113,92,103,100,101,114,3,93,28,174,98,110,248,195,127,252,251,235,203,245,
-234,116,245,233,223,62,251,219,191,252,217,234,226,98,195,213,162,91,38,
-73,137,73,161,52,122,118,163,65,29,90,157,177,45,62,98,234,81,127,213,204,
-181,157,230,182,181,125,56,93,111,155,223,92,84,123,149,142,133,102,106,
-33,216,215,43,227,68,183,114,246,211,222,243,146,57,124,103,128,230,23,
-21,24,213,102,168,113,3,5,2,192,233,71,15,22,139,85,127,178,60,122,192,
-147,243,229,250,179,225,167,103,56,127,240,100,249,234,242,147,127,245,
-95,255,171,223,250,7,191,241,63,255,241,255,244,31,252,243,63,250,246,247,
-63,134,90,191,196,243,211,79,211,34,141,178,58,59,59,125,181,250,114,35,
-231,20,92,142,167,175,86,159,15,195,224,142,148,52,231,188,94,175,73,174,
-125,145,7,235,251,94,165,131,83,145,186,212,39,237,224,60,121,252,232,193,
-123,71,98,122,252,240,72,251,238,226,139,193,55,246,249,217,207,62,214,
-143,21,162,174,204,116,184,209,172,192,185,208,191,0,0,1,0,73,68,65,84,
-55,136,73,73,14,41,90,83,82,78,156,238,98,110,241,71,161,190,45,174,241,
-186,53,45,18,174,204,215,87,185,142,55,145,46,245,34,137,84,32,51,210,210,
-175,63,70,121,4,83,18,67,203,18,159,127,178,157,200,189,86,95,47,54,43,
-180,5,74,190,181,171,15,182,58,94,30,61,57,121,210,177,27,79,94,45,190,
-231,223,120,252,241,223,251,237,239,126,227,123,255,244,63,252,23,127,244,
-189,31,124,231,209,175,28,127,251,123,223,250,155,159,252,245,226,184,95,
-202,98,133,83,219,216,184,26,204,199,53,87,207,62,251,201,102,88,247,139,
-254,211,47,47,134,97,0,209,119,189,187,111,54,27,17,89,98,57,172,188,31,
-22,93,234,224,146,164,91,216,178,211,30,224,249,120,222,105,119,220,31,
-245,79,229,7,191,245,109,91,201,167,63,253,226,197,159,255,213,38,191,39,
-25,221,216,41,21,112,36,119,100,167,68,79,156,208,136,89,238,202,148,83,
-69,163,211,140,12,181,22,45,138,218,120,139,249,221,152,172,245,91,154,
-237,174,59,78,186,32,180,38,104,109,229,203,92,149,102,40,165,20,210,0,
-0,1,0,73,68,65,84,131,203,192,107,78,38,171,11,129,18,180,44,83,235,157,
-165,110,255,162,42,182,215,180,209,186,129,160,51,99,92,246,139,163,116,
-220,47,211,71,191,246,254,71,223,248,246,15,190,251,221,239,254,240,155,
-223,252,206,247,12,246,23,159,252,229,226,189,163,23,171,151,107,221,100,
-183,231,95,188,88,15,167,239,189,255,116,115,121,241,179,103,159,128,150,
-122,93,231,243,47,190,60,63,62,90,14,195,64,178,239,67,173,7,85,89,218,
-210,214,169,207,139,46,245,116,233,164,91,219,81,167,61,129,167,79,62,218,
-108,46,135,203,75,129,28,45,30,60,124,252,196,187,199,103,227,211,225,167,
-107,33,146,171,154,148,234,75,247,236,99,146,174,146,12,69,115,90,114,85,
-189,188,25,32,49,135,110,97,143,93,16,130,59,181,214,128,180,5,29,94,115,
-12,182,95,211,166,0,36,211,183,79,41,136,55,7,33,135,6,212,47,168,86,95,
-5,125,161,33,186,132,56,199,203,113,148,241,201,247,159,188,255,224,155,
-31,60,126,100,114,250,217,249,39,32,29,249,241,201,163,207,159,61,59,58,
-89,94,159,166,54,177,0,0,1,0,73,68,65,84,140,167,63,249,244,39,103,235,
-103,95,172,159,174,215,151,159,61,255,52,37,57,121,120,178,25,86,167,23,
-167,163,62,25,134,129,64,103,157,185,111,54,107,17,89,218,82,243,178,199,
-162,179,158,97,173,125,221,165,30,206,238,114,233,110,189,38,119,57,31,
-94,66,60,61,88,124,243,7,239,63,31,87,28,45,15,67,246,193,217,9,1,186,89,
-134,238,248,242,108,20,73,217,208,202,120,106,250,96,83,232,102,182,219,
-206,119,135,173,217,171,116,164,2,227,236,108,174,193,214,172,213,69,83,
-157,209,206,69,177,80,237,205,137,188,129,28,170,232,248,69,101,211,69,
-164,185,89,0,0,47,245,215,201,177,246,188,177,161,219,88,119,121,214,125,
-225,195,217,112,118,246,171,191,242,143,62,255,252,217,144,7,91,188,247,
-197,249,179,191,254,217,23,57,143,223,249,238,119,54,47,228,229,249,179,
-205,184,97,159,207,55,103,47,62,251,204,44,59,93,55,221,56,14,36,59,118,
-112,108,242,70,93,233,148,108,150,115,198,0,23,101,202,24,147,117,112,250,
-115,85,225,227,71,15,143,22,203,156,28,175,77,23,0,0,1,0,73,68,65,84,243,
-229,230,116,209,89,127,44,239,253,234,227,205,203,33,191,176,241,98,99,
-88,128,16,176,186,134,37,240,56,77,220,85,179,247,22,4,95,99,127,247,51,
-33,183,48,216,2,217,102,66,94,35,220,253,179,90,229,233,197,189,220,64,
-68,5,142,230,89,181,27,56,218,176,96,90,118,139,110,209,95,140,171,188,
-126,14,57,90,46,249,231,255,239,255,241,225,135,31,104,30,254,244,255,250,
-55,79,158,60,126,255,163,147,31,255,248,111,254,236,207,63,27,196,82,82,
-73,188,216,156,95,92,158,45,150,253,114,185,92,173,47,87,195,229,56,142,
-34,26,37,182,46,64,34,147,228,205,48,154,144,112,167,193,40,52,24,156,239,
-63,60,90,93,158,95,156,159,195,93,92,4,234,200,154,244,233,119,30,157,117,
-23,103,151,151,182,54,143,52,91,34,2,49,5,64,85,12,91,117,26,59,0,117,175,
-236,24,236,20,11,60,163,18,210,193,36,139,28,172,40,190,202,251,198,199,
-215,171,211,7,71,253,39,207,47,178,174,151,203,147,87,231,35,184,236,250,
-39,54,158,69,211,44,167,192,29,16,63,32,31,98,0,0,1,0,73,68,65,84,167,144,
-234,62,70,186,10,80,194,70,18,249,88,34,132,10,204,93,89,226,164,70,232,
-45,90,77,255,114,73,46,153,236,59,206,122,55,46,133,60,27,47,196,55,73,
-186,60,164,47,242,133,144,11,61,58,127,126,6,192,143,249,124,245,242,211,
-243,231,153,57,39,156,173,159,115,44,169,108,76,216,140,155,241,98,20,17,
-243,181,170,168,184,231,172,222,29,233,82,145,176,226,162,235,8,208,61,
-81,147,196,226,161,32,241,252,226,199,157,118,224,49,54,88,232,49,197,101,
-28,147,242,197,243,191,61,57,122,248,254,247,143,47,22,155,213,23,103,98,
-250,40,63,237,177,132,140,173,169,184,215,31,136,155,25,133,226,82,2,147,
-94,176,86,206,69,131,85,8,200,86,190,235,29,130,144,174,235,123,235,83,
-234,6,12,13,5,205,34,154,149,126,106,53,115,108,229,203,149,116,221,222,
-4,204,54,94,59,82,239,5,135,61,153,130,230,220,205,108,244,81,44,210,240,
-105,180,98,38,225,110,158,115,206,57,155,217,116,195,129,154,15,56,127,
-52,5,16,212,36,77,84,192,217,62,84,30,114,131,126,88,91,0,0,1,0,73,68,65,
-84,139,60,204,178,79,205,104,34,226,238,20,116,203,142,71,148,145,78,163,
-204,24,1,238,76,215,59,224,116,122,113,141,66,164,150,203,225,251,50,78,
-223,92,22,186,92,244,71,93,234,215,227,42,226,246,113,77,36,65,169,68,30,
-107,88,87,8,43,13,105,33,116,47,175,41,116,39,69,32,14,137,188,22,129,56,
-204,222,186,93,224,47,182,28,2,127,81,66,226,14,55,115,32,195,128,17,192,
-80,21,52,64,109,182,28,19,53,149,44,150,175,164,49,71,91,143,242,164,74,
-161,120,123,193,88,42,175,60,187,246,98,182,3,28,230,102,150,205,70,3,187,
-46,185,27,196,151,15,250,108,98,167,48,207,59,77,154,216,212,101,30,164,
-153,231,99,84,139,215,120,135,157,140,235,52,203,230,104,7,189,165,93,76,
-218,37,233,0,186,57,202,130,55,168,3,93,138,202,66,8,65,209,105,47,183,
-0,94,111,132,11,220,33,78,113,8,92,28,98,20,242,48,42,186,151,144,67,203,
-152,123,85,132,194,151,149,132,140,76,171,51,32,65,32,214,71,132,183,246,
-54,128,75,173,170,218,82,214,43,103,66,184,0,0,1,0,73,68,65,84,102,128,
-234,99,149,61,234,46,164,214,6,55,94,19,152,50,193,4,205,150,149,99,127,
-180,148,172,155,181,231,97,52,102,153,236,61,174,210,100,7,109,243,92,87,
-103,170,157,162,30,17,21,52,223,218,90,19,160,171,32,209,4,82,60,72,35,
-73,37,157,204,164,206,212,87,133,112,135,209,34,255,74,224,70,35,161,110,
-160,70,125,51,168,213,61,118,191,110,206,185,23,216,117,106,237,5,110,128,
-172,187,249,182,234,144,100,172,216,230,147,90,87,247,173,60,178,80,86,
-138,146,90,94,64,132,74,138,80,133,42,162,82,22,91,148,178,79,176,8,81,
-100,235,217,157,52,186,229,172,163,233,200,133,112,225,48,51,140,194,110,
-110,161,235,196,222,224,204,236,205,153,76,151,80,124,198,242,103,186,198,
-59,188,145,120,134,48,37,77,66,49,80,203,28,225,165,71,38,234,224,70,109,
-173,236,251,173,117,132,97,4,226,148,90,228,70,167,220,241,226,34,191,112,
-114,16,132,52,139,204,70,49,0,240,108,192,196,191,78,68,26,236,144,90,203,
-4,26,119,49,9,183,182,108,253,174,64,34,49,193,28,46,0,0,1,0,73,68,65,84,
-86,170,166,155,25,232,198,188,193,74,21,178,236,212,232,163,85,80,62,157,
-16,39,220,81,125,175,173,235,157,126,199,133,176,245,92,155,171,245,27,
-102,240,29,190,173,72,210,69,74,64,22,168,168,51,79,216,58,188,14,111,142,
-96,100,24,90,85,107,171,74,111,2,113,184,81,196,163,229,137,24,132,112,
-185,207,117,186,86,14,5,97,69,82,81,208,178,254,185,21,101,149,84,59,128,
-52,237,224,220,32,238,170,245,92,89,231,63,13,97,110,189,85,76,24,162,43,
-100,61,164,8,96,174,73,93,108,99,235,14,186,92,46,123,235,252,178,181,108,
-154,225,162,45,167,113,98,126,139,149,222,178,213,192,78,190,245,173,145,
-244,149,251,7,133,38,237,146,38,176,117,193,178,10,127,38,26,100,238,62,
-114,190,165,18,240,109,250,41,233,59,113,33,247,125,207,110,37,20,169,165,
-82,53,224,97,238,112,73,201,221,217,192,103,251,15,214,102,253,48,127,141,
-137,10,101,170,207,102,190,229,10,19,178,77,100,213,189,202,96,81,149,44,
-54,228,81,48,106,39,169,215,113,61,139,158,113,235,150,105,108,82,0,0,1,
-0,73,68,65,84,159,173,141,147,174,86,99,61,17,54,91,47,82,74,201,204,68,
-36,165,4,32,94,95,119,155,14,13,3,199,106,92,63,125,242,241,243,243,87,
-23,23,159,47,78,210,229,106,189,232,31,94,174,94,186,103,120,46,75,22,210,
-72,23,241,156,135,152,152,74,179,228,168,229,68,26,120,233,98,32,96,81,
-84,79,80,169,242,218,182,107,191,228,114,40,195,216,205,170,94,41,34,145,
-162,217,195,93,123,23,7,146,218,217,154,2,109,16,182,211,158,160,136,42,
-53,64,180,148,162,111,157,236,20,73,113,196,162,212,62,5,29,50,11,74,113,
-138,10,198,209,20,221,9,58,69,63,250,58,47,70,246,210,157,45,99,234,144,
-49,117,76,17,194,4,224,194,214,127,15,238,116,208,156,181,56,166,24,239,
-89,242,95,185,136,29,38,228,109,140,119,44,196,35,165,185,91,57,142,136,
-68,19,8,3,5,116,136,4,109,23,5,109,226,14,41,236,135,121,237,204,41,2,119,
-138,211,45,42,235,239,93,198,219,10,15,173,54,116,240,118,22,59,141,25,
-226,14,158,174,186,157,0,106,105,95,169,38,197,48,198,51,0,0,1,0,73,68,
-65,84,175,116,118,249,248,182,157,110,84,92,243,2,183,168,233,45,250,163,
-58,136,241,183,95,57,203,55,213,129,187,3,33,132,80,84,146,138,10,181,26,
-98,10,197,67,221,93,195,50,59,69,220,149,106,48,0,206,8,39,42,4,238,46,
-38,78,135,35,86,200,20,87,48,178,91,238,41,190,219,8,101,255,243,189,142,
-239,170,100,32,27,228,224,44,40,19,238,31,163,137,94,49,148,2,33,68,16,
-125,206,3,80,151,45,44,150,52,154,58,237,64,150,9,130,82,170,210,215,182,
-215,168,93,64,42,58,218,161,170,175,147,61,225,152,91,222,63,135,82,147,
-166,164,73,169,141,177,22,132,207,23,115,70,185,41,109,225,30,119,23,208,
-170,215,136,184,178,186,188,9,183,7,253,45,79,236,151,91,110,121,223,90,
-41,72,181,199,100,168,108,104,167,176,232,168,40,203,242,165,117,173,71,
-17,72,60,247,210,55,50,52,62,246,105,92,74,211,254,230,89,73,197,228,81,
-106,44,94,113,60,118,20,160,249,179,215,200,196,91,191,173,56,68,180,67,
-234,180,83,73,82,200,124,151,50,136,69,34,138,124,15,102,0,0,1,0,73,68,
-65,84,188,226,134,186,56,32,96,177,48,72,84,217,211,29,110,226,98,112,70,
-223,124,119,129,185,11,224,226,247,214,250,54,114,200,78,93,99,173,189,
-218,107,160,98,12,167,66,73,42,85,169,66,85,106,221,146,72,182,45,241,160,
-9,74,249,83,117,122,43,88,237,226,61,74,44,231,91,98,249,34,90,21,93,218,
-220,128,73,159,155,205,222,245,29,247,75,33,248,246,150,24,220,76,28,0,
-21,41,112,136,138,11,149,132,138,186,187,89,22,198,24,140,85,46,221,221,
-80,24,107,19,136,193,194,108,139,40,189,128,19,167,59,10,56,185,243,21,
-41,127,201,229,186,229,49,42,57,130,10,173,9,168,84,181,46,94,163,106,137,
-179,75,241,217,66,89,39,75,92,172,248,236,53,171,181,102,97,6,39,130,132,
-104,169,74,172,214,90,74,67,178,201,81,107,152,232,181,214,250,174,194,
-49,176,56,9,170,168,50,86,255,21,23,36,116,229,70,69,76,221,0,32,163,132,
-84,91,194,130,66,97,32,220,37,57,140,102,229,138,45,86,20,244,67,65,180,
-123,185,94,110,145,119,62,85,165,84,96,147,116,120,52,0,0,1,0,73,68,65,
-84,13,66,69,11,39,21,58,29,30,20,40,147,114,75,213,233,210,250,160,193,
-15,206,160,72,85,107,236,168,53,107,244,188,81,188,87,213,185,254,1,28,
-62,249,144,253,46,227,109,44,119,69,99,82,200,249,232,34,207,98,173,213,
-28,10,119,45,17,1,117,51,39,220,96,177,20,4,75,51,112,133,90,176,165,86,
-75,210,45,156,135,251,56,227,109,196,14,128,13,57,252,124,91,89,247,204,
-88,163,44,71,87,250,208,84,71,176,242,36,219,46,224,220,208,55,245,109,
-56,185,58,125,213,228,146,179,6,122,190,163,208,51,185,137,62,166,174,235,
-162,247,116,152,237,113,28,83,186,13,61,226,189,103,140,134,124,114,244,
-232,244,226,116,157,47,150,203,71,231,171,115,114,164,121,37,77,157,116,
-145,96,29,29,238,34,89,65,128,78,129,171,187,13,235,33,34,47,132,74,92,
-190,2,238,171,60,214,155,133,249,173,177,124,199,11,176,254,130,201,53,
-234,187,87,10,197,86,242,249,171,86,147,34,93,181,205,66,38,162,100,50,
-113,90,137,75,162,70,187,101,184,121,48,5,229,167,166,141,42,170,112,108,
-0,0,1,0,73,68,65,84,176,19,168,50,41,146,122,162,11,12,112,207,139,83,248,
-66,141,68,175,210,41,132,110,48,215,222,201,12,184,187,138,104,12,43,128,
-145,78,65,22,0,16,77,104,218,85,236,169,101,188,181,84,52,79,41,129,83,
-19,82,169,46,150,69,213,181,166,45,1,128,65,221,131,202,131,19,106,8,66,
-48,5,8,169,217,226,40,197,64,166,212,250,29,115,206,231,237,151,183,190,
-151,45,169,180,24,106,130,84,195,194,5,108,104,73,105,18,165,110,113,127,
-115,18,112,178,226,51,7,112,110,167,81,221,62,103,161,238,208,94,204,78,
-165,228,8,225,205,160,199,36,147,203,248,150,202,29,254,114,193,214,162,
-98,52,136,82,33,29,52,166,66,167,51,178,216,45,80,135,187,185,128,66,19,
-146,102,230,112,75,217,220,204,51,157,209,96,28,14,39,75,121,204,252,210,
-25,145,155,123,208,125,151,66,114,94,241,221,144,68,117,16,85,41,225,50,
-74,177,202,129,176,171,53,166,200,108,207,186,93,10,63,88,179,94,167,97,
-208,166,131,57,165,59,223,220,8,145,155,40,104,225,173,223,50,207,169,252,
-248,89,174,0,0,1,0,73,68,65,84,136,131,20,149,148,52,73,86,208,85,147,195,
-133,174,52,99,5,199,66,24,149,238,52,154,68,214,19,98,225,4,120,210,206,
-220,44,230,166,234,42,154,215,168,194,149,65,123,87,209,164,123,9,41,214,
-26,152,131,144,45,198,99,246,19,225,147,185,18,55,117,87,138,136,170,108,
-237,95,152,144,3,106,45,87,212,154,51,137,179,123,195,171,216,229,173,235,
-28,116,27,227,29,51,70,39,41,73,167,84,194,147,116,53,227,35,186,241,0,
-136,201,141,177,204,36,153,195,207,4,153,33,238,230,210,187,91,182,177,
-185,14,217,65,90,157,179,218,175,123,249,74,164,66,132,178,10,77,243,5,
-5,90,130,44,149,156,46,252,180,164,192,220,66,73,146,170,109,102,98,210,
-242,163,138,202,91,151,24,77,33,4,165,64,28,65,161,242,98,163,212,232,14,
-182,244,250,38,10,57,129,144,183,189,31,30,56,169,90,107,10,168,73,212,
-44,185,120,22,83,175,106,45,164,49,114,64,90,241,23,64,120,142,134,0,230,
-198,58,41,145,145,222,110,244,92,33,95,124,219,189,130,127,37,82,64,72,
-249,7,6,186,60,0,0,1,0,73,68,65,84,3,213,98,162,49,208,205,238,86,54,186,
-128,144,160,252,116,6,66,90,85,129,64,231,249,66,59,200,187,98,231,57,52,
-151,102,196,27,10,194,214,204,252,154,7,191,203,91,191,45,8,65,197,214,
-16,208,84,52,49,150,100,55,184,231,112,0,140,70,161,195,220,205,149,28,
-25,43,182,151,176,34,202,210,57,38,98,146,141,217,213,221,232,227,108,244,
-121,107,242,122,7,3,242,94,102,210,166,107,52,39,142,36,169,51,245,85,166,
-166,190,193,123,84,84,221,144,116,89,138,105,194,30,237,103,75,173,113,
-64,173,177,173,214,205,223,124,99,16,242,86,122,188,247,190,20,234,186,
-12,59,161,138,184,138,154,27,16,61,44,34,143,201,233,193,120,120,144,211,
-209,135,138,37,162,30,23,234,20,208,37,214,22,169,129,130,249,127,112,187,
-231,179,239,82,200,105,33,140,89,56,134,21,49,171,48,104,54,109,169,154,
-251,144,240,28,58,204,93,63,98,210,206,25,223,13,108,171,108,236,219,90,
-86,239,250,85,175,181,100,37,223,186,33,108,146,57,231,91,36,138,100,140,
-76,0,68,76,142,119,167,185,56,0,0,1,0,73,68,65,84,211,241,74,207,47,198,
-51,42,124,0,93,148,157,11,162,208,136,164,208,36,155,129,6,50,138,40,72,
-133,56,125,116,115,48,178,88,149,146,145,12,230,116,177,117,92,85,155,34,
-35,29,119,196,24,127,85,203,93,204,247,232,99,37,3,235,240,71,220,222,105,
-24,112,246,191,29,92,32,113,255,176,57,148,254,125,211,104,232,77,211,200,
-111,23,109,109,183,162,177,108,118,32,188,229,30,197,232,165,140,170,220,
-63,135,176,43,182,153,2,36,64,224,2,48,117,29,80,136,63,173,54,59,194,146,
-197,82,179,2,104,17,40,251,156,24,44,33,69,90,72,6,200,38,69,21,104,148,
-76,117,8,156,222,130,42,241,92,155,181,143,98,245,67,200,123,79,229,249,
-91,72,59,78,131,71,84,137,124,112,115,136,67,221,45,188,17,247,84,172,117,
-101,178,233,52,184,186,186,11,61,151,128,147,1,78,135,151,165,77,235,67,
-157,224,8,43,228,158,128,201,180,95,163,183,247,94,227,124,227,161,4,206,
-67,19,223,161,81,112,83,190,241,166,203,141,30,58,190,31,84,83,204,238,
-193,196,143,242,108,141,102,99,0,0,1,0,73,68,65,84,192,117,9,164,142,180,
-25,19,130,8,47,6,182,86,161,136,104,208,26,168,106,59,209,115,104,42,213,
-208,195,100,87,80,193,7,24,206,24,209,90,136,86,123,188,245,172,234,235,
-27,41,233,68,240,189,165,114,147,82,83,207,69,40,213,155,117,85,210,50,
-106,36,134,238,86,242,169,205,17,13,94,133,46,153,66,55,113,35,162,153,
-177,208,133,166,198,81,220,108,214,9,96,230,44,58,128,82,67,81,21,187,57,
-149,202,121,13,234,60,30,124,0,180,28,204,253,217,191,255,161,81,112,83,
-107,122,112,52,29,144,67,199,63,56,219,108,199,55,218,182,67,79,155,162,
-237,38,79,208,26,84,73,85,173,69,153,102,254,159,84,222,186,230,54,149,
-52,166,66,107,212,172,235,178,133,16,180,212,145,192,38,62,143,183,176,
-197,216,17,113,144,25,9,120,131,112,76,187,212,166,217,183,213,111,134,
-210,49,200,107,73,34,90,86,149,23,120,169,189,85,55,7,225,110,144,100,81,
-99,23,100,8,72,152,211,224,230,116,186,192,133,209,146,202,141,110,16,223,
-101,66,154,69,174,43,177,98,134,107,242,159,246,0,0,1,0,73,68,65,84,69,
-34,124,51,105,122,49,239,222,66,172,59,10,127,248,170,111,104,173,111,118,
-211,110,110,173,15,108,63,60,219,236,217,23,113,215,246,30,159,226,220,
-9,158,19,193,132,112,198,132,84,176,65,42,129,48,225,218,92,198,226,86,
-109,209,38,179,143,212,201,220,5,213,90,215,89,97,134,183,155,102,207,70,
-227,27,74,170,147,251,29,68,25,107,93,150,168,36,213,164,150,90,137,187,
-66,29,177,76,147,196,212,0,128,140,229,174,89,231,41,115,143,117,156,108,
-103,187,148,194,233,34,69,177,99,124,187,128,147,230,150,112,60,220,43,
-111,89,186,45,22,135,52,218,52,160,161,152,182,255,65,83,112,192,186,31,
-28,4,55,181,190,55,219,253,224,241,229,144,194,23,26,186,252,229,219,155,
-247,31,169,221,150,170,107,1,141,233,193,55,111,243,214,83,148,81,164,48,
-36,2,84,184,82,24,107,105,41,215,132,86,86,36,186,136,212,150,2,213,48,
-111,145,122,187,17,25,190,225,13,219,106,168,240,54,154,93,33,110,156,135,
-168,168,136,10,44,50,246,156,46,145,97,90,236,128,33,212,183,139,146,66,
-0,0,1,0,73,68,65,84,27,181,50,6,100,9,217,184,149,124,61,22,155,29,124,
-54,246,89,106,120,109,198,181,13,173,81,194,147,94,23,32,105,111,135,177,
-246,57,106,41,126,246,33,244,176,255,158,252,188,185,140,215,63,186,242,
-45,211,108,119,205,236,36,179,140,144,201,219,150,25,216,104,92,94,68,19,
-81,183,235,204,138,131,181,142,166,17,124,85,227,139,7,73,194,107,17,21,
-154,93,158,41,113,44,106,81,85,253,70,6,96,79,190,245,173,149,187,129,251,
-88,43,90,168,68,86,17,163,213,76,171,208,55,2,102,128,187,27,44,138,35,
-178,9,145,37,52,189,70,100,2,121,155,75,45,221,157,158,74,123,66,30,173,
-66,103,164,95,168,172,193,38,200,141,9,133,80,230,234,62,237,31,73,224,
-251,100,191,21,252,249,115,25,15,233,123,188,141,106,80,102,189,17,247,
-30,159,173,127,250,86,240,156,72,156,212,55,77,136,2,21,156,84,197,149,
-200,187,71,131,31,21,186,20,3,127,67,108,189,227,124,162,157,219,117,114,
-199,188,181,151,121,162,246,64,113,74,113,65,84,220,20,6,87,122,1,16,165,
-249,33,150,0,0,1,0,73,68,65,84,165,16,23,128,231,0,49,209,172,141,161,250,
-14,122,6,64,167,163,172,43,188,227,50,70,100,115,71,121,171,238,231,171,
-94,166,3,149,41,218,182,225,135,146,237,129,67,46,227,65,151,235,134,106,
-125,99,208,114,208,101,60,120,158,65,134,160,253,198,140,33,186,34,34,218,
-76,198,100,173,73,193,126,171,236,123,113,195,44,122,194,182,5,109,75,187,
-108,198,17,128,230,31,78,170,141,26,239,188,161,165,6,26,182,142,179,122,
-109,147,144,107,100,244,145,20,133,0,80,234,66,143,6,110,108,68,230,104,
-128,65,32,10,16,174,240,12,247,140,141,59,220,25,100,128,0,209,151,62,59,
-156,209,94,66,50,148,146,205,205,225,146,203,109,41,247,156,21,205,120,
-222,90,97,164,62,118,139,37,178,131,75,44,139,50,160,204,16,77,201,155,
-183,76,100,151,221,17,3,0,158,61,199,247,98,219,21,39,108,246,144,234,54,
-224,166,78,227,93,85,253,232,129,175,29,71,82,76,232,148,92,42,51,92,232,
-114,145,55,170,73,165,103,225,176,71,138,137,250,232,204,102,2,118,218,
-193,124,28,191,55,225,105,0,0,1,0,73,68,65,84,178,146,125,191,200,18,76,
-161,144,10,106,89,163,23,164,166,18,238,134,148,237,49,0,82,71,208,69,189,
-120,143,116,186,113,36,21,44,61,70,196,5,38,52,184,193,199,204,148,146,
-106,82,37,165,44,141,43,116,169,125,204,196,93,72,70,11,130,215,232,249,
-93,90,235,93,182,177,205,95,117,109,121,210,219,234,71,97,21,60,224,182,
-215,54,203,112,64,139,98,59,80,108,54,29,78,79,115,158,110,134,174,167,
-127,102,208,49,172,63,208,160,198,20,151,228,214,17,166,232,206,92,171,
-183,190,97,231,226,234,172,222,172,207,182,229,59,64,20,70,23,217,119,47,
-162,81,198,98,132,67,28,22,45,154,165,19,141,22,204,136,129,24,203,138,
-195,146,106,169,14,16,137,20,120,161,136,32,31,224,167,209,182,115,123,
-35,102,111,3,152,3,140,248,171,62,136,74,121,52,175,189,253,246,233,207,
-173,88,228,235,53,246,206,106,25,201,29,202,40,80,72,185,89,113,5,147,39,
-7,79,18,24,64,196,99,61,96,115,55,192,51,25,5,231,116,49,207,52,49,88,228,
-138,236,37,248,88,172,123,86,93,155,0,0,1,0,73,68,65,84,227,174,86,70,30,
-236,164,212,211,71,243,94,237,101,11,66,108,231,157,240,144,245,245,124,
-117,110,7,192,3,106,125,40,170,247,85,11,153,162,182,155,32,10,165,74,55,
-38,237,204,138,37,17,165,38,21,144,78,131,68,207,84,165,56,141,37,25,201,
-75,6,223,85,126,186,209,121,19,133,215,42,26,103,25,81,152,185,146,241,
-17,15,219,80,218,208,109,251,138,197,97,109,38,106,166,206,45,164,116,157,
-153,216,83,70,112,91,251,77,84,205,46,35,87,68,68,2,254,78,181,136,82,48,
-52,160,165,73,190,195,163,187,21,43,104,160,155,91,69,233,70,183,200,98,
-5,208,208,120,123,193,54,141,55,197,141,217,146,81,7,92,170,131,43,65,2,
-47,13,41,102,1,226,242,169,201,183,154,255,211,212,122,39,103,112,66,48,
-229,226,119,247,223,149,155,198,93,238,76,182,230,236,146,37,60,58,51,124,
-244,156,13,16,118,74,23,73,20,17,11,156,65,41,58,71,17,2,238,34,251,249,
-105,84,134,100,222,12,4,53,63,187,117,14,41,234,78,214,102,162,68,224,140,
-210,19,6,45,77,163,172,160,0,0,1,0,73,68,65,84,44,221,236,123,89,217,28,
-152,84,249,141,65,246,157,245,9,145,130,246,155,86,197,5,9,33,238,110,200,
-20,228,186,2,142,211,189,104,29,89,2,228,129,179,157,172,9,79,101,190,51,
-210,220,167,210,243,185,114,121,177,166,238,13,92,84,194,142,148,56,16,
-106,118,85,125,172,197,106,78,212,30,0,143,48,205,92,189,27,201,37,19,141,
-16,195,32,92,221,232,6,141,221,95,7,93,177,235,58,24,124,149,66,53,27,225,
-14,72,73,114,31,109,220,184,100,228,204,40,4,229,6,210,67,122,129,66,18,
-85,85,33,78,3,92,53,150,49,118,30,224,167,201,84,136,237,194,144,84,231,
-18,42,96,240,214,202,210,48,132,160,48,1,20,87,150,238,122,18,13,246,68,
-44,146,172,101,138,199,212,150,78,197,117,69,139,214,236,34,131,43,114,
-119,13,21,118,176,53,25,214,186,149,16,57,224,2,152,18,180,88,25,187,210,
-209,4,173,204,72,94,255,179,58,154,171,181,46,187,78,16,1,245,179,104,172,
-213,204,100,51,10,214,167,255,138,234,123,35,242,230,118,153,32,243,140,
-216,154,83,235,4,54,0,0,1,0,73,68,65,84,146,79,50,4,237,0,68,27,42,179,
-224,236,156,49,199,33,230,228,235,18,138,48,130,187,129,98,29,158,97,163,
-249,74,224,20,167,153,143,128,111,204,123,233,58,241,133,104,159,132,234,
-52,16,170,164,194,220,252,0,19,178,215,90,87,179,214,218,16,180,164,39,
-41,238,34,234,96,41,56,68,32,149,206,155,113,212,190,101,173,27,204,198,
-54,238,219,35,119,87,70,176,123,59,139,72,93,5,189,98,225,208,57,135,36,
-184,59,204,204,220,115,32,108,135,187,171,195,196,3,91,11,61,7,182,158,
-172,232,182,213,206,17,142,193,54,240,46,188,53,102,73,125,53,172,8,157,
-249,137,51,101,164,110,57,138,245,13,153,133,123,188,190,2,160,202,246,
-103,57,122,121,49,238,189,31,119,126,131,223,80,84,83,174,109,21,40,226,
-140,48,174,112,72,177,60,236,152,243,102,179,30,144,173,135,47,196,7,227,
-17,152,9,33,19,84,18,8,120,46,174,210,62,126,154,141,165,174,120,3,104,
-125,112,68,98,48,212,46,238,101,225,142,2,66,208,28,80,155,131,235,144,
-230,105,78,127,179,82,140,182,210,1,0,0,1,0,73,68,65,84,134,175,179,214,
-243,63,56,51,65,111,195,144,148,177,24,186,93,150,63,15,199,35,160,85,240,
-216,18,33,62,6,50,40,100,95,168,53,205,5,145,196,231,32,164,177,114,184,
-10,126,183,52,102,26,158,140,30,59,216,178,167,152,48,241,108,120,212,56,
-241,206,33,102,160,98,10,220,52,245,85,157,169,251,76,231,15,245,229,56,
-196,43,127,213,18,29,107,225,10,119,154,10,157,84,192,232,93,98,79,170,
-249,198,198,33,143,78,51,186,141,99,38,20,78,23,83,11,18,142,217,188,91,
-180,116,142,29,126,122,246,123,70,131,160,145,35,243,63,27,128,216,138,
-237,150,247,235,39,209,48,245,36,60,248,199,94,73,203,229,114,189,94,47,
-22,11,0,36,115,206,173,217,228,141,132,57,131,4,163,237,135,136,119,201,
-123,51,27,36,187,195,99,224,138,211,37,84,100,99,206,8,21,144,128,11,18,
-8,119,223,96,168,23,27,8,140,10,115,151,209,170,75,87,164,36,228,136,133,
-111,224,147,218,7,56,161,22,213,103,36,87,85,239,208,55,168,48,165,168,
-52,1,32,123,13,223,112,75,138,147,109,69,0,0,1,0,73,68,65,84,255,231,169,
-40,62,123,20,193,108,4,249,56,163,170,220,39,70,101,58,25,56,68,109,151,
-64,140,47,105,69,86,243,237,5,202,76,10,209,134,221,77,141,126,206,3,224,
-170,132,107,116,13,81,145,174,211,141,94,14,23,195,119,159,254,202,223,
-251,193,175,51,167,159,61,251,187,191,123,246,183,207,63,127,182,126,120,
-170,34,73,212,97,182,114,174,185,88,46,150,233,232,124,56,61,57,57,233,
-83,111,217,8,46,250,5,201,205,102,128,229,234,70,9,85,201,84,185,145,161,
-152,215,64,224,162,160,146,146,87,57,220,77,64,220,125,244,28,49,242,227,
-241,81,47,125,39,11,17,201,150,221,93,69,85,147,33,207,20,126,50,99,83,
-13,251,62,146,227,46,27,1,95,221,82,99,75,168,36,73,161,176,75,126,186,
-111,125,42,52,92,41,97,25,205,1,150,53,97,157,174,91,211,184,207,180,216,
-246,110,55,114,210,44,76,106,111,174,211,6,78,239,239,238,87,143,84,212,
-122,139,231,142,65,199,45,189,157,125,108,27,37,149,127,172,5,255,231,8,
-126,54,163,238,34,251,217,228,219,220,25,105,79,0,0,1,0,73,68,65,84,124,
-38,28,238,210,116,80,124,102,43,171,247,85,74,5,37,74,198,181,239,150,79,
-31,63,117,29,79,30,29,189,200,157,153,173,207,178,35,83,97,25,217,60,117,
-186,120,184,164,169,103,210,21,96,30,93,132,73,58,148,22,145,165,190,128,
-112,184,121,179,223,37,172,66,55,175,121,109,58,237,88,27,231,50,240,122,
-105,20,181,173,166,51,174,123,190,241,122,217,109,4,124,179,91,182,43,243,
-179,169,244,14,132,209,18,132,14,4,109,1,143,126,170,165,113,117,253,33,
-224,174,146,28,14,143,54,215,209,94,82,194,172,237,69,31,94,242,188,119,
-183,11,231,52,222,164,52,226,221,124,231,166,132,133,81,1,118,222,41,169,
-128,87,176,207,212,31,194,183,38,10,155,86,185,217,26,85,86,243,191,119,
-135,13,174,238,238,240,41,87,164,210,180,117,170,190,33,152,113,38,52,143,
-154,34,2,85,152,160,239,123,139,213,114,13,73,245,225,131,71,253,81,122,
-146,31,167,103,233,139,47,95,156,93,158,34,49,45,101,140,12,29,104,90,113,
-181,26,82,242,174,239,146,202,152,173,235,180,221,160,139,183,0,0,1,0,73,
-68,65,84,95,44,220,55,213,41,12,61,46,115,151,34,209,41,84,90,109,148,0,
-0,80,42,64,24,221,0,11,151,54,169,106,146,78,83,52,109,138,125,189,222,
-173,233,70,112,203,111,188,110,120,223,229,106,4,115,97,83,108,136,187,
-131,145,111,29,124,130,56,92,168,197,199,130,135,187,88,60,203,90,214,229,
-211,143,35,150,68,154,77,195,53,161,20,177,14,199,158,237,5,166,205,172,
-174,183,163,213,221,57,87,166,173,84,167,6,45,204,107,152,190,17,136,8,
-36,104,211,55,98,219,200,110,239,25,99,130,180,134,124,38,60,179,109,185,
-227,117,69,155,134,246,72,103,15,229,166,205,199,32,90,86,48,1,92,168,130,
-36,240,4,61,90,140,163,195,177,94,173,117,236,68,176,232,23,154,248,241,
-163,239,119,195,209,194,95,162,183,172,195,249,112,58,140,3,29,174,41,231,
-145,29,122,38,152,14,54,250,104,218,0,182,132,221,37,69,130,37,82,84,34,
-15,66,215,210,220,172,78,113,110,238,25,112,38,161,80,85,186,174,75,162,
-74,217,194,230,97,205,234,168,168,250,252,38,46,99,235,78,150,251,3,0,0,
-1,0,73,68,65,84,184,231,181,109,251,45,53,251,74,148,49,40,62,53,150,122,
-92,208,65,99,137,143,152,215,137,40,252,174,26,112,105,84,92,49,213,160,
-195,0,111,236,250,164,151,12,245,224,129,237,91,167,51,71,192,190,79,153,
-10,111,93,206,106,218,169,170,105,3,31,21,19,215,225,212,212,183,18,218,
-117,86,153,194,70,0,220,105,147,125,158,127,106,114,114,183,232,168,8,39,
-181,179,111,255,234,77,159,14,5,110,161,217,101,1,76,37,194,130,38,115,
-247,245,229,154,162,93,74,29,85,40,31,61,252,86,143,163,167,15,63,176,52,
-156,174,95,249,75,158,111,206,72,101,215,51,11,61,33,117,166,24,7,100,29,
-97,195,162,23,146,168,173,19,168,97,111,33,150,80,152,16,145,200,177,118,
-1,74,236,55,172,117,116,216,85,164,196,46,244,176,218,153,2,188,188,37,
-221,215,89,171,112,218,175,141,50,222,94,143,247,220,193,250,93,205,233,
-45,71,119,175,116,174,120,121,192,17,158,152,16,72,185,28,151,192,214,37,
-134,2,159,212,162,170,91,101,50,226,139,154,149,223,221,78,206,21,113,23,
-207,1,219,0,0,1,0,73,68,65,84,230,192,85,37,141,221,27,8,169,193,220,102,
-221,203,222,87,190,215,203,5,54,53,157,29,159,40,137,183,109,83,53,207,
-177,198,248,124,207,9,230,160,158,203,204,29,152,172,132,215,188,174,72,
-254,185,97,156,129,222,57,50,144,163,243,108,85,107,207,112,81,161,115,
-28,199,141,13,236,169,29,157,190,206,155,142,221,227,227,199,232,124,209,
-45,18,116,61,174,36,241,239,62,251,41,136,110,1,31,54,210,137,11,83,175,
-54,112,200,148,48,199,73,144,138,2,147,52,45,246,38,46,91,42,130,136,146,
-219,232,219,47,72,42,93,210,46,105,23,73,7,51,220,198,122,75,170,82,115,
-139,189,190,94,182,176,53,222,6,132,92,137,252,144,20,74,155,247,195,24,
-70,135,16,167,183,76,142,233,199,1,186,86,62,219,75,223,246,72,217,138,
-165,139,175,56,116,128,248,254,237,140,8,207,22,64,0,208,134,1,182,238,
-33,220,197,247,237,30,216,122,15,230,174,216,122,23,117,219,180,106,194,
-22,197,110,45,186,185,181,187,55,31,115,155,15,129,75,213,241,237,95,135,
-114,78,14,137,32,196,2,24,69,0,0,1,0,73,68,65,84,205,74,237,233,116,149,
-232,185,108,170,20,19,56,108,180,204,156,215,204,24,206,87,47,83,167,93,
-159,132,60,210,163,229,147,111,130,78,225,197,217,74,146,24,108,51,174,
-7,179,110,145,232,154,7,23,170,11,161,2,163,103,184,162,172,44,218,101,
-214,117,96,64,58,40,21,69,176,52,199,73,73,186,62,245,93,234,251,212,79,
-247,194,39,87,162,157,247,150,123,241,90,91,253,85,244,9,153,159,74,33,
-166,42,233,16,40,169,224,165,171,131,142,64,88,113,186,131,94,64,119,40,
-78,109,25,113,69,247,220,247,111,231,220,52,206,244,158,142,221,93,99,71,
-105,234,62,29,12,8,158,101,91,239,166,89,18,115,221,45,86,248,202,65,202,
-156,49,127,103,62,108,204,102,149,222,179,237,82,102,131,41,134,89,253,
-190,235,239,251,238,77,101,148,12,70,87,253,82,138,36,2,122,64,89,129,33,
-231,60,130,20,27,108,147,210,66,132,102,57,175,77,85,22,203,133,170,152,
-229,223,254,141,127,224,244,211,139,87,159,189,248,236,124,117,6,199,56,
-216,152,135,116,116,132,88,86,46,66,40,229,230,55,0,0,1,0,73,68,65,84,152,
-22,41,154,16,100,130,22,41,50,52,41,221,25,40,165,205,170,168,104,210,164,
-154,146,118,170,9,181,141,76,185,187,211,5,108,93,205,27,94,117,82,213,
-185,157,46,115,196,109,116,93,28,94,210,202,1,129,136,117,54,114,240,243,
-208,190,18,188,166,130,137,0,108,53,27,152,108,233,167,240,49,166,158,162,
-7,17,252,163,15,185,186,79,219,223,234,98,219,234,89,94,100,100,52,135,
-173,1,218,120,167,133,88,234,192,247,153,75,90,142,214,94,99,122,193,230,
-207,57,180,85,223,108,99,229,60,119,96,103,40,127,43,33,171,125,15,224,
-106,87,134,153,151,29,136,246,117,179,213,24,108,126,153,179,144,253,52,
-119,207,159,222,144,87,36,85,20,72,200,128,100,106,22,88,231,146,59,25,
-86,121,133,97,185,88,140,134,97,51,144,190,217,92,4,61,161,170,93,215,187,
-229,174,147,148,250,205,233,229,241,241,241,251,203,143,30,124,248,72,147,
-118,125,119,122,246,234,211,207,62,179,225,60,38,91,163,35,105,234,53,117,
-73,84,53,247,85,43,196,152,168,74,73,164,140,227,186,225,238,125,91,0,0,
-1,0,73,68,65,84,75,170,41,45,251,229,178,63,234,180,83,10,179,229,154,89,
-89,174,169,130,216,168,233,158,223,157,162,6,50,145,214,225,22,206,169,
-188,187,236,111,125,85,2,69,1,179,252,161,250,213,100,203,72,172,198,60,
-194,28,86,11,97,42,108,169,71,218,255,21,211,148,21,254,94,85,42,238,16,
-65,245,227,172,65,242,201,53,44,119,205,38,4,192,54,28,32,82,195,61,219,
-55,125,58,129,185,203,56,223,113,231,143,3,219,15,241,235,179,148,44,84,
-59,93,175,108,66,219,211,254,156,95,231,236,244,212,11,26,140,168,185,75,
-160,42,78,101,130,64,180,112,142,155,22,236,84,206,241,104,134,240,226,
-114,214,116,84,202,77,250,174,79,93,234,151,189,168,168,170,167,77,206,
-227,48,14,235,97,61,140,195,152,199,213,56,58,134,78,70,81,77,169,239,2,
-231,66,224,48,183,71,15,31,39,77,125,215,47,210,162,75,125,105,146,237,
-204,165,253,254,21,112,113,107,222,122,207,109,191,11,169,204,181,120,1,
-203,245,141,176,146,46,147,202,205,102,97,9,76,92,230,35,111,56,74,175,
-191,221,69,28,162,0,0,1,0,73,68,65,84,18,175,156,200,142,146,181,227,214,
-63,167,158,69,219,214,113,22,212,217,54,168,53,161,116,78,79,207,249,212,
-29,157,140,228,0,236,71,58,123,182,31,226,215,167,175,154,190,49,196,246,
-238,47,53,186,21,120,173,12,6,7,52,82,166,133,142,104,38,78,201,6,9,253,
-22,165,184,75,96,39,153,29,195,61,231,236,14,51,143,192,243,178,95,172,
-47,215,146,36,117,106,217,135,205,160,170,79,158,60,133,152,89,206,150,
-135,60,140,121,24,242,152,45,187,219,229,197,121,215,117,139,197,209,98,
-177,232,186,69,241,178,220,31,63,124,40,148,164,169,52,106,116,184,181,
-100,244,109,180,186,51,61,223,136,183,222,9,149,223,25,111,61,177,32,181,
-111,147,207,93,168,106,36,183,63,132,88,58,61,118,136,10,153,186,96,193,
-161,116,229,217,243,222,50,135,51,252,177,61,185,211,235,234,172,109,83,
-76,245,51,245,140,143,134,21,175,230,127,226,167,15,143,153,242,117,51,
-24,210,120,244,118,192,157,237,135,248,245,173,227,115,126,1,147,6,180,
-247,189,157,39,38,53,40,223,88,147,49,211,158,95,136,0,0,1,0,73,68,65,84,
-128,74,254,10,8,55,117,168,171,32,82,70,8,184,69,130,67,118,119,119,51,
-115,247,28,175,68,36,109,52,91,78,93,2,250,156,45,175,198,174,239,142,143,
-143,243,0,74,234,180,95,244,39,162,37,219,220,233,175,94,190,72,93,90,244,
-139,190,95,164,148,200,82,54,146,180,52,164,132,211,220,205,204,178,205,
-241,131,3,82,82,196,11,227,119,27,222,90,85,239,134,9,169,40,167,157,98,
-225,173,169,238,30,60,128,249,148,139,87,8,157,217,3,138,215,34,90,192,
-74,213,254,173,212,152,189,82,199,248,92,31,88,8,181,171,234,146,183,192,
-64,123,217,172,236,20,94,129,7,102,157,27,228,73,251,185,125,132,109,27,
-62,59,153,214,78,109,239,246,157,39,52,105,255,44,7,119,251,219,107,118,
-80,220,175,250,121,111,94,66,61,171,24,125,69,69,188,29,41,212,197,77,9,
-53,77,84,135,148,213,78,132,144,148,146,187,229,76,43,205,1,138,142,219,
-104,102,230,226,2,129,123,222,100,58,115,151,243,8,209,178,40,57,161,113,
-11,8,127,242,224,189,112,12,133,20,47,169,27,206,50,129,0,0,1,0,73,68,65,
-84,170,32,80,150,0,130,149,246,93,230,110,230,158,52,97,235,254,85,107,
-125,59,222,250,14,243,173,119,164,168,181,36,103,180,84,32,73,171,101,162,
-108,9,162,37,41,174,114,59,197,172,184,151,48,91,161,177,121,160,150,85,
-169,205,242,97,166,52,219,124,227,228,219,153,181,84,105,184,79,175,155,
-23,176,99,77,225,62,85,208,212,67,77,247,126,102,197,131,176,46,104,0,187,
-60,250,132,26,182,183,31,226,215,75,27,154,29,52,2,20,16,130,122,184,250,
-2,17,78,98,155,20,107,80,171,108,102,225,82,232,209,128,200,132,208,0,33,
-51,181,142,133,214,188,104,209,60,66,183,94,111,226,207,97,51,80,104,230,
-121,204,155,245,70,60,153,5,191,228,48,135,22,44,184,92,44,220,221,179,
-229,209,114,116,122,142,118,4,57,149,219,27,44,23,235,195,42,86,181,222,
-221,162,197,68,157,115,110,204,91,183,103,252,250,221,111,34,113,26,125,
-234,204,221,114,206,52,203,217,188,164,129,148,165,25,195,137,46,191,230,
-243,57,154,57,44,54,230,80,211,162,234,236,20,99,217,24,7,26,59,99,184,
-0,0,1,0,73,68,65,84,206,148,116,246,66,36,205,173,241,181,234,18,95,176,
-125,132,105,126,225,214,17,218,47,217,207,163,239,204,76,109,251,33,126,
-125,118,18,59,232,189,229,162,108,125,53,84,154,133,168,86,22,128,83,4,
-240,54,233,180,238,19,89,224,226,34,21,91,71,187,14,138,184,152,129,244,
-104,82,74,34,50,163,60,59,136,60,230,203,139,85,1,27,238,151,23,171,133,
-246,20,186,169,152,120,82,113,137,242,213,188,241,90,115,237,36,60,90,192,
-56,49,198,205,139,111,133,211,124,166,166,149,200,221,193,12,196,77,121,
-235,107,223,189,3,17,77,226,102,32,35,117,213,172,102,130,160,77,112,226,
-102,148,66,82,109,205,248,109,74,62,220,252,168,241,217,53,200,29,191,216,
-62,199,58,61,196,248,152,15,227,242,81,84,254,177,29,112,194,19,83,14,198,
-150,173,45,213,105,19,144,157,251,110,216,209,185,29,8,178,181,253,16,191,
-62,231,86,118,183,79,74,63,115,25,68,124,118,87,189,90,110,105,147,98,252,
-23,121,193,0,205,119,152,144,248,223,103,55,181,129,73,146,125,223,131,
-8,3,99,191,171,230,0,0,1,0,73,68,65,84,229,206,212,39,56,198,113,236,168,
-112,152,103,102,112,40,235,215,145,24,21,100,237,45,169,165,143,0,13,204,
-138,50,25,70,26,91,36,73,180,162,184,201,69,8,192,177,253,224,223,20,33,
-167,148,82,76,46,93,215,161,174,203,248,134,31,190,42,59,208,156,44,196,
-77,81,40,37,107,49,78,241,32,174,200,48,12,94,148,71,189,86,22,0,216,96,
-141,153,39,26,15,132,96,222,172,68,85,163,22,216,34,37,76,85,101,176,77,
-157,148,183,176,237,84,143,48,247,180,201,157,142,163,51,112,82,177,245,
-220,181,11,187,134,217,129,39,162,173,162,152,216,60,225,217,201,82,99,
-174,147,245,128,211,183,184,35,162,152,251,248,117,178,37,214,206,6,139,
-187,195,136,82,179,49,251,46,120,150,162,34,2,23,15,168,224,112,29,46,165,
-19,64,199,145,200,76,157,168,40,140,52,74,128,224,186,80,86,220,138,1,155,
-48,220,209,14,55,212,84,192,117,30,72,138,139,186,8,68,33,116,33,57,248,
-58,18,40,68,68,114,105,76,73,130,186,42,94,172,83,74,1,152,176,16,142,241,
-83,119,6,208,82,0,0,1,0,73,68,65,84,41,45,135,59,68,230,137,170,190,117,
-115,15,203,110,148,241,206,57,236,29,158,124,78,158,163,78,150,87,165,189,
-133,250,252,164,4,165,27,194,106,38,85,106,82,111,177,112,49,221,54,186,
-51,114,37,57,215,178,253,231,121,232,157,168,137,156,140,126,3,55,229,68,
-182,249,242,67,219,235,73,99,58,218,204,187,156,222,110,179,132,28,226,
-215,125,119,127,160,82,29,179,175,175,64,169,13,131,216,193,204,93,28,112,
-21,53,137,54,34,109,201,34,33,35,122,82,224,236,76,173,217,106,13,67,83,
-227,55,128,218,85,47,62,0,115,135,25,162,147,134,51,78,164,230,163,181,
-87,108,103,140,25,89,51,121,134,21,77,207,108,247,149,23,215,202,46,193,
-87,238,243,29,228,94,215,211,136,88,81,85,229,157,35,95,85,229,128,116,
-87,37,121,55,3,176,115,80,25,57,233,21,79,4,90,207,19,216,192,28,154,93,
-3,202,14,168,117,160,213,105,40,53,23,176,117,215,217,229,203,177,119,251,
-44,204,216,142,22,230,119,7,116,85,171,47,19,210,168,135,113,148,50,130,
-25,254,174,175,127,4,51,142,0,0,1,0,73,68,65,84,109,26,215,62,63,84,53,
-3,197,5,22,184,185,193,161,41,9,0,87,241,164,145,197,111,194,44,70,101,
-228,101,89,85,235,152,0,116,122,154,53,223,159,113,158,13,48,196,237,9,
-223,66,60,92,121,70,14,153,215,246,8,210,148,184,166,86,76,168,185,89,235,
-250,26,104,166,186,113,124,109,96,92,135,174,119,251,91,127,21,214,122,
-254,122,103,234,108,186,142,102,149,103,106,29,220,105,72,135,110,238,13,
-121,117,142,90,159,128,166,83,158,97,85,135,216,254,139,239,7,136,253,13,
-36,228,64,195,223,6,82,167,63,227,197,52,12,182,248,242,67,175,177,127,
-127,76,4,121,27,0,77,155,118,128,52,234,69,206,82,103,39,130,144,147,253,
-118,0,220,50,234,156,26,65,196,65,93,37,153,0,34,162,170,177,66,23,164,
-164,68,187,204,173,117,209,63,153,112,54,89,128,74,160,241,166,134,21,28,
-78,8,110,235,86,86,235,204,157,189,155,130,3,117,132,20,13,110,234,200,
-217,79,69,100,215,73,218,65,210,119,174,214,135,14,219,116,122,47,10,10,
-157,102,44,173,235,238,238,173,14,168,33,0,0,1,0,73,68,65,84,11,89,20,119,
-200,202,127,85,181,217,198,69,177,128,62,205,123,165,209,106,181,0,62,5,
-195,175,156,225,129,233,45,244,198,183,212,11,64,93,215,122,66,67,245,13,
-236,223,14,94,177,178,211,110,152,189,213,88,29,219,63,66,118,96,38,16,
-236,134,180,17,208,24,250,217,104,105,136,191,120,143,112,97,2,129,130,
-148,75,71,61,208,157,145,73,94,65,130,23,139,41,205,44,71,207,147,185,246,
-34,20,61,172,184,4,132,110,245,125,219,206,208,244,15,183,116,123,114,79,
-119,62,83,81,9,43,114,217,199,148,92,145,61,171,17,124,165,50,255,58,84,
-251,221,46,201,103,176,187,18,76,197,156,71,74,150,187,155,152,155,155,
-68,100,7,142,100,209,234,172,176,30,17,60,240,82,237,210,30,47,102,48,244,
-218,19,187,178,125,190,122,193,76,179,233,123,249,114,0,7,120,244,89,224,
-102,174,202,77,227,26,44,1,16,141,43,219,137,239,240,235,115,130,177,30,
-213,56,179,225,156,6,130,85,63,99,87,173,53,149,206,10,162,181,85,13,9,
-113,138,69,235,102,107,238,6,201,210,233,80,172,205,0,0,1,0,73,68,65,84,
-88,162,61,169,9,219,136,207,93,201,10,79,104,180,202,13,202,12,182,180,
-207,53,163,92,117,189,29,120,166,215,117,170,153,140,244,117,143,106,38,
-119,186,46,227,62,241,173,41,119,250,10,110,159,100,211,114,204,158,220,
-28,159,168,232,4,78,232,238,165,123,142,80,204,114,206,22,70,217,29,22,
-127,79,23,178,13,198,15,181,120,60,16,157,47,53,151,104,46,227,164,126,
-251,249,114,199,222,237,152,200,179,18,39,41,71,172,78,229,142,210,11,183,
-162,157,59,190,238,246,24,155,180,28,91,219,1,128,82,154,142,53,250,79,
-194,6,168,155,59,140,2,77,166,201,84,76,97,116,151,214,179,35,62,18,202,
-167,174,59,207,174,252,78,241,126,209,225,9,20,151,191,218,146,184,165,
-106,166,25,223,55,197,214,21,164,205,209,200,107,101,203,90,79,55,230,238,
-44,247,92,95,231,7,223,139,61,230,59,180,115,40,198,27,82,224,134,71,179,
-62,6,216,72,218,101,19,210,224,197,61,177,156,9,102,76,120,221,203,147,
-158,155,209,93,57,68,132,80,106,213,105,81,231,45,3,130,131,24,134,45,179,
-0,0,1,0,73,68,65,84,124,249,149,237,245,8,117,133,17,15,5,159,30,181,55,
-45,119,250,52,204,252,42,191,94,191,162,156,9,130,197,172,48,202,39,85,
-64,16,100,213,92,215,27,72,15,190,88,220,149,226,117,93,80,8,73,115,65,
-101,66,226,246,133,54,170,107,83,168,185,90,207,155,221,181,17,234,147,
-90,239,194,144,105,182,155,225,62,78,255,55,136,49,87,224,25,107,210,62,
-112,45,184,78,139,197,98,179,217,244,125,31,179,124,232,211,29,70,212,111,
-113,168,29,115,30,82,18,23,89,112,92,219,62,142,163,195,69,209,102,101,
-21,209,78,204,38,235,62,151,56,206,85,171,179,26,199,230,95,146,237,37,
-198,33,151,115,42,126,83,177,39,25,155,173,71,211,108,75,73,164,109,219,
-235,121,150,110,79,219,24,158,144,22,53,228,252,161,149,212,9,96,98,178,
-43,158,178,66,197,135,6,84,68,114,104,237,152,112,64,226,56,172,35,0,192,
-218,214,208,40,211,48,119,154,169,64,136,46,22,126,163,184,148,192,89,25,
-147,94,50,201,231,120,215,1,64,235,253,105,200,24,0,104,28,1,66,204,236,
-155,190,130,0,0,1,0,73,68,65,84,69,92,156,140,238,212,52,90,29,41,136,186,
-94,176,206,96,5,133,8,40,18,171,220,151,238,73,94,82,131,106,183,36,250,
-86,190,245,85,109,249,234,170,99,238,88,14,157,231,213,224,255,252,197,
-142,180,253,27,182,105,191,91,148,171,154,156,98,225,234,223,117,218,108,
-231,51,51,32,109,26,5,102,141,22,118,206,243,208,228,121,32,180,192,137,
-122,118,76,125,10,194,131,155,131,162,185,5,60,32,251,246,23,17,192,235,
-138,116,181,141,175,139,132,219,232,102,40,13,91,234,65,106,147,49,78,58,
-60,187,17,51,176,92,255,102,195,202,205,72,52,213,157,24,142,233,114,11,
-220,185,238,58,218,239,215,152,235,253,188,245,207,161,28,58,201,54,9,238,
-168,117,3,48,59,106,205,234,131,122,248,150,181,237,134,74,48,66,19,75,
-17,255,147,179,70,186,19,127,13,78,117,122,229,81,99,154,76,247,136,243,
-64,103,218,67,203,68,238,206,233,97,179,9,6,12,107,147,211,14,176,190,242,
-189,216,191,127,146,4,56,213,233,13,135,80,156,10,113,135,149,161,228,237,
-174,54,176,52,219,19,29,52,0,0,1,0,73,68,65,84,131,191,172,23,208,54,52,
-143,176,118,218,107,13,129,155,107,40,147,102,111,129,147,249,52,176,125,
-31,80,7,74,85,233,215,171,235,255,239,173,245,222,61,221,219,170,187,147,
-211,185,163,214,145,70,220,8,68,10,39,235,93,106,68,234,220,23,82,227,32,
-209,15,176,216,30,134,1,156,30,199,110,161,114,149,67,101,16,118,0,212,
-215,34,139,153,135,81,116,103,63,143,126,72,14,241,238,202,4,26,74,9,56,
-99,13,103,56,232,132,187,120,201,25,240,105,50,105,23,89,20,116,235,153,
-92,49,214,145,5,200,194,145,20,237,174,198,26,5,123,79,134,123,26,53,219,
-99,212,167,89,2,187,26,127,141,36,85,253,170,201,144,119,44,215,131,141,
-185,63,234,149,55,68,244,224,155,229,9,213,127,225,149,40,156,255,55,221,
-110,22,8,192,74,121,28,242,37,14,37,140,251,1,181,86,76,148,95,217,173,
-184,148,94,29,215,57,227,113,80,185,107,20,102,119,127,45,142,161,85,11,
-90,134,115,73,27,177,150,128,62,113,42,115,116,129,201,102,203,21,100,77,
-180,130,190,166,217,213,158,107,73,226,0,0,1,0,73,68,65,84,42,83,230,166,
-189,233,248,150,197,7,155,251,59,169,243,108,40,189,30,120,237,54,84,248,
-5,147,249,16,141,215,129,58,184,29,239,4,192,60,81,96,213,180,135,98,115,
-123,115,64,1,47,75,31,77,166,188,188,58,216,117,233,192,230,67,237,220,
-189,250,81,45,197,170,206,192,205,238,98,135,203,59,112,156,214,200,97,
-107,127,45,189,58,10,139,18,222,25,65,196,34,51,149,116,153,91,235,73,167,
-230,42,70,223,114,219,154,181,150,56,219,109,176,81,135,253,46,104,153,
-14,113,229,62,205,29,23,206,255,184,78,246,151,17,248,59,9,205,220,72,14,
-141,186,217,20,189,245,226,208,7,219,187,59,154,173,162,91,38,189,129,107,
-104,13,110,22,236,18,59,160,102,240,109,65,156,185,143,181,115,158,7,159,
-198,254,237,237,225,151,51,169,225,28,41,3,109,151,71,63,36,193,159,92,
-221,95,41,16,115,100,119,23,70,106,37,233,165,185,156,179,52,27,159,29,
-185,205,78,147,89,6,8,90,115,25,231,234,93,214,117,109,160,122,215,198,
-215,247,166,215,237,101,179,212,115,15,125,105,137,71,63,0,0,1,0,73,68,
-65,84,122,108,120,173,195,120,199,93,157,190,62,185,170,172,135,134,193,
-78,155,250,57,230,46,102,38,126,181,201,191,186,78,226,230,238,86,107,242,
-80,143,83,192,74,85,232,131,195,239,192,115,224,129,48,208,44,167,163,232,
-100,40,57,121,128,71,63,124,111,246,238,175,82,51,175,97,165,120,197,99,
-17,35,196,32,134,183,225,93,238,220,85,215,144,179,40,230,14,8,169,73,178,
-205,182,183,157,230,250,57,183,197,7,175,129,123,254,124,141,198,166,29,
-133,8,95,234,174,22,148,185,67,121,243,177,119,197,157,217,146,166,196,
-59,251,28,82,199,224,197,65,198,154,245,20,159,239,63,131,38,229,207,218,
-24,96,247,156,125,28,128,137,54,105,198,196,42,207,49,17,103,0,136,169,
-43,206,246,99,180,214,137,100,246,46,128,168,55,58,124,63,234,235,118,62,
-3,81,32,72,69,161,112,184,229,22,139,137,244,254,105,22,138,4,221,153,81,
-197,255,215,222,21,54,185,170,194,208,132,90,231,253,255,159,187,219,202,
-251,16,18,66,32,78,109,119,247,86,154,51,115,119,188,104,21,245,16,195,
-195,170,69,165,0,0,1,0,73,68,65,84,73,0,0,26,174,94,125,96,106,65,25,1,
-210,101,236,108,228,202,97,68,229,193,0,123,57,136,18,114,167,111,1,207,
-158,69,98,80,174,39,5,255,45,47,237,77,91,143,51,224,233,226,122,117,1,
-177,8,187,189,148,234,69,242,89,244,139,81,198,11,160,78,80,217,159,197,
-109,222,94,51,118,15,71,67,17,145,217,40,252,193,125,8,26,255,95,190,42,
-216,222,69,123,99,122,63,168,115,55,23,225,139,55,183,131,160,118,214,45,
-219,93,125,216,186,13,38,84,152,192,39,249,65,120,186,184,64,155,106,216,
-81,96,36,33,86,185,237,80,95,48,91,66,218,6,240,194,52,110,23,211,121,105,
-110,120,168,100,102,11,227,138,252,150,40,46,66,90,81,38,123,141,128,197,
-42,27,238,162,60,13,91,12,13,155,149,127,146,107,59,198,198,226,98,243,
-51,129,33,231,248,38,59,252,226,200,243,115,193,123,100,125,57,182,249,
-5,189,43,111,252,19,46,225,46,41,141,1,231,29,69,168,40,195,206,233,90,
-213,77,26,86,104,92,236,220,151,39,32,98,2,90,240,4,183,13,18,226,42,73,
-159,15,0,0,1,0,73,68,65,84,70,171,59,39,228,25,106,179,98,54,64,101,35,
-244,252,173,245,170,255,52,173,117,119,18,64,83,189,246,34,145,191,29,168,
-109,181,186,171,67,252,94,180,53,10,59,253,8,180,85,134,206,120,75,97,71,
-235,84,20,179,172,244,66,204,37,204,152,149,2,71,180,118,187,146,30,221,
-199,197,155,83,158,48,103,4,220,114,78,9,183,4,137,86,73,196,148,100,216,
-15,43,156,220,123,84,215,169,244,77,14,221,89,8,1,128,170,130,148,3,149,
-149,86,2,137,106,31,181,206,182,133,31,112,66,160,125,55,159,73,238,163,
-119,205,223,105,148,237,225,1,208,105,128,138,238,68,115,25,194,92,229,
-23,240,233,235,215,242,152,211,178,165,13,51,230,148,112,203,101,9,129,
-156,32,167,50,41,21,53,185,50,64,28,80,245,37,12,127,107,114,129,177,225,
-36,41,49,173,149,169,46,15,71,239,0,155,124,32,125,140,151,157,144,176,
-214,251,144,238,160,233,190,152,46,121,175,180,112,23,51,171,255,53,222,
-56,123,219,18,193,180,93,210,6,7,243,197,189,114,254,232,99,78,36,61,87,
-223,60,177,46,27,0,0,1,0,73,68,65,84,154,186,136,80,84,141,92,150,34,75,
-66,95,232,60,14,215,55,233,173,117,150,206,68,235,91,243,51,173,155,93,
-133,155,199,190,175,109,140,231,78,8,138,123,144,199,66,99,210,250,93,253,
-227,230,239,33,103,172,2,139,90,25,50,230,196,115,93,54,221,75,159,214,
-174,176,225,233,226,158,125,71,4,154,115,154,132,103,10,49,34,98,201,20,
-207,82,85,18,187,83,101,21,104,54,215,12,63,203,114,49,219,181,26,168,56,
-173,127,214,108,140,120,125,88,9,89,215,149,210,125,100,84,213,220,98,200,
-79,221,154,215,213,246,203,229,186,77,5,110,55,157,135,93,107,183,92,237,
-112,102,218,144,224,191,57,127,206,223,67,163,119,223,54,177,148,141,213,
-220,16,242,5,96,1,26,208,85,86,124,191,235,229,63,0,234,68,128,155,94,121,
-10,11,229,1,0,146,214,215,123,110,75,244,189,140,26,98,110,73,182,7,231,
-141,11,113,37,95,160,156,239,25,197,249,52,25,124,179,194,77,141,82,195,
-58,119,142,111,123,114,160,219,76,9,82,86,21,66,233,211,101,66,248,50,167,
-117,119,172,116,55,206,0,0,1,0,73,68,65,84,113,148,33,106,50,96,161,54,
-74,101,95,21,65,59,99,94,171,51,176,227,125,185,42,110,246,63,135,162,91,
-215,14,193,212,166,250,13,225,5,116,123,153,220,108,88,249,220,25,29,147,
-52,33,89,167,46,38,183,113,81,200,47,18,59,204,211,237,243,10,79,216,243,
-90,252,11,208,20,45,27,28,249,111,25,138,67,15,92,213,3,237,158,231,208,
-132,99,34,202,248,123,56,106,44,134,2,162,102,182,17,88,16,56,172,175,148,
-66,168,81,70,4,142,1,33,199,129,148,48,76,102,87,132,228,234,83,215,9,153,
-122,239,214,186,205,165,80,78,215,154,104,22,2,173,233,110,126,104,203,
-14,60,176,6,139,164,219,219,74,7,254,41,134,65,123,173,183,24,90,51,113,
-69,35,44,234,74,233,74,170,200,102,57,154,134,101,138,10,199,189,216,106,
-38,219,104,8,104,237,185,33,183,26,61,132,138,143,66,40,48,180,182,244,
-22,151,93,53,18,125,169,167,124,235,136,50,254,13,60,123,225,125,30,141,
-158,104,180,169,94,20,71,22,37,68,17,167,191,155,132,123,132,107,141,53,
-47,36,149,141,219,146,0,0,1,0,73,68,65,84,3,242,64,64,248,38,164,230,137,
-75,16,53,107,171,247,82,93,97,0,232,104,61,240,173,209,41,111,93,146,215,
-172,107,208,250,173,33,244,213,27,230,0,217,228,248,78,22,35,142,88,166,
-228,20,57,156,130,43,25,96,163,41,39,132,156,204,66,214,30,58,223,26,60,
-107,45,127,26,107,157,61,186,59,190,181,82,66,244,57,221,9,63,247,241,235,
-243,91,7,246,241,180,215,103,123,110,50,221,0,150,16,38,71,158,203,162,
-215,25,235,95,40,43,170,139,32,210,156,24,10,161,33,43,73,68,9,204,218,
-84,99,245,212,59,69,219,41,135,97,249,160,24,180,142,120,12,203,186,174,
-223,223,223,52,185,53,109,220,239,247,55,204,183,254,88,60,24,137,224,197,
-178,232,200,162,235,65,213,197,105,71,253,123,133,255,74,88,156,26,69,245,
-133,170,81,111,55,110,53,83,64,85,230,206,97,41,85,158,1,64,18,22,77,188,
-69,234,137,40,237,5,165,2,89,90,21,55,25,19,196,53,209,92,15,131,117,25,
-163,215,56,19,118,116,241,157,242,161,67,47,229,154,100,251,57,27,94,175,
-88,91,184,0,0,1,0,73,68,65,84,155,60,90,126,20,86,224,123,229,92,129,55,
-132,247,225,221,120,210,38,130,137,98,18,140,224,59,228,73,95,184,67,238,
-39,182,159,67,205,224,11,78,159,26,71,95,159,54,180,195,183,191,211,85,
-245,174,53,44,31,10,56,143,151,63,122,63,45,38,156,39,36,240,8,116,66,178,
-102,149,49,115,59,246,46,183,121,231,208,57,54,175,24,233,31,112,66,94,
-249,125,224,77,112,84,23,151,95,13,157,233,161,145,54,78,139,241,179,77,
-180,232,31,114,26,116,78,72,24,233,15,135,225,113,159,73,209,151,244,182,
-124,199,99,209,138,199,19,229,135,16,249,214,147,99,255,61,246,121,84,189,
-197,213,142,74,223,137,236,185,62,188,250,95,43,33,151,203,133,132,234,
-156,243,178,44,183,219,77,86,65,15,76,143,158,70,238,240,133,150,247,189,
-61,30,154,237,157,43,154,195,60,103,248,193,211,26,212,149,200,34,119,47,
-48,13,82,63,79,8,4,197,3,39,199,96,237,152,125,111,41,48,55,230,240,63,
-147,241,164,231,184,171,192,135,99,49,233,234,65,235,15,199,28,4,72,17,
-142,133,92,163,113,0,0,0,166,73,68,65,84,9,204,135,212,251,214,16,93,198,
-192,201,145,214,117,189,223,239,57,103,74,185,166,244,220,48,225,129,23,
-129,14,254,230,234,231,88,189,46,16,56,4,171,91,7,2,19,32,153,79,67,132,
-99,2,19,32,45,203,130,188,70,4,204,162,239,4,62,28,99,37,36,16,56,53,172,
-110,29,214,58,48,1,102,94,66,55,240,177,88,174,215,235,215,215,215,186,
-174,192,163,145,99,12,65,224,247,240,83,212,218,63,207,88,9,9,4,78,141,
-65,78,72,36,166,6,206,142,241,48,130,64,224,212,136,124,235,192,132,136,
-177,140,129,9,49,206,9,9,138,7,78,141,136,50,6,38,68,136,30,129,9,17,195,
-5,2,19,226,127,88,68,206,162,106,244,2,253,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_55 = 3129;
-static unsigned char xml_res_file_55[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,48,0,0,0,48,8,6,0,0,
-0,87,2,249,135,0,0,0,43,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,77,105,32,50,54,32,70,101,98,32,50,48,48,51,32,49,48,58,
-50,54,58,52,48,32,43,48,49,48,48,88,111,71,250,0,0,0,7,116,73,77,69,7,211,
-5,23,15,10,37,231,231,95,135,0,0,0,9,112,72,89,115,0,0,10,240,0,0,10,240,
-1,66,172,52,152,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,11,145,
-73,68,65,84,120,218,213,89,125,112,147,245,29,255,62,79,158,39,73,147,52,
-37,109,82,94,26,74,74,193,181,200,77,207,109,84,167,195,190,48,1,231,54,
-198,89,149,137,226,38,222,244,116,120,211,169,12,217,89,206,63,230,157,
-8,167,224,172,156,183,185,157,231,166,48,78,145,237,116,108,96,97,224,168,
-12,20,43,47,165,45,101,80,104,108,218,52,77,210,36,79,158,151,125,191,207,
-147,39,121,146,190,80,182,160,238,123,247,187,231,151,228,121,249,124,190,
-239,223,39,0,255,231,194,76,228,164,150,22,193,153,72,132,111,192,237,181,
-162,40,205,149,36,121,134,44,75,110,89,150,205,184,0,247,17,69,145,123,
-36,9,218,101,89,60,98,54,187,118,53,54,78,238,248,194,9,28,63,174,212,133,
-66,202,67,209,232,208,98,158,103,172,118,187,137,177,88,56,48,155,89,48,
-153,76,120,134,2,146,196,64,50,41,67,44,38,192,240,176,0,67,67,81,8,133,
-34,50,195,240,199,25,134,217,194,113,230,223,53,54,122,67,159,43,129,99,
-199,148,170,112,24,94,72,36,34,11,220,110,142,241,120,44,96,177,48,192,
-178,8,89,209,22,42,30,193,103,246,137,4,64,52,170,237,233,187,96,48,10,
-61,61,23,240,24,242,23,21,89,214,44,91,54,247,183,248,56,229,178,19,64,
-173,223,238,247,15,111,153,60,217,228,44,43,179,0,207,131,10,156,192,234,
-160,141,123,2,43,138,128,22,0,180,132,246,189,78,130,100,112,48,10,167,
-78,157,84,68,49,186,141,227,108,63,90,185,242,235,209,203,70,0,193,175,
-8,4,162,175,204,154,101,229,138,139,77,192,48,26,144,92,208,58,72,2,78,
-154,55,2,215,151,126,158,102,33,9,173,122,28,2,129,129,61,12,227,185,249,
-209,71,231,196,243,69,128,211,55,39,78,40,215,244,246,70,154,171,170,108,
-8,158,85,193,27,193,234,174,242,202,43,91,225,192,129,35,208,221,221,141,
-90,143,192,228,201,110,88,184,112,33,44,89,210,136,119,97,211,46,150,17,
-25,63,43,80,85,245,21,56,122,244,147,186,104,116,240,121,252,242,39,121,
-183,192,7,31,40,251,92,174,196,13,149,149,22,245,179,174,121,163,219,208,
-154,63,255,86,60,38,80,235,2,30,181,69,26,190,243,206,21,176,98,197,3,57,
-150,80,82,215,139,192,113,50,6,185,8,173,173,173,178,197,82,212,176,106,
-213,215,222,207,7,1,86,3,47,126,75,16,134,174,247,122,45,170,230,115,93,
-133,200,144,171,144,159,79,155,54,25,86,173,122,16,94,122,233,69,88,179,
-102,173,154,145,68,49,6,219,183,191,62,234,3,48,189,170,22,96,48,126,45,
-22,22,202,202,202,216,112,56,184,58,95,22,80,9,96,154,92,82,84,196,97,138,
-204,0,214,221,128,62,15,15,103,252,124,203,150,77,176,120,241,34,168,172,
-156,5,117,117,13,48,111,94,13,158,155,132,112,184,63,125,93,102,49,42,120,
-90,195,195,50,56,157,12,148,150,150,130,32,196,234,159,121,166,101,106,
-222,8,96,97,170,113,56,248,116,208,234,224,201,10,148,26,41,88,51,153,37,
-227,231,88,212,224,244,233,78,60,38,145,208,21,57,224,9,184,148,38,64,238,
-100,181,82,42,102,193,110,47,224,227,113,161,38,111,4,146,73,177,140,227,
-152,148,201,51,224,35,145,220,108,146,57,246,247,247,195,211,79,63,6,237,
-237,31,35,113,25,238,189,247,103,99,104,95,78,19,224,48,101,144,146,172,
-214,2,138,163,217,249,32,192,165,64,51,4,74,23,2,61,52,148,201,243,70,240,
-36,187,119,191,7,79,61,245,40,186,69,20,188,222,114,120,228,145,167,209,
-149,230,27,220,79,73,93,163,1,39,18,122,12,232,132,20,69,228,243,70,0,251,
-151,190,120,92,154,17,137,112,234,131,73,243,198,88,200,37,17,8,244,81,
-220,96,0,115,240,250,235,127,67,183,224,115,206,103,232,158,89,218,47,44,
-100,213,150,67,20,101,140,1,1,247,202,96,222,92,8,111,122,44,26,77,168,
-90,15,133,178,51,144,113,233,36,24,134,69,240,38,92,188,10,62,155,160,162,
-166,85,2,175,89,64,59,98,75,130,247,23,213,243,6,6,6,240,58,241,211,60,
-90,0,118,247,247,15,223,93,90,234,204,114,149,145,89,69,91,183,220,114,
-59,102,162,91,211,185,94,243,119,72,107,59,23,188,199,99,82,91,146,190,
-62,1,21,52,136,22,142,244,37,147,197,7,243,102,1,147,41,185,35,24,140,68,
-168,208,232,154,28,111,189,240,66,19,212,212,120,224,218,107,93,240,241,
-199,7,211,254,174,17,144,13,75,1,151,139,5,106,75,2,129,36,196,227,10,86,
-252,19,104,57,235,175,155,155,191,151,151,118,66,37,176,116,105,101,144,
-231,11,94,237,238,254,12,82,22,25,119,81,101,149,164,56,186,94,194,160,
-245,108,240,244,185,180,148,85,93,39,20,18,161,183,87,128,142,142,14,56,
-127,190,231,211,222,222,179,207,230,3,60,73,186,149,216,185,115,176,164,
-175,239,236,225,43,174,240,150,123,60,147,178,50,144,177,168,141,12,236,
-12,120,10,80,74,169,118,59,192,164,73,44,250,185,130,110,147,84,93,167,
-163,227,20,246,66,71,135,107,106,230,173,41,47,247,113,44,203,249,240,25,
-110,140,64,158,56,99,42,31,194,186,114,30,221,239,148,44,199,15,117,117,
-249,78,62,246,24,35,79,152,0,201,219,111,247,93,223,223,223,243,215,234,
-234,153,54,151,171,48,29,204,36,58,96,155,205,216,157,42,233,54,193,100,
-162,52,169,160,123,104,249,63,18,17,17,120,2,43,116,2,103,2,10,90,19,90,
-195,173,88,173,44,67,233,148,227,180,165,245,92,10,182,42,18,186,88,2,83,
-115,2,45,22,86,48,83,157,49,155,109,59,108,54,71,243,210,165,211,142,79,
-136,0,201,27,111,156,107,8,6,207,111,45,43,155,226,242,249,166,103,17,160,
-86,163,168,72,253,148,14,90,2,175,181,214,138,234,227,177,152,132,41,86,
-66,224,81,4,37,224,53,86,140,3,43,130,55,227,181,102,181,152,233,98,140,
-55,82,8,181,43,212,111,209,231,112,56,14,126,127,0,93,238,51,137,231,205,
-111,152,205,133,79,220,117,151,239,220,69,9,144,188,250,234,201,202,80,
-40,176,109,214,172,138,171,189,222,169,105,215,113,58,181,35,78,107,169,
-166,143,70,74,57,165,65,210,118,88,173,17,231,206,245,64,69,69,5,46,47,
-76,159,110,65,119,226,128,38,80,90,186,85,141,237,9,237,233,24,143,107,
-4,140,196,232,183,174,174,211,56,221,245,12,216,237,158,21,247,221,87,181,
-243,162,4,72,94,126,249,240,131,118,187,117,243,220,185,213,233,116,89,
-92,204,32,72,5,14,31,110,67,144,231,82,126,47,210,66,147,163,23,139,242,
-5,172,176,109,117,117,245,55,249,124,110,190,162,194,138,109,3,140,152,
-45,114,135,35,2,73,224,71,27,140,116,215,165,218,113,244,104,155,96,179,
-21,221,249,192,3,87,111,203,202,66,163,9,203,218,254,226,247,127,38,145,
-118,201,61,72,211,20,164,244,48,191,223,175,36,147,137,187,49,255,87,203,
-178,109,150,44,23,150,9,66,81,73,97,97,235,204,101,203,150,15,148,151,151,
-112,56,213,169,193,76,227,168,177,8,26,215,130,5,63,132,218,218,31,64,67,
-195,247,85,50,185,146,105,71,36,180,190,19,174,186,234,74,115,48,216,247,
-155,23,95,60,52,71,63,135,27,139,0,154,234,244,134,13,251,255,222,221,253,
-239,155,202,203,189,106,231,137,29,128,202,57,138,45,42,203,90,246,55,53,
-221,220,101,188,230,240,97,101,17,186,209,242,234,234,66,134,52,111,172,
-208,198,69,154,166,123,81,27,158,72,132,213,150,100,180,130,169,139,102,
-45,5,73,20,194,204,153,222,194,206,206,158,77,248,117,195,184,22,80,217,
-113,5,235,218,219,79,73,216,250,170,213,53,18,145,176,162,202,106,75,204,
-178,140,35,247,124,12,226,181,83,167,90,85,240,153,7,103,0,209,158,102,
-11,26,142,104,207,48,2,238,35,120,47,105,204,170,111,236,106,227,113,17,
-170,171,125,120,223,100,221,186,117,239,206,187,40,129,85,171,174,57,128,
-249,122,3,142,129,10,105,0,27,62,245,102,86,108,236,113,95,101,60,183,173,
-77,153,17,139,13,93,231,118,243,106,219,144,91,51,72,235,4,222,72,200,100,
-162,4,16,75,167,211,145,43,211,142,103,90,114,134,210,49,62,63,242,221,
-139,18,32,249,228,19,229,23,177,88,232,247,251,246,237,85,168,125,166,20,
-233,114,185,240,102,177,122,227,121,216,193,94,95,80,192,176,148,38,115,
-193,147,187,16,248,220,174,150,231,89,117,166,230,121,211,168,174,67,57,
-198,72,128,22,197,98,105,233,36,154,97,174,155,16,129,215,94,171,151,214,
-174,61,241,99,188,245,227,123,246,180,68,15,29,250,8,28,14,7,90,99,248,
-59,203,151,191,111,210,207,19,4,201,71,128,244,224,211,23,101,23,2,63,90,
-87,75,111,247,70,35,144,233,106,101,131,21,168,32,17,59,170,244,86,10,236,
-105,19,34,160,201,19,242,147,79,46,94,111,183,59,175,60,123,246,194,230,
-131,7,91,7,208,156,101,83,167,250,111,76,235,138,145,77,90,93,200,104,145,
-114,250,88,224,53,11,104,4,70,115,33,77,251,153,161,72,175,57,164,36,34,
-134,46,173,92,2,1,77,154,154,22,159,121,246,217,91,127,90,92,60,195,203,
-113,252,205,138,98,182,234,191,225,92,28,16,4,49,157,207,105,182,208,95,
-53,230,166,81,125,175,19,224,121,126,132,239,19,88,125,174,48,186,81,65,
-1,139,173,73,132,26,202,94,53,209,92,10,1,93,214,173,171,69,221,194,187,
-198,239,4,129,249,8,251,24,5,235,4,19,8,140,61,83,24,227,99,254,252,155,
-96,202,148,50,168,172,172,54,144,83,82,19,157,113,40,210,220,137,250,44,
-147,137,193,30,43,72,141,226,177,255,154,192,104,50,99,70,199,135,109,109,
-147,206,12,13,9,62,155,205,60,238,96,164,255,214,208,176,4,234,235,151,
-100,145,210,136,100,79,116,250,190,164,132,71,237,139,216,31,157,71,69,
-177,239,93,178,11,141,39,85,85,95,21,173,86,203,115,29,29,254,9,13,69,180,
-106,107,203,224,198,27,167,224,114,27,180,111,28,136,52,240,148,194,233,
-149,140,211,201,193,201,147,23,176,157,137,92,176,217,98,187,242,74,128,
-100,120,88,120,25,221,232,31,29,29,189,233,87,241,227,205,214,162,72,175,
-37,147,160,117,183,74,42,56,179,9,208,103,179,25,128,222,26,250,253,2,28,
-58,116,68,193,216,249,213,250,245,247,39,232,153,19,250,135,230,82,100,
-251,246,115,158,112,56,180,203,237,118,94,85,89,233,29,225,247,163,199,
-131,146,5,56,245,175,143,90,16,105,254,160,110,118,112,80,130,93,187,62,
-196,193,168,125,223,156,57,245,245,15,63,60,91,188,44,4,72,222,121,167,
-171,164,183,55,244,7,171,149,95,48,123,182,143,41,42,178,143,120,215,154,
-1,14,57,115,180,6,158,142,21,21,102,204,106,50,244,247,75,176,127,255,191,
-160,179,243,84,187,205,54,169,118,227,198,219,46,232,207,186,44,4,72,90,
-90,20,83,103,231,167,43,163,209,200,218,162,34,135,119,218,180,41,224,241,
-148,164,95,30,27,255,59,208,122,38,41,101,1,49,93,192,124,62,51,180,183,
-135,97,207,158,189,74,40,20,252,167,197,226,186,237,249,231,27,179,134,
-154,203,70,64,151,109,219,122,108,129,64,224,30,81,76,220,131,213,251,26,
-236,40,77,84,201,177,159,194,2,102,82,93,134,97,180,134,173,164,164,68,
-157,47,136,0,205,211,62,95,1,236,222,125,2,176,112,238,117,56,92,11,80,
-243,201,220,251,95,118,2,70,105,110,254,208,27,143,39,191,137,243,238,213,
-152,89,166,227,240,227,68,176,124,50,73,111,183,135,106,23,45,250,118,129,
-201,196,171,214,160,172,67,99,232,214,173,45,152,247,7,126,190,121,243,
-93,207,141,118,207,188,213,129,137,200,253,247,127,131,204,255,102,106,
-101,201,234,213,127,58,16,12,134,174,163,70,145,102,15,155,141,71,224,113,
-26,37,37,212,254,91,99,221,51,175,105,244,127,17,244,154,56,185,143,162,
-86,63,122,195,193,161,235,28,69,247,226,255,188,97,67,99,231,151,158,0,
-130,47,51,99,194,199,54,25,104,166,56,118,236,60,253,187,25,54,155,11,30,
-31,239,186,47,5,129,166,166,247,220,201,100,108,166,13,147,190,195,193,
-65,87,151,31,131,119,175,104,179,185,87,110,218,116,199,201,241,174,253,
-92,99,96,44,137,68,6,23,162,239,115,148,98,91,91,143,160,230,59,67,14,71,
-241,125,27,55,54,110,189,216,181,95,10,2,162,40,223,65,47,10,118,236,216,
-41,48,12,247,38,207,187,126,137,41,179,123,34,215,126,225,4,30,122,232,
-45,143,32,4,10,144,196,106,134,97,255,216,220,124,207,153,47,26,211,231,
-42,255,1,197,242,58,57,228,221,196,12,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_56 = 3445;
-static unsigned char xml_res_file_56[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,2,144,73,68,65,84,120,218,116,146,63,76,19,113,20,199,191,191,
-251,253,174,45,237,21,140,136,7,209,88,45,109,37,168,16,168,32,24,18,163,
-113,34,2,46,186,200,96,28,228,143,194,64,52,58,24,211,213,8,44,134,21,74,
-28,144,65,76,140,72,100,112,41,18,7,107,140,53,1,226,159,8,22,218,2,133,
-59,175,119,148,210,235,185,104,130,165,253,36,47,239,13,47,159,228,189,
-124,97,24,6,242,149,205,102,107,247,214,122,215,75,69,113,232,224,254,226,
-130,92,59,28,242,80,104,183,247,93,188,112,241,169,154,80,138,51,186,222,
-109,182,88,158,229,218,251,79,208,123,187,135,7,0,183,219,61,224,243,249,
-6,26,26,234,65,57,10,202,113,96,148,182,86,184,220,87,178,5,236,223,48,
-240,184,255,220,251,217,217,59,157,55,59,164,145,225,225,246,81,191,31,
-95,62,135,192,40,133,197,108,129,221,110,199,241,202,202,194,108,1,49,12,
-3,221,29,157,55,2,239,102,238,54,55,55,87,180,180,180,96,116,100,4,209,
-104,12,162,40,226,99,48,8,16,130,99,78,231,253,231,47,38,30,101,11,104,
-44,18,113,76,191,153,174,137,173,173,29,242,184,92,71,39,95,77,98,38,16,
-64,169,40,130,55,153,32,73,18,78,158,170,186,62,54,62,54,148,235,7,196,
-48,12,156,109,108,188,52,55,63,223,103,24,198,121,179,201,12,11,207,195,
-106,181,130,82,186,157,214,117,179,211,85,254,228,245,212,84,111,222,39,
-106,74,194,85,83,93,237,36,0,100,73,130,156,80,96,21,4,36,183,183,253,28,
-165,161,229,112,184,231,86,87,215,131,92,2,234,243,249,176,176,176,16,82,
-19,106,66,211,212,113,249,183,92,8,144,72,42,149,226,226,241,245,250,140,
-174,63,244,184,221,222,185,185,249,203,193,15,193,111,173,109,173,161,61,
-39,236,198,237,44,231,190,254,248,158,169,171,245,54,197,227,241,128,96,
-23,126,38,181,173,152,77,16,206,36,147,201,168,166,105,135,23,195,191,244,
-188,130,221,52,212,213,93,19,108,130,63,190,17,103,210,166,4,85,211,64,
-121,214,22,137,70,95,230,12,82,54,171,171,107,177,229,200,10,99,140,135,
-96,183,67,20,69,16,131,196,114,6,41,27,143,179,220,163,106,234,61,74,41,
-148,132,2,193,38,192,225,56,130,72,36,90,156,55,202,89,76,148,28,40,169,
-82,85,21,177,216,170,36,203,242,167,165,197,37,72,146,116,117,143,160,172,
-172,204,198,113,156,155,227,56,207,223,238,224,40,45,72,239,236,164,25,
-99,216,87,84,100,166,148,150,40,138,2,89,146,78,19,66,92,132,16,19,0,176,
-193,193,126,178,185,177,121,194,48,140,38,0,5,132,16,2,128,15,175,172,188,
-101,140,22,241,140,103,140,103,76,73,36,82,218,150,22,79,235,122,152,82,
-106,201,100,50,28,0,252,25,0,39,105,40,55,164,45,1,11,0,0,0,0,73,69,78,
-68,174,66,96,130};
-
-static size_t xml_res_size_57 = 683;
-static unsigned char xml_res_file_57[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,61,73,68,65,84,56,203,
-165,147,65,75,212,97,16,198,127,187,173,26,100,7,77,73,119,75,173,204,77,
-75,205,131,105,20,21,68,16,148,26,120,48,194,67,167,190,64,116,200,75,116,
-171,47,208,41,42,234,228,53,18,66,2,211,74,45,53,119,205,32,114,181,210,
-77,55,83,86,36,212,255,255,157,121,223,14,70,40,69,96,62,48,151,225,97,
-96,230,55,79,192,57,199,102,20,220,136,249,226,163,166,167,205,247,206,
-101,254,215,128,150,135,141,245,190,111,78,26,207,188,91,219,15,92,233,
-184,244,123,7,171,22,171,22,21,219,103,213,182,17,12,94,16,35,103,197,72,
-116,91,102,54,145,220,8,115,11,115,36,38,199,99,207,174,189,168,1,8,1,180,
-86,93,198,225,112,206,97,157,99,108,246,227,209,247,201,209,46,177,66,180,
-248,0,91,51,179,16,181,168,83,242,114,242,88,94,94,57,124,236,70,237,203,
-87,55,7,142,7,157,115,88,28,214,217,95,165,236,201,219,75,109,73,45,233,
-133,52,25,161,12,140,8,198,26,140,26,140,10,198,8,198,55,25,0,33,43,150,
-7,111,238,162,162,4,237,22,246,231,151,113,48,114,136,156,237,59,8,185,
-12,198,147,19,164,230,103,152,78,205,16,222,25,65,69,72,76,140,143,12,220,
-138,215,1,4,214,98,108,185,223,144,45,70,175,151,135,43,218,142,68,235,
-136,37,134,233,137,245,168,58,219,212,213,214,219,81,119,181,70,53,100,
-63,13,222,142,151,254,149,130,11,130,13,56,226,99,49,150,188,37,162,69,
-229,248,63,12,94,218,3,192,95,242,241,230,188,117,116,2,173,237,205,78,
-140,32,70,112,226,40,200,45,100,49,189,72,89,56,202,190,162,82,38,166,198,
-25,30,141,147,72,36,56,24,173,64,196,50,52,56,52,146,104,255,92,13,16,50,
-190,225,68,249,41,212,41,106,5,177,202,92,214,60,241,15,113,138,119,149,
-16,46,136,80,88,16,193,158,182,168,85,44,22,111,197,171,218,125,62,252,
-122,234,201,116,93,208,248,235,47,44,42,44,46,45,146,250,254,141,231,189,
-221,204,167,231,17,39,136,21,196,41,98,21,17,69,140,26,128,64,195,157,51,
-78,140,96,124,65,252,85,68,98,164,79,60,109,243,211,254,234,35,249,26,205,
-207,207,167,178,186,146,228,151,36,67,253,111,99,51,157,179,53,127,80,248,
-151,138,26,35,245,42,218,165,98,39,83,157,179,209,13,103,97,242,241,215,
-126,53,218,173,70,43,215,81,216,108,156,127,2,159,164,108,180,35,52,212,
-126,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_58 = 704;
-static unsigned char xml_res_file_58[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,82,73,68,65,84,56,203,
-165,147,61,104,20,97,16,134,159,217,205,221,37,155,205,197,63,136,209,194,
-74,209,34,70,193,194,159,194,242,16,21,75,17,27,209,210,42,65,139,40,104,
-99,41,145,136,9,88,137,229,25,16,180,180,144,24,236,108,18,81,8,22,194,
-137,10,198,120,183,185,108,246,239,219,253,198,66,47,26,147,206,129,129,
-129,25,158,121,95,152,17,85,229,127,162,11,224,198,131,23,35,85,207,59,
-213,138,181,44,34,136,224,171,37,236,12,137,88,210,36,126,62,62,90,27,223,
-20,80,245,189,83,87,206,236,223,234,121,190,252,213,243,59,69,152,26,38,
-167,231,206,2,155,3,150,35,202,158,231,203,147,151,11,131,223,155,95,182,
-180,51,117,20,176,69,183,91,113,122,139,114,201,197,24,177,99,83,179,11,
-105,18,215,199,71,107,183,215,1,68,232,205,129,149,48,219,122,177,118,160,
-203,243,170,40,74,97,45,46,190,91,46,185,36,105,238,22,104,117,114,122,
-238,60,176,30,160,202,170,42,126,43,42,164,187,199,231,233,204,71,119,169,
-185,236,4,177,32,34,168,173,224,136,224,58,206,206,204,200,192,216,212,
-108,144,38,241,163,241,209,218,72,87,135,164,10,69,161,110,102,93,130,118,
-238,92,62,125,8,207,235,251,215,178,0,18,166,166,127,114,122,238,18,240,
-27,32,244,90,11,32,133,35,61,110,16,42,158,215,199,194,215,54,175,27,215,
-233,175,46,17,101,134,79,139,219,57,190,235,14,71,247,239,70,196,149,53,
-11,168,34,40,89,241,131,60,15,41,172,146,3,185,181,248,254,34,61,165,109,
-88,82,108,185,193,183,86,132,85,139,136,86,215,0,14,246,155,22,217,78,175,
-188,195,237,46,85,113,28,7,85,88,137,50,90,73,66,161,171,132,38,165,25,
-37,180,72,65,5,85,218,107,128,40,74,94,76,212,231,15,26,43,67,105,106,40,
-108,252,11,144,88,26,95,247,98,43,239,8,77,68,208,218,195,190,129,202,198,
-59,184,119,173,118,31,224,230,212,171,225,74,151,221,13,149,65,107,33,136,
-11,134,7,198,56,220,24,225,253,135,79,4,39,239,146,155,28,5,68,228,143,
-133,78,68,81,242,108,162,62,127,4,149,115,130,242,246,243,85,140,49,188,
-201,50,178,193,18,217,187,243,24,99,184,112,226,13,107,47,164,170,27,242,
-198,228,76,99,169,25,232,114,152,104,16,38,26,132,177,182,86,254,228,98,
-179,173,183,30,190,110,169,234,122,5,127,41,169,79,212,231,143,89,156,33,
-199,17,4,250,21,150,233,108,21,203,106,24,63,6,144,255,125,231,159,170,
-154,75,27,99,123,197,90,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_59 = 639;
-static unsigned char xml_res_file_59[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,103,65,77,65,0,0,175,200,55,5,138,233,0,0,0,25,
-116,69,88,116,83,111,102,116,119,97,114,101,0,65,100,111,98,101,32,73,109,
-97,103,101,82,101,97,100,121,113,201,101,60,0,0,2,17,73,68,65,84,120,218,
-124,83,207,75,27,81,16,158,221,108,49,150,210,67,4,171,164,5,79,17,210,
-30,66,101,21,212,131,244,16,74,47,133,210,67,255,146,34,244,95,40,66,79,
-94,122,232,169,105,104,60,40,106,17,193,171,191,64,10,129,224,33,135,182,
-27,33,8,217,136,155,108,178,217,221,55,157,121,238,62,178,81,124,240,241,
-246,189,157,239,155,111,102,118,53,68,4,77,211,158,2,192,19,66,10,238,95,
-151,132,127,196,17,234,134,5,104,205,13,6,131,171,32,8,66,2,142,34,12,67,
-244,60,15,75,165,210,23,138,157,33,232,204,147,220,72,96,158,201,174,235,
-98,175,215,83,232,118,187,232,56,14,218,182,45,133,90,173,22,150,203,229,
-132,8,47,45,18,144,89,124,223,151,59,35,22,104,183,219,210,69,191,223,71,
-78,82,169,84,164,136,44,63,18,48,73,224,88,8,1,213,106,21,72,68,129,136,
-64,239,160,88,44,14,151,12,134,97,44,208,118,106,196,189,160,70,130,174,
-235,80,40,20,84,32,11,178,0,131,156,168,115,38,147,81,61,52,70,219,92,171,
-213,100,70,14,100,7,252,28,19,121,55,77,83,185,72,8,68,227,132,124,62,159,
-56,51,137,193,103,22,81,110,51,169,7,194,14,33,81,2,7,213,235,117,101,155,
-137,236,32,30,25,159,185,196,67,251,8,38,214,39,215,197,181,48,19,83,24,
-157,253,240,78,223,137,156,208,231,243,53,92,56,88,194,135,111,31,189,99,
-238,173,30,88,150,165,178,59,129,3,39,221,83,88,78,47,73,135,223,175,126,
-64,185,83,129,95,139,91,144,219,204,53,148,123,118,16,103,138,179,254,180,
-54,240,197,126,1,179,187,51,248,199,249,139,59,23,187,56,185,157,197,173,
-198,182,140,97,206,45,7,156,165,217,108,222,76,224,122,0,6,26,224,11,31,
-62,158,173,194,153,251,27,94,61,94,129,55,83,175,101,92,130,23,57,16,163,
-117,119,188,14,190,63,252,32,51,231,246,158,99,163,211,144,239,194,155,
-113,204,211,189,252,158,217,14,147,123,188,15,187,73,167,210,240,237,229,
-87,88,158,88,132,79,179,171,48,61,62,205,211,224,88,151,66,228,76,181,104,
-222,207,162,223,89,191,235,31,78,101,141,177,240,34,240,134,174,152,124,
-73,14,172,255,2,12,0,63,205,231,104,37,153,30,32,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_60 = 7960;
-static unsigned char xml_res_file_60[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,231,0,0,0,66,8,2,0,
-0,0,226,201,137,234,0,0,0,9,112,72,89,115,0,0,14,196,0,0,14,196,1,149,43,
-14,27,0,0,0,7,116,73,77,69,7,215,12,11,20,30,26,227,18,33,62,0,0,0,7,116,
-69,88,116,65,117,116,104,111,114,0,169,174,204,72,0,0,0,12,116,69,88,116,
-68,101,115,99,114,105,112,116,105,111,110,0,19,9,33,35,0,0,0,10,116,69,
-88,116,67,111,112,121,114,105,103,104,116,0,172,15,204,58,0,0,0,14,116,
-69,88,116,67,114,101,97,116,105,111,110,32,116,105,109,101,0,53,247,15,
-9,0,0,0,9,116,69,88,116,83,111,102,116,119,97,114,101,0,93,112,255,58,0,
-0,0,11,116,69,88,116,68,105,115,99,108,97,105,109,101,114,0,183,192,180,
-143,0,0,0,8,116,69,88,116,87,97,114,110,105,110,103,0,192,27,230,135,0,
-0,0,7,116,69,88,116,83,111,117,114,99,101,0,245,255,131,235,0,0,0,8,116,
-69,88,116,67,111,109,109,101,110,116,0,246,204,150,191,0,0,0,6,116,69,88,
-116,84,105,116,108,101,0,168,238,210,39,0,0,1,0,73,68,65,84,120,156,237,
-157,121,152,84,213,153,240,223,115,183,170,174,174,234,125,165,155,94,216,
-26,4,141,178,69,1,65,68,136,235,243,57,99,226,36,113,137,130,18,253,198,
-201,98,68,103,38,51,25,51,209,228,51,15,102,198,103,76,196,72,43,201,151,
-196,76,28,157,204,8,134,97,105,32,17,228,51,17,13,32,216,208,43,13,52,205,
-214,91,85,221,123,207,246,206,31,167,234,82,116,179,152,177,27,191,150,
-243,123,138,122,186,111,157,58,247,189,183,233,223,125,251,61,231,158,34,
-136,8,26,141,70,163,25,33,24,31,119,0,26,141,70,163,249,19,208,214,214,
-104,52,154,145,132,182,182,70,163,209,140,36,180,181,53,26,141,102,36,161,
-173,173,209,104,52,35,9,109,109,141,70,163,25,73,104,107,107,52,26,205,
-5,69,202,143,244,118,109,109,141,70,163,185,160,248,236,35,105,155,232,
-187,108,52,26,141,102,4,161,115,109,141,70,163,25,73,104,107,107,52,26,
-205,72,66,91,91,163,209,104,70,18,218,218,26,141,70,51,146,176,62,238,0,
-52,26,141,230,227,167,163,179,241,189,61,130,246,24,52,0,0,1,0,73,68,65,
-84,155,247,181,190,211,209,185,47,233,245,15,120,181,174,118,218,232,242,
-186,9,181,211,46,191,228,154,143,35,186,211,208,115,72,52,26,205,197,75,
-210,235,223,184,245,23,219,222,93,141,38,175,29,59,161,162,162,182,164,
-164,34,28,206,54,136,1,64,0,81,130,112,189,196,209,163,135,14,29,108,61,
-124,168,189,239,68,239,229,151,92,115,203,181,75,11,243,71,157,177,67,4,
-32,31,45,164,99,61,172,56,207,62,71,3,109,109,141,70,115,49,162,124,189,
-113,219,47,71,213,84,94,49,115,118,97,126,89,52,20,117,172,176,109,90,6,
-33,166,73,36,112,33,56,151,148,73,74,25,167,76,80,206,186,123,143,237,219,
-187,235,131,157,127,156,49,229,51,131,221,141,8,148,35,0,134,236,97,44,
-62,107,107,107,52,154,139,142,198,214,119,86,189,250,120,172,36,251,242,
-25,87,141,42,174,201,143,20,70,156,108,2,6,33,70,144,41,35,8,137,76,128,
-207,209,99,24,103,152,164,140,249,148,120,46,137,187,61,123,119,190,215,
-246,126,243,237,55,125,99,214,212,91,84,123,33,145,139,155,129,100,85,0,
-0,1,0,73,68,65,84,148,78,181,181,53,26,141,102,200,120,125,227,243,107,
-223,124,233,170,69,243,199,214,78,30,149,83,21,113,98,6,177,8,152,6,24,
-0,6,1,66,128,32,72,0,148,192,4,250,28,93,142,46,7,151,98,130,99,220,23,
-110,50,30,118,125,126,236,216,225,119,182,188,53,165,250,234,123,110,123,
-156,11,20,242,148,75,17,33,236,12,151,184,181,181,53,26,205,69,196,170,
-87,31,223,213,246,219,57,55,47,24,91,114,73,105,172,210,0,219,36,182,1,
-54,1,211,23,241,163,201,230,227,201,3,9,218,211,227,118,10,41,133,20,76,
-114,46,185,99,100,59,102,40,47,82,92,146,91,28,141,152,62,244,122,30,198,
-251,67,241,100,223,238,183,222,37,241,172,175,220,179,34,43,28,13,246,162,
-173,173,209,104,52,67,192,170,87,31,223,213,182,121,246,77,215,78,170,184,
-34,63,171,196,4,199,36,33,3,236,62,255,232,193,254,63,30,137,239,55,32,
-43,219,41,9,91,121,142,21,117,204,108,219,140,0,64,191,215,197,37,239,243,
-186,142,38,218,186,250,218,178,157,252,203,71,79,119,56,52,158,242,0,0,
-1,0,73,68,65,84,34,174,47,123,251,187,99,62,247,254,248,187,119,204,120,
-246,99,15,252,60,216,145,182,182,70,163,209,124,84,54,108,251,197,27,219,
-158,159,121,227,172,43,170,175,138,57,5,38,9,91,36,132,210,232,232,127,
-183,163,119,103,196,46,207,11,143,201,118,138,108,18,178,12,155,128,97,
-18,155,16,2,0,18,133,122,112,164,30,79,190,186,235,137,121,53,159,15,219,
-81,106,118,113,187,163,191,59,230,115,250,254,155,127,172,137,77,191,227,
-214,111,169,125,13,171,181,245,93,54,23,152,182,250,27,8,33,203,54,127,
-220,113,104,52,23,21,141,173,239,188,182,254,153,75,23,125,106,194,168,
-9,17,39,66,136,65,192,16,82,190,215,245,235,131,125,141,101,209,153,149,
-57,87,22,134,171,99,86,97,204,46,204,177,139,242,156,178,28,187,48,102,
-21,198,172,194,92,187,56,207,41,205,177,139,115,236,98,198,93,199,204,202,
-15,151,27,96,18,150,35,250,71,219,217,189,0,56,102,250,184,93,237,13,155,
-182,191,124,1,142,101,200,172,173,108,116,6,33,109,94,70,8,185,161,190,
-109,168,97,224,118,108,0,0,1,0,73,68,65,84,118,116,62,54,47,35,167,113,
-1,119,253,167,133,129,131,248,56,226,212,104,46,10,86,189,250,248,152,43,
-199,84,151,84,228,71,114,0,16,0,132,100,239,116,190,150,160,94,85,238,220,
-130,112,77,182,149,27,181,243,149,178,115,236,162,152,85,16,179,139,98,
-118,97,204,46,140,217,69,49,171,48,215,41,206,181,139,187,147,135,75,178,
-171,8,81,179,77,12,2,150,72,148,2,24,166,99,142,189,106,220,250,109,47,
-158,232,233,28,238,99,25,250,92,123,249,83,245,109,103,113,209,112,27,170,
-173,254,6,66,230,47,63,125,227,218,251,106,201,35,13,82,74,41,229,133,241,
-227,57,195,64,41,1,0,133,16,42,164,224,11,21,222,176,6,166,209,92,156,188,
-190,241,121,145,157,40,173,41,174,204,47,68,144,8,18,17,223,62,252,90,220,
-247,106,242,231,102,91,249,17,43,39,219,202,203,182,242,162,86,94,150,25,
-179,72,200,32,166,154,76,162,30,6,49,45,226,132,205,104,103,255,190,138,
-156,58,0,32,106,51,24,4,12,66,8,162,140,228,101,197,170,178,126,179,249,
-5,0,199,178,157,240,0,0,1,0,73,68,65,84,16,31,237,115,15,206,205,16,91,
-251,250,235,175,135,181,247,61,219,144,242,145,16,66,74,4,128,1,122,26,
-22,73,109,94,86,123,223,90,0,128,71,54,169,221,113,206,57,231,77,43,22,
-2,74,206,185,218,146,222,121,235,202,207,124,200,60,188,173,254,134,63,
-37,99,63,79,24,106,118,144,20,156,51,198,40,165,234,57,8,76,139,91,163,
-25,90,146,94,255,198,109,47,87,92,81,62,182,164,88,128,144,192,17,196,190,
-147,219,143,247,159,168,201,159,157,109,229,103,153,177,176,25,139,152,
-57,89,102,204,36,54,0,28,77,54,109,239,252,191,107,90,159,92,245,254,125,
-43,119,222,243,111,141,223,124,163,121,249,158,227,155,122,253,163,237,
-189,187,138,35,213,0,128,136,234,31,16,0,32,82,74,9,178,184,174,232,221,
-253,107,143,159,60,44,229,48,254,34,15,241,58,36,83,30,125,116,242,218,
-181,79,63,181,114,233,156,123,70,75,9,0,68,8,0,64,137,82,37,153,105,43,
-25,134,65,8,81,207,67,177,231,182,250,167,150,3,192,245,43,91,223,88,92,
-173,244,167,164,95,209,61,20,0,0,1,0,73,68,65,84,89,126,215,175,19,0,140,
-49,181,35,195,48,76,211,52,12,68,0,144,152,25,82,192,217,66,250,16,45,207,
-27,70,187,64,0,16,156,82,63,237,104,66,136,105,154,166,105,90,150,5,233,
-51,243,145,79,136,70,163,1,0,216,182,227,117,167,204,40,44,140,102,103,
-153,2,169,9,220,151,137,61,157,59,106,242,103,198,156,98,199,200,10,153,
-217,89,102,118,200,140,16,48,152,116,183,30,174,63,146,104,44,141,76,44,
-137,76,40,10,141,225,200,133,100,135,227,251,214,182,252,11,19,44,98,231,
-68,236,28,42,93,4,68,80,78,147,136,146,9,206,145,27,54,201,171,201,125,
-99,243,11,159,191,229,91,195,119,68,67,156,107,163,156,251,224,138,133,
-176,254,129,191,92,217,76,41,245,125,159,50,9,0,40,153,130,115,206,88,195,
-163,161,144,109,219,150,101,25,134,65,150,109,82,239,29,148,211,14,30,184,
-219,188,236,108,35,121,109,27,255,109,45,0,60,242,232,226,106,149,180,114,
-206,213,30,83,97,80,170,246,158,206,184,149,127,17,229,25,56,115,194,123,
-166,182,3,91,158,122,201,50,243,0,0,1,0,73,68,65,84,63,12,198,17,0,36,167,
-212,247,125,175,225,111,243,243,243,243,242,242,98,177,88,36,18,113,28,
-231,177,211,14,46,24,44,24,48,98,112,182,237,26,141,102,32,111,237,88,157,
-91,29,45,204,9,113,116,5,80,14,244,253,206,29,82,154,163,115,47,115,140,
-176,99,134,67,70,150,99,100,41,101,191,222,242,109,46,216,162,170,101,51,
-203,238,152,148,63,127,98,225,252,73,133,243,39,21,206,191,166,234,222,
-91,39,252,205,167,74,63,83,157,123,169,4,33,81,32,10,137,82,162,64,144,
-8,200,133,240,124,95,162,44,24,159,247,251,157,171,93,127,224,250,83,67,
-200,208,215,181,43,190,244,200,87,0,54,60,244,163,6,207,243,60,207,165,
-12,0,144,165,74,1,126,211,202,255,21,189,225,153,204,55,44,191,150,124,
-102,101,171,148,85,181,147,1,214,254,106,67,186,42,222,182,225,87,107,1,
-96,249,154,77,233,106,244,166,53,203,1,30,185,113,222,25,6,241,218,62,88,
-11,0,143,220,56,87,74,41,165,218,87,224,107,165,236,244,53,131,165,202,
-53,8,0,160,114,225,192,89,112,5,9,0,0,1,0,73,68,65,84,173,103,173,84,72,
-28,96,225,51,183,252,16,97,72,9,0,130,81,234,251,254,150,255,122,110,192,
-217,123,250,58,107,89,170,8,223,176,140,164,106,45,233,19,53,127,217,38,
-148,178,225,145,65,219,211,117,251,11,84,184,215,104,70,10,39,186,15,31,
-233,109,14,23,59,57,217,132,163,199,209,167,194,221,215,245,65,65,164,202,
-50,28,139,56,54,9,219,70,200,36,22,0,108,233,88,145,231,84,206,26,117,175,
-99,69,37,50,1,92,162,16,200,213,195,52,172,113,5,211,39,21,207,145,168,
-238,93,87,211,1,101,202,224,82,248,156,122,190,79,44,140,142,138,236,110,
-220,50,124,7,53,212,185,54,160,148,115,150,60,179,0,224,135,207,252,164,
-217,247,125,143,10,0,16,66,213,112,91,86,125,245,171,27,31,124,237,216,
-177,99,221,221,221,241,120,220,117,221,166,21,11,97,221,253,207,54,8,113,
-245,245,15,3,172,219,219,164,10,226,45,235,94,89,7,0,0,203,215,52,40,207,
-182,236,223,9,176,104,124,213,192,250,184,148,178,173,105,39,0,44,154,80,
-131,136,170,142,204,142,32,49,225,0,0,1,0,73,68,65,84,24,243,125,95,233,
-85,169,57,48,218,41,213,162,196,180,136,3,171,14,214,49,166,254,12,58,127,
-203,182,230,221,231,11,3,213,213,66,85,253,185,188,239,103,251,246,53,55,
-55,183,183,183,119,117,117,245,244,172,254,42,192,211,79,189,208,194,185,
-104,88,179,28,96,209,243,77,60,205,134,135,65,10,46,26,214,60,13,176,112,
-69,83,112,41,90,255,48,96,106,16,33,179,112,175,75,228,26,13,188,187,119,
-115,184,216,137,101,25,104,80,138,30,197,196,145,158,227,253,126,111,105,
-116,172,69,108,203,80,15,7,128,28,73,52,118,37,90,46,45,190,153,73,159,
-75,159,75,202,37,229,72,133,100,2,153,144,60,173,111,38,36,83,95,75,20,
-2,153,64,33,144,75,224,140,179,164,231,73,144,225,34,167,185,125,199,240,
-29,212,80,231,218,136,136,88,113,199,242,239,207,131,45,143,189,244,91,
-223,167,92,0,0,114,74,41,101,91,94,120,120,51,192,115,127,94,92,92,156,
-159,159,31,141,70,179,178,178,198,61,176,30,0,118,238,111,102,172,114,220,
-117,0,63,88,189,145,82,74,42,158,29,80,0,0,1,0,73,68,65,84,105,211,158,
-117,240,181,181,107,191,6,240,244,234,141,140,49,198,154,246,174,131,235,
-110,157,55,138,5,168,138,135,148,65,233,63,85,68,206,124,85,189,96,154,
-230,225,95,252,69,81,81,81,65,65,65,78,78,78,36,50,241,129,245,0,235,31,
-24,231,56,145,72,36,22,139,229,230,230,222,250,98,147,26,24,108,173,191,
-41,85,189,33,132,144,218,251,215,1,172,91,122,198,150,65,255,3,206,194,
-217,195,48,82,139,211,16,130,136,51,150,45,155,46,59,126,249,165,177,213,
-213,213,165,165,165,121,121,55,63,3,0,40,24,99,76,8,0,88,183,167,137,166,
-185,234,59,137,239,204,74,109,95,191,183,41,184,126,204,82,219,51,208,73,
-183,70,163,56,216,185,47,84,104,101,103,1,67,143,97,146,98,226,224,201,
-35,76,240,226,104,181,65,44,131,152,6,177,12,48,1,160,165,247,15,69,89,
-99,9,16,38,125,38,82,226,102,146,114,76,233,59,229,113,73,57,50,46,153,
-144,140,35,227,41,137,51,1,130,113,22,119,61,137,60,84,100,29,238,218,215,
-155,224,195,116,80,67,159,245,124,211,103,0,0,1,0,73,68,65,84,107,35,162,
-148,21,183,63,184,20,96,229,243,255,122,128,115,4,0,228,148,49,198,206,
-62,29,6,25,245,253,210,217,183,44,0,216,221,216,228,251,126,195,234,103,
-224,175,22,124,250,202,235,254,10,96,215,190,102,74,105,195,154,127,6,152,
-84,85,150,81,241,80,78,228,156,143,174,157,2,0,235,62,104,13,230,108,4,
-174,36,132,88,41,204,115,7,47,121,106,58,135,56,223,248,239,169,150,169,
-121,50,169,196,182,102,236,20,0,88,215,120,174,48,76,3,0,76,211,52,13,195,
-248,253,247,235,38,78,92,240,205,55,79,239,93,112,234,251,222,140,123,159,
-89,0,240,204,245,17,197,99,27,125,197,204,197,106,123,182,226,177,6,63,
-141,10,73,161,115,109,141,6,0,78,116,31,54,34,196,118,4,67,207,71,183,215,
-141,31,235,63,22,117,10,8,24,6,24,6,88,6,24,132,24,0,112,36,222,92,144,
-85,237,139,36,21,73,38,93,42,61,38,92,46,61,150,241,72,231,224,62,151,62,
-199,32,37,247,153,164,42,215,102,140,121,148,90,57,228,80,215,62,202,135,
-235,23,112,157,89,151,70,0,0,1,0,73,68,65,84,232,235,218,41,89,92,121,247,
-19,115,96,235,183,126,190,93,74,0,144,82,48,198,218,90,62,0,128,251,126,
-214,212,218,218,218,209,209,113,232,208,161,206,206,206,206,206,206,195,
-135,15,255,244,179,69,201,100,178,176,124,60,192,198,189,141,201,228,134,
-53,207,194,131,215,76,247,220,105,215,252,111,216,248,218,250,253,238,254,
-198,93,0,15,94,51,205,117,93,215,117,61,207,11,138,197,66,8,89,53,126,33,
-0,252,96,205,111,211,53,16,53,101,69,77,207,176,44,203,113,156,49,139,255,
-51,227,189,251,159,91,8,112,221,15,119,118,119,31,57,114,164,189,189,189,
-165,165,229,165,219,74,84,135,229,95,124,37,145,72,248,190,207,57,231,188,
-121,197,66,128,235,126,116,198,150,3,235,36,53,19,23,1,192,211,111,156,
-61,12,219,82,51,89,44,203,60,242,202,143,235,1,0,22,255,100,111,99,99,99,
-75,75,75,91,219,47,191,12,0,146,121,174,155,76,22,222,246,147,131,135,182,
-47,191,70,157,214,127,185,165,160,160,224,155,13,158,239,151,220,254,179,
-206,206,223,63,157,218,165,159,159,127,0,0,1,0,73,68,65,84,254,108,176,
-221,15,6,93,213,181,68,231,218,26,77,99,235,59,118,33,160,65,125,116,41,
-122,189,201,4,21,62,33,150,65,212,95,210,196,32,41,7,182,244,188,139,40,
-169,116,169,76,82,225,82,225,82,225,81,225,50,225,81,233,81,225,49,233,
-83,233,51,233,81,233,51,244,153,12,30,148,75,42,36,167,156,49,206,92,223,
-23,200,205,136,209,211,59,92,183,219,12,223,29,237,149,159,91,186,4,96,
-85,125,253,126,0,64,68,33,68,121,229,120,0,88,185,105,91,102,205,247,180,
-1,195,25,243,238,7,88,177,126,203,150,245,43,224,254,171,167,122,158,239,
-79,155,183,20,54,253,122,227,150,134,255,220,12,243,106,74,253,76,148,178,
-133,16,114,244,252,219,22,2,192,63,45,127,169,45,112,104,224,74,53,95,197,
-113,156,96,226,10,0,32,130,154,199,29,4,19,100,238,65,141,56,149,183,170,
-25,214,233,45,131,91,42,69,74,41,177,122,193,103,23,1,192,15,206,30,134,
-105,16,0,32,150,105,30,217,186,230,183,0,75,126,218,248,200,140,212,136,
-40,231,92,2,0,114,240,208,222,237,0,0,1,0,73,68,65,84,234,251,190,239,123,
-158,231,21,255,89,125,115,115,75,75,75,203,47,238,7,128,231,254,107,75,
-74,205,165,159,251,233,129,3,237,237,237,109,191,92,122,218,246,116,96,
-153,131,147,195,246,35,214,104,70,0,2,5,69,159,74,159,162,219,151,240,125,
-225,49,193,1,72,250,51,103,82,179,108,125,78,61,145,240,121,220,23,73,95,
-38,125,145,240,101,210,23,174,47,146,84,184,84,186,190,112,153,116,169,
-240,88,74,232,30,21,94,202,233,210,227,146,49,206,152,96,62,165,2,133,153,
-69,186,71,150,181,83,51,210,174,188,235,59,179,97,235,214,173,0,169,105,
-115,98,250,213,247,2,64,253,221,227,191,247,150,210,31,231,156,243,182,
-151,239,174,121,114,171,26,99,156,57,239,62,128,189,207,61,247,2,44,185,
-122,154,178,249,212,185,247,193,150,215,159,125,125,11,204,89,52,163,216,
-207,76,42,131,186,54,226,232,123,31,253,58,0,108,120,104,114,209,63,252,
-46,51,146,131,63,187,61,250,119,111,42,89,167,75,213,193,108,104,41,211,
-46,30,96,106,37,190,84,253,3,0,240,212,102,189,113,134,0,0,1,0,73,68,65,
-84,107,3,90,6,119,15,1,0,98,213,226,71,191,113,158,48,8,0,24,196,52,71,
-215,78,2,128,250,45,255,15,0,84,15,219,190,119,231,11,0,160,12,190,237,
-187,227,190,187,53,40,106,179,178,154,57,0,128,66,110,123,178,250,201,183,
-130,33,71,49,170,118,46,4,29,232,153,36,26,205,64,36,114,138,190,143,158,
-143,158,235,11,159,187,76,112,181,124,54,0,74,76,141,57,17,176,61,158,116,
-69,191,203,251,93,30,247,68,194,79,61,146,84,36,79,61,75,151,74,87,121,
-156,74,151,74,143,74,151,75,230,83,95,229,218,92,112,137,28,97,228,220,
-101,19,64,8,49,140,202,219,191,188,228,239,183,214,171,239,17,17,113,250,
-215,235,239,121,105,201,42,120,241,238,241,47,158,214,126,201,82,41,37,
-33,132,84,214,206,129,149,111,190,9,75,150,206,68,229,31,50,237,234,197,
-176,242,197,55,97,246,63,206,44,229,156,33,18,66,16,81,41,88,233,18,0,96,
-238,255,105,124,110,119,221,131,235,225,135,127,86,249,195,211,163,249,
-218,178,204,239,82,181,11,56,53,159,47,181,46,184,80,0,0,1,0,73,68,65,84,
-112,92,80,214,16,66,168,74,52,128,148,120,202,138,103,108,41,132,8,46,9,
-112,205,83,251,87,236,28,255,192,249,195,128,89,11,239,135,231,94,168,191,
-251,146,250,244,150,57,115,230,192,155,111,166,6,51,17,94,252,210,164,211,
-206,210,156,39,239,156,137,135,182,192,143,63,95,243,227,211,182,127,247,
-142,79,7,81,5,95,124,152,31,147,70,243,137,71,72,238,73,73,16,36,2,227,
-17,46,153,129,44,99,226,48,170,207,122,44,12,87,157,116,143,196,66,249,
-132,24,4,136,210,110,176,218,159,64,46,144,114,201,212,12,19,85,66,241,
-101,42,19,23,200,61,234,51,206,40,231,92,128,64,24,86,107,15,219,10,176,
-132,24,134,97,92,117,215,119,231,166,190,85,170,133,25,15,239,220,185,246,
-219,179,79,107,188,228,167,141,143,205,4,37,190,170,185,55,205,5,128,37,
-243,63,77,8,166,110,44,156,54,231,30,0,128,241,21,165,42,177,13,166,184,
-97,250,222,66,69,205,226,213,253,253,111,252,229,233,145,60,244,31,39,226,
-79,204,201,156,18,151,246,47,0,160,28,6,72,81,56,152,0,0,1,0,73,68,65,84,
-187,85,47,94,115,174,48,82,255,25,4,226,85,127,221,252,243,197,65,139,123,
-234,119,175,88,60,62,253,29,206,248,198,218,199,103,101,116,48,251,137,
-13,47,124,182,28,229,204,71,55,171,115,154,98,206,147,155,95,252,92,5,166,
-207,85,234,252,232,92,91,163,81,8,228,62,250,73,244,60,244,4,50,32,208,
-114,124,15,130,148,32,212,253,50,42,221,158,88,56,235,80,95,83,146,247,
-37,89,111,130,247,184,188,207,229,125,30,239,247,68,194,227,253,30,143,
-123,60,225,241,184,207,19,174,218,40,18,42,31,87,115,1,251,19,46,229,106,
-152,139,11,228,50,137,249,185,229,195,116,68,67,185,190,182,42,206,6,69,
-103,37,74,37,235,192,179,193,28,56,117,247,182,146,187,154,80,161,80,253,
-168,183,168,119,5,23,69,85,217,80,1,171,74,113,40,20,202,202,202,10,135,
-195,161,80,200,52,77,68,84,181,114,207,243,24,99,136,104,154,166,227,56,
-170,162,173,114,225,64,103,170,243,32,90,21,152,105,154,161,80,40,28,14,
-7,111,81,241,168,105,118,106,8,116,64,203,80,238,46,29,120,0,0,1,0,73,68,
-65,84,40,228,56,142,101,89,166,105,170,8,213,156,191,179,133,65,8,225,156,
-171,222,60,207,11,22,33,9,206,128,105,154,144,94,185,37,56,112,117,203,
-123,80,225,9,142,66,237,49,120,54,12,67,85,240,85,84,182,109,7,81,105,52,
-23,33,223,121,246,139,39,170,246,228,215,201,236,66,46,17,146,45,101,73,
-207,107,60,212,246,224,156,39,198,228,79,206,54,115,35,86,94,182,149,227,
-24,17,151,245,255,221,166,155,166,85,205,205,13,23,168,170,55,81,55,160,
-4,185,182,100,28,41,23,148,161,79,133,199,164,71,101,50,152,199,221,184,
-191,139,113,206,56,43,46,11,69,115,140,190,223,152,79,62,186,189,56,247,
-92,31,181,254,63,102,232,43,36,169,145,217,116,197,192,48,12,85,205,0,0,
-229,59,165,161,96,181,13,227,116,212,75,74,247,170,195,32,167,206,116,250,
-224,119,5,230,10,246,174,172,23,168,223,178,172,193,109,44,203,82,151,135,
-212,233,200,32,16,168,218,46,165,84,141,7,180,12,46,57,170,231,160,116,
-115,182,48,84,85,39,248,91,97,192,159,11,193,123,36,100,80,203,0,0,1,0,
-73,68,65,84,85,168,153,227,153,129,181,131,11,109,198,93,237,68,53,11,46,
-108,58,215,214,104,0,160,48,191,188,43,185,219,117,133,129,148,0,17,196,
-143,132,67,0,164,229,248,251,85,185,19,184,193,56,82,46,153,101,136,44,
-59,118,253,184,251,215,236,95,241,233,154,107,108,211,1,0,0,130,32,79,125,
-36,130,100,2,25,151,148,73,79,205,30,81,119,72,10,228,125,253,73,198,24,
-19,156,113,102,152,54,235,131,242,146,73,195,119,80,67,108,237,1,66,132,
-116,26,168,156,194,57,15,92,28,228,128,131,157,27,136,27,210,30,12,68,15,
-0,74,130,36,152,254,156,150,166,234,65,229,224,170,13,164,253,21,36,236,
-65,108,106,239,166,105,6,46,206,124,123,176,150,147,178,246,128,158,7,183,
-84,189,5,49,168,228,250,108,97,40,107,103,94,138,2,113,103,30,139,148,50,
-56,69,65,216,234,12,100,158,237,96,167,153,9,117,166,247,53,154,139,153,
-9,181,211,118,237,94,239,37,164,45,153,73,12,233,120,232,145,156,72,100,
-107,203,218,57,99,110,226,146,50,233,83,226,89,210,118,12,24,69,43,0,0,
-1,0,73,68,65,84,140,200,194,49,119,181,156,220,189,118,207,191,215,149,
-93,82,18,43,181,76,27,0,148,184,5,138,35,61,157,157,61,135,227,126,252,
-178,154,137,153,245,110,137,226,100,119,156,9,198,56,103,156,135,34,64,
-15,202,242,146,9,195,119,80,67,105,237,76,231,42,227,4,90,9,140,25,100,
-175,131,87,182,11,188,60,56,81,205,124,53,176,182,105,154,106,38,95,176,
-47,72,47,233,103,219,169,63,76,130,177,74,149,35,171,30,130,231,32,0,149,
-11,3,128,42,101,4,221,102,90,50,72,96,7,183,204,188,108,100,158,129,51,
-134,145,121,29,82,233,127,230,57,9,186,194,140,187,240,85,155,1,169,52,
-156,110,231,1,234,215,226,214,104,0,160,174,118,154,108,48,121,157,231,
-199,137,19,21,104,123,34,105,22,229,197,246,180,117,188,221,222,48,187,
-230,122,75,218,148,216,166,176,8,152,182,17,250,242,244,167,166,150,47,
-248,215,221,255,180,163,125,117,94,36,31,1,16,37,229,172,55,217,43,17,167,
-148,94,217,114,116,43,147,62,162,148,40,36,8,129,194,167,180,187,55,193,
-57,149,200,220,129,0,0,1,0,73,68,65,84,103,92,68,178,9,71,38,142,134,198,
-76,187,98,248,14,106,232,115,109,149,101,7,102,81,186,81,117,3,211,52,51,
-111,49,87,95,100,206,121,24,80,238,8,102,212,65,134,181,131,141,65,182,
-59,32,91,87,123,87,189,101,102,217,153,23,21,21,12,166,167,163,100,186,
-56,200,160,51,107,56,106,191,170,231,115,180,12,66,61,71,24,144,206,139,
-85,12,131,199,84,7,168,25,78,207,169,51,79,218,25,165,156,89,225,249,232,
-63,80,141,102,68,51,186,188,174,32,92,217,221,183,215,59,105,24,81,6,97,
-143,247,56,142,99,198,178,179,214,125,240,202,148,242,153,38,177,9,152,
-233,89,219,104,25,161,25,21,139,102,84,44,58,154,56,184,171,107,91,87,188,
-3,17,75,179,71,151,68,71,95,86,54,11,0,174,171,47,140,123,113,199,177,16,
-133,90,64,170,227,96,55,99,140,113,193,57,207,202,9,9,202,229,209,232,164,
-241,243,134,239,160,134,190,174,29,84,21,50,43,173,144,182,73,80,168,85,
-96,6,144,145,168,102,190,170,222,126,198,76,83,93,33,50,243,92,165,42,151,
-164,248,7,0,0,1,0,73,68,65,84,53,144,40,132,200,212,162,106,166,36,155,
-89,211,8,170,22,144,54,105,112,69,25,112,92,31,178,229,185,195,200,36,56,
-246,76,155,147,116,229,122,240,177,159,113,95,65,87,144,177,84,119,80,183,
-209,233,182,230,34,103,214,21,55,191,190,183,133,198,18,86,2,173,44,79,
-64,24,165,85,85,90,176,171,185,163,126,251,83,15,93,253,143,170,25,130,
-20,200,29,51,236,24,97,147,216,37,217,149,11,198,220,158,217,143,26,153,
-156,92,122,101,79,242,80,129,21,85,21,146,190,62,175,175,207,229,92,48,
-206,17,100,36,7,68,151,57,117,202,205,89,225,232,240,13,43,13,113,133,36,
-40,113,100,230,200,65,226,172,228,149,185,61,83,217,153,242,26,252,135,
-127,240,60,192,218,198,233,55,206,100,198,160,94,29,208,185,145,158,178,
-162,218,7,222,31,208,103,102,110,27,244,121,222,150,103,60,21,3,194,200,
-60,144,115,156,204,76,101,15,232,249,220,63,133,204,194,189,86,182,70,179,
-96,246,23,55,110,123,57,153,76,120,199,140,172,106,134,217,73,222,23,54,
-136,57,110,116,201,7,102,88,96,0,0,1,0,73,68,65,84,190,3,123,94,216,246,
-189,59,103,124,37,63,44,37,114,110,82,42,195,182,17,178,12,219,36,150,1,
-166,65,76,0,20,40,16,164,144,156,35,29,157,55,110,199,177,15,114,162,142,
-68,225,122,180,163,163,151,49,193,5,231,92,22,148,153,96,8,108,142,76,189,
-245,198,97,61,162,97,169,144,4,138,12,54,194,217,117,115,54,107,127,200,
-221,13,110,156,25,67,112,157,200,180,246,224,93,12,40,38,156,163,230,126,
-222,150,231,13,227,28,167,66,49,192,230,231,104,124,70,251,103,30,160,182,
-182,70,19,9,199,22,204,250,194,27,141,207,99,164,207,59,201,236,194,36,
-239,53,12,176,156,144,57,110,116,241,238,246,63,124,111,221,215,239,156,
-241,208,164,178,169,142,12,91,134,99,27,142,73,108,131,88,4,78,253,250,
-8,100,18,37,71,26,13,199,250,18,9,38,163,92,136,142,3,125,158,175,156,45,
-16,100,97,105,196,60,152,91,93,50,115,76,213,212,97,61,162,225,154,249,
-151,169,146,143,146,90,14,232,121,64,63,231,48,102,16,67,144,231,102,182,
-63,135,178,207,214,109,17,91,194,185,0,0,1,0,73,68,65,84,32,238,243,182,
-60,111,24,67,66,230,174,207,125,128,26,205,69,206,130,217,95,220,246,238,
-106,63,30,227,102,143,204,62,130,121,73,222,29,54,136,233,132,140,201,227,
-74,219,14,117,255,243,166,111,141,47,153,124,101,205,181,87,84,94,21,13,
-229,154,196,38,0,132,152,36,181,142,169,68,64,129,172,237,100,211,161,222,
-182,222,132,75,185,223,222,26,79,198,25,23,66,112,41,132,28,83,87,148,67,
-202,18,205,222,103,151,252,189,218,233,48,77,214,134,161,189,203,70,163,
-209,104,254,255,228,189,61,155,159,255,247,191,46,186,182,194,51,142,139,
-146,246,68,135,68,129,6,49,213,74,173,137,36,235,58,145,232,233,243,128,
-64,101,94,77,97,118,73,101,94,173,122,35,2,156,136,119,29,79,28,237,56,
-217,154,164,9,199,54,139,243,178,105,63,248,46,231,66,10,129,40,173,138,
-138,210,9,227,199,246,108,61,49,183,238,142,5,115,238,87,82,45,210,214,
-214,104,52,154,143,194,175,214,60,189,181,105,77,217,188,58,87,116,137,
-156,246,190,35,148,138,56,34,39,64,212,218,35,74,170,160,98,0,0,1,0,73,
-68,65,84,82,66,127,130,186,30,239,75,80,0,0,76,255,67,136,100,89,142,109,
-198,162,142,31,151,199,187,124,193,165,148,4,164,69,32,171,188,172,124,
-242,164,73,221,239,28,46,150,85,247,127,225,71,0,128,136,195,167,108,208,
-214,214,104,52,23,15,171,94,125,124,111,207,206,242,43,39,123,236,132,199,
-79,122,188,199,23,61,76,244,115,233,74,228,106,25,41,114,170,192,72,2,107,
-3,96,127,31,239,62,198,152,15,40,77,130,33,2,33,130,161,81,101,149,151,
-94,114,89,215,219,31,100,37,34,75,191,240,163,112,40,6,218,218,26,141,70,
-51,132,172,122,245,219,123,143,239,172,153,61,139,27,73,143,247,120,172,
-199,231,189,76,36,4,184,2,93,33,125,129,20,81,32,164,102,187,121,9,225,
-185,152,232,67,41,76,144,22,160,13,210,38,104,3,56,227,106,234,234,198,
-78,57,176,109,187,221,111,124,249,11,207,133,67,169,217,126,133,57,195,
-181,150,170,66,91,91,163,209,92,68,32,194,170,87,31,223,117,224,237,186,
-185,55,58,121,17,151,245,36,188,147,30,237,243,89,130,242,161,196,119,32,
-0,0,1,0,73,68,65,84,164,68,202,132,47,56,19,146,83,202,169,47,164,68,41,
-8,34,65,105,160,52,81,154,128,102,44,187,224,178,137,211,115,179,10,246,
-108,248,117,145,93,114,215,109,223,15,135,162,106,121,214,225,86,54,104,
-107,107,52,154,139,7,181,156,54,32,188,183,119,211,79,94,251,118,197,148,
-171,70,95,58,75,154,60,158,60,222,151,60,225,179,4,101,46,227,30,227,148,
-11,150,249,185,176,82,2,74,34,5,137,70,242,107,43,234,170,71,77,232,216,
-189,189,233,15,27,230,207,188,243,186,57,247,65,186,219,130,225,87,54,104,
-107,107,52,154,139,135,212,231,120,35,0,64,194,237,123,229,55,63,120,103,
-207,198,177,151,47,26,243,169,235,192,130,120,242,100,220,237,73,184,61,
-241,100,47,227,148,115,198,37,23,66,18,48,34,225,156,226,252,81,133,185,
-229,217,78,180,171,117,231,7,111,255,71,121,94,245,45,11,191,54,170,164,
-78,125,4,130,182,182,70,163,209,12,25,106,45,54,46,80,240,212,170,253,140,
-10,198,24,245,233,177,227,7,127,183,227,229,214,174,29,37,213,151,21,87,
-6,250,152,252,0,0,1,0,73,68,65,84,78,41,169,156,156,87,92,131,200,37,202,
-212,224,36,49,12,98,38,250,142,31,59,184,251,232,193,247,15,53,109,31,149,
-87,55,117,226,205,227,107,167,153,182,101,90,182,105,89,134,105,26,166,
-81,82,16,185,48,135,163,173,173,209,104,62,177,8,41,5,23,92,8,198,120,234,
-67,212,25,103,148,81,159,49,159,82,143,170,102,148,37,91,187,118,116,158,
-104,60,222,119,224,68,223,129,104,110,121,52,183,92,229,228,212,139,159,
-60,186,63,150,85,84,152,83,85,83,118,69,109,233,84,199,78,217,217,9,57,
-166,237,88,33,203,178,109,211,178,170,171,138,47,204,65,105,107,107,52,
-154,79,44,233,21,61,165,122,112,206,133,144,140,114,33,4,87,31,54,206,184,
-20,82,112,129,136,82,32,162,64,9,125,201,99,113,247,4,0,32,128,99,69,138,
-115,171,137,145,94,191,194,0,211,180,136,105,88,150,109,88,166,97,154,150,
-101,17,211,48,12,147,24,70,89,81,246,5,56,40,109,109,141,70,243,9,71,73,
-14,83,165,18,80,107,64,4,43,215,33,74,68,53,80,169,190,135,96,233,222,114,
-86,0,0,0,147,73,68,65,84,173,209,192,142,8,144,90,150,36,152,202,77,64,
-173,239,154,31,27,198,169,217,103,68,91,91,163,209,124,146,201,84,118,166,
-133,225,212,215,167,125,166,250,169,54,233,49,70,76,175,244,147,209,85,
-170,77,110,246,25,214,106,30,110,46,196,136,167,70,163,209,124,188,12,78,
-79,109,43,88,97,237,127,178,212,90,111,66,124,44,202,6,157,107,107,52,26,
-205,200,66,127,72,149,70,163,209,140,36,180,181,53,26,141,102,36,161,173,
-173,209,104,52,35,9,109,109,141,70,163,25,73,104,107,107,52,26,205,72,66,
-91,91,163,209,104,70,18,255,13,1,101,50,84,72,18,31,168,0,0,0,0,73,69,78,
-68,174,66,96,130};
-
-static size_t xml_res_size_61 = 6936;
-static unsigned char xml_res_file_61[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,231,0,0,0,32,8,2,0,
-0,0,167,245,39,187,0,0,0,9,112,72,89,115,0,0,14,196,0,0,14,196,1,149,43,
-14,27,0,0,0,7,116,73,77,69,7,215,12,23,13,52,14,159,155,73,179,0,0,0,7,
-116,69,88,116,65,117,116,104,111,114,0,169,174,204,72,0,0,0,12,116,69,88,
-116,68,101,115,99,114,105,112,116,105,111,110,0,19,9,33,35,0,0,0,10,116,
-69,88,116,67,111,112,121,114,105,103,104,116,0,172,15,204,58,0,0,0,14,116,
-69,88,116,67,114,101,97,116,105,111,110,32,116,105,109,101,0,53,247,15,
-9,0,0,0,9,116,69,88,116,83,111,102,116,119,97,114,101,0,93,112,255,58,0,
-0,0,11,116,69,88,116,68,105,115,99,108,97,105,109,101,114,0,183,192,180,
-143,0,0,0,8,116,69,88,116,87,97,114,110,105,110,103,0,192,27,230,135,0,
-0,0,7,116,69,88,116,83,111,117,114,99,101,0,245,255,131,235,0,0,0,8,116,
-69,88,116,67,111,109,109,101,110,116,0,246,204,150,191,0,0,0,6,116,69,88,
-116,84,105,116,108,101,0,168,238,210,39,0,0,1,0,73,68,65,84,120,156,237,
-93,123,124,21,197,189,255,238,158,115,242,32,82,155,180,66,66,30,36,33,
-16,121,92,219,91,222,228,113,2,36,8,218,22,107,109,209,42,84,129,4,176,
-168,128,68,4,181,247,86,77,193,26,240,82,104,65,66,124,191,181,181,173,
-34,49,239,96,80,111,107,63,189,165,40,132,156,60,64,111,171,244,154,180,
-66,146,179,51,187,59,247,143,217,157,204,57,39,9,129,2,38,113,191,159,253,
-228,67,118,231,241,251,205,176,223,249,205,119,102,54,10,99,12,14,28,56,
-112,224,96,144,64,253,188,13,112,224,192,129,3,7,103,1,135,181,29,56,112,
-224,96,48,193,253,121,27,112,49,208,209,209,65,136,6,152,253,206,225,138,
-138,186,36,44,204,115,1,109,114,224,192,129,131,115,130,242,69,208,181,
-23,47,94,252,198,27,111,2,97,0,128,190,253,85,0,19,32,143,61,182,119,225,
-194,107,46,134,113,14,28,56,112,112,54,248,66,196,218,237,237,127,107,107,
-187,20,88,4,116,1,12,80,1,165,151,180,97,192,39,192,139,126,127,251,69,
-53,209,129,3,7,14,250,135,162,26,130,0,0,0,1,0,73,68,65,84,47,4,107,123,
-60,110,32,42,44,44,54,42,202,96,140,157,62,77,116,189,55,181,36,2,160,64,
-164,170,58,138,191,3,7,14,6,34,190,16,220,196,24,128,206,5,11,146,125,190,
-130,35,71,242,191,246,181,175,0,29,128,209,211,165,3,198,153,84,20,7,159,
-55,90,75,23,40,138,82,88,251,121,219,225,192,193,231,128,47,4,107,3,0,88,
-68,132,59,38,38,50,54,54,202,227,113,245,196,203,42,224,2,220,128,11,80,
-220,238,1,49,11,225,236,212,3,65,213,22,42,138,178,160,180,245,243,48,234,
-236,208,163,165,220,175,158,239,22,214,246,246,188,55,48,27,231,197,224,
-179,66,109,161,18,132,127,185,83,120,145,206,136,228,160,87,124,113,88,
-27,166,201,0,104,154,209,203,235,173,1,167,129,83,64,39,96,158,60,249,217,
-39,159,180,247,113,181,181,181,107,154,255,162,25,95,252,80,105,43,147,
-209,253,168,231,187,3,6,57,87,175,7,202,94,169,106,229,191,114,59,91,142,
-150,193,190,219,109,125,203,209,50,96,253,213,57,0,152,9,192,100,96,166,
-141,30,125,100,152,18,235,31,0,0,1,0,73,68,65,84,172,59,129,72,118,150,
-6,158,231,184,189,108,121,138,114,101,73,75,239,54,247,31,44,4,253,206,
-234,76,70,134,50,6,68,68,121,161,161,170,106,159,162,135,10,120,128,138,
-176,176,223,71,69,241,61,36,90,81,81,225,195,15,223,219,91,6,198,112,250,
-52,54,110,252,241,154,53,119,92,8,131,131,48,127,254,252,178,178,229,59,
-171,111,126,40,7,252,213,85,76,6,192,52,77,195,48,228,148,34,226,187,8,
-86,245,23,201,151,207,7,202,142,182,50,54,218,166,158,218,125,197,0,128,
-178,35,205,166,153,104,147,81,237,190,98,96,222,184,36,195,48,18,111,121,
-67,191,5,96,204,48,12,198,24,147,253,82,85,213,118,143,113,102,52,77,107,
-149,66,85,85,69,81,248,207,115,176,52,148,22,251,87,206,252,189,45,251,
-151,142,102,166,105,226,248,99,87,141,41,40,47,47,88,81,50,251,245,91,146,
-130,227,240,126,149,150,243,48,99,15,219,3,82,208,179,115,112,237,92,157,
-114,48,112,49,68,88,91,243,251,59,186,186,104,47,79,187,52,173,31,179,10,
-237,186,235,186,118,50,138,254,51,0,0,1,0,73,68,65,84,236,176,126,209,245,
-14,195,232,232,45,169,174,99,225,66,156,56,209,107,130,243,139,73,119,221,
-53,177,172,108,235,67,123,11,50,111,78,52,77,0,138,97,0,96,166,245,98,139,
-55,243,95,164,173,11,130,228,185,215,205,71,89,241,190,234,45,89,94,206,
-68,39,124,135,144,183,123,247,191,173,92,185,117,95,205,150,172,108,78,
-190,199,27,15,1,121,215,206,73,52,77,211,226,44,57,192,84,109,152,166,169,
-242,88,156,153,124,220,226,41,185,227,46,151,11,231,202,110,231,204,146,
-204,30,63,140,248,37,175,150,189,31,53,127,123,197,17,31,165,113,156,169,
-133,229,252,223,253,55,70,252,4,192,243,154,166,121,86,174,157,47,234,119,
-48,160,48,68,20,146,93,143,62,58,62,45,109,86,90,90,70,79,215,91,149,111,
-1,95,57,83,25,234,176,97,136,137,113,199,196,124,57,38,38,122,196,136,176,
-184,56,244,118,37,38,98,248,112,40,138,235,98,248,6,48,51,123,213,238,60,
-84,172,252,209,222,38,66,136,166,105,132,114,214,162,28,186,174,83,90,125,
-87,120,184,199,227,113,43,69,185,193,0,0,1,0,73,68,65,84,187,221,170,170,
-42,133,53,60,111,107,233,130,64,173,53,116,238,92,91,216,203,100,186,255,
-121,45,121,55,160,16,126,111,65,105,107,114,234,36,0,135,124,173,166,174,
-235,186,174,55,149,191,82,129,9,201,139,231,173,1,14,29,107,178,124,104,
-170,248,85,5,48,97,116,28,165,148,54,149,94,29,30,25,185,161,154,16,77,
-211,52,77,163,180,102,67,100,100,56,119,112,67,173,160,114,195,48,12,195,
-32,132,16,210,84,250,237,168,200,200,200,176,176,48,183,219,125,87,105,
-176,233,193,18,180,101,106,109,161,146,178,188,12,64,241,28,85,117,187,
-221,110,119,97,21,165,148,54,149,44,112,91,45,121,102,165,193,228,50,141,
-174,235,148,82,26,63,102,46,128,195,199,124,154,86,189,33,106,216,176,13,
-213,148,54,237,189,202,237,118,187,92,119,213,112,203,197,122,69,160,18,
-46,76,84,231,239,61,14,112,205,199,48,106,55,68,68,132,139,206,181,123,
-54,176,83,100,191,122,115,138,234,186,126,174,58,146,131,1,132,33,194,218,
-39,58,58,226,219,218,106,219,218,222,234,233,202,36,18,246,103,198,0,0,
-1,0,73,68,65,84,20,80,248,196,58,44,204,213,91,160,97,24,0,174,0,142,0,
-62,96,65,31,213,81,10,211,196,197,140,87,226,127,184,254,118,160,114,245,
-47,171,253,126,191,223,223,69,40,0,70,9,165,148,16,162,249,246,46,188,100,
-193,118,57,67,241,28,229,202,189,45,166,153,148,50,17,40,123,169,210,86,
-197,91,43,95,42,3,80,188,175,198,214,74,107,246,21,3,235,175,242,134,74,
-168,201,99,38,5,72,210,189,231,245,254,172,165,100,30,80,60,123,125,181,
-165,47,215,20,206,46,6,214,87,191,177,116,52,243,46,184,19,40,127,165,188,
-153,82,170,105,90,227,145,74,172,206,157,78,70,141,153,139,202,35,62,77,
-211,252,126,191,191,241,131,74,96,245,156,105,132,16,74,117,202,0,24,196,
-239,215,52,77,107,122,252,59,95,254,230,207,133,107,91,115,93,43,95,1,0,
-147,25,134,65,41,165,205,79,124,55,230,107,183,87,73,222,231,231,151,1,
-166,105,171,222,45,37,87,42,179,139,3,218,103,54,111,159,16,246,50,40,169,
-186,43,50,125,85,69,64,98,225,87,111,18,179,97,67,93,144,233,0,0,1,0,73,
-68,65,84,24,186,174,19,66,124,149,175,86,1,24,23,63,66,211,136,1,96,199,
-85,195,135,143,191,181,18,0,96,154,134,97,84,173,183,72,213,130,164,132,
-75,165,154,134,97,24,134,222,92,250,237,168,249,1,61,187,117,110,183,110,
-94,83,168,4,150,133,226,217,74,225,190,30,156,210,52,77,211,8,33,148,82,
-49,59,9,78,229,96,144,96,136,176,182,226,114,13,7,18,85,53,238,210,75,227,
-162,163,227,194,195,227,0,113,13,3,0,197,239,215,219,219,253,39,79,118,
-80,106,244,126,202,198,3,196,2,49,64,196,69,52,255,12,96,96,166,153,185,
-108,251,92,224,23,219,159,108,210,52,205,79,12,0,134,65,9,33,148,54,63,
-113,199,29,85,171,126,253,247,191,255,189,189,189,253,244,233,211,93,93,
-93,190,221,121,40,207,223,89,109,24,89,243,215,1,229,71,124,60,44,109,46,
-127,185,28,0,80,188,175,154,203,11,205,141,135,128,121,99,147,12,51,4,204,
-123,213,122,160,236,104,11,159,104,183,84,244,145,55,241,150,55,42,215,
-1,91,231,22,86,27,134,81,93,56,167,24,179,3,60,32,0,0,1,0,73,68,65,84,243,
-30,245,109,201,54,77,211,52,71,143,203,3,42,143,54,81,74,9,169,45,219,137,
-156,148,88,74,99,51,191,53,27,59,246,215,104,26,33,164,217,247,62,224,77,
-137,211,8,33,132,16,195,0,96,82,66,52,173,233,233,245,119,214,0,179,31,
-121,175,173,173,237,212,169,83,157,157,157,254,59,39,150,3,48,13,74,41,
-165,205,79,223,185,182,6,200,217,250,135,79,63,253,244,179,207,62,235,236,
-236,212,26,119,231,1,204,228,209,125,115,201,138,130,242,117,149,60,216,
-228,240,61,58,15,229,249,59,171,179,54,19,223,174,60,0,107,246,159,62,221,
-222,222,126,242,228,189,83,170,246,237,0,102,63,242,71,94,93,71,71,199,
-155,107,193,75,226,212,28,186,242,201,219,71,215,117,253,192,125,83,214,
-214,0,40,200,153,74,8,209,173,69,135,85,175,126,242,73,91,91,219,169,83,
-247,207,162,85,133,185,91,1,172,173,176,60,37,190,221,121,64,121,193,206,
-106,195,200,218,108,255,206,120,119,181,60,126,251,234,170,213,175,181,
-181,181,181,183,183,115,223,27,118,229,89,169,141,70,96,109,156,0,0,1,0,
-73,68,65,84,150,61,155,139,1,204,219,211,36,252,162,149,235,96,94,105,59,
-117,199,27,167,78,181,181,181,157,60,121,239,228,174,174,174,174,46,191,
-223,207,137,155,123,225,16,247,32,197,80,97,109,192,4,104,82,18,222,125,
-23,62,31,150,44,145,159,50,0,136,218,191,191,53,45,109,207,248,241,123,
-255,252,231,79,129,40,192,37,93,110,155,199,25,160,1,56,155,143,150,92,
-120,48,198,24,139,191,177,248,103,94,212,109,120,252,128,166,113,62,96,
-58,33,132,208,186,146,117,181,192,174,107,47,187,236,178,232,232,232,75,
-46,185,36,50,50,50,109,101,5,128,67,141,77,148,38,164,229,2,219,94,175,
-226,20,241,65,57,214,148,149,173,1,182,190,206,103,205,190,35,229,200,189,
-198,59,138,10,112,122,178,232,118,158,77,210,166,217,124,164,28,107,223,
-124,179,215,188,25,15,150,173,1,182,229,21,22,22,230,109,67,238,47,183,
-223,20,103,149,56,202,187,48,23,120,223,215,76,8,109,109,250,0,72,79,24,
-73,41,141,77,188,220,186,75,90,106,94,171,67,246,252,233,35,56,167,24,6,
-32,76,88,152,0,0,1,0,73,68,65,84,3,96,152,134,97,156,120,235,245,58,96,
-197,139,207,93,31,207,73,83,215,117,61,49,45,23,128,73,41,165,122,107,237,
-239,106,129,130,23,158,254,126,172,222,13,147,9,5,169,122,231,202,10,96,
-91,46,87,24,56,210,86,148,219,237,67,13,6,192,180,180,24,123,68,172,57,
-234,211,236,248,116,230,79,62,187,127,6,161,18,186,131,110,0,40,95,145,
-230,137,138,138,138,142,142,30,249,157,95,2,64,193,11,155,166,51,198,152,
-201,0,228,191,208,186,97,10,33,150,180,85,189,239,17,0,119,236,127,96,38,
-229,164,77,227,22,111,255,133,213,67,86,225,12,96,166,174,235,122,237,238,
-219,171,128,157,223,138,137,137,137,142,142,30,62,124,248,176,97,195,248,
-44,224,80,99,19,173,222,177,178,2,88,83,246,219,197,82,231,205,122,176,
-227,129,89,194,41,30,98,251,249,148,37,36,220,118,136,123,144,98,136,176,
-182,5,151,11,35,70,32,38,6,81,81,242,109,29,0,40,33,255,104,107,251,184,
-189,253,99,93,255,12,232,0,254,9,180,217,215,255,1,23,111,27,223,217,130,
-139,203,66,4,0,0,1,0,73,68,65,84,129,49,198,76,51,254,251,171,10,128,189,
-143,190,120,66,215,25,0,166,19,74,41,53,122,29,96,24,37,154,54,50,227,91,
-115,129,195,13,62,77,211,170,95,223,142,219,230,78,159,145,123,27,240,151,
-99,77,132,144,234,125,255,5,140,79,138,229,12,34,17,183,174,235,166,153,
-56,247,186,121,192,95,124,173,166,174,87,191,254,8,110,207,155,53,51,239,
-118,224,112,104,94,66,8,153,241,159,175,173,6,182,111,223,142,213,175,189,
-116,125,44,231,41,66,8,137,77,188,28,168,122,181,246,184,174,183,28,171,
-67,190,119,170,78,41,37,83,114,10,80,187,239,192,113,66,154,125,7,128,177,
-241,35,41,229,58,3,39,29,67,215,141,19,190,3,64,118,74,188,21,75,82,74,
-8,33,84,55,0,24,186,174,235,180,165,161,14,200,78,137,231,209,41,79,70,
-168,206,0,198,137,81,55,250,108,31,254,92,167,130,221,254,253,250,162,76,
-224,209,69,113,113,113,95,253,234,87,163,55,213,216,94,16,77,211,186,135,
-133,94,40,175,224,133,214,230,187,167,89,180,14,64,18,79,8,33,190,59,26,
-157,28,0,0,1,0,73,68,65,84,198,195,0,86,207,153,38,56,84,211,180,216,164,
-203,1,28,62,214,196,239,81,6,48,93,167,148,246,105,185,175,225,48,128,219,
-230,78,151,139,18,228,108,53,16,165,194,114,17,101,243,134,10,90,199,118,
-48,136,48,68,246,144,88,96,12,132,0,150,68,45,112,41,16,141,131,192,239,
-197,254,191,211,128,18,30,17,53,44,82,164,233,232,248,39,95,171,191,120,
-214,158,13,172,183,107,198,146,7,51,247,220,251,227,103,223,125,12,0,76,
-211,160,148,254,181,249,40,128,229,207,248,238,201,112,241,5,52,190,81,
-129,199,130,157,157,157,95,137,27,11,236,62,210,208,217,217,176,111,39,
-86,253,106,138,191,11,57,183,98,199,175,43,26,175,203,108,248,11,176,42,
-103,114,87,87,151,216,124,194,75,240,120,60,138,162,36,165,78,2,182,53,
-52,153,70,227,27,219,113,219,111,167,105,126,115,246,173,248,121,104,94,
-69,81,24,99,196,106,248,195,199,124,254,41,137,138,184,63,53,103,21,118,
-238,58,214,162,31,172,42,65,102,209,40,93,167,138,162,170,113,201,217,216,
-227,107,53,223,241,147,212,36,0,0,1,0,73,68,65,84,173,45,5,150,102,77,225,
-27,25,85,213,52,236,61,34,204,4,128,177,9,35,8,33,134,97,88,187,49,52,157,
-1,48,117,74,41,23,131,199,37,198,113,141,130,49,102,24,134,98,81,49,209,
-52,237,163,99,135,1,172,250,213,223,254,35,67,17,45,35,130,229,206,206,
-15,137,9,64,215,186,186,56,37,51,54,98,225,238,195,215,126,252,155,252,
-220,123,235,1,236,186,246,178,93,88,249,210,71,247,101,40,170,170,186,221,
-110,190,77,197,118,13,192,188,221,141,175,253,96,164,21,213,234,186,206,
-77,178,89,155,49,195,208,173,117,69,67,227,149,17,191,223,47,237,192,211,
-56,197,18,77,211,128,110,211,155,125,239,3,40,120,161,117,227,116,38,250,
-5,246,214,189,15,159,211,45,187,187,20,4,239,231,235,142,181,169,206,91,
-201,226,104,190,205,198,229,114,137,141,55,231,251,191,170,131,11,142,161,
-21,107,247,130,221,128,15,212,135,78,31,186,248,149,139,174,107,150,126,
-207,231,251,31,251,250,211,53,215,44,110,111,199,192,18,70,122,64,194,247,
-10,150,1,79,148,150,54,2,10,26,172,13,0,0,1,0,73,68,65,84,224,12,21,151,
-48,22,192,222,154,183,69,52,42,130,47,43,124,158,234,205,7,118,87,212,213,
-85,236,70,126,214,55,252,126,77,155,236,45,64,205,111,170,234,170,127,87,
-11,111,242,72,77,6,231,71,107,205,42,123,193,58,224,145,253,181,181,251,
-183,227,71,115,166,81,74,200,212,156,21,189,228,173,251,241,119,119,193,
-91,80,224,69,237,157,133,79,55,219,209,31,33,132,196,38,123,129,146,234,
-23,78,28,67,230,130,140,56,75,8,30,153,48,22,40,173,125,249,120,3,144,145,
-60,202,162,54,93,215,133,195,12,12,64,105,205,187,34,92,229,241,51,3,192,
-76,33,82,236,173,121,151,219,108,79,22,12,6,48,211,208,117,61,54,49,29,
-192,174,55,15,4,70,163,182,172,76,56,193,25,6,165,132,16,161,14,25,177,
-215,148,54,52,52,54,54,250,158,89,14,96,119,197,91,33,19,145,160,229,195,
-96,116,111,207,86,20,33,124,199,38,140,19,165,9,103,154,155,62,0,144,158,
-48,82,231,226,57,179,196,175,17,241,227,0,236,169,168,23,150,11,173,131,
-16,50,50,97,28,192,223,186,48,0,0,1,0,73,68,65,84,128,93,229,7,196,35,46,
-91,235,186,110,24,58,31,48,96,111,68,145,245,16,39,190,30,236,248,66,176,
-246,37,64,76,224,21,14,68,68,125,41,38,230,50,251,26,17,17,113,9,223,9,
-109,127,208,117,192,181,140,21,184,206,88,252,64,6,14,30,60,8,0,140,153,
-166,105,76,201,186,5,64,233,146,177,155,223,225,172,173,235,186,174,183,
-62,191,36,185,232,32,151,47,167,121,151,3,71,118,237,42,193,178,172,201,
-156,41,190,145,189,28,117,175,237,124,173,14,153,243,166,94,22,32,122,10,
-230,98,140,49,150,189,96,45,112,184,248,145,159,99,213,220,153,156,182,
-38,103,231,135,230,165,244,173,7,23,237,65,246,230,162,141,27,139,182,100,
-163,110,195,198,231,78,8,110,50,226,102,206,207,6,74,54,110,58,128,203,
-71,199,195,102,147,201,153,183,0,13,111,190,121,16,25,87,206,24,5,177,255,
-154,71,171,96,12,211,114,150,2,40,93,178,229,160,45,4,183,62,191,36,115,
-67,157,221,38,234,172,185,249,0,74,111,218,242,142,41,228,139,227,117,175,
-215,217,237,198,102,77,106,36,126,0,0,1,0,73,68,65,84,204,41,0,176,103,
-81,210,3,22,87,82,74,165,246,137,75,28,7,160,225,248,71,246,246,240,247,
-182,93,177,237,15,156,114,21,69,65,66,106,54,16,200,126,103,56,244,40,238,
-43,0,160,168,46,151,216,34,205,166,123,243,1,236,185,190,232,29,174,122,
-153,230,219,69,153,27,234,128,130,57,51,248,29,131,15,72,58,165,116,114,
-214,82,0,165,55,165,111,57,40,89,126,252,249,37,169,69,7,13,115,90,14,47,
-234,166,103,91,187,59,238,224,3,9,15,28,84,148,164,148,241,0,26,78,252,
-213,218,39,46,79,164,92,46,151,216,63,126,126,255,139,58,184,56,24,112,
-220,116,113,96,2,102,160,138,98,154,134,162,0,208,129,147,64,251,192,148,
-185,21,69,81,213,132,239,175,88,38,126,103,140,153,230,148,181,165,55,3,
-192,99,75,198,142,29,59,118,236,216,180,180,180,180,180,156,141,7,192,96,
-81,76,66,74,38,234,235,235,177,204,59,205,222,237,48,57,107,41,234,235,
-235,145,49,111,218,72,190,209,216,142,34,133,232,201,107,76,73,207,67,101,
-101,21,86,231,206,100,42,95,136,4,0,0,1,0,73,68,65,84,166,105,82,139,77,
-130,242,30,127,254,135,55,150,32,179,232,254,235,70,49,22,191,232,167,155,
-179,113,96,99,214,230,183,13,91,72,141,29,157,206,139,244,142,73,178,100,
-10,195,48,204,81,201,214,24,148,158,20,111,199,164,134,33,199,176,211,110,
-184,63,3,192,227,75,39,77,154,52,105,194,132,9,233,115,238,57,96,27,167,
-170,170,170,206,90,178,57,27,64,233,146,116,238,123,106,106,170,205,234,
-124,168,155,181,233,133,2,0,40,185,49,53,53,117,204,152,49,99,198,140,17,
-237,99,53,14,234,239,203,157,112,197,21,87,124,253,235,143,188,7,224,137,
-101,19,39,78,76,79,79,79,75,75,75,203,217,116,0,217,155,151,204,228,5,10,
-178,238,145,178,229,173,147,246,89,72,197,229,114,113,93,69,81,20,96,198,
-221,207,230,3,40,185,33,37,37,37,37,53,53,53,245,7,37,0,188,15,253,112,
-166,189,229,218,100,214,22,65,195,152,178,246,177,155,97,59,63,113,226,
-196,241,227,199,167,167,207,185,167,158,247,236,180,13,207,44,7,80,127,
-79,206,184,113,227,184,239,41,214,7,214,46,0,0,1,0,73,68,65,84,55,148,0,
-138,170,170,201,227,102,3,181,119,205,74,74,75,75,155,48,97,235,123,106,
-55,184,66,210,61,44,57,24,108,24,90,172,173,40,8,11,3,0,215,89,159,127,
-97,12,170,10,224,16,48,30,72,3,246,247,145,216,227,129,170,226,226,79,52,
-45,113,115,230,226,159,102,91,191,114,213,24,83,215,29,58,84,246,147,140,
-128,196,203,158,106,216,48,205,58,82,152,148,125,117,54,128,101,179,167,
-119,51,227,228,204,155,1,96,108,252,72,75,19,176,183,181,49,251,48,30,199,
-232,220,235,114,1,220,54,127,22,0,139,109,131,242,126,244,114,126,222,189,
-245,88,250,100,201,247,70,113,182,74,184,254,167,91,178,129,210,37,203,
-94,254,200,228,199,210,103,204,206,7,0,239,55,179,146,44,202,96,140,177,
-184,233,243,50,0,32,51,53,81,220,12,112,88,81,70,125,119,207,33,62,44,113,
-220,252,216,177,218,34,175,253,28,64,252,162,39,142,61,179,172,59,65,102,
-81,125,253,22,47,160,40,176,35,220,141,199,142,213,62,152,217,67,251,40,
-138,146,120,253,147,82,110,5,83,192,129,223,15,0,0,1,0,73,68,65,84,239,
-44,191,95,110,202,236,45,245,79,46,138,135,221,110,86,91,245,17,107,11,
-13,218,165,2,112,185,195,194,60,30,15,231,74,85,85,213,89,155,90,235,31,
-242,6,148,223,242,212,245,9,65,4,106,113,255,148,117,127,250,211,190,251,
-102,6,148,191,244,169,163,188,103,149,153,27,27,27,101,207,129,229,207,
-124,120,239,76,69,81,70,47,126,249,183,63,234,190,45,31,154,149,209,163,
-253,14,6,56,134,200,223,178,89,255,208,67,255,125,247,221,213,201,201,158,
-178,50,140,24,129,187,239,198,158,61,125,164,95,8,124,105,237,218,167,183,
-109,19,119,110,188,241,246,143,63,222,241,220,115,253,170,142,82,44,92,
-8,175,183,104,219,182,77,255,162,229,103,4,15,141,133,26,203,137,149,147,
-181,224,89,241,53,18,254,169,194,160,137,48,95,194,226,116,44,54,90,200,
-33,33,108,174,228,81,97,120,120,120,100,100,100,68,68,68,120,120,56,47,
-144,107,202,126,191,191,179,179,83,216,16,148,151,215,232,118,187,249,50,
-38,99,76,68,238,138,162,184,92,46,126,106,81,85,85,251,52,86,69,246,159,
-0,0,1,0,73,68,65,84,35,225,133,240,37,62,145,133,123,199,179,240,117,63,
-121,219,6,79,28,30,30,206,75,227,46,232,246,130,155,98,127,168,196,243,
-199,135,83,110,40,201,41,126,247,217,27,18,77,251,212,34,159,64,240,100,
-114,251,192,14,252,133,95,98,61,150,211,28,119,208,94,41,85,221,110,119,
-88,88,24,183,129,59,107,24,134,16,151,121,219,186,92,46,143,199,195,201,
-90,184,64,41,101,246,201,123,110,42,103,127,72,167,204,25,251,240,217,155,
-102,109,52,139,42,75,174,29,101,55,8,135,162,40,98,231,34,183,141,91,46,
-119,7,183,141,55,142,232,56,46,118,3,240,120,60,17,17,17,17,246,73,75,30,
-113,59,220,61,232,48,68,246,144,240,191,79,227,57,113,2,51,102,64,85,209,
-217,217,119,250,208,175,73,141,30,61,188,178,50,58,35,163,231,244,193,213,
-49,156,58,133,196,196,168,51,39,61,79,16,210,164,8,154,56,185,192,102,147,
-32,58,80,3,161,216,95,177,16,175,168,136,169,101,78,15,205,37,151,230,178,
-1,137,194,130,242,202,243,110,85,250,242,134,28,223,137,210,221,201,228,
-78,0,0,1,0,73,68,65,84,96,15,48,156,205,5,171,138,210,120,26,211,52,93,
-46,23,147,190,52,210,29,170,219,1,175,34,125,226,67,85,127,191,249,134,
-18,192,123,117,102,130,208,160,67,173,146,221,20,35,144,24,255,130,158,
-138,214,14,173,58,180,131,0,240,189,225,156,25,133,162,34,184,213,37,205,
-5,131,119,16,190,243,228,198,3,64,182,162,170,170,106,187,204,107,23,85,
-200,194,180,105,154,110,183,155,207,0,68,127,201,182,137,44,242,40,43,76,
-114,40,123,48,98,168,176,182,97,156,6,62,50,77,207,63,254,209,159,244,159,
-1,195,164,141,10,0,238,187,239,158,117,235,238,164,189,125,128,42,4,97,
-97,136,138,26,118,182,118,158,27,100,70,16,209,52,236,183,78,215,117,241,
-238,9,70,147,57,87,166,75,206,140,130,137,4,217,241,160,79,68,115,65,11,
-86,130,67,57,65,40,210,210,22,2,3,70,145,145,199,197,194,30,177,37,49,136,
-68,56,133,9,214,230,113,43,183,144,143,16,178,92,195,19,240,42,32,81,231,
-255,190,120,115,214,198,3,193,173,182,226,214,69,163,44,210,54,165,92,33,
-6,187,0,0,1,0,73,68,65,84,143,2,2,193,223,216,18,62,114,51,100,138,15,226,
-101,153,10,229,40,53,168,131,120,51,242,88,91,20,40,179,182,42,173,4,218,
-46,191,243,96,226,162,71,237,186,178,23,100,37,185,92,134,97,184,236,159,
-162,119,228,126,17,85,139,54,81,165,169,131,24,141,196,77,225,20,15,222,
-185,109,14,113,15,58,12,17,214,78,140,138,250,48,58,218,219,239,237,214,
-167,128,233,195,135,203,119,34,35,135,69,70,94,36,22,62,43,200,156,43,166,
-180,114,132,40,98,82,244,244,57,183,160,104,151,191,243,130,103,67,89,155,
-79,237,165,213,51,139,191,56,183,134,133,133,1,224,34,64,80,94,161,177,
-168,129,226,169,32,116,193,56,162,106,62,2,9,193,151,243,136,204,218,188,
-124,93,215,249,83,33,110,40,82,100,13,64,81,131,187,221,251,179,183,159,
-90,20,47,4,104,206,218,130,82,101,206,149,139,226,94,200,202,190,248,41,
-32,70,166,160,66,20,123,210,192,141,228,148,45,134,1,94,172,120,42,254,
-230,134,170,170,124,208,53,205,238,90,86,188,120,98,211,140,238,175,57,
-138,75,16,197,107,0,0,1,0,73,68,65,84,182,229,157,34,154,75,9,156,114,201,
-83,10,94,157,60,26,137,1,67,12,216,206,126,237,193,139,33,162,107,251,253,
-254,142,206,78,210,239,244,30,32,42,34,34,114,216,64,164,233,32,240,23,
-140,159,66,230,194,40,236,152,90,168,177,98,94,47,232,91,196,119,176,35,
-101,65,49,156,254,120,50,193,89,226,166,208,166,249,236,94,126,42,159,119,
-15,205,43,130,119,81,81,168,130,33,4,4,249,243,170,50,139,9,193,93,176,
-54,179,181,120,193,68,114,144,43,166,14,130,61,5,37,241,42,184,230,11,155,
-109,101,167,196,136,18,90,166,25,242,117,83,25,124,58,194,181,99,209,17,
-114,7,113,214,230,213,241,44,65,79,197,136,24,186,8,44,122,92,108,63,23,
-70,242,50,197,151,8,101,199,69,70,81,136,220,227,242,80,196,73,159,119,
-177,124,38,203,193,32,194,16,137,181,249,26,203,231,109,197,5,132,80,129,
-5,211,241,251,156,65,100,6,20,204,37,51,166,8,81,197,83,158,61,136,97,17,
-40,52,43,129,211,112,17,26,7,113,37,147,142,26,246,17,187,201,228,40,170,
-68,221,39,0,0,1,0,73,68,65,84,22,18,101,219,24,99,242,125,113,211,12,252,
-211,7,50,228,160,88,64,156,211,17,113,40,164,209,72,118,77,110,31,185,156,
-96,173,57,208,11,151,4,209,164,65,29,164,74,194,125,232,83,185,233,228,
-147,138,188,82,78,217,34,163,8,207,131,134,210,160,30,148,123,86,174,69,
-238,35,4,46,120,244,209,89,14,6,50,134,8,107,15,97,40,146,196,33,199,200,
-34,88,19,52,42,238,203,148,45,152,52,232,29,70,160,2,16,26,20,203,99,131,
-176,193,227,241,200,140,166,132,196,212,125,59,34,254,33,87,7,91,141,133,
-29,59,247,49,2,201,144,199,9,97,137,88,155,229,148,45,15,12,30,27,242,98,
-96,80,9,65,220,215,163,11,66,229,23,70,134,118,144,26,184,18,27,250,84,
-212,37,244,101,121,124,18,148,205,127,42,138,226,241,120,68,116,175,6,174,
-160,202,109,27,100,179,220,137,65,195,164,108,155,131,193,5,135,181,7,1,
-20,91,193,148,223,177,160,240,48,8,189,177,118,63,171,11,77,220,163,13,
-161,149,6,101,233,187,162,208,210,92,189,111,180,15,42,92,28,31,178,179,
-0,0,0,195,73,68,65,84,38,214,160,112,82,8,41,66,67,87,237,237,122,66,178,
-151,23,9,67,219,167,55,226,150,199,24,185,149,66,27,39,168,13,67,159,202,
-201,68,172,205,197,25,46,7,201,203,21,34,208,22,154,140,204,218,61,90,46,
-151,31,218,128,194,17,135,181,7,35,28,214,30,28,16,47,170,124,7,103,250,
-166,68,80,80,220,91,201,232,233,149,62,103,27,250,102,246,243,133,30,67,
-111,69,146,89,96,171,25,176,229,17,177,211,89,14,228,101,71,206,88,5,2,
-9,55,232,126,31,5,246,241,84,140,43,124,218,36,207,21,20,91,38,18,218,78,
-144,114,213,183,229,103,236,5,135,178,7,41,134,200,106,164,3,7,242,49,34,
-177,26,201,31,169,246,102,115,190,135,100,192,198,152,194,5,249,240,148,
-34,41,233,142,30,237,0,192,255,3,111,169,68,2,248,173,80,128,0,0,0,0,73,
-69,78,68,174,66,96,130};
-
-static size_t xml_res_size_62 = 966;
-static unsigned char xml_res_file_62[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,3,67,73,68,65,84,56,141,125,144,89,76,
-83,9,20,134,207,237,134,74,233,2,212,130,92,41,180,40,38,90,129,161,184,
-129,243,224,60,96,92,98,12,169,15,196,68,77,141,154,248,224,66,98,141,91,
-226,190,51,58,9,51,100,234,196,73,68,84,98,92,169,130,88,22,41,216,10,5,
-181,10,33,69,105,65,171,183,84,58,222,46,116,189,199,23,33,74,154,249,147,
-239,233,156,252,57,231,35,234,27,91,229,169,41,98,99,174,34,75,234,15,4,
-156,244,87,207,146,186,91,117,9,1,58,112,56,145,159,88,66,102,146,156,188,
-252,60,79,48,20,180,250,124,190,186,210,210,82,61,252,16,246,177,227,199,
-253,150,151,111,61,195,31,62,45,151,101,146,82,22,139,85,114,243,70,237,
-26,175,207,155,22,137,70,188,49,6,51,40,138,146,171,55,168,243,120,92,110,
-249,243,206,206,210,14,163,241,69,126,65,129,11,0,0,220,95,254,163,95,189,
-181,217,187,95,246,127,236,183,57,112,108,204,195,60,109,110,43,67,68,152,
-160,230,90,205,112,52,18,193,49,183,27,223,13,14,198,14,28,56,104,217,188,
-121,11,15,17,129,184,247,168,185,39,71,62,187,128,97,88,48,98,183,217,36,
-169,41,2,6,8,199,226,162,194,197,0,0,42,149,138,123,69,119,197,156,51,39,
-103,129,94,175,7,187,221,49,206,229,114,4,197,197,197,97,131,193,240,55,
-107,192,102,255,173,187,167,111,100,212,53,138,111,172,175,146,27,159,52,
-6,103,74,36,69,245,250,6,13,0,128,84,42,61,197,99,17,115,116,58,221,53,
-139,165,71,161,213,238,19,90,173,86,131,94,255,136,151,157,45,47,36,16,
-17,206,254,174,219,22,141,70,54,100,146,179,114,37,169,34,126,118,150,76,
-20,8,248,60,231,206,158,214,252,81,89,121,155,114,187,77,74,165,114,57,
-34,50,0,0,26,141,134,151,144,48,173,138,162,168,125,4,34,78,26,221,127,
-248,12,59,57,89,252,207,210,37,170,117,66,176,138,100,242,133,204,23,175,
-192,95,166,86,47,236,237,237,181,67,188,252,40,107,130,51,71,202,111,184,
-26,102,34,221,158,139,39,181,171,163,205,45,207,230,199,219,67,68,96,77,
-45,188,176,147,32,55,169,238,149,136,132,98,8,5,66,80,176,76,205,150,166,
-165,153,91,90,219,139,227,29,240,83,193,161,77,4,111,69,33,81,39,16,165,
-146,193,48,3,15,205,73,175,103,136,231,69,132,66,81,98,6,73,54,181,61,51,
-174,250,223,130,236,116,184,160,144,73,150,114,184,124,248,234,101,156,
-20,53,250,107,71,167,249,212,208,144,35,202,231,207,152,158,158,158,113,
-199,216,241,124,99,92,7,213,21,176,146,170,79,138,197,186,149,56,218,148,
-139,167,119,102,236,158,116,114,177,234,92,167,201,18,117,126,118,97,255,
-192,187,112,187,209,188,107,98,6,136,8,58,45,164,124,188,203,25,30,55,42,
-208,211,170,196,154,163,89,134,169,178,42,47,233,170,77,93,189,49,202,229,
-198,254,129,247,145,118,163,233,196,164,196,194,185,240,87,146,80,50,155,
-97,9,129,166,195,159,29,159,198,203,167,254,186,103,215,214,29,93,93,150,
-235,142,225,15,200,225,114,217,180,215,191,230,190,190,105,61,91,66,31,
-229,44,203,23,253,203,23,231,112,60,158,32,222,111,163,183,87,92,118,154,
-226,25,95,84,244,203,221,7,143,155,242,146,166,39,10,251,6,250,22,120,125,
-129,189,4,34,66,195,159,115,215,166,8,18,206,143,56,253,45,101,218,161,
-10,0,224,125,135,3,0,4,0,196,0,32,10,0,97,0,8,85,85,95,173,149,201,72,197,
-120,48,52,248,13,139,240,202,68,196,151,235,84,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_63 = 761;
-static unsigned char xml_res_file_63[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,118,73,68,65,84,56,141,165,147,77,79,
-83,65,20,134,223,115,230,246,206,220,182,106,123,107,75,67,194,135,11,116,
-165,134,184,209,32,132,24,86,108,112,131,17,19,81,195,206,4,113,97,32,196,
-31,208,5,65,19,22,134,13,59,3,40,198,136,11,22,134,184,19,240,23,24,151,
-32,65,4,154,54,180,189,183,23,237,140,27,184,20,92,58,201,155,204,199,153,
-103,222,57,103,134,140,49,248,159,102,157,158,104,107,107,147,209,100,114,
-200,226,200,64,58,147,105,32,50,231,138,133,194,55,128,231,181,45,22,190,
-46,47,231,235,227,169,222,65,251,245,142,190,148,155,152,238,238,236,204,
-94,104,109,69,177,80,0,136,224,186,46,126,108,110,98,117,109,45,95,169,
-148,251,62,45,45,125,249,7,112,163,171,171,163,169,169,249,243,173,238,
-110,59,98,89,216,219,221,193,216,232,40,0,96,98,114,18,13,217,44,180,214,
-88,89,93,57,216,222,253,117,231,227,194,251,69,0,96,0,232,233,233,73,101,
-210,153,197,107,237,237,182,231,85,176,95,218,71,217,243,66,103,158,231,
-161,92,218,135,239,121,184,122,249,138,157,78,165,167,123,159,244,202,48,
-7,44,101,127,75,75,115,202,175,250,8,2,128,152,225,251,199,0,223,247,80,
-174,84,64,196,96,38,52,53,54,102,245,198,193,16,128,87,22,0,68,99,177,1,
-33,24,59,219,63,193,204,32,22,240,235,28,20,139,69,104,109,192,12,128,24,
-241,51,49,196,226,241,123,33,32,34,248,226,198,250,58,222,189,121,11,173,
-53,106,181,26,180,214,33,224,229,228,139,176,111,96,48,242,116,4,177,120,
-204,13,175,160,28,89,8,252,32,75,68,16,66,64,8,113,162,180,142,227,156,
-172,189,37,160,164,76,134,0,105,203,188,35,21,6,31,61,0,19,129,152,16,84,
-3,204,190,158,5,0,12,62,188,143,88,60,14,38,2,51,195,77,185,176,44,235,
-251,49,64,201,57,193,124,51,26,117,192,204,16,204,40,151,43,225,137,137,
-68,2,201,100,2,204,124,40,130,32,154,15,203,40,52,205,40,105,111,41,37,
-161,148,132,84,18,182,29,9,1,182,29,193,209,154,109,71,96,89,214,158,49,
-214,66,8,152,154,154,10,28,91,62,118,164,12,148,148,80,210,62,1,136,88,
-22,152,249,104,24,104,208,237,241,241,241,60,112,234,41,231,38,114,29,12,
-243,129,136,206,59,42,138,106,80,133,146,10,209,168,131,82,185,132,32,8,
-182,64,230,241,216,179,231,139,71,123,232,244,111,204,229,114,41,18,186,
-31,68,119,153,232,18,64,5,3,157,39,109,230,28,231,236,204,240,240,112,80,
-31,31,2,136,200,6,160,234,36,15,147,204,0,106,0,126,3,56,0,80,61,148,111,
-140,249,243,23,177,87,216,253,35,48,36,45,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_64 = 700;
-static unsigned char xml_res_file_64[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,1,187,0,
-0,1,187,1,58,236,227,226,0,0,0,7,116,73,77,69,7,218,1,19,16,32,49,216,193,
-195,192,0,0,2,60,73,68,65,84,56,203,165,147,189,79,84,65,20,197,207,189,
-243,222,155,153,247,150,93,120,171,72,72,248,176,64,107,59,17,33,196,208,
-99,131,17,11,141,161,35,33,88,152,24,194,31,176,133,221,22,198,134,26,20,
-99,196,98,11,67,236,4,108,140,86,134,146,143,8,126,108,150,4,216,183,195,
-238,206,179,217,60,23,118,59,79,114,154,201,220,223,61,153,59,151,226,56,
-198,255,200,185,120,48,52,52,36,253,174,174,25,135,221,233,203,221,221,
-87,136,226,204,81,169,244,29,224,21,235,137,213,207,235,235,197,230,251,
-212,156,224,198,205,145,201,108,216,249,114,124,116,180,231,234,224,32,
-142,74,37,128,8,97,24,98,111,127,31,155,91,91,197,211,211,147,201,15,133,
-194,167,22,192,240,216,216,72,95,95,255,199,59,227,227,158,235,56,112,61,
-183,37,174,181,22,27,155,27,103,135,191,127,222,123,191,250,118,45,1,76,
-76,76,100,131,76,231,246,173,225,225,172,235,58,32,34,200,54,0,34,134,181,
-22,95,190,125,61,60,240,246,6,11,249,130,113,0,128,165,156,26,24,232,207,
-70,149,8,198,0,196,140,106,213,107,11,96,38,244,245,246,246,216,221,179,
-25,0,47,28,0,240,131,96,90,8,198,175,195,3,48,51,136,5,162,114,25,142,35,
-146,226,116,58,3,102,0,196,72,117,4,8,82,169,7,9,192,21,124,109,119,103,
-7,111,94,189,134,181,22,245,122,29,214,90,40,165,0,0,81,20,37,160,24,49,
-230,159,204,35,72,5,97,50,70,165,101,201,68,166,135,136,32,132,128,16,226,
-92,116,173,245,249,217,59,2,74,202,174,4,32,61,89,212,82,225,225,227,71,
-96,34,16,83,210,189,89,76,4,102,70,152,13,225,56,206,246,63,128,146,203,
-130,249,182,239,107,100,210,29,40,151,35,248,190,110,5,48,55,76,16,68,43,
-9,64,88,90,82,218,91,100,230,222,106,173,6,169,36,148,146,109,1,13,253,
-177,53,90,5,0,6,128,124,62,111,180,39,103,181,148,70,73,9,37,189,11,29,
-185,185,216,88,208,221,133,133,133,98,203,87,206,61,207,141,48,226,119,
-68,116,73,43,31,21,83,129,146,10,190,175,113,124,114,12,99,204,15,80,60,
-251,236,233,226,90,219,93,0,128,92,46,151,37,97,167,64,116,159,137,174,
-3,84,138,97,139,100,227,101,173,211,75,115,115,115,166,237,50,17,145,7,
-64,53,89,54,222,136,1,212,1,84,1,156,1,168,52,28,197,113,92,251,11,177,
-244,190,246,26,73,129,97,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_65 = 418;
-static unsigned char xml_res_file_65[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,6,98,75,71,68,0,190,0,190,0,190,181,173,64,155,0,
-0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,
-69,7,213,3,29,13,16,9,80,50,235,8,0,0,0,29,116,69,88,116,67,111,109,109,
-101,110,116,0,67,114,101,97,116,101,100,32,119,105,116,104,32,84,104,101,
-32,71,73,77,80,239,100,37,110,0,0,0,254,73,68,65,84,56,203,205,145,189,
-109,195,48,20,132,79,65,6,83,227,84,26,64,3,56,125,92,57,141,6,80,69,142,
-161,49,156,177,238,174,120,41,68,234,199,137,133,164,8,144,7,16,32,249,
-120,31,239,72,224,47,43,165,28,227,56,198,209,153,167,71,141,156,115,72,
-132,36,12,195,16,191,2,228,148,130,36,44,65,18,40,225,237,114,137,31,1,
-82,206,193,34,172,195,18,76,226,252,122,142,67,64,202,57,76,46,194,25,84,
-215,134,105,244,125,31,223,2,114,78,33,17,247,183,75,6,41,200,101,72,232,
-186,46,118,128,89,108,152,90,114,111,93,88,132,72,176,184,163,132,182,109,
-3,0,154,148,82,88,158,27,38,196,34,174,81,172,217,65,133,82,144,139,83,
-10,205,54,207,251,245,26,107,238,2,101,157,175,240,219,199,109,209,61,111,
-1,92,110,16,68,131,34,166,105,106,0,224,244,114,10,203,160,185,251,133,
-29,160,218,166,133,57,150,215,158,60,191,133,125,0,112,125,180,53,115,45,
-75,96,137,242,24,32,65,246,238,23,214,30,191,236,253,143,250,4,75,21,73,
-91,156,122,54,46,0,0,0,0,73,69,78,68,174,66,96,130,10,32,9,32,32,9,32,10};
-
-static size_t xml_res_size_66 = 762;
-static unsigned char xml_res_file_66[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,119,73,68,65,84,56,141,141,81,93,72,
-83,97,24,126,190,29,39,197,56,178,242,15,231,220,166,206,153,144,8,94,20,
-135,76,220,160,160,46,2,47,10,79,33,17,180,186,10,142,129,93,25,132,121,
-55,8,170,11,133,240,162,194,32,200,155,168,12,187,49,193,24,209,77,8,5,
-45,45,55,155,186,185,181,206,206,230,153,158,115,222,46,220,22,83,9,31,
-120,249,248,190,239,121,222,159,231,101,68,132,157,96,140,49,0,13,0,60,
-249,167,111,0,34,180,23,153,136,118,5,128,214,64,32,48,33,203,114,66,150,
-229,68,32,16,152,0,208,186,39,119,15,177,69,20,197,97,195,208,117,229,247,
-66,38,155,90,204,26,134,161,139,162,56,12,192,242,223,4,121,8,177,104,104,
-85,203,70,72,89,28,37,229,199,56,105,27,43,148,88,11,173,3,16,118,118,109,
-218,49,17,47,73,146,88,93,231,174,85,87,94,66,87,87,161,171,81,228,214,
-166,112,184,198,93,41,73,146,8,128,47,241,171,80,153,49,6,171,213,218,61,
-255,249,227,211,26,254,143,67,89,184,143,241,55,7,193,113,28,174,156,209,
-96,105,188,134,132,194,47,219,28,109,125,0,230,138,29,23,90,49,155,205,
-252,208,208,208,40,17,81,108,214,71,43,211,173,228,245,122,169,171,171,
-139,162,83,78,138,205,122,137,136,72,146,164,7,0,248,18,15,0,192,110,183,
-247,68,151,191,47,231,18,31,40,50,9,138,76,130,92,46,23,185,92,174,226,
-93,141,207,80,52,252,229,23,128,19,133,226,38,0,232,237,237,173,244,251,
-253,125,117,245,205,245,233,208,61,128,113,219,134,240,60,120,254,223,200,
-242,215,59,168,107,104,179,13,12,12,92,40,120,97,2,96,201,100,50,199,175,
-251,251,207,109,38,131,80,87,95,3,164,3,0,58,155,21,116,54,43,197,4,185,
-248,12,114,235,239,113,235,230,213,243,0,218,25,99,224,4,65,112,87,84,84,
-248,79,157,62,123,50,249,233,50,52,37,84,20,248,58,82,240,117,164,74,214,
-164,103,127,162,182,125,144,151,101,57,19,12,6,231,152,199,227,241,189,
-155,126,251,168,214,18,110,138,207,246,148,144,111,220,221,62,31,222,46,
-221,117,117,247,12,226,217,250,165,6,103,203,69,83,85,85,213,81,135,179,
-177,41,21,126,149,197,62,161,132,159,235,118,135,219,41,8,194,177,50,85,
-85,115,134,97,104,22,247,224,150,90,126,72,45,231,182,14,20,136,143,159,
-237,22,111,106,230,141,50,219,37,149,136,172,134,97,104,0,208,50,50,50,
-242,36,149,74,197,104,159,72,167,211,201,177,177,177,23,0,142,48,0,12,128,
-13,64,27,128,26,0,229,0,204,0,202,0,112,249,127,2,160,229,99,11,64,18,192,
-60,128,165,191,15,190,146,37,238,39,97,94,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_67 = 795;
-static unsigned char xml_res_file_67[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,152,73,68,65,84,56,141,165,147,77,72,
-20,97,24,199,255,51,187,227,166,217,215,218,82,236,230,180,228,101,197,
-24,140,142,10,93,10,188,4,65,132,18,30,66,58,88,211,161,107,8,17,29,234,
-18,149,208,97,195,162,58,228,70,226,26,36,104,172,96,31,8,101,181,218,216,
-132,82,226,126,177,214,186,237,54,185,51,187,206,236,190,79,151,53,87,172,
-147,207,241,133,255,239,229,225,255,123,56,34,66,229,112,28,39,0,112,2,
-112,1,112,151,159,147,0,150,0,100,136,200,90,23,32,34,84,64,156,162,40,
-118,6,2,129,97,85,85,21,93,215,179,186,174,103,85,85,85,2,129,192,176,40,
-138,157,101,248,90,174,34,236,147,101,185,87,211,180,84,174,96,81,223,136,
-66,231,110,141,210,249,219,163,244,96,116,134,114,5,139,52,77,75,201,178,
-220,11,192,183,10,89,5,56,101,89,238,101,140,177,192,248,44,121,59,238,
-208,193,174,187,52,151,200,210,151,200,15,234,238,155,162,150,11,15,233,
-233,203,89,98,140,177,50,196,185,250,185,32,138,98,167,166,105,169,161,
-137,175,228,60,126,131,90,46,191,34,249,126,152,116,93,39,198,24,93,234,
-159,161,147,55,223,82,219,181,9,26,155,138,146,166,105,169,242,58,130,13,
-128,203,239,247,247,52,73,205,205,103,174,15,161,198,227,131,141,231,144,
-55,9,139,25,29,147,223,50,152,142,229,96,152,37,172,20,25,166,227,58,58,
-90,189,91,235,61,110,199,224,224,96,200,14,192,37,73,146,24,154,138,33,
-149,43,162,196,91,176,74,4,187,141,195,66,198,130,111,175,128,244,178,9,
-195,44,65,47,20,17,75,51,140,127,138,67,146,36,17,128,203,14,192,237,245,
-122,235,31,245,191,71,201,81,135,188,89,66,50,91,64,218,127,20,59,183,213,
-128,49,134,158,129,57,84,87,217,80,235,176,131,0,204,196,150,113,164,173,
-161,30,128,155,175,172,244,103,206,194,142,26,1,0,176,187,123,12,134,97,
-0,0,170,236,60,182,8,54,8,118,14,185,66,17,196,173,101,120,0,201,72,36,
-18,111,149,68,172,20,116,8,54,254,47,36,159,207,195,48,12,212,58,236,168,
-174,226,241,75,183,160,25,22,14,31,168,67,36,18,137,3,72,242,0,150,20,69,
-137,29,59,36,98,255,118,32,154,54,224,243,212,194,227,172,134,97,24,48,
-12,3,60,207,97,233,183,137,172,110,161,105,223,118,180,54,238,129,162,40,
-177,178,157,107,53,134,194,81,170,58,113,143,118,117,61,167,112,56,76,170,
-170,210,252,252,60,37,18,9,66,123,144,132,211,207,232,205,231,239,235,106,
-220,32,82,40,28,165,134,179,253,132,83,3,132,246,32,113,29,65,66,123,144,
-26,47,142,208,107,117,113,163,72,255,82,57,111,22,105,248,221,2,93,121,
-60,73,87,159,124,160,23,31,99,148,55,139,255,87,121,51,199,196,109,246,
-156,255,0,33,111,198,143,231,146,204,102,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_68 = 752;
-static unsigned char xml_res_file_68[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,2,109,73,68,65,84,120,218,101,147,
-77,79,19,81,20,134,223,51,247,82,166,216,47,10,6,109,104,141,138,81,216,
-105,226,66,98,136,108,141,209,21,97,85,77,49,113,13,127,0,130,63,192,200,
-214,133,36,186,194,223,160,162,33,198,181,11,168,11,80,41,8,136,116,90,
-91,40,157,206,199,229,204,71,90,130,111,242,204,155,201,57,231,189,247,
-206,7,41,165,112,90,159,164,72,177,77,19,48,206,158,166,128,29,0,75,196,
-220,181,157,45,156,82,59,128,7,37,1,179,122,118,112,102,48,255,56,214,51,
-50,12,25,143,65,89,54,172,178,129,102,233,23,246,222,188,85,173,237,237,
-249,59,150,51,255,95,192,138,20,175,51,249,124,161,239,193,125,192,118,
-120,208,130,178,109,31,190,247,157,186,186,80,91,249,140,131,165,119,139,
-128,122,118,219,114,109,13,172,47,82,204,93,156,152,40,244,221,27,131,83,
-169,4,84,171,72,230,159,32,85,120,10,187,98,240,189,1,107,239,55,162,215,
-134,208,255,232,97,65,16,102,193,146,95,187,68,182,39,151,157,75,142,142,
-242,86,43,237,85,27,135,135,72,56,14,60,29,238,237,34,42,37,16,214,34,3,
-3,208,115,185,153,111,17,237,133,212,128,201,248,173,155,228,24,101,46,
-90,94,147,207,145,81,97,179,131,128,253,125,68,162,209,206,81,152,115,55,
-134,99,245,82,105,90,10,168,201,238,116,31,111,219,8,86,112,156,32,160,
-124,0,39,220,193,209,223,3,244,198,99,65,221,239,177,33,18,113,8,194,184,
-228,75,198,173,215,160,204,166,215,208,166,89,46,119,2,12,3,174,29,60,84,
-176,147,23,208,155,130,6,149,246,142,96,152,197,98,70,232,221,32,41,161,
-49,32,130,211,56,110,7,216,141,35,64,248,175,12,212,50,225,182,90,104,124,
-252,0,65,72,75,193,1,86,113,21,22,0,10,1,20,44,133,246,51,192,198,58,44,
-205,207,245,69,29,118,188,35,44,3,106,172,61,28,250,121,230,253,224,5,120,
-26,225,97,17,22,207,244,45,209,247,8,82,4,108,50,9,176,136,130,134,138,
-2,6,214,75,240,244,103,40,135,126,58,51,76,80,108,151,180,235,166,170,106,
-132,5,6,194,3,128,198,196,8,112,93,215,39,22,214,52,134,66,88,243,217,99,
-181,229,127,202,63,117,146,4,188,98,10,148,76,64,166,251,161,241,107,130,
-30,5,9,9,229,58,128,105,66,213,254,193,254,177,1,214,34,15,79,129,37,25,
-92,110,42,155,109,106,43,74,155,168,215,231,144,76,145,188,114,21,30,164,
-235,112,119,119,97,21,215,96,174,173,214,0,44,48,207,207,252,76,29,113,
-72,150,109,50,36,195,24,33,203,204,75,94,185,138,83,58,1,134,149,59,15,
-197,141,229,135,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_69 = 547;
-static unsigned char xml_res_file_69[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,160,73,68,65,84,56,141,173,147,207,106,
-19,81,20,135,191,59,115,71,221,69,176,79,226,162,175,224,194,80,27,19,167,
-141,13,85,116,81,40,244,105,4,161,32,248,183,38,36,116,32,80,124,136,46,
-92,116,227,19,212,213,56,100,32,196,153,204,157,115,92,52,153,100,16,193,
-160,63,56,187,251,29,190,123,14,199,168,42,255,18,11,112,121,249,117,2,
-52,54,100,211,237,237,251,119,45,64,150,101,141,173,173,123,88,107,255,
-138,116,206,17,199,63,26,149,65,158,231,92,95,127,223,80,224,38,11,131,
-156,102,243,1,198,24,138,162,192,57,71,81,20,136,8,34,130,170,34,34,148,
-101,73,89,150,56,231,184,186,250,182,106,144,231,25,198,24,94,189,62,173,
-117,63,60,216,199,243,60,6,163,136,199,143,154,140,162,49,0,173,157,135,
-228,121,86,55,0,56,57,62,2,64,68,42,19,231,28,123,157,22,34,66,55,108,87,
-38,75,166,154,1,80,51,240,125,159,23,207,122,168,42,253,225,57,157,214,
-14,253,225,57,0,97,123,183,98,236,242,241,186,193,50,69,81,160,170,60,221,
-235,32,34,28,236,63,169,230,177,100,44,128,181,254,111,6,39,199,71,88,107,
-81,85,222,127,234,19,182,119,57,27,140,0,232,134,237,138,185,81,236,15,
-245,79,41,203,82,179,44,211,233,116,170,147,201,68,147,36,209,56,142,117,
-193,212,191,112,250,230,237,106,191,214,231,229,243,67,60,207,227,221,199,
-207,244,186,33,31,206,6,0,244,186,97,197,160,170,68,209,88,69,68,157,115,
-181,90,207,124,62,215,217,108,166,105,154,106,146,36,26,69,227,149,65,16,
-248,233,197,197,151,141,110,33,8,252,20,192,252,151,107,4,48,198,220,2,
-238,172,213,109,32,0,12,32,64,1,228,64,182,168,159,170,234,126,1,210,87,
-39,71,27,86,23,36,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_70 = 3329;
-static unsigned char xml_res_file_70[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,2,28,73,68,65,84,120,218,148,147,203,78,20,81,20,69,215,61,247,
-86,85,87,53,242,142,208,40,137,182,136,34,49,145,129,35,19,227,7,168,31,
-227,159,161,78,156,56,241,3,52,38,66,144,135,66,194,179,121,216,65,186,
-186,170,110,221,227,200,152,96,155,224,30,175,179,38,123,31,243,228,213,
-83,46,71,85,239,68,141,232,117,146,69,193,168,165,200,11,41,251,229,75,
-99,204,230,101,214,49,32,193,135,116,120,170,249,96,250,238,36,113,145,
-176,255,237,136,221,237,131,212,185,191,241,129,2,95,212,97,124,126,132,
-153,103,99,196,123,25,101,223,179,189,177,27,174,44,0,80,103,40,227,138,
-174,116,200,67,142,24,51,144,147,127,156,23,177,88,174,217,38,85,214,199,
-219,18,19,164,24,68,58,148,54,149,201,180,208,80,153,138,64,160,60,47,219,
-161,208,80,226,165,103,206,41,66,8,117,25,22,176,85,162,10,138,98,173,21,
-235,164,231,66,234,223,50,87,45,12,45,52,184,206,44,227,245,4,190,168,209,
-165,190,255,158,127,149,211,147,46,205,145,137,112,235,241,244,155,70,154,
-224,36,34,182,49,39,7,63,56,61,62,91,117,125,147,135,195,230,54,213,252,
-41,247,91,247,72,100,145,97,134,217,43,247,220,254,86,135,176,174,20,90,
-187,236,81,3,178,128,19,165,105,19,46,62,90,108,87,130,211,10,122,251,5,
-231,203,240,229,198,26,43,211,107,16,131,246,96,104,103,132,81,29,131,57,
-136,102,12,117,28,227,165,228,167,235,210,95,239,83,187,26,151,144,72,171,
-154,101,168,62,193,28,2,103,138,81,225,34,206,253,209,78,215,157,47,117,
-89,236,45,121,249,48,234,170,68,240,198,32,38,208,219,241,132,92,197,69,
-62,121,62,121,210,202,166,142,110,6,20,84,33,42,93,251,248,225,193,242,
-70,251,19,209,44,20,159,189,116,222,117,95,132,212,111,233,239,250,34,17,
-113,166,231,20,221,82,91,19,108,253,167,68,169,139,50,45,197,77,66,115,
-38,37,221,202,164,110,152,85,201,220,230,213,118,16,72,176,96,154,144,36,
-13,172,181,168,106,242,31,67,2,140,66,9,101,146,163,81,13,12,94,226,224,
-103,114,65,210,78,70,35,29,35,125,127,13,191,97,48,177,202,149,5,106,53,
-143,207,146,149,86,126,59,88,39,132,220,138,137,200,7,177,191,6,0,68,27,
-254,238,54,119,61,0,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_71 = 437;
-static unsigned char xml_res_file_71[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,50,73,68,65,84,56,141,165,145,49,79,
-2,81,16,132,191,33,114,248,187,44,78,123,43,59,107,18,251,119,191,0,42,
-49,49,80,80,217,89,248,7,132,194,196,72,1,20,80,240,99,212,104,28,139,187,
-119,62,56,193,194,77,38,121,121,187,51,59,187,43,219,252,39,90,245,75,82,
-95,202,255,34,244,165,28,73,219,2,146,174,97,152,193,100,32,133,125,228,
-129,20,58,48,185,129,97,20,145,109,110,165,92,48,73,84,139,174,221,79,201,
-35,41,24,122,181,97,56,237,218,211,22,192,149,61,205,160,200,128,12,56,
-130,222,56,113,50,150,66,27,122,49,223,46,27,76,107,7,49,238,74,82,221,
-5,40,170,110,245,159,161,184,76,220,105,247,10,247,77,171,105,20,23,59,
-163,53,4,0,30,164,160,166,72,113,190,67,166,28,183,25,89,179,115,114,239,
-237,104,56,120,108,238,33,141,226,236,208,8,79,123,150,184,251,119,146,
-138,216,198,54,207,16,94,192,17,51,8,49,55,59,144,195,54,115,200,231,224,
-57,120,1,94,38,5,17,75,8,139,42,191,40,107,243,90,192,160,21,140,86,224,
-213,47,228,136,21,132,53,120,13,35,199,241,235,2,208,166,82,61,132,13,228,
-145,108,251,103,137,146,50,224,56,65,7,104,87,23,253,2,62,128,119,224,173,
-194,171,237,207,111,194,91,233,173,202,37,121,23,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_72 = 731;
-static unsigned char xml_res_file_72[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,88,73,68,65,84,56,141,141,146,95,72,
-83,81,28,199,191,247,114,181,57,39,194,89,82,178,72,31,210,151,132,65,15,
-34,87,81,130,66,193,127,79,25,216,68,26,230,20,169,185,45,98,133,65,25,
-56,42,122,112,17,200,16,124,14,7,66,212,67,17,152,14,34,189,72,152,65,160,
-50,2,197,10,239,126,108,115,133,103,211,157,94,54,89,102,230,15,206,203,
-225,124,62,191,223,249,158,35,17,17,142,82,237,237,237,77,161,80,232,45,
-17,237,228,238,43,71,129,7,6,6,60,189,189,189,15,42,43,43,131,140,49,123,
-174,228,191,130,91,213,213,222,211,173,173,215,205,102,115,65,91,91,91,
-151,16,34,205,24,235,201,74,14,21,12,169,170,199,81,86,118,255,219,220,
-156,180,96,50,253,56,223,216,120,194,237,118,119,43,138,178,203,24,115,
-16,209,206,63,5,67,170,234,185,106,177,140,20,11,145,95,0,224,251,230,102,
-201,226,194,194,86,83,75,75,145,211,233,180,151,150,150,26,25,99,93,210,
-65,33,230,194,201,237,109,124,173,169,193,69,159,15,171,203,203,152,157,
-153,73,92,238,236,52,73,146,132,64,32,16,148,143,2,55,120,189,88,157,152,
-192,153,138,10,64,211,140,31,231,231,99,138,162,160,182,182,182,225,143,
-9,238,169,170,187,203,98,241,229,194,23,70,70,240,197,239,71,121,71,7,222,
-249,124,56,62,57,137,21,73,74,153,252,254,173,247,154,246,12,68,4,34,130,
-221,110,119,245,215,215,79,127,168,171,227,159,85,85,188,116,187,69,108,
-125,93,124,242,251,69,108,109,77,76,57,28,34,196,152,152,45,44,20,83,138,
-194,47,201,242,109,34,194,30,28,14,135,19,186,174,167,28,170,58,29,28,28,
-220,229,156,139,197,209,81,17,219,216,248,11,190,34,203,158,108,227,61,
-88,100,74,215,245,228,221,254,254,112,60,26,21,156,243,67,97,34,130,98,
-48,24,78,50,198,142,101,115,48,155,205,121,55,134,135,79,61,246,122,195,
-103,211,233,114,75,48,40,11,206,17,225,60,25,76,167,239,60,213,245,39,251,
-131,151,156,78,231,195,104,52,186,35,114,42,18,137,36,175,89,173,111,94,
-24,141,252,160,206,123,87,200,188,130,228,114,185,30,237,151,16,81,178,
-167,170,234,181,77,150,111,2,144,14,19,148,0,176,246,245,245,5,114,37,75,
-75,75,17,155,205,214,13,32,31,128,1,64,17,128,226,204,50,1,200,203,126,
-229,24,128,162,177,177,177,231,241,120,220,210,220,220,124,46,145,72,164,
-198,199,199,95,105,154,150,0,80,151,57,19,7,240,19,192,47,0,156,136,82,
-191,1,15,132,144,175,125,174,182,28,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_73 = 625;
-static unsigned char xml_res_file_73[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,238,73,68,65,84,56,141,149,147,63,104,
-20,65,20,198,127,239,205,92,254,72,130,193,194,196,38,130,164,48,69,68,
-72,161,216,216,40,8,41,68,147,78,108,44,82,217,217,216,219,88,91,104,163,
-88,88,9,81,184,20,98,113,86,54,49,22,158,94,48,22,70,12,54,81,34,200,133,
-189,219,189,219,217,103,145,117,242,231,52,224,7,3,179,236,188,223,247,
-189,55,140,152,25,34,114,28,152,230,255,244,193,204,62,251,242,99,58,77,
-179,103,157,78,134,136,34,2,34,130,108,111,144,125,149,222,123,42,149,202,
-44,16,1,100,89,70,210,74,80,117,56,167,17,176,103,149,103,69,118,144,17,
-32,42,56,231,80,85,190,37,194,221,119,5,245,159,70,51,51,38,70,148,91,167,
-43,92,28,247,61,0,141,27,17,84,149,102,87,184,242,50,80,223,52,110,78,85,
-184,119,126,128,209,65,225,198,171,140,165,31,22,77,122,19,148,128,167,
-107,198,175,204,120,62,51,200,217,49,135,168,50,115,162,159,199,31,59,140,
-15,123,156,115,255,104,161,4,172,53,115,188,194,153,49,143,58,69,203,254,
-231,167,6,98,225,129,0,167,229,33,85,92,25,53,222,200,95,180,211,140,8,
-42,194,201,17,37,47,96,105,35,196,194,220,132,219,175,19,150,55,242,30,
-88,4,72,233,116,125,178,159,209,67,194,124,173,197,195,149,140,197,47,93,
-174,189,104,242,104,37,165,149,247,38,136,45,32,130,168,50,236,149,218,
-236,97,238,188,105,115,255,125,202,102,187,96,242,136,231,201,165,33,206,
-29,45,104,181,90,244,245,245,89,239,12,118,165,56,54,164,60,184,48,20,227,
-134,16,216,218,218,98,125,253,59,222,123,234,245,250,91,96,21,0,51,3,184,
-154,101,153,181,219,109,235,116,58,214,237,118,45,207,115,11,33,88,8,193,
-146,36,177,70,163,97,73,146,88,181,90,253,10,156,2,196,204,246,14,113,191,
-68,4,51,35,207,183,135,87,171,213,214,231,230,230,46,3,13,43,157,99,130,
-60,132,30,231,162,40,44,132,96,105,154,22,11,11,11,203,187,157,255,44,41,
-159,243,68,249,243,32,173,2,159,162,115,169,223,246,29,234,98,221,146,156,
-119,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_74 = 672;
-static unsigned char xml_res_file_74[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,29,73,68,65,84,56,141,149,147,193,107,
-19,65,20,198,191,55,155,128,45,10,162,212,30,84,170,226,69,132,30,236,193,
-139,158,164,168,180,80,90,115,17,68,61,232,201,131,244,228,255,80,65,241,
-164,103,15,130,166,45,141,173,72,107,244,82,17,27,111,134,144,64,84,170,
-81,170,151,88,72,118,179,179,187,179,159,135,108,54,217,70,4,31,60,120,
-195,204,247,123,111,190,97,132,36,68,100,4,192,24,254,47,62,146,252,148,
-138,22,99,174,171,23,60,79,67,68,65,4,16,17,72,187,128,236,80,166,82,41,
-164,211,233,75,0,98,0,180,214,176,29,27,74,89,176,44,21,3,18,25,157,21,
-233,34,99,128,40,129,101,89,80,74,181,83,4,162,84,66,220,17,246,2,84,92,
-136,128,18,98,177,118,31,179,31,206,226,202,250,49,220,222,56,131,183,191,
-22,96,41,5,203,178,48,157,31,2,20,161,148,234,7,136,8,94,252,120,132,231,
-181,135,200,28,157,197,221,211,121,156,59,120,25,15,74,183,176,105,151,
-48,181,182,31,0,48,189,118,32,49,1,72,2,192,140,227,56,188,186,122,146,
-115,133,155,108,54,155,116,28,135,45,215,101,109,187,74,207,243,232,121,
-30,199,151,6,232,251,62,141,49,4,48,67,178,199,3,17,212,189,45,12,15,30,
-233,250,160,20,134,7,71,98,31,94,78,54,250,222,178,123,25,17,12,237,58,
-140,45,231,75,44,22,17,148,126,191,131,97,0,17,193,197,149,61,8,97,254,
-110,162,0,56,127,232,26,214,127,46,98,245,251,99,124,107,86,240,236,243,
-61,220,121,63,129,202,118,1,23,150,119,3,0,38,86,246,38,71,232,120,224,
-106,205,166,221,228,147,242,28,175,191,26,229,228,242,62,222,120,125,138,
-111,106,79,25,134,33,125,223,231,248,210,0,27,141,6,181,214,97,199,131,
-24,160,181,166,227,56,212,90,211,247,125,6,65,64,99,76,44,174,215,235,44,
-151,203,172,86,171,204,102,179,27,0,78,244,1,90,173,22,61,207,75,0,140,
-49,180,109,155,197,98,145,182,109,51,151,203,109,2,24,5,32,36,147,38,238,
-12,17,1,73,4,65,219,196,124,62,255,53,147,201,76,1,40,50,234,28,79,16,24,
-211,215,57,12,67,26,99,232,186,110,56,63,63,95,232,237,220,73,137,190,243,
-241,104,243,95,81,6,80,137,59,71,241,7,28,152,90,249,152,21,25,66,0,0,0,
-0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_75 = 548;
-static unsigned char xml_res_file_75[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,161,73,68,65,84,56,141,149,147,189,138,
-20,65,20,133,191,83,213,51,171,27,136,63,15,176,137,32,136,108,178,15,97,
-178,176,162,243,6,190,137,129,136,193,38,251,6,198,99,48,129,96,48,137,
-96,164,201,104,35,171,96,224,36,226,6,98,48,244,78,119,79,87,95,131,174,
-237,237,158,86,193,11,23,110,87,213,253,206,233,91,148,204,12,73,123,192,
-1,255,23,31,205,236,107,18,63,14,242,188,120,89,150,5,146,67,2,73,168,41,
-208,86,103,146,36,140,70,163,71,64,11,160,40,10,178,243,12,231,60,222,187,
-22,208,203,120,86,186,68,182,0,57,225,189,199,57,215,164,132,156,235,53,
-95,52,118,1,174,45,164,203,102,231,88,221,120,66,249,236,13,222,185,38,
-189,199,121,223,138,12,29,68,128,143,128,118,205,251,198,77,71,253,143,
-14,180,229,0,32,124,58,227,215,254,49,63,247,158,82,190,254,130,235,252,
-210,95,1,234,2,62,124,231,218,243,67,116,107,151,243,147,183,131,230,30,
-0,169,153,67,4,1,236,220,191,195,149,195,187,92,61,186,71,149,254,232,221,
-200,208,65,215,69,60,224,175,239,54,245,200,19,206,86,3,245,222,16,145,
-88,61,120,129,36,110,190,122,220,172,237,36,61,197,60,207,9,33,48,30,143,
-109,120,11,29,106,87,73,18,117,93,83,81,179,92,46,73,146,132,197,98,241,
-30,56,5,192,204,0,30,22,69,97,235,245,218,202,178,180,205,102,99,85,85,
-89,8,193,66,8,150,101,153,165,105,106,89,150,217,108,54,251,6,236,3,50,
-179,254,16,183,67,18,102,70,85,85,72,98,62,159,47,39,147,201,17,144,90,
-84,110,29,84,33,12,148,235,186,182,16,130,229,121,94,79,167,211,119,93,
-229,139,84,124,206,183,227,230,191,226,20,248,220,42,199,248,13,95,198,
-189,161,61,78,40,59,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_76 = 650;
-static unsigned char xml_res_file_76[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,7,73,68,65,84,56,141,149,147,205,106,
-20,65,20,133,191,123,171,123,122,226,116,126,116,17,23,51,6,68,131,46,36,
-59,119,34,190,130,250,18,62,130,193,69,4,125,21,17,23,66,30,66,220,39,32,
-110,2,9,249,25,195,152,81,72,247,116,79,255,76,93,23,153,201,100,156,184,
-240,192,165,168,130,115,238,57,183,170,196,204,16,145,251,192,6,255,135,
-93,51,219,11,198,155,141,94,175,247,217,155,161,170,168,42,34,50,83,192,
-229,170,170,44,198,241,75,96,79,39,114,222,96,48,24,252,179,157,136,32,
-112,89,19,76,28,224,156,130,25,222,132,227,195,35,204,192,188,167,185,208,
-100,84,143,112,129,99,229,230,45,226,86,139,64,117,94,64,199,135,141,208,
-209,233,180,113,170,52,162,136,98,56,164,209,104,16,132,33,101,81,208,8,
-29,234,220,188,128,136,176,188,178,66,237,225,248,184,75,24,6,196,241,34,
-105,146,208,138,91,148,101,137,121,163,221,233,176,16,78,29,232,85,7,195,
-225,16,85,197,5,1,46,8,72,146,132,178,44,73,206,19,84,149,59,107,107,4,
-193,101,207,191,34,136,128,25,205,208,177,126,239,46,121,158,19,199,49,
-102,134,115,14,51,163,40,10,16,135,200,117,17,84,241,102,212,30,14,247,
-247,49,51,154,11,77,194,48,36,77,82,162,168,129,170,178,186,122,155,40,
-146,107,4,128,192,57,162,208,241,240,193,250,244,234,174,121,7,87,49,157,
-134,8,75,75,75,168,42,89,150,205,144,171,170,66,68,200,178,140,170,170,
-200,243,161,1,126,238,22,210,52,229,70,188,204,207,254,111,122,253,95,248,
-122,68,212,140,168,235,154,228,60,225,172,127,70,187,221,102,123,123,251,
-43,176,51,227,64,0,51,3,32,77,83,202,97,65,43,142,25,164,3,84,149,31,167,
-167,60,123,250,132,15,159,62,126,127,179,249,250,21,112,0,83,210,139,44,
-207,173,219,237,90,89,150,86,85,149,213,117,109,163,209,200,188,247,214,
-239,247,109,103,119,215,54,223,110,125,3,30,3,106,102,23,220,177,192,243,
-44,207,125,81,20,86,85,213,140,128,153,217,201,73,215,111,189,123,255,5,
-120,116,149,108,102,200,248,59,119,198,202,243,99,190,128,31,103,62,176,
-73,206,49,254,0,61,39,6,79,174,139,88,136,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_77 = 743;
-static unsigned char xml_res_file_77[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,100,73,68,65,84,120,218,165,147,205,
-75,84,81,24,198,159,115,103,198,102,70,29,29,25,103,156,41,173,20,49,51,
-52,90,36,20,45,218,68,27,151,237,139,86,45,250,3,90,137,237,218,70,219,
-160,254,129,8,164,15,201,141,68,65,26,150,129,18,82,193,64,5,78,142,54,
-115,207,204,189,231,235,158,94,110,114,108,97,139,232,7,15,15,92,206,251,
-222,231,125,239,61,204,90,139,255,33,137,191,49,55,231,109,156,68,114,29,
-192,149,13,104,204,206,70,56,0,151,224,225,220,181,244,200,212,164,223,
-95,200,39,69,40,16,134,33,180,222,133,84,10,30,235,65,182,51,131,76,58,
-131,106,245,107,243,243,234,114,241,230,221,167,2,132,135,61,138,199,134,
-222,149,75,133,164,86,26,74,43,42,214,144,130,195,168,54,53,145,144,242,
-247,179,209,209,227,185,108,185,242,24,132,107,240,228,254,173,27,3,149,
-202,9,69,197,154,138,149,212,241,155,69,187,142,144,212,104,114,240,86,
-11,65,16,66,8,137,233,233,233,203,15,238,92,157,113,59,168,148,10,195,41,
-27,250,33,231,86,106,205,140,50,48,90,163,163,115,32,155,78,48,38,182,77,
-171,237,251,144,237,6,118,182,140,69,100,208,223,157,63,7,96,62,110,192,
-188,36,79,103,210,221,248,3,99,34,212,26,219,72,120,12,229,82,71,183,209,
-18,70,145,246,92,120,8,221,8,154,89,142,63,208,198,64,81,130,118,16,129,
-98,192,70,134,20,193,218,200,57,137,187,17,180,82,254,151,106,3,181,157,
-6,182,119,154,200,231,186,80,232,203,225,251,86,29,168,214,160,164,68,95,
-79,6,181,31,187,104,114,142,124,87,6,131,149,146,239,18,8,25,241,98,161,
-7,99,195,135,49,191,184,130,137,177,33,60,95,90,69,195,111,97,124,164,140,
-35,165,94,20,251,186,96,173,193,250,230,55,148,251,115,0,99,190,75,160,
-148,244,133,244,200,53,234,148,64,73,133,209,163,37,188,253,240,9,74,132,
-120,180,176,140,75,231,39,240,108,105,13,51,23,39,177,85,111,210,226,179,
-251,35,112,222,14,210,41,70,77,25,238,221,190,14,173,37,78,143,15,98,106,
-172,130,200,24,156,61,53,68,174,113,225,204,48,34,218,129,33,5,202,4,110,
-132,23,175,87,88,252,231,41,9,19,75,128,182,77,82,251,50,198,21,107,19,
-225,213,251,205,67,174,193,194,226,154,106,241,32,254,246,145,177,160,179,
-116,152,193,34,1,235,81,200,68,138,60,21,59,200,133,48,120,249,230,163,
-118,119,129,162,247,246,230,58,103,0,48,196,24,28,132,187,77,6,182,217,
-10,231,169,246,167,187,76,140,192,63,96,9,16,191,0,100,58,117,67,48,81,
-51,243,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_78 = 821;
-static unsigned char xml_res_file_78[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,178,73,68,65,84,120,218,117,83,77,79,
-19,97,16,158,237,110,63,72,41,173,197,130,61,16,18,129,131,196,24,138,137,
-23,77,104,253,3,234,1,77,61,153,244,194,209,11,129,104,122,80,46,165,7,
-131,9,28,32,134,131,156,36,198,104,194,149,132,136,33,193,132,106,34,144,
-30,4,202,71,91,160,244,35,173,208,118,219,93,156,231,53,91,61,224,36,147,
-121,179,251,206,51,243,60,51,175,116,126,126,78,23,217,212,212,84,176,187,
-187,59,140,243,206,206,78,100,104,104,232,45,93,96,38,250,199,134,135,135,
-175,24,231,150,150,150,199,129,64,224,26,188,185,185,57,120,209,29,88,163,
-131,153,153,153,23,3,3,3,207,19,137,196,119,89,150,107,157,157,157,55,189,
-94,175,25,255,82,169,84,125,123,123,251,171,205,102,179,119,116,116,92,
-95,90,90,138,134,66,161,103,13,128,112,56,124,105,112,112,48,211,222,222,
-46,155,76,38,130,195,52,77,19,81,81,20,194,61,195,15,15,15,181,249,249,
-121,207,216,216,88,190,209,193,220,220,220,55,191,223,223,103,177,88,168,
-92,46,3,4,81,36,112,229,70,4,232,242,242,242,143,96,48,120,67,128,27,92,
-42,149,74,169,90,173,210,217,217,25,73,146,132,170,141,202,181,90,77,120,
-189,94,39,93,215,233,244,244,244,151,145,39,59,157,206,96,60,30,127,213,
-213,213,117,167,169,169,73,102,32,145,116,124,124,172,174,173,173,125,218,
-219,219,139,91,173,214,171,118,187,93,65,1,116,197,247,188,43,43,43,254,
-197,197,69,93,49,155,205,79,123,123,123,111,161,117,160,35,25,113,99,99,
-227,3,143,78,168,63,59,59,251,174,181,181,245,161,209,93,91,91,155,226,
-118,187,239,174,174,174,186,20,110,75,82,85,149,96,172,62,0,192,19,32,85,
-214,229,190,195,225,120,226,114,185,250,143,142,142,144,140,234,84,44,22,
-5,37,46,238,148,162,209,232,35,190,20,226,241,4,60,30,143,194,38,0,74,165,
-82,117,97,97,65,101,186,14,36,66,106,137,36,252,51,244,64,39,105,76,193,
-216,188,47,62,159,239,54,115,37,112,197,20,38,94,79,80,127,191,143,50,153,
-12,52,33,139,197,74,201,131,36,241,98,225,27,128,242,198,38,34,193,6,48,
-240,132,101,179,89,166,163,83,42,157,162,124,33,79,170,90,163,88,44,70,
-38,217,132,41,16,104,67,43,1,48,50,50,114,185,167,167,167,143,53,0,47,193,
-147,41,17,38,146,59,201,82,169,88,162,10,171,175,107,58,199,10,241,182,
-138,59,40,40,0,198,199,199,79,214,215,215,95,114,235,218,214,214,86,108,
-115,115,243,115,161,80,168,131,93,25,32,185,28,29,36,147,196,98,82,58,157,
-22,201,252,255,239,91,48,108,116,116,212,29,137,68,114,56,79,79,79,127,
-220,223,223,191,183,187,155,248,35,159,132,213,214,33,34,4,68,132,136,63,
-255,251,156,39,39,39,31,48,157,55,252,164,93,188,35,117,118,141,57,131,
-22,68,134,99,87,222,255,6,129,62,148,253,161,228,14,253,0,0,0,0,73,69,78,
-68,174,66,96,130};
-
-static size_t xml_res_size_79 = 597;
-static unsigned char xml_res_file_79[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,210,73,68,65,84,120,218,149,147,177,
-142,218,80,16,69,175,109,232,248,7,10,34,209,69,8,255,2,125,36,98,162,165,
-166,167,135,54,91,65,205,63,80,144,130,158,134,2,138,77,3,65,40,145,214,
-17,164,2,68,5,200,198,54,224,201,204,91,189,245,46,150,34,101,164,171,121,
-24,221,115,103,30,216,32,34,24,134,145,7,96,227,255,234,7,123,221,12,94,
-202,14,130,240,91,20,133,12,51,89,16,168,18,164,223,57,51,153,12,178,217,
-236,103,0,175,0,132,97,8,207,247,96,154,22,44,203,20,115,90,144,82,240,
-4,6,253,208,52,216,104,49,192,124,145,24,184,39,102,101,76,1,76,125,96,
-131,24,19,49,108,189,94,195,226,179,72,193,89,58,36,5,16,234,118,187,197,
-111,215,69,196,235,28,143,71,212,28,7,183,56,86,166,253,126,15,247,249,
-25,231,243,57,189,130,6,212,31,30,80,169,84,48,30,143,209,104,52,228,153,
-130,20,139,69,204,231,115,216,182,141,201,100,130,78,167,147,158,32,138,
-34,28,14,7,124,125,124,68,161,80,192,116,58,85,144,118,187,141,205,102,
-131,213,106,133,110,183,139,82,169,4,215,117,211,128,229,114,169,126,137,
-47,181,26,114,185,28,46,151,11,202,229,50,102,179,25,242,249,60,60,207,
-67,181,90,133,239,251,168,215,235,120,45,34,146,86,237,245,122,212,106,
-181,136,119,36,6,17,79,68,215,235,85,169,223,239,83,179,217,164,56,142,
-233,118,187,169,46,30,246,38,128,128,77,158,239,83,16,4,202,204,19,136,
-89,27,212,103,78,167,211,233,36,1,177,6,36,151,168,101,24,41,49,4,108,196,
-110,183,147,127,161,172,245,29,192,207,119,43,48,85,198,79,165,139,120,
-127,90,44,22,170,15,135,195,53,128,143,146,37,94,19,186,56,233,174,36,93,
-5,48,76,157,71,163,209,31,199,113,62,1,88,16,215,187,9,174,156,116,151,
-172,47,77,238,37,30,12,6,79,111,147,181,244,235,252,65,125,249,239,146,
-157,127,233,100,93,127,1,128,105,83,176,4,248,205,20,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_80 = 1854;
-static unsigned char xml_res_file_80[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,16,6,0,
-0,0,79,99,35,34,0,0,0,9,112,72,89,115,0,0,55,92,0,0,55,92,1,203,199,164,
-185,0,0,0,9,118,112,65,103,0,0,0,16,0,0,0,16,0,92,198,173,195,0,0,0,6,98,
-75,71,68,255,255,255,255,255,255,9,88,247,220,0,0,6,155,73,68,65,84,120,
-218,29,208,123,112,142,103,26,199,241,239,117,63,207,235,61,37,41,173,9,
-54,82,135,145,65,178,146,148,149,174,100,149,97,117,235,208,150,162,14,
-203,134,216,29,171,20,171,182,204,206,110,79,106,66,73,135,182,106,85,83,
-139,105,67,200,34,205,148,236,178,36,34,172,104,99,52,14,21,146,144,172,
-67,144,136,196,155,247,205,147,231,185,247,105,239,207,252,254,184,102,
-174,223,253,199,101,78,154,62,105,242,164,41,208,56,170,113,116,227,232,
-192,152,25,183,103,116,159,49,98,80,187,111,179,239,115,223,103,146,237,
-52,234,59,186,134,29,242,111,74,201,231,105,198,200,40,25,137,35,67,73,
-33,21,72,34,153,33,224,230,105,23,196,146,224,82,84,83,226,186,169,190,
-86,59,213,78,230,135,39,133,39,134,39,234,191,228,245,200,139,202,139,186,
-226,141,45,139,61,25,123,50,116,220,76,191,152,126,59,221,129,107,41,215,
-236,107,129,254,231,95,58,255,242,242,151,11,78,52,7,227,130,18,108,247,
-29,97,22,253,240,58,45,234,132,24,34,44,147,68,117,85,85,19,150,62,92,112,
-33,87,228,123,249,30,248,72,242,37,31,100,61,179,92,62,252,164,184,126,
-175,62,51,138,140,34,117,36,180,244,113,255,199,253,195,103,170,126,86,
-117,176,234,96,122,215,1,3,7,12,25,48,164,10,83,93,81,215,85,13,16,161,
-131,78,53,169,75,86,151,183,186,76,241,182,120,227,189,99,188,113,158,108,
-106,41,163,144,37,106,136,90,160,22,240,148,44,147,157,178,19,212,104,185,
-32,23,64,98,69,68,129,164,75,130,36,0,251,220,11,141,2,186,226,115,197,
-25,235,84,142,202,33,219,94,213,57,172,115,168,190,76,37,215,185,174,158,
-80,9,106,144,26,196,46,147,2,138,216,13,178,74,150,200,107,228,169,82,213,
-160,214,234,99,146,39,35,229,0,112,139,43,92,213,217,50,92,12,215,38,149,
-40,150,132,9,203,76,233,38,93,65,252,18,146,86,144,100,233,45,189,64,150,
-202,8,121,22,31,125,233,65,79,183,183,85,77,87,211,4,245,140,26,172,18,
-245,27,114,71,78,200,9,198,74,156,196,75,60,152,178,64,254,40,243,128,185,
-76,113,197,73,142,252,74,50,100,181,233,53,218,12,197,41,189,137,163,148,
-202,106,117,86,14,200,126,182,40,212,223,213,118,144,36,119,107,44,168,
-114,85,164,202,65,46,203,105,41,3,86,241,58,11,129,26,174,112,81,22,43,
-191,123,225,235,110,239,93,181,87,237,149,213,108,225,158,43,142,20,82,
-221,212,153,206,24,103,156,147,10,246,61,187,205,174,68,123,230,154,191,
-244,108,65,55,221,109,190,216,116,9,30,229,61,154,220,82,10,49,231,163,
-157,152,122,8,52,5,236,192,44,8,173,13,85,135,182,130,157,237,28,177,221,
-153,47,245,107,172,5,239,61,223,44,111,54,232,26,231,178,190,14,61,106,
-122,52,246,60,12,170,143,234,166,158,70,235,245,122,163,94,131,166,130,
-51,84,130,169,51,116,186,78,5,221,170,155,117,45,168,90,213,168,190,1,203,
-182,58,172,125,224,172,113,222,119,242,64,38,171,181,226,206,183,90,110,
-171,255,153,16,204,14,222,140,202,128,206,72,231,128,206,175,128,239,232,
-96,29,120,223,246,158,243,238,130,240,184,200,159,194,237,208,20,215,220,
-171,105,51,68,63,138,26,17,125,24,236,136,29,111,31,1,253,174,254,192,89,
-9,166,58,171,74,212,37,80,203,213,98,53,15,248,53,159,235,62,208,237,207,
-221,234,187,189,4,222,53,222,4,239,22,8,174,9,188,16,104,0,115,177,177,
-193,236,14,190,221,190,127,248,250,0,255,148,2,169,0,189,214,25,225,76,
-4,51,215,51,195,179,9,60,247,187,244,238,114,16,2,201,254,176,255,45,96,
-32,217,44,3,213,170,98,212,119,8,31,178,65,154,192,36,137,84,158,1,74,56,
-67,25,200,81,181,75,21,0,247,232,171,251,130,255,136,111,189,175,28,156,
-20,167,213,185,2,186,76,87,233,61,208,145,210,145,217,145,14,170,214,40,
-52,246,131,113,95,57,234,121,240,255,214,247,172,255,35,176,54,90,13,86,
-20,78,176,62,106,87,212,72,8,229,62,94,23,138,80,35,119,165,69,146,244,
-109,249,80,178,229,83,148,201,44,166,51,19,136,208,206,45,144,195,12,102,
-54,24,253,204,231,204,66,184,81,88,151,82,91,5,209,79,68,87,199,204,133,
-142,106,235,81,199,14,80,221,165,78,252,224,31,19,136,11,228,129,252,64,
-156,44,135,206,28,251,129,221,6,145,252,72,91,120,38,65,110,234,75,250,
-63,224,187,227,155,232,63,229,92,210,227,244,27,58,32,99,57,207,85,202,
-193,228,16,251,201,3,126,193,48,18,64,78,75,177,156,6,98,244,13,206,67,
-224,55,1,35,120,2,130,43,163,222,140,50,193,95,229,196,58,227,193,236,109,
-76,51,22,129,42,83,27,212,18,176,254,218,57,205,250,6,109,191,216,249,106,
-231,66,196,206,176,255,96,123,185,24,158,28,201,136,172,4,171,143,245,113,
-231,183,12,109,117,90,251,182,30,179,151,60,136,126,16,184,111,114,220,
-148,7,242,88,4,84,80,249,213,0,68,23,235,127,233,247,144,168,21,81,227,
-163,114,33,102,103,204,194,152,69,192,235,132,9,130,76,151,225,242,55,224,
-109,60,60,5,250,107,61,79,47,69,91,61,172,52,43,19,121,184,242,97,221,195,
-169,52,133,139,194,163,34,245,118,102,100,107,216,137,44,51,40,237,90,186,
-187,116,197,142,194,125,69,251,246,238,203,191,28,210,63,61,60,38,123,217,
-206,54,160,150,115,84,232,107,76,32,131,231,244,28,189,75,239,214,159,128,
-117,200,58,106,237,210,61,85,181,171,86,250,74,162,107,48,97,213,75,245,
-84,189,208,86,134,149,110,101,16,12,213,134,58,66,167,168,107,222,212,92,
-208,92,105,191,25,61,62,58,57,186,171,177,174,164,123,137,81,18,218,191,
-45,43,63,107,79,86,241,138,98,0,112,14,120,44,207,67,79,19,31,155,52,115,
-147,122,224,52,205,60,148,44,85,109,56,134,35,237,134,54,235,205,122,48,
-98,244,86,189,93,238,202,6,217,40,27,169,35,137,129,164,0,109,180,16,1,
-169,148,111,165,2,156,144,91,139,213,123,156,27,78,196,41,54,102,150,190,
-87,154,89,58,124,255,11,179,19,103,39,207,30,154,53,8,0,194,7,82,55,164,
-126,144,154,131,221,239,64,191,226,126,199,48,204,246,129,237,73,237,73,
-208,209,189,227,201,142,39,237,138,71,239,180,76,104,153,240,160,156,247,
-245,98,189,216,183,205,185,231,220,116,63,77,83,175,168,169,106,170,12,
-147,115,82,33,103,177,152,194,43,76,37,108,253,96,93,182,170,244,227,182,
-231,219,38,183,253,206,179,182,98,126,197,139,21,25,95,124,153,153,152,
-153,156,249,243,213,77,0,16,217,156,118,60,237,112,90,1,15,211,106,211,
-26,210,238,97,196,183,197,183,196,223,197,52,115,23,228,206,201,157,3,237,
-95,180,239,104,223,81,211,171,225,211,134,229,13,203,71,247,53,151,154,
-139,204,69,124,165,231,235,44,157,69,21,242,147,69,28,228,144,75,244,70,
-157,163,115,168,53,94,253,145,172,179,55,219,159,184,41,172,52,43,125,149,
-237,117,239,0,64,103,69,102,105,230,201,204,227,220,79,59,149,86,150,86,
-78,215,224,127,93,21,120,26,15,253,8,235,255,57,11,234,152,189,21,134,126,
-0,0,0,34,122,84,88,116,83,111,102,116,119,97,114,101,0,0,120,218,43,47,
-47,215,203,204,203,46,78,78,44,72,213,203,47,74,7,0,54,216,6,88,16,83,202,
-92,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_81 = 720;
-static unsigned char xml_res_file_81[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,77,73,68,65,84,120,218,149,147,189,107,
-83,81,24,135,159,115,115,115,111,146,218,36,213,126,88,141,173,109,162,
-168,212,128,164,88,40,5,5,197,161,66,135,214,15,20,157,236,226,224,228,
-226,234,228,31,224,36,142,130,46,17,113,171,180,34,29,84,168,162,160,96,
-99,80,208,6,90,173,134,104,107,154,251,125,188,105,155,148,210,32,248,192,
-143,151,3,231,125,222,247,12,71,72,41,17,66,116,3,25,254,143,119,126,239,
-39,149,53,50,134,97,62,180,44,19,33,20,63,84,165,171,161,90,217,140,170,
-170,4,131,193,49,160,46,192,52,77,142,157,188,75,230,231,99,244,192,103,
-242,214,9,218,191,153,132,83,221,216,59,114,236,143,127,64,251,157,32,215,
-116,145,91,247,46,80,67,97,29,161,8,210,222,11,68,124,9,218,2,196,93,147,
-144,101,208,103,7,8,180,72,212,116,130,228,200,65,58,188,60,2,182,10,20,
-33,112,183,75,138,173,205,24,126,93,82,245,53,49,26,57,67,80,233,77,161,
-238,142,49,212,111,162,120,110,131,13,132,160,216,222,71,105,62,201,84,
-185,19,205,114,170,239,164,201,81,184,150,31,70,45,31,101,186,244,139,66,
-162,31,37,20,106,44,248,30,59,77,116,57,206,208,204,30,34,43,54,203,93,
-97,60,4,157,81,149,203,55,91,233,217,55,204,163,185,20,66,40,141,5,193,
-72,19,43,131,7,136,58,101,18,124,97,206,210,201,54,63,71,95,20,44,141,239,
-196,120,19,160,176,188,13,33,216,42,64,8,180,112,144,98,215,113,42,167,
-186,41,30,41,113,37,148,39,16,173,80,184,30,225,65,108,158,251,63,147,232,
-97,125,211,6,106,189,31,124,129,142,173,72,114,153,27,252,120,219,203,228,
-202,43,246,14,94,229,118,37,137,237,122,104,145,250,229,13,193,230,13,52,
-156,128,4,215,102,64,153,32,54,112,152,175,187,14,81,54,61,116,54,112,28,
-91,54,220,64,247,5,174,10,214,194,71,22,22,22,249,211,217,129,173,4,125,
-49,72,207,161,77,45,49,212,163,50,53,241,242,53,48,91,19,212,209,35,58,
-142,37,209,122,251,241,186,166,241,84,173,62,185,197,45,114,231,82,23,79,
-38,159,21,70,207,157,25,7,114,91,158,48,150,86,113,164,178,126,12,249,17,
-72,41,177,44,139,86,199,99,114,234,233,220,249,179,99,35,192,123,233,3,
-192,122,29,117,92,87,218,182,45,29,199,145,174,235,174,198,243,188,213,
-106,24,134,151,205,102,103,128,52,32,170,61,181,212,190,115,10,72,243,111,
-102,129,92,109,114,141,191,63,50,244,146,208,89,162,221,0,0,0,0,73,69,78,
-68,174,66,96,130};
-
-static size_t xml_res_size_82 = 563;
-static unsigned char xml_res_file_82[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,176,73,68,65,84,56,141,149,147,49,142,
-218,64,20,134,191,55,246,24,110,145,38,237,110,179,157,145,184,66,164,4,
-137,150,130,3,184,224,24,244,156,1,137,128,160,230,4,14,80,132,98,83,68,
-34,41,169,145,3,198,30,94,138,53,3,44,187,145,242,164,39,121,198,254,191,
-255,215,188,177,168,42,34,242,1,120,226,255,234,187,170,254,12,171,197,
-211,225,144,127,61,30,115,68,12,34,32,34,200,203,3,242,74,25,134,33,214,
-218,47,128,7,144,231,57,217,159,12,99,2,130,192,120,192,77,87,223,138,92,
-144,30,32,70,8,130,0,99,204,75,139,32,198,220,136,207,194,55,1,70,132,199,
-135,135,179,197,93,108,192,195,55,155,205,101,207,39,168,168,147,201,132,
-70,28,115,189,31,4,1,214,90,172,181,212,106,181,155,4,183,0,17,250,253,
-62,189,94,143,241,120,76,179,217,244,162,90,173,70,189,94,199,90,251,62,
-192,136,144,166,41,237,118,155,52,77,25,14,135,94,20,69,145,135,221,76,
-228,42,43,81,20,17,199,49,73,146,0,208,233,116,176,214,222,30,110,117,176,
-247,83,0,162,40,34,73,18,6,131,1,203,229,18,99,12,81,20,177,90,173,188,
-160,209,104,188,159,192,90,75,183,219,245,135,102,140,33,8,2,226,56,246,
-206,214,90,138,162,208,55,19,44,22,11,31,247,250,2,57,231,216,237,118,108,
-183,91,194,48,100,54,155,125,3,158,1,80,85,128,207,121,158,235,126,191,
-215,227,241,168,69,81,104,89,150,234,156,83,231,156,102,89,166,235,245,
-90,179,44,211,233,116,250,11,120,4,68,85,47,83,64,238,175,142,136,160,170,
-148,101,137,136,48,159,207,127,183,90,173,79,192,90,43,103,159,160,116,
-238,206,249,116,58,169,115,78,15,135,195,105,52,26,165,215,206,231,150,
-234,119,254,88,189,252,87,61,3,63,188,115,85,127,1,148,24,195,12,193,108,
-182,40,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_83 = 572;
-static unsigned char xml_res_file_83[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,185,73,68,65,84,56,141,149,147,49,139,
-212,80,20,133,191,123,95,102,23,113,11,65,80,176,80,208,173,183,112,11,
-183,179,181,82,88,7,27,75,127,146,149,181,149,48,91,12,182,99,97,37,56,
-8,163,35,172,133,136,138,197,78,107,72,38,47,201,123,215,34,201,236,100,
-102,21,188,112,32,33,239,124,231,188,151,68,204,12,17,185,5,28,242,127,
-243,201,204,190,38,237,205,97,81,248,147,178,244,136,40,34,32,34,72,115,
-129,108,56,147,36,97,48,24,60,6,86,0,188,247,100,121,134,170,195,57,93,
-1,122,106,215,138,156,35,87,0,81,193,57,135,170,54,18,65,84,123,230,206,
-120,33,64,69,206,205,173,68,164,1,109,108,71,85,47,104,208,2,92,103,94,
-107,209,65,186,117,235,13,116,19,192,217,111,170,23,111,27,80,25,241,207,
-223,160,170,248,151,239,96,145,110,1,122,13,226,171,41,100,37,59,15,14,
-80,85,226,183,51,220,141,43,136,8,59,71,119,200,79,166,232,229,93,246,158,
-221,223,110,128,8,32,136,40,234,154,109,84,159,127,225,110,95,107,18,19,
-135,133,136,149,245,95,26,0,187,79,143,96,145,226,95,207,24,236,95,167,
-250,248,147,75,15,239,34,34,44,199,31,216,123,114,15,119,243,106,255,163,
-48,51,128,227,194,123,203,242,220,138,162,176,178,44,173,170,42,171,235,
-218,66,8,22,99,180,170,170,44,207,115,75,211,212,188,247,17,56,54,179,126,
-131,238,93,111,42,132,64,154,166,44,22,11,146,36,97,54,155,77,129,211,94,
-3,239,189,45,151,203,173,244,16,130,101,89,102,243,249,220,178,44,179,241,
-120,252,29,56,0,196,204,54,15,177,63,34,130,153,81,215,205,193,77,38,147,
-31,195,225,240,17,48,183,54,121,213,160,14,97,43,57,198,104,33,4,43,138,
-34,142,70,163,247,235,201,157,164,253,157,247,219,135,255,154,83,224,203,
-42,185,157,63,83,241,253,31,62,79,218,54,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_84 = 722;
-static unsigned char xml_res_file_84[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,79,73,68,65,84,120,218,149,146,77,79,
-19,81,20,134,159,206,76,97,144,214,34,20,172,5,44,248,65,64,80,64,49,174,
-76,32,196,96,98,92,201,202,149,63,199,127,224,218,157,113,225,210,4,19,
-99,4,66,52,128,137,149,40,74,12,2,210,226,52,181,182,25,238,180,157,143,
-235,76,176,21,165,46,124,147,55,115,39,119,206,51,239,57,57,33,41,37,161,
-80,72,3,34,252,159,76,191,214,209,56,80,143,97,24,155,158,148,40,138,18,
-56,128,254,97,160,254,12,238,163,145,72,63,240,165,6,192,147,212,149,207,
-11,86,222,100,216,51,4,158,235,145,76,182,112,99,122,16,189,73,59,0,241,
-91,117,128,170,42,0,44,189,218,33,95,176,241,90,117,22,54,13,98,209,48,
-235,89,147,151,171,89,238,221,185,200,232,72,119,61,9,128,2,212,99,109,
-111,253,224,221,90,142,228,112,15,122,42,65,199,196,25,68,91,148,143,194,
-97,203,148,220,127,48,143,85,182,81,84,245,40,32,160,206,47,237,208,222,
-215,73,247,233,118,218,58,143,211,159,138,147,11,169,88,186,78,222,178,
-41,56,26,143,158,164,81,21,165,113,130,149,213,109,140,170,67,113,223,161,
-82,177,41,89,21,92,9,14,10,85,233,17,239,233,226,131,223,22,141,102,32,
-61,137,89,172,242,236,245,46,250,201,118,74,82,33,155,19,200,138,131,235,
-184,193,189,111,59,0,54,158,129,22,214,232,77,181,81,249,110,242,244,197,
-6,185,221,34,177,144,135,83,20,132,68,5,219,79,181,182,252,153,174,88,24,
-165,81,11,1,243,234,120,18,76,129,200,22,73,181,104,92,63,31,231,246,196,
-105,206,37,162,40,86,153,72,179,202,173,233,97,164,148,71,1,248,177,102,
-103,199,152,188,148,64,87,224,249,194,39,186,90,53,134,123,162,52,185,46,
-205,199,84,238,222,28,100,100,228,20,229,114,153,154,106,171,220,183,47,
-196,166,226,67,130,120,15,31,191,101,37,179,207,181,241,94,182,51,69,178,
-25,131,233,11,29,140,13,197,8,190,207,102,247,222,79,77,77,142,249,103,
-187,14,16,62,160,182,198,162,234,178,225,3,230,151,215,41,11,147,43,163,
-3,196,195,38,67,3,103,89,92,92,52,102,102,102,250,253,58,1,80,235,167,79,
-88,150,244,163,201,106,181,42,109,219,150,174,235,74,207,243,164,227,56,
-178,84,42,201,116,58,45,231,230,230,190,197,98,177,19,65,77,205,218,161,
-69,170,251,176,126,37,164,80,40,172,251,127,190,236,191,91,192,145,25,232,
-64,130,127,75,2,95,165,148,46,127,233,39,76,96,41,157,161,183,243,24,0,
-0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_85 = 663;
-static unsigned char xml_res_file_85[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,20,73,68,65,84,56,141,149,147,193,75,
-27,65,24,197,127,51,217,37,19,214,93,21,3,57,120,232,37,1,15,18,16,105,
-47,189,73,193,123,251,71,122,234,191,16,234,45,17,241,208,34,246,144,38,
-193,32,232,54,135,16,178,179,155,221,236,124,189,36,169,26,41,244,193,199,
-48,135,247,190,55,239,49,74,68,80,74,189,3,78,249,63,124,23,145,190,183,
-186,156,198,113,252,213,137,160,181,70,107,141,82,234,197,0,155,83,107,
-77,184,179,243,5,232,235,181,92,233,4,231,28,163,225,144,212,90,122,221,
-46,0,203,162,216,144,21,108,102,141,181,3,82,155,48,30,143,9,130,128,253,
-253,125,218,237,54,191,250,125,140,49,36,73,194,241,241,49,172,69,148,218,
-22,80,74,209,106,181,72,211,148,241,120,76,165,82,161,209,104,32,34,76,
-38,19,116,165,178,217,172,180,222,22,112,34,76,167,83,68,132,56,142,49,
-198,16,134,33,198,24,166,211,41,54,73,136,162,232,69,22,0,27,169,106,181,
-74,158,231,12,6,3,222,127,248,64,154,166,148,101,73,150,101,28,30,30,210,
-233,116,94,4,186,37,176,44,10,68,4,207,243,232,117,187,204,102,51,68,132,
-197,98,193,104,52,162,94,175,115,125,125,205,237,237,237,219,25,44,203,
-146,60,207,9,130,128,106,181,74,163,209,192,247,125,226,56,166,86,171,161,
-181,38,138,34,140,49,204,102,179,109,7,190,231,225,121,30,65,16,16,69,17,
-190,239,227,156,35,138,34,30,31,31,57,56,56,192,90,139,181,22,223,247,223,
-200,192,24,22,139,5,79,79,79,136,8,247,247,247,104,173,121,120,120,32,12,
-67,230,243,57,195,225,144,56,142,201,243,124,251,9,97,24,114,114,114,66,
-150,101,220,220,220,176,187,187,75,179,217,164,213,106,209,233,116,152,
-207,231,236,237,237,81,175,215,25,12,134,19,224,14,0,17,1,248,108,173,149,
-44,203,36,207,115,41,138,66,150,203,165,148,101,41,206,57,185,186,186,146,
-139,139,11,73,146,68,190,93,94,38,64,27,80,34,242,215,1,175,234,89,87,230,
-156,227,232,232,136,90,173,70,175,215,75,206,207,207,63,2,63,100,181,217,
-123,77,120,221,243,234,183,98,173,253,125,118,118,246,233,57,153,181,13,
-165,84,115,101,235,95,184,3,126,62,39,3,252,1,217,225,10,185,26,200,210,
-115,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_86 = 605;
-static unsigned char xml_res_file_86[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,
-0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,217,8,31,13,20,16,250,46,
-191,45,0,0,1,221,73,68,65,84,56,203,141,145,63,79,84,81,16,197,127,247,
-237,125,239,237,219,37,186,17,92,179,40,132,64,164,209,196,16,21,131,90,
-110,161,133,198,198,68,43,75,19,45,172,44,44,253,6,216,104,163,54,54,90,
-240,5,40,109,44,36,187,161,245,79,8,89,65,80,99,4,53,139,251,238,204,88,
-136,65,86,87,56,201,100,206,100,238,57,247,230,92,71,55,110,54,95,146,22,
-155,160,49,134,199,44,198,17,99,82,102,250,216,185,238,227,254,47,131,56,
-110,48,60,248,152,188,51,128,133,18,121,72,81,73,145,144,113,99,174,197,
-253,19,67,255,55,48,2,225,219,26,106,37,130,41,22,58,124,125,187,193,143,
-149,54,107,186,180,243,11,34,170,228,28,194,244,48,98,223,105,92,91,105,
-221,121,126,47,235,35,69,129,219,188,71,0,133,245,85,50,63,211,199,210,
-129,189,124,196,240,14,162,51,203,11,77,6,42,41,166,253,160,163,228,159,
-170,213,113,230,19,207,50,194,24,1,126,151,180,57,232,107,253,188,158,26,
-97,22,97,24,72,40,120,15,157,50,98,37,76,51,72,18,235,208,2,62,32,40,1,
-33,7,4,52,39,245,146,179,142,50,143,163,128,18,35,249,24,65,39,49,45,163,
-150,65,86,140,160,142,240,14,225,56,129,57,2,111,16,134,98,207,41,95,44,
-48,10,28,65,57,137,240,234,238,179,139,179,143,152,170,157,102,113,240,
-233,190,11,67,251,199,95,4,2,14,3,132,10,66,29,161,78,0,103,224,26,35,44,
-78,212,120,8,92,65,41,2,49,70,49,8,233,147,38,123,142,62,128,137,243,44,
-249,136,5,132,179,228,91,25,124,94,5,239,140,2,70,10,36,64,138,145,96,155,
-29,152,188,142,251,210,196,74,101,6,255,12,16,129,141,54,120,85,82,51,46,
-57,200,208,45,147,60,144,136,254,250,217,202,4,142,30,112,0,51,125,116,
-80,112,17,145,131,8,133,141,128,187,218,217,38,180,94,250,221,194,184,108,
-183,186,184,117,47,182,47,187,251,191,121,79,1,187,224,214,235,214,157,
-141,55,231,159,211,206,255,117,93,144,8,34,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_87 = 495;
-static unsigned char xml_res_file_87[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,2,97,0,0,2,97,1,193,48,85,250,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,1,108,73,68,65,84,56,141,237,149,187,74,67,
-65,16,134,191,49,231,22,65,16,91,81,136,196,78,59,181,81,78,225,91,137,
-224,11,164,242,1,212,87,80,193,70,193,86,124,128,99,169,193,104,17,47,73,
-32,156,53,57,27,118,44,114,33,17,132,24,99,231,15,195,108,245,241,239,63,
-195,174,168,42,127,161,153,63,161,254,131,135,229,245,15,34,50,21,96,127,
-25,68,85,185,190,190,140,11,133,226,190,239,251,139,191,129,58,215,121,
-43,151,31,74,113,188,123,225,137,72,174,82,41,151,230,231,23,182,124,223,
-71,164,155,142,136,140,212,24,94,201,178,140,32,136,150,69,228,202,3,188,
-32,136,138,65,16,210,108,54,57,59,63,229,233,169,194,210,210,50,235,107,
-235,108,108,108,142,237,56,138,242,132,161,41,0,33,64,248,250,90,173,91,
-107,213,90,171,157,78,71,143,79,142,212,57,167,147,168,94,175,41,48,55,
-50,188,159,95,255,123,13,214,109,90,192,47,224,233,66,7,224,92,110,102,
-170,208,1,24,80,128,44,203,72,238,18,222,107,239,36,119,9,213,151,234,4,
-72,29,128,157,49,230,94,85,113,206,97,210,148,120,39,198,164,41,54,179,
-63,66,58,231,104,183,219,143,128,243,0,123,115,115,123,176,189,45,123,249,
-252,236,202,234,106,113,36,147,70,163,54,182,85,99,90,207,73,146,28,2,70,
-84,21,233,6,28,50,244,118,76,40,7,124,168,170,202,255,15,210,151,7,32,34,
-57,186,25,231,129,168,215,251,53,219,235,126,207,136,3,218,128,1,62,134,
-170,5,164,189,158,125,2,195,50,200,239,96,19,35,169,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_88 = 742;
-static unsigned char xml_res_file_88[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,2,97,0,0,2,97,1,193,48,85,250,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,2,99,73,68,65,84,120,218,181,149,79,107,19,
-81,20,197,207,123,243,146,153,24,212,76,165,193,166,164,162,139,186,214,
-141,160,136,174,84,168,123,55,213,182,155,126,3,193,109,193,138,95,193,
-85,165,110,252,4,174,68,26,48,96,187,113,215,44,74,32,182,52,137,177,52,
-49,181,233,252,121,51,227,189,211,80,155,66,113,40,205,25,126,220,48,115,
-56,185,220,119,153,17,81,20,97,24,146,24,146,212,250,122,101,206,182,237,
-25,156,163,186,221,238,55,21,4,250,177,231,121,15,128,8,166,105,129,37,
-132,136,57,41,26,219,81,117,28,7,134,97,128,109,90,7,48,218,109,212,231,
-231,49,186,176,0,103,124,252,178,212,58,20,108,44,149,74,177,193,247,53,
-60,207,135,235,122,39,225,251,76,236,233,245,122,40,151,203,8,130,8,155,
-155,63,226,231,157,63,123,168,86,171,113,142,88,93,93,251,104,219,35,207,
-112,142,106,181,90,223,149,239,251,144,82,162,80,24,195,210,251,37,60,157,
-154,66,62,159,199,89,196,147,170,215,27,212,189,11,10,214,200,229,46,33,
-147,177,176,179,179,3,30,154,101,89,88,254,218,132,31,0,33,153,5,128,233,
-187,121,88,105,137,255,137,179,54,54,60,168,147,135,67,7,25,255,227,53,
-59,5,121,240,11,61,87,163,227,154,216,221,207,161,144,182,18,118,30,13,
-6,55,154,77,188,94,92,68,54,155,69,120,251,37,148,89,164,174,5,124,237,
-227,254,45,176,206,22,92,24,27,195,236,236,44,38,138,69,60,124,83,165,49,
-116,14,141,208,72,171,171,72,174,200,80,56,69,159,95,93,143,87,137,37,165,
-64,202,144,9,187,141,81,167,6,43,41,9,156,73,66,8,106,99,56,58,189,227,
-119,95,26,48,149,1,150,171,67,76,223,27,69,214,52,18,180,203,163,147,131,
-193,188,102,181,90,13,174,227,160,120,49,3,233,118,176,239,133,8,189,20,
-126,247,114,137,130,5,4,159,201,96,240,228,228,77,172,172,148,96,154,38,
-42,246,52,210,233,9,4,145,128,214,62,158,220,73,58,223,184,227,195,173,
-8,195,8,172,153,23,207,143,12,143,222,86,112,224,237,247,205,1,46,152,55,
-144,48,26,148,155,82,66,32,218,222,174,83,120,136,227,250,48,119,101,96,
-225,157,238,46,154,93,12,188,78,227,223,226,176,242,197,106,183,119,97,
-144,84,179,249,243,211,222,94,119,100,107,107,147,3,24,142,146,100,39,96,
-16,255,42,173,17,5,72,202,33,132,65,112,85,92,164,164,21,35,241,125,122,
-165,174,13,237,155,39,250,40,194,36,50,92,251,88,199,106,154,61,125,111,
-72,248,132,71,184,199,112,136,131,62,238,95,13,240,27,4,60,172,21,245,0,
-0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_89 = 893;
-static unsigned char xml_res_file_89[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,2,97,0,0,2,97,1,193,48,85,250,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,2,250,73,68,65,84,56,141,165,148,95,72,83,
-113,20,199,207,207,123,175,115,14,108,108,58,182,105,163,233,102,62,168,
-119,48,73,8,151,164,61,164,4,102,8,70,131,66,8,10,43,139,156,4,33,189,205,
-72,12,147,222,180,7,137,160,127,32,210,75,79,229,31,72,209,168,238,64,144,
-254,152,230,196,219,218,214,214,212,173,187,187,203,233,161,45,134,185,
-233,244,11,135,31,252,56,191,207,239,251,59,156,243,35,136,8,169,100,63,
-99,223,95,168,47,172,43,210,23,105,85,106,149,194,227,241,184,24,25,243,
-170,227,106,71,48,229,161,184,200,86,96,135,195,209,168,41,208,92,177,86,
-89,109,63,60,62,133,203,197,65,32,24,0,175,215,11,177,152,136,21,21,21,
-39,157,78,231,139,116,224,172,45,160,253,199,234,235,71,59,29,157,199,125,
-190,159,138,39,79,31,163,82,169,156,83,230,237,187,252,157,231,53,145,112,
-164,120,118,102,118,114,59,199,128,136,144,112,237,232,236,252,48,49,54,
-134,145,141,13,148,98,49,28,28,28,194,123,253,3,163,137,156,76,226,159,
-227,246,246,75,55,107,109,71,44,230,146,18,136,132,195,32,138,34,216,108,
-54,136,70,5,255,182,238,82,149,162,171,171,171,108,109,45,116,113,133,95,
-133,175,203,110,152,124,51,5,60,207,11,102,83,9,176,172,197,92,93,93,109,
-204,20,76,122,122,110,95,51,24,12,189,74,165,146,153,158,158,18,188,94,
-239,51,134,97,230,4,65,104,58,213,220,204,24,116,186,42,141,174,104,165,
-165,181,165,118,98,98,98,113,199,228,182,182,182,247,28,231,194,190,190,
-187,104,183,219,239,39,215,169,178,178,210,232,114,185,22,63,206,205,97,
-40,24,90,174,169,169,41,222,105,141,137,211,233,148,45,47,187,63,249,253,
-126,81,161,200,45,27,30,30,142,37,95,92,94,94,110,24,25,25,121,45,203,202,
-42,89,143,8,188,173,214,246,46,16,8,156,69,196,64,90,199,136,8,13,13,141,
-242,214,214,211,116,170,219,89,150,45,28,27,31,255,98,52,26,127,89,173,
-86,212,106,181,43,0,80,150,214,113,186,201,75,86,110,110,238,144,201,100,
-58,207,48,12,16,66,192,239,247,123,151,150,150,206,33,226,203,173,242,119,
-12,38,132,100,229,228,228,44,152,205,230,3,12,195,0,0,64,36,18,89,159,159,
-159,239,70,196,129,93,131,227,240,60,153,76,246,185,180,180,84,147,112,
-46,73,146,200,113,92,47,34,118,39,231,254,55,210,233,132,136,33,65,16,14,
-45,44,44,248,68,81,4,73,146,128,162,40,198,98,177,220,32,132,244,238,26,
-28,135,127,11,135,195,39,220,110,119,80,146,36,64,68,160,40,138,102,89,
-246,58,33,228,206,174,193,113,248,76,48,24,108,89,93,93,245,69,163,81,64,
-68,160,105,154,98,89,214,65,8,185,5,144,97,141,55,139,16,82,159,159,159,
-255,72,171,213,106,179,179,179,19,173,134,28,199,93,216,19,56,14,175,83,
-169,84,15,245,122,125,97,162,91,120,158,127,187,103,112,28,126,88,173,86,
-63,215,233,116,122,143,199,179,65,211,116,83,198,255,108,170,0,128,131,
-114,185,252,65,65,65,193,209,140,38,47,83,209,241,167,16,0,160,146,130,
-78,90,233,77,123,20,252,237,38,146,180,2,0,196,0,32,8,0,33,0,248,253,7,
-78,234,252,238,128,2,237,175,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_90 = 1535;
-static unsigned char xml_res_file_90[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,5,198,73,68,65,84,72,137,141,85,91,108,84,85,20,93,
-231,49,119,238,60,238,109,75,71,135,233,67,90,121,4,218,210,66,169,148,
-216,38,245,23,19,62,4,42,2,21,141,24,44,52,138,126,241,3,138,145,68,106,
-211,80,252,224,71,18,65,76,121,125,64,27,168,177,96,140,144,240,136,181,
-212,4,149,242,104,41,210,14,51,29,236,12,116,30,119,238,189,231,248,209,
-210,76,121,136,59,57,31,251,99,173,125,246,62,123,173,67,164,148,120,94,
-52,52,52,56,55,108,216,240,243,192,192,64,62,165,20,185,185,185,183,87,
-173,90,85,247,92,32,0,72,41,159,123,20,197,81,252,237,129,131,214,88,52,
-38,19,201,148,252,102,255,126,3,192,11,255,7,203,118,238,220,57,173,96,
-115,115,243,140,206,206,206,238,161,59,119,126,173,172,172,12,183,181,237,
-169,170,168,88,212,186,252,245,229,115,21,69,33,66,72,248,253,126,170,121,
-189,115,175,94,189,250,199,178,101,203,194,173,173,173,75,59,58,58,14,247,
-245,245,29,169,169,169,177,50,249,72,230,136,118,239,254,146,17,66,111,
-174,107,120,187,40,20,12,134,207,159,63,151,42,46,126,185,224,213,154,26,
-154,78,27,96,140,195,225,224,112,56,28,240,120,60,232,238,238,182,33,229,
-175,254,153,51,231,148,149,149,249,218,246,236,185,177,109,219,182,121,
-207,44,208,218,218,122,103,85,253,155,133,241,120,28,138,162,128,115,142,
-84,42,5,0,240,184,93,224,220,1,238,224,112,112,14,66,8,24,99,224,156,67,
-8,1,211,52,161,170,42,90,90,90,6,118,108,223,62,251,17,39,157,170,68,136,
-43,145,76,170,66,8,16,66,96,154,38,146,201,36,132,16,16,182,141,161,161,
-59,8,142,140,96,248,239,187,24,24,24,132,97,24,176,44,11,134,97,192,52,
-77,72,9,216,150,13,203,52,93,132,16,246,212,14,84,85,93,127,234,244,233,
-3,179,138,138,185,105,154,16,66,96,236,254,125,148,150,150,194,229,82,161,
-40,10,40,165,176,133,128,20,2,215,250,175,163,176,176,96,114,17,20,252,
-246,91,143,249,90,221,107,43,132,16,63,62,226,228,153,243,170,170,170,42,
-153,85,84,204,45,203,130,16,2,177,104,20,21,21,229,184,23,10,131,16,192,
-52,45,232,186,6,93,215,32,37,48,111,222,92,220,190,125,27,62,95,46,82,169,
-20,230,204,153,235,40,47,47,175,0,48,85,128,102,22,88,93,95,191,94,81,148,
-169,21,43,43,43,197,88,52,6,198,40,20,197,9,203,50,237,116,58,45,20,197,
-9,41,37,226,241,56,10,11,10,144,74,25,72,167,77,120,60,30,172,89,179,230,
-253,105,143,188,101,203,150,188,172,172,172,195,150,101,229,172,121,107,
-109,137,199,227,97,150,53,177,105,30,143,103,226,22,148,226,243,157,159,
-253,209,222,222,222,238,112,56,60,141,141,155,27,118,124,186,227,37,195,
-48,96,24,6,30,62,28,135,219,237,130,148,18,209,104,204,62,122,228,240,95,
-166,105,142,158,60,121,114,35,9,4,2,245,167,78,119,29,9,4,242,104,236,65,
-12,182,109,195,178,44,252,115,255,62,252,126,63,188,94,47,126,232,234,10,
-53,54,126,80,34,165,252,103,114,33,170,218,218,246,158,123,99,229,74,87,
-60,30,71,48,56,130,64,32,111,66,88,140,33,39,39,7,131,131,131,214,250,117,
-107,63,164,0,148,68,34,129,104,44,10,219,182,65,8,129,16,2,0,48,254,112,
-28,134,97,96,104,104,232,230,35,114,0,144,82,246,184,220,174,209,88,44,
-134,180,97,128,82,6,91,8,80,74,38,112,241,56,82,169,36,145,82,50,10,192,
-214,188,26,114,178,179,193,40,133,20,2,148,16,40,138,130,130,194,124,104,
-154,134,210,178,210,217,120,44,40,161,47,232,89,58,178,178,179,65,200,4,
-177,144,0,231,28,190,220,92,232,154,46,1,128,70,34,145,190,142,142,19,253,
-223,31,250,110,120,108,108,204,230,156,99,210,208,160,170,42,40,37,208,
-245,172,153,213,213,213,83,10,173,174,174,158,151,95,80,224,34,32,224,156,
-35,215,231,155,18,94,40,28,178,63,249,120,235,205,115,231,126,185,53,60,
-60,220,75,164,148,32,132,112,0,248,98,215,174,129,166,166,166,194,104,52,
-138,100,50,5,191,255,69,16,66,96,89,22,122,122,122,96,164,12,112,206,192,
-24,199,194,242,114,56,21,5,134,153,70,52,26,3,99,12,186,174,227,235,189,
-109,183,190,106,110,158,67,8,113,74,41,13,58,57,83,75,74,105,125,119,240,
-224,241,88,44,6,77,211,160,107,26,134,239,14,131,115,14,198,24,22,46,44,
-71,94,126,62,94,154,85,132,5,37,37,32,0,44,203,194,224,192,32,24,99,160,
-140,33,28,186,135,99,71,143,182,79,114,26,79,232,96,100,100,228,196,104,
-56,108,57,157,42,20,167,130,156,25,51,208,127,173,31,137,68,18,182,109,
-67,215,117,184,84,21,182,109,35,145,76,162,255,198,13,228,250,124,0,0,70,
-41,70,71,71,211,247,130,193,206,105,58,200,180,138,51,103,207,134,234,234,
-234,94,140,199,227,16,82,192,76,91,24,31,31,71,50,153,196,239,125,125,176,
-165,4,33,0,37,4,139,22,47,6,165,83,150,3,41,37,52,77,195,229,139,23,71,
-234,235,87,231,63,161,100,66,8,239,234,234,74,0,0,227,12,110,151,27,154,
-166,193,235,245,128,49,134,197,149,149,168,122,229,21,44,89,82,133,202,
-202,37,96,148,65,85,85,232,186,6,151,203,5,198,24,32,37,206,156,233,78,
-60,179,3,66,200,130,205,155,55,119,237,219,183,175,168,165,165,37,18,137,
-68,30,212,213,213,21,206,159,191,192,145,54,77,216,147,250,224,147,54,221,
-219,219,107,92,186,120,97,40,47,47,207,247,238,123,27,103,124,178,245,163,
-91,135,14,29,90,33,165,252,107,90,107,153,135,82,186,180,182,182,246,188,
-211,233,92,13,32,27,64,99,83,83,211,149,222,43,87,196,159,215,250,229,181,
-254,235,242,210,165,203,246,166,77,155,46,3,120,7,128,215,237,118,111,172,
-173,173,61,15,160,242,113,190,167,254,163,0,88,102,238,116,58,203,46,92,
-188,100,6,67,97,25,26,141,200,179,103,127,74,17,66,10,31,195,240,167,113,
-77,179,235,140,174,236,204,220,48,140,208,241,99,71,175,7,131,65,14,128,
-4,2,129,132,148,50,242,24,102,218,95,252,212,55,248,175,32,132,204,4,224,
-154,76,147,82,202,123,255,7,247,47,167,133,32,16,88,94,2,114,0,0,0,0,73,
-69,78,68,174,66,96,130};
-
-static size_t xml_res_size_91 = 1078;
-static unsigned char xml_res_file_91[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,2,97,0,0,2,97,1,193,48,85,250,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,3,179,73,68,65,84,120,218,181,213,219,107,
-28,101,24,199,241,239,188,51,217,115,178,217,77,154,144,77,91,188,8,132,
-74,133,66,76,36,189,208,130,104,172,164,145,96,196,27,173,138,68,111,10,
-30,90,20,73,16,171,94,85,204,31,80,108,233,93,61,37,134,54,106,42,244,78,
-108,82,12,30,138,6,67,169,23,73,154,234,38,187,137,155,61,100,119,102,94,
-223,151,157,236,178,166,210,171,60,240,227,29,134,121,62,12,15,243,48,134,
-148,146,221,40,139,255,41,67,85,23,88,5,48,184,75,5,64,206,129,45,85,221,
-27,174,162,230,41,232,233,246,249,62,105,236,236,108,12,238,219,103,133,
-218,219,69,93,60,110,150,82,41,39,183,188,236,166,110,220,72,127,191,184,
-248,146,122,246,186,178,157,123,194,26,125,19,30,122,164,181,117,234,240,
-228,100,172,190,169,9,213,88,142,235,150,79,199,97,51,149,106,49,134,134,
-190,118,87,87,251,85,207,236,127,113,61,227,29,104,111,83,124,234,225,139,
-159,198,66,249,60,110,161,128,171,32,141,185,94,28,125,10,129,29,109,96,
-118,120,56,61,179,190,209,63,6,30,94,11,107,84,40,180,183,171,49,122,249,
-200,249,243,177,144,173,154,21,204,54,106,219,85,220,245,112,203,194,14,
-135,153,61,117,50,53,183,145,25,80,248,53,229,185,0,194,67,13,141,222,31,
-9,77,29,30,27,139,249,178,57,74,233,52,34,30,71,250,124,184,217,77,200,
-101,209,145,155,25,130,29,29,24,182,141,179,182,134,188,115,135,67,35,35,
-241,131,13,145,203,218,208,86,5,62,2,230,94,193,133,222,209,209,70,191,
-237,80,82,13,86,107,11,209,163,71,137,13,14,130,194,197,166,194,51,25,66,
-93,15,18,235,63,70,203,115,207,35,92,23,55,153,68,254,245,55,135,78,156,
-136,105,67,91,21,56,3,134,99,210,16,48,4,118,58,133,163,222,44,210,211,
-131,97,154,136,80,136,166,227,47,224,6,2,4,186,187,137,246,245,1,224,107,
-111,39,220,217,137,153,205,34,83,107,248,0,109,104,171,230,171,40,9,132,
-163,222,202,4,44,199,33,117,246,44,77,175,188,138,213,214,134,80,115,108,
-126,237,117,12,191,159,237,218,248,106,2,251,202,52,166,227,160,99,8,129,
-54,240,170,114,97,27,8,61,75,169,112,212,105,174,38,73,125,116,134,210,
-210,18,64,13,154,158,24,167,56,253,13,254,68,130,200,129,3,132,246,239,
-167,176,188,164,140,170,103,65,21,94,24,255,156,230,64,152,120,36,12,245,
-245,136,112,132,205,153,107,196,134,158,169,160,178,88,36,127,125,6,161,
-102,155,155,249,129,194,194,2,25,219,97,77,128,109,222,29,54,138,43,183,
-41,186,80,4,50,6,52,188,51,82,131,2,24,62,31,173,39,223,226,102,223,163,
-136,249,121,12,192,175,99,148,141,29,163,40,25,8,19,208,177,128,216,232,
-187,36,78,127,88,1,87,62,62,67,254,231,159,0,48,247,236,161,227,202,85,
-56,248,0,0,117,128,233,25,53,112,61,200,173,34,197,92,24,12,0,83,16,244,
-154,0,110,127,112,154,194,200,219,220,122,242,49,10,191,254,82,110,140,
-70,49,213,108,203,123,0,235,97,208,134,182,0,240,54,207,24,134,190,55,130,
-20,38,227,200,223,44,228,124,208,146,27,227,95,200,149,247,223,147,55,125,
-200,63,253,229,252,158,104,150,185,185,31,229,173,193,1,185,80,135,252,
-67,229,170,234,209,189,218,240,182,185,118,165,95,134,199,3,33,46,29,11,
-82,119,223,63,32,133,192,148,46,2,48,188,72,96,75,8,44,215,5,9,75,81,152,
-200,81,202,231,24,56,7,223,121,43,93,129,43,248,113,232,139,132,185,244,
-116,8,107,239,186,7,26,250,172,150,212,209,104,12,190,204,98,231,178,60,
-117,1,166,183,81,106,225,42,254,34,60,17,210,120,61,102,34,99,232,123,58,
-85,88,74,146,205,126,46,38,243,206,150,66,207,193,183,21,116,39,188,19,
-183,252,124,214,216,22,245,71,226,113,252,225,48,194,180,112,29,155,173,
-108,150,213,197,213,98,62,153,121,182,22,173,133,119,229,215,180,107,63,
-211,127,1,127,143,219,220,231,242,161,125,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_92 = 593;
-static unsigned char xml_res_file_92[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,1,206,73,68,65,84,56,141,181,148,187,
-110,83,65,16,134,255,217,153,61,235,61,199,78,184,199,162,33,82,132,72,
-67,151,130,130,134,22,218,72,52,60,0,18,37,79,65,77,155,87,160,224,25,64,
-145,165,72,65,66,220,133,17,41,2,136,4,226,92,124,28,231,156,179,67,1,54,
-178,236,34,206,202,127,53,43,173,62,125,187,179,179,164,170,152,69,204,
-76,168,179,4,203,160,120,180,246,233,253,239,110,177,60,88,123,199,123,
-151,47,249,187,79,86,175,181,206,2,166,193,29,63,120,250,174,127,111,101,
-33,113,246,239,33,218,63,114,108,182,59,170,192,169,155,80,119,210,89,123,
-120,227,226,136,49,27,3,99,104,184,105,169,153,98,169,153,18,0,26,71,76,
-206,179,245,239,23,6,245,16,108,45,83,81,41,98,94,73,146,36,195,250,191,
-49,39,232,246,202,17,235,105,35,204,147,192,66,221,126,0,157,157,11,150,
-33,110,4,140,195,126,9,58,125,175,198,34,198,14,107,186,249,184,21,84,53,
-194,115,60,4,168,24,34,172,222,94,60,152,207,146,185,216,225,38,0,187,7,
-69,231,121,235,235,57,169,37,182,124,179,93,232,149,243,30,33,132,40,176,
-49,6,187,251,61,184,68,74,73,189,203,217,128,179,154,160,170,226,192,204,
-6,191,246,193,105,205,229,210,240,110,143,128,133,212,1,101,57,197,152,
-77,136,21,128,40,72,221,187,29,105,100,110,155,128,171,222,6,20,84,69,25,
-91,1,12,129,231,178,218,55,105,120,254,210,59,46,110,57,46,192,136,187,
-10,225,0,131,192,89,106,219,226,233,248,227,137,49,198,39,64,25,39,12,102,
-192,144,154,204,134,183,66,253,157,77,225,38,170,170,140,110,30,193,64,
-132,224,40,223,144,173,141,151,47,22,239,220,15,222,207,51,197,204,51,0,
-85,69,195,159,132,159,175,95,173,147,170,130,136,150,211,122,253,58,0,232,
-20,223,228,184,49,66,126,116,244,65,85,63,15,192,22,64,35,74,247,159,52,
-128,67,85,45,255,0,245,68,157,27,107,34,150,91,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_93 = 1331;
-static unsigned char xml_res_file_93[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,25,116,69,88,116,83,111,102,116,119,97,114,101,0,
-65,100,111,98,101,32,73,109,97,103,101,82,101,97,100,121,113,201,101,60,
-0,0,4,213,73,68,65,84,120,218,156,149,123,136,84,85,28,199,191,231,220,
-199,204,220,187,51,187,206,236,186,227,163,196,213,213,214,71,133,184,40,
-18,17,104,26,4,134,44,6,97,96,69,65,255,68,253,99,127,244,71,127,4,97,105,
-16,229,31,173,5,18,84,40,17,84,148,81,127,36,82,102,62,183,86,93,53,221,
-5,221,109,219,29,103,231,177,59,119,230,190,206,61,167,223,204,148,70,70,
-212,158,203,185,15,206,225,115,126,191,239,239,113,153,82,10,179,25,79,
-108,88,240,91,169,42,114,19,99,83,27,90,83,204,13,250,52,20,70,4,58,238,
-73,97,166,18,128,99,150,227,238,238,76,234,221,131,239,223,187,40,107,159,
-244,67,153,214,160,160,211,52,32,104,70,179,7,199,221,66,212,153,225,216,
-247,246,139,171,123,238,76,14,212,32,239,104,44,112,214,120,176,186,20,
-223,237,125,40,178,88,21,186,38,27,211,208,37,184,30,65,99,17,88,125,159,
-146,12,50,132,10,5,68,160,224,185,82,13,143,170,112,243,35,15,197,116,157,
-99,42,87,192,222,193,175,11,95,92,45,223,183,116,169,117,185,204,35,77,
-175,211,21,147,124,237,138,133,136,152,7,45,46,0,195,7,52,143,166,70,71,
-155,180,129,226,32,170,128,59,13,212,232,89,13,88,91,231,146,88,229,250,
-89,184,213,0,166,174,225,89,99,65,38,48,188,83,231,199,196,198,83,31,251,
-167,245,217,74,145,14,47,162,92,8,33,102,34,20,203,178,161,233,227,58,75,
-126,233,176,31,232,213,108,128,203,215,126,65,62,117,23,196,212,0,12,178,
-182,173,141,36,177,19,64,203,92,18,51,77,150,91,100,53,205,80,2,62,121,
-227,150,145,32,235,67,87,193,173,1,1,57,145,43,2,137,128,96,158,105,212,
-153,13,112,80,46,32,156,41,34,184,49,5,189,213,132,27,198,96,73,29,26,39,
-152,57,135,164,105,165,160,80,204,121,64,170,100,32,188,4,100,44,133,84,
-226,87,4,21,137,18,197,129,211,121,7,74,92,13,173,208,222,217,253,39,88,
-82,138,48,174,96,211,87,42,99,227,208,183,149,27,115,147,1,137,93,0,195,
-160,118,187,16,220,50,90,147,137,141,235,151,232,25,57,130,48,146,248,160,
-100,202,129,29,226,153,145,167,221,65,124,244,7,152,107,12,122,29,154,4,
-98,109,109,184,94,46,157,219,249,121,248,224,191,105,124,124,87,218,193,
-194,117,58,175,213,112,32,231,74,255,173,174,254,177,225,1,209,254,92,234,
-41,90,62,219,4,115,8,131,224,166,101,146,217,89,230,183,143,79,62,118,121,
-251,184,119,218,105,95,182,56,25,123,245,200,103,104,68,71,8,4,148,110,
-214,202,149,164,78,154,161,165,27,123,206,28,142,98,111,110,27,204,213,
-70,87,233,161,92,171,207,209,218,110,106,44,37,28,141,107,146,197,44,47,
-136,205,231,209,11,225,246,173,203,183,197,142,140,125,21,178,165,25,108,
-140,45,131,73,49,209,41,173,108,238,160,255,40,131,40,134,234,228,161,126,
-247,88,171,182,119,185,97,237,10,170,53,168,136,96,90,147,217,184,249,2,
-227,6,183,28,135,130,245,90,98,186,55,92,177,129,79,179,9,228,252,73,245,
-94,246,67,32,251,55,29,122,128,118,202,153,250,235,149,221,93,123,186,203,
-211,137,74,165,130,136,82,95,5,205,45,13,112,190,44,143,230,165,217,245,
-18,247,54,207,201,246,240,161,201,99,104,73,60,0,191,226,232,189,111,244,
-20,24,103,58,99,236,38,183,209,182,164,138,20,229,72,138,153,165,144,154,
-78,169,84,134,24,162,53,231,47,96,217,106,107,79,94,58,187,101,225,150,
-109,252,147,11,7,48,183,179,19,121,59,143,190,251,31,229,186,109,166,173,
-132,5,139,89,84,226,58,34,37,225,41,15,21,34,248,158,11,49,233,165,71,252,
-171,200,231,139,80,37,130,85,113,171,87,108,122,190,87,206,91,211,203,174,
-92,59,1,153,165,34,232,84,224,41,58,181,131,35,214,162,131,199,200,70,147,
-44,166,62,18,210,229,147,207,174,235,161,86,113,81,173,248,152,25,171,193,
-31,141,16,29,7,58,140,20,114,7,167,89,195,226,218,112,33,156,152,55,106,
-102,236,44,188,162,139,128,132,10,66,31,94,16,192,183,169,241,216,1,68,
-194,71,20,39,44,21,137,84,130,10,144,50,196,167,245,90,4,65,182,112,65,
-5,68,7,107,205,194,107,74,177,137,185,171,62,61,116,236,167,100,223,122,
-59,97,82,94,229,101,195,165,76,182,29,249,27,19,82,217,180,49,78,89,65,
-29,192,224,38,21,84,4,83,16,176,14,119,4,194,105,9,41,20,124,51,68,60,140,
-223,146,162,30,152,237,107,48,63,167,181,158,55,183,174,77,71,38,89,228,
-250,40,59,83,209,204,5,167,68,229,199,254,185,76,84,51,146,10,205,255,16,
-221,234,91,199,190,153,232,184,9,174,143,151,31,54,210,251,47,155,231,122,
-118,244,46,224,212,34,46,14,156,243,141,164,17,183,123,13,48,173,233,159,
-162,210,111,92,228,127,20,208,172,81,67,112,200,98,71,33,162,46,151,9,218,
-49,180,127,184,249,7,121,125,235,34,244,173,211,241,202,225,176,24,55,253,
-238,31,251,79,92,193,140,130,22,154,76,22,24,170,223,71,245,196,255,95,
-227,182,126,124,253,146,112,245,44,95,125,106,223,153,159,187,86,47,158,
-135,102,151,2,27,103,8,118,150,254,51,248,119,1,6,0,54,69,72,250,51,250,
-54,92,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_94 = 1036;
-static unsigned char xml_res_file_94[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,3,137,73,68,65,84,56,141,165,149,93,
-76,91,101,24,199,127,207,233,57,101,253,64,10,5,106,72,145,22,8,42,89,2,
-153,89,52,6,241,99,203,50,209,77,5,226,52,153,145,59,35,222,120,199,46,
-37,94,238,118,49,209,164,222,120,227,133,49,26,73,122,177,101,24,220,165,
-100,150,196,37,48,176,22,237,198,74,57,208,181,208,67,63,120,189,160,45,
-45,80,18,245,159,252,243,158,115,114,222,223,243,62,207,251,188,121,69,
-41,69,61,137,72,47,48,80,247,135,250,138,160,148,170,241,135,31,188,245,
-217,173,111,187,167,75,1,199,212,127,16,48,166,31,14,117,225,249,232,233,
-231,158,121,240,42,200,180,195,225,48,110,223,190,73,42,249,43,30,87,2,
-155,236,146,202,118,144,182,58,112,185,189,12,12,12,224,109,109,69,170,
-230,187,221,238,253,108,129,74,186,129,64,192,255,195,23,27,147,3,79,167,
-251,190,249,41,248,27,228,188,163,23,178,157,174,6,179,38,184,82,194,238,
-94,7,201,116,31,119,163,231,8,244,93,166,167,167,7,0,167,211,137,136,140,
-11,48,102,154,230,119,0,183,110,206,48,126,246,99,68,109,255,139,114,10,
-166,245,34,119,126,63,199,75,231,63,165,185,185,25,17,25,215,1,246,148,
-226,239,120,28,135,250,249,68,168,153,105,101,49,250,4,9,179,129,248,35,
-27,104,77,248,90,210,248,125,113,206,60,245,37,119,127,121,200,107,151,
-191,2,64,47,229,134,185,177,193,233,224,189,99,129,107,102,43,161,31,207,
-16,89,108,2,160,189,189,29,17,97,98,98,130,96,48,136,97,24,24,134,193,147,
-186,86,153,83,217,188,232,31,247,120,249,149,133,35,208,244,206,41,62,255,
-250,34,143,211,96,179,21,24,30,30,102,116,116,148,185,185,57,6,7,7,235,
-102,87,1,251,220,243,104,236,28,249,161,209,105,241,209,219,119,8,205,92,
-228,221,43,87,233,234,234,194,110,183,239,87,87,14,250,65,68,168,62,19,
-58,64,42,149,194,202,166,88,89,63,143,2,178,59,59,20,10,5,246,246,246,40,
-22,139,88,150,197,179,129,24,139,139,139,116,119,119,215,192,202,82,74,
-213,188,235,0,77,30,15,157,253,83,108,138,144,201,100,216,205,237,82,44,
-22,17,17,116,67,199,238,178,243,66,119,19,109,109,109,104,154,86,129,138,
-8,249,124,158,237,237,109,138,197,34,54,155,13,143,199,115,0,22,192,235,
-245,98,211,52,124,62,31,154,166,85,92,6,84,175,166,44,203,178,88,93,253,
-139,228,198,6,78,167,3,195,208,89,89,89,89,0,98,149,26,107,34,53,192,106,
-176,166,105,40,165,40,20,10,232,122,185,145,20,91,91,91,44,221,191,207,
-27,35,175,19,139,197,112,185,92,230,208,208,208,117,32,82,1,203,161,21,
-86,195,19,137,4,201,100,146,92,46,135,221,110,167,191,191,31,128,205,205,
-77,12,195,32,153,92,167,177,209,93,156,154,186,22,90,90,90,154,81,74,229,
-15,192,85,41,87,59,30,143,19,139,197,16,77,163,165,185,5,209,132,229,229,
-101,58,59,59,209,117,131,96,32,0,136,57,53,117,45,20,10,133,110,40,165,
-182,106,218,77,142,9,144,205,102,89,91,91,35,245,56,205,251,239,93,33,26,
-253,19,77,19,34,145,8,35,35,35,24,134,193,252,252,252,194,165,75,111,94,
-47,173,116,171,166,43,142,235,201,242,230,100,179,22,30,143,135,68,226,
-17,34,170,56,57,249,201,76,56,28,254,30,40,159,253,24,16,81,74,229,171,
-55,182,2,174,110,238,242,115,185,198,126,191,159,76,102,219,156,158,158,
-14,133,195,225,27,74,169,213,35,45,114,140,222,89,95,95,207,153,166,169,
-234,121,118,118,54,210,219,219,123,21,240,28,190,24,234,89,0,63,112,22,
-208,78,8,126,108,186,39,73,78,186,243,254,143,246,79,158,136,13,104,0,28,
-192,169,146,29,85,118,150,70,27,144,3,44,96,7,200,150,108,149,198,242,183,
-252,63,181,31,212,79,121,5,161,161,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_95 = 1233;
-static unsigned char xml_res_file_95[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,4,78,73,68,65,84,120,218,181,148,109,
-108,20,69,24,199,127,123,175,165,210,42,13,168,244,141,150,74,91,4,108,
-10,169,173,98,173,64,76,75,130,47,136,145,15,90,147,42,216,138,90,172,150,
-98,241,5,37,17,33,32,47,145,212,64,66,80,163,9,49,65,72,32,154,22,12,85,
-177,70,80,208,4,132,164,45,13,180,92,75,75,122,215,30,119,219,187,217,187,
-117,231,54,217,222,89,249,224,7,255,151,231,102,54,51,243,155,255,62,179,
-207,56,116,93,231,255,144,3,96,105,101,85,79,32,16,200,177,217,109,172,
-125,115,61,78,163,37,126,67,155,2,40,40,74,236,31,32,214,55,91,133,144,
-208,216,185,109,11,209,72,148,188,188,188,190,3,159,127,150,21,3,7,213,
-96,78,67,67,3,93,221,221,148,60,88,206,237,201,73,152,88,36,198,2,89,112,
-19,104,132,217,142,4,84,186,46,94,32,18,137,208,218,214,154,105,57,142,
-70,163,236,216,185,131,130,252,2,132,166,25,6,21,11,108,193,77,32,81,161,
-226,89,215,72,104,232,6,25,205,205,164,20,207,71,104,81,58,59,59,37,216,
-96,233,88,96,153,103,205,0,202,13,36,212,233,180,209,122,166,139,9,210,
-117,114,125,107,209,179,221,76,234,232,225,104,69,5,15,31,62,130,99,126,
-169,92,27,11,93,143,146,224,184,176,160,48,182,129,98,51,192,118,133,101,
-101,179,254,201,228,98,123,35,121,105,30,158,58,33,40,11,10,30,18,130,31,
-87,175,166,226,244,31,210,173,12,153,231,68,199,18,46,243,21,49,6,212,176,
-198,247,103,123,136,87,176,231,43,158,206,111,227,217,77,26,191,95,24,38,
-60,211,128,63,158,138,237,242,92,68,36,42,161,166,107,93,79,112,44,7,76,
-176,209,87,67,26,11,231,100,89,208,254,206,239,140,252,127,195,186,22,248,
-229,207,32,211,82,3,108,171,133,208,109,143,48,88,90,67,36,14,172,71,111,
-225,88,139,232,140,133,5,103,59,7,144,18,190,11,84,165,109,99,207,97,193,
-177,83,134,163,208,16,45,111,57,240,43,185,28,57,95,206,19,85,185,242,192,
-36,216,228,232,241,96,249,10,198,0,96,57,158,157,61,149,49,127,31,51,28,
-251,105,63,237,229,211,195,58,35,222,235,28,216,224,38,117,74,26,135,46,
-61,201,253,197,247,113,103,122,86,44,21,81,19,156,232,88,230,69,2,165,132,
-136,32,187,145,240,40,51,130,187,232,236,234,162,121,175,157,17,223,16,
-91,234,108,228,102,186,216,215,177,132,187,115,166,51,235,222,162,216,121,
-232,128,38,141,153,172,120,199,102,42,164,54,53,174,65,33,202,198,213,73,
-92,243,255,196,170,45,147,241,250,130,172,170,242,82,62,207,69,221,206,
-20,6,70,126,38,111,230,0,191,158,108,37,65,38,43,222,177,149,138,152,214,
-44,15,144,115,207,66,86,212,94,226,166,170,178,100,222,0,117,203,93,212,
-127,50,153,110,143,141,194,252,76,20,48,215,36,202,50,56,193,241,34,3,82,
-177,184,154,149,181,251,184,226,17,204,154,214,203,230,90,7,239,29,72,162,
-227,60,6,52,27,167,211,105,206,159,168,137,5,34,43,47,59,173,159,250,151,
-159,161,110,253,126,254,234,17,76,75,190,78,75,163,141,47,79,222,193,233,
-203,83,105,222,240,2,149,149,149,150,179,218,151,106,241,251,71,205,181,
-153,89,72,69,226,11,68,126,42,83,146,6,217,243,110,49,77,31,124,193,15,
-103,117,82,92,163,236,109,12,115,252,140,131,93,95,195,210,165,37,148,148,
-148,48,60,60,108,93,1,25,233,233,12,14,58,240,121,189,8,33,48,89,218,56,
-216,174,232,188,243,162,155,237,45,199,56,122,42,141,100,151,198,238,87,
-124,244,14,57,121,245,99,149,178,7,22,80,93,93,45,23,203,144,208,88,68,
-36,76,215,145,63,77,8,236,118,187,52,57,14,94,188,112,14,238,188,215,248,
-246,220,58,28,118,31,27,159,235,39,57,217,205,178,166,0,73,147,38,83,95,
-95,143,170,170,9,80,25,33,33,172,27,77,222,138,233,25,25,92,237,235,29,
-7,63,186,168,20,161,246,241,81,83,57,237,199,15,82,190,96,10,43,222,78,
-54,38,78,199,237,118,199,42,114,116,212,204,101,124,168,99,42,161,208,152,
-249,44,4,126,99,142,229,120,211,27,43,83,231,22,205,213,71,7,207,41,234,
-240,121,114,102,20,113,226,218,34,234,94,207,34,44,194,242,144,254,21,42,
-221,7,111,6,24,83,199,16,225,48,194,229,194,227,241,140,131,53,28,31,190,
-191,253,160,82,243,88,70,255,161,182,171,119,93,241,248,109,207,215,204,
-199,229,82,173,250,55,224,86,196,235,154,1,10,135,67,0,50,85,38,208,233,
-8,196,218,17,239,141,190,210,217,41,37,13,155,219,126,107,216,204,127,210,
-214,173,91,185,149,254,6,87,106,169,175,154,44,16,48,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_96 = 576;
-static unsigned char xml_res_file_96[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,4,0,0,
-0,110,189,164,176,0,0,0,2,115,66,73,84,8,8,85,236,70,4,0,0,0,9,112,72,89,
-115,0,0,13,215,0,0,13,215,1,66,40,155,120,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,1,191,73,68,65,84,120,218,149,210,79,72,211,
-113,24,199,241,247,252,179,116,4,17,152,7,97,104,177,75,19,67,28,67,22,
-206,82,232,156,122,242,32,65,183,121,17,234,80,116,9,60,168,29,205,203,
-32,13,103,29,5,35,17,15,218,98,13,249,97,37,134,102,5,91,172,127,80,202,
-28,206,177,45,55,228,247,40,191,159,108,115,127,24,242,28,190,223,231,243,
-188,14,207,23,190,72,166,176,216,59,49,72,110,98,176,221,192,146,237,115,
-71,125,239,222,208,124,10,55,31,39,189,197,177,51,178,237,26,198,148,233,
-77,174,225,200,54,29,197,241,21,197,31,13,211,157,233,187,163,97,197,207,
-229,226,184,198,241,240,80,157,156,161,65,235,26,166,94,28,170,142,7,156,
-203,195,217,173,3,193,255,73,99,63,21,84,24,251,15,18,129,32,61,66,41,108,
-29,247,164,69,241,209,74,171,226,75,203,184,7,107,105,92,109,30,220,75,
-167,82,45,67,45,67,169,212,94,218,60,72,117,73,44,224,244,175,38,229,91,
-104,46,148,20,255,42,78,161,52,134,186,129,145,125,57,80,39,212,45,25,24,
-161,46,31,231,243,222,181,159,113,249,35,247,119,232,19,202,97,235,179,
-245,127,178,47,99,63,112,148,197,38,251,102,248,171,236,200,239,248,121,
-107,25,140,97,233,117,66,60,106,68,18,178,252,138,170,162,152,42,186,184,
-206,77,166,155,66,95,98,47,23,102,125,159,98,87,127,225,198,169,165,149,
-57,152,118,182,248,142,158,108,96,210,178,11,4,79,146,0,159,105,59,193,
-88,88,228,162,128,23,33,154,253,191,92,35,137,48,47,80,143,151,70,29,143,
-98,215,134,143,80,185,125,106,199,59,8,247,180,219,45,30,235,248,35,181,
-90,240,150,177,130,247,187,89,212,206,122,20,29,255,229,9,54,158,227,165,
-178,0,27,121,143,27,27,79,9,233,216,69,132,24,43,92,18,10,11,51,31,136,
-179,203,93,1,57,67,29,1,115,92,190,159,166,4,26,40,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_97 = 644;
-static unsigned char xml_res_file_97[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,2,1,73,68,65,84,120,218,181,148,207,
-74,35,65,16,198,171,123,2,49,190,64,96,247,234,217,163,235,213,101,97,79,
-134,136,62,132,224,217,199,18,79,123,80,124,4,23,150,133,28,22,77,54,129,
-69,8,26,38,58,51,102,200,252,105,171,154,218,212,48,149,145,176,176,5,197,
-215,147,174,250,117,127,53,73,140,115,14,140,49,59,0,176,11,255,22,223,
-145,49,129,90,180,88,119,195,249,252,34,207,114,48,214,128,53,6,192,160,
-90,11,184,242,107,47,172,127,63,11,130,0,182,59,157,99,124,106,4,3,65,243,
-34,7,235,44,140,38,19,24,12,6,4,98,72,85,37,240,96,146,125,67,133,18,63,
-208,193,112,5,182,129,37,40,21,123,104,191,223,135,77,28,188,68,209,121,
-205,193,9,62,9,216,112,35,37,129,170,14,74,222,227,247,177,114,226,42,10,
-188,167,70,193,141,30,106,8,46,14,168,97,165,146,122,60,129,181,10,76,133,
-12,101,128,56,208,123,2,246,90,97,172,7,27,25,133,114,192,42,135,16,132,
-84,250,27,70,193,133,172,2,144,195,214,142,164,26,26,44,27,2,172,67,197,
-137,0,54,26,133,181,242,102,197,65,19,148,116,67,48,43,223,82,57,96,104,
-35,152,67,129,165,80,59,144,20,216,198,96,221,160,29,52,66,203,178,164,
-111,16,119,105,176,20,107,7,107,111,77,176,229,114,9,73,146,64,28,199,48,
-125,124,250,131,91,15,180,111,21,180,193,129,132,64,211,52,133,241,120,
-12,37,174,31,166,211,215,47,159,15,206,112,251,182,10,118,88,92,212,94,
-208,187,51,44,138,2,102,179,25,116,187,93,248,117,119,151,246,15,15,79,
-163,40,186,198,3,51,223,199,127,44,31,113,189,87,113,190,191,88,44,206,
-155,126,16,164,184,15,247,195,17,132,207,243,248,168,215,59,13,195,240,
-18,89,175,192,65,150,84,98,28,161,205,28,231,231,178,44,115,121,158,59,
-188,161,79,124,81,62,163,56,113,223,174,110,238,219,237,246,87,172,111,
-215,25,198,131,244,12,63,160,124,226,81,53,5,53,254,198,252,137,140,66,
-49,8,252,63,162,197,55,12,200,14,102,7,115,139,146,215,219,162,148,222,
-65,134,73,179,92,176,166,180,102,77,88,179,55,20,69,247,33,113,137,79,149,
-0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_98 = 816;
-static unsigned char xml_res_file_98[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,2,97,0,0,2,97,1,193,48,85,250,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,2,173,73,68,65,84,56,141,141,149,79,72,20,
-81,28,199,191,191,55,179,238,174,67,216,186,160,38,17,212,69,33,111,134,
-29,59,120,9,58,133,66,66,8,81,94,186,69,122,244,16,17,68,42,221,87,173,
-107,11,221,186,104,151,32,162,176,132,46,233,193,204,218,44,89,47,230,223,
-217,205,153,121,191,95,23,223,48,235,206,180,254,96,152,199,143,223,251,
-204,119,190,239,247,222,35,17,65,92,172,172,172,156,207,102,179,223,153,
-25,204,12,173,53,152,25,0,46,116,117,117,253,136,157,20,9,74,2,15,13,13,
-205,59,142,115,133,136,50,38,39,34,127,93,215,125,91,44,22,175,158,24,60,
-54,54,118,223,113,156,145,84,42,229,0,192,192,192,192,185,164,73,133,66,
-225,183,109,219,12,0,190,239,87,43,149,202,244,204,204,204,211,104,141,
-109,6,237,237,237,15,59,59,59,29,165,20,148,82,200,229,114,137,106,186,
-187,187,207,118,116,116,64,41,5,34,66,169,84,122,4,32,30,188,179,179,227,
-184,174,11,227,233,194,194,2,182,183,183,193,204,16,145,240,45,34,104,110,
-110,70,58,157,14,107,149,82,89,34,162,136,101,18,130,125,223,135,82,42,
-44,182,109,27,195,195,195,32,34,24,187,12,216,60,38,199,204,24,29,29,125,
-65,68,240,125,223,34,162,123,33,88,107,141,32,8,66,176,231,121,232,239,
-239,71,165,82,1,17,193,8,50,227,136,64,19,55,136,8,182,109,3,192,131,16,
-28,4,1,44,203,66,180,189,0,128,69,64,0,212,17,52,242,187,117,240,104,135,
-37,130,131,32,0,0,168,136,66,34,130,82,170,6,22,163,188,30,108,219,118,
-157,98,34,2,41,21,126,32,14,22,3,167,16,28,221,93,53,224,4,104,35,120,67,
-143,255,7,77,178,225,196,86,132,150,196,0,19,224,82,3,142,182,155,89,188,
-36,80,52,119,116,56,1,0,44,203,170,85,172,181,142,245,56,10,60,14,53,2,
-60,207,11,133,156,106,105,169,183,34,78,113,210,34,49,51,14,14,14,176,254,
-107,29,91,91,91,72,165,154,144,207,231,177,239,186,155,0,202,39,82,124,
-124,167,137,8,14,15,15,241,101,105,9,151,122,123,209,115,177,7,34,130,210,
-207,18,79,60,121,124,75,68,254,52,108,183,56,181,90,107,84,171,85,4,129,
-143,116,58,13,17,193,218,218,55,158,156,154,184,62,93,152,125,93,103,69,
-220,206,139,11,102,198,222,254,62,114,167,115,96,102,172,174,126,197,228,
-212,228,205,103,179,207,95,153,154,232,177,233,101,50,153,38,115,60,54,
-2,251,158,143,182,182,54,44,47,47,225,206,200,136,191,248,105,177,24,173,
-9,193,229,114,249,182,214,250,178,241,80,68,44,102,190,107,89,86,104,174,
-177,194,78,53,161,165,53,143,205,141,117,127,112,112,240,229,238,238,222,
-92,157,109,73,119,30,0,140,143,143,95,203,102,179,173,125,125,125,27,209,
-188,102,198,187,247,31,206,124,94,252,248,102,110,110,190,28,55,247,31,
-29,22,232,186,57,45,40,146,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_99 = 1220;
-static unsigned char xml_res_file_99[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,4,65,73,68,65,84,120,218,181,145,73,
-104,93,85,24,128,191,115,239,121,247,141,153,19,51,117,176,218,150,14,14,
-109,109,181,136,165,72,21,45,130,66,91,196,25,92,22,20,23,186,82,23,46,
-196,133,139,162,160,224,198,133,139,138,171,46,212,86,112,44,104,149,170,
-173,109,66,139,166,67,146,182,175,201,203,244,242,94,222,112,199,243,123,
-147,78,193,84,169,130,31,124,112,185,220,255,59,63,231,42,17,225,187,119,
-149,117,255,75,98,152,71,252,174,21,216,6,172,191,236,58,46,113,100,158,
-7,227,185,50,215,65,125,251,14,175,0,175,3,71,129,167,226,15,71,227,232,
-19,202,82,239,183,45,74,183,54,182,104,154,90,150,144,202,46,5,101,225,
-187,35,84,166,46,82,28,155,98,252,162,55,38,70,118,199,51,251,174,23,174,
-110,124,228,133,76,254,212,71,140,12,204,252,14,156,104,104,75,237,92,113,
-103,47,78,110,11,118,174,19,43,37,32,37,230,80,77,68,245,0,83,157,194,159,
-62,200,192,241,60,149,82,248,9,240,98,124,192,196,252,176,108,122,96,51,
-74,247,50,62,250,53,34,138,206,238,251,176,26,111,65,41,143,127,66,140,
-67,52,117,156,194,240,97,206,157,246,206,11,108,184,18,215,0,132,30,42,
-211,65,91,251,118,148,157,129,84,10,227,249,32,243,34,216,40,37,32,134,
-107,248,168,236,26,58,150,180,19,6,159,47,206,15,251,31,0,187,174,134,35,
-137,226,80,4,186,17,81,92,122,86,96,124,151,234,224,73,130,241,17,130,201,
-2,150,109,147,104,233,34,213,179,130,244,162,101,128,97,14,187,141,174,
-197,107,152,40,244,239,140,255,207,211,241,214,123,231,174,98,195,150,181,
-24,125,55,88,10,212,172,224,207,140,82,30,58,28,199,235,228,154,67,156,
-180,193,66,240,75,134,234,57,67,162,113,41,13,107,238,197,74,36,0,16,12,
-245,153,253,252,209,87,156,6,86,104,0,35,17,81,24,130,173,98,33,114,139,
-148,10,135,208,217,136,108,143,97,104,192,224,87,67,87,132,248,0,59,181,
-232,54,27,134,206,73,185,223,87,13,171,183,130,18,0,28,181,154,84,238,112,
-179,91,137,182,89,0,196,209,48,112,137,34,23,99,60,60,63,143,149,35,14,
-27,170,85,133,87,9,38,68,100,21,72,147,95,15,159,57,123,50,40,178,196,82,
-97,117,196,175,13,247,135,81,189,46,177,152,32,67,42,3,192,70,11,32,116,
-11,212,10,253,248,51,23,137,194,26,78,99,47,185,158,141,88,93,93,100,154,
-133,142,94,167,29,248,48,190,59,63,118,47,176,251,194,160,160,187,85,232,
-141,157,25,136,106,213,243,177,197,176,18,77,229,178,26,224,46,13,156,46,
-214,130,229,77,185,65,144,33,164,172,80,78,22,101,67,210,50,160,225,166,
-30,24,207,115,7,215,216,231,123,198,143,180,74,75,232,158,13,43,197,6,101,
-235,154,136,105,77,100,157,123,192,219,160,203,85,30,175,245,185,111,217,
-54,235,180,77,163,109,145,129,58,74,129,8,87,40,3,111,112,13,53,107,24,
-41,20,146,247,39,207,212,148,178,178,145,9,235,210,235,1,24,253,216,171,
-242,27,176,157,203,20,190,176,85,88,65,217,185,148,61,18,36,194,245,143,
-78,11,11,121,78,107,149,8,234,86,62,137,233,55,110,41,13,100,125,165,58,
-124,215,6,56,170,249,11,157,219,35,57,181,71,43,113,140,213,188,82,39,1,
-151,203,28,120,91,101,181,205,142,216,61,153,156,69,88,209,31,39,181,76,
-16,70,105,160,98,50,186,193,173,27,128,95,23,132,47,69,19,74,18,90,162,
-73,203,12,255,208,102,77,23,35,115,236,167,210,195,113,112,151,214,52,55,
-54,217,199,102,202,78,127,183,99,127,38,66,74,65,42,142,39,67,71,45,11,
-253,8,224,200,130,176,36,18,179,26,113,180,89,254,228,152,12,236,91,170,
-90,91,74,118,213,87,233,164,195,161,164,109,25,223,75,157,189,185,39,59,
-34,97,144,1,85,71,112,38,196,218,26,68,18,85,42,252,108,219,124,185,32,
-140,227,196,97,155,85,207,79,9,192,202,29,195,114,226,211,91,13,58,248,
-166,234,69,77,155,55,247,142,205,110,39,65,152,65,17,33,164,202,181,144,
-162,165,219,139,249,250,126,17,246,62,251,166,148,148,136,112,35,244,127,
-181,214,2,148,50,70,17,132,90,5,65,82,121,129,227,85,220,244,120,157,197,
-227,197,82,211,232,88,148,127,249,61,57,14,160,185,65,110,127,240,132,233,
-251,126,189,34,140,64,129,18,193,73,216,166,179,183,24,116,187,244,117,
-253,24,205,188,86,230,42,115,27,255,91,6,127,217,164,116,237,130,213,220,
-100,108,175,48,25,180,63,20,46,140,136,200,127,246,212,129,191,159,159,
-219,248,255,224,79,31,179,109,71,71,13,121,16,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_100 = 1245;
-static unsigned char xml_res_file_100[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,4,90,73,68,65,84,120,218,181,148,203,
-107,92,85,28,199,191,191,251,152,185,119,38,147,204,76,38,147,71,155,206,
-228,217,188,218,212,4,90,104,69,43,86,234,66,178,80,209,133,232,206,141,
-186,240,95,16,84,112,33,138,175,186,112,225,166,80,149,40,82,16,138,173,
-150,82,69,172,181,169,54,152,38,105,104,154,153,166,201,204,36,153,204,
-235,222,185,247,156,227,185,195,144,208,54,20,186,232,231,240,229,112,15,
-156,207,249,113,30,151,132,16,216,137,241,207,7,26,1,28,149,25,243,62,235,
-241,152,146,185,82,239,207,93,126,115,102,237,158,121,138,28,227,158,120,
-39,233,243,164,208,137,230,206,230,120,56,220,132,129,216,48,186,194,73,
-132,180,16,214,202,235,152,206,92,197,205,204,2,210,139,119,114,220,21,
-111,73,209,41,57,167,13,192,201,122,33,239,213,197,91,194,24,128,79,3,97,
-243,229,253,7,30,163,221,161,24,34,122,0,166,174,161,34,138,240,48,169,
-1,46,83,145,117,242,88,46,173,97,122,234,138,88,203,22,38,1,12,39,123,119,
-13,78,12,190,132,79,78,127,84,170,139,183,164,151,219,251,59,246,12,118,
-13,33,234,243,193,133,141,7,161,147,129,170,235,195,108,250,26,136,8,157,
-109,9,148,88,25,23,127,254,77,104,216,230,68,107,119,199,158,190,68,31,
-92,182,137,59,21,126,151,68,35,31,56,24,184,96,64,29,66,30,10,84,236,105,
-75,202,113,129,178,187,1,183,174,212,234,213,190,162,155,190,23,122,18,
-93,200,85,86,32,100,243,80,72,65,218,202,96,177,124,27,169,202,50,28,225,
-32,162,55,97,151,25,199,72,176,7,166,230,7,4,80,64,209,235,106,243,116,
-189,17,30,52,246,217,222,24,128,217,145,177,177,72,217,216,68,197,41,195,
-195,5,199,213,194,12,108,86,65,210,236,70,220,23,131,6,29,57,55,131,140,
-157,2,152,139,190,80,47,98,190,104,77,206,32,192,101,194,102,12,151,126,
-189,84,171,251,152,63,20,8,59,70,85,30,198,42,60,72,81,48,83,156,19,173,
-70,12,251,180,35,180,56,123,67,100,237,148,229,9,252,134,223,120,124,232,
-9,90,18,255,225,78,249,22,116,40,48,20,19,76,8,25,169,54,57,60,20,153,177,
-80,99,19,101,236,12,54,221,18,151,113,150,202,183,45,141,200,26,193,0,205,
-94,155,94,179,45,235,85,33,68,88,64,12,90,150,149,45,110,230,229,225,134,
-17,86,13,56,172,8,151,57,178,183,81,229,182,148,187,91,226,241,120,52,138,
-197,98,186,84,96,165,101,153,249,149,106,102,106,72,235,119,111,206,45,
-8,0,111,200,123,122,82,166,10,224,171,214,206,120,172,169,93,128,91,5,180,
-248,90,17,164,6,8,238,160,194,10,200,57,43,112,184,189,117,120,99,66,101,
-216,96,249,27,130,176,46,4,138,54,183,75,134,235,59,184,97,59,158,236,123,
-108,179,255,192,222,110,202,57,57,196,195,9,128,8,2,84,187,41,205,104,1,
-64,40,173,186,144,204,123,98,110,87,45,228,221,205,52,39,145,131,168,189,
-4,233,118,32,161,90,182,121,231,204,217,63,222,7,208,8,9,17,97,135,151,
-59,77,2,175,123,226,191,221,98,245,88,144,251,217,186,86,72,1,40,131,80,
-182,93,43,165,106,106,39,115,216,107,222,22,64,34,183,227,11,0,94,240,226,
-47,207,80,203,238,160,182,90,217,96,65,53,40,2,48,240,229,200,164,64,29,
-79,252,87,118,35,255,116,95,115,123,224,79,81,88,6,96,121,242,44,114,147,
-177,198,150,183,243,185,194,199,242,158,67,242,141,20,23,80,39,217,209,
-232,63,181,116,78,20,28,139,229,159,181,238,43,187,86,113,165,98,163,169,
-218,144,132,142,85,79,236,39,213,186,101,172,156,142,90,161,72,131,225,
-31,182,139,149,231,136,137,67,135,63,236,253,182,125,52,113,54,217,214,
-70,215,171,11,76,19,164,6,84,31,69,206,152,180,126,188,34,238,21,159,69,
-213,189,174,148,204,192,144,175,179,111,54,152,62,239,87,116,219,84,244,
-234,173,88,250,131,36,143,69,253,22,69,84,80,149,24,95,101,77,92,153,183,
-255,229,169,98,214,149,82,166,112,23,59,81,251,9,201,74,70,73,161,137,120,
-71,132,46,248,175,253,164,6,148,130,156,228,4,164,92,46,80,50,20,205,210,
-21,213,85,137,56,0,126,238,240,252,93,213,13,156,111,165,153,163,43,226,
-62,177,199,83,239,38,34,129,125,137,96,207,72,136,126,88,184,200,164,216,
-173,203,109,83,213,29,191,162,113,141,20,254,227,161,105,129,7,112,159,
-216,131,100,155,184,112,60,24,73,164,212,149,12,248,90,121,147,5,229,2,
-65,85,103,134,162,139,239,14,254,35,32,121,72,241,54,79,254,126,132,198,
-91,59,181,185,245,52,239,15,155,34,87,90,23,95,143,94,18,144,60,148,248,
-81,160,224,17,241,63,244,131,35,251,91,74,77,71,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_101 = 1136;
-static unsigned char xml_res_file_101[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,3,237,73,68,65,84,56,141,157,148,91,
-104,92,85,20,134,191,181,247,57,115,57,147,204,100,146,78,154,154,216,132,
-180,26,107,105,20,69,176,98,209,138,166,181,34,98,161,224,75,21,10,130,
-160,214,27,180,96,241,193,23,197,7,233,83,68,10,149,234,139,40,52,66,41,
-245,193,7,125,168,23,48,45,132,32,182,54,218,75,38,173,73,211,204,76,230,
-122,114,46,219,135,51,45,233,53,193,3,139,179,247,218,107,125,103,157,189,
-254,189,49,198,176,28,187,50,250,202,150,226,248,158,61,203,141,183,88,
-198,147,31,145,77,177,246,71,142,122,133,19,86,232,87,58,178,15,14,239,
-93,42,71,140,49,75,65,29,209,169,241,236,218,119,250,45,103,53,229,233,
-99,117,149,188,235,225,236,3,195,127,222,41,79,45,163,224,143,147,93,67,
-253,201,149,207,16,75,223,71,44,217,147,36,12,14,46,149,116,71,112,126,
-68,30,183,156,190,55,51,189,47,35,166,4,65,137,84,247,243,132,181,115,27,
-75,227,239,189,245,191,192,249,17,73,138,213,122,40,221,255,170,104,59,
-6,97,29,104,160,84,128,179,106,43,126,45,255,126,113,108,119,199,237,242,
-175,237,113,126,68,4,216,0,60,137,232,205,150,211,251,132,211,253,66,182,
-181,123,8,241,46,69,53,152,0,188,89,140,181,130,242,204,40,65,224,95,20,
-137,255,106,194,218,145,234,185,47,190,233,217,110,220,107,224,201,195,
-172,67,172,143,236,214,117,155,45,167,47,19,203,110,192,78,223,131,149,
-232,64,11,136,127,1,140,11,161,11,126,33,130,139,141,137,15,224,249,194,
-66,121,2,175,114,153,48,172,184,198,157,25,13,253,249,239,67,119,118,191,
-92,56,204,88,107,255,174,193,150,158,33,180,14,17,83,133,160,12,65,41,130,
-16,64,232,65,88,109,150,34,96,4,16,80,41,72,12,96,236,187,9,67,33,244,235,
-148,207,126,69,241,242,196,73,171,80,182,143,37,171,83,131,66,1,113,199,
-193,132,128,142,0,8,132,53,48,30,168,230,28,105,174,105,176,50,64,21,241,
-78,163,17,84,108,13,58,145,163,52,115,228,188,126,104,253,138,159,59,98,
-103,134,226,241,116,119,60,219,135,132,255,130,248,64,29,76,1,196,141,230,
-87,77,5,32,1,88,237,96,183,69,99,241,65,231,168,207,254,193,249,147,7,167,
-167,102,217,33,198,24,142,124,218,182,102,125,95,248,75,110,224,197,206,
-116,87,27,4,103,163,42,145,168,105,2,24,213,20,145,2,149,6,157,3,73,68,
-49,122,37,245,185,2,23,70,63,107,252,61,85,217,182,237,237,249,31,175,169,
-226,248,231,169,45,189,171,172,163,237,247,62,109,165,218,47,130,169,130,
-216,64,28,36,22,25,2,146,137,124,42,29,249,84,26,183,100,152,58,113,192,
-76,76,214,94,27,218,61,127,224,58,185,1,140,125,25,219,211,185,178,235,
-147,220,224,0,150,117,102,177,42,155,251,238,68,64,90,64,210,160,218,240,
-253,78,166,127,255,154,211,255,76,239,127,234,245,202,187,55,233,248,170,
-150,197,106,241,87,12,222,175,226,233,124,179,251,55,73,191,249,86,128,
-67,173,216,207,197,147,63,77,173,221,81,237,89,28,117,227,237,150,17,237,
-40,164,8,218,143,60,215,221,81,55,126,200,35,116,39,81,120,55,157,224,27,
-193,89,101,103,80,241,18,104,239,250,149,91,86,15,42,54,15,144,92,18,140,
-88,232,84,5,244,98,144,16,44,128,210,10,81,166,249,27,209,186,138,23,1,
-147,90,10,220,1,130,138,219,128,135,9,108,170,121,161,54,185,128,91,242,
-209,22,36,114,49,90,250,52,177,108,116,42,197,214,32,198,206,143,136,238,
-217,110,130,219,129,219,67,119,134,250,116,6,119,46,160,54,85,163,80,112,
-131,185,178,57,94,168,36,191,107,73,120,93,217,43,11,47,117,206,229,250,
-226,173,46,206,106,11,140,65,137,71,177,38,137,30,168,222,18,220,240,244,
-184,242,11,228,127,115,185,92,8,79,21,170,250,240,92,37,113,104,231,7,179,
-19,87,99,62,124,163,119,223,134,213,243,219,87,101,221,157,29,151,18,207,
-182,36,3,187,238,250,151,170,13,171,190,152,37,198,24,68,68,3,113,32,185,
-111,87,235,166,98,5,53,252,109,249,47,192,105,54,198,105,154,2,60,160,6,
-212,135,54,38,218,159,123,204,126,180,209,8,78,237,29,174,253,64,84,113,
-3,240,254,3,232,17,205,208,250,0,94,34,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_102 = 1605;
-static unsigned char xml_res_file_102[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,6,12,73,68,65,84,120,218,117,149,9,80,83,87,24,133,
-127,4,100,171,168,224,130,32,34,117,1,151,201,72,113,235,74,177,118,106,
-181,142,235,96,216,2,138,32,82,69,81,139,136,101,145,85,69,109,69,81,42,
-130,34,10,168,9,70,22,145,213,228,37,108,1,1,65,81,1,161,98,43,232,104,
-109,235,180,118,73,222,233,187,97,186,105,123,103,206,220,188,255,158,243,
-205,255,238,123,239,134,232,31,3,32,163,171,77,52,46,236,28,45,91,126,98,
-72,252,188,84,202,31,159,68,10,179,104,210,24,238,166,134,191,244,57,53,
-24,71,81,185,73,52,157,52,139,165,173,150,49,52,151,82,201,132,94,30,64,
-128,3,240,177,75,111,219,8,183,194,210,33,161,89,50,195,172,163,50,243,
-242,164,124,203,230,237,185,214,157,146,115,246,61,226,188,153,247,196,
-185,46,221,111,164,77,233,16,29,113,236,112,254,114,188,230,245,3,163,138,
-198,37,91,28,30,190,135,2,205,227,200,101,108,10,89,252,27,252,235,82,103,
-244,139,118,168,235,109,229,57,82,139,251,103,206,14,69,153,204,134,87,
-20,77,230,107,56,55,190,249,166,15,218,123,182,242,92,119,6,95,112,43,143,
-207,108,58,206,199,87,239,214,73,46,174,210,205,62,230,164,181,78,48,196,
-107,113,84,101,185,135,60,255,117,251,223,222,30,246,150,166,102,220,217,
-27,77,174,207,110,149,217,240,125,121,86,120,34,159,137,167,210,9,120,170,
-154,133,39,221,158,232,234,12,66,77,215,151,40,233,148,226,82,199,5,8,112,
-196,84,238,132,56,127,41,102,28,182,199,136,120,3,173,81,20,85,8,240,143,
-199,31,34,51,194,3,178,226,42,12,3,243,100,102,119,111,151,142,213,233,
-238,134,128,151,58,66,87,190,10,252,121,59,240,93,161,120,209,248,46,30,
-221,92,143,123,189,135,112,163,191,18,173,253,141,224,122,171,112,185,67,
-138,83,215,211,145,164,136,198,210,28,119,76,58,104,253,243,240,56,146,
-10,123,62,153,164,74,114,41,40,50,58,152,115,214,88,215,127,126,172,30,
-134,190,108,224,235,116,224,254,25,64,54,9,191,20,58,225,113,195,74,244,
-116,198,162,181,175,0,13,125,117,232,124,114,27,247,191,239,17,212,139,
-129,231,15,81,208,145,7,241,133,197,176,78,164,223,44,227,105,49,133,228,
-25,6,156,146,27,95,40,146,141,224,159,151,204,1,95,177,90,128,30,7,240,
-187,126,230,203,87,227,27,169,19,164,231,172,177,45,115,36,102,167,88,97,
-100,164,53,114,91,114,48,240,83,31,218,31,181,224,214,227,86,116,60,110,
-67,90,67,10,38,29,30,246,251,168,36,218,70,1,121,195,118,102,22,141,40,
-42,149,143,225,159,203,29,133,14,95,31,236,148,117,44,116,174,203,183,69,
-215,233,97,200,72,49,134,100,203,16,76,244,36,208,167,4,209,193,89,72,170,
-138,71,235,64,3,52,223,170,245,240,220,246,12,44,60,35,210,186,166,219,
-37,81,104,201,252,152,172,138,169,37,165,149,206,252,179,58,87,253,158,
-234,247,86,232,156,191,56,17,218,59,27,209,114,105,52,50,191,178,197,103,
-137,78,152,191,105,50,200,71,128,139,9,239,28,125,27,154,135,10,40,239,
-95,69,221,131,106,228,180,29,131,79,193,66,237,26,153,91,26,237,175,13,
-77,62,85,191,168,164,184,222,149,31,232,92,137,31,235,230,224,39,249,20,
-188,184,50,15,15,133,61,191,33,183,129,250,170,11,26,175,123,224,238,179,
-76,156,224,82,96,182,192,12,180,134,176,40,235,67,84,245,94,194,149,174,
-124,148,223,43,192,201,230,253,240,47,252,64,187,179,210,55,155,190,168,
-223,154,116,186,201,179,248,124,227,92,93,67,251,50,220,109,94,142,123,
-106,119,60,16,84,44,179,199,129,35,230,72,78,29,5,101,139,23,212,3,233,
-56,215,126,20,251,202,34,145,80,21,142,163,154,4,156,239,72,71,126,199,
-113,200,238,100,34,181,241,115,72,10,223,213,70,84,11,224,228,218,144,184,
-99,141,98,89,120,245,155,218,236,235,94,168,106,11,0,215,186,6,245,109,
-98,36,74,39,227,147,72,3,188,185,214,4,233,170,32,92,234,73,198,169,155,
-123,33,127,144,134,66,225,193,230,223,249,2,25,173,9,56,121,35,17,217,237,
-41,216,87,191,25,62,133,115,180,59,170,61,178,104,143,90,18,181,173,106,
-113,134,119,145,72,27,95,43,193,201,150,173,200,110,13,68,126,123,48,86,
-100,79,131,149,31,193,212,221,8,187,138,253,145,213,21,133,67,154,48,68,
-22,173,67,248,85,127,196,169,55,226,72,243,14,164,94,223,129,180,230,8,
-236,169,241,131,119,177,72,203,120,20,197,173,142,220,82,237,158,238,125,
-197,89,187,75,181,28,251,53,129,216,171,89,135,131,205,65,152,125,204,25,
-228,65,48,122,207,16,97,151,87,224,68,207,22,132,21,174,132,137,251,80,
-8,31,47,230,166,79,195,1,193,199,252,44,199,242,140,195,120,20,174,250,
-104,123,200,181,185,71,188,75,29,181,219,149,238,136,173,91,133,232,186,
-229,72,104,92,141,25,135,38,128,214,18,12,214,26,98,130,255,24,76,247,155,
-0,123,191,209,131,111,133,47,193,249,192,120,189,143,249,99,132,220,54,
-229,2,120,9,156,144,234,121,105,20,166,122,219,43,168,106,122,172,87,217,
-56,221,102,133,43,194,107,220,241,153,218,13,17,181,239,99,73,174,19,108,
-18,45,65,161,6,16,190,37,208,59,52,56,11,215,172,206,214,119,9,62,230,15,
-23,30,246,38,33,207,56,235,43,167,197,81,72,205,140,89,146,74,59,63,207,
-114,171,23,27,174,77,69,168,112,232,108,86,137,176,137,19,33,66,227,10,
-143,203,83,97,18,110,12,211,8,99,152,239,30,170,159,77,133,107,15,249,84,
-253,58,243,109,22,20,202,205,2,203,123,9,28,198,211,159,112,171,42,45,68,
-226,10,179,219,1,10,91,62,88,233,136,96,165,3,54,112,14,216,168,154,136,
-32,133,3,124,202,237,224,91,97,7,137,32,95,246,187,204,78,95,103,235,193,
-220,160,55,152,115,196,250,107,182,60,227,48,158,30,188,176,130,134,175,
-169,52,222,224,175,24,222,29,160,180,66,128,210,26,1,220,160,2,85,163,16,
-92,59,26,27,153,106,254,22,171,255,233,209,251,133,28,203,51,14,227,253,
-117,46,47,41,166,145,18,165,105,172,68,97,214,234,175,52,255,193,143,51,
-133,255,203,82,190,90,211,251,4,63,203,177,60,227,208,171,255,81,100,224,
-165,162,133,62,42,42,240,85,210,119,18,142,180,18,21,253,246,159,226,244,
-210,250,114,244,29,243,179,28,203,211,255,141,165,77,100,238,85,67,14,222,
-28,77,247,87,209,34,63,53,121,11,97,241,203,98,117,182,206,124,204,207,
-114,255,228,252,1,144,84,9,87,144,77,161,244,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_103 = 1233;
-static unsigned char xml_res_file_103[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,2,97,0,0,2,97,1,193,48,85,250,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,4,78,73,68,65,84,56,141,181,148,205,79,148,
-87,20,135,159,115,223,207,97,4,121,107,5,134,193,1,138,198,72,85,104,19,
-24,107,88,104,23,54,209,196,104,226,166,109,226,14,117,58,104,210,69,5,
-180,58,213,116,101,92,86,5,254,1,55,38,202,162,93,184,49,26,165,2,42,168,
-105,98,43,117,168,20,218,88,249,134,249,130,121,223,46,128,9,196,175,164,
-73,79,114,147,147,156,123,158,251,59,39,231,30,241,60,143,255,195,244,119,
-93,216,82,95,191,93,121,42,132,136,163,4,71,148,74,25,166,126,181,251,230,
-205,248,219,242,228,77,138,63,170,219,182,27,37,167,29,199,9,7,138,139,
-41,9,20,163,16,94,188,124,201,63,47,94,48,61,53,221,35,154,92,214,92,247,
-135,27,55,110,204,191,19,252,113,67,67,169,184,222,181,64,113,113,221,167,
-59,118,16,90,87,6,34,8,130,8,139,62,12,143,140,112,251,78,23,163,99,163,
-215,243,12,227,64,103,103,231,244,27,193,13,13,13,249,243,154,118,235,147,
-250,112,109,69,40,68,102,46,67,81,81,17,130,128,128,44,66,69,132,201,201,
-73,148,166,49,60,60,76,95,127,127,191,230,121,123,58,59,59,71,150,88,106,
-201,217,185,115,167,142,105,93,169,217,188,165,182,112,117,1,127,255,53,
-194,234,252,124,126,121,252,152,217,196,44,137,68,98,225,36,147,12,12,12,
-48,49,54,198,240,208,16,171,252,126,170,171,55,213,234,182,117,109,185,
-226,28,24,93,111,90,23,12,238,42,46,90,75,114,102,134,239,98,49,14,53,54,
-178,97,253,122,126,125,242,132,100,50,73,50,153,96,48,30,71,87,138,150,
-150,22,78,159,58,197,228,196,4,107,28,135,64,32,80,247,229,193,131,187,
-95,1,27,166,249,69,89,48,200,204,244,52,21,149,149,88,150,5,64,99,99,35,
-155,54,110,100,224,233,83,134,158,15,225,179,45,90,90,90,80,74,97,24,6,
-21,229,229,204,204,204,80,26,40,193,52,244,211,43,192,159,237,221,91,185,
-186,160,160,78,105,130,101,219,244,220,235,165,189,189,61,87,204,225,195,
-135,217,92,93,77,65,126,62,39,90,79,160,105,26,0,29,29,29,60,124,252,136,
-60,191,31,77,41,86,21,172,10,31,138,30,218,14,139,115,108,155,230,126,93,
-215,73,204,206,162,27,6,133,142,195,237,174,46,92,215,37,18,137,0,16,137,
-68,112,93,23,165,22,138,108,107,107,227,254,131,7,4,215,149,146,201,164,
-113,61,23,67,211,241,116,51,4,116,233,0,166,101,216,174,155,229,229,216,
-40,62,219,135,207,182,41,124,175,144,91,119,110,227,186,46,209,104,116,
-161,188,69,232,133,139,23,233,233,237,161,180,172,148,76,38,67,102,110,
-142,185,76,6,17,193,178,44,39,167,216,52,244,113,65,161,148,224,102,179,
-36,146,9,148,82,120,158,203,232,232,232,10,165,0,120,30,115,243,115,164,
-146,201,220,131,166,97,32,74,80,34,203,192,186,62,46,74,67,137,44,6,21,
-83,147,83,212,110,169,161,185,185,25,17,89,62,73,68,163,81,148,82,220,237,
-254,153,146,210,18,148,168,37,40,104,42,149,3,27,150,241,92,161,229,130,
-19,227,147,108,171,15,115,236,216,177,28,244,194,197,11,11,208,175,162,
-185,158,43,165,184,119,191,135,64,48,144,131,107,184,87,97,217,207,59,250,
-245,209,187,74,84,56,49,155,160,102,107,13,77,209,166,156,194,75,151,46,
-209,221,123,23,17,33,92,23,230,200,145,72,46,214,214,222,198,192,239,191,
-225,56,14,74,73,79,107,243,183,225,21,115,108,26,230,89,195,48,176,125,
-54,131,131,131,164,211,105,0,218,219,219,185,223,119,143,242,242,16,229,
-21,33,250,250,251,232,232,232,0,32,157,78,19,143,199,201,203,243,161,235,
-26,154,38,151,151,120,43,118,197,137,83,173,61,34,82,55,51,53,141,105,218,
-84,125,80,69,223,195,7,148,149,5,115,109,82,74,49,252,231,8,155,63,220,
-74,60,254,12,148,135,227,20,2,222,245,84,98,126,79,44,22,155,207,245,120,
-201,44,221,222,135,230,254,248,254,218,53,181,201,68,138,103,131,3,84,85,
-85,98,91,54,186,161,35,178,48,41,121,27,242,248,99,40,142,105,235,248,253,
-126,128,126,241,140,3,177,216,201,249,215,42,6,56,119,238,92,190,235,205,
-93,17,37,187,148,82,248,108,31,182,109,99,251,124,88,150,69,58,157,38,149,
-76,50,155,152,37,149,74,1,244,138,167,239,59,126,252,248,200,114,206,107,
-23,253,153,51,103,116,159,95,111,242,60,249,28,168,215,148,134,210,20,34,
-130,235,186,100,179,89,60,207,235,118,145,179,173,223,180,254,244,10,224,
-77,224,229,118,254,252,247,149,89,100,63,158,178,129,113,196,27,39,235,
-61,111,110,62,217,245,182,188,119,130,255,171,253,11,59,245,161,176,24,
-239,51,67,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_104 = 922;
-static unsigned char xml_res_file_104[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,3,23,73,68,65,84,56,141,149,149,79,
-111,19,71,24,198,127,51,254,219,160,160,18,147,130,19,55,113,144,26,245,
-64,15,32,85,72,72,36,84,57,80,84,69,61,114,72,133,210,35,165,9,85,46,233,
-71,160,23,164,74,252,17,95,160,18,82,185,2,23,164,24,8,18,8,25,169,180,
-64,144,226,180,117,12,89,23,37,56,78,88,219,187,158,183,135,245,58,27,39,
-1,243,74,175,102,103,118,247,183,207,60,243,206,172,18,17,62,36,212,37,
-21,34,206,132,14,233,239,83,209,84,82,162,18,43,148,10,47,140,54,191,147,
-230,130,124,37,14,128,2,250,129,116,91,212,131,124,204,25,174,140,124,49,
-146,60,213,115,10,106,13,66,4,174,229,174,113,251,207,219,243,36,56,42,
-167,165,168,128,161,252,98,33,163,181,66,41,141,215,42,180,214,158,66,229,
-245,93,113,24,186,53,68,162,59,193,201,3,39,89,122,249,138,139,199,46,1,
-48,53,123,150,68,50,201,141,249,155,220,159,187,159,71,49,160,1,165,181,
-166,53,125,184,159,87,115,87,89,144,5,82,221,41,230,157,167,44,173,62,107,
-78,228,117,249,25,203,242,148,244,39,41,162,61,209,79,9,243,83,24,64,107,
-181,9,184,37,129,235,185,235,136,18,50,143,102,72,197,227,240,95,5,190,
-241,192,255,188,248,139,226,234,60,47,43,21,36,38,16,98,188,1,222,12,213,
-219,192,115,165,28,206,178,195,210,180,181,197,250,204,228,198,88,248,23,
-5,123,232,214,62,56,56,117,213,200,96,191,99,79,71,91,235,171,35,64,39,
-241,176,191,64,77,184,175,50,104,11,144,232,76,96,13,90,236,186,172,72,
-125,4,187,86,32,59,229,149,234,137,139,10,179,23,242,54,152,126,192,144,
-243,20,7,45,240,213,54,250,186,241,209,241,244,56,132,225,109,47,168,62,
-136,246,108,168,140,165,32,126,0,74,73,168,71,129,8,191,105,188,178,216,
-228,103,243,67,1,59,38,6,38,72,119,164,193,133,133,21,176,42,27,224,188,
-13,143,138,176,180,6,68,153,99,157,95,21,48,252,166,84,154,241,213,110,
-106,27,233,219,85,172,21,25,121,50,194,243,55,207,225,45,68,86,64,41,112,
-187,192,132,128,221,228,41,241,165,140,138,165,131,155,96,187,170,240,239,
-3,236,139,237,227,241,225,199,156,255,236,60,135,250,14,17,255,188,147,
-174,193,253,152,8,127,211,193,20,61,12,200,168,88,224,109,200,225,213,114,
-121,70,7,23,48,96,77,16,236,183,173,17,10,133,142,139,72,38,56,22,246,233,
-173,170,253,104,23,222,26,205,114,83,74,65,139,202,157,160,34,130,49,134,
-192,201,184,229,136,108,130,105,212,235,187,20,219,182,77,62,159,103,109,
-109,141,90,173,134,136,80,44,22,11,192,171,237,84,15,175,175,175,139,109,
-219,82,173,86,165,86,171,137,227,56,226,186,174,184,174,43,245,122,93,140,
-49,98,140,145,108,54,219,188,174,215,235,114,247,238,29,187,183,183,247,
-136,136,208,154,254,217,232,101,75,4,149,27,99,40,151,203,77,43,30,62,124,
-224,76,78,254,240,245,226,226,226,131,237,212,122,229,198,198,2,238,4,55,
-198,80,173,86,155,208,233,233,159,191,205,102,159,100,182,188,16,244,120,
-39,149,193,112,93,23,128,217,217,123,149,115,231,126,60,145,205,254,113,
-103,39,168,175,184,173,159,158,136,96,89,86,97,108,236,187,99,239,131,194,
-135,254,243,224,95,17,89,104,231,193,255,1,85,77,78,90,241,237,154,60,0,
-0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_105 = 959;
-static unsigned char xml_res_file_105[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,3,60,73,68,65,84,56,141,181,149,207,
-107,28,101,24,199,63,239,236,118,19,155,184,105,193,84,168,105,46,18,72,
-106,10,82,176,45,130,167,141,23,61,107,33,23,61,251,3,65,165,90,16,109,
-169,30,20,252,19,84,144,74,142,130,189,249,227,36,17,164,105,61,40,226,
-65,173,201,198,104,66,106,39,169,187,155,121,223,247,121,158,30,102,118,
-118,147,184,8,133,62,240,50,48,239,204,231,249,126,191,243,204,140,51,51,
-238,69,85,247,158,152,155,155,251,42,203,178,233,74,82,113,175,188,126,
-238,104,53,169,56,40,154,59,71,130,195,57,7,14,92,177,66,136,246,225,7,
-239,175,137,138,29,62,116,232,151,47,174,92,121,114,31,56,134,120,234,236,
-179,103,235,233,173,91,60,122,242,49,14,14,215,118,237,187,156,95,52,0,
-151,56,90,29,239,230,26,141,135,162,8,139,139,139,99,255,169,56,4,207,194,
-194,2,39,102,103,25,26,30,166,62,122,144,175,175,255,54,208,242,83,167,
-167,136,214,102,117,117,21,17,193,251,172,23,69,163,209,248,50,203,178,
-227,149,164,194,107,111,156,175,87,147,42,96,44,125,247,45,142,220,54,73,
-82,168,117,56,192,199,200,167,159,124,196,199,170,76,77,207,32,34,136,8,
-170,214,3,75,148,211,243,243,243,245,127,54,111,114,242,212,227,140,14,
-13,237,182,95,100,153,103,12,46,129,86,199,243,211,15,215,80,85,190,191,
-122,149,7,199,199,17,17,76,181,7,14,193,243,217,229,203,204,62,50,75,173,
-86,99,100,228,190,255,181,239,5,154,205,38,170,138,247,25,49,70,84,21,233,
-7,171,42,18,5,81,161,146,56,134,107,9,79,159,153,42,31,86,183,212,12,85,
-35,138,16,69,17,21,84,20,21,35,198,136,153,161,253,96,83,99,102,102,6,21,
-37,136,210,241,145,111,174,223,24,168,248,137,19,147,132,168,168,104,110,
-223,186,71,195,108,175,226,98,35,68,161,213,241,156,57,62,145,83,204,242,
-41,54,80,12,51,104,239,4,124,148,210,126,167,211,38,198,8,128,72,63,184,
-232,168,170,248,160,180,92,224,199,223,55,6,42,158,158,124,128,80,128,187,
-246,85,36,215,177,47,99,17,156,115,248,24,136,162,60,124,244,112,87,112,
-126,44,212,154,25,237,157,128,170,148,46,213,12,41,192,186,59,138,222,198,
-133,87,95,24,168,116,80,73,161,62,143,66,172,4,91,159,149,187,41,83,193,
-123,15,80,54,216,149,241,221,150,170,18,188,103,252,200,17,154,205,102,
-31,88,180,236,116,233,189,119,193,57,76,141,145,209,145,60,100,215,155,
-230,52,77,121,249,197,151,200,178,140,99,19,249,228,136,26,62,132,98,190,
-165,7,206,63,30,185,149,116,107,139,75,23,46,18,99,228,173,119,222,166,
-94,175,151,208,24,35,173,86,139,177,122,157,116,107,171,188,71,98,32,120,
-207,159,205,38,210,31,133,196,72,40,46,82,85,66,8,229,140,122,239,137,49,
-18,66,32,132,64,187,221,206,95,132,62,251,203,43,43,246,247,198,250,14,
-64,181,114,224,215,18,28,85,200,188,199,57,135,170,150,160,237,237,237,
-18,216,93,157,78,135,44,203,16,21,124,8,152,25,162,114,123,117,109,109,
-172,63,247,252,123,172,124,190,121,115,243,185,177,251,235,164,105,202,
-185,243,111,226,51,143,170,146,166,233,62,197,157,118,155,204,123,14,84,
-170,172,44,47,151,246,247,129,111,172,252,241,252,228,196,177,184,190,177,
-241,204,181,165,165,81,151,36,78,85,233,91,214,253,55,102,89,198,95,235,
-235,45,128,127,183,111,231,51,91,173,254,188,23,236,238,213,207,244,14,
-143,253,122,160,254,148,121,89,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_106 = 798;
-static unsigned char xml_res_file_106[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,2,155,73,68,65,84,120,218,181,149,
-93,107,19,65,20,134,223,221,77,130,17,26,111,244,38,233,151,148,154,138,
-189,21,197,143,107,21,253,29,22,188,145,90,63,192,111,234,77,65,72,241,
-23,168,63,163,130,191,64,232,157,72,72,74,65,107,145,130,219,154,184,153,
-221,157,157,89,231,204,196,97,150,32,22,66,223,112,230,156,176,115,158,
-125,247,108,118,227,229,121,142,163,80,137,150,27,215,174,111,71,81,52,
-235,7,62,238,174,60,66,89,101,184,39,244,61,0,30,60,79,175,32,81,109,178,
-135,132,103,88,127,189,6,41,36,230,230,230,118,222,190,127,55,165,193,3,
-54,152,93,94,94,70,119,107,11,231,47,93,197,137,227,199,48,196,18,198,130,
-44,220,0,85,152,252,43,98,232,126,249,12,33,4,54,62,108,76,90,199,82,74,
-180,214,91,104,158,105,130,103,153,50,232,89,176,133,23,129,22,74,23,195,
-51,137,78,167,163,193,82,230,176,96,154,115,166,128,116,2,130,150,203,62,
-54,62,117,113,24,221,188,48,143,28,57,245,82,40,150,68,193,241,66,115,65,
-159,192,243,21,56,240,112,235,226,60,92,169,67,4,48,57,55,89,170,133,230,
-43,132,36,183,198,177,144,69,199,4,167,75,163,77,44,205,240,113,115,27,
-135,209,149,197,41,100,50,39,168,113,173,88,174,99,58,96,192,170,102,73,
-134,203,231,166,96,221,154,213,184,29,218,151,67,231,113,106,29,155,81,
-200,127,56,206,4,109,230,216,236,252,192,97,180,56,123,202,130,53,39,119,
-193,116,9,66,80,105,29,159,157,62,57,2,201,141,9,83,59,142,185,160,126,
-3,118,29,211,92,52,144,196,185,192,176,132,167,97,86,22,58,114,35,1,100,
-100,204,176,92,199,102,20,164,213,251,119,48,134,136,229,58,182,163,24,
-91,100,112,212,241,248,26,125,64,232,201,251,171,151,175,86,81,171,213,
-254,235,108,233,246,18,250,253,158,238,157,158,52,63,79,33,28,48,253,84,
-56,231,182,41,12,67,60,125,252,4,105,154,162,90,173,226,217,139,231,176,
-114,94,1,141,122,29,123,123,37,28,236,239,219,126,33,178,34,56,227,188,
-208,200,162,136,154,169,118,97,4,160,172,67,112,78,7,64,31,234,15,130,128,
-88,14,88,10,122,171,21,29,9,161,195,83,174,7,131,129,11,181,145,112,110,
-223,104,212,95,111,52,240,117,231,155,115,243,132,148,49,99,126,169,164,
-191,34,73,18,5,73,193,226,24,21,81,81,115,236,91,168,27,44,102,106,111,
-76,181,118,220,239,245,138,142,125,47,184,247,51,12,91,181,137,9,130,107,
-208,202,131,135,72,121,170,111,82,79,53,56,64,235,126,240,59,66,204,98,
-240,52,5,175,84,176,187,187,91,4,119,182,187,111,78,207,204,32,60,216,111,
-33,135,223,110,183,81,81,27,237,243,47,165,13,87,223,21,40,77,19,93,51,
-198,12,176,92,138,40,31,217,159,233,31,164,187,80,151,255,239,226,128,0,
-0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_107 = 1455;
-static unsigned char xml_res_file_107[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,3,0,0,
-0,215,169,205,202,0,0,3,0,80,76,84,69,0,0,0,128,0,0,0,128,0,128,128,0,0,
-0,128,128,0,128,0,128,128,192,192,192,192,220,192,166,202,240,0,0,0,0,0,
-132,255,0,0,255,255,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,251,240,160,160,
-164,128,128,128,255,0,0,0,255,0,255,255,0,0,0,255,255,0,255,0,255,255,255,
-255,255,62,239,180,236,0,0,1,0,116,82,78,83,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,0,255,255,192,109,220,69,
-0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,
-77,69,7,215,12,28,22,20,32,17,187,171,78,0,0,0,7,116,69,88,116,65,117,116,
-104,111,114,0,169,174,204,72,0,0,0,12,116,69,88,116,68,101,115,99,114,105,
-112,116,105,111,110,0,19,9,33,35,0,0,0,10,116,69,88,116,67,111,112,121,
-114,105,103,104,116,0,172,15,204,58,0,0,0,14,116,69,88,116,67,114,101,97,
-116,105,111,110,32,116,105,109,101,0,53,247,15,9,0,0,0,9,116,69,88,116,
-83,111,102,116,119,97,114,101,0,93,112,255,58,0,0,0,11,116,69,88,116,68,
-105,115,99,108,97,105,109,101,114,0,183,192,180,143,0,0,0,8,116,69,88,116,
-87,97,114,110,105,110,103,0,192,27,230,135,0,0,0,7,116,69,88,116,83,111,
-117,114,99,101,0,245,255,131,235,0,0,0,8,116,69,88,116,67,111,109,109,101,
-110,116,0,246,204,150,191,0,0,0,6,116,69,88,116,84,105,116,108,101,0,168,
-238,210,39,0,0,0,98,73,68,65,84,120,156,173,209,209,10,192,32,8,64,81,71,
-246,180,233,255,255,107,12,150,134,149,147,193,54,186,175,7,82,18,206,135,
-96,57,192,232,6,104,5,96,220,181,175,128,0,185,229,1,83,41,133,164,100,
-187,40,160,131,67,178,167,18,51,117,96,133,54,250,61,108,53,217,39,128,
-206,169,219,253,0,34,114,235,26,76,191,236,97,186,71,30,173,57,109,236,
-2,134,169,26,64,30,137,104,190,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_108 = 1133;
-static unsigned char xml_res_file_108[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,2,97,0,0,2,97,1,193,48,85,250,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,3,234,73,68,65,84,120,218,165,148,75,104,
-92,85,24,199,255,223,185,119,30,153,164,102,66,108,211,162,180,53,152,152,
-68,155,71,211,7,216,186,41,5,93,84,234,162,110,116,227,66,81,16,87,34,40,
-184,17,81,144,186,172,210,149,174,180,43,31,16,124,160,21,220,69,140,68,
-41,82,146,84,99,83,135,164,153,201,100,38,51,119,238,235,220,115,62,207,
-205,56,51,56,51,144,133,255,203,159,239,158,239,220,243,187,255,115,46,
-92,98,102,236,165,23,190,159,237,1,211,229,153,3,79,60,149,77,31,58,88,
-14,10,181,229,226,252,124,69,22,94,252,248,241,197,53,116,147,1,239,233,
-231,190,153,189,182,152,255,69,23,253,34,223,174,172,241,114,105,133,231,
-55,230,245,75,63,60,89,123,246,171,153,161,110,107,4,246,16,25,149,3,125,
-161,42,107,100,192,40,135,37,108,7,69,108,250,121,186,235,110,103,156,82,
-116,8,93,100,163,139,158,153,155,153,101,134,214,140,240,233,47,167,15,
-51,115,110,113,235,167,209,199,18,231,132,167,92,120,145,135,165,210,239,
-44,162,90,69,165,196,233,139,159,77,247,67,32,0,195,44,66,101,238,210,111,
-55,59,206,248,210,231,211,175,158,25,190,248,254,61,201,65,132,218,7,96,
-97,176,103,72,143,102,199,69,57,44,27,168,11,95,121,187,174,201,170,222,
-9,182,169,26,148,201,9,43,8,89,162,224,108,232,98,105,243,172,221,182,109,
-92,248,244,216,200,248,189,199,249,161,254,135,201,83,49,196,143,97,162,
-24,230,77,53,192,56,177,129,6,202,99,87,187,20,9,5,145,180,145,16,105,68,
-74,115,79,186,87,248,53,125,164,227,40,164,66,218,34,130,19,237,52,0,166,
-214,129,126,235,222,244,125,242,180,233,105,175,110,118,99,147,70,4,41,
-181,104,7,147,212,200,144,0,106,170,5,246,27,214,177,235,176,128,99,88,
-29,24,192,135,164,0,36,20,28,85,129,140,152,236,198,17,156,251,100,234,
-209,51,31,78,172,82,82,156,72,88,130,106,170,178,11,9,154,137,60,132,205,
-100,6,220,232,33,96,29,99,185,26,67,217,215,154,164,2,217,49,244,236,71,
-143,188,253,252,169,151,223,204,85,239,232,188,191,46,18,150,133,106,88,
-52,105,91,128,128,93,99,191,94,225,33,34,9,69,46,123,92,193,102,165,194,
-4,230,116,90,128,193,36,165,102,123,226,181,7,50,99,71,70,223,152,28,154,
-196,125,3,7,68,138,210,200,7,127,35,104,194,188,166,37,66,184,186,108,236,
-192,83,14,164,246,225,6,138,151,110,212,22,194,45,185,32,122,172,17,45,
-121,99,235,219,194,156,109,15,38,167,198,246,143,89,133,224,14,124,93,67,
-201,100,8,224,198,139,200,49,16,39,50,32,85,221,157,139,143,71,177,68,44,
-97,1,73,65,180,229,129,188,188,188,242,215,59,127,92,67,93,108,164,109,
-41,249,104,206,93,129,191,189,10,165,67,40,142,40,226,8,129,114,161,16,
-1,140,166,8,4,219,92,224,38,1,50,208,80,68,121,0,42,30,55,100,187,133,112,
-229,86,33,7,178,122,184,62,65,241,122,6,155,138,4,58,196,132,166,152,177,
-207,38,214,25,235,252,253,239,141,175,30,190,114,108,42,42,132,115,235,
-111,45,135,148,28,74,165,38,222,29,219,60,249,96,118,95,140,117,2,69,3,
-153,4,17,181,241,186,129,193,172,153,113,235,174,70,111,178,143,178,233,
-52,174,255,186,244,193,198,235,55,95,177,84,77,105,153,20,55,54,132,58,
-189,188,92,93,241,41,145,29,26,72,167,164,210,28,105,144,49,254,107,70,
-164,56,174,205,94,54,35,104,127,95,15,135,40,225,207,188,223,235,124,151,
-191,74,204,12,170,231,235,53,214,195,151,39,127,60,127,234,232,137,74,88,
-134,17,181,18,183,98,119,223,137,17,24,139,107,142,202,125,177,222,111,
-55,123,128,99,248,214,78,197,207,69,97,234,120,45,80,2,160,54,0,55,7,140,
-14,237,134,76,165,132,141,145,190,147,118,123,128,72,33,12,35,1,39,84,0,
-119,6,229,54,34,183,94,100,204,8,34,38,21,242,193,118,48,162,72,171,219,
-59,91,194,145,138,9,4,134,6,186,128,185,141,174,255,157,115,67,166,136,
-209,219,145,56,88,40,95,253,217,215,195,0,217,92,127,152,184,193,236,132,
-119,74,234,50,174,231,191,110,255,209,55,62,164,141,255,39,249,15,175,168,
-8,24,253,245,35,25,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_109 = 959;
-static unsigned char xml_res_file_109[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,3,134,73,68,65,84,120,218,181,149,107,76,147,87,24,
-199,155,104,116,198,104,162,115,102,153,82,47,195,180,165,64,21,105,49,
-105,65,93,177,5,106,189,176,49,41,5,235,4,177,197,82,241,26,209,76,52,128,
-20,140,10,82,72,172,184,240,1,185,234,170,91,50,205,166,117,134,169,100,
-49,85,252,224,7,46,133,2,149,251,53,161,96,0,255,246,156,164,196,119,138,
-6,204,222,228,151,156,247,57,231,249,229,60,239,115,222,28,22,235,255,124,
-46,92,200,240,42,45,47,121,104,185,253,235,68,89,249,117,84,84,150,225,
-246,111,22,220,253,243,14,254,126,104,197,147,154,199,176,217,158,82,200,
-152,196,200,28,89,83,89,85,142,155,150,170,113,146,159,151,103,100,51,196,
-215,126,41,178,58,95,57,49,50,50,130,209,209,209,105,227,26,113,193,209,
-210,140,138,27,229,255,48,196,87,175,93,25,31,28,28,196,192,192,192,140,
-25,26,26,162,59,103,136,211,51,206,160,191,191,159,98,52,26,167,133,39,
-143,144,155,119,17,12,241,137,147,199,209,219,219,75,113,185,92,211,194,
-147,71,56,155,158,198,20,31,57,118,8,61,61,61,159,205,207,105,167,152,98,
-67,138,30,221,221,221,148,79,149,238,89,247,33,72,229,12,177,46,73,139,
-174,174,46,202,240,240,240,71,241,172,251,16,71,143,30,102,138,247,37,38,
-160,163,163,99,198,180,183,183,163,179,179,19,57,231,179,153,226,61,63,
-105,232,228,84,248,7,138,166,68,32,12,130,52,92,129,127,109,53,88,33,94,
-130,133,252,89,119,89,28,214,2,42,86,199,198,192,233,116,82,116,58,29,106,
-107,107,39,223,9,228,140,126,140,134,166,122,112,66,87,34,161,40,18,27,
-211,56,88,28,48,231,17,21,255,184,43,10,109,109,109,20,177,88,12,169,84,
-10,179,217,140,150,150,150,201,56,161,181,181,149,242,110,172,201,209,132,
-0,133,47,226,114,35,16,91,25,2,105,33,23,95,6,206,125,73,197,59,35,119,
-82,9,33,66,17,49,73,126,126,62,141,145,146,55,201,228,80,105,52,208,38,
-39,67,159,114,136,114,224,96,10,148,241,114,40,79,75,176,215,178,5,138,
-18,62,22,175,159,221,246,5,143,181,130,138,149,202,173,112,56,28,148,24,
-181,10,90,221,126,216,158,217,104,67,72,140,252,178,77,14,59,184,161,108,
-176,131,151,192,92,82,130,51,231,77,216,188,75,14,81,60,23,137,55,21,136,
-186,19,0,182,116,17,230,251,178,252,39,155,23,22,38,71,115,115,51,229,214,
-45,11,109,24,17,122,98,164,228,77,42,17,162,47,202,16,119,37,28,223,72,
-22,34,238,112,2,188,195,151,34,201,178,13,209,247,69,88,245,253,34,196,
-39,107,152,167,66,42,253,14,118,187,157,66,154,229,25,123,248,65,21,3,182,
-228,43,40,47,7,34,230,119,9,66,11,120,248,58,100,30,18,111,40,17,251,96,
-3,2,79,122,65,163,223,141,204,204,12,166,88,38,219,50,214,216,216,136,169,
-232,235,235,131,221,209,8,239,224,229,144,23,241,160,250,43,8,81,22,17,
-52,15,130,161,172,20,32,220,253,157,185,124,127,100,103,27,199,254,35,150,
-253,97,181,90,209,208,208,128,250,250,250,247,168,171,171,163,149,92,190,
-90,4,191,48,30,118,84,8,176,247,169,4,241,207,67,192,85,44,67,94,97,1,56,
-124,129,123,199,153,247,24,98,161,80,232,165,86,171,173,6,131,97,92,171,
-213,66,175,215,35,53,53,21,89,89,89,48,153,76,40,46,46,70,117,117,53,142,
-156,205,65,142,169,0,235,182,243,161,121,34,198,90,253,50,228,154,47,225,
-245,27,224,91,46,127,194,157,195,158,209,21,118,32,53,253,245,189,154,23,
-40,117,55,56,40,218,31,134,115,73,152,0,48,234,22,175,94,195,25,156,241,
-221,184,81,182,245,28,199,111,221,24,87,32,4,207,13,119,173,8,62,110,214,
-248,8,198,150,175,244,78,123,119,237,91,162,105,120,83,149,55,114,163,0,
-0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_110 = 705;
-static unsigned char xml_res_file_110[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,3,0,0,
-0,243,106,156,9,0,0,0,3,115,66,73,84,8,8,8,219,225,79,224,0,0,0,9,112,72,
-89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,53,80,76,84,69,255,255,255,53,53,53,
-141,141,132,68,68,68,145,145,136,70,70,70,85,85,85,91,91,91,157,158,156,
-98,98,98,166,168,164,169,172,168,70,70,69,90,90,89,110,110,110,113,113,
-113,155,157,153,173,175,171,175,177,174,46,52,54,59,59,59,67,67,66,67,67,
-67,72,72,71,74,75,74,77,77,76,81,82,81,82,82,81,85,85,84,86,87,85,89,89,
-88,90,91,89,91,92,90,93,94,93,96,97,95,97,98,96,101,102,100,102,103,101,
-104,104,104,104,105,103,105,105,105,105,106,104,106,107,106,108,108,108,
-110,112,108,111,112,110,113,113,113,115,117,113,116,116,114,120,122,118,
-121,121,121,125,127,123,129,131,127,131,132,128,135,135,135,136,136,136,
-144,145,142,147,147,147,148,148,148,154,154,154,160,160,160,167,168,165,
-169,170,167,170,171,168,171,171,171,176,176,175,177,178,175,184,186,183,
-190,190,190,192,193,190,197,197,197,199,200,198,206,206,204,206,207,206,
-209,209,209,219,219,219,220,220,220,221,221,221,222,222,222,224,224,224,
-225,225,225,225,226,224,226,226,226,228,228,228,229,229,229,229,230,229,
-231,231,231,232,232,232,233,233,233,234,234,234,235,235,235,236,236,236,
-237,237,237,238,238,238,239,239,239,240,240,240,241,241,241,242,242,242,
-245,245,245,246,246,246,246,247,246,247,247,247,248,248,248,143,16,126,
-209,0,0,0,19,116,82,78,83,0,29,29,30,30,182,188,190,190,192,193,196,251,
-251,252,252,252,252,253,24,34,112,59,0,0,0,223,73,68,65,84,24,25,5,193,
-189,46,4,81,24,0,208,115,55,31,59,161,32,17,65,187,34,91,240,6,10,133,78,
-240,192,18,133,66,162,22,141,66,161,103,227,39,155,221,25,115,191,235,28,
-0,0,64,49,233,186,211,18,101,50,41,90,102,171,207,253,48,42,186,155,221,
-2,0,249,121,183,20,186,237,1,0,216,221,92,10,39,233,21,0,115,117,254,36,
-140,233,12,0,61,35,33,155,53,0,208,8,181,121,3,28,3,73,168,205,41,96,5,
-52,194,95,90,2,0,149,144,13,184,7,184,172,132,76,47,179,45,110,1,126,255,
-8,181,249,88,156,28,148,31,0,73,168,77,120,203,163,7,224,130,36,180,52,
-237,102,59,235,107,224,155,74,200,102,182,63,172,124,1,72,66,54,123,107,
-60,2,156,55,194,170,233,225,10,224,235,135,208,175,186,6,11,64,25,122,138,
-178,57,61,220,152,70,76,194,152,227,56,190,15,67,5,0,0,0,0,0,252,3,117,
-159,97,32,249,119,37,12,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_111 = 1217;
-static unsigned char xml_res_file_111[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,2,97,0,0,2,97,1,193,48,85,250,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,4,62,73,68,65,84,56,141,141,148,221,107,28,
-85,24,198,127,231,204,76,102,55,155,217,77,54,171,193,244,3,82,153,88,43,
-129,34,182,36,168,23,189,21,33,208,34,136,216,171,166,55,189,240,79,16,
-68,240,162,151,189,244,78,106,177,94,228,206,27,141,32,8,85,12,196,164,
-149,88,44,117,99,154,143,93,155,205,102,103,119,102,118,62,206,204,120,
-209,238,146,164,169,250,194,97,30,56,239,60,231,61,207,121,222,87,0,47,
-221,185,115,231,91,195,48,6,216,23,66,8,254,43,132,16,172,175,175,47,94,
-186,116,233,74,150,101,241,254,61,29,56,110,219,246,148,82,10,41,37,66,
-136,62,233,126,124,248,176,30,182,44,203,6,62,2,90,251,137,37,64,146,36,
-60,122,244,8,33,4,205,102,147,221,221,93,148,82,52,26,13,132,16,184,174,
-139,239,251,164,105,138,231,121,72,41,137,162,8,165,212,115,111,35,1,12,
-195,32,159,207,35,132,32,77,83,164,148,24,134,129,174,235,7,170,212,117,
-29,77,211,254,151,76,18,32,77,83,58,157,14,190,239,163,235,58,89,150,145,
-166,41,221,110,151,40,138,250,68,105,154,18,69,17,73,146,244,101,122,222,
-33,2,56,215,108,54,23,143,74,62,10,31,206,217,222,222,78,109,219,30,205,
-178,236,128,198,250,225,159,122,149,105,154,70,154,166,232,186,254,228,
-106,82,34,165,236,227,126,101,207,169,88,238,79,16,66,176,183,183,199,206,
-206,14,113,28,179,181,181,133,148,146,118,187,141,231,121,116,187,93,60,
-207,35,12,67,60,207,235,75,242,175,196,189,24,30,30,6,32,151,203,145,207,
-231,209,52,141,82,169,132,16,2,165,20,229,114,25,165,20,133,66,161,111,
-207,163,226,25,41,218,237,54,65,16,144,36,9,97,24,18,4,1,81,20,17,199,49,
-229,114,153,86,171,133,101,89,4,65,64,150,101,71,146,194,211,199,115,28,
-103,49,77,211,62,185,166,105,125,77,123,184,103,69,165,20,158,231,225,121,
-94,223,219,237,118,251,87,203,178,174,157,57,115,230,151,3,82,132,97,200,
-210,210,18,0,27,27,27,172,173,173,17,199,49,15,30,60,64,74,201,230,230,
-38,213,106,21,215,117,169,213,106,180,219,109,44,203,98,168,2,229,241,2,
-83,83,83,175,143,143,143,255,180,176,176,240,245,1,226,92,46,71,177,88,
-68,74,137,82,10,195,48,200,229,114,12,14,14,246,253,236,251,62,141,70,131,
-32,8,40,20,10,0,60,108,255,204,95,206,50,0,134,97,200,233,233,233,247,110,
-220,184,241,73,95,99,165,20,123,123,123,56,142,195,192,192,0,73,146,144,
-36,9,173,86,139,66,161,64,16,4,132,97,72,189,94,231,197,151,53,22,119,191,
-193,16,57,118,194,58,73,154,210,240,183,248,219,175,243,206,196,156,152,
-157,157,189,38,132,248,84,135,39,173,58,51,51,131,166,105,84,42,21,52,77,
-67,211,52,78,159,62,141,239,251,140,140,140,224,56,14,74,41,242,162,136,
-27,236,209,73,28,102,198,222,199,87,14,63,110,207,51,81,124,141,156,86,
-68,27,140,43,182,109,191,251,140,143,179,44,35,203,50,148,82,184,174,75,
-24,134,184,174,75,28,199,68,81,4,241,0,70,98,210,236,252,201,96,124,140,
-114,102,211,112,87,41,201,34,81,16,17,69,17,231,207,159,127,85,63,76,92,
-175,215,9,130,128,74,165,194,221,187,119,177,109,155,106,181,202,248,248,
-56,245,122,157,142,249,59,63,60,254,156,56,141,184,25,124,128,34,192,87,
-53,22,54,63,163,164,29,99,40,59,197,202,202,74,85,246,72,123,49,54,54,70,
-150,101,152,166,73,62,159,39,142,99,76,211,36,151,203,225,56,14,35,210,
-230,141,242,69,102,79,124,140,207,99,208,34,46,158,188,206,116,229,67,134,
-141,83,248,190,191,190,186,186,186,245,76,131,212,106,53,154,205,38,163,
-163,163,180,90,45,12,195,160,209,104,48,49,49,65,183,219,37,13,77,206,150,
-174,96,154,38,213,238,119,12,234,35,28,47,188,201,73,249,54,97,24,50,63,
-63,255,5,176,36,128,115,174,235,46,246,26,163,55,111,59,157,14,174,235,
-246,103,135,101,89,220,187,119,239,143,90,173,38,46,92,184,48,57,52,52,
-132,105,154,104,154,6,64,20,69,201,242,242,242,87,151,47,95,190,158,101,
-217,111,58,144,174,173,173,97,154,230,1,173,147,36,233,15,253,177,177,49,
-238,223,191,191,50,55,55,247,22,224,93,189,122,245,203,233,233,233,179,
-147,147,147,39,0,191,213,106,61,188,125,251,246,247,183,110,221,186,153,
-101,89,181,215,210,38,240,10,80,2,94,0,70,128,34,80,0,6,0,227,233,242,129,
-232,233,215,5,66,32,15,116,129,109,96,3,104,2,29,32,248,7,9,91,24,112,214,
-171,56,112,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_112 = 1253;
-static unsigned char xml_res_file_112[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,4,172,73,68,65,84,120,218,173,149,11,76,147,87,20,
-199,187,108,162,34,58,97,201,54,133,85,29,136,128,128,44,186,177,177,217,
-241,16,8,32,110,208,185,68,139,74,213,205,41,75,166,78,5,3,44,68,172,188,
-203,163,3,164,93,176,36,40,4,179,192,2,25,143,149,247,251,45,85,17,84,30,
-19,5,95,144,5,231,82,129,175,255,221,243,37,109,156,226,50,147,125,201,
-73,191,222,123,207,239,156,123,238,255,220,79,32,248,15,207,249,243,231,
-21,165,165,165,205,101,101,101,45,121,121,121,105,130,255,233,121,165,173,
-173,237,201,227,199,143,65,214,222,222,254,132,198,94,154,146,154,154,250,
-181,66,161,56,97,248,31,17,17,97,51,48,48,192,233,116,58,144,93,187,118,
-141,139,138,138,90,107,152,87,171,213,63,228,228,228,132,253,43,52,35,35,
-35,101,112,112,112,110,100,100,68,95,84,84,84,90,93,93,221,215,211,211,
-51,59,61,61,141,167,237,234,213,171,115,85,85,85,189,172,60,149,183,110,
-221,210,15,13,13,113,217,217,217,242,121,161,50,153,108,47,57,220,191,127,
-31,15,30,60,192,212,212,20,38,39,39,121,163,247,103,205,48,247,240,225,
-67,144,15,249,50,70,232,115,96,185,92,126,92,171,213,234,239,220,185,131,
-123,247,238,193,16,224,246,237,219,152,152,152,192,248,248,184,209,198,
-198,198,248,121,90,119,247,238,93,126,205,165,75,151,244,196,152,55,107,
-182,157,223,70,71,71,121,71,114,186,126,253,58,250,251,251,193,182,106,
-180,155,55,111,226,202,149,43,252,56,5,33,40,141,49,95,205,11,107,172,84,
-42,181,180,104,120,120,152,182,6,195,59,217,211,96,118,14,116,136,60,156,
-230,46,95,190,12,149,74,213,55,175,164,194,195,195,133,149,149,149,179,
-76,1,32,235,237,237,53,102,219,218,218,202,105,52,154,137,230,230,230,137,
-190,190,62,142,198,8,204,74,199,91,71,71,7,202,203,203,103,98,98,98,172,
-140,82,76,75,75,147,49,225,235,24,148,163,69,148,41,101,192,106,198,255,
-54,52,52,112,233,233,233,174,158,167,237,119,137,98,109,167,61,100,246,
-127,42,202,226,244,55,134,110,240,80,166,113,222,88,64,48,21,113,140,163,
-99,114,141,19,36,36,36,20,183,180,180,240,81,153,180,140,89,24,222,89,215,
-141,81,2,162,248,181,143,246,158,219,138,253,25,98,248,202,157,176,61,209,
-27,23,107,243,249,53,4,37,35,31,226,36,38,38,150,8,226,227,227,139,235,
-235,235,97,128,83,9,40,211,174,174,46,62,235,252,252,252,17,2,111,138,182,
-196,1,229,151,56,149,119,18,49,63,157,192,142,76,111,248,100,58,64,124,
-218,11,245,221,26,190,52,228,195,202,5,198,44,17,196,198,198,70,23,23,23,
-207,84,84,84,112,4,239,236,236,228,193,180,189,238,238,110,176,160,92,97,
-97,161,139,93,152,57,66,84,222,248,86,41,193,17,149,20,17,185,97,248,46,
-91,138,192,244,247,225,18,190,2,161,177,98,212,183,214,113,172,28,51,113,
-113,113,209,198,195,139,140,140,92,85,82,82,50,75,112,218,18,5,48,192,217,
-33,114,54,95,153,33,56,215,21,59,149,94,216,173,244,195,190,156,207,113,
-144,237,224,48,11,178,231,71,127,248,36,58,195,90,186,236,209,219,1,139,
-162,5,238,130,215,158,213,177,182,169,169,137,7,82,214,76,13,116,233,240,
-234,176,222,103,134,128,11,235,17,112,206,25,126,42,39,248,159,221,128,
-109,89,27,17,156,245,49,36,217,222,172,76,95,32,40,243,67,56,28,55,199,
-91,162,133,101,255,0,39,37,37,149,83,198,4,38,40,213,140,234,79,191,239,
-74,77,17,84,234,140,224,95,222,195,182,139,206,240,191,224,0,95,181,29,
-60,149,214,16,101,174,193,39,169,66,120,200,109,225,165,176,197,155,30,
-139,102,141,208,148,148,148,163,76,42,250,218,218,90,212,213,213,161,177,
-177,145,207,150,78,157,154,96,117,168,41,36,77,31,96,127,135,59,118,55,
-184,97,167,198,21,219,127,221,136,160,18,23,124,246,179,19,2,138,28,176,
-57,71,136,53,33,102,88,102,191,64,253,116,182,82,118,99,205,17,140,234,
-74,234,32,40,181,47,181,185,80,178,24,7,250,61,16,62,42,198,225,129,173,
-56,164,245,193,55,189,94,216,215,245,41,196,85,206,112,60,97,1,75,215,165,
-127,44,181,91,176,231,185,251,154,221,197,103,106,106,106,230,88,157,245,
-76,102,21,5,5,5,237,44,243,25,2,191,35,89,136,99,227,129,72,249,235,32,
-206,76,73,113,106,50,4,135,127,247,131,232,172,16,43,61,151,192,61,200,
-173,85,176,78,176,244,133,247,5,235,50,105,86,86,214,81,131,90,88,155,174,
-102,221,200,89,237,48,65,228,148,24,185,136,68,6,194,32,105,217,4,161,120,
-177,126,221,230,85,253,81,178,136,147,47,243,49,49,101,102,105,98,98,226,
-200,14,111,198,38,196,2,7,6,221,113,108,34,16,142,223,191,129,229,235,23,
-142,174,216,176,124,151,155,155,155,201,203,126,165,150,48,91,201,204,49,
-57,57,89,125,228,212,161,33,161,239,235,115,43,62,50,211,173,180,51,87,
-136,182,136,236,173,172,172,44,88,224,87,231,115,254,27,31,117,206,23,193,
-15,59,58,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_113 = 1073;
-static unsigned char xml_res_file_113[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,3,248,73,68,65,84,120,218,173,148,107,72,84,105,24,
-199,143,37,19,109,69,223,219,173,140,214,178,240,131,212,135,8,10,130,162,
-162,164,250,216,118,195,11,108,171,101,44,227,150,214,76,139,160,150,226,
-221,1,93,71,170,153,152,139,216,194,8,10,206,104,222,93,239,163,54,222,
-69,103,212,241,62,58,176,178,194,92,60,243,236,243,188,121,134,105,154,
-164,160,3,63,206,57,239,229,255,252,223,231,125,222,151,227,190,226,81,
-171,213,178,202,202,202,127,170,170,170,218,148,74,101,62,247,157,158,160,
-142,142,14,231,250,250,58,16,157,157,157,78,106,251,102,149,188,188,188,
-95,101,50,217,19,225,63,57,57,249,231,209,209,81,222,225,112,0,49,50,50,
-194,75,165,210,80,161,95,161,80,252,89,82,82,242,96,75,209,194,194,194,
-156,177,177,177,13,139,197,226,41,47,47,175,172,171,171,251,208,219,219,
-235,94,91,91,3,95,134,134,134,54,106,106,106,250,48,61,134,153,153,25,207,
-228,228,36,95,92,92,156,27,80,52,61,61,61,134,38,44,47,47,131,205,102,3,
-187,221,14,171,171,171,12,250,246,71,232,91,89,89,1,154,67,115,81,35,234,
-51,225,220,220,220,199,38,147,201,51,55,55,7,75,75,75,32,4,152,157,157,
-133,133,133,5,152,159,159,247,98,181,90,89,63,141,91,92,92,100,99,250,251,
-251,61,164,17,208,53,46,167,118,106,106,138,77,164,73,227,227,227,48,60,
-60,12,184,84,47,19,19,19,48,56,56,200,218,41,8,137,82,27,206,125,255,197,
-28,203,229,114,19,13,50,155,205,180,52,16,190,9,95,97,220,7,218,68,38,78,
-125,3,3,3,80,90,90,250,33,96,73,37,37,37,29,48,24,12,110,172,0,32,250,250,
-250,188,110,219,219,219,121,172,225,5,162,181,181,149,23,132,49,117,140,
-174,174,46,168,174,174,118,165,164,164,252,228,45,197,252,252,252,116,156,
-224,64,81,158,6,145,83,114,128,57,99,239,230,230,102,62,45,45,237,148,224,
-64,163,209,156,194,128,252,244,244,52,115,79,1,8,114,142,102,120,172,115,
-7,150,224,75,46,51,51,83,215,214,214,198,162,98,105,121,93,8,223,120,234,
-172,36,248,116,255,254,104,121,88,216,127,165,71,142,0,33,15,13,245,82,
-114,248,48,227,47,68,30,30,14,178,184,184,94,46,35,35,67,215,212,212,4,
-130,56,165,128,156,246,244,244,48,215,42,149,202,66,194,41,123,246,216,
-223,93,189,10,234,216,88,80,199,196,128,58,42,202,139,74,0,219,181,23,47,
-194,243,189,123,93,92,106,106,234,115,157,78,231,210,235,245,60,137,119,
-119,119,51,97,60,198,96,52,26,1,131,242,101,101,101,17,18,145,200,253,246,
-250,117,38,170,242,21,67,52,155,1,52,216,167,188,118,13,36,193,193,188,
-119,243,36,18,201,193,138,138,10,55,137,83,26,40,128,32,78,57,149,238,220,
-9,202,51,103,224,13,58,122,115,225,2,67,225,15,246,41,78,159,134,164,224,
-96,183,127,29,155,112,215,153,32,185,198,106,160,75,135,85,135,84,36,130,
-183,71,143,194,171,176,48,120,69,111,228,181,63,216,167,196,252,63,217,
-190,253,83,225,172,172,172,106,114,76,194,36,74,121,166,252,211,251,25,
-10,255,125,232,16,104,67,66,2,82,182,201,59,228,177,175,112,78,78,142,24,
-75,206,211,208,208,0,141,141,141,208,210,210,194,220,82,101,80,41,225,242,
-224,253,241,227,160,63,118,12,12,91,80,139,174,197,219,182,185,125,221,
-70,227,141,181,65,98,148,87,170,14,18,165,227,75,199,28,151,7,198,147,39,
-161,235,196,137,128,116,99,31,97,140,136,128,223,57,206,237,127,23,191,
-168,175,175,223,192,60,123,176,204,244,90,173,182,19,157,187,72,56,49,40,
-8,44,231,206,129,245,210,37,48,227,70,153,207,159,255,4,11,182,89,47,95,
-134,137,179,103,225,145,191,48,61,5,5,5,209,69,69,69,98,161,90,240,152,
-134,224,105,228,177,1,236,55,110,128,35,33,1,156,137,226,207,112,255,145,
-8,206,71,9,96,139,140,132,135,28,231,220,234,222,255,1,249,81,36,18,133,
-227,230,185,196,187,119,195,242,149,43,0,241,241,192,63,32,226,62,18,183,
-249,198,54,136,255,13,230,209,249,125,142,179,109,37,188,11,217,135,132,
-103,103,103,43,94,196,198,90,238,238,216,193,223,65,231,196,109,63,110,
-33,191,32,55,57,238,223,72,142,187,247,63,38,28,236,199,119,126,212,128,
-0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_114 = 1016;
-static unsigned char xml_res_file_114[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,3,117,73,68,65,84,56,141,141,149,207,
-107,27,71,24,134,159,217,221,145,180,146,237,181,108,199,74,107,67,140,
-169,66,126,181,135,82,138,113,66,28,218,132,18,104,110,165,135,158,243,
-15,244,218,75,66,206,57,153,92,138,131,111,73,105,14,57,148,98,98,124,8,
-9,212,184,13,238,201,164,134,58,166,212,137,65,150,28,203,94,239,174,164,
-89,237,244,144,149,35,201,146,221,23,134,15,102,191,247,153,249,190,157,
-97,132,214,154,163,228,222,186,149,147,131,131,57,107,112,112,24,32,44,
-149,182,212,246,118,161,247,206,157,194,81,62,209,9,252,230,218,181,139,
-27,245,250,247,123,150,117,69,91,214,96,164,53,170,86,35,97,24,244,219,
-54,41,41,49,194,176,40,130,224,233,128,214,211,35,11,11,191,29,11,126,122,
-250,244,207,79,202,229,111,51,90,51,98,219,152,82,98,72,137,144,18,0,173,
-20,145,82,7,177,71,74,78,165,211,63,77,172,174,126,215,21,252,50,151,187,
-49,171,245,47,253,97,72,58,153,68,196,192,110,96,173,20,186,86,163,207,
-182,153,84,234,198,249,66,225,215,6,203,106,94,229,237,238,238,232,149,
-124,158,37,223,167,18,4,24,128,128,131,8,160,129,168,17,133,64,56,14,103,
-51,25,118,214,214,78,52,179,90,192,42,12,11,31,108,110,242,77,62,207,159,
-169,20,155,213,42,91,149,10,161,16,152,226,29,186,46,37,150,214,12,167,
-82,124,152,76,242,137,235,82,93,93,165,170,84,161,43,216,16,194,85,181,
-26,114,125,157,47,6,6,232,25,29,37,117,230,12,81,54,75,41,153,164,30,69,
-244,238,236,160,138,69,202,107,107,236,173,172,224,6,1,0,166,16,110,87,
-176,22,194,21,128,16,130,176,82,161,186,185,137,85,46,99,152,38,182,231,
-225,5,1,69,223,199,15,2,124,223,135,40,122,247,163,98,111,203,38,219,193,
-141,68,211,48,144,134,129,52,77,146,166,137,161,53,34,138,176,132,192,2,
-76,173,17,77,189,143,148,58,2,92,171,237,211,65,229,11,23,24,90,92,100,
-100,113,145,189,147,39,59,165,160,161,197,219,2,86,224,210,166,45,41,25,
-186,123,151,173,219,183,121,51,51,195,248,236,44,27,249,60,237,215,42,104,
-243,182,128,135,58,128,245,205,155,248,203,203,88,11,11,184,143,31,227,
-140,143,51,48,53,117,208,2,0,1,209,215,90,251,205,190,67,55,239,247,222,
-222,106,38,157,78,132,169,20,161,227,224,244,247,51,36,37,186,84,194,245,
-125,138,158,71,49,155,197,205,229,24,126,254,188,1,222,155,10,67,167,235,
-142,99,185,0,111,109,155,143,230,230,136,46,93,34,29,31,41,1,100,128,204,
-213,171,92,188,119,143,221,248,108,235,14,149,30,6,107,237,2,248,81,68,
-178,167,135,96,105,233,240,210,15,31,98,59,14,59,151,47,199,117,139,255,
-1,142,147,194,108,150,237,245,117,122,13,3,47,145,64,1,145,214,20,39,38,
-168,140,141,81,122,245,10,181,191,223,178,153,102,89,237,19,196,199,230,
-227,98,145,191,31,60,224,179,153,25,236,190,62,74,211,211,120,243,243,124,
-126,255,62,27,47,94,240,215,163,71,140,45,47,183,120,142,3,23,27,165,156,
-159,159,167,254,236,25,21,192,12,2,122,106,53,254,152,154,34,179,177,65,
-191,231,17,189,247,148,142,109,69,61,138,126,132,247,30,105,154,200,68,
-2,211,178,16,192,137,237,237,118,75,84,23,98,246,88,240,164,231,205,253,
-147,14,175,87,68,180,210,161,154,22,85,13,189,242,175,35,174,127,169,212,
-147,246,111,29,159,166,134,102,39,79,157,251,20,231,171,180,97,141,214,
-131,234,176,231,7,236,4,222,150,171,130,215,171,194,157,255,225,181,126,
-217,205,43,180,214,8,33,76,32,9,216,64,42,30,118,211,72,199,209,4,106,64,
-5,240,129,32,30,149,56,54,230,212,127,38,246,153,23,175,107,146,193,0,0,
-0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_115 = 942;
-static unsigned char xml_res_file_115[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,3,0,0,
-0,243,106,156,9,0,0,0,3,115,66,73,84,8,8,8,219,225,79,224,0,0,0,9,112,72,
-89,115,0,0,13,215,0,0,13,215,1,66,40,155,120,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,164,80,76,84,69,255,255,255,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,46,46,47,47,47,22,22,22,26,26,26,16,
-16,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,7,7,7,17,
-17,17,5,5,5,5,5,5,3,3,3,5,5,5,1,1,1,0,0,0,0,0,0,0,0,0,7,7,7,0,0,0,2,2,2,
-5,5,5,32,32,32,32,32,32,3,3,3,0,0,0,20,20,20,22,22,22,20,20,20,21,21,21,
-14,14,14,59,59,59,44,44,44,55,55,55,55,55,55,63,63,63,49,49,49,67,67,67,
-84,84,84,117,117,117,17,17,17,83,83,82,85,84,83,60,54,50,139,139,139,75,
-75,75,80,80,80,87,87,87,32,32,32,66,66,66,74,74,74,81,59,41,114,114,114,
-129,129,129,132,123,115,159,145,131,3,3,3,7,7,7,11,11,11,14,14,14,16,10,
-7,16,16,16,17,17,17,18,18,18,20,20,20,29,21,15,30,30,30,31,18,10,32,32,
-32,33,33,33,34,34,34,35,16,0,36,26,22,38,38,38,45,28,17,45,45,45,48,39,
-33,54,32,14,56,56,56,62,62,62,65,65,65,68,32,3,71,71,71,73,73,73,75,40,
-12,78,40,12,82,68,57,82,82,82,84,84,84,85,85,85,88,40,0,89,86,84,93,93,
-93,95,60,34,96,45,1,96,63,37,100,72,48,102,98,97,103,82,69,105,99,96,108,
-52,1,111,111,111,112,86,70,116,71,33,119,56,2,120,68,21,120,120,120,123,
-93,67,124,65,13,124,101,80,127,127,127,131,131,131,133,133,133,137,137,
-137,138,138,138,142,142,142,144,96,52,144,144,144,147,147,147,154,98,57,
-154,99,58,164,114,75,169,121,85,177,153,130,184,184,184,192,192,192,103,
-23,24,185,0,0,0,70,116,82,78,83,0,1,2,3,7,8,13,14,27,29,35,39,46,51,67,
-89,102,129,130,132,141,149,155,170,172,174,181,181,184,185,192,193,199,
-205,205,205,207,208,210,215,220,223,233,234,240,242,245,245,247,247,248,
-249,249,249,250,251,251,252,252,253,253,253,254,254,254,254,254,254,254,
-254,97,218,180,148,0,0,1,42,73,68,65,84,120,218,181,144,77,82,194,48,0,
-70,211,36,109,33,164,72,45,80,8,202,128,227,168,27,217,184,114,198,133,
-39,112,229,145,57,130,186,113,212,138,163,69,104,169,144,74,250,147,54,
-14,58,14,23,208,183,248,22,111,247,61,240,143,160,159,181,187,68,101,128,
-182,90,90,166,182,186,62,100,117,185,212,216,160,89,227,233,175,134,150,
-211,182,97,2,173,70,139,170,180,204,213,183,54,122,29,231,66,143,208,245,
-217,84,223,63,157,18,83,20,27,109,247,174,78,40,12,118,120,84,1,3,122,112,
-244,42,214,0,3,203,165,143,184,200,187,111,28,24,236,193,212,36,117,83,
-142,204,61,231,210,177,113,200,93,47,57,156,41,230,218,251,62,140,81,163,
-125,238,61,205,26,120,169,124,89,79,93,253,238,133,31,79,5,38,100,226,244,
-165,111,43,19,2,51,70,254,16,127,76,8,193,164,159,43,27,22,139,220,91,43,
-175,178,114,58,101,132,251,115,84,45,59,150,76,132,231,63,7,171,85,161,
-118,203,69,51,187,15,96,44,88,181,192,76,132,115,145,204,67,193,176,33,
-93,17,35,9,102,209,104,124,179,12,242,205,105,115,18,142,198,183,239,145,
-6,116,106,213,50,30,175,193,6,66,45,227,147,199,249,54,227,182,233,95,241,
-5,50,224,131,57,134,44,229,10,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_116 = 3816;
-static unsigned char xml_res_file_116[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,
-24,0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,
-32,112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,4,3,73,68,65,84,120,218,172,148,107,108,20,85,24,134,159,157,
-217,217,157,189,116,187,93,74,21,10,82,180,98,27,174,178,96,162,88,185,
-165,164,66,248,1,165,38,134,24,141,133,24,69,188,80,48,132,32,52,68,3,68,
-141,81,19,13,150,68,227,15,155,80,16,47,85,27,33,82,106,53,114,41,6,202,
-77,37,93,44,149,110,221,182,219,237,118,119,103,103,118,230,248,131,69,
-27,16,106,8,111,242,229,156,31,39,239,121,243,157,231,124,246,37,75,43,
-1,240,122,220,204,158,53,147,104,44,182,32,163,107,203,98,3,3,165,137,100,
-194,227,80,85,205,239,243,159,214,51,86,195,168,188,220,150,99,109,39,49,
-205,12,35,201,62,108,159,3,188,251,229,103,251,138,218,207,180,127,1,180,
-120,114,252,81,195,48,109,186,22,159,86,54,231,161,183,23,150,87,180,3,
-47,2,177,145,140,165,236,170,206,152,62,249,147,245,235,95,238,81,189,158,
-247,132,16,37,66,136,178,161,193,104,113,58,53,24,251,77,136,183,46,235,
-247,60,82,91,187,37,49,99,106,73,61,224,30,201,216,6,80,93,253,204,214,
-125,251,247,123,55,108,120,101,112,211,198,154,106,224,103,224,36,112,36,
-1,63,93,6,67,6,43,165,33,30,45,45,125,191,170,114,73,95,71,168,243,213,
-145,18,223,33,73,182,121,21,143,111,169,219,180,177,102,54,208,157,173,
-30,3,126,53,192,27,128,124,160,0,8,84,172,220,254,78,90,211,231,3,99,111,
-102,44,3,75,22,45,173,246,111,127,253,185,153,170,204,81,96,8,176,128,83,
-105,48,20,8,200,224,147,192,167,89,248,125,129,18,221,150,138,77,31,236,
-239,138,169,78,231,121,213,233,228,191,202,158,227,241,204,154,114,255,
-131,73,191,194,124,96,178,5,245,18,184,13,112,217,161,248,106,2,5,112,56,
-192,231,67,243,23,76,138,202,210,129,82,224,243,27,82,161,186,221,158,113,
-227,39,230,2,26,160,72,48,207,132,211,38,220,37,253,251,184,255,200,180,
-208,199,77,152,144,103,151,229,158,155,226,22,137,68,58,237,82,102,121,
-28,210,57,87,240,243,91,112,95,246,34,155,5,152,128,1,104,26,104,41,140,
-137,163,92,37,154,174,55,142,196,113,75,50,118,113,221,165,72,160,107,194,
-104,92,22,40,2,124,54,176,164,108,179,117,32,1,68,250,32,71,197,166,199,
-59,199,132,195,145,163,35,225,166,204,157,91,246,205,190,239,90,202,206,
-119,145,202,191,19,225,116,99,169,89,100,44,32,9,68,34,16,234,128,5,83,
-112,109,93,255,236,167,161,80,231,106,128,134,134,61,184,115,60,96,154,
-196,98,113,134,18,113,34,145,62,236,128,113,248,240,15,27,247,126,84,119,
-96,197,170,213,121,205,39,192,235,135,64,0,20,5,140,244,149,164,137,1,88,
-252,0,180,54,53,17,141,14,236,110,106,250,154,164,166,97,26,230,13,113,
-3,232,110,108,252,234,76,192,237,90,248,244,99,15,123,117,19,194,97,136,
-246,131,174,65,241,88,152,83,12,175,109,222,124,73,146,229,161,85,171,170,
-87,6,2,121,121,70,38,243,189,176,4,138,211,1,66,144,78,235,232,134,78,50,
-153,186,238,162,105,170,67,169,219,177,227,205,63,155,91,219,180,83,231,
-186,204,230,214,54,173,118,219,182,139,192,14,160,64,146,165,181,245,123,
-246,138,15,62,220,45,18,169,84,253,224,224,144,55,35,4,153,76,134,190,190,
-40,127,116,118,114,188,237,151,43,95,122,184,84,135,130,166,27,133,192,
-248,236,76,136,2,23,128,120,246,136,123,97,121,249,199,203,43,171,170,76,
-211,226,169,39,159,56,225,246,184,87,96,154,161,225,61,150,175,195,68,150,
-201,152,86,28,232,2,66,64,56,11,198,85,25,161,142,142,230,194,194,177,139,
-239,157,52,169,224,236,217,115,99,238,158,88,180,220,233,112,124,155,78,
-235,189,87,91,33,113,107,138,212,237,218,181,236,76,251,169,139,163,71,
-229,115,228,200,177,241,241,120,226,32,80,114,237,216,188,21,253,254,198,
-206,157,85,199,219,142,118,231,250,124,132,195,221,133,138,83,105,4,138,
-134,83,113,109,43,254,175,249,229,230,67,135,126,204,207,31,189,40,56,123,
-86,174,203,229,10,56,85,117,126,180,63,122,253,12,81,29,202,173,164,159,
-250,210,186,154,142,158,191,122,133,16,66,164,210,233,131,183,203,24,160,
-116,205,154,181,23,122,122,123,69,48,24,124,254,118,26,3,76,118,56,28,47,
-4,131,65,254,30,0,13,164,183,74,221,48,55,185,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_117 = 813;
-static unsigned char xml_res_file_117[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,3,118,0,0,3,118,1,125,213,130,204,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,2,170,73,68,65,84,56,141,181,149,221,
-138,20,87,16,199,127,117,206,233,175,233,29,191,2,42,145,4,9,9,72,136,183,
-33,23,46,193,60,64,46,68,240,5,188,210,171,224,203,120,225,59,4,159,33,
-33,8,66,2,65,49,134,68,116,69,65,215,85,215,221,153,222,233,238,83,229,
-197,204,236,244,124,100,179,73,72,65,117,159,234,110,126,245,63,127,234,
-208,98,102,252,31,17,22,31,136,200,199,192,71,211,242,144,28,3,158,154,
-217,198,95,130,129,79,159,108,108,220,46,242,60,23,17,22,19,145,113,183,
-233,125,18,235,235,235,151,128,101,240,245,91,191,63,120,61,104,206,93,
-188,118,11,231,19,146,52,221,135,185,5,232,92,131,73,120,239,93,87,221,
-126,177,93,181,159,124,251,229,105,190,254,226,3,188,119,184,9,208,57,135,
-76,114,90,187,197,181,115,156,249,230,187,239,175,222,124,184,181,4,246,
-206,225,220,88,131,19,153,135,117,154,116,179,107,209,133,207,79,72,85,
-199,19,75,86,36,137,151,38,26,77,180,37,11,166,13,68,102,155,239,174,1,
-154,104,164,105,202,18,216,251,148,65,213,82,141,116,14,212,85,182,10,56,
-173,247,70,74,200,252,178,199,222,7,25,140,148,170,86,224,96,232,220,148,
-76,162,106,20,31,102,67,214,81,28,216,25,181,12,235,56,179,96,1,122,144,
-21,85,173,4,151,204,222,159,191,113,71,205,236,176,7,225,80,33,96,193,137,
-112,249,194,217,119,71,203,244,136,1,26,27,202,60,93,82,244,119,103,112,
-80,213,56,23,120,245,174,121,123,251,206,227,99,33,79,147,246,222,179,198,
-78,30,47,80,85,98,11,199,215,220,12,124,16,208,192,198,23,222,14,32,36,
-158,87,219,21,89,26,218,208,43,178,161,119,248,50,15,196,168,68,175,244,
-242,176,63,211,171,200,170,74,140,113,76,6,162,66,153,167,132,36,176,181,
-141,239,229,217,48,244,139,236,141,192,169,94,6,109,11,234,161,151,143,
-103,120,181,15,70,211,40,73,49,158,217,186,174,217,29,41,69,238,73,2,136,
-104,88,43,178,205,208,47,179,103,2,31,22,137,210,72,196,188,81,230,147,
-49,91,185,123,161,113,66,154,10,77,211,82,105,75,145,58,32,146,4,112,130,
-63,82,230,207,67,191,240,143,170,189,230,171,204,55,120,20,83,165,151,185,
-5,197,93,176,81,139,32,18,25,212,21,121,2,160,0,4,175,56,212,151,189,228,
-207,80,200,222,195,218,57,87,164,208,70,48,131,34,147,142,199,93,59,12,
-51,16,51,118,134,21,121,58,255,133,247,224,196,92,153,232,253,32,163,205,
-159,131,63,77,140,45,49,142,59,191,216,220,226,223,132,224,8,65,200,100,
-120,55,60,185,251,227,15,103,47,94,209,162,56,234,151,102,247,31,134,153,
-209,47,106,125,249,235,47,63,137,153,33,34,231,122,107,107,159,1,216,225,
-127,71,43,20,163,195,221,221,223,204,236,143,41,56,1,250,255,73,238,68,
-52,176,99,102,237,123,126,10,249,84,233,61,233,68,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_118 = 975;
-static unsigned char xml_res_file_118[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,3,118,0,
-0,3,118,1,125,213,130,204,0,0,0,7,116,73,77,69,7,217,9,13,17,20,6,220,182,
-230,204,0,0,3,79,73,68,65,84,56,203,173,149,75,104,156,85,28,197,127,255,
-123,191,251,189,38,211,60,154,12,83,51,181,121,32,198,160,41,81,136,80,
-138,143,46,20,124,52,69,20,165,104,193,149,104,48,66,235,166,11,235,166,
-171,130,80,176,224,66,81,138,69,40,104,201,194,77,23,138,11,45,217,52,22,
-141,169,49,77,210,196,105,147,38,109,154,33,227,76,102,190,153,239,186,
-136,137,139,150,52,49,30,184,92,46,127,56,156,123,206,185,92,97,179,56,
-133,22,159,126,165,229,205,102,55,147,182,174,245,174,231,174,141,197,98,
-191,73,180,241,81,254,105,202,0,178,41,210,211,164,164,196,224,190,135,
-182,183,6,110,1,88,254,103,224,83,204,5,252,48,178,48,65,3,123,170,135,
-184,177,113,226,239,49,50,202,165,61,237,166,179,190,182,194,139,77,253,
-188,176,163,143,148,219,194,124,121,154,179,215,143,243,245,196,25,6,199,
-42,217,186,4,173,106,163,188,50,205,225,100,29,157,245,181,17,7,210,135,
-217,215,248,6,39,174,188,198,203,23,19,28,251,229,89,30,78,62,73,253,182,
-10,201,29,100,114,101,142,172,41,126,231,211,209,203,11,127,69,29,171,231,
-192,211,11,77,141,193,243,39,94,105,25,4,144,79,184,212,179,147,221,53,
-53,112,230,241,73,142,13,239,103,38,254,21,128,210,50,104,32,178,144,207,
-195,197,57,70,156,85,162,92,177,210,214,219,147,198,53,43,151,24,159,45,
-52,12,141,47,94,120,245,228,176,21,129,115,244,40,99,10,4,1,52,121,25,110,
-196,151,215,110,227,249,43,187,3,148,74,160,45,77,107,196,90,41,68,253,
-107,121,123,58,164,61,29,202,106,192,231,39,18,64,1,128,155,229,44,153,
-160,131,233,226,240,221,125,75,226,173,121,108,140,150,114,197,82,138,226,
-187,174,26,127,59,81,5,138,69,24,200,158,162,191,229,11,218,194,110,20,
-14,77,180,243,238,253,159,83,44,66,20,1,14,87,229,145,35,131,177,181,246,
-158,237,184,149,249,138,252,3,31,211,237,131,235,9,47,221,247,30,189,205,
-125,164,220,93,204,149,166,56,59,115,156,129,201,211,252,92,130,228,149,
-183,172,116,189,63,104,95,127,170,53,183,45,52,181,122,29,250,42,21,62,
-40,62,70,178,242,39,153,0,140,129,32,88,153,173,42,205,22,96,201,223,89,
-77,127,247,165,114,140,214,241,208,84,185,90,27,106,148,216,245,10,199,
-115,234,60,223,166,122,153,143,199,232,204,175,4,5,16,85,97,196,130,83,
-211,204,19,127,156,91,202,138,36,29,215,152,72,68,105,223,119,17,236,186,
-118,120,52,115,240,246,5,134,252,147,140,39,7,200,219,41,28,229,227,169,
-58,30,45,28,162,107,254,109,110,218,178,120,238,124,228,248,158,89,22,80,
-129,171,177,214,110,224,169,4,236,173,30,101,239,226,209,59,71,142,32,148,
-180,231,154,162,19,120,102,73,136,27,60,35,196,177,101,43,80,74,16,172,
-14,61,119,193,73,248,238,109,165,164,49,240,132,74,85,182,68,236,104,65,
-4,9,125,115,203,73,248,102,206,90,251,160,111,20,145,218,154,98,163,21,
-34,168,208,55,179,78,232,233,107,133,82,36,190,11,42,186,87,124,235,117,
-6,92,3,10,43,53,158,158,118,18,190,158,92,46,151,149,231,196,96,227,255,
-46,87,192,117,64,41,84,232,171,113,39,240,100,84,139,85,154,18,158,138,
-183,100,133,70,161,196,170,132,239,252,230,204,142,254,52,173,83,221,44,
-228,203,84,170,118,203,225,105,37,100,127,255,113,76,58,158,217,31,30,236,
-251,44,183,43,93,231,240,63,224,234,204,98,244,225,129,148,191,218,175,
-46,96,247,166,255,192,59,17,3,67,192,200,223,141,74,44,172,152,138,19,39,
-0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_119 = 940;
-static unsigned char xml_res_file_119[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,167,147,
-0,0,0,9,112,72,89,115,0,0,9,132,0,0,9,132,1,170,226,99,121,0,0,0,7,116,
-73,77,69,7,215,12,28,17,24,0,131,47,210,15,0,0,3,57,73,68,65,84,120,218,
-221,148,111,104,86,85,28,199,191,231,254,125,158,61,123,166,173,193,178,
-189,177,217,18,18,10,52,42,181,40,105,36,138,25,54,202,2,69,11,37,84,236,
-133,44,124,17,132,8,34,137,41,244,66,100,190,40,10,194,94,4,58,84,208,172,
-23,203,25,41,226,8,68,166,211,41,155,107,255,115,207,158,251,156,251,156,
-123,206,249,245,219,147,61,19,204,166,34,4,125,47,223,203,225,112,249,220,
-239,253,158,115,15,254,51,17,145,203,22,15,27,26,116,92,234,111,95,248,
-225,193,246,39,223,249,242,5,220,135,196,20,96,44,90,127,128,26,95,158,
-131,19,167,47,39,61,3,249,79,93,55,181,171,235,251,117,22,83,200,249,215,
-183,10,129,190,190,94,204,127,177,1,205,27,26,253,87,230,214,237,52,73,
-116,188,190,169,229,177,7,5,151,21,231,6,49,62,46,81,144,10,75,94,127,22,
-239,55,205,109,204,4,232,104,88,249,245,226,123,174,162,246,165,45,142,
-16,14,172,150,160,164,8,178,74,8,29,233,61,95,236,64,98,44,136,0,226,75,
-70,49,14,255,116,149,174,247,203,207,33,156,79,46,31,92,165,238,154,120,
-227,182,175,90,167,85,134,198,26,101,108,34,141,41,142,25,29,13,105,85,
-24,69,190,160,32,37,59,102,23,138,176,4,188,241,234,76,177,240,153,154,
-102,1,115,170,97,229,55,179,238,154,184,126,209,71,212,188,249,93,200,196,
-194,113,93,64,176,225,128,254,42,155,211,18,27,108,11,107,12,12,91,107,
-141,209,155,49,218,206,15,231,114,210,108,232,250,110,205,183,184,37,183,
-60,168,121,122,91,195,83,179,80,136,53,148,6,180,5,12,219,90,193,166,210,
-216,240,164,102,39,137,129,82,9,91,3,164,241,68,109,16,14,12,141,55,85,
-204,94,49,179,122,206,138,31,71,47,28,82,222,100,39,166,180,72,94,152,6,
-193,178,249,78,60,239,160,44,59,1,55,60,111,44,162,188,194,205,177,113,
-12,15,143,242,206,25,68,110,108,12,198,205,172,21,153,25,243,235,223,106,
-105,156,4,11,139,11,157,55,80,253,104,13,178,85,85,72,167,1,207,183,12,
-230,58,104,2,56,145,84,163,200,73,163,72,34,150,18,82,22,184,243,24,4,129,
-84,58,133,40,214,224,245,33,225,250,152,204,35,108,169,134,72,26,126,128,
-80,40,90,196,138,24,4,48,15,102,162,18,114,74,221,123,126,0,47,96,123,62,
-124,223,71,69,38,141,72,129,18,248,251,24,60,175,251,208,166,94,239,239,
-63,108,193,123,91,145,153,94,137,202,71,178,200,78,203,162,130,19,132,129,
-15,215,113,145,20,57,137,181,112,93,13,33,80,26,107,237,33,93,153,66,62,
-255,7,186,175,245,12,16,185,31,252,254,243,238,99,119,236,138,121,203,54,
-30,238,236,188,178,28,68,32,29,223,178,68,182,186,10,235,63,222,207,32,
-195,85,36,136,139,138,93,132,34,133,223,206,252,130,190,158,222,86,199,
-245,215,13,254,186,127,8,183,169,220,241,185,35,251,222,196,63,40,91,251,
-26,133,97,192,201,117,233,203,124,7,24,201,245,227,212,177,214,72,198,201,
-22,199,11,91,24,138,178,202,224,169,20,164,16,48,24,66,64,4,2,29,63,28,
-199,249,182,147,103,225,134,171,114,157,71,47,161,172,251,4,59,97,5,68,
-58,196,112,52,130,35,45,123,77,255,245,238,157,156,114,123,190,235,104,
-242,192,199,102,68,228,44,221,186,199,200,190,17,92,108,111,187,154,40,
-181,58,190,113,230,52,30,134,234,22,188,125,32,93,247,252,103,225,227,207,
-101,241,191,214,159,23,222,188,175,185,200,240,65,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_120 = 907;
-static unsigned char xml_res_file_120[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,167,147,
-0,0,0,9,112,72,89,115,0,0,9,132,0,0,9,132,1,170,226,99,121,0,0,0,7,116,
-73,77,69,7,215,12,28,17,52,7,36,122,44,2,0,0,3,24,73,68,65,84,120,218,221,
-147,73,104,20,65,24,133,95,85,119,207,210,233,76,162,89,197,45,38,42,138,
-11,184,134,184,128,168,120,52,138,251,65,68,65,16,17,60,24,69,111,138,122,
-83,15,130,16,8,56,26,151,147,138,26,2,66,14,138,8,130,16,92,46,110,168,
-24,209,16,152,137,147,100,122,122,186,186,22,171,59,160,130,38,42,122,242,
-53,15,10,138,250,234,175,247,255,141,255,95,83,55,95,88,188,246,224,205,
-251,237,157,207,90,49,138,204,223,6,110,74,83,201,139,45,85,14,78,52,205,
-174,177,110,116,117,47,7,176,231,175,192,13,155,210,53,34,40,180,55,205,
-170,93,179,99,93,19,18,241,24,206,165,111,224,175,42,158,182,245,210,154,
-24,97,237,27,87,207,174,105,156,59,5,130,115,184,218,204,205,140,14,30,
-25,120,217,130,146,39,198,143,141,183,108,94,53,139,86,150,151,32,239,21,
-65,48,44,238,102,81,49,111,187,65,168,9,98,196,21,141,217,0,8,250,30,156,
-150,208,162,63,133,110,185,84,15,37,30,44,154,94,126,104,219,170,122,154,
-176,40,220,130,143,130,23,154,69,230,94,14,60,223,199,69,49,199,101,80,
-16,138,251,162,172,36,38,246,30,189,208,1,45,242,67,147,182,92,220,106,
-91,164,117,197,220,138,178,186,113,41,24,166,9,195,48,64,105,104,10,66,
-134,143,40,165,34,11,33,180,57,120,16,128,49,31,109,87,58,240,246,238,89,
-98,126,55,70,37,128,58,91,237,168,93,141,211,75,225,216,4,121,93,165,105,
-73,152,166,165,225,42,130,19,74,66,120,4,149,82,70,96,30,112,4,140,193,
-211,81,125,206,13,124,203,184,97,67,219,4,201,89,215,228,49,193,140,250,
-90,27,62,99,0,33,136,197,0,75,16,13,167,218,68,195,41,104,8,134,210,31,
-160,36,80,244,5,62,15,184,232,237,203,224,125,207,39,104,206,55,176,148,
-1,20,103,202,205,251,232,249,84,128,227,148,194,118,28,216,182,66,60,65,
-96,89,33,28,26,42,161,64,32,164,66,192,37,10,69,22,229,94,244,60,228,93,
-142,176,145,74,12,131,13,104,229,94,116,14,166,234,87,156,31,44,176,242,
-254,92,126,145,87,100,196,99,18,174,175,224,49,192,11,128,98,160,192,56,
-16,136,16,12,72,69,162,222,83,66,162,203,36,231,81,198,189,61,175,192,178,
-175,142,125,205,184,231,206,97,15,192,190,113,203,91,58,51,89,239,60,53,
-140,90,39,85,30,53,207,210,142,89,150,142,38,166,171,55,163,72,16,194,132,
-136,214,82,41,248,122,47,108,174,157,180,144,143,118,127,162,234,198,61,
-85,82,4,109,149,85,213,205,51,231,44,64,42,85,134,100,50,129,68,60,174,
-225,22,76,211,192,169,3,205,225,252,130,152,73,16,43,161,215,73,140,173,
-172,128,82,242,214,199,238,235,235,8,70,80,229,130,157,144,220,223,173,
-127,223,51,11,151,172,116,38,214,53,32,153,208,240,68,60,170,250,228,254,
-102,176,204,203,17,207,83,140,160,76,119,26,253,79,175,182,185,131,253,
-243,239,117,94,126,244,228,97,87,52,13,166,142,37,174,159,77,168,133,209,
-68,241,11,13,188,184,253,90,114,177,236,241,195,174,227,215,210,167,196,
-64,127,95,4,7,49,240,207,148,28,191,120,73,105,221,210,55,205,71,90,213,
-164,166,245,10,163,232,143,174,229,67,31,63,16,187,38,157,237,253,96,12,
-13,185,207,253,236,187,14,252,55,250,2,157,199,94,6,80,228,102,155,0,0,
-0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_121 = 1510;
-static unsigned char xml_res_file_121[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,5,173,73,68,65,84,72,137,141,150,109,140,84,87,25,
-199,127,231,220,123,103,238,188,238,204,190,117,119,217,93,96,187,236,74,
-132,218,88,40,138,110,137,105,106,108,98,109,144,82,171,130,36,180,69,170,
-65,212,165,181,38,245,3,126,49,182,88,173,4,176,82,73,220,38,166,27,72,
-140,6,18,211,180,5,73,44,182,169,33,150,5,89,151,178,204,50,12,179,192,
-206,204,206,204,206,125,153,59,247,248,97,216,237,203,46,193,39,121,238,
-61,31,206,249,253,239,243,156,123,158,231,8,165,20,183,51,33,54,46,215,
-136,126,38,24,9,119,32,133,116,74,149,108,141,153,127,43,53,124,230,182,
-107,111,37,32,196,250,68,162,117,233,224,189,95,29,216,188,238,190,21,139,
-251,250,218,72,36,99,8,1,133,66,153,177,177,44,39,143,143,100,78,29,123,
-251,79,133,201,177,23,148,250,243,181,5,65,74,169,121,110,154,79,60,249,
-245,193,183,236,191,140,40,53,86,86,42,85,86,106,188,160,212,7,185,186,
-143,23,148,154,40,43,117,161,168,212,209,179,74,109,124,250,132,111,134,
-182,237,92,136,53,47,130,59,238,124,238,247,59,126,53,248,228,151,215,38,
-81,22,216,54,160,64,8,152,157,41,230,30,96,6,65,11,194,235,167,10,188,244,
-204,175,135,179,99,187,31,187,101,138,218,239,124,238,192,206,3,63,223,
-126,87,151,164,84,0,165,64,202,58,88,168,58,84,204,165,240,67,65,4,68,163,
-48,50,225,243,226,142,221,135,175,142,237,126,116,158,64,52,178,109,243,
-227,47,63,63,180,98,105,130,98,190,14,22,128,103,87,72,234,147,228,221,
-38,244,80,124,78,225,163,66,254,205,113,36,10,103,62,40,114,232,7,207,14,
-150,139,251,95,156,19,48,196,134,208,186,167,190,151,187,255,225,251,205,
-66,198,187,249,165,2,36,132,237,51,252,244,59,61,92,202,148,25,58,174,225,
-27,173,159,8,67,213,35,17,160,124,69,164,81,114,252,216,223,57,249,187,
-189,109,85,117,100,82,7,104,108,239,217,217,251,185,123,205,139,231,178,
-184,118,21,77,147,0,72,41,105,54,108,138,37,139,166,184,193,174,13,6,191,
-57,252,95,50,229,36,162,190,53,204,102,192,247,125,20,32,167,36,75,239,
-94,201,200,162,101,79,3,187,116,128,197,247,173,125,188,48,53,195,212,197,
-20,154,38,209,52,13,41,36,66,10,34,201,10,66,10,220,106,13,83,215,249,217,
-214,37,188,122,116,156,191,190,227,226,43,57,23,129,175,20,190,239,227,
-123,30,225,230,36,29,107,86,111,5,118,233,17,177,169,235,158,31,253,176,
-247,226,249,11,204,92,191,134,17,48,62,38,208,98,56,115,57,247,125,69,197,
-170,178,229,225,126,122,22,165,217,125,240,60,149,170,172,131,125,31,165,
-20,85,207,67,203,231,9,220,209,150,140,202,173,43,245,64,60,190,194,211,
-67,100,175,164,240,102,10,232,134,142,166,105,104,82,67,74,129,213,44,234,
-251,49,119,112,192,113,92,6,86,117,113,164,191,137,77,207,190,193,88,218,
-70,249,62,181,154,79,205,175,225,43,69,227,226,30,2,77,241,229,210,104,
-136,181,91,165,44,133,244,105,102,74,57,44,187,138,101,123,88,142,139,237,
-184,212,106,62,11,153,82,138,68,44,204,209,125,15,209,18,87,88,150,131,
-229,184,88,182,75,185,226,226,120,62,122,36,220,165,11,67,87,181,210,53,
-74,99,175,129,10,32,26,150,161,69,58,49,204,4,70,176,129,106,181,117,65,
-129,89,187,154,185,66,190,48,77,177,88,194,179,75,120,214,20,94,37,75,44,
-110,163,12,3,221,243,188,171,186,153,64,143,182,227,229,51,168,226,37,188,
-153,107,120,50,138,101,196,168,244,173,154,7,149,66,34,132,224,221,119,
-79,179,254,251,195,100,174,92,6,183,8,94,1,220,28,248,54,146,47,224,43,
-117,89,58,142,253,190,102,198,8,55,245,131,17,135,96,178,254,214,195,32,
-116,84,205,249,240,88,41,133,166,107,24,1,141,61,123,135,25,120,228,183,
-100,82,41,168,86,64,213,64,24,160,69,145,13,75,9,37,187,113,221,202,89,
-89,206,190,148,241,236,153,209,198,222,53,96,196,64,134,64,143,213,199,
-122,12,169,135,80,212,127,197,160,25,164,230,86,216,178,99,63,207,188,240,
-15,92,223,4,35,122,115,126,28,244,40,104,33,26,58,239,198,247,184,81,154,
-216,115,86,2,100,71,71,94,105,237,95,141,209,184,12,8,128,140,212,93,139,
-32,180,80,189,12,132,131,164,211,105,214,108,56,200,208,177,73,148,22,3,
-45,14,50,10,90,20,100,24,132,9,102,51,45,159,254,34,211,147,87,14,1,72,
-128,92,58,189,87,97,149,58,239,249,26,4,18,32,130,245,20,233,17,140,160,
-73,64,87,156,124,251,12,107,191,117,132,115,41,27,52,13,116,3,12,19,140,
-48,104,97,208,76,16,38,77,253,3,4,163,13,42,159,78,61,63,87,139,0,26,7,
-126,249,232,202,7,191,49,124,238,205,19,220,56,255,47,208,35,96,152,132,
-195,58,171,150,199,57,61,90,65,9,3,33,4,94,173,134,227,56,248,190,95,47,
-185,158,11,110,153,72,219,34,250,190,244,0,19,239,29,223,126,227,196,143,
-95,254,152,0,64,231,198,67,123,122,86,61,56,248,159,183,78,113,227,194,
-251,224,215,208,205,32,137,68,146,100,50,73,56,28,70,74,137,227,56,76,79,
-79,147,203,229,176,42,21,80,138,88,107,23,189,3,159,231,122,234,244,208,
-229,225,77,91,102,153,243,26,78,231,183,255,184,167,231,179,95,25,156,28,
-153,32,51,242,30,225,128,160,163,189,157,150,230,22,162,241,24,154,212,
-176,44,139,92,110,138,236,100,150,92,190,72,188,187,143,182,187,122,201,
-92,120,231,15,233,87,191,249,196,71,121,11,246,228,228,250,125,143,245,
-174,94,183,63,102,180,38,163,86,133,6,77,209,24,143,18,143,205,10,84,200,
-21,75,228,237,42,121,221,96,202,201,89,169,179,255,220,153,63,188,237,224,
-39,89,183,110,250,15,252,34,212,210,179,228,169,238,222,79,125,183,183,
-123,73,95,87,34,65,71,66,160,9,200,78,67,42,87,96,108,34,117,41,117,113,
-244,149,235,227,227,251,252,191,253,164,176,32,231,255,186,182,108,62,208,
-173,199,162,253,129,144,217,129,144,194,181,236,140,87,42,141,170,161,237,
-169,219,173,253,31,151,169,176,141,218,30,108,211,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_122 = 1759;
-static unsigned char xml_res_file_122[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,6,166,73,68,65,84,120,218,165,150,11,80,149,199,25,
-134,127,77,38,17,17,47,220,196,115,196,11,130,226,5,17,10,38,20,3,42,245,
-130,40,69,80,160,42,8,40,8,22,81,193,35,23,17,49,36,40,160,128,37,26,69,
-42,34,205,0,42,33,212,24,21,241,22,163,72,213,168,137,40,94,80,163,49,92,
-244,120,184,6,122,60,240,116,57,88,103,210,166,29,59,221,153,103,246,219,
-157,157,247,221,111,103,247,255,126,73,122,163,230,51,246,45,41,192,87,
-71,55,44,82,87,47,124,221,91,82,224,18,73,90,104,37,253,127,205,99,224,
-64,163,181,73,51,130,62,127,244,241,254,187,28,186,216,204,201,219,80,94,
-13,135,47,181,176,37,255,30,174,65,37,79,7,153,40,210,36,105,190,241,255,
-36,221,167,79,112,176,103,212,233,142,210,155,112,175,21,126,16,60,108,
-132,154,23,61,116,199,143,197,220,253,102,248,178,10,22,42,206,118,189,
-171,19,188,250,141,196,141,71,109,200,78,42,121,65,101,61,92,122,4,103,
-197,142,207,138,157,159,171,126,21,87,247,196,231,238,244,80,41,214,92,
-169,133,228,207,85,12,54,79,40,252,175,226,38,102,27,62,221,114,162,147,
-163,183,160,240,34,20,92,128,162,10,17,11,138,46,246,196,7,95,113,232,146,
-232,255,73,37,124,37,50,73,61,214,137,137,121,194,193,95,21,215,213,13,
-246,139,200,87,145,253,13,108,59,2,233,71,33,67,144,86,220,70,78,233,3,
-210,14,53,145,241,101,207,92,55,153,175,216,241,149,24,191,34,251,107,88,
-149,219,132,174,94,88,228,191,200,47,212,113,9,43,111,79,62,14,235,247,
-189,100,125,238,75,162,115,53,68,231,105,216,188,231,26,234,246,38,238,
-214,60,37,62,167,142,184,188,46,226,14,188,34,31,109,31,219,77,126,23,49,
-121,157,36,137,205,77,15,61,139,36,185,15,126,45,111,36,83,196,172,200,
-107,102,121,122,45,254,201,143,9,76,249,81,203,178,180,159,136,206,172,
-224,121,67,29,202,103,13,52,170,84,36,102,87,19,146,94,207,10,65,119,31,
-188,189,78,75,247,218,32,193,242,116,17,239,86,98,44,143,217,246,218,96,
-178,79,241,61,31,33,254,187,240,75,204,90,253,55,230,68,94,101,110,212,
-53,230,41,174,19,145,124,10,229,243,122,106,107,107,81,169,94,208,169,233,
-96,255,23,183,241,140,189,129,71,204,247,120,68,127,199,239,5,243,214,223,
-192,109,221,53,92,215,92,198,235,163,251,76,242,42,126,161,21,215,145,124,
-77,63,88,123,25,251,144,243,140,155,95,140,181,207,95,177,93,116,20,187,
-197,199,176,247,59,78,80,92,169,214,160,78,24,40,149,74,90,90,90,128,46,
-190,190,252,24,151,144,50,28,2,203,121,111,105,153,118,173,221,146,99,88,
-251,30,193,86,140,39,135,93,64,87,10,176,146,6,245,15,115,117,80,220,196,
-212,237,48,227,220,15,176,108,211,41,138,203,107,184,243,72,197,45,113,
-233,143,156,190,77,227,11,37,13,245,245,52,54,54,210,210,220,66,71,71,7,
-221,77,213,220,134,219,202,82,70,187,23,97,49,183,0,51,215,207,24,62,235,
-0,166,51,243,176,14,62,143,190,81,132,183,100,100,170,8,178,9,61,137,163,
-119,22,37,39,171,41,185,240,5,33,217,190,120,166,57,225,153,226,68,196,
-159,151,210,212,166,66,163,209,144,124,96,3,237,63,183,107,13,186,186,186,
-232,105,93,56,46,41,100,168,203,126,134,76,207,197,216,57,135,65,83,246,
-98,25,120,14,195,225,113,81,146,145,89,108,160,79,252,49,170,239,223,37,
-50,103,57,138,11,139,41,106,203,96,79,91,44,9,74,31,194,239,205,192,51,
-211,145,232,130,16,102,175,123,15,181,90,253,11,131,159,158,62,97,220,220,
-61,244,183,223,70,95,171,77,188,99,30,78,111,217,2,134,205,201,194,112,
-84,66,148,164,63,84,49,251,179,178,7,68,229,132,176,241,166,63,46,89,22,
-76,138,26,204,206,250,24,54,60,241,102,245,157,57,44,173,116,192,247,140,
-29,83,194,199,163,121,169,65,253,119,181,86,188,178,242,91,100,118,209,
-72,67,22,33,25,204,69,26,48,5,73,103,28,210,187,102,140,152,147,129,190,
-249,70,111,169,175,97,184,236,254,211,86,182,159,143,199,41,217,130,241,
-171,13,152,22,59,145,247,99,71,177,229,238,74,254,120,109,54,254,223,252,
-150,249,199,39,96,31,58,138,206,206,78,33,221,73,218,159,10,121,199,52,
-0,201,200,23,201,208,3,73,223,21,105,224,52,164,126,147,233,109,236,194,
-216,197,197,244,27,182,118,188,246,38,29,173,120,90,237,157,234,194,228,
-248,161,108,47,77,226,212,149,83,124,114,122,43,222,5,14,248,159,117,196,
-175,220,17,183,195,150,88,45,27,34,174,169,6,255,240,44,122,153,174,66,
-146,135,34,201,150,35,153,248,33,13,246,17,70,243,68,22,206,12,178,141,
-98,140,79,241,179,215,239,160,65,217,186,238,121,179,154,186,134,70,234,
-234,85,84,213,220,99,193,135,51,113,77,253,13,110,185,86,184,23,89,49,175,
-192,10,11,191,129,252,88,171,66,26,25,143,52,34,14,105,216,122,164,161,
-107,132,81,152,56,166,64,145,205,66,97,228,197,104,191,18,76,156,119,164,
-104,197,119,79,117,254,62,178,191,94,167,194,200,136,56,153,140,4,51,51,
-156,166,235,227,232,37,199,57,220,6,135,176,177,76,12,144,99,246,7,61,70,
-250,12,32,191,228,58,146,249,166,30,70,37,8,179,110,163,40,97,36,76,140,
-253,48,112,202,196,42,236,116,151,158,101,172,129,214,224,144,219,28,205,
-167,114,57,73,189,123,179,177,87,47,62,54,183,32,127,213,26,145,77,51,117,
-207,90,168,123,222,130,82,213,70,253,243,86,10,143,86,49,35,176,0,157,137,
-169,244,30,147,132,100,177,89,24,37,246,100,35,139,64,215,54,5,155,168,
-111,49,116,218,190,226,245,241,236,155,53,83,189,71,54,132,44,29,29,118,
-11,147,184,126,253,184,122,166,66,43,126,102,87,54,135,172,39,177,115,244,
-104,14,151,221,199,218,171,4,155,133,165,226,65,30,68,238,188,23,29,171,
-20,145,133,200,196,44,1,189,247,247,98,211,253,96,189,243,243,126,241,29,
-221,57,125,154,122,159,177,49,185,253,245,40,50,48,160,68,100,179,199,106,
-34,7,220,61,184,229,225,193,249,9,19,72,29,59,142,242,75,13,204,87,124,
-199,130,232,42,220,34,174,224,176,228,4,35,103,228,49,192,46,11,83,207,
-19,216,39,214,48,116,73,65,206,191,213,129,237,31,76,81,111,19,6,39,109,
-109,57,97,97,78,133,205,36,170,167,78,69,21,177,138,219,17,225,124,36,147,
-115,231,234,77,118,149,168,136,207,109,103,83,158,154,245,187,27,89,158,
-250,4,175,15,31,48,61,249,9,214,137,55,126,30,224,149,29,252,171,133,38,
-201,218,186,126,235,152,49,25,91,229,242,135,85,238,238,60,94,176,128,166,
-176,80,52,249,251,217,98,105,217,126,253,66,229,195,172,139,45,196,136,
-74,151,46,170,215,14,81,189,98,203,96,81,161,10,251,212,235,15,7,135,30,
-220,32,77,205,24,248,31,203,228,38,115,243,205,221,125,226,136,17,125,82,
-134,15,47,207,180,176,104,221,101,109,221,149,51,111,238,15,233,139,123,
-126,77,250,46,203,25,246,246,138,252,25,186,107,139,150,234,70,22,7,188,
-189,242,47,51,165,69,159,12,127,147,26,255,15,119,77,151,39,146,238,48,
-214,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_123 = 1316;
-static unsigned char xml_res_file_123[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,4,235,73,68,65,84,72,137,141,150,109,108,84,85,26,
-128,159,115,238,189,211,59,51,119,166,51,5,74,91,104,145,90,10,70,80,179,
-8,238,170,72,140,209,104,98,52,104,240,35,74,54,65,69,220,196,101,119,235,
-215,15,99,130,127,204,42,186,49,70,89,87,37,145,77,86,137,70,99,162,137,
-49,17,144,40,104,98,226,87,81,187,131,173,83,75,153,210,206,71,231,235,
-206,116,238,189,175,63,42,136,82,194,156,228,156,95,231,60,207,57,239,123,
-114,222,163,68,132,179,53,165,54,158,103,224,92,216,18,141,116,161,149,
-174,151,170,25,159,202,87,34,123,190,57,235,218,51,9,148,218,144,72,180,
-47,29,88,123,253,186,77,235,175,88,185,164,191,191,131,68,50,134,82,80,
-40,148,73,165,50,28,216,55,56,126,232,189,131,255,43,76,164,158,18,121,
-251,248,156,32,17,57,173,219,246,221,247,220,52,176,183,246,206,160,72,
-170,44,146,46,139,140,20,68,126,200,205,246,145,130,200,104,89,228,72,81,
-228,221,195,34,27,31,220,31,216,225,45,219,230,98,157,118,130,133,231,62,
-250,159,251,159,30,184,231,154,75,147,136,11,181,26,32,160,20,156,152,169,
-78,14,96,183,128,209,2,31,28,42,240,236,67,255,218,147,73,109,191,237,140,
-33,234,60,247,209,157,219,118,62,190,245,130,110,77,169,0,34,160,245,44,
-88,201,44,84,157,12,225,175,66,20,56,14,12,142,6,60,115,255,246,55,142,
-165,182,223,114,154,192,137,110,217,116,215,139,79,238,94,185,52,193,100,
-38,160,209,16,2,223,159,133,163,80,252,34,82,39,20,191,110,204,180,12,28,
-71,19,117,224,155,31,138,236,250,235,35,3,229,226,11,207,156,20,88,234,
-230,240,250,251,254,146,187,234,198,171,236,194,184,71,189,238,98,171,18,
-253,243,39,81,74,255,54,249,167,230,239,151,28,254,63,187,16,29,105,71,
-2,33,218,166,217,247,222,71,28,248,247,115,29,13,121,115,194,4,104,235,
-236,221,214,247,199,181,246,240,183,25,102,106,13,2,223,99,237,138,22,54,
-223,124,225,156,23,227,247,237,169,215,198,25,58,154,65,0,157,213,44,189,
-104,21,131,139,150,61,8,60,96,2,44,185,226,210,187,10,217,10,217,225,52,
-134,161,81,34,148,22,181,53,5,7,40,21,43,28,159,116,9,130,128,192,243,136,
-204,79,210,117,201,154,205,192,3,102,84,221,217,189,250,239,127,235,27,
-254,254,8,149,201,227,88,33,11,173,21,197,146,217,180,96,186,56,77,230,
-88,22,17,161,225,121,24,249,60,161,133,29,73,71,111,94,101,134,226,241,
-149,158,25,38,115,52,141,87,41,96,90,38,166,97,80,173,180,54,45,168,148,
-203,20,242,121,124,63,192,15,124,2,17,218,150,244,18,154,23,63,207,180,
-90,99,157,110,41,67,97,236,11,148,217,74,40,146,196,50,3,26,13,175,105,
-193,204,76,3,215,173,227,139,224,251,62,13,95,136,122,1,102,52,210,109,
-42,203,20,191,116,156,82,234,117,144,16,170,117,25,118,114,5,213,114,172,
-105,65,173,238,82,44,78,225,213,74,120,110,22,175,154,33,22,175,33,150,
-133,233,121,222,49,211,78,96,58,157,120,249,113,164,248,35,110,189,66,53,
-63,175,105,65,113,98,136,226,240,1,240,10,48,147,131,160,134,230,50,2,145,
-159,116,189,94,251,218,176,99,68,230,45,7,43,14,45,73,48,29,148,14,53,45,
-16,105,128,248,160,44,48,28,116,235,82,194,201,30,102,102,170,135,117,57,
-243,236,184,87,171,12,181,245,93,2,86,12,116,24,140,40,232,150,166,5,232,
-240,236,230,76,7,140,48,173,139,47,34,240,152,42,141,238,56,172,1,50,67,
-131,47,183,47,95,131,213,182,12,8,129,142,96,89,118,211,124,211,10,131,
-142,128,178,193,158,207,130,243,47,103,122,226,232,46,0,19,32,55,54,246,
-92,55,238,99,139,87,223,16,27,249,228,45,208,54,7,191,58,198,211,175,28,
-68,105,141,82,115,131,69,192,247,125,190,28,202,130,97,131,239,49,111,249,
-106,90,156,86,201,143,125,252,36,156,242,216,181,173,251,231,45,171,174,
-187,117,207,183,31,238,103,42,245,229,108,136,76,27,180,1,74,97,24,26,173,
-53,10,69,32,130,239,123,136,8,248,1,4,51,80,175,16,237,88,68,255,149,87,
-51,250,249,190,173,83,251,255,241,226,111,4,0,139,55,238,218,209,123,241,
-117,3,223,237,61,196,212,145,175,33,240,49,237,22,18,137,36,201,100,146,
-72,36,130,214,154,122,189,206,244,244,52,185,92,14,183,90,5,17,98,237,221,
-244,173,251,19,147,233,47,118,255,180,231,206,63,159,96,158,86,112,22,223,
-241,234,142,222,63,92,59,48,49,56,202,248,224,231,68,66,138,174,206,78,
-22,204,95,128,19,143,97,104,3,215,117,201,229,178,100,38,50,228,242,69,
-226,61,253,116,92,208,199,248,145,207,94,25,251,239,237,119,159,202,155,
-179,38,39,55,60,127,91,223,154,245,47,196,172,246,164,227,86,105,53,132,
-182,184,67,60,118,66,80,37,87,44,145,175,53,200,155,22,217,122,206,77,31,
-254,116,91,254,141,45,47,253,158,117,230,162,127,245,19,225,5,189,231,220,
-215,211,183,226,222,190,158,115,250,187,19,9,186,18,10,67,65,102,26,210,
-185,2,169,209,244,143,233,225,161,151,39,71,70,158,15,222,127,184,48,39,
-167,169,111,203,166,157,61,102,204,89,30,10,219,93,40,173,102,220,218,184,
-87,42,13,201,238,173,233,179,173,253,25,145,180,96,102,170,35,60,27,0,0,
-0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_124 = 1528;
-static unsigned char xml_res_file_124[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,5,191,73,68,65,84,72,137,141,150,109,140,92,85,25,
-199,127,231,190,204,222,153,185,51,59,179,221,93,246,189,116,217,110,69,
-91,36,150,109,165,218,54,126,192,64,98,72,80,11,52,208,152,240,82,139,9,
-86,93,80,63,16,147,250,197,136,5,67,12,52,32,54,177,70,98,193,104,76,48,
-33,38,208,70,133,106,4,137,176,173,45,187,237,118,150,237,238,204,190,204,
-204,206,204,206,204,157,123,239,121,252,48,219,173,181,109,234,73,206,189,
-57,57,231,252,254,247,121,238,243,60,231,40,17,225,122,77,169,93,55,155,
-184,159,110,137,199,122,48,148,225,149,171,217,144,229,127,137,28,253,240,
-186,123,175,37,160,212,61,169,84,231,186,209,45,95,218,190,103,231,142,
-141,107,135,135,187,72,165,19,40,5,197,98,133,241,241,44,127,62,54,54,115,
-226,143,239,188,82,204,141,255,68,228,247,115,87,5,137,200,21,221,113,30,
-121,244,203,163,111,213,255,48,38,50,94,17,201,84,68,38,139,34,103,243,
-205,62,89,20,153,170,136,76,148,68,94,63,41,178,235,201,227,218,137,238,
-221,127,53,214,21,22,220,112,211,83,47,61,254,204,232,163,95,220,150,70,
-106,80,175,3,2,74,193,197,149,106,245,1,78,11,152,45,240,167,19,69,158,
-251,238,79,143,102,199,15,220,127,77,23,117,223,244,212,161,253,135,126,
-184,239,150,126,131,114,17,68,192,48,154,96,37,77,168,90,117,225,37,65,
-20,184,46,140,77,105,158,125,252,192,107,179,227,7,238,189,66,192,141,239,
-221,243,240,139,79,31,217,184,46,69,169,208,4,163,53,133,92,6,165,52,202,
-112,72,117,244,130,130,252,124,150,122,101,30,101,216,180,182,247,17,115,
-93,0,226,46,124,120,182,196,225,111,126,127,180,82,122,225,89,0,11,192,
-86,95,137,238,124,236,27,47,117,117,164,152,248,40,88,249,82,133,87,153,
-102,247,14,72,37,92,206,94,168,240,206,100,72,168,21,195,169,69,70,182,
-173,65,148,205,43,111,230,168,212,227,160,64,230,133,206,246,36,91,31,184,
-239,25,91,125,245,215,190,252,54,103,1,180,117,15,238,31,250,236,22,231,
-220,169,44,141,186,143,105,26,205,0,40,79,112,219,39,111,7,108,58,219,162,
-188,254,207,60,13,63,96,247,72,148,225,181,109,216,17,135,174,127,44,50,
-54,59,135,214,26,1,140,69,131,117,183,110,98,172,119,253,147,192,19,22,
-192,218,29,219,30,46,46,46,179,120,46,131,105,26,152,166,137,161,12,28,
-191,66,16,10,40,77,205,11,152,159,91,160,225,251,120,158,67,16,106,108,
-160,84,44,49,55,231,163,69,208,90,163,131,128,88,123,154,158,173,35,15,
-1,79,88,113,245,96,255,230,111,127,107,232,220,233,9,150,231,231,176,35,
-246,170,64,167,85,68,53,131,8,209,154,92,46,135,239,7,136,238,93,253,219,
-149,74,137,108,118,169,105,129,8,126,16,96,22,10,68,110,232,74,187,198,
-67,155,172,72,50,185,49,176,162,100,47,100,8,150,139,88,182,133,105,154,
-152,134,73,50,94,4,101,0,10,209,154,66,177,64,24,132,32,93,171,145,87,171,
-150,41,20,124,68,107,194,80,19,234,16,45,66,219,218,65,34,107,146,55,91,
-118,107,162,187,86,206,82,156,126,31,101,181,18,137,165,49,77,193,52,67,
-124,167,193,197,96,20,173,169,86,171,232,80,95,150,55,65,195,163,94,243,
-208,26,66,17,194,48,196,15,133,120,160,177,226,177,126,75,217,150,132,229,
-57,202,227,191,1,137,160,90,215,99,198,251,176,157,20,141,136,5,40,148,
-2,68,83,171,214,208,90,154,9,178,226,35,191,225,81,169,148,9,2,143,160,
-94,38,168,45,18,84,179,36,146,117,196,182,177,130,32,152,181,156,20,150,
-219,77,80,152,65,74,231,9,150,231,8,12,151,70,170,123,21,36,104,102,167,
-78,35,162,16,182,172,38,92,117,105,154,252,249,83,208,40,65,80,132,70,30,
-116,29,131,207,161,69,62,54,60,175,254,129,233,36,136,173,217,0,118,18,
-90,210,205,183,21,3,21,185,228,11,17,240,202,80,91,73,241,149,166,253,6,
-248,85,144,16,148,13,166,139,209,186,142,104,122,128,70,163,122,210,168,
-100,159,155,9,234,203,103,218,134,182,130,157,0,35,10,86,2,236,4,98,196,
-155,238,89,225,99,185,96,197,47,21,34,32,20,123,101,125,178,57,111,70,105,
-237,187,21,29,176,80,158,58,120,210,0,200,158,25,123,185,115,195,8,118,
-219,122,32,2,70,28,140,56,134,237,98,217,22,182,109,99,219,102,19,110,37,
-136,197,162,205,49,128,209,2,166,11,70,12,148,3,78,59,29,159,250,60,75,
-185,11,135,87,75,69,126,122,250,103,253,212,126,208,183,249,238,196,228,
-219,191,3,90,192,138,49,91,182,57,246,151,49,98,81,155,183,223,155,4,195,
-4,37,188,250,198,105,238,110,52,168,123,62,167,166,170,96,198,154,70,133,
-1,107,54,108,166,197,109,149,194,244,95,159,190,172,216,181,109,255,241,
-189,155,238,186,239,232,169,55,143,179,112,250,61,176,226,152,142,195,80,
-175,67,139,101,146,175,25,20,43,160,148,34,238,104,122,146,224,249,13,62,
-154,241,240,235,1,52,42,196,187,122,25,254,194,29,76,189,123,108,223,194,
-241,239,188,120,153,0,64,223,174,195,7,7,111,187,107,244,223,111,157,96,
-97,226,3,208,33,150,211,66,42,149,38,157,78,19,139,197,48,12,3,207,243,
-88,90,90,34,159,207,83,171,86,65,132,68,103,63,67,219,111,103,62,243,254,
-145,143,143,62,248,181,43,202,245,170,200,3,191,60,56,248,153,59,71,115,
-99,83,204,140,189,75,44,162,232,233,238,166,163,189,3,55,153,192,52,76,
-106,181,26,249,252,34,217,92,150,124,161,68,114,96,152,174,91,134,152,153,
-248,251,47,166,127,181,251,145,255,230,93,245,76,78,223,243,252,253,67,
-35,59,95,72,216,157,105,183,86,165,213,20,218,146,46,201,196,69,129,42,
-249,82,153,66,221,167,96,217,44,122,249,90,230,228,223,246,23,94,219,251,
-243,255,101,93,251,208,191,227,71,209,142,193,27,31,27,24,250,196,215,135,
-6,110,28,238,79,165,232,73,41,76,5,217,37,200,228,139,140,79,101,206,103,
-206,157,121,121,126,114,242,121,253,198,247,138,87,229,252,95,215,150,61,
-135,6,172,132,187,33,18,117,122,80,134,106,212,234,51,65,185,124,70,142,
-236,203,92,111,239,127,0,47,28,209,136,136,133,235,226,0,0,0,0,73,69,78,
-68,174,66,96,130};
-
-static size_t xml_res_size_125 = 741;
-static unsigned char xml_res_file_125[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,2,172,73,68,65,84,120,218,237,149,75,76,19,65,24,199,
-33,169,145,32,80,172,45,22,23,202,163,44,45,244,69,67,105,49,45,45,132,
-135,168,43,84,147,166,4,1,53,6,106,72,125,98,13,26,36,197,23,162,24,47,
-70,94,137,16,141,146,16,16,208,139,175,51,137,23,163,134,112,242,96,48,
-138,28,229,38,10,127,191,197,77,236,161,180,96,241,230,36,191,204,102,190,
-217,239,183,243,101,103,38,42,234,127,139,176,137,136,78,98,142,104,15,
-24,231,159,191,18,55,136,77,145,8,46,19,32,94,19,246,128,241,34,98,74,136,
-221,140,68,48,47,36,97,130,196,18,133,216,66,36,2,8,196,132,137,111,137,
-84,32,10,19,143,139,84,16,253,47,5,139,33,226,139,97,5,170,163,178,235,
-5,62,197,60,91,159,248,54,240,75,45,22,75,140,213,106,5,195,48,211,33,4,
-239,5,193,182,85,103,232,189,201,159,186,102,155,145,125,60,30,10,103,108,
-19,63,102,179,217,36,250,19,204,146,242,144,24,118,119,65,107,8,129,139,
-88,38,218,8,73,208,25,246,246,156,165,190,185,139,48,118,73,160,60,28,191,
-152,118,32,174,132,227,56,127,193,185,116,116,127,60,137,204,186,4,104,
-154,101,121,33,36,87,132,85,248,131,70,75,47,233,209,255,197,15,83,183,
-20,230,91,114,168,60,137,11,106,247,246,222,124,159,2,183,63,159,134,125,
-32,37,148,100,55,241,157,24,34,114,131,10,138,59,114,103,58,222,53,162,
-108,128,69,209,29,5,204,157,201,208,251,100,200,191,192,224,218,135,38,
-148,12,166,163,226,1,187,154,100,90,248,250,164,85,215,103,104,78,30,111,
-124,85,14,215,132,25,246,222,52,56,238,166,163,164,63,3,101,247,148,168,
-184,207,162,242,97,54,42,135,85,168,26,213,4,147,252,12,251,23,105,61,73,
-117,229,61,57,240,78,113,40,234,77,133,163,79,129,93,67,106,236,27,214,
-161,106,132,24,213,161,122,140,250,199,218,21,73,70,109,2,214,181,15,50,
-93,91,197,134,83,242,111,53,207,205,112,63,45,132,173,159,129,99,40,21,
-21,195,74,112,99,185,168,158,208,193,57,73,130,73,13,184,223,130,229,117,
-111,52,237,49,41,103,58,207,252,168,26,209,163,97,188,20,238,137,66,148,
-63,202,4,247,68,69,168,177,119,146,250,49,190,68,226,101,181,71,178,83,
-120,45,122,13,103,213,159,166,243,200,246,104,189,210,151,166,171,114,24,
-91,229,48,180,200,177,255,133,22,206,103,26,42,15,37,111,16,131,226,166,
-149,75,66,36,226,55,214,89,33,249,155,53,159,11,26,151,44,46,235,160,36,
-33,173,38,214,104,56,195,160,109,166,30,78,74,206,111,184,226,90,203,96,
-192,84,191,144,124,150,47,192,186,15,32,117,163,52,219,216,146,130,174,
-57,15,178,40,185,245,136,193,203,178,108,78,192,20,254,217,65,108,254,171,
-19,142,23,228,181,236,128,146,202,98,244,201,29,27,126,17,243,101,218,168,
-92,191,0,183,96,17,141,7,40,45,86,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_126 = 733;
-static unsigned char xml_res_file_126[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,2,164,73,68,65,84,120,218,99,96,24,5,20,2,22,32,110,
-7,226,231,64,92,135,36,14,98,191,0,226,46,32,102,165,196,130,102,32,254,
-15,196,39,129,216,14,73,220,22,136,143,65,229,186,41,177,224,37,212,16,
-105,44,114,2,80,185,79,148,88,240,31,138,57,8,200,115,83,106,1,11,1,121,
-30,74,45,96,164,165,5,191,240,200,255,34,219,2,15,15,15,14,19,19,147,255,
-194,194,194,87,240,40,187,4,181,64,152,36,195,219,181,181,31,76,212,214,
-254,95,163,160,240,223,204,204,44,18,156,94,141,141,86,53,91,154,239,109,
-50,54,70,206,15,161,64,252,15,136,107,128,88,136,40,195,219,244,116,239,
-189,156,52,241,255,57,71,135,255,89,188,188,31,64,98,43,114,51,45,166,135,
-4,253,125,176,104,254,255,88,54,214,51,104,90,90,160,190,104,32,236,114,
-35,163,251,47,102,207,248,127,214,201,241,255,122,33,161,255,233,34,34,
-255,74,76,76,186,230,186,56,127,249,215,219,253,127,141,176,240,255,36,
-6,134,143,72,90,60,129,248,39,16,47,0,98,45,188,134,183,154,153,222,127,
-177,120,193,255,11,94,158,255,55,139,139,255,223,37,35,243,191,90,90,250,
-255,60,29,157,255,55,237,236,254,175,21,20,252,191,152,149,245,127,54,43,
-235,79,36,109,87,160,174,23,195,239,114,27,203,7,47,87,175,248,127,209,
-223,239,255,54,41,169,255,123,148,149,255,239,85,81,249,191,79,73,233,255,
-14,89,217,255,27,68,69,255,175,2,90,176,146,139,235,127,14,23,215,27,36,
-173,127,8,166,162,70,3,189,187,175,183,109,254,127,33,52,248,255,54,57,
-185,255,251,52,53,255,239,83,87,255,127,64,67,227,255,94,53,53,48,123,171,
-188,252,255,245,34,34,255,23,240,240,252,207,230,230,62,73,82,62,40,23,
-22,254,186,3,104,16,200,149,59,129,174,222,165,170,250,127,55,200,245,64,
-131,247,3,45,3,89,178,13,24,92,27,129,22,212,243,242,254,79,99,103,247,
-38,201,130,6,81,81,3,160,37,63,65,6,110,146,144,248,191,27,24,44,187,129,
-201,115,47,48,152,64,244,110,69,197,255,59,128,113,49,29,24,233,249,124,
-124,171,144,180,50,18,81,86,33,44,169,22,23,255,115,12,24,161,107,129,41,
-101,59,208,192,29,192,224,218,9,12,255,237,64,220,3,20,203,22,16,184,90,
-193,192,32,8,213,2,202,88,37,80,195,207,17,149,254,65,150,212,138,139,255,
-61,1,178,4,232,218,141,98,98,255,139,133,133,127,229,75,72,252,142,50,50,
-250,239,108,111,223,132,172,28,106,248,35,32,214,33,58,7,131,44,105,148,
-148,252,7,242,201,106,96,170,1,6,221,23,31,31,31,118,5,5,5,59,14,14,14,
-77,36,165,32,182,61,16,179,147,92,6,129,44,105,5,6,209,81,96,4,151,1,45,
-160,122,37,12,44,92,152,193,113,34,33,241,171,90,76,236,57,165,230,1,0,
-34,72,18,70,202,150,34,141,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_127 = 645;
-static unsigned char xml_res_file_127[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,2,76,73,68,65,84,120,218,99,96,24,5,20,2,22,32,110,
-7,226,231,64,92,135,36,14,98,191,0,226,46,32,102,165,196,130,102,32,254,
-15,196,39,129,216,14,73,220,22,136,143,65,229,186,41,177,224,37,212,16,
-105,44,114,2,80,185,79,148,88,240,31,138,57,8,200,115,83,106,1,11,1,121,
-30,74,45,96,164,165,5,191,240,200,255,162,196,2,14,168,230,43,184,20,48,
-51,51,95,2,226,255,140,140,140,194,164,26,46,4,196,101,80,11,34,113,41,
-82,140,228,121,167,24,206,247,95,64,129,123,2,208,18,33,82,44,104,32,38,
-141,43,199,241,61,11,216,168,247,95,53,2,104,137,60,215,100,82,44,208,2,
-226,89,208,48,246,193,165,72,53,142,255,109,216,62,195,255,65,59,117,255,
-107,39,9,188,210,207,150,86,35,197,18,46,244,56,144,9,227,120,166,16,201,
-253,76,41,134,231,153,106,130,192,51,149,8,190,223,17,7,141,255,71,30,54,
-254,31,127,210,242,191,110,134,240,51,179,34,210,44,1,89,240,7,30,36,105,
-92,79,125,54,106,254,247,223,170,253,63,120,151,222,255,240,125,70,96,131,
-147,78,218,253,47,190,18,248,191,241,110,226,127,221,44,81,146,44,129,165,
-115,38,176,5,153,60,207,124,54,106,252,247,90,167,254,63,120,187,254,255,
-152,253,150,255,211,78,56,255,47,187,20,250,191,229,78,218,255,73,143,75,
-255,207,124,85,243,223,48,71,252,153,89,165,146,26,41,22,176,129,195,60,
-135,239,25,200,245,17,219,205,255,167,31,116,255,159,119,210,247,127,245,
-197,152,255,141,55,146,255,247,62,204,255,63,227,89,245,255,69,239,218,
-255,175,255,58,237,191,73,174,4,81,150,252,70,206,72,234,185,2,207,2,182,
-107,255,247,219,170,245,63,100,143,62,36,236,79,91,252,79,185,100,251,63,
-243,166,227,255,252,135,110,255,75,94,120,255,55,38,210,112,16,56,2,181,
-160,146,133,133,69,88,51,95,224,105,240,46,253,255,1,219,116,254,135,238,
-49,248,31,121,16,98,65,250,53,251,255,57,119,93,254,23,62,241,248,111,76,
-66,240,128,128,6,16,63,0,89,2,204,177,13,234,192,148,163,153,4,196,113,
-2,159,53,98,4,254,107,198,11,254,137,57,102,246,63,243,150,227,255,220,
-251,174,36,27,14,3,236,160,202,6,152,83,53,225,213,28,11,139,38,43,43,171,
-61,48,89,62,143,59,105,241,63,227,186,3,73,17,75,52,208,205,20,125,22,177,
-223,132,54,134,131,45,0,166,121,131,28,49,96,186,199,109,56,0,189,144,255,
-225,162,220,100,224,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_128 = 1279;
-static unsigned char xml_res_file_128[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,4,198,73,68,65,84,120,218,221,84,107,76,147,103,20,
-102,127,150,232,244,215,150,161,83,71,147,141,197,9,3,5,164,32,182,148,
-139,130,43,202,208,177,142,33,197,114,147,88,156,80,160,12,65,3,217,192,
-152,37,56,169,183,93,144,197,32,106,50,204,46,134,13,151,205,226,84,112,
-17,252,225,200,240,199,20,129,94,104,75,233,133,182,96,47,207,206,251,177,
-152,149,194,18,183,127,123,155,39,249,250,126,239,57,207,57,207,121,222,
-47,40,232,175,181,124,249,242,23,114,115,115,247,75,165,210,3,121,121,121,
-239,255,27,176,88,150,131,114,61,31,52,127,241,120,175,198,185,221,30,252,
-215,229,118,187,193,227,241,248,1,4,33,33,33,241,86,171,13,46,215,12,28,
-14,231,60,56,22,216,11,4,139,101,57,88,174,167,36,112,62,21,1,117,16,247,
-63,37,176,88,172,112,58,93,152,158,118,60,129,141,96,231,158,167,253,246,
-255,14,187,125,238,12,139,181,88,173,139,19,152,205,22,10,112,194,102,155,
-158,131,221,9,175,215,203,185,99,102,102,22,30,114,25,171,210,70,100,54,
-235,220,25,167,99,22,94,159,23,174,217,199,28,201,20,21,201,91,189,136,
-139,38,205,102,170,102,154,107,147,37,240,122,188,80,255,220,139,252,252,
-61,96,22,190,166,86,227,183,161,97,56,102,156,84,169,13,22,211,20,103,203,
-139,151,46,193,96,52,98,150,138,152,50,79,45,222,129,105,146,8,108,118,
-48,169,124,62,31,58,58,206,163,185,233,8,46,95,254,26,31,54,54,226,200,
-71,205,152,157,157,129,207,235,35,205,93,84,57,168,67,15,122,186,175,34,
-43,107,39,71,102,102,4,171,87,47,220,129,209,52,57,87,61,181,110,50,26,
-176,98,197,74,244,244,92,133,193,100,130,48,65,200,37,30,190,127,31,55,
-251,110,113,210,125,243,237,21,24,13,147,244,236,67,202,150,84,60,28,25,
-133,101,202,178,120,7,6,131,137,14,88,57,153,238,12,12,32,56,56,24,250,
-9,3,118,100,136,113,225,226,5,248,30,123,209,215,215,143,149,68,220,171,
-190,142,53,107,94,166,255,183,225,241,248,144,44,18,97,120,232,119,146,
-232,31,8,38,40,25,107,209,70,50,245,247,255,10,81,146,136,27,112,84,212,
-122,60,248,227,1,39,29,91,101,251,228,144,203,203,224,163,31,27,190,153,
-170,222,188,89,8,189,222,128,9,42,114,81,2,189,126,2,147,52,7,230,148,214,
-214,19,168,173,169,165,97,219,17,27,199,135,78,167,135,153,222,141,141,
-105,80,81,174,64,81,113,41,124,100,2,215,140,11,3,3,131,80,42,149,92,28,
-59,23,26,26,186,48,129,86,171,167,25,216,225,166,64,153,172,0,157,157,157,
-92,55,233,233,219,96,32,173,175,255,114,3,146,119,36,24,34,41,246,239,47,
-195,73,149,10,39,84,199,145,35,217,5,201,219,153,232,39,249,186,190,234,
-66,90,90,154,96,145,25,24,209,215,127,27,3,131,119,145,147,147,67,67,123,
-196,93,164,214,214,86,28,39,48,9,30,142,140,160,161,161,30,141,228,170,
-37,207,6,65,169,144,227,80,157,2,210,156,157,180,215,128,101,75,158,193,
-107,175,240,126,10,11,11,91,22,64,48,69,90,182,180,28,67,85,85,53,6,137,
-132,205,131,201,102,34,119,169,213,189,220,115,231,249,14,212,215,86,227,
-22,57,169,180,40,23,213,229,37,40,150,74,80,46,47,36,91,159,69,117,149,
-28,155,249,17,16,242,249,7,2,8,198,198,53,92,82,163,209,196,37,213,106,
-117,208,146,166,58,221,28,137,145,236,90,83,165,192,247,221,223,145,20,
-151,176,175,100,55,62,63,245,49,186,58,191,64,133,92,134,47,219,79,227,
-179,51,42,164,36,70,35,73,16,127,45,128,96,116,116,156,75,198,18,107,52,
-254,96,123,119,7,239,160,180,80,10,157,70,131,246,182,51,216,154,204,71,
-129,52,27,202,74,57,74,100,18,124,122,242,19,220,188,161,134,244,189,76,
-100,138,183,96,199,182,212,13,126,4,143,30,141,129,13,122,124,92,27,0,70,
-172,172,174,36,130,221,8,143,137,69,120,212,70,36,38,172,71,106,226,70,
-108,79,79,130,36,235,77,28,40,43,70,4,63,1,145,252,56,228,231,188,133,168,
-55,214,181,249,17,140,208,77,100,213,50,43,206,7,187,35,155,98,55,96,85,
-120,12,146,100,117,72,42,168,67,104,124,10,98,163,195,81,95,119,144,116,
-143,194,139,235,248,16,201,14,66,32,253,0,175,199,37,210,176,87,153,252,
-8,152,107,198,53,90,140,142,141,7,128,221,232,36,1,31,209,91,51,33,168,
-85,65,84,127,10,123,15,29,67,76,228,90,220,187,119,15,137,241,209,136,216,
-186,11,201,135,79,67,88,119,10,165,181,205,136,137,8,157,246,35,208,145,
-13,217,7,207,64,67,158,15,182,127,176,70,137,194,60,9,58,186,127,68,203,
-217,115,120,119,87,6,74,75,100,220,39,90,190,183,16,101,123,247,224,220,
-149,31,208,116,92,133,44,154,65,100,216,218,246,39,4,75,151,46,125,73,44,
-222,126,88,44,22,55,102,100,100,52,204,71,118,118,118,67,101,101,69,83,
-122,106,242,160,48,62,218,45,218,20,235,73,77,22,14,41,20,229,71,139,138,
-138,26,20,10,197,209,212,228,196,33,65,124,140,135,222,187,98,162,34,219,
-34,130,131,159,251,19,173,74,154,35,111,149,1,82,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_129 = 1250;
-static unsigned char xml_res_file_129[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,4,169,73,68,65,84,120,218,221,149,125,76,212,117,28,
-199,253,219,13,41,195,6,242,116,138,136,10,66,76,33,76,61,48,192,104,247,
-32,182,161,21,112,144,68,54,5,53,221,53,215,210,65,165,100,211,181,92,165,
-192,86,174,84,212,137,112,226,74,124,136,51,19,101,78,29,165,248,148,193,
-29,247,252,124,7,247,128,220,221,187,207,247,107,79,7,71,205,250,175,239,
-237,189,223,227,247,243,250,60,254,110,210,164,223,86,68,68,68,84,105,105,
-105,173,76,38,219,88,94,94,190,225,223,136,237,101,54,200,214,83,147,198,
-46,129,96,86,206,232,168,31,255,117,141,142,142,66,32,16,60,59,14,144,152,
-152,184,200,233,116,193,235,245,193,237,246,140,145,59,204,189,241,98,123,
-153,13,102,235,49,1,158,199,2,80,4,57,255,83,128,195,225,132,199,227,197,
-240,176,251,15,185,72,67,252,124,56,228,254,95,53,52,244,232,29,182,215,
-225,116,78,12,176,217,28,180,193,3,151,107,248,145,134,60,8,4,2,188,59,
-124,190,17,248,169,203,152,151,46,130,185,156,143,222,241,184,71,16,8,6,
-224,29,121,200,33,118,114,82,16,55,65,23,89,109,54,242,102,152,135,201,
-12,4,252,1,40,191,187,128,138,138,74,176,22,238,82,42,113,243,214,29,184,
-125,30,242,212,5,135,197,206,219,242,200,209,163,48,153,205,24,33,39,236,
-54,123,248,8,138,138,138,22,89,172,4,112,13,129,165,42,24,12,226,224,193,
-67,216,185,163,1,39,78,180,227,253,250,122,52,124,176,19,35,35,62,4,3,65,
-202,185,151,60,7,69,232,71,231,55,103,176,114,229,75,28,102,99,128,184,
-184,63,35,72,169,154,246,97,150,60,193,56,167,60,234,190,205,110,231,198,
-93,4,177,219,172,144,72,164,232,234,82,194,72,222,9,23,11,185,225,59,119,
-239,226,210,229,110,158,58,197,201,83,48,155,172,116,30,68,126,97,1,250,
-7,212,112,216,29,161,17,164,215,196,12,238,82,175,195,236,218,8,52,183,
-125,6,167,195,197,7,43,115,83,2,146,42,34,209,115,171,27,175,175,89,131,
-150,35,45,8,62,12,224,242,229,43,136,137,142,193,5,229,247,136,143,79,160,
-235,30,248,253,65,60,159,151,135,59,183,110,147,99,99,0,194,237,115,3,141,
-250,109,200,220,53,21,41,85,83,113,174,231,52,7,100,189,45,192,238,129,
-141,152,89,54,5,175,213,150,65,53,160,130,157,188,99,171,102,221,122,172,
-95,95,131,32,253,88,241,109,116,127,201,18,33,12,6,19,140,38,75,40,32,255,
-189,116,52,233,234,176,112,119,20,178,247,68,35,115,67,44,62,58,92,135,
-5,242,4,124,172,125,11,194,230,56,14,185,114,243,18,47,160,90,173,193,198,
-218,77,40,45,171,0,43,130,215,231,197,249,243,93,40,89,181,138,195,244,
-122,67,40,32,175,126,94,95,125,111,53,10,154,147,177,244,211,4,100,55,196,
-32,93,62,13,11,222,137,197,206,159,223,192,178,47,5,88,254,117,50,135,116,
-40,21,168,90,83,133,27,55,122,241,220,226,197,104,87,116,80,97,3,40,43,
-147,161,163,227,20,159,7,157,110,12,32,99,93,76,91,245,185,66,148,180,103,
-67,184,63,17,185,159,11,176,172,105,6,10,190,72,194,242,175,146,81,116,
-104,54,138,90,82,32,61,158,202,33,221,63,93,132,195,229,132,86,163,69,95,
-223,109,236,253,100,47,246,237,111,228,51,96,50,153,161,213,234,66,1,105,
-107,159,46,43,220,55,23,53,221,98,44,221,31,143,220,198,4,188,112,96,14,
-36,45,243,33,61,70,58,62,31,43,90,233,120,34,141,67,102,188,58,5,22,139,
-149,100,195,189,251,247,209,77,29,229,162,153,48,24,140,28,160,33,112,8,
-96,102,201,147,145,25,155,162,157,47,119,102,99,117,71,14,150,52,197,34,
-247,64,60,150,183,36,65,220,58,15,43,218,231,163,88,65,0,69,42,196,44,138,
-210,72,152,205,22,232,40,215,70,163,137,195,216,57,147,129,174,213,131,
-218,241,131,150,246,102,148,120,225,214,88,191,244,88,58,100,109,249,88,
-221,158,131,194,195,51,33,62,153,66,154,3,145,130,142,173,169,72,42,127,
-2,202,235,231,120,33,181,90,253,56,233,245,70,222,4,97,39,57,183,58,99,
-179,108,143,4,11,119,80,39,109,141,70,198,150,104,172,60,147,134,226,211,
-169,148,30,242,92,22,137,31,122,149,188,136,131,228,165,70,163,27,39,246,
-76,165,26,12,15,200,202,202,90,244,160,255,1,84,26,21,46,94,191,128,140,
-205,177,120,183,175,28,197,100,156,13,220,217,171,223,146,1,61,247,144,
-1,194,137,69,49,64,211,60,225,215,244,151,254,1,104,168,11,174,245,93,69,
-230,150,56,236,210,175,197,44,50,126,254,90,39,180,100,92,165,30,164,28,
-107,38,20,219,219,79,3,57,33,64,79,147,104,166,162,245,222,187,129,103,
-182,76,71,18,165,69,249,227,89,88,172,86,154,80,51,125,49,45,127,43,246,
-177,212,83,55,133,253,79,158,60,121,242,116,145,72,178,93,34,145,212,191,
-34,91,221,32,151,203,235,152,42,43,43,235,164,82,105,157,88,44,254,71,137,
-68,162,250,23,69,162,109,204,214,239,118,127,5,166,232,158,119,93,196,182,
-196,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_130 = 1216;
-static unsigned char xml_res_file_130[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,4,135,73,68,65,84,120,218,221,149,89,76,84,103,24,
-134,185,51,33,33,26,139,194,8,3,51,128,35,198,104,26,18,43,3,134,176,53,
-6,6,107,192,84,47,134,165,9,49,36,69,193,38,165,141,23,38,82,100,177,18,
-23,218,116,185,107,27,27,151,164,70,68,73,32,32,131,181,66,141,52,50,145,
-69,101,155,125,59,12,179,48,27,204,156,183,223,127,40,166,51,64,141,237,
-93,207,228,205,156,115,230,63,223,243,45,239,127,38,42,234,175,35,38,38,
-38,86,169,84,158,170,172,172,172,175,168,168,168,251,55,98,207,178,24,20,
-235,157,168,200,67,34,73,203,92,94,14,226,191,30,203,203,203,144,72,36,
-7,214,0,146,147,147,229,78,167,11,62,159,31,30,143,55,66,158,117,238,173,
-21,123,150,197,96,177,222,18,224,125,43,0,85,144,249,63,5,56,28,78,120,
-189,62,44,46,122,94,203,69,114,11,231,139,97,247,255,46,183,123,101,13,
-123,214,225,116,110,12,176,219,29,244,128,23,46,215,226,138,220,94,132,
-66,33,193,29,126,127,0,65,114,25,203,210,69,48,151,115,101,141,215,19,64,
-136,15,193,23,88,18,32,11,148,164,36,113,3,23,205,219,237,148,205,162,80,
-38,11,16,10,134,160,122,48,136,170,170,143,192,44,60,160,82,225,249,216,
-36,60,126,47,101,234,130,131,91,16,108,121,227,230,77,88,109,54,4,40,137,
-5,251,194,198,21,112,243,4,112,185,193,90,197,243,60,174,93,251,25,45,205,
-173,184,125,251,14,154,26,27,209,122,190,5,129,128,31,124,136,167,158,251,
-40,115,80,133,65,244,116,247,162,180,180,76,128,217,25,32,49,113,253,10,
-108,220,252,74,246,84,58,103,179,34,62,94,132,158,158,94,88,57,14,57,217,
-57,66,224,201,23,47,240,219,208,99,161,117,157,119,239,193,102,157,167,
-115,30,5,239,23,98,118,78,11,199,130,99,227,10,172,86,142,22,56,133,54,
-61,29,25,65,92,92,28,204,22,43,62,40,81,224,250,141,235,224,151,66,24,26,
-26,134,136,192,131,170,135,16,139,147,232,250,119,4,131,60,242,115,115,
-49,57,54,65,45,250,7,128,133,130,177,18,93,212,166,225,225,39,200,205,203,
-21,6,156,145,241,46,102,166,103,132,214,177,227,228,199,181,168,173,61,
-9,158,62,108,248,118,202,250,224,193,28,152,205,86,88,40,201,13,1,102,179,
-5,243,52,7,230,148,142,142,175,113,230,243,51,52,108,55,222,203,60,0,147,
-201,12,59,253,166,211,25,80,127,234,52,148,229,85,96,67,240,249,125,232,
-239,31,192,135,199,142,9,48,182,110,93,128,84,42,149,27,12,38,154,129,91,
-112,76,91,219,5,244,245,245,9,237,82,42,203,97,177,112,120,248,235,35,28,
-46,57,140,103,207,212,200,202,206,198,157,206,46,90,27,66,121,121,37,186,
-186,238,9,251,193,104,140,0,52,108,219,54,243,73,92,220,222,226,226,98,
-57,103,227,240,203,197,118,52,229,231,227,244,214,173,104,216,177,3,205,
-121,121,232,168,171,195,45,178,162,197,98,131,70,167,131,195,229,132,65,
-111,192,248,248,4,58,174,118,224,219,239,190,23,246,128,213,106,131,193,
-96,12,7,52,198,199,227,170,72,196,215,200,229,149,95,210,160,190,218,190,
-29,247,19,18,112,95,36,194,93,58,191,181,121,51,154,55,109,194,103,123,
-246,96,106,84,13,27,37,193,218,192,113,118,188,124,245,10,143,201,81,46,
-114,30,107,47,3,232,9,28,6,248,130,178,28,151,203,113,153,190,123,210,211,
-49,180,111,31,6,41,88,159,76,134,222,180,52,116,167,164,160,59,41,9,63,
-110,217,130,134,148,84,104,166,166,97,36,0,19,51,5,71,214,94,189,102,142,
-211,234,34,0,205,98,49,63,117,232,16,198,10,11,161,46,40,192,31,57,57,120,
-146,149,133,71,4,82,237,218,133,126,130,244,165,166,98,128,128,63,196,198,
-226,155,170,42,193,45,108,94,145,50,153,44,208,106,245,225,128,150,228,
-100,94,119,252,56,166,142,30,197,203,178,50,140,17,108,100,255,126,60,205,
-200,192,48,85,242,19,181,171,149,230,113,54,38,6,77,209,209,168,167,115,
-6,208,235,141,107,196,6,172,209,232,194,1,23,164,82,158,171,169,129,241,
-196,9,204,150,150,98,146,42,152,32,245,82,240,115,59,119,162,179,185,5,
-106,218,84,211,234,231,80,15,12,98,148,196,6,201,236,26,41,86,197,28,237,
-230,48,64,123,90,26,239,161,247,140,141,0,250,226,98,204,81,5,51,212,174,
-75,98,49,70,251,31,208,198,177,65,71,131,211,234,244,175,165,209,234,194,
-174,87,165,39,240,236,156,38,28,112,57,61,125,41,212,208,0,55,109,20,39,
-181,137,163,42,172,71,142,192,82,84,132,43,18,9,38,84,131,96,239,40,43,
-185,231,77,98,47,75,19,185,41,236,63,249,188,76,54,119,101,247,110,254,
-146,76,198,183,147,46,82,91,218,200,57,173,82,41,90,201,61,159,38,36,112,
-213,213,213,231,74,74,74,222,40,133,66,209,88,164,80,156,141,142,142,222,
-177,26,255,79,157,69,188,157,159,192,74,242,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_131 = 1599;
-static unsigned char xml_res_file_131[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,10,240,0,
-0,10,240,1,66,172,52,152,0,0,0,7,116,73,77,69,7,216,3,7,19,20,45,157,223,
-224,130,0,0,5,191,73,68,65,84,72,199,181,149,125,108,85,245,25,199,63,231,
-222,115,207,61,247,220,215,222,151,190,220,190,120,75,95,224,22,168,209,
-2,97,212,86,116,172,17,67,55,58,197,233,28,27,145,170,37,36,131,201,18,
-20,18,163,152,97,92,116,138,196,108,24,81,7,202,68,97,78,88,129,144,169,
-172,165,139,14,214,210,244,74,161,130,64,95,110,95,224,182,183,229,182,
-231,190,158,179,63,230,194,186,25,214,44,217,247,223,95,158,231,243,228,
-247,205,243,124,5,102,168,141,79,108,150,252,254,92,179,150,206,24,51,186,
-150,9,135,195,241,215,118,190,146,250,111,117,194,77,95,247,147,195,40,
-141,229,234,156,7,138,175,7,74,204,99,146,152,153,204,164,109,162,125,32,
-215,150,247,169,150,52,236,219,185,227,165,150,255,13,240,33,235,197,126,
-241,133,31,10,15,89,79,29,253,156,145,156,48,100,9,92,79,38,72,95,224,21,
-45,145,252,86,149,124,91,176,182,250,238,214,158,207,46,63,220,124,248,
-224,56,51,214,239,249,149,249,117,73,219,176,107,157,94,248,176,71,95,248,
-234,92,253,253,222,119,244,189,151,118,235,77,71,154,180,67,231,15,213,
-243,26,3,203,79,86,233,44,69,95,179,109,205,144,253,117,231,130,111,106,
-101,0,224,3,42,57,204,124,0,14,240,152,121,84,220,120,63,203,133,143,219,
-143,83,87,191,156,67,143,30,199,45,103,49,28,27,102,32,50,240,229,134,142,
-159,69,204,138,228,95,91,125,23,111,125,186,158,142,254,83,57,243,135,230,
-253,149,93,188,195,187,148,254,43,192,8,192,82,230,160,242,9,247,17,99,
-132,231,235,131,183,203,142,179,5,184,234,77,252,180,102,19,137,100,146,
-206,112,136,80,255,57,206,134,187,127,155,84,210,229,139,102,149,85,151,
-21,22,16,139,167,168,88,60,139,172,238,108,33,157,51,94,25,238,31,109,98,
-37,5,172,160,133,102,18,34,0,26,147,50,38,171,166,234,59,10,243,189,100,
-122,116,236,197,185,52,204,107,224,72,207,81,124,90,65,180,44,187,188,163,
-87,30,232,105,92,188,238,147,125,125,123,126,89,29,184,21,61,169,64,82,
-68,51,37,208,115,156,12,183,39,52,220,188,133,200,111,120,156,9,0,241,235,
-143,154,20,50,6,182,255,120,21,87,70,174,113,102,71,47,133,63,40,166,194,
-60,15,167,215,23,47,112,23,109,11,56,138,50,119,6,150,245,119,142,117,230,
-254,41,114,44,152,39,23,160,70,211,88,44,118,212,184,138,191,56,27,207,
-23,110,161,215,208,123,132,199,57,51,221,131,52,147,106,44,129,83,81,240,
-123,221,24,53,19,5,238,18,34,19,81,74,188,37,151,3,142,162,170,12,40,25,
-40,186,48,113,161,46,96,43,22,66,93,81,245,236,185,113,93,210,221,24,82,
-62,92,118,63,165,5,185,2,41,182,252,167,201,215,152,66,5,11,102,44,38,19,
-22,175,128,146,114,19,153,138,163,105,154,4,184,52,152,13,204,182,153,173,
-21,43,203,239,107,219,90,189,109,223,162,188,154,139,163,131,102,68,213,
-79,161,229,22,148,66,3,168,44,226,23,20,79,7,152,152,34,129,38,97,194,99,
-182,115,251,178,89,24,198,84,52,193,205,144,58,49,171,227,90,207,146,104,
-58,49,39,5,193,187,114,239,137,84,101,47,73,235,162,185,116,65,241,178,
-136,112,189,80,247,25,2,136,177,41,38,221,19,120,220,14,129,4,139,254,9,
-248,135,7,93,36,8,146,57,124,234,180,161,179,251,10,93,95,244,82,217,245,
-101,242,216,193,211,98,119,191,150,200,201,19,141,147,162,88,150,249,122,
-34,13,152,2,38,198,172,88,227,149,90,205,108,217,184,117,247,106,212,165,
-42,146,104,132,52,222,233,128,15,200,240,28,231,247,238,107,57,131,70,43,
-6,90,59,135,187,74,254,176,231,237,189,171,26,31,115,157,104,199,98,115,
-129,219,13,38,19,164,18,112,53,2,147,81,88,181,36,139,147,199,142,49,114,
-75,31,169,120,130,68,60,13,25,212,233,123,0,176,134,147,120,17,200,161,
-22,15,79,81,69,83,115,243,31,119,185,251,45,197,143,60,112,135,45,153,129,
-161,33,24,27,133,100,28,74,253,80,93,10,79,62,189,1,77,210,120,164,106,
-29,121,110,63,239,127,252,17,186,65,223,78,27,3,55,110,209,171,24,176,211,
-43,105,98,190,93,150,241,57,157,136,6,129,208,87,253,97,90,217,42,127,104,
-170,126,102,219,243,247,46,172,174,205,246,120,114,197,171,215,194,122,
-203,137,163,131,207,237,124,246,207,124,159,134,92,205,37,191,252,157,55,
-136,70,163,184,110,181,77,249,173,249,254,59,231,213,140,79,63,118,239,
-242,162,146,50,111,202,247,120,176,154,76,56,20,133,177,216,36,161,139,
-125,186,174,233,163,68,136,211,135,175,114,118,161,84,24,240,209,252,89,
-251,32,50,181,168,4,137,115,112,49,11,77,171,111,123,148,76,70,99,205,79,
-86,183,43,86,229,126,81,16,46,221,0,28,38,143,48,221,1,175,207,153,101,
-179,98,49,155,113,42,22,28,138,130,0,72,6,9,159,211,142,219,97,195,101,
-181,210,250,121,55,239,189,215,118,25,35,181,196,168,97,138,61,15,42,15,
-169,247,212,174,176,233,154,206,202,239,213,247,217,173,214,186,27,30,252,
-142,24,63,226,74,244,234,84,131,215,233,16,108,22,11,162,193,136,209,104,
-68,145,76,216,44,50,178,100,194,40,8,24,4,129,170,64,49,146,77,116,133,
-66,125,247,98,230,105,36,254,22,106,14,189,92,150,93,86,87,17,156,235,26,
-28,28,114,250,188,190,6,227,180,219,122,128,16,15,50,48,114,105,188,14,
-77,23,115,188,78,236,138,5,89,146,176,202,102,100,201,132,104,20,177,90,
-100,100,131,196,153,115,151,233,57,63,104,198,78,7,47,113,128,113,6,255,
-210,214,214,86,62,167,188,126,110,197,92,123,58,157,114,124,115,224,188,
-73,144,49,158,229,58,223,117,216,45,230,44,187,13,163,96,64,79,195,207,
-155,86,112,241,171,97,126,189,251,184,174,198,146,205,184,89,207,51,244,
-254,91,135,197,155,159,220,178,127,109,227,218,162,155,71,230,11,56,129,
-5,76,81,64,140,59,242,242,92,141,249,185,30,78,183,92,28,194,203,70,182,
-179,255,38,213,243,55,62,177,233,163,153,167,220,22,54,179,129,12,155,120,
-131,167,200,154,97,85,80,156,49,32,141,134,137,111,243,34,39,102,62,21,
-221,252,191,245,119,65,46,42,38,225,66,19,131,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_132 = 1602;
-static unsigned char xml_res_file_132[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,0,42,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,70,114,32,57,32,74,97,110,32,50,48,48,52,32,48,48,58,49,
-49,58,52,56,32,43,48,49,48,48,253,142,181,172,0,0,0,7,116,73,77,69,7,211,
-8,18,19,21,12,178,125,167,226,0,0,0,9,112,72,89,115,0,0,10,240,0,0,10,240,
-1,66,172,52,152,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,5,155,
-73,68,65,84,120,218,181,85,105,76,20,103,24,126,102,118,102,207,129,5,150,
-163,203,130,32,162,130,22,194,161,150,34,137,71,155,158,30,88,139,82,147,
-218,170,84,107,77,26,19,83,77,181,254,32,196,35,182,24,109,77,139,182,30,
-173,71,109,37,80,53,214,246,71,141,21,210,226,133,24,65,138,8,221,21,148,
-21,16,16,217,115,118,102,250,14,17,1,219,26,219,180,207,102,190,253,118,
-190,239,123,159,239,125,222,99,129,255,25,204,35,87,191,65,20,186,80,0,
-5,207,33,128,81,144,192,210,115,147,230,159,99,60,14,98,38,92,255,158,160,
-28,43,224,196,102,139,32,8,65,70,3,88,13,11,81,146,224,108,233,134,232,
-150,150,33,18,19,193,35,14,193,248,0,115,112,238,159,17,148,97,43,223,205,
-173,124,42,49,145,209,176,44,60,162,8,175,223,15,81,150,80,95,221,42,147,
-7,241,136,64,213,203,147,50,162,79,92,170,86,160,199,81,8,88,143,87,80,
-251,176,41,182,127,60,130,84,28,71,74,255,188,20,75,117,93,220,202,217,
-19,39,48,97,130,0,158,231,97,208,105,97,54,233,17,240,200,128,7,151,96,
-67,20,111,224,162,23,77,152,142,189,111,173,96,94,74,74,207,37,225,106,
-176,19,7,72,184,196,161,4,154,254,113,42,146,232,224,41,204,69,31,218,177,
-41,47,39,75,111,208,233,192,200,50,180,100,188,253,118,15,154,154,58,208,
-209,214,75,36,210,46,146,101,76,214,232,209,83,199,198,91,113,207,231,193,
-24,171,21,207,103,166,177,237,237,61,169,109,191,247,188,141,92,196,96,
-6,206,224,4,124,92,63,129,12,151,30,188,73,246,40,219,99,109,225,136,141,
-8,71,143,203,5,173,96,194,233,179,87,209,88,223,118,29,6,236,160,0,43,228,
-243,73,146,232,80,90,92,28,25,247,194,237,245,145,208,12,126,190,84,135,
-234,26,187,4,45,246,130,67,9,150,161,87,53,205,221,23,202,197,72,44,54,
-46,204,131,163,189,19,44,233,46,24,244,184,238,112,162,241,74,155,3,97,
-200,198,123,232,232,223,251,21,162,201,207,12,65,167,135,195,217,129,144,
-32,19,252,20,163,204,228,4,156,62,127,149,13,64,250,158,140,215,12,143,
-65,0,46,79,159,15,102,163,17,209,225,97,208,113,28,204,130,17,167,42,234,
-64,193,91,253,192,184,10,5,47,50,18,195,110,57,112,172,123,71,249,15,138,
-219,239,131,139,8,92,62,31,166,77,24,207,64,196,218,126,195,107,186,150,
-13,18,116,194,77,49,32,21,116,48,80,80,5,210,223,235,161,67,109,94,5,62,
-132,12,75,11,3,82,21,163,242,46,201,21,35,123,149,195,39,43,107,32,6,68,
-220,243,120,97,139,9,67,193,184,130,73,123,170,58,47,200,189,173,91,7,9,
-120,34,240,65,214,210,196,162,11,66,132,201,12,147,86,135,236,156,177,12,
-149,82,9,221,169,12,235,16,222,191,119,30,86,98,9,62,193,251,116,38,2,107,
-235,234,90,36,55,165,176,203,235,197,8,46,25,19,163,243,153,229,59,175,
-165,67,98,165,193,24,92,33,243,201,144,142,159,191,192,94,174,119,160,246,
-183,22,200,221,114,7,173,86,194,68,143,76,25,113,14,61,15,68,26,64,1,236,
-40,132,227,150,179,59,65,111,226,145,106,204,194,59,251,88,248,252,34,11,
-13,211,62,72,112,132,28,46,66,195,254,67,103,106,200,88,5,249,85,129,116,
-186,97,40,105,63,143,190,239,163,180,225,252,94,73,223,220,60,63,110,126,
-81,255,139,45,48,147,188,145,228,56,242,34,151,96,219,110,27,218,187,72,
-69,94,9,120,186,154,242,6,9,84,140,192,2,88,145,67,179,41,68,183,150,238,
-57,130,130,191,136,126,127,57,176,101,127,185,231,133,212,148,144,240,250,
-158,250,145,201,33,201,139,75,166,151,156,234,244,57,133,132,248,24,156,
-253,117,20,42,47,138,208,104,181,120,61,169,177,102,215,186,37,181,131,
-173,226,99,186,115,16,110,104,101,206,22,164,215,35,194,108,6,199,50,168,
-109,110,189,69,202,231,211,167,82,149,38,234,181,50,255,29,151,134,159,
-19,91,173,88,249,110,151,44,201,140,200,136,166,219,129,40,28,107,203,34,
-231,121,100,152,171,164,19,155,11,138,172,79,88,11,135,247,162,131,248,
-200,40,234,86,217,44,22,152,40,147,130,41,101,187,251,92,168,109,106,81,
-20,89,233,42,206,41,230,247,21,235,130,175,220,177,34,62,198,128,210,245,
-35,3,79,218,70,218,187,250,188,134,156,213,85,182,102,167,132,201,99,24,
-68,57,190,240,148,149,150,25,135,215,129,138,96,20,187,125,190,187,162,
-95,164,194,100,16,160,54,17,67,53,49,111,218,211,76,254,51,217,150,184,
-216,144,224,169,214,107,152,156,98,134,189,197,141,15,75,239,113,157,174,
-206,248,162,195,183,204,205,45,30,68,6,113,216,144,31,234,211,114,90,223,
-159,155,157,138,153,104,163,144,45,183,59,59,100,81,34,103,169,216,20,202,
-23,117,174,22,158,150,87,219,150,132,61,171,83,16,46,104,240,237,143,118,
-124,90,238,228,118,149,53,8,44,133,178,48,215,232,202,78,203,236,34,220,
-249,107,2,21,249,248,154,98,177,180,182,238,134,215,238,184,77,45,131,161,
-78,202,67,171,229,137,80,3,137,254,15,162,195,180,216,190,50,157,170,95,
-198,198,125,13,244,78,196,236,12,173,248,198,140,204,70,150,97,157,234,
-158,161,224,240,48,22,98,55,246,224,23,135,179,179,208,209,216,57,43,56,
-200,160,11,13,18,144,148,113,147,122,78,0,188,134,71,238,100,11,102,229,
-216,112,244,180,29,81,161,188,188,97,97,98,171,129,160,26,15,4,2,248,123,
-15,6,176,24,245,88,69,21,96,64,84,111,192,243,172,227,102,199,155,193,1,
-203,197,0,17,136,126,25,178,8,101,219,138,52,175,160,55,200,107,102,91,
-238,38,143,77,80,47,170,6,214,36,83,236,30,237,193,80,172,193,93,26,127,
-82,167,33,175,134,44,16,169,169,105,20,78,210,235,244,162,16,197,184,191,
-219,52,69,204,74,50,168,203,38,117,160,117,134,60,240,61,62,193,16,84,52,
-87,216,147,198,37,93,206,155,155,39,168,233,173,202,161,222,86,161,76,24,
-152,147,113,133,158,207,30,215,230,127,130,63,0,104,13,82,3,7,95,47,134,
-0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_133 = 1089;
-static unsigned char xml_res_file_133[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,10,240,0,
-0,10,240,1,66,172,52,152,0,0,0,7,116,73,77,69,7,216,4,28,18,25,37,18,80,
-112,68,0,0,3,193,73,68,65,84,72,199,173,149,77,104,92,85,20,199,127,247,
-227,205,188,153,100,38,73,191,67,106,43,73,176,11,81,40,5,63,106,183,238,
-220,8,210,69,161,162,32,136,109,65,65,193,226,166,10,138,10,130,40,149,
-168,155,66,67,43,138,138,66,17,81,232,70,112,163,84,36,150,166,150,150,
-73,147,201,75,172,51,157,201,188,76,102,222,199,61,46,50,148,78,26,155,
-72,60,240,231,61,206,59,247,252,222,189,151,251,191,176,222,248,164,163,
-149,185,53,194,174,27,176,121,149,220,243,192,201,206,251,177,141,2,214,
-95,185,193,24,103,47,167,121,146,231,240,187,242,167,86,47,215,255,181,
-127,214,243,246,251,25,239,232,150,199,11,7,134,207,108,43,222,250,240,
-44,112,182,163,141,76,124,79,97,176,23,197,126,109,212,216,82,18,125,0,
-140,1,233,93,87,118,248,228,38,0,117,237,88,85,214,2,52,107,73,180,181,
-216,155,123,120,116,120,180,22,53,159,105,125,147,100,166,102,111,124,198,
-17,2,14,117,138,190,0,14,222,6,184,118,172,10,32,187,63,236,47,122,214,
-14,12,244,246,98,141,69,80,24,165,81,70,161,52,169,7,205,169,90,99,123,
-190,55,207,129,123,239,231,74,125,118,223,245,122,101,200,247,109,237,242,
-120,240,3,135,41,3,194,65,224,220,42,75,36,34,135,20,28,55,90,43,163,13,
-2,162,149,70,107,133,104,136,83,39,247,12,108,234,223,209,183,153,197,72,
-51,178,101,8,47,203,182,159,174,92,126,71,193,200,228,187,193,24,175,50,
-243,175,123,16,69,241,96,127,174,176,251,145,145,189,248,190,37,140,67,
-172,246,48,218,160,180,66,4,178,214,167,175,183,135,216,165,40,23,83,200,
-101,245,131,59,119,109,45,228,115,7,115,185,76,230,183,115,83,103,56,207,
-31,60,65,114,39,160,157,196,190,245,121,104,244,1,242,5,69,16,206,146,53,
-62,214,88,180,50,104,109,208,202,144,74,74,61,169,82,15,67,180,39,236,217,
-54,136,231,217,209,216,37,71,154,46,138,47,63,22,120,236,227,119,106,68,
-93,0,133,33,74,34,102,194,18,198,181,153,11,3,50,214,199,106,131,214,10,
-173,53,74,27,180,210,40,5,24,133,65,115,195,45,176,189,88,164,47,123,95,
-222,46,154,23,123,90,153,145,11,50,53,206,86,206,119,3,68,139,115,142,48,
-170,97,109,74,59,105,227,68,208,90,119,201,24,131,213,22,131,233,156,166,
-4,149,102,197,182,180,82,13,201,179,36,163,8,155,1,189,2,160,68,68,136,
-93,11,139,33,163,125,204,237,205,85,71,104,144,229,61,17,17,148,19,170,
-149,134,186,57,191,72,189,222,12,91,75,241,36,25,230,80,164,93,0,109,44,
-218,40,196,139,48,153,44,190,179,24,99,186,254,94,41,16,129,36,117,160,
-65,43,133,212,132,171,165,121,254,12,130,70,73,87,222,159,206,220,252,22,
-97,2,33,238,158,65,234,188,102,163,197,196,197,89,178,25,75,156,184,78,
-83,141,66,129,2,107,52,197,98,142,157,187,7,240,197,163,89,137,41,93,15,
-152,174,84,175,148,194,202,215,83,249,234,87,28,224,34,187,150,79,119,55,
-32,73,231,155,97,187,52,121,233,47,173,180,194,137,8,10,16,165,16,133,19,
-113,198,234,254,29,219,11,253,131,59,250,136,150,18,230,102,106,238,210,
-76,249,239,233,102,245,243,160,39,28,227,16,179,0,124,185,186,23,157,69,
-248,206,185,229,5,118,203,110,40,145,75,178,137,19,109,218,182,146,20,219,
-47,247,180,237,113,169,36,92,173,85,185,48,53,61,87,73,23,95,11,36,252,
-145,97,130,85,189,104,232,141,2,128,42,159,104,44,0,11,119,243,162,161,
-147,133,249,72,18,38,174,151,9,163,232,151,114,163,118,166,34,205,239,121,
-137,249,91,69,167,129,167,110,3,148,79,52,0,238,52,186,215,87,60,1,235,
-153,92,203,197,209,68,16,148,34,73,78,85,198,155,31,243,107,103,236,167,
-157,162,167,55,96,215,229,250,130,83,168,73,223,216,87,250,179,217,159,
-111,53,255,223,226,45,30,229,77,14,243,2,185,174,252,71,27,109,252,94,71,
-43,227,237,142,216,232,149,233,58,234,242,247,181,135,253,3,203,50,147,
-100,183,187,84,212,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_134 = 882;
-static unsigned char xml_res_file_134[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,22,0,0,0,22,8,6,0,0,
-0,196,180,108,59,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,2,97,0,0,2,97,1,193,48,85,250,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,2,239,73,68,65,84,56,141,165,149,223,75,147,
-81,24,199,191,71,247,243,157,131,122,167,216,182,246,206,13,81,81,252,9,
-149,23,70,38,168,212,101,72,118,145,120,19,50,16,211,75,175,250,7,130,204,
-218,44,202,242,194,43,83,65,178,2,19,146,160,11,175,45,108,34,211,161,233,
-203,230,155,123,167,239,126,239,221,233,162,25,82,205,185,249,192,195,57,
-60,231,121,62,124,57,231,57,231,128,82,138,179,120,107,107,235,85,151,203,
-229,233,232,232,224,142,199,11,112,6,35,132,40,25,134,153,92,89,89,177,
-119,117,117,125,115,56,28,237,71,107,103,2,91,173,214,97,139,197,98,21,
-4,1,211,211,211,122,163,209,248,174,191,191,127,8,0,8,165,52,95,181,23,
-91,90,90,214,172,86,43,3,0,162,40,98,107,107,11,213,213,213,84,167,211,
-189,80,228,171,86,175,215,143,26,12,6,70,150,101,136,162,136,120,60,14,
-150,101,177,182,182,70,194,225,112,44,47,176,66,161,184,83,95,95,127,75,
-163,209,32,16,8,224,240,240,16,209,104,20,145,72,4,162,40,190,226,121,126,
-40,103,48,33,164,220,98,177,188,180,219,237,8,6,131,240,251,253,136,68,
-34,224,121,30,7,7,7,99,169,84,170,31,0,114,2,19,66,212,44,203,206,214,213,
-213,21,133,195,97,236,236,236,96,127,127,31,62,159,15,201,100,210,73,41,
-29,56,202,205,169,43,24,134,121,220,212,212,84,167,209,104,176,187,187,
-11,191,223,15,65,16,144,76,38,159,30,135,230,4,86,169,84,189,181,181,181,
-14,179,217,12,159,207,135,189,189,61,72,146,132,88,44,246,132,82,122,255,
-239,252,83,109,5,33,228,82,79,79,207,184,193,96,128,219,237,198,246,246,
-54,36,73,66,40,20,26,165,148,14,253,175,38,171,98,157,78,103,236,238,238,
-94,224,56,78,97,183,219,145,72,36,32,73,18,36,73,122,150,9,154,21,220,208,
-208,96,86,42,149,31,244,122,253,121,142,227,48,55,55,7,149,74,5,147,201,
-244,69,150,229,129,147,106,51,222,60,66,8,25,235,235,11,105,180,90,237,
-114,36,2,143,199,131,210,210,82,44,45,45,185,121,158,191,76,41,61,60,9,
-156,81,113,69,69,197,123,166,176,80,123,165,173,13,157,157,157,16,4,1,243,
-243,243,254,154,154,154,219,217,160,25,193,149,149,149,15,2,129,192,141,
-41,175,23,31,55,54,0,0,131,131,131,96,89,118,96,113,113,241,107,54,40,144,
-161,43,74,74,74,122,213,106,53,98,177,24,156,78,39,76,38,19,170,170,170,
-22,188,94,239,155,211,64,1,224,159,135,27,0,25,29,25,89,159,152,152,160,
-54,155,141,22,23,23,83,155,205,246,57,215,15,64,49,107,50,93,147,163,209,
-245,120,32,16,4,16,119,13,15,191,189,192,113,229,223,87,87,83,101,101,101,
-63,60,30,79,98,115,115,243,250,169,149,166,141,76,17,50,121,174,177,241,
-110,129,90,13,74,8,36,175,23,203,205,205,244,39,33,175,199,103,102,238,
-229,10,252,3,254,4,220,164,192,67,0,42,10,20,80,64,166,192,243,118,74,31,
-229,11,5,210,125,76,8,81,2,56,7,160,8,191,15,84,3,64,149,158,19,0,52,237,
-73,0,113,0,137,99,99,34,29,63,138,37,1,200,191,0,169,11,160,10,71,151,219,
-128,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_135 = 1566;
-static unsigned char xml_res_file_135[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,24,0,0,0,24,8,6,0,0,
-0,224,119,61,248,0,0,5,229,73,68,65,84,72,137,125,149,121,140,149,87,21,
-192,127,247,126,203,219,190,183,205,188,89,88,134,97,134,173,45,42,206,
-160,108,218,4,131,173,66,42,137,16,177,254,163,213,212,164,136,181,73,163,
-18,45,24,75,108,53,6,210,88,17,21,53,109,67,52,37,37,105,76,77,105,73,106,
-236,70,41,82,83,54,161,200,208,176,12,143,153,121,239,205,155,183,191,247,
-45,199,63,30,208,180,80,78,114,146,123,115,239,61,191,115,206,61,247,92,
-37,34,220,74,148,82,41,18,44,10,101,212,252,176,99,101,36,144,160,81,118,
-199,91,57,78,81,229,184,136,84,111,117,222,252,88,195,33,181,176,119,121,
-124,211,234,29,75,239,185,99,249,237,125,189,125,189,68,98,81,68,160,90,
-42,51,122,110,84,142,191,118,98,36,61,28,222,87,60,218,252,131,248,114,
-254,166,118,62,26,129,82,202,78,126,202,254,201,202,71,134,127,188,100,
-237,178,104,58,220,3,24,4,8,130,0,10,3,133,70,19,224,114,101,242,34,175,
-239,121,173,112,112,251,201,173,141,11,193,174,91,2,148,82,137,217,235,
-83,123,238,122,98,197,218,174,190,62,154,4,4,18,180,215,0,133,198,23,143,
-186,91,39,100,133,176,180,141,137,129,1,188,255,159,211,28,216,244,214,
-238,252,161,230,38,17,241,110,0,40,165,236,217,95,75,63,183,234,119,75,
-214,234,68,156,86,195,67,161,64,129,82,10,0,15,143,240,57,135,45,115,30,
-39,31,30,99,71,125,27,54,33,4,8,69,45,166,206,100,57,240,237,183,127,159,
-63,212,248,222,13,119,208,249,153,200,214,197,143,206,91,91,244,92,220,
-203,19,104,173,175,129,1,208,90,51,233,22,88,90,250,2,179,156,126,154,173,
-58,249,66,158,168,142,33,34,72,65,176,187,67,124,246,241,249,27,35,125,
-198,187,245,139,254,238,235,0,195,209,67,43,254,216,255,240,148,217,160,
-62,90,67,107,141,82,234,3,213,138,170,91,33,57,217,201,240,180,197,32,240,
-252,216,94,138,147,69,26,170,201,181,44,4,5,33,60,203,100,238,253,153,173,
-202,84,47,136,39,89,19,96,250,74,103,147,127,91,43,122,225,220,24,10,141,
-161,53,250,170,42,173,104,185,45,134,155,75,249,245,210,157,76,207,76,71,
-16,78,22,142,49,62,49,78,196,136,98,40,131,32,8,8,68,96,82,136,222,105,
-204,76,46,180,238,3,126,105,42,91,117,47,124,44,181,250,66,118,140,90,14,
-76,219,192,48,52,218,48,218,16,83,225,78,249,60,176,236,33,142,143,31,165,
-51,217,73,200,10,113,27,159,36,84,115,232,29,236,102,215,233,39,8,169,48,
-190,239,227,123,1,225,36,36,151,155,27,148,86,219,141,200,12,235,206,142,
-53,230,198,137,145,6,126,81,240,235,62,110,205,195,109,184,180,234,45,90,
-245,22,21,175,69,177,146,99,253,220,175,211,147,234,1,160,207,236,39,231,
-142,243,236,153,61,76,20,10,120,21,23,119,202,195,43,250,180,242,62,78,
-220,234,40,29,241,247,153,209,153,230,2,207,243,241,46,181,111,68,135,1,
-27,176,64,44,192,16,12,11,94,24,125,145,159,14,109,3,224,213,139,175,240,
-200,171,15,243,78,246,4,226,5,132,4,196,5,105,129,52,193,243,64,166,137,
-109,103,140,1,211,74,26,93,94,206,39,200,131,78,130,232,118,205,139,0,1,
-40,19,170,101,248,225,162,135,248,244,236,33,0,254,126,234,121,222,60,113,
-140,152,3,58,128,192,3,220,54,132,102,27,20,120,130,225,168,30,83,153,224,
-103,193,61,10,70,6,116,6,84,18,180,3,42,2,174,13,93,65,146,141,159,255,
-254,245,7,185,253,238,39,49,3,131,223,188,254,36,150,128,242,218,158,75,
-29,164,4,126,17,36,218,118,206,116,27,193,68,60,109,160,108,144,10,4,62,
-80,130,32,2,174,217,158,127,101,213,42,6,167,13,114,121,114,148,67,103,
-15,210,29,239,225,177,85,219,73,122,41,182,236,217,70,68,218,198,131,42,
-72,25,104,128,158,167,241,3,127,204,172,229,221,247,122,226,81,172,12,120,
-13,80,49,112,53,4,2,203,230,13,179,108,193,10,182,108,248,57,99,83,87,216,
-240,219,117,188,249,223,195,224,194,223,30,252,43,3,201,57,80,7,49,0,1,
-101,128,132,192,140,131,17,211,205,86,57,120,223,172,229,221,119,148,103,
-140,198,230,168,25,165,17,161,169,96,243,189,63,98,245,146,53,196,34,81,
-38,27,5,158,57,252,103,118,253,115,39,35,185,75,68,187,160,86,2,63,240,
-153,104,142,67,4,148,213,206,61,6,40,129,232,44,141,87,149,147,94,61,120,
-207,148,243,50,209,255,157,212,139,157,139,34,223,45,141,215,112,44,155,
-47,14,221,197,206,127,237,96,255,201,253,84,61,31,52,216,17,112,210,31,
-116,201,131,255,123,131,129,217,131,96,131,10,1,26,4,208,26,82,243,108,
-38,223,240,159,147,75,226,105,128,203,71,42,187,98,209,72,53,113,59,216,
-49,139,95,189,244,11,246,189,251,15,124,219,39,150,6,167,3,236,24,16,190,
-170,17,152,116,243,124,115,249,183,184,239,238,111,32,225,118,106,176,33,
-177,64,99,248,214,197,194,72,243,233,15,117,211,222,123,157,71,103,172,
-55,127,54,114,120,138,74,1,194,201,171,158,89,87,67,191,54,166,93,142,182,
-111,211,31,31,32,101,167,249,247,217,183,241,171,66,40,1,51,231,59,156,
-223,219,186,191,116,160,249,151,15,183,235,59,148,53,120,79,106,111,242,
-115,254,87,207,31,43,211,40,131,14,181,75,85,167,21,118,194,194,10,181,
-9,94,203,163,81,110,209,152,16,130,26,132,2,8,197,97,250,156,24,19,47,7,
-59,175,60,85,123,240,230,31,206,34,229,12,172,73,61,147,89,41,235,178,163,
-83,148,114,160,210,154,68,198,33,238,196,9,133,195,40,160,217,106,81,169,
-148,41,21,202,248,5,159,68,90,145,73,197,201,190,236,237,26,123,171,246,
-3,57,38,254,77,1,0,106,177,178,50,67,177,205,253,95,14,111,246,123,235,
-142,111,88,196,204,78,156,104,138,72,36,138,82,138,70,179,65,181,86,164,
-234,230,145,70,3,239,156,61,126,225,165,250,150,210,222,198,159,248,136,
-220,0,184,38,230,151,204,5,61,195,209,7,166,13,71,215,117,207,77,207,234,
-232,234,192,113,18,40,160,92,46,147,187,146,11,178,167,11,103,179,71,170,
-207,230,78,212,119,7,175,4,163,55,179,243,177,128,235,27,86,171,132,213,
-97,124,34,210,105,206,181,162,70,143,136,248,173,138,159,173,23,220,51,
-126,81,78,201,126,169,221,234,252,255,1,92,191,178,62,219,85,42,35,0,0,
-0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_136 = 424;
-static unsigned char xml_res_file_136[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,37,73,68,65,84,56,141,205,147,207,74,
-2,81,20,198,127,231,114,213,17,102,24,114,169,155,144,89,4,45,204,22,237,
-252,211,51,244,30,210,59,132,143,210,38,247,225,51,40,146,144,182,208,200,
-118,250,0,205,56,42,115,111,155,9,90,164,101,46,234,192,7,7,14,223,199,
-239,192,57,98,173,229,144,82,7,185,255,69,128,0,12,6,253,43,223,247,47,
-246,49,134,97,248,88,169,84,111,117,167,115,119,82,46,7,157,76,38,35,97,
-248,134,136,34,159,119,112,28,7,17,249,210,108,45,196,113,68,183,123,255,
-162,11,133,163,98,46,151,149,245,122,195,104,60,98,62,159,211,108,94,226,
-186,222,78,130,108,214,193,247,253,162,182,22,43,162,112,93,151,234,217,
-57,158,59,165,84,44,125,191,123,10,167,140,73,140,82,10,165,212,86,228,
-93,165,108,122,73,191,49,167,4,198,138,8,81,20,49,30,143,152,189,206,88,
-44,22,63,15,232,245,250,207,113,28,45,181,214,4,65,64,163,222,192,243,60,
-140,49,91,149,36,9,171,213,42,153,76,166,79,2,72,187,125,115,92,171,213,
-79,247,65,31,14,31,38,173,214,245,84,254,252,153,244,71,35,34,26,112,62,
-41,151,206,5,48,192,6,88,3,113,170,165,181,214,188,3,210,251,123,115,6,
-128,157,149,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_137 = 549;
-static unsigned char xml_res_file_137[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,162,73,68,65,84,120,218,165,147,59,75,
-3,65,20,133,207,204,206,174,97,19,139,68,18,53,138,218,138,133,198,214,
-66,68,124,180,250,7,84,108,109,85,176,177,80,11,181,81,177,139,141,157,
-69,44,108,35,254,138,16,81,2,73,10,31,144,164,176,137,73,246,233,157,184,
-172,34,184,248,248,224,112,135,225,204,97,230,114,135,185,174,139,255,32,
-114,185,220,164,174,235,35,248,3,134,97,60,11,77,235,216,86,20,49,165,105,
-26,56,231,109,49,198,124,147,227,56,144,183,52,77,179,189,111,89,22,80,
-173,162,126,157,5,95,88,44,11,50,152,181,90,13,241,120,2,1,80,136,131,122,
-189,14,219,182,17,209,195,40,81,29,48,45,91,52,26,77,244,244,244,34,127,
-155,199,120,42,133,32,194,225,176,191,30,91,89,197,227,227,3,68,171,213,
-66,127,127,18,153,203,12,230,102,103,144,205,213,240,242,10,112,206,48,
-156,212,48,210,215,137,239,40,20,10,16,240,168,84,170,216,63,56,132,61,
-56,143,238,136,138,134,197,96,91,177,192,0,217,27,14,143,68,34,142,205,
-141,117,60,53,59,113,145,143,225,234,62,10,203,113,65,4,5,48,129,47,156,
-46,13,225,167,184,112,5,199,63,96,128,16,248,194,111,154,200,24,251,8,168,
-210,112,28,29,159,160,217,59,141,68,68,120,77,140,6,6,112,206,85,63,96,
-111,119,7,146,181,243,50,110,202,58,36,203,93,193,77,84,8,33,39,172,88,
-44,33,20,10,65,178,53,211,1,192,134,247,201,104,88,158,252,209,150,85,74,
-62,207,48,76,168,170,42,88,58,125,54,65,65,163,20,36,15,113,25,76,86,69,
-86,50,191,139,51,133,51,46,215,130,196,137,118,37,255,157,255,157,165,145,
-138,246,73,234,123,24,24,73,154,44,79,134,167,22,157,117,222,0,226,170,
-166,156,164,72,155,69,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_138 = 639;
-static unsigned char xml_res_file_138[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,252,73,68,65,84,56,141,141,83,61,104,
-83,81,20,254,174,239,37,49,240,94,147,151,100,120,49,33,22,18,65,218,66,
-158,36,78,18,208,32,212,168,197,81,52,139,84,92,218,161,147,210,173,45,
-146,12,14,22,28,212,213,33,155,52,139,75,7,209,33,67,208,90,34,33,66,35,
-26,163,210,84,72,8,132,232,251,105,94,143,67,27,9,105,120,241,131,195,225,
-114,46,223,57,223,119,238,101,68,132,65,184,221,110,113,249,193,242,109,
-191,124,74,169,124,170,76,127,171,215,154,54,187,237,73,46,151,123,139,
-17,224,7,15,217,108,118,41,159,207,223,215,53,61,80,44,190,59,112,123,164,
-95,252,207,31,188,228,150,210,0,70,18,128,136,64,68,200,100,50,27,219,91,
-91,7,251,134,65,207,158,62,167,245,199,235,119,250,53,171,56,1,0,169,212,
-213,233,201,211,147,215,196,137,9,83,85,85,186,148,188,8,99,223,232,140,
-236,56,4,182,178,178,122,207,239,151,31,105,154,46,16,209,27,195,208,229,
-43,179,179,122,40,20,242,94,159,155,75,21,10,133,29,75,134,133,133,197,
-237,82,233,35,205,207,223,125,209,31,43,26,141,158,175,148,203,45,85,85,
-27,137,68,98,202,82,130,36,73,201,181,181,213,188,195,225,88,236,147,150,
-74,165,247,183,210,233,203,123,187,187,188,141,231,55,69,81,124,205,24,
-115,88,154,56,42,92,46,215,67,69,81,40,22,139,145,36,73,101,0,242,240,157,
-177,46,11,130,80,84,20,133,226,241,56,201,178,252,5,128,50,88,103,195,15,
-233,152,203,140,157,20,4,225,67,56,28,158,226,56,14,237,118,251,123,173,
-86,187,73,68,69,0,135,107,180,2,17,105,221,110,55,89,175,215,191,246,122,
-61,120,189,222,80,36,18,121,201,24,187,0,96,252,4,3,147,132,61,30,207,171,
-96,48,120,214,110,183,163,211,233,236,85,171,213,212,127,19,28,145,156,
-241,249,124,27,129,64,96,134,227,56,104,154,86,24,43,97,72,206,231,102,
-179,121,163,209,104,236,152,166,169,183,90,173,205,177,91,24,21,0,68,167,
-211,121,238,223,22,24,99,12,0,135,195,223,201,3,176,29,101,110,32,247,97,
-2,48,0,252,6,240,231,47,250,19,99,204,180,175,12,240,0,0,0,0,73,69,78,68,
-174,66,96,130};
-
-static size_t xml_res_size_139 = 3572;
-static unsigned char xml_res_file_139[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,3,15,73,68,65,84,120,218,116,83,77,108,27,101,16,125,235,77,
-156,16,47,94,103,101,55,113,217,210,74,17,61,85,72,17,190,36,106,122,160,
-162,52,61,128,69,34,1,109,15,110,14,36,226,0,10,185,113,228,142,170,40,
-170,68,43,37,14,34,110,137,168,1,137,42,164,7,64,173,56,160,6,69,105,9,
-53,254,73,220,141,255,26,27,239,174,188,187,73,236,245,183,195,201,81,139,
-234,145,70,154,195,123,163,121,243,102,92,68,132,23,229,216,216,216,133,
-104,52,170,47,46,46,106,161,80,232,108,59,92,7,254,23,243,243,243,254,245,
-245,245,198,192,192,64,228,157,119,195,162,219,221,137,116,58,125,101,102,
-102,230,15,89,150,133,233,233,233,221,103,241,28,17,1,0,98,177,216,167,
-130,215,123,85,83,213,93,79,143,71,56,61,50,34,16,17,186,186,220,240,122,
-189,248,121,101,197,168,25,134,245,202,209,163,125,201,84,234,227,169,201,
-201,175,0,0,68,4,73,146,92,177,155,183,114,74,190,64,85,85,165,170,170,
-82,185,82,33,101,39,71,165,167,79,105,183,92,166,154,97,144,105,89,116,
-80,111,208,242,242,114,182,37,193,5,0,213,106,213,185,117,51,246,61,57,
-14,52,93,71,173,102,64,121,162,64,81,20,148,74,37,152,166,9,198,24,108,
-219,6,99,77,44,44,44,124,219,146,224,106,21,111,157,59,55,226,56,14,26,
-117,27,255,36,18,240,7,2,232,245,249,28,191,63,224,244,247,247,99,99,99,
-3,245,122,3,140,49,188,125,254,252,155,135,75,152,154,154,186,48,59,59,
-91,73,166,82,205,204,214,54,61,120,176,70,133,66,145,190,89,90,82,68,81,
-12,7,2,129,203,171,119,239,86,254,85,85,90,91,251,147,10,197,18,165,51,
-153,230,220,220,92,101,120,120,248,172,43,153,76,157,122,255,226,37,191,
-67,224,173,189,61,52,108,27,251,251,7,184,253,221,237,121,93,215,127,44,
-151,203,75,241,120,252,7,77,213,208,176,155,104,54,109,116,116,118,242,
-31,94,188,228,231,249,142,83,46,211,52,246,237,250,1,28,230,128,28,7,68,
-4,209,39,226,204,153,145,211,173,41,135,134,134,222,240,120,60,208,52,21,
-53,195,4,7,14,134,81,131,105,26,251,124,177,88,76,106,170,250,186,79,20,
-95,126,237,228,73,129,49,6,73,234,133,174,235,3,15,31,62,250,44,145,72,
-124,222,213,221,125,226,248,241,87,193,88,19,162,232,195,253,251,247,10,
-95,71,163,191,175,174,174,126,241,236,229,93,51,173,61,202,23,138,244,203,
-175,191,81,185,82,161,71,127,109,210,230,223,143,73,81,118,232,167,59,119,
-104,243,113,130,178,202,14,141,142,142,126,249,156,141,0,48,56,56,248,30,
-223,193,163,167,231,37,28,59,38,35,187,157,133,105,89,48,12,3,197,82,9,
-71,250,250,224,19,69,240,60,143,80,40,244,65,139,119,120,202,53,195,216,
-238,118,187,251,247,44,139,36,73,130,32,8,92,85,213,192,113,28,4,65,0,17,
-17,99,140,58,221,110,151,170,170,153,67,27,91,163,0,16,199,199,199,227,
-193,96,240,138,44,203,159,164,210,233,131,172,178,67,217,39,10,101,182,
-182,140,96,48,56,41,203,242,71,225,112,56,14,64,60,228,181,251,178,235,
-55,110,36,243,249,60,229,114,57,154,152,152,184,215,14,215,182,1,199,113,
-82,36,18,89,137,68,34,43,28,199,245,182,195,253,55,0,235,12,32,181,63,194,
-72,200,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_140 = 722;
-static unsigned char xml_res_file_140[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,79,73,68,65,84,120,218,165,147,203,79,
-19,81,20,135,191,59,51,29,90,91,12,25,192,66,160,229,97,19,23,36,168,113,
-101,140,27,141,137,59,87,238,100,167,11,31,123,72,124,155,224,66,77,140,
-143,63,66,87,46,93,104,116,97,10,168,65,64,93,176,208,80,30,162,181,13,
-143,78,161,50,51,157,235,29,38,78,10,91,79,114,114,239,230,251,242,59,119,
-206,8,41,37,255,83,6,187,106,78,136,193,85,120,102,230,114,201,166,92,46,
-22,75,167,117,183,88,172,59,179,179,246,158,66,225,108,159,148,159,119,
-8,118,195,165,108,54,223,121,119,52,213,100,89,8,161,129,166,33,61,23,167,
-98,119,46,15,15,231,17,226,88,163,36,24,33,130,23,187,187,242,61,55,110,
-166,204,141,42,178,94,7,207,195,87,167,239,186,212,125,31,105,181,178,116,
-255,94,53,243,99,57,146,104,255,224,185,142,244,88,207,237,91,41,189,92,
-66,40,72,87,45,42,21,116,213,134,130,13,41,145,223,191,145,29,25,78,21,
-58,58,198,2,134,72,96,24,207,123,175,95,77,106,243,11,232,190,79,219,185,
-33,90,135,134,212,61,16,121,180,159,191,64,231,197,75,152,2,220,201,73,
-122,175,141,36,3,38,122,131,154,231,37,170,31,38,104,105,105,67,152,38,
-56,14,70,38,131,117,249,10,193,136,49,117,119,11,115,232,171,171,24,42,
-209,198,251,137,109,38,74,224,128,96,179,138,86,89,71,47,254,98,101,244,
-14,238,194,60,70,119,70,193,89,220,197,5,214,159,60,38,174,68,205,3,3,24,
-186,216,102,162,4,30,136,149,252,91,154,140,102,234,201,36,122,54,27,62,
-34,97,73,215,101,99,250,19,222,244,20,117,219,102,45,17,50,141,9,144,155,
-54,252,92,198,93,95,163,253,193,67,204,190,126,254,124,253,178,221,102,
-255,126,210,143,158,226,39,226,136,0,210,67,38,74,32,97,171,166,179,163,
-182,20,184,120,250,36,190,239,211,243,242,53,154,105,34,1,1,84,244,144,
-137,246,96,74,136,131,239,98,140,15,54,147,232,178,65,219,215,30,218,131,
-79,10,184,150,5,122,12,126,23,89,74,193,140,77,237,184,203,209,195,82,206,
-68,139,20,72,222,152,140,31,217,75,34,83,33,140,42,194,83,2,190,132,165,
-22,193,199,53,89,59,225,132,112,227,38,70,146,87,74,114,192,87,73,82,73,
-98,241,56,186,97,80,247,60,202,8,38,87,202,181,83,13,240,110,65,36,25,135,
-23,234,39,74,196,45,75,11,102,247,29,7,175,84,170,29,42,151,207,68,112,
-163,224,127,234,47,178,42,31,70,85,64,167,30,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_141 = 438;
-static unsigned char xml_res_file_141[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,13,215,0,0,13,215,1,66,40,155,120,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,1,51,73,68,65,84,56,141,165,82,187,
-74,3,81,16,61,231,222,217,123,19,12,168,141,32,154,38,104,109,10,91,27,
-45,253,0,211,88,248,23,129,252,128,254,64,64,252,8,91,65,16,172,141,224,
-7,104,140,154,66,141,162,6,20,53,187,59,22,217,248,0,31,187,230,192,112,
-135,185,156,51,195,153,161,170,98,24,152,161,216,0,4,0,22,215,143,95,1,
-4,159,63,2,203,70,28,197,43,187,213,217,230,111,2,84,85,44,109,156,132,
-107,11,99,214,50,169,42,112,212,126,9,15,79,159,16,107,191,201,119,216,
-171,206,80,0,128,0,8,77,178,254,83,46,122,41,23,253,143,157,183,246,239,
-0,36,30,232,59,51,59,18,1,165,249,167,134,84,234,45,79,5,198,11,130,44,
-131,16,64,165,222,242,92,221,60,139,51,49,191,66,197,9,57,95,26,133,216,
-129,110,58,132,145,162,209,124,160,113,66,20,114,22,80,131,193,62,254,10,
-162,207,113,66,136,23,131,156,179,16,155,237,164,197,18,94,12,196,7,12,
-125,64,201,187,108,87,29,169,194,7,12,37,239,204,206,229,253,243,114,105,
-98,132,98,211,121,208,139,20,205,171,199,56,239,204,182,116,111,175,107,
-221,155,222,212,69,103,114,14,96,202,49,52,234,118,206,15,148,82,27,56,
-51,141,15,151,82,41,36,209,126,3,225,11,88,131,102,170,5,191,0,0,0,0,73,
-69,78,68,174,66,96,130};
-
-static size_t xml_res_size_142 = 3498;
-static unsigned char xml_res_file_142[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,2,197,73,68,65,84,120,218,140,83,203,75,84,113,24,61,191,223,
-125,120,175,243,212,81,201,208,210,114,202,39,137,162,86,27,145,222,37,
-86,26,33,214,38,36,255,129,218,100,209,170,92,42,212,46,10,20,209,34,91,
-4,45,122,72,73,10,10,133,148,129,66,106,62,70,83,71,155,151,227,92,239,
-220,59,247,254,90,76,14,82,139,252,224,108,14,124,231,251,56,223,249,192,
-24,195,78,208,82,90,244,214,157,150,81,249,55,79,177,195,202,183,203,133,
-247,155,234,250,247,157,145,11,183,243,60,0,220,148,248,235,28,51,75,168,
-129,28,74,0,16,0,0,33,0,97,0,99,38,99,153,21,121,180,161,161,212,30,120,
-60,49,144,117,199,86,179,120,47,60,1,0,132,49,134,238,219,13,223,78,84,
-228,23,24,102,56,42,138,26,4,94,3,37,132,32,166,34,166,172,67,217,208,97,
-232,156,132,152,74,161,1,61,47,38,86,159,84,40,39,127,116,132,198,120,0,
-112,168,139,78,97,57,194,139,92,136,119,166,104,160,182,116,64,202,4,152,
-8,16,19,169,218,60,54,126,45,192,23,115,64,165,54,84,31,226,50,60,67,198,
-35,0,85,60,0,232,193,89,182,54,253,21,178,44,65,8,186,252,182,52,91,4,46,
-66,33,59,192,88,18,162,140,131,32,32,221,234,251,46,250,180,24,250,62,135,
-102,6,154,109,245,9,15,146,120,221,72,22,52,236,74,205,4,96,166,182,54,
-127,236,231,248,65,1,140,1,136,27,94,86,157,85,85,223,88,158,221,215,59,
-233,123,221,106,189,24,210,140,64,66,64,18,49,106,149,56,159,232,204,14,
-63,120,58,62,212,213,86,86,93,221,228,168,233,221,251,129,109,185,253,170,
-182,120,225,249,155,205,141,249,190,115,119,35,211,239,243,253,61,201,237,
-184,140,227,60,0,8,132,13,39,83,113,220,107,79,181,60,107,44,186,145,18,
-161,202,246,102,0,8,205,45,77,117,212,167,15,23,75,244,52,11,71,157,92,
-18,159,157,216,64,52,48,50,175,195,125,126,114,226,97,126,139,219,178,210,
-181,172,208,107,185,239,8,33,216,58,170,89,238,80,69,111,236,152,123,217,
-119,88,89,143,130,176,228,104,66,96,70,231,141,75,62,75,187,114,212,235,
-112,204,240,168,168,205,78,57,117,229,96,169,203,154,1,137,72,8,32,140,
-159,250,170,25,157,13,72,158,165,121,40,139,81,112,155,219,130,116,75,115,
-118,230,228,229,165,97,45,136,152,172,99,78,247,242,30,115,37,157,105,99,
-48,36,29,155,230,38,34,27,10,214,85,5,97,143,6,99,14,160,218,54,129,171,
-65,255,133,238,73,207,136,251,64,150,139,205,174,131,170,130,169,135,212,
-136,105,37,48,44,4,148,8,16,53,25,150,32,5,167,197,76,102,39,66,52,44,234,
-9,129,182,151,254,41,249,172,92,217,201,179,79,123,246,239,118,125,25,156,
-243,135,84,35,176,21,233,248,44,49,14,6,22,143,48,134,145,56,242,31,212,
-29,225,114,211,154,11,66,182,230,220,181,157,126,233,191,68,166,84,98,111,
-200,29,165,41,241,63,249,31,126,15,0,158,170,158,59,85,250,179,97,0,0,0,
-0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_143 = 714;
-static unsigned char xml_res_file_143[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,71,73,68,65,84,56,141,117,147,63,104,
-83,81,20,198,127,247,222,247,210,23,11,105,147,214,214,197,154,74,197,170,
-53,88,164,131,67,21,58,72,7,197,254,3,167,226,34,214,81,16,7,113,106,213,
-77,71,119,255,12,162,82,55,37,136,115,177,118,168,62,91,17,225,161,165,
-105,17,163,196,216,164,121,201,123,201,117,104,242,72,90,251,193,225,112,
-57,231,124,231,187,223,229,10,173,53,219,33,132,232,1,18,59,10,59,97,27,
-245,167,233,155,103,38,59,162,155,131,64,210,117,221,89,215,117,241,125,
-159,38,203,66,10,1,66,32,170,189,166,105,98,154,230,120,3,193,224,137,213,
-203,167,18,169,35,127,254,30,235,251,60,55,73,172,217,161,217,218,96,117,
-163,155,223,249,94,34,29,23,137,31,236,3,33,144,82,110,169,5,122,128,68,
-103,103,103,108,233,117,230,94,123,107,169,101,55,189,155,197,86,222,59,
-19,244,14,220,161,45,22,35,20,10,141,27,64,98,109,125,125,246,195,187,7,
-180,183,222,13,154,139,94,152,79,223,79,98,127,235,199,245,247,145,74,165,
-232,63,222,65,219,158,143,188,122,113,141,75,87,159,0,96,0,184,174,75,87,
-244,109,195,54,141,193,242,218,121,226,135,7,232,142,199,89,88,88,96,100,
-116,20,33,4,167,33,184,130,1,144,207,231,249,153,105,103,179,120,14,173,
-161,92,169,80,46,107,76,28,226,7,38,8,135,195,181,215,105,136,128,32,18,
-137,96,28,189,143,146,146,82,169,4,90,35,165,100,239,33,137,105,154,72,
-41,131,168,13,214,96,80,149,99,40,133,161,20,97,203,218,209,28,56,46,4,
-229,114,153,92,46,79,58,147,249,1,100,141,90,65,41,133,82,10,41,101,144,
-183,203,213,90,147,78,167,241,43,120,99,227,99,51,192,156,4,144,66,160,
-170,131,245,36,74,41,92,215,13,182,123,158,71,58,155,203,142,92,24,185,
-190,180,184,248,80,107,93,8,20,212,54,214,134,115,185,28,142,227,208,100,
-89,196,162,81,111,126,126,222,46,150,252,95,211,51,183,159,127,253,178,
-252,84,107,93,8,60,248,159,195,142,227,176,191,171,139,88,52,234,15,13,
-13,221,178,109,251,25,80,0,178,90,235,82,131,137,245,36,0,190,239,227,121,
-62,166,97,228,134,135,207,222,176,109,251,81,109,227,118,24,64,54,153,76,
-190,49,77,179,225,125,42,149,138,158,154,186,242,120,101,101,229,229,110,
-195,176,245,23,66,64,75,53,91,117,185,169,42,217,7,42,128,7,20,1,183,26,
-5,173,181,255,15,157,65,220,45,65,210,154,106,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_144 = 860;
-static unsigned char xml_res_file_144[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,217,73,68,65,84,56,141,157,146,91,104,
-20,103,24,134,159,153,29,147,205,193,205,68,119,49,163,24,98,86,104,36,
-82,132,80,171,54,108,155,198,106,72,245,74,209,218,40,214,234,230,86,27,
-13,85,17,65,177,30,105,11,5,91,210,27,41,158,109,20,60,5,5,33,10,181,149,
-128,6,207,135,104,21,15,209,168,187,217,73,118,103,117,231,255,255,241,
-34,49,38,244,166,248,193,119,249,190,60,239,251,125,154,231,121,252,159,
-105,94,97,141,42,187,81,222,42,82,233,187,195,44,171,190,188,185,249,25,
-128,230,121,30,179,103,205,234,126,245,234,181,185,252,187,198,33,34,77,
-7,208,209,112,153,192,122,30,158,48,9,28,189,201,117,199,225,208,212,169,
-137,99,39,79,22,26,0,78,202,49,139,172,34,34,159,85,49,152,71,3,52,205,
-35,125,121,33,47,186,116,190,105,185,67,212,212,9,189,76,162,119,39,76,
-0,3,64,41,133,63,219,143,63,203,199,238,51,87,134,80,20,116,253,204,164,
-224,109,22,172,115,208,68,140,154,198,44,14,159,157,64,226,158,193,128,
-129,84,10,33,4,186,14,11,171,39,162,1,30,112,187,173,137,146,192,53,106,
-27,94,19,123,249,156,253,27,114,177,179,62,231,175,187,157,72,37,233,11,
-216,79,32,165,164,55,157,33,157,17,56,25,193,253,27,39,40,203,222,69,221,
-134,12,255,62,140,243,235,170,28,200,45,163,237,201,20,252,57,57,3,132,
-125,17,164,68,8,65,50,157,225,224,169,127,200,118,239,19,253,228,14,245,
-91,52,46,223,178,249,190,78,144,31,48,217,122,108,28,95,206,48,49,11,10,
-232,237,233,249,47,65,79,50,77,228,195,32,209,79,99,236,60,240,136,191,
-219,109,22,77,79,81,85,145,199,159,237,95,80,254,193,120,42,62,142,160,
-148,66,41,53,136,64,73,164,16,108,92,249,45,63,53,142,101,239,233,167,52,
-237,189,73,69,201,99,234,170,13,150,108,211,73,164,90,9,135,195,220,187,
-122,145,183,154,119,37,74,133,146,25,86,47,150,156,59,115,132,237,123,10,
-41,25,217,197,15,245,62,150,237,200,229,105,204,163,116,92,17,134,207,135,
-16,130,183,154,33,29,44,157,254,128,238,103,49,54,237,51,25,21,232,225,
-247,70,248,241,104,41,90,126,144,213,107,230,16,137,68,152,55,103,46,82,
-74,194,165,165,40,57,232,10,149,21,37,228,229,249,104,248,45,192,240,28,
-193,206,229,189,108,217,163,104,189,40,41,46,46,198,178,44,58,58,58,176,
-70,143,70,55,124,72,165,112,251,73,116,128,234,170,105,88,147,54,81,16,
-240,179,35,250,156,227,231,53,254,104,113,9,133,66,84,86,86,98,219,54,182,
-109,227,41,133,146,138,96,48,136,235,186,125,6,27,27,230,27,99,198,132,
-112,226,109,172,248,202,228,194,173,32,191,28,206,101,132,89,72,109,109,
-45,201,100,114,192,32,149,74,225,186,46,105,199,65,246,19,24,195,252,249,
-107,215,109,110,98,230,71,1,177,191,165,203,168,170,153,199,146,165,62,
-0,226,241,248,144,183,126,210,217,9,120,92,106,111,71,247,233,9,0,26,150,
-213,124,29,157,59,57,236,121,30,239,179,111,0,253,150,112,159,202,2,243,
-234,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_145 = 368;
-static unsigned char xml_res_file_145[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,4,0,0,
-0,181,250,55,234,0,0,0,2,115,66,73,84,8,8,85,236,70,4,0,0,0,9,112,72,89,
-115,0,0,13,215,0,0,13,215,1,66,40,155,120,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,0,239,73,68,65,84,120,218,109,141,49,106,
-2,81,20,69,143,160,8,238,64,77,192,218,29,232,46,130,149,32,50,76,169,11,
-72,107,27,236,101,186,113,31,238,64,72,51,67,24,130,197,219,65,72,17,53,
-65,240,229,253,175,249,69,230,115,155,243,47,231,221,143,222,67,159,135,
-192,143,244,3,7,152,47,51,90,158,90,70,243,186,144,28,132,177,167,177,81,
-18,17,174,234,54,220,253,85,99,194,164,18,183,225,238,43,97,82,23,186,105,
-126,177,141,101,118,209,52,167,91,19,12,167,165,188,91,74,97,170,196,4,
-219,248,214,31,127,31,21,20,102,31,231,207,51,51,37,190,208,92,100,71,61,
-234,34,163,25,23,70,165,20,150,82,24,253,19,104,243,204,138,98,45,105,158,
-230,107,161,96,101,77,251,46,48,224,149,202,155,91,95,109,61,87,214,14,
-110,194,134,23,26,236,120,163,227,133,142,209,142,134,181,155,155,176,231,
-137,30,7,134,225,223,161,189,122,214,238,255,22,78,124,145,40,33,144,88,
-115,114,11,191,244,156,228,139,176,237,40,145,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_146 = 514;
-static unsigned char xml_res_file_146[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,127,73,68,65,84,120,218,141,147,191,
-75,195,64,20,199,223,93,10,113,168,253,11,4,23,7,39,255,131,230,127,208,
-252,39,29,84,104,55,23,87,135,238,66,231,128,117,17,113,118,171,75,234,
-168,173,83,136,193,208,169,129,36,109,158,239,133,59,174,119,69,240,193,
-55,239,238,253,248,188,151,64,4,0,156,144,206,224,127,22,35,226,199,110,
-160,195,205,223,89,22,33,2,120,158,4,41,4,8,41,65,176,103,113,21,121,73,
-177,195,110,55,164,219,30,0,84,77,107,89,150,193,98,185,100,144,138,11,
-126,232,251,41,221,251,96,236,139,0,60,217,3,64,108,167,196,113,12,65,16,
-208,22,30,197,205,38,12,88,173,86,55,116,70,61,113,52,28,222,182,0,161,
-214,150,106,117,174,144,60,80,231,140,36,236,188,86,175,215,243,25,160,
-27,217,179,120,163,86,210,1,75,5,106,77,157,45,128,103,0,236,141,20,200,
-5,176,25,128,242,142,24,106,109,104,153,6,8,150,42,34,227,73,166,217,0,
-116,222,242,29,125,144,102,130,94,215,105,118,1,102,3,43,169,55,112,27,
-93,136,1,184,166,129,127,64,16,17,170,170,130,178,170,112,254,62,79,24,
-128,148,65,42,22,138,238,78,178,154,147,36,1,223,63,128,187,241,248,101,
-250,48,157,112,254,152,116,78,186,96,245,131,224,190,40,10,44,203,18,105,
-18,110,54,27,220,110,183,216,52,13,174,215,107,76,211,20,7,87,215,175,84,
-123,196,64,166,90,10,195,112,160,1,117,93,91,128,159,60,111,46,135,163,
-103,110,38,113,253,254,55,136,162,232,73,253,31,210,205,125,46,22,249,219,
-108,246,72,141,185,142,253,2,129,148,157,172,56,170,73,206,0,0,0,0,73,69,
-78,68,174,66,96,130};
-
-static size_t xml_res_size_147 = 567;
-static unsigned char xml_res_file_147[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,180,73,68,65,84,56,141,125,147,191,74,
-99,65,20,198,191,51,142,183,138,130,117,170,245,1,46,194,46,88,248,22,105,
-82,184,98,100,255,128,15,32,194,146,34,207,144,34,141,165,228,130,141,233,
-44,101,85,148,109,22,235,64,22,66,138,64,192,141,24,239,222,252,153,59,
-231,216,56,215,241,38,217,3,211,204,157,239,59,223,239,204,29,18,17,184,
-106,183,219,95,69,228,132,153,225,22,128,221,48,12,35,44,41,242,13,90,173,
-150,44,58,84,42,149,148,248,7,125,131,90,173,118,95,44,22,183,38,147,9,
-202,229,242,194,46,141,70,3,90,107,12,6,131,223,245,122,253,147,255,77,
-51,243,86,175,215,195,120,60,70,181,90,133,181,22,73,146,192,90,11,107,
-45,152,25,65,16,64,41,5,0,31,137,104,251,85,43,0,238,117,146,36,208,90,
-131,136,80,40,20,16,199,49,162,104,41,50,162,40,250,149,197,39,218,209,
-179,217,12,34,146,117,52,198,0,0,70,207,207,80,74,65,17,129,114,43,8,130,
-55,4,39,200,27,40,165,50,3,165,20,136,104,225,12,181,49,6,34,2,102,134,
-181,22,105,154,206,25,184,206,139,42,67,112,6,89,2,162,185,248,75,13,28,
-2,51,191,67,200,179,191,14,206,215,139,54,198,128,136,178,25,56,132,188,
-216,23,178,8,220,111,53,103,224,18,121,87,5,34,194,104,52,194,195,223,7,
-16,17,214,214,214,49,28,62,14,1,252,209,105,154,254,55,129,171,56,142,177,
-249,97,19,34,130,110,183,107,190,127,251,178,39,34,131,165,215,248,14,84,
-4,211,233,212,137,211,74,101,255,240,250,250,230,2,0,116,191,223,127,4,
-176,225,94,159,63,68,151,132,153,65,43,171,232,116,58,56,56,168,124,190,
-189,189,59,203,16,243,143,140,136,10,205,102,243,60,12,195,174,191,255,
-244,47,89,253,113,124,116,122,245,243,234,210,223,127,1,166,98,32,109,8,
-153,168,211,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_148 = 875;
-static unsigned char xml_res_file_148[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,232,73,68,65,84,56,141,141,147,95,136,
-84,117,20,199,191,191,63,247,207,236,204,236,206,236,204,180,187,202,110,
-173,165,72,196,142,33,81,219,147,47,66,79,145,15,129,138,46,69,15,106,65,
-80,4,62,8,74,130,65,4,129,62,249,212,67,74,16,245,214,75,61,4,137,34,17,
-214,210,218,186,171,182,234,206,204,142,227,140,51,59,115,239,220,153,59,
-247,247,187,191,227,67,81,171,73,248,121,254,158,15,231,112,206,97,68,132,
-71,185,243,211,180,219,147,227,197,68,186,184,219,22,133,33,237,173,124,
-87,93,187,248,235,236,155,229,232,209,44,91,94,156,155,228,81,240,234,214,
-29,223,126,125,237,218,11,54,91,207,156,46,140,76,28,114,147,25,102,15,
-167,1,48,40,191,143,200,107,83,171,122,227,11,81,107,30,126,230,173,219,
-250,31,193,252,47,179,179,91,70,102,46,87,26,127,156,79,217,185,221,249,
-194,196,24,183,255,211,20,0,192,40,142,245,149,235,247,111,222,94,220,185,
-235,157,90,9,0,56,167,152,113,112,76,21,102,14,140,142,110,26,51,154,160,
-3,131,240,110,136,206,194,18,58,11,87,209,47,55,161,187,4,51,208,24,153,
-220,150,79,185,211,191,125,243,225,164,4,0,73,134,184,10,21,24,39,128,1,
-122,224,193,95,185,130,190,215,132,31,217,20,71,22,220,240,10,43,108,154,
-70,106,251,75,96,92,224,233,45,207,230,230,127,47,125,9,96,191,4,25,22,
-71,3,64,18,12,69,232,84,47,224,158,175,232,210,82,226,51,22,209,167,65,
-79,219,77,207,253,96,102,229,214,187,175,69,161,147,218,250,178,224,32,
-158,207,77,236,253,248,109,54,39,99,69,60,12,202,16,233,12,152,99,224,60,
-53,142,188,83,102,219,187,130,222,120,127,173,245,247,248,71,207,29,207,
-93,108,212,42,159,136,100,62,107,165,11,153,66,82,36,141,30,218,41,246,
-237,201,146,87,93,61,210,110,86,120,224,119,73,13,12,184,144,24,73,171,
-87,250,141,31,62,207,76,205,41,0,176,239,158,94,53,74,21,109,165,215,153,
-112,3,129,88,95,94,168,54,229,174,215,23,75,231,206,62,151,8,27,138,245,
-250,129,96,154,120,54,27,71,7,63,170,61,188,239,136,136,12,42,113,80,111,
-133,131,78,199,243,227,86,172,209,150,0,112,240,240,159,0,64,63,159,148,
-49,183,25,187,84,31,21,0,226,141,130,216,193,148,43,80,34,173,135,41,210,
-222,245,53,209,30,178,228,247,114,99,40,151,98,32,199,98,211,48,252,204,
-137,205,102,34,207,105,40,97,33,155,50,238,48,244,184,180,121,141,200,242,
-89,164,146,245,174,172,36,178,131,242,67,2,114,44,24,215,81,123,142,53,
-104,254,171,41,86,247,73,74,203,88,105,41,19,98,32,90,228,218,33,0,191,
-27,73,189,30,33,56,117,158,12,223,40,216,246,94,143,200,254,235,12,95,220,
-95,162,205,147,137,120,172,224,40,238,32,36,215,105,147,99,223,39,203,94,
-93,106,56,53,59,217,191,10,0,236,113,207,180,145,133,11,69,198,148,22,44,
-140,92,25,106,242,234,33,187,177,220,236,29,56,19,153,39,18,0,192,242,143,
-69,102,26,13,230,40,67,131,91,247,232,249,19,255,214,60,145,224,255,120,
-0,227,204,107,75,213,215,75,15,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_149 = 817;
-static unsigned char xml_res_file_149[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,174,73,68,65,84,56,141,157,147,61,76,
-20,81,20,133,207,123,111,102,222,44,51,3,194,186,8,27,197,69,68,2,40,6,
-99,36,38,22,110,71,162,149,137,165,133,165,198,202,198,196,208,89,26,19,
-35,86,54,218,74,97,72,196,194,70,177,128,206,168,5,130,127,248,19,23,127,
-22,150,93,102,151,183,251,102,230,93,43,8,17,181,240,214,247,124,247,222,
-156,123,24,17,225,247,202,79,119,219,233,32,61,208,239,15,159,238,144,89,
-111,89,125,125,50,87,158,159,153,56,62,171,126,239,101,91,1,7,95,31,20,
-185,80,222,234,107,29,184,208,158,74,179,140,108,3,231,2,21,93,195,178,
-42,82,161,250,230,30,173,138,139,119,79,62,173,95,153,63,115,38,195,91,
-95,108,2,134,166,118,102,251,210,135,158,15,118,246,119,0,102,219,86,0,
-0,18,88,174,45,21,227,120,101,170,221,31,60,191,178,246,50,207,136,8,189,
-227,76,116,245,28,45,244,118,239,223,101,76,2,6,134,213,40,68,65,125,7,
-231,2,251,154,114,112,24,96,49,1,193,56,4,119,0,34,212,213,66,222,2,0,185,
-35,55,30,180,181,238,90,170,21,65,0,230,195,15,88,169,22,225,105,155,60,
-199,195,39,231,3,243,29,31,253,126,15,154,44,15,4,130,205,29,216,0,216,
-224,4,132,21,245,235,212,222,38,14,0,159,212,87,136,66,20,55,189,231,215,
-133,35,110,74,135,105,199,178,47,211,1,49,70,190,97,93,169,28,192,57,44,
-110,195,195,106,222,42,254,8,250,50,187,35,42,53,42,141,186,105,84,227,
-154,42,5,218,29,123,123,237,199,196,198,233,39,38,122,146,84,139,195,92,
-33,65,38,66,156,16,234,172,10,219,68,220,18,140,143,84,93,181,160,226,168,
-92,139,107,165,180,150,37,183,51,121,184,33,190,244,238,148,219,214,237,
-93,37,205,136,136,65,235,26,53,140,6,96,34,165,196,162,101,12,194,74,92,
-158,15,121,189,98,200,84,118,194,41,215,35,182,233,237,237,222,71,117,0,
-50,63,217,141,70,133,28,166,145,216,2,36,109,203,60,56,247,6,214,186,214,
-51,205,85,231,72,57,72,66,0,97,226,39,161,27,203,28,128,133,173,14,138,
-72,88,229,236,26,169,36,50,31,71,87,55,7,88,97,151,250,222,190,238,47,34,
-192,58,128,245,18,84,109,127,58,211,122,98,186,199,101,218,212,99,34,120,
-85,155,69,129,97,107,172,33,20,139,226,173,96,78,103,137,168,74,179,25,
-10,10,46,183,190,121,194,249,249,89,149,86,100,74,184,177,160,148,32,216,
-232,0,158,141,46,70,205,194,213,190,144,219,95,153,221,97,24,246,119,247,
-126,201,148,18,143,57,186,217,146,218,23,114,45,197,237,216,230,220,60,
-62,254,246,47,175,185,37,11,193,13,201,135,6,179,65,236,39,100,12,197,45,
-150,108,248,66,154,201,145,185,237,105,251,19,0,0,216,52,195,49,123,15,
-175,104,133,195,59,178,116,127,248,213,63,197,219,0,255,83,191,0,165,237,
-69,58,115,178,162,143,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_150 = 775;
-static unsigned char xml_res_file_150[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,132,73,68,65,84,56,141,141,146,77,72,
-84,81,24,134,159,239,158,115,103,230,78,51,147,142,105,26,99,16,98,80,16,
-65,96,63,180,8,66,172,54,70,69,96,129,180,104,21,68,180,200,85,65,155,8,
-130,160,85,173,90,4,97,63,139,92,86,16,45,162,69,17,132,154,80,65,74,165,
-83,205,232,56,218,220,209,249,185,63,167,133,18,21,10,125,240,242,109,222,
-243,156,115,120,95,140,49,172,166,252,243,157,87,102,223,244,63,153,122,
-132,90,205,99,177,202,100,135,228,64,52,181,229,98,52,177,233,160,147,233,
-187,190,154,111,69,64,118,72,82,58,209,121,39,217,126,156,120,243,62,148,
-101,159,153,31,57,187,227,191,1,162,226,55,26,55,159,107,181,164,142,132,
-37,18,109,61,209,176,54,125,115,69,175,49,134,236,144,196,128,221,162,19,
-61,202,105,63,144,200,28,221,177,166,121,59,18,184,16,86,193,212,41,207,
-231,240,170,211,111,49,230,153,95,253,113,183,121,239,211,247,0,50,245,
-136,203,206,134,195,151,226,109,251,181,142,165,81,74,176,88,0,111,6,194,
-50,4,21,16,64,175,39,48,13,4,146,194,175,228,169,206,188,206,86,102,95,
-93,209,129,81,153,53,173,123,116,204,201,67,48,14,161,0,2,225,2,152,0,44,
-89,250,105,248,21,101,7,40,5,145,216,122,236,100,95,38,251,233,233,9,171,
-238,49,48,61,118,235,179,87,7,172,18,72,1,204,36,72,17,148,187,172,5,176,
-29,208,22,72,137,32,172,241,109,248,90,57,87,52,231,173,206,62,127,190,
-80,200,31,153,25,187,191,232,251,1,48,1,170,8,218,5,203,5,107,17,108,1,
-237,131,252,36,20,77,110,236,118,152,155,124,215,223,115,206,29,17,99,12,
-0,159,30,170,147,233,246,173,131,77,157,2,166,180,244,108,137,0,113,144,
-181,96,165,193,106,167,56,254,129,137,209,23,3,93,167,171,215,127,167,176,
-156,125,92,199,215,45,180,238,78,131,113,193,252,21,214,242,106,97,242,
-229,247,202,198,222,124,124,165,30,52,170,168,3,234,39,232,26,216,53,176,
-235,75,210,181,37,169,2,72,232,100,135,228,247,57,253,7,32,109,57,10,236,
-50,24,193,4,80,43,6,136,134,104,131,2,17,48,30,218,54,228,10,209,68,6,74,
-255,2,26,197,50,120,213,24,149,172,48,55,81,101,110,94,134,109,109,82,77,
-45,116,164,58,108,156,54,131,216,30,161,145,36,255,2,60,95,114,197,47,5,
-190,141,71,166,202,229,234,131,153,146,61,216,123,193,29,221,222,181,75,
-174,158,248,216,219,150,173,157,106,104,140,28,50,117,31,63,192,253,171,
-202,0,34,18,57,214,157,220,240,248,165,91,169,212,136,2,209,229,11,44,32,
-0,188,238,93,177,228,182,14,157,188,113,175,60,2,84,140,49,254,47,12,126,
-47,155,76,57,134,95,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_151 = 734;
-static unsigned char xml_res_file_151[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,2,165,73,68,65,84,120,218,125,147,111,72,147,65,28,
-199,127,186,9,70,212,86,42,69,101,32,20,73,41,56,36,68,50,3,65,233,69,224,
-155,70,166,169,91,200,124,81,46,19,75,167,132,206,116,134,22,41,38,90,82,
-146,169,200,52,195,185,57,53,3,247,108,58,133,169,147,254,152,83,131,10,
-33,20,165,94,132,25,210,183,123,30,183,57,49,58,248,240,189,187,231,247,
-253,62,119,199,29,17,107,128,34,16,171,36,41,234,16,165,40,154,253,27,19,
-234,252,134,195,170,104,234,160,78,60,33,189,75,14,9,67,90,70,70,134,118,
-127,25,197,146,111,3,84,1,235,75,49,23,27,122,247,191,169,108,17,65,223,
-125,4,3,175,99,49,58,173,130,227,211,61,244,185,58,209,60,241,24,5,253,
-106,156,109,146,129,5,130,5,61,32,61,137,54,3,22,72,242,212,36,125,53,54,
-26,137,197,158,67,248,254,242,36,126,152,142,99,117,246,18,222,186,110,
-194,60,219,138,222,143,221,222,144,120,22,194,86,132,125,229,84,40,4,232,
-7,197,231,170,94,136,54,150,141,161,192,148,26,176,102,1,147,106,252,30,
-138,194,202,76,46,62,47,245,99,126,101,118,27,121,102,21,130,117,180,30,
-84,78,135,233,182,222,191,184,165,83,138,117,67,12,96,99,102,252,18,244,
-107,91,24,30,54,5,34,186,66,4,202,21,97,250,155,195,139,99,209,142,83,245,
-33,56,80,77,169,84,108,8,171,238,50,31,195,218,96,132,240,103,126,5,127,
-38,115,48,167,151,160,228,142,24,225,114,127,33,128,199,246,101,200,75,
-74,87,2,146,158,71,220,162,26,187,178,174,213,118,26,171,46,57,126,154,
-79,96,173,39,10,11,157,65,176,245,69,178,51,184,129,129,185,103,160,56,
-63,33,192,228,234,128,105,174,67,80,165,33,17,90,107,206,125,170,113,228,
-212,214,141,156,193,248,7,37,166,199,47,96,198,158,132,146,198,0,92,47,
-217,11,203,124,62,218,223,215,160,245,93,237,14,50,12,113,168,180,179,0,
-45,151,174,83,24,163,241,100,42,15,237,206,108,232,157,87,17,94,42,134,
-36,201,15,13,206,66,60,154,212,160,158,225,81,15,87,140,50,148,218,210,
-117,164,177,37,107,211,250,194,161,27,83,64,55,190,137,176,103,182,108,
-239,216,189,133,10,247,152,175,229,61,26,46,89,75,185,150,248,252,180,254,
-163,40,26,57,15,141,27,207,161,9,70,183,153,199,183,38,149,121,242,172,
-241,5,116,109,56,34,49,117,48,24,106,78,6,181,85,182,169,12,111,136,27,
-207,188,7,222,195,123,73,206,174,228,229,161,93,78,149,37,20,217,12,21,
-199,148,219,82,1,203,86,95,229,30,243,30,185,231,58,167,89,40,50,147,219,
-189,172,180,236,129,146,243,193,226,131,207,28,95,203,123,182,61,42,37,
-71,33,25,86,106,203,224,104,131,41,118,192,9,202,127,107,227,107,233,127,
-45,107,140,162,61,100,186,225,251,255,170,253,11,30,31,23,81,83,145,18,
-32,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_152 = 820;
-static unsigned char xml_res_file_152[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,177,73,68,65,84,56,141,165,147,189,79,
-147,97,20,197,207,243,188,31,207,219,143,40,109,109,11,216,15,16,169,109,
-164,38,24,7,13,129,152,200,196,194,132,138,35,160,3,17,23,16,37,98,106,
-177,165,85,255,1,22,102,48,36,70,28,24,12,113,35,226,8,66,208,96,66,31,
-73,176,6,154,150,190,45,181,159,175,147,21,69,23,189,227,205,189,191,156,
-228,156,67,52,77,195,255,140,248,251,162,185,185,153,233,77,166,126,145,
-74,189,86,155,205,78,136,118,60,149,76,110,0,116,182,34,11,115,239,22,23,
-19,135,239,201,97,5,173,23,219,186,45,230,154,169,203,237,237,181,167,155,
-154,32,73,18,8,33,40,149,74,136,113,142,183,203,203,137,108,54,211,253,
-122,97,97,233,8,224,82,71,71,155,211,233,122,115,214,235,149,139,133,2,
-26,79,53,130,82,10,66,41,8,33,136,109,109,65,150,101,108,241,88,33,190,
-251,245,234,171,185,23,243,0,64,1,160,179,179,211,98,179,218,230,27,156,
-78,249,194,249,86,220,186,57,128,247,171,171,216,79,167,161,170,42,86,87,
-86,112,173,167,7,231,90,90,80,103,175,149,173,22,235,84,215,157,46,86,5,
-80,198,122,220,110,151,37,123,144,133,223,239,135,203,229,194,200,240,48,
-62,109,110,226,195,198,6,6,250,250,224,245,122,225,247,251,161,170,105,
-56,235,235,107,237,7,246,254,42,64,111,48,244,74,146,8,189,94,135,199,161,
-16,182,183,183,225,112,56,112,127,116,20,183,7,7,225,243,249,192,57,71,
-52,26,133,201,108,134,196,36,24,140,198,27,85,128,36,80,79,60,30,71,90,
-85,161,232,117,8,4,31,85,33,63,158,67,225,16,106,44,38,28,100,51,216,219,
-221,133,40,8,230,170,141,138,142,37,41,161,181,133,66,30,165,82,17,185,
-220,1,50,153,76,213,29,13,26,138,165,34,114,185,44,4,42,64,146,68,80,66,
-77,85,5,76,102,9,133,49,40,140,33,159,203,33,24,8,194,231,243,33,198,99,
-224,156,163,193,221,128,96,32,136,76,58,3,153,201,96,140,129,41,236,227,
-79,128,194,102,152,194,240,45,151,195,68,112,2,30,143,7,156,115,132,195,
-33,132,39,67,224,156,195,237,118,99,252,193,67,168,251,42,20,38,67,39,75,
-179,85,128,80,33,211,10,147,119,20,133,97,125,125,29,156,115,76,70,39,81,
-239,168,195,73,103,61,158,60,141,130,127,230,88,91,91,131,78,175,64,20,
-197,61,77,19,231,126,9,82,32,48,222,77,5,250,60,149,218,103,229,82,25,246,
-58,27,68,81,132,32,8,40,151,203,248,178,19,135,204,100,88,44,230,124,5,
-228,202,216,221,177,165,35,81,142,60,139,180,81,104,47,9,33,39,12,6,35,
-140,70,35,244,58,61,178,217,12,82,251,41,228,243,249,29,16,109,240,222,
-200,131,249,63,118,1,0,34,145,136,133,8,149,30,16,114,157,18,114,6,32,73,
-13,149,4,169,104,51,58,221,177,233,161,161,161,252,95,203,244,47,243,29,
-14,68,10,133,228,73,176,157,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_153 = 609;
-static unsigned char xml_res_file_153[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,222,73,68,65,84,56,141,117,147,79,107,
-19,65,24,198,127,51,89,48,26,10,210,131,22,197,222,227,173,245,162,245,
-86,15,222,252,0,94,10,82,240,19,68,16,161,168,85,3,66,47,21,65,60,248,7,
-132,158,115,17,253,0,105,5,13,205,165,241,36,98,40,205,26,47,77,8,147,63,
-179,59,175,135,221,77,119,151,230,129,135,25,150,125,159,247,55,239,236,
-42,224,60,80,38,146,98,150,42,220,41,95,43,175,45,95,94,158,223,247,247,
-253,86,191,85,149,123,242,198,3,202,221,110,119,215,137,160,181,70,107,
-141,82,42,227,247,191,222,177,211,219,97,245,194,42,213,171,85,30,181,30,
-46,150,254,149,94,171,15,202,105,64,57,153,217,23,128,237,159,219,248,198,
-103,239,119,13,128,63,157,26,206,254,213,132,60,240,0,10,5,29,241,43,53,
-37,208,41,2,191,231,99,238,154,105,224,167,91,173,232,253,87,234,146,7,
-160,181,6,17,84,124,4,173,84,180,143,3,22,22,23,240,62,42,150,128,239,107,
-194,253,154,162,33,192,69,142,116,210,121,90,28,187,144,218,87,202,21,100,
-78,115,84,136,8,154,64,51,192,113,150,151,39,4,241,154,16,164,135,185,126,
-101,29,10,176,117,184,69,169,86,194,104,14,153,99,83,110,203,91,5,172,244,
-251,253,122,38,32,118,66,151,94,1,60,207,187,41,34,187,0,30,128,202,19,
-196,221,103,5,164,21,5,36,115,136,209,19,37,207,78,9,144,76,0,185,226,252,
-135,4,224,156,195,57,135,49,67,1,130,44,65,174,32,95,220,110,183,233,116,
-58,20,139,69,62,127,249,250,45,190,136,169,86,140,49,50,26,141,100,50,153,
-136,181,86,130,32,144,48,12,197,57,39,214,90,169,215,235,18,134,161,60,
-126,254,226,0,56,39,34,36,6,184,97,134,195,153,1,131,193,64,126,52,26,178,
-177,249,236,0,152,79,23,39,1,215,205,112,232,198,227,177,88,107,51,1,34,
-34,199,199,61,183,241,228,233,94,190,115,98,5,156,1,150,56,249,149,211,
-227,78,6,214,20,17,123,218,53,254,7,128,200,8,116,169,200,4,246,0,0,0,0,
-73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_154 = 651;
-static unsigned char xml_res_file_154[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,8,73,68,65,84,56,141,149,147,191,79,
-83,81,20,199,63,247,245,53,13,244,237,22,252,3,240,15,208,68,26,19,69,197,
-4,80,19,83,77,24,220,76,100,80,49,196,129,205,193,85,196,142,254,1,108,
-48,184,184,58,249,23,208,81,74,98,155,70,104,218,154,250,202,107,31,239,
-220,123,28,30,180,80,6,195,89,238,189,57,231,124,239,247,115,127,24,85,
-229,108,60,92,92,10,227,56,14,94,189,93,131,211,148,1,99,60,140,103,200,
-24,3,6,202,27,31,201,229,114,61,159,177,136,250,81,112,109,102,134,123,
-247,31,160,231,4,12,158,1,207,51,100,60,195,215,157,109,170,251,213,224,
-130,128,181,142,126,127,192,68,46,195,151,237,239,35,1,76,58,53,240,178,
-52,135,136,96,173,227,130,128,115,22,17,33,17,203,139,39,183,211,14,85,
-84,193,169,226,84,9,251,199,136,8,206,89,204,210,194,98,202,188,186,54,
-82,185,192,172,148,55,54,152,200,7,220,42,173,176,188,80,100,253,205,10,
-191,106,53,252,33,243,252,255,152,119,168,238,87,121,116,231,58,97,20,167,
-14,172,197,191,44,243,135,245,85,156,211,116,237,44,254,101,153,143,194,
-16,85,197,24,131,179,46,117,32,34,116,143,98,182,190,253,24,157,131,130,
-146,10,45,47,20,135,14,126,238,237,225,212,113,117,106,26,145,4,223,217,
-212,193,223,40,230,241,220,141,81,191,130,170,162,170,231,152,11,133,43,
-52,155,77,242,65,192,239,131,3,124,123,130,240,254,221,107,140,25,187,83,
-61,29,70,204,73,146,32,34,100,60,131,36,9,190,179,14,43,66,212,11,199,159,
-196,25,55,35,230,90,173,134,170,178,187,91,193,24,211,243,69,18,226,56,
-230,83,249,51,173,86,139,124,62,207,228,228,228,176,241,89,233,41,138,50,
-93,152,66,36,161,222,104,120,39,57,5,240,143,143,19,6,131,1,149,74,133,
-242,230,38,179,197,34,55,103,103,135,187,23,166,10,52,15,15,9,78,152,117,
-236,247,249,86,36,233,133,97,182,221,110,211,143,34,186,221,46,157,78,103,
-88,144,196,49,137,8,198,164,204,227,225,171,234,243,246,159,206,86,163,
-209,200,222,157,159,39,155,205,82,175,215,135,5,181,122,29,85,165,82,73,
-153,199,5,254,1,128,195,118,101,234,21,93,140,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_155 = 583;
-static unsigned char xml_res_file_155[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,196,73,68,65,84,56,141,165,147,61,104,
-20,81,16,199,127,239,37,120,123,221,169,87,36,41,99,43,98,103,33,136,31,
-92,151,160,16,177,18,91,75,181,176,144,96,39,24,180,86,236,109,84,236,76,
-97,161,181,157,1,203,131,3,83,120,30,17,52,187,183,31,217,221,55,243,44,
-118,61,119,61,45,36,3,243,94,241,248,255,231,55,51,60,227,189,231,48,177,
-8,176,190,182,246,227,224,32,239,221,186,115,183,245,104,44,128,197,90,
-131,49,96,168,242,241,163,45,130,160,179,255,102,123,251,232,34,64,154,
-164,189,165,229,37,206,157,191,64,147,199,64,37,52,6,107,13,214,128,181,
-134,215,175,94,48,26,141,122,51,2,85,37,232,4,4,71,22,120,254,238,83,155,
-162,62,12,21,197,141,193,41,68,4,85,253,221,130,168,226,156,195,90,184,
-126,233,36,6,102,36,222,123,212,215,183,122,146,188,196,57,135,52,13,84,
-21,17,97,154,21,85,197,95,226,202,1,239,65,189,175,82,253,60,129,138,224,
-156,35,206,10,94,190,253,208,106,97,182,37,15,30,207,198,224,12,206,57,
-84,100,158,32,138,51,6,103,79,55,213,53,69,37,246,30,166,73,254,23,2,21,
-196,57,238,223,190,57,183,231,127,133,106,131,64,164,26,226,255,132,200,
-159,51,40,75,0,30,108,61,164,219,237,206,240,141,49,181,64,184,182,113,
-21,17,225,196,234,106,123,6,165,115,228,69,1,192,112,56,228,217,147,167,
-164,89,202,189,205,205,86,213,229,149,21,198,95,199,136,42,101,77,92,25,
-148,37,121,158,3,16,69,17,73,146,16,199,49,97,24,182,12,188,42,42,74,191,
-223,231,243,238,110,163,5,149,239,81,20,30,11,58,1,81,24,145,101,25,121,
-81,204,25,36,73,66,89,150,100,105,138,52,9,140,200,197,104,58,125,31,134,
-209,241,189,111,123,172,95,185,12,192,100,50,105,25,124,25,143,1,207,199,
-157,29,236,130,221,7,48,135,253,206,63,1,251,210,30,246,119,77,78,189,0,
-0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_156 = 1241;
-static unsigned char xml_res_file_156[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,3,0,0,
-0,40,45,15,83,0,0,0,21,116,69,88,116,67,114,101,97,116,105,111,110,32,84,
-105,109,101,0,7,210,11,5,15,3,38,244,81,164,212,0,0,0,7,116,73,77,69,7,
-210,11,5,17,34,43,197,198,160,128,0,0,0,9,112,72,89,115,0,0,11,18,0,0,11,
-18,1,210,221,126,252,0,0,3,0,80,76,84,69,0,0,0,128,0,0,0,128,0,128,128,
-0,0,0,128,128,0,128,0,128,128,192,192,192,192,220,192,166,202,240,0,0,0,
-0,0,132,255,0,0,255,255,0,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,251,240,160,
-160,164,128,128,128,255,0,0,0,255,0,255,255,0,0,0,255,255,0,255,0,255,255,
-255,255,255,62,239,180,236,0,0,0,254,116,82,78,83,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
-255,255,255,255,255,255,255,255,255,255,255,255,255,0,216,217,12,113,0,
-0,0,65,73,68,65,84,120,218,149,207,59,10,0,32,12,68,193,237,141,185,255,
-101,5,243,17,92,131,133,190,206,33,44,136,81,194,27,32,35,104,30,131,222,
-0,92,64,247,236,33,34,177,1,93,160,6,121,182,193,200,135,42,208,70,194,
-217,199,231,38,96,218,127,204,5,93,229,97,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_157 = 800;
-static unsigned char xml_res_file_157[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,157,73,68,65,84,120,218,117,146,207,
-107,19,65,20,199,223,100,55,63,186,53,77,218,106,109,107,27,163,32,181,
-86,66,127,128,122,16,68,65,10,34,168,136,120,17,69,196,147,71,139,254,15,
-222,61,120,243,32,120,40,122,208,34,162,120,19,60,8,162,86,68,170,181,135,
-150,52,105,119,147,52,251,123,119,102,158,111,119,33,228,96,103,243,248,
-206,188,121,159,47,223,192,48,68,132,255,173,187,239,231,148,124,102,248,
-217,185,210,205,43,30,247,211,27,214,31,253,235,214,210,173,167,243,95,
-222,118,207,169,176,203,10,4,222,187,116,228,193,181,114,254,144,98,133,
-22,140,23,38,135,126,183,86,94,210,149,182,171,193,141,55,179,57,164,30,
-34,32,105,255,199,218,135,176,47,115,57,50,192,134,111,176,117,115,213,
-184,250,106,102,146,46,55,233,30,73,189,206,95,184,190,52,171,29,236,175,
-108,77,12,204,244,10,201,97,116,79,57,28,237,45,41,173,176,149,178,41,129,
-203,29,96,20,172,233,110,167,154,190,161,218,220,132,21,99,217,80,187,34,
-23,202,133,163,218,153,3,243,96,113,19,109,110,165,141,160,30,237,193,225,
-22,208,57,238,217,130,246,96,161,67,165,168,185,193,46,3,208,84,85,145,
-173,80,79,57,34,2,236,24,36,0,221,232,76,229,72,155,202,138,43,4,15,60,
-116,33,54,56,191,56,83,65,128,82,46,157,229,166,104,100,28,110,146,1,13,
-146,137,43,45,70,134,164,177,1,250,4,6,64,169,160,13,86,72,6,103,23,167,
-23,238,159,124,248,232,71,227,59,148,250,198,177,205,117,230,210,96,4,184,
-24,67,145,18,230,208,183,3,102,184,227,87,117,63,219,219,3,110,16,32,83,
-143,15,79,45,236,205,23,216,92,207,20,182,68,141,121,4,83,129,141,38,88,
-178,5,109,97,144,137,9,190,112,0,24,98,117,59,132,141,122,56,134,0,101,
-68,88,87,153,34,6,63,183,95,75,71,180,193,227,54,243,165,11,1,5,21,34,4,
-34,0,48,145,44,75,69,91,230,249,65,125,249,246,183,42,117,163,2,245,103,
-237,111,61,157,205,143,72,148,52,204,162,97,210,20,16,18,195,221,38,140,
-18,164,153,24,45,63,169,156,160,214,49,68,120,161,104,23,134,6,64,194,169,
-106,139,43,89,85,113,37,66,58,228,0,92,48,22,105,40,0,2,42,30,43,66,33,
-167,242,180,146,186,115,120,72,187,184,166,251,141,248,33,145,227,105,146,
-226,244,120,225,121,161,39,21,63,85,137,148,57,90,136,157,96,164,116,72,
-2,69,220,167,85,243,93,231,37,142,60,174,140,77,236,47,174,21,53,25,131,
-146,49,22,79,38,76,98,64,213,101,128,191,106,78,179,251,33,121,33,133,107,
-186,118,226,72,72,7,96,152,104,114,160,95,146,204,151,144,239,24,248,2,
-173,21,93,215,51,42,219,23,129,40,147,220,241,62,153,239,44,137,24,37,96,
-30,135,205,127,164,245,187,216,65,116,186,33,0,0,0,0,73,69,78,68,174,66,
-96,130};
-
-static size_t xml_res_size_158 = 660;
-static unsigned char xml_res_file_158[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,2,91,73,68,65,84,120,218,157,210,221,75,211,81,24,7,
-240,243,31,216,69,86,4,213,50,82,39,249,182,108,195,156,47,108,211,77,242,
-101,230,12,45,92,37,155,13,249,81,102,51,196,185,57,171,197,18,234,106,
-168,161,204,18,179,200,124,105,97,9,9,81,87,21,132,93,140,110,6,186,233,
-222,218,230,16,199,100,119,223,60,7,230,133,44,164,126,240,225,119,158,
-223,243,112,158,231,28,126,100,113,241,189,122,242,197,68,100,116,108,4,
-147,83,19,152,157,123,131,15,139,11,248,252,229,19,190,125,255,138,229,
-229,31,236,77,99,250,157,230,105,157,253,217,104,120,122,118,186,137,12,
-63,181,133,188,94,47,18,137,196,63,241,250,188,152,155,159,137,18,147,185,
-15,155,155,155,255,197,58,248,16,164,167,247,46,162,209,40,99,29,180,236,
-43,89,75,221,183,12,128,116,233,59,177,177,177,193,108,111,111,239,43,89,
-75,153,250,251,64,184,155,29,8,135,195,204,223,186,38,243,123,209,233,73,
-187,78,139,80,40,196,196,227,241,148,146,249,189,238,232,187,64,174,93,
-191,138,96,48,200,24,141,70,248,124,190,221,56,175,72,152,82,169,68,198,
-54,48,154,118,142,112,249,74,11,252,126,63,83,82,114,30,58,157,14,46,151,
-139,197,177,88,44,37,58,213,49,241,65,232,244,90,16,85,83,35,235,74,201,
-21,114,198,60,96,102,113,113,89,5,26,46,53,163,189,131,3,215,121,155,137,
-68,34,56,85,117,24,109,115,50,28,21,167,129,212,213,215,98,109,109,141,
-161,155,141,141,141,178,238,52,222,218,218,194,235,183,243,224,75,51,49,
-52,62,133,199,195,227,200,144,166,227,198,66,53,42,135,248,224,149,167,
-131,40,170,21,240,120,60,204,210,210,71,4,2,254,221,152,118,206,145,157,
-134,234,73,25,50,101,60,100,87,242,208,54,45,71,205,203,92,100,201,142,
-195,250,200,10,34,145,74,176,186,186,202,208,95,58,185,118,187,221,236,
-188,89,210,19,104,176,23,161,106,132,143,22,123,5,84,239,10,113,68,148,
-198,46,185,85,221,10,34,46,21,99,101,101,37,165,64,32,128,145,231,175,112,
-182,46,23,23,103,10,161,253,89,142,140,170,67,232,191,247,128,229,106,106,
-107,64,68,34,145,223,233,116,178,155,223,107,125,125,29,92,175,5,191,220,
-65,20,55,231,227,100,253,1,208,39,251,76,1,155,80,169,84,254,38,2,129,64,
-162,86,171,195,42,149,10,26,141,6,221,221,221,176,88,44,176,217,108,112,
-56,28,184,165,239,1,63,175,8,252,252,115,59,132,200,41,16,162,250,66,29,
-12,6,67,132,227,184,198,63,63,34,251,59,19,238,234,169,0,0,0,0,73,69,78,
-68,174,66,96,130};
-
-static size_t xml_res_size_159 = 586;
-static unsigned char xml_res_file_159[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,3,0,0,
-0,40,45,15,83,0,0,0,3,115,66,73,84,8,8,8,219,225,79,224,0,0,0,9,112,72,
-89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,0,249,80,76,84,69,52,52,52,108,108,108,172,
-174,170,184,185,182,55,55,55,80,80,80,151,153,148,94,94,94,158,159,155,
-99,99,99,164,165,162,175,176,173,46,52,54,59,59,58,60,61,60,66,67,66,71,
-72,71,72,73,72,76,77,76,78,79,77,82,83,82,84,84,84,84,85,83,87,88,87,90,
-91,89,93,94,92,96,97,95,98,99,97,100,100,100,102,104,101,104,104,104,104,
-105,103,108,110,106,109,110,108,114,116,112,115,116,114,117,117,117,120,
-122,118,125,125,125,126,127,124,126,128,124,128,129,128,131,133,129,133,
-133,133,136,138,133,136,138,134,148,148,148,155,156,152,156,156,155,164,
-164,164,164,166,162,174,174,174,174,175,172,183,184,181,188,188,187,193,
-194,191,201,202,200,207,207,205,212,212,212,215,215,215,219,219,219,222,
-222,222,223,223,223,224,224,224,225,225,225,226,226,226,228,228,228,228,
-229,228,229,229,229,230,230,230,231,231,230,232,232,232,234,234,234,235,
-235,235,237,237,237,238,238,238,239,239,239,240,240,240,241,241,241,243,
-243,243,245,245,245,246,246,246,248,248,248,252,37,241,89,0,0,0,12,116,
-82,78,83,66,83,85,94,230,233,234,235,235,236,236,238,8,155,192,110,0,0,
-0,171,73,68,65,84,24,25,5,193,187,74,3,65,20,0,208,179,59,23,227,11,209,
-194,70,49,74,48,127,96,17,176,17,253,110,237,4,27,219,52,86,86,86,41,52,
-16,54,201,206,29,207,137,50,153,151,190,235,187,174,181,108,185,220,69,
-89,156,3,224,226,35,102,39,123,0,28,207,162,166,111,128,91,106,212,102,
-14,176,165,70,54,95,224,6,100,212,230,30,12,32,163,54,203,105,241,14,60,
-102,100,250,25,166,71,47,192,38,35,155,242,183,186,126,133,5,99,212,234,
-224,234,114,124,134,53,25,217,220,157,239,188,1,15,25,153,78,7,221,19,176,
-174,209,154,61,237,23,144,177,169,61,0,218,58,198,207,179,201,225,164,148,
-62,107,221,14,171,241,31,92,154,77,35,153,199,126,105,0,0,0,0,73,69,78,
-68,174,66,96,130};
-
-static size_t xml_res_size_160 = 800;
-static unsigned char xml_res_file_160[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,157,73,68,65,84,56,141,133,146,77,107,
-36,85,20,134,159,123,111,221,234,146,116,19,83,221,29,227,70,25,99,147,
-72,132,89,104,54,186,21,21,127,131,238,92,133,216,11,23,131,123,145,32,
-204,175,112,21,183,89,37,74,20,4,103,225,108,2,67,38,3,67,181,154,76,139,
-93,93,45,105,171,186,190,186,110,93,23,210,141,49,130,103,115,15,135,195,
-195,251,190,247,136,195,195,195,207,119,119,119,239,9,33,0,16,66,176,232,
-255,93,214,90,250,253,254,155,71,71,71,143,22,51,199,247,253,247,171,170,
-114,155,205,38,101,89,226,186,46,85,85,225,121,30,198,24,148,82,72,41,255,
-94,118,28,54,54,54,238,0,75,128,4,144,82,98,173,197,24,67,89,150,88,107,
-151,175,235,186,24,99,176,214,98,173,189,165,74,46,164,85,85,133,148,18,
-207,243,168,170,10,215,117,145,82,98,140,1,64,41,133,82,234,22,192,1,88,
-91,91,91,122,23,66,224,121,30,66,8,164,148,72,41,151,243,133,149,91,10,
-22,11,195,225,16,128,48,12,1,136,227,152,44,203,200,178,140,60,207,255,
-51,220,27,0,165,20,214,90,132,16,56,142,179,244,44,132,64,107,253,255,128,
-110,183,139,227,56,172,175,175,163,148,162,221,110,211,233,116,88,89,89,
-161,40,10,38,147,9,123,123,123,247,46,47,47,95,187,1,184,186,186,162,40,
-10,198,227,49,73,146,16,69,17,105,154,18,134,33,147,201,132,209,104,68,
-93,215,92,139,128,94,239,213,183,87,87,87,31,93,92,92,236,47,67,212,90,
-51,159,207,111,124,85,146,36,92,95,95,147,166,41,213,115,191,51,155,75,
-158,76,31,144,87,57,8,169,94,122,225,238,253,227,227,227,175,29,128,118,
-187,141,214,26,223,247,113,93,151,56,142,153,207,231,120,158,71,24,134,
-20,157,167,60,251,227,49,175,175,189,199,89,248,45,45,103,157,87,94,126,
-163,49,24,12,62,147,0,158,231,209,104,52,24,141,70,0,140,199,99,166,211,
-41,101,89,18,199,49,69,154,243,115,244,0,155,106,126,139,30,82,228,207,
-152,205,102,116,58,29,117,35,68,99,12,117,93,147,166,233,242,128,162,40,
-226,215,233,79,60,47,55,248,42,248,16,79,107,254,156,255,66,89,22,156,157,
-157,61,118,254,121,64,198,24,146,36,97,54,155,145,231,57,190,239,19,4,1,
-31,108,125,66,171,213,226,155,240,83,222,125,241,75,60,221,98,60,142,126,
-60,56,56,248,65,214,117,109,29,199,65,41,69,175,215,163,217,108,178,189,
-189,77,183,219,37,73,18,180,214,31,157,158,158,62,140,227,152,119,58,247,
-193,104,134,195,225,119,253,126,255,11,107,237,19,177,191,191,255,214,214,
-214,214,199,69,81,232,36,73,26,89,150,185,101,89,234,60,207,157,147,147,
-147,147,193,96,240,20,40,54,55,55,239,236,236,236,220,13,130,224,252,252,
-252,252,123,32,176,214,22,127,1,60,54,74,27,103,163,71,101,0,0,0,0,73,69,
-78,68,174,66,96,130};
-
-static size_t xml_res_size_161 = 854;
-static unsigned char xml_res_file_161[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,3,29,73,68,65,84,120,218,125,83,107,72,147,97,20,254,
-134,244,67,67,26,24,104,235,170,224,141,105,101,73,154,26,166,195,66,141,
-12,230,143,46,222,242,18,82,50,72,115,33,51,43,195,18,9,111,133,115,19,
-150,136,49,151,127,154,50,9,180,114,48,255,136,23,18,116,77,183,165,115,
-206,77,157,58,53,231,55,54,79,231,29,44,42,204,3,47,188,183,243,188,231,
-121,158,247,80,212,30,193,231,243,163,123,123,123,165,24,98,92,50,234,234,
-234,242,171,171,171,179,112,238,77,237,19,140,170,170,170,140,192,192,64,
-255,142,142,142,87,75,75,75,48,55,55,183,40,151,203,187,167,166,166,244,
-179,179,179,59,157,157,157,117,255,205,22,137,68,130,245,245,117,235,204,
-204,140,218,100,50,25,87,87,87,97,121,121,25,204,102,51,24,141,70,48,24,
-12,128,85,245,52,52,52,240,91,90,90,170,200,131,127,1,52,55,55,151,209,
-52,189,141,3,182,183,183,97,99,99,3,214,214,214,96,101,101,5,44,22,11,44,
-44,44,192,252,252,188,11,43,177,227,35,171,21,21,21,215,61,185,222,50,153,
-172,190,191,191,95,225,116,58,119,93,46,23,16,16,188,76,247,245,245,89,
-134,134,134,108,72,101,151,128,44,46,46,146,125,24,29,29,157,34,84,221,
-217,200,59,219,106,181,210,155,155,155,96,183,219,193,225,112,128,74,165,
-90,103,177,88,111,240,248,42,142,51,92,46,55,119,108,108,108,137,232,66,
-40,97,5,70,177,88,92,91,82,82,18,77,213,212,212,228,168,213,106,29,225,
-76,202,70,190,246,128,128,128,102,76,244,253,147,226,200,200,72,12,2,56,
-61,148,80,39,192,202,165,110,245,113,34,35,155,228,112,96,96,192,130,123,
-241,158,196,84,81,132,52,241,121,48,29,203,63,37,249,97,208,141,218,108,
-54,192,138,65,175,215,155,36,18,137,136,106,195,208,104,52,102,162,52,225,
-136,90,152,49,207,223,3,16,35,56,185,91,43,125,2,185,194,116,72,126,202,
-118,124,250,246,17,182,182,182,160,167,167,167,203,203,203,139,65,161,231,
-82,228,68,16,221,86,225,216,225,112,56,23,61,0,236,123,135,225,65,199,77,
-40,109,43,128,82,113,1,112,94,176,33,227,217,37,80,142,124,158,19,10,133,
-119,169,194,194,194,243,77,77,77,47,199,199,199,141,58,157,142,124,30,64,
-77,230,209,66,38,1,8,43,98,66,230,251,88,224,138,227,224,86,43,7,138,196,
-153,144,211,154,10,81,15,143,66,92,126,164,220,253,74,120,120,248,145,193,
-193,193,239,24,160,213,106,1,189,38,98,254,68,77,148,161,8,192,85,156,131,
-107,31,34,224,74,123,8,36,9,131,32,249,109,48,164,183,158,133,19,220,131,
-180,27,0,237,184,49,60,60,188,60,49,49,97,199,111,235,154,158,158,118,83,
-34,182,133,21,51,129,167,73,131,194,225,36,200,85,197,195,237,175,49,144,
-218,29,10,65,119,124,237,126,167,15,240,126,247,65,101,101,101,133,64,32,
-40,109,111,111,239,157,156,156,4,20,214,109,85,216,125,38,188,166,139,161,
-198,150,7,143,22,50,224,66,53,11,194,82,142,205,30,10,161,130,246,236,137,
-198,198,198,122,252,52,180,82,169,156,81,40,20,93,145,101,126,32,129,199,
-144,245,37,1,142,167,249,152,82,50,19,95,38,36,36,48,246,235,74,111,30,
-143,151,93,94,94,158,195,102,179,25,151,139,163,180,161,121,126,206,160,
-216,128,119,20,139,242,249,247,242,47,226,170,10,175,205,251,124,67,0,0,
-0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_162 = 803;
-static unsigned char xml_res_file_162[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,2,234,73,68,65,84,120,218,125,83,91,72,147,97,24,158,
-222,121,26,19,173,169,160,76,80,196,67,36,36,68,132,199,5,221,85,224,109,
-26,136,119,30,240,128,163,177,185,139,217,60,44,143,171,132,173,139,214,
-92,232,18,5,19,189,209,194,165,222,24,42,8,110,205,185,177,185,185,163,
-155,75,205,57,243,223,219,251,253,54,75,178,94,120,248,191,255,251,191,
-247,240,60,207,247,51,24,87,4,143,199,43,154,158,158,30,197,80,224,107,
-148,84,42,173,17,139,197,143,113,29,195,248,79,68,137,68,162,135,153,153,
-153,108,149,74,213,229,241,120,192,106,181,58,167,166,166,198,117,58,157,
-217,98,177,156,168,213,106,233,63,179,229,114,185,32,16,8,248,140,70,163,
-222,225,112,216,253,126,63,120,189,94,112,185,92,96,183,219,97,103,103,
-7,112,170,15,3,3,3,188,225,225,97,17,105,120,169,128,76,38,107,13,133,66,
-199,8,56,62,62,134,131,131,3,216,223,223,135,189,189,61,112,187,221,176,
-187,187,11,54,155,141,194,73,130,216,196,207,231,243,31,68,114,99,52,26,
-77,255,220,220,220,204,217,217,89,152,162,40,32,69,240,112,104,118,118,
-214,189,188,188,252,13,169,132,73,17,167,211,73,246,97,117,117,85,71,168,
-210,217,200,187,202,231,243,133,14,15,15,33,24,12,194,233,233,41,44,45,
-45,5,210,210,210,94,224,231,251,136,155,149,149,149,79,214,214,214,60,68,
-23,66,9,39,176,43,20,138,238,250,250,250,34,134,68,34,169,214,235,245,38,
-194,153,140,141,124,131,41,41,41,50,76,76,248,147,226,226,226,226,109,44,
-112,22,161,132,58,1,78,62,74,171,143,11,13,217,36,31,231,231,231,221,184,
-119,247,42,161,177,251,151,163,163,35,186,17,22,112,76,78,78,202,25,175,
-49,12,6,131,139,40,77,56,162,22,46,60,203,142,36,245,115,56,19,195,57,57,
-225,87,217,217,240,146,32,43,235,28,184,238,77,79,159,96,160,231,163,200,
-9,204,102,51,109,21,226,132,203,229,222,137,20,120,150,148,68,189,111,106,
-130,177,186,186,223,104,104,128,241,230,102,16,39,38,134,25,181,181,181,
-183,134,134,134,58,215,215,215,237,38,147,137,92,30,64,77,108,104,33,139,
-20,144,176,88,148,178,188,28,222,148,148,92,194,219,178,50,232,96,50,195,
-116,151,220,220,220,212,133,133,133,175,24,176,189,189,13,232,53,17,243,
-59,106,162,237,74,72,128,17,14,7,84,25,25,160,70,140,252,194,59,220,235,
-136,141,165,232,2,104,199,163,149,149,21,239,198,198,70,16,175,45,181,181,
-181,69,83,34,182,73,153,76,88,40,40,128,143,249,249,23,248,132,248,124,
-227,6,116,198,197,81,23,255,129,80,40,228,11,4,130,22,165,82,57,189,185,
-185,9,40,44,109,85,47,139,5,150,138,10,48,224,216,134,226,226,115,148,150,
-130,149,123,15,122,226,227,169,191,172,26,28,28,236,199,75,19,210,106,181,
-198,153,153,153,49,89,114,50,64,75,51,128,72,8,208,46,56,135,168,29,160,
-181,5,250,88,172,31,87,217,29,211,216,216,88,213,214,214,86,157,151,151,
-23,245,180,176,208,208,151,154,10,61,215,174,211,144,38,37,67,55,62,159,
-179,217,225,154,232,104,249,79,110,216,23,154,137,154,77,210,0,0,0,0,73,
-69,78,68,174,66,96,130};
-
-static size_t xml_res_size_163 = 759;
-static unsigned char xml_res_file_163[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,2,116,73,68,65,84,56,141,125,146,191,75,
-91,81,20,199,63,247,189,228,190,228,37,214,95,144,68,212,130,21,172,248,
-11,135,150,150,118,181,216,201,193,209,217,65,232,191,224,160,56,136,187,
-221,4,135,186,137,155,32,82,161,83,160,165,67,7,117,48,88,69,161,54,169,
-162,73,244,61,205,123,47,247,118,48,79,35,149,30,56,112,135,239,249,156,
-243,61,247,8,173,53,97,252,26,25,233,150,153,204,187,104,58,221,47,51,153,
-129,43,41,7,1,146,158,183,237,229,243,59,126,161,176,235,229,243,159,219,
-183,182,126,134,53,34,4,28,14,12,76,6,45,45,31,191,20,10,50,98,24,84,171,
-85,44,41,17,128,231,251,72,211,36,105,154,244,54,53,121,177,139,139,15,
-93,59,59,75,15,0,7,253,253,133,79,142,147,178,60,15,83,74,132,148,24,150,
-5,128,170,84,208,158,135,242,60,26,226,113,222,199,98,127,158,237,238,166,
-31,0,126,164,211,55,79,250,250,172,239,192,5,80,82,138,146,231,1,208,40,
-37,141,134,65,51,240,18,184,216,222,174,188,56,59,139,1,68,66,47,78,185,
-124,30,201,229,218,222,116,118,98,119,116,16,239,234,194,234,233,65,43,
-133,187,183,135,179,191,207,229,209,17,249,195,67,124,215,61,15,235,238,
-0,2,202,170,82,105,171,156,156,96,20,139,68,14,14,32,155,197,117,28,28,
-199,193,117,93,92,215,37,184,190,6,33,202,97,157,193,125,148,1,132,16,152,
-134,129,104,111,71,46,44,96,47,44,96,196,98,24,66,32,66,165,214,143,2,74,
-225,67,105,77,124,102,6,149,205,18,228,114,52,204,207,227,167,82,60,166,
-189,7,212,81,171,153,12,213,211,83,140,245,117,188,205,77,84,185,140,121,
-118,118,39,21,181,105,31,2,106,190,42,157,157,152,131,131,4,211,211,183,
-75,58,57,193,153,157,165,113,110,142,106,52,122,219,235,49,128,16,162,4,
-96,180,180,208,60,53,133,50,205,250,142,68,26,26,136,141,143,135,226,127,
-45,232,154,5,57,52,68,113,121,25,124,31,180,70,107,141,159,74,81,218,216,
-32,222,221,253,223,9,138,0,254,218,26,201,177,49,236,213,85,212,196,4,106,
-120,152,246,149,21,26,71,71,41,46,46,214,182,172,138,119,117,225,37,102,
-109,251,105,210,182,191,38,18,137,182,68,34,65,210,182,177,44,11,199,117,
-41,9,193,77,161,128,227,56,92,186,206,239,192,15,94,143,104,125,12,117,
-135,244,214,117,143,191,181,182,246,94,153,213,201,102,83,13,154,66,245,
-68,5,207,171,104,2,247,106,175,24,81,185,98,84,109,55,251,193,210,171,186,
-31,187,155,64,8,33,129,88,93,90,64,180,182,67,5,248,64,5,184,169,229,181,
-214,58,248,11,48,63,32,228,198,114,139,82,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_164 = 3321;
-static unsigned char xml_res_file_164[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,2,20,73,68,65,84,120,218,148,147,223,75,83,97,28,198,159,247,
-28,23,199,233,108,109,117,60,110,253,48,127,96,4,201,88,68,68,16,37,117,
-85,145,117,99,40,163,155,8,44,74,232,210,232,66,8,241,98,119,101,19,105,
-17,65,244,7,88,55,18,67,40,242,38,35,168,40,168,185,205,177,31,165,205,
-182,121,106,122,56,123,186,80,97,149,39,218,7,30,94,120,121,249,240,192,
-247,251,10,146,88,167,191,255,154,28,141,125,170,215,139,186,170,40,155,
-190,181,182,118,44,141,143,143,174,224,31,136,117,193,197,75,87,180,165,
-66,238,114,36,50,101,83,53,141,166,97,66,107,116,185,91,218,246,60,8,223,
-27,155,182,52,144,68,247,185,30,71,215,209,174,16,201,121,146,11,36,195,
-36,159,144,156,240,239,63,124,191,231,124,239,1,146,216,40,146,16,66,202,
-164,18,215,199,194,143,20,0,41,0,15,1,16,64,17,64,122,230,213,11,247,114,
-201,184,117,242,84,183,180,81,1,9,64,109,195,22,111,71,123,139,182,23,64,
-164,188,122,7,0,59,0,108,7,144,46,209,94,202,102,146,110,43,193,182,125,
-190,67,14,0,6,128,6,9,168,55,0,59,128,143,0,50,0,154,61,222,221,178,44,
-219,84,43,193,188,128,161,2,216,105,2,237,89,192,105,3,126,148,129,19,0,
-94,2,80,189,94,173,205,48,150,23,173,4,63,39,159,62,126,155,93,129,75,6,
-124,18,224,47,175,158,46,0,193,231,113,52,22,115,115,5,73,146,190,88,78,
-1,128,54,18,12,197,191,154,252,141,216,18,57,18,28,101,32,208,55,100,53,
-133,154,53,73,86,8,113,108,234,217,68,200,119,176,235,184,82,171,202,166,
-169,211,212,179,51,195,195,67,201,222,190,190,155,209,217,248,145,38,143,
-118,214,174,40,223,255,106,80,25,135,195,161,0,104,174,171,179,111,238,
-236,236,148,72,194,102,179,77,158,62,211,205,119,239,63,204,146,220,85,
-249,30,86,213,254,140,211,233,156,14,4,46,240,115,52,182,176,152,207,219,
-171,22,144,132,230,241,188,185,58,48,192,197,124,33,157,72,204,41,85,11,
-0,8,85,85,95,15,14,222,32,201,104,42,149,105,170,65,21,112,213,226,223,
-170,170,51,69,93,79,222,189,115,59,39,42,191,243,255,34,132,144,215,118,
-200,252,53,0,4,47,133,233,161,207,37,213,0,0,0,0,73,69,78,68,174,66,96,
-130};
-
-static size_t xml_res_size_165 = 550;
-static unsigned char xml_res_file_165[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,13,215,0,0,13,215,1,66,40,155,120,0,0,0,25,116,69,88,116,
-83,111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,
-101,46,111,114,103,155,238,60,26,0,0,1,163,73,68,65,84,56,141,141,147,189,
-110,19,65,20,133,191,249,217,153,89,35,175,101,162,32,92,160,68,161,160,
-162,136,132,68,71,65,242,0,32,229,25,82,161,188,66,90,242,34,169,40,40,
-104,41,82,82,64,3,101,10,91,252,136,34,177,21,146,144,216,177,125,41,102,
-54,206,46,209,194,145,174,70,154,153,243,205,61,179,59,74,68,0,80,74,173,
-0,43,44,164,248,91,146,198,129,136,12,226,140,8,9,242,76,254,83,105,47,
-34,130,221,216,59,156,136,144,173,111,239,3,240,237,251,15,140,49,169,52,
-74,169,69,1,157,78,167,210,146,5,244,238,203,123,124,249,216,141,19,214,
-96,173,69,107,29,75,41,148,214,49,143,138,169,214,183,247,15,158,191,62,
-4,64,3,28,255,154,114,114,62,77,128,104,190,238,194,90,172,137,80,107,12,
-0,91,79,218,236,108,222,77,29,8,234,226,74,24,71,255,194,172,53,58,141,
-101,132,82,227,41,92,92,197,251,180,66,101,45,2,18,164,140,81,7,212,239,
-160,146,239,58,123,205,92,129,220,128,169,135,175,14,4,96,126,121,130,246,
-237,91,79,169,107,62,62,69,135,248,53,172,203,12,47,158,174,50,250,217,
-103,107,227,49,167,151,243,70,115,59,104,222,188,255,76,247,254,42,111,
-63,244,177,193,57,198,51,232,31,77,56,62,155,49,58,159,53,2,38,83,67,255,
-104,66,107,25,130,115,216,220,103,56,163,105,7,67,200,52,185,147,70,64,
-200,226,94,103,52,185,207,176,185,119,44,21,142,223,93,79,209,178,20,45,
-251,207,59,232,117,61,75,133,35,247,14,27,124,198,114,199,209,90,235,49,
-24,53,231,47,245,104,173,199,157,194,17,202,14,222,125,26,166,165,97,163,
-177,170,33,185,119,40,226,19,126,64,250,173,185,253,25,215,37,192,28,248,
-250,7,244,95,147,93,241,192,85,97,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_166 = 604;
-static unsigned char xml_res_file_166[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,13,215,0,
-0,13,215,1,66,40,155,120,0,0,0,7,116,73,77,69,7,217,9,13,17,22,43,171,95,
-216,59,0,0,1,220,73,68,65,84,56,203,149,144,193,75,84,97,20,197,127,247,
-123,247,189,55,227,200,76,81,134,57,173,26,48,24,24,66,136,54,133,16,211,
-170,160,93,4,185,106,33,12,184,139,54,226,31,144,155,246,181,208,161,93,
-139,68,144,130,162,32,66,8,161,162,8,52,100,76,51,157,82,199,80,71,170,
-113,124,239,125,45,102,162,22,9,51,7,46,119,117,126,247,156,11,173,106,
-156,193,236,68,246,243,192,244,64,45,251,48,187,196,24,133,150,189,140,
-81,24,120,113,37,92,216,154,179,97,20,88,107,173,61,51,217,19,74,145,91,
-2,112,225,118,169,14,184,255,122,92,71,222,68,97,116,237,249,112,239,34,
-247,88,248,120,245,67,230,113,169,200,76,249,41,43,187,243,4,70,120,183,
-23,44,11,64,126,116,33,184,113,62,229,24,35,13,183,133,247,171,123,193,
-219,165,159,68,22,125,153,200,81,31,218,229,250,84,31,245,176,6,128,193,
-97,234,235,252,47,189,56,90,138,69,214,74,104,45,54,250,155,32,151,246,
-52,151,246,0,152,93,239,102,126,123,150,179,61,121,102,202,207,40,87,231,
-168,3,54,201,134,92,186,243,201,2,252,57,254,63,45,167,30,112,164,107,130,
-187,231,138,244,30,206,33,34,116,223,23,186,130,155,168,167,66,255,169,
-20,201,14,7,115,32,98,136,71,91,33,253,211,121,170,59,155,36,59,143,210,
-215,49,76,252,219,32,234,171,160,142,80,90,171,19,217,131,83,100,40,144,
-161,0,49,48,33,244,28,82,94,85,118,80,79,13,106,12,9,223,161,29,185,142,
-193,83,211,168,224,186,134,206,56,237,1,92,131,167,210,0,196,92,3,72,91,
-128,152,43,13,128,175,134,152,231,160,142,109,11,160,142,224,171,65,125,
-87,2,223,21,141,123,166,45,64,104,45,190,43,129,198,61,243,100,109,187,
-118,249,228,177,132,168,211,90,141,253,208,178,184,254,35,138,123,102,82,
-171,223,55,70,170,155,251,233,149,202,241,211,32,45,198,176,97,181,242,
-229,181,21,29,145,230,247,78,52,119,171,159,180,205,89,253,13,5,251,163,
-198,168,104,252,6,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_167 = 721;
-static unsigned char xml_res_file_167[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,3,0,0,
-0,40,45,15,83,0,0,0,9,112,72,89,115,0,0,6,236,0,0,6,236,1,30,117,56,53,
-0,0,0,7,116,73,77,69,7,215,12,28,16,47,45,87,53,68,121,0,0,1,125,80,76,
-84,69,0,0,0,223,255,255,255,255,255,19,49,95,38,90,167,225,245,255,154,
-240,255,255,255,255,10,32,62,204,235,247,37,87,162,23,58,109,37,88,165,
-14,37,73,37,89,165,28,68,128,7,26,54,37,88,163,41,92,167,18,46,89,37,88,
-164,33,79,147,35,84,157,9,27,55,36,71,96,35,82,153,193,207,228,23,55,104,
-43,92,165,17,39,71,49,93,158,31,67,121,56,101,166,41,65,94,78,104,142,35,
-66,106,75,118,176,31,68,125,39,79,139,8,23,43,10,29,56,11,34,68,11,35,70,
-13,32,61,15,38,72,16,33,48,17,39,59,18,45,84,18,46,69,18,46,89,19,50,97,
-20,48,87,20,49,92,21,56,107,22,57,110,23,50,85,24,48,76,24,59,111,30,63,
-87,43,76,125,44,85,146,53,88,138,54,90,137,58,94,143,62,99,147,67,107,165,
-73,110,162,76,111,160,77,117,155,81,113,156,84,122,176,85,124,176,87,116,
-154,92,128,177,92,133,185,95,133,187,96,139,185,99,133,177,100,141,193,
-101,138,184,101,139,192,104,140,189,104,141,195,107,137,173,109,146,199,
-110,140,173,110,143,180,110,150,200,111,146,191,112,148,195,112,149,202,
-113,145,182,114,153,203,116,148,184,117,152,198,117,153,199,118,156,208,
-119,152,190,119,154,200,120,157,208,124,157,194,125,156,188,125,158,196,
-128,162,200,128,166,216,129,162,201,129,179,225,130,162,194,131,165,203,
-134,166,199,135,164,193,135,167,200,137,169,202,138,164,190,138,168,199,
-138,170,204,139,170,202,139,171,203,144,174,202,145,176,205,147,178,207,
-150,180,208,151,181,209,160,191,215,166,196,218,185,213,231,255,255,255,
-225,185,192,119,0,0,0,39,116,82,78,83,0,0,0,2,2,2,3,3,11,12,14,25,26,50,
-54,77,78,78,88,116,120,143,143,154,158,164,170,186,189,216,220,234,235,
-237,240,249,250,254,254,129,142,71,100,0,0,0,1,98,75,71,68,126,63,184,65,
-115,0,0,0,167,73,68,65,84,24,211,99,96,192,10,216,165,132,208,68,108,28,
-37,185,80,4,44,107,243,229,248,160,108,38,16,161,95,83,93,165,34,194,2,
-22,80,50,51,53,212,209,174,172,40,47,243,151,225,1,9,24,21,230,21,149,148,
-22,23,228,102,167,134,41,8,2,5,76,66,99,83,210,115,114,50,211,18,163,131,
-61,212,196,24,24,140,93,125,35,226,146,226,35,3,61,157,109,173,85,69,25,
-24,205,29,220,253,194,99,66,130,188,221,156,236,229,249,25,24,56,21,181,
-52,53,212,117,147,163,2,188,236,164,185,225,238,208,203,72,240,81,22,102,
-70,56,204,32,203,69,150,23,201,161,172,86,22,226,28,200,46,103,147,16,96,
-192,5,0,23,1,31,48,63,73,216,189,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_168 = 634;
-static unsigned char xml_res_file_168[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,167,147,0,
-0,0,9,112,72,89,115,0,0,27,175,0,0,27,175,1,94,26,145,28,0,0,0,7,116,73,
-77,69,7,215,12,28,17,46,21,103,238,167,145,0,0,2,7,73,68,65,84,120,218,
-181,211,205,107,19,65,24,199,241,223,236,110,178,219,221,16,131,41,77,73,
-21,133,166,233,169,161,169,96,140,135,42,173,34,246,80,42,8,218,22,241,
-40,136,10,61,168,224,173,8,214,147,226,69,15,90,136,74,21,252,7,244,232,
-89,212,222,36,66,17,90,141,166,182,53,141,217,108,118,119,222,26,147,94,
-10,169,175,248,129,231,248,124,97,134,25,252,43,130,159,232,157,120,10,
-33,249,132,228,188,123,225,217,217,235,104,65,195,54,122,78,61,12,51,247,
-251,93,78,107,147,146,251,168,107,25,80,208,66,114,124,46,83,95,156,79,
-236,54,38,175,156,31,134,183,190,132,237,104,91,23,159,40,82,138,171,42,
-216,244,241,161,68,96,48,219,11,2,192,47,127,254,117,160,103,124,174,75,
-10,254,40,22,213,135,198,134,19,232,104,15,193,169,186,0,33,240,43,69,132,
-19,71,164,106,68,160,153,81,16,85,135,224,180,188,250,234,94,132,52,150,
-79,63,30,37,16,179,253,201,72,123,54,29,71,48,16,128,170,106,80,20,165,
-17,248,65,10,1,206,57,40,245,225,123,46,102,110,62,192,183,249,28,209,186,
-79,206,222,209,21,239,226,193,84,148,196,99,33,212,106,62,24,3,180,0,54,
-35,205,128,16,18,140,114,216,182,139,124,254,3,56,115,155,71,16,212,1,227,
-62,74,107,4,65,21,8,239,0,140,54,5,65,161,66,213,56,164,36,160,84,160,234,
-248,88,43,85,80,40,44,99,165,248,21,130,54,3,234,250,251,231,47,140,93,
-217,55,75,31,151,143,126,42,172,88,182,3,148,109,222,152,138,205,96,59,
-28,142,43,224,122,2,148,114,80,198,81,181,109,124,89,204,131,150,22,166,
-9,54,197,178,23,58,5,243,114,150,101,29,75,13,100,208,17,235,132,101,153,
-48,116,29,183,47,143,129,4,218,234,19,130,18,12,1,138,214,184,68,119,241,
-101,100,203,75,220,153,62,67,36,167,83,42,196,141,125,217,67,122,223,192,
-1,132,76,19,51,83,39,224,173,230,9,126,87,56,57,210,111,237,61,252,46,61,
-114,73,94,187,255,90,234,177,148,252,227,191,96,238,25,52,37,247,111,9,
-193,206,65,8,120,197,183,4,127,67,143,239,31,213,187,50,57,252,47,27,174,
-203,224,54,187,79,117,128,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_169 = 3638;
-static unsigned char xml_res_file_169[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,3,81,73,68,65,84,120,218,84,147,75,108,84,117,24,197,127,247,
-222,127,239,157,153,206,220,105,103,166,173,109,153,86,39,133,169,86,30,
-69,11,21,92,24,8,168,97,161,162,85,203,66,18,35,59,23,184,83,137,110,8,
-43,163,137,9,137,81,99,89,249,128,133,27,129,148,16,93,144,80,98,138,98,
-75,161,116,44,67,106,235,180,51,67,219,153,59,119,158,247,229,162,98,228,
-219,158,124,191,147,156,147,35,9,14,163,106,58,190,144,78,101,189,72,205,
-41,16,16,109,123,18,91,19,47,118,246,182,39,61,96,121,33,155,186,59,157,
-190,88,115,238,79,104,114,11,190,112,144,134,89,198,178,74,8,15,192,3,60,
-15,96,104,228,221,119,190,30,61,122,112,123,127,159,74,208,7,0,102,13,102,
-83,245,19,223,141,93,154,58,255,213,143,199,240,152,196,219,208,36,133,
-87,208,212,48,90,40,244,250,241,211,39,206,62,255,92,7,78,29,26,245,127,
-193,18,200,50,168,42,200,42,92,184,148,225,243,227,167,222,104,152,229,
-115,13,187,244,0,160,143,28,59,253,201,185,167,6,219,48,139,224,212,202,
-168,110,17,75,180,162,106,126,0,60,105,195,177,57,4,19,215,50,156,121,239,
-195,35,13,167,244,189,34,211,207,240,155,163,215,147,67,59,155,254,186,
-91,163,96,56,4,26,105,94,123,54,128,46,202,92,189,5,235,166,96,173,232,
-177,86,244,200,102,29,244,88,11,229,186,125,40,115,231,230,41,17,244,183,
-31,137,13,12,248,167,126,157,65,242,64,8,65,160,211,160,82,211,73,116,249,
-248,96,4,222,255,226,54,235,85,63,174,231,226,186,46,120,30,177,129,164,
-47,112,49,122,84,233,232,31,249,204,109,219,148,88,76,205,81,50,13,10,197,
-34,143,232,117,134,183,182,33,20,5,77,85,57,188,175,155,223,167,231,249,
-237,214,50,107,171,171,100,179,89,106,174,68,163,80,208,149,88,242,229,
-143,215,204,124,164,152,207,98,217,18,141,122,131,71,59,20,246,238,232,
-68,83,5,138,16,40,178,194,129,61,61,132,125,22,147,55,255,38,147,43,82,
-181,108,36,203,242,132,43,73,174,153,30,199,88,184,67,49,242,56,162,185,
-139,234,19,131,60,116,210,70,130,169,249,52,203,139,115,228,211,51,248,
-131,77,232,193,237,158,176,108,231,207,230,246,228,22,227,222,44,94,57,
-135,85,171,80,55,186,240,60,23,128,38,33,112,236,58,251,95,61,201,149,137,
-25,176,11,80,205,161,180,14,226,122,110,90,54,215,243,95,134,123,118,66,
-48,14,106,12,180,118,36,177,81,157,223,167,146,205,229,233,25,62,201,149,
-235,247,65,132,161,41,10,254,78,194,61,187,168,85,205,111,228,82,169,240,
-19,138,106,68,159,60,0,174,15,68,11,66,13,162,53,201,156,255,121,138,228,
-11,103,200,25,26,104,17,80,35,128,159,96,98,24,197,31,53,43,101,227,172,
-34,235,187,169,212,140,201,199,158,217,255,150,97,56,88,165,10,153,130,
-195,196,31,75,124,59,190,130,234,15,129,44,97,217,14,216,46,90,52,78,252,
-233,97,86,82,211,47,57,229,234,188,162,232,187,105,10,5,238,25,102,222,
-76,236,221,119,80,146,130,216,213,58,190,96,55,125,155,251,137,119,247,
-16,10,54,99,219,46,254,142,94,186,134,118,176,146,190,241,145,87,109,140,
-57,229,42,226,127,89,127,154,186,113,121,58,190,109,215,15,241,200,182,
-200,230,88,43,189,109,173,40,10,44,230,75,232,217,62,210,185,165,194,194,
-236,196,168,138,60,254,224,233,63,128,180,49,156,203,64,244,234,237,95,
-14,205,197,187,223,142,26,173,91,144,97,53,191,150,202,47,101,198,54,69,
-251,46,60,212,174,7,255,12,0,109,178,105,24,153,112,202,26,0,0,0,0,73,69,
-78,68,174,66,96,130};
-
-static size_t xml_res_size_170 = 898;
-static unsigned char xml_res_file_170[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,3,73,73,68,65,84,120,218,133,147,15,76,212,85,28,192,
-223,42,34,163,32,28,141,70,39,201,196,200,9,37,29,71,6,3,153,70,40,117,
-158,243,128,83,194,160,145,105,102,52,115,118,166,64,4,132,48,251,35,74,
-182,35,96,200,28,136,132,105,128,20,10,72,173,248,55,211,113,128,178,147,
-63,154,32,92,209,253,17,56,162,142,79,63,96,99,115,177,245,221,62,123,111,
-239,251,190,159,247,246,254,8,177,64,44,122,96,123,144,159,127,86,70,248,
-166,130,211,47,73,172,92,245,73,230,204,152,248,191,120,216,33,65,17,189,
-187,234,234,153,246,191,232,54,193,45,219,28,51,253,202,214,73,212,59,206,
-93,117,16,9,138,5,139,23,47,78,138,249,184,108,152,150,59,240,243,0,52,
-246,72,92,159,107,155,12,208,124,19,90,165,92,106,241,32,46,46,239,196,
-220,187,229,7,19,162,223,203,55,82,210,14,199,47,194,177,234,49,116,223,
-13,146,119,126,130,252,122,102,209,53,204,113,82,154,179,235,232,32,139,
-238,143,223,58,47,8,125,237,236,68,202,183,176,39,223,198,222,194,73,62,
-43,233,228,206,208,16,237,29,191,161,45,176,160,45,254,135,15,36,246,205,
-80,52,69,202,55,176,90,85,97,155,45,118,126,232,173,216,205,89,6,54,238,
-215,163,210,234,81,31,188,70,74,222,47,244,246,221,98,244,15,35,102,139,
-133,157,217,29,104,62,50,16,157,218,131,58,249,154,52,167,155,87,15,118,
-240,168,67,98,188,240,244,205,190,16,152,116,153,229,202,114,252,98,206,
-178,106,107,53,73,153,231,37,193,77,70,134,135,185,107,181,2,118,62,204,
-109,33,32,174,22,127,41,191,82,125,6,249,246,38,60,188,211,235,197,178,
-144,60,131,199,134,175,241,83,233,72,251,170,149,182,206,17,6,71,44,88,
-173,99,140,143,141,97,179,217,248,123,106,138,153,56,85,211,205,11,177,
-167,113,15,43,68,166,172,64,22,144,219,43,188,66,191,236,9,216,144,196,
-165,166,54,106,140,165,100,223,126,27,173,33,10,93,127,26,109,163,245,104,
-74,131,177,219,237,179,130,244,220,106,60,67,50,184,239,73,13,78,62,113,
-120,200,15,223,16,178,160,163,213,91,222,47,162,176,63,135,3,125,26,118,
-54,68,206,242,230,143,107,137,173,10,66,89,242,28,211,211,211,132,110,76,
-69,184,109,70,60,182,22,225,232,139,179,239,54,220,253,115,234,132,235,
-51,169,202,200,125,223,147,125,164,156,142,174,1,76,230,113,174,143,118,
-178,229,220,106,148,165,207,178,238,248,114,76,150,113,132,199,46,196,19,
-111,32,30,143,150,36,225,44,137,60,134,203,138,84,205,236,77,252,208,62,
-100,49,89,109,24,127,183,72,130,9,162,78,188,72,68,254,10,130,14,203,144,
-231,184,81,89,219,133,240,74,70,120,238,149,4,175,243,200,243,41,60,165,
-46,189,59,255,14,246,11,65,150,147,19,39,150,46,165,38,56,24,179,36,51,
-91,39,164,149,109,84,53,246,18,145,88,134,240,78,67,44,209,226,232,123,
-136,167,19,235,112,82,100,172,159,23,124,225,234,74,133,143,15,13,10,5,
-195,191,234,165,226,73,122,250,205,148,215,13,178,35,179,83,58,249,90,220,
-131,117,184,173,43,195,103,119,51,206,47,31,73,190,231,41,159,244,242,226,
-162,92,206,165,192,64,186,212,81,246,190,184,109,12,168,84,24,63,205,165,
-188,121,154,119,139,172,132,31,50,176,108,79,163,201,49,226,243,245,255,
-249,72,167,188,189,255,188,28,22,22,119,65,46,255,169,37,36,132,230,53,
-107,172,3,233,153,55,174,220,182,234,55,21,95,209,203,14,212,84,58,198,
-23,188,178,208,39,252,23,98,111,36,184,212,235,88,204,0,0,0,0,73,69,78,
-68,174,66,96,130};
-
-static size_t xml_res_size_171 = 3589;
-static unsigned char xml_res_file_171[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,3,32,73,68,65,84,120,218,116,142,77,108,20,101,28,198,159,119,
-222,119,186,179,51,179,51,118,191,186,173,221,118,97,91,145,186,212,238,
-178,148,104,163,144,154,24,109,36,33,16,37,49,196,152,24,47,120,49,36,122,
-208,155,55,164,94,184,26,189,122,241,4,154,200,161,196,198,84,148,216,234,
-66,99,128,238,182,212,22,232,126,116,186,236,238,172,243,245,206,120,168,
-132,11,253,37,79,254,167,231,247,252,153,172,188,7,207,11,160,247,15,161,
-213,168,193,238,212,123,198,142,189,54,37,17,171,160,203,234,8,8,17,218,
-102,167,108,5,225,165,229,249,185,5,41,146,180,212,104,28,221,237,109,128,
-16,48,252,143,103,187,16,37,121,234,245,119,206,124,242,246,187,197,153,
-241,92,86,212,35,4,0,208,234,4,184,121,179,194,191,207,198,174,94,187,242,
-251,69,207,113,127,126,220,163,98,207,139,112,45,23,90,95,255,169,115,95,
-156,253,238,195,143,166,243,201,88,148,154,29,2,99,7,104,62,2,60,143,96,
-96,48,42,188,250,70,110,52,154,30,60,253,215,141,242,122,119,199,184,37,
-80,10,18,14,159,69,32,136,71,63,248,242,211,203,83,83,207,39,215,87,28,
-56,182,13,65,216,93,39,187,7,190,31,64,10,75,200,60,39,98,254,218,157,230,
-183,159,205,158,4,119,230,41,19,14,73,133,19,111,206,78,28,63,126,100,121,
-177,5,217,42,65,163,85,48,183,10,209,171,66,116,119,35,249,53,84,55,238,
-98,181,58,128,196,112,74,106,119,172,196,214,157,149,203,76,139,165,14,
-247,229,242,111,45,93,95,65,167,217,66,118,194,199,199,239,191,140,167,
-49,251,205,117,204,253,93,193,195,173,48,226,7,198,102,212,133,165,163,
-44,212,27,43,60,52,76,169,94,46,3,68,128,251,66,2,0,121,170,192,113,60,
-172,174,86,64,9,135,28,143,147,144,174,23,24,141,40,153,251,149,18,140,
-205,26,152,18,3,231,113,236,133,239,115,212,234,6,40,225,144,120,0,162,
-169,251,25,40,2,115,237,42,204,219,139,64,180,8,159,15,237,41,224,220,67,
-115,163,4,98,111,66,137,170,80,149,131,16,60,78,214,194,241,81,32,240,129,
-214,63,8,124,111,239,15,60,7,120,240,7,130,90,9,12,46,2,208,138,192,225,
-252,25,121,118,188,43,104,35,0,139,129,50,113,79,1,19,25,32,246,2,234,16,
-212,244,100,64,68,182,196,204,110,115,81,67,246,74,98,98,230,76,245,183,
-95,80,55,186,184,248,245,60,92,143,3,193,147,178,40,82,52,118,44,0,18,244,
-145,60,152,146,248,161,211,88,189,193,2,206,237,250,189,219,179,233,201,
-233,87,172,46,27,184,116,105,14,33,77,7,100,5,161,176,4,66,8,108,203,134,
-223,53,225,180,91,80,178,5,36,243,197,109,99,165,116,193,231,110,135,74,
-125,199,192,3,254,64,208,122,238,166,114,197,105,129,61,163,122,150,141,
-204,112,6,7,70,199,144,30,28,134,26,150,97,89,30,148,116,22,125,71,242,
-134,109,213,207,57,237,246,79,76,145,65,180,220,231,128,212,131,72,54,13,
-46,146,73,53,177,239,124,191,158,60,113,48,149,148,247,167,122,33,82,1,
-235,181,22,110,109,108,58,247,182,183,126,236,54,183,190,98,142,191,224,
-52,12,128,144,39,2,125,52,3,211,54,209,118,255,165,217,195,197,151,56,248,
-184,174,135,246,17,66,200,163,166,189,70,3,186,92,46,45,254,170,138,170,
-171,48,25,118,173,1,16,130,255,6,0,37,40,77,179,16,173,251,96,0,0,0,0,73,
-69,78,68,174,66,96,130};
-
-static size_t xml_res_size_172 = 3661;
-static unsigned char xml_res_file_172[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,3,104,73,68,65,84,120,218,68,142,203,79,28,117,0,128,191,223,
-188,118,216,215,192,46,111,22,228,81,162,32,45,133,210,146,182,7,72,155,
-168,109,36,154,154,106,162,198,131,7,19,245,102,162,137,233,205,155,177,
-254,13,30,61,120,178,213,196,38,90,109,20,35,42,16,16,136,200,163,203,251,
-185,195,236,107,216,153,217,153,241,82,227,119,255,190,124,74,52,246,22,
-213,106,136,209,210,65,225,248,16,167,116,164,245,143,93,191,170,139,202,
-176,17,141,159,65,8,169,88,46,173,86,194,154,153,133,71,63,76,234,137,198,
-74,60,85,143,157,203,129,16,40,60,161,234,120,168,122,244,234,115,175,190,
-246,225,237,215,71,110,14,14,244,168,201,132,0,160,88,10,153,159,95,247,
-191,234,73,63,120,120,127,234,179,170,235,253,244,159,39,171,218,32,94,
-197,35,217,212,122,235,221,79,222,248,242,157,247,175,13,213,167,82,114,
-161,40,176,44,176,242,224,184,130,150,76,74,26,127,126,160,183,182,61,243,
-202,220,212,234,134,125,98,254,37,201,50,162,166,230,77,66,73,29,125,251,
-211,143,238,141,141,63,211,104,238,65,209,50,9,171,167,232,137,70,64,162,
-100,237,34,201,42,70,186,153,134,54,248,241,251,101,235,139,59,119,95,198,
-119,31,201,138,116,86,31,154,184,113,119,104,124,252,226,218,146,195,214,
-238,9,47,156,175,114,165,79,99,105,83,194,182,29,110,95,9,104,170,85,248,
-121,222,97,103,79,38,149,105,210,75,165,74,195,254,242,202,61,37,153,110,
-190,208,52,48,244,226,236,212,10,190,227,97,23,77,58,110,245,211,149,73,
-113,250,112,11,219,118,232,237,236,166,33,239,114,180,183,76,190,162,163,
-111,41,212,63,221,127,51,62,57,51,170,68,234,210,195,251,102,89,207,173,
-175,161,233,58,129,157,199,169,244,0,176,187,179,135,125,234,2,221,216,
-21,151,141,141,44,39,101,5,2,151,72,42,45,34,134,49,172,200,137,88,231,
-206,234,28,249,189,67,34,70,43,146,107,17,132,62,0,133,66,129,211,138,11,
-8,124,223,199,50,79,56,42,41,132,85,7,213,11,16,201,120,183,130,76,88,206,
-62,160,176,50,139,72,15,163,106,53,4,254,4,0,150,153,195,241,60,64,16,4,
-62,249,195,13,204,227,18,97,121,3,189,54,74,60,214,135,82,245,197,227,154,
-116,47,44,207,16,22,55,169,74,17,194,224,201,65,110,27,215,245,0,8,124,
-15,123,127,17,239,240,24,220,29,148,218,17,66,228,53,197,199,157,53,50,
-231,108,217,248,51,234,7,26,104,113,162,81,29,0,77,139,66,232,2,80,163,
-107,160,36,64,243,17,154,76,188,253,82,88,45,134,51,82,217,182,166,67,212,
-251,13,131,55,160,170,17,200,105,166,23,247,88,90,222,226,192,242,56,44,
-192,226,223,155,252,49,151,165,28,24,16,70,72,246,92,70,137,53,124,83,113,
-74,191,139,68,255,199,168,181,201,145,246,209,235,95,103,127,249,173,53,
-159,93,39,221,102,144,78,197,49,237,8,33,130,250,152,135,149,47,112,176,
-93,32,150,174,167,117,116,36,103,174,204,189,228,21,138,147,178,222,52,
-134,31,250,187,82,82,253,167,249,236,197,107,138,90,27,47,152,167,36,234,
-50,244,247,61,203,83,109,157,148,93,141,147,124,149,100,199,25,154,70,206,
-155,78,229,232,61,183,88,252,78,137,69,17,201,129,59,160,107,36,122,218,
-241,85,113,41,222,208,245,65,139,209,56,209,215,220,24,237,110,174,67,149,
-37,178,7,5,22,182,183,221,108,110,255,91,219,218,255,92,113,131,73,247,
-216,4,33,254,15,24,189,157,148,157,50,69,239,84,238,185,48,114,217,199,
-63,103,24,145,46,33,132,200,91,206,99,57,148,23,86,231,166,127,141,171,
-113,47,166,68,113,14,143,65,8,254,29,0,250,249,144,17,223,227,177,29,0,
-0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_173 = 416;
-static unsigned char xml_res_file_173[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,1,103,73,68,65,84,120,218,99,96,24,172,192,19,136,31,
-3,113,9,16,151,2,241,83,32,246,33,197,0,144,230,207,64,204,8,197,32,246,
-51,82,12,248,7,213,4,3,95,160,98,152,64,57,138,223,88,57,154,127,55,136,
-134,137,153,155,155,255,144,150,150,254,131,164,12,196,254,142,213,0,165,
-24,254,243,237,119,51,254,131,12,129,241,149,99,248,255,59,251,217,35,107,
-248,10,196,31,176,187,32,70,224,217,180,87,149,255,65,180,74,52,95,12,208,
-128,11,83,223,86,252,7,25,2,115,21,51,51,243,12,168,55,152,177,24,192,255,
-127,238,167,250,255,214,211,165,32,154,128,184,251,89,246,127,215,165,202,
-112,67,148,148,148,184,128,134,28,1,42,111,196,234,130,214,71,41,255,157,
-150,42,252,119,95,169,250,63,112,173,193,255,160,245,70,255,99,182,219,
-252,79,222,225,10,54,196,41,192,230,16,48,76,62,227,114,193,202,196,173,
-174,255,227,118,216,129,13,241,92,173,246,63,108,147,217,255,132,29,14,
-255,211,119,123,254,47,222,23,1,54,196,218,218,250,51,214,48,0,249,27,164,
-160,232,116,200,255,128,117,250,255,221,86,42,255,247,90,175,246,223,123,
-163,58,24,251,108,212,128,25,240,27,103,164,131,253,9,13,125,171,73,210,
-255,3,182,234,252,247,223,174,245,223,103,19,68,179,139,191,195,23,160,
-23,62,18,149,130,64,6,213,222,141,254,239,187,89,19,172,217,38,208,164,
-5,24,136,47,128,129,24,73,180,1,157,175,50,80,162,145,36,0,243,10,177,154,
-1,197,12,167,40,229,119,150,173,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_174 = 418;
-static unsigned char xml_res_file_174[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,1,105,73,68,65,84,120,218,99,96,24,172,192,19,136,31,
-3,113,9,16,151,2,241,83,32,246,33,197,0,144,230,207,64,204,8,197,32,246,
-51,82,12,248,7,213,4,3,95,160,98,196,1,115,115,243,31,242,242,242,127,96,
-124,61,61,189,63,2,2,2,223,9,106,76,97,101,53,78,101,102,254,15,194,62,
-62,62,95,83,89,88,26,129,236,103,137,2,2,127,13,12,12,62,16,165,249,99,
-117,21,204,128,153,64,250,237,155,133,243,192,124,15,15,15,144,55,152,241,
-106,254,208,214,252,127,135,130,2,88,67,137,136,200,255,231,57,217,255,
-215,11,9,129,249,94,94,94,71,128,74,27,113,219,60,177,239,255,94,125,253,
-255,123,52,52,254,159,243,112,255,127,61,50,226,255,38,49,177,255,27,133,
-133,255,39,115,112,252,112,117,117,253,140,213,5,32,205,111,128,154,143,
-6,4,252,63,226,232,248,255,160,137,201,255,189,154,154,255,119,43,41,253,
-223,38,37,245,127,17,31,223,255,4,1,129,127,166,166,166,159,177,58,31,100,
-192,1,45,173,255,171,36,36,254,239,148,149,253,191,27,232,133,221,114,114,
-96,246,118,73,201,255,11,100,101,255,133,152,153,253,148,150,150,254,141,
-215,255,135,117,116,254,47,6,26,2,50,96,47,208,246,213,210,210,255,23,203,
-201,253,3,197,4,48,6,62,178,177,177,125,36,24,3,251,129,46,153,11,12,60,
-16,59,153,139,235,79,188,132,196,38,96,154,72,229,226,226,122,1,84,22,73,
-84,52,30,2,26,2,162,201,202,65,200,9,137,88,61,0,166,250,162,56,97,21,12,
-77,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_175 = 411;
-static unsigned char xml_res_file_175[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,1,98,73,68,65,84,120,218,99,96,24,172,192,19,136,31,
-3,113,9,16,151,2,241,83,32,246,33,197,0,144,230,207,64,204,8,197,32,246,
-51,82,12,248,7,213,4,3,95,160,98,68,131,31,64,252,7,137,15,98,127,39,197,
-128,143,64,252,21,198,17,17,17,249,106,110,110,254,129,88,205,44,80,205,
-51,97,2,64,205,51,212,226,5,255,107,36,10,255,215,72,17,49,38,100,64,19,
-16,31,6,218,202,9,19,240,241,241,225,82,79,16,250,239,58,95,245,191,118,
-170,232,127,221,76,252,134,48,129,2,16,104,235,6,229,40,254,255,170,177,
-2,255,65,154,65,182,39,29,183,255,159,124,200,241,191,110,134,56,208,16,
-73,188,134,124,6,218,250,91,37,70,224,191,219,74,229,255,254,91,116,254,
-199,28,180,248,95,120,222,255,127,237,237,152,255,29,15,50,255,27,228,72,
-254,55,202,195,109,200,111,160,1,63,64,182,251,110,208,252,31,177,199,228,
-127,230,41,143,255,213,215,162,254,119,62,202,250,63,253,117,213,255,249,
-31,155,254,155,20,201,254,199,101,192,23,160,1,31,64,1,231,183,89,243,127,
-232,62,131,255,177,199,205,255,39,93,180,254,159,117,211,233,127,238,29,
-215,255,198,133,50,255,205,139,229,112,186,32,30,24,6,79,65,126,215,76,
-18,254,175,149,34,242,95,39,93,236,127,230,77,199,255,105,151,28,254,27,
-229,75,255,55,194,163,25,43,0,5,92,212,94,243,127,134,121,82,164,107,6,
-1,189,76,137,255,250,217,18,24,1,7,0,92,33,145,101,187,113,10,195,0,0,0,
-0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_176 = 854;
-static unsigned char xml_res_file_176[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,3,29,73,68,65,84,120,218,141,147,93,72,147,81,24,199,
-189,12,52,44,112,78,221,92,211,173,77,87,126,244,165,21,137,218,7,209,136,
-32,4,9,47,52,17,211,190,140,209,202,52,136,48,196,233,212,215,143,188,16,
-212,109,181,242,170,203,164,186,72,34,172,174,10,237,203,210,149,149,223,
-219,82,223,247,221,187,175,243,238,223,113,216,204,187,30,120,120,56,15,
-231,249,157,231,255,156,115,162,162,168,197,196,196,196,183,182,182,245,
-119,117,117,217,152,206,78,43,211,201,88,153,142,14,27,195,180,217,218,
-219,219,239,153,205,230,251,205,205,45,246,230,150,38,59,93,223,103,24,
-198,70,107,36,81,127,45,41,41,41,77,16,4,130,255,52,159,207,47,74,36,18,
-245,191,0,173,203,229,38,94,175,15,188,71,128,135,247,208,232,1,203,174,
-69,206,3,142,227,195,238,167,123,88,142,21,227,227,227,85,27,0,238,53,128,
-39,2,160,145,22,135,215,107,206,241,60,130,129,32,5,243,162,84,42,77,221,
-0,112,186,127,19,193,235,5,79,139,9,17,17,10,133,194,209,191,150,243,248,
-4,136,162,8,34,134,192,179,158,80,108,172,52,37,2,160,122,182,59,157,110,
-194,243,2,72,128,224,211,151,207,120,250,228,9,166,166,126,98,118,118,14,
-60,39,32,16,20,241,238,237,24,150,151,86,192,177,28,237,32,118,189,131,
-184,184,56,205,130,211,45,250,124,1,56,28,14,24,12,6,244,91,44,104,101,
-58,192,11,171,80,17,65,66,240,254,211,56,46,214,212,80,57,222,16,5,172,
-119,32,163,128,197,69,23,9,138,4,70,227,85,212,221,188,5,195,149,75,171,
-27,241,112,112,16,22,107,31,6,6,6,16,12,18,92,55,94,7,183,194,139,10,133,
-34,245,95,9,234,249,249,5,145,208,83,106,175,213,226,195,135,143,40,43,
-45,131,207,239,195,208,208,16,142,30,41,68,118,230,78,234,26,28,46,60,140,
-222,222,222,80,65,65,129,122,195,12,230,230,230,73,128,234,175,60,87,137,
-217,197,69,220,110,104,192,149,203,23,144,119,48,7,59,180,74,228,236,201,
-132,254,120,62,245,99,144,39,108,65,166,78,251,120,93,130,76,166,25,255,
-242,149,88,6,44,232,163,46,208,235,236,185,219,133,162,83,122,140,141,142,
-226,124,213,89,104,84,114,156,41,210,195,110,235,67,117,101,25,50,116,106,
-255,214,205,155,242,34,128,137,137,73,50,242,234,13,156,78,23,92,110,55,
-74,75,75,208,211,105,198,155,215,35,40,46,58,137,180,237,10,156,210,23,
-226,197,243,103,168,175,53,32,103,183,14,242,68,201,163,200,59,248,254,
-109,138,184,220,191,195,215,70,7,138,252,188,92,168,85,74,108,83,105,232,
-233,201,208,81,192,193,125,153,216,149,157,1,77,198,110,164,40,101,216,
-38,151,206,68,0,19,147,14,50,67,139,127,77,207,80,128,19,217,233,42,200,
-14,157,70,121,99,63,242,75,46,65,173,76,130,150,202,144,231,158,64,25,205,
-29,40,62,15,77,74,98,48,242,153,230,230,23,200,10,203,97,105,121,5,171,
-241,208,254,189,104,235,238,198,171,113,7,238,52,54,208,33,102,33,119,223,
-46,152,204,38,140,124,118,160,209,212,12,101,178,244,71,24,16,29,29,157,
-96,52,26,173,117,245,245,15,110,212,213,217,155,76,38,123,69,69,249,203,
-44,93,26,175,166,173,102,237,208,178,85,213,149,195,213,213,85,195,217,
-25,233,236,106,78,147,170,152,150,73,98,139,255,0,210,253,89,143,10,247,
-12,107,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_177 = 821;
-static unsigned char xml_res_file_177[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,2,252,73,68,65,84,120,218,141,147,109,72,83,97,20,199,
-253,174,180,32,117,97,95,202,233,102,33,22,6,77,44,34,2,43,205,200,44,163,
-116,68,81,166,37,248,161,236,101,65,246,33,74,54,95,174,19,42,42,12,45,
-87,153,168,104,84,66,96,37,86,244,230,192,34,252,144,175,115,155,185,77,
-183,251,182,205,221,187,127,207,125,180,85,223,58,112,56,207,185,156,255,
-239,158,231,220,115,99,98,136,197,197,197,37,214,213,213,55,55,53,53,181,
-50,22,75,11,99,97,90,152,198,198,86,134,169,111,109,104,104,184,95,91,91,
-251,192,100,50,183,153,204,53,109,36,127,192,48,76,43,209,36,196,252,182,
-164,164,164,52,81,20,37,252,167,5,131,33,57,33,33,33,229,111,128,206,227,
-241,74,129,64,16,188,32,66,224,5,18,5,176,236,82,228,4,112,28,79,61,68,
-106,88,142,149,19,19,19,53,255,0,188,75,0,33,10,32,145,136,105,190,228,
-28,207,35,188,16,38,96,94,86,171,213,201,81,128,94,175,215,185,189,115,
-146,32,138,224,137,88,146,100,68,34,17,26,67,129,0,125,38,4,69,200,178,
-12,73,142,128,103,133,136,74,165,94,67,197,154,98,213,70,157,97,197,219,
-247,195,131,50,207,139,244,13,99,19,99,120,213,223,143,241,241,73,56,157,
-46,240,156,136,133,176,12,219,208,48,124,243,126,112,44,71,58,80,45,118,
-144,108,80,217,106,70,203,113,248,106,94,36,20,90,192,206,243,122,104,12,
-42,220,125,124,27,119,154,239,129,35,215,144,22,100,132,37,9,95,191,143,
-160,162,178,146,92,39,16,33,128,165,14,12,203,157,55,103,141,208,159,214,
-162,115,224,33,178,79,173,197,13,239,69,10,249,50,242,17,79,58,58,96,50,
-95,71,117,117,53,194,97,9,69,251,139,192,249,255,154,129,82,216,204,94,
-193,230,91,73,84,164,120,173,179,2,57,86,13,61,191,249,220,143,147,165,
-101,144,73,7,238,89,15,138,10,15,40,3,150,85,106,245,159,14,174,77,157,
-192,118,235,106,236,108,79,197,190,206,13,40,236,206,132,225,197,22,28,
-239,203,161,16,227,213,115,152,182,59,80,87,111,70,87,87,55,252,62,255,
-159,207,72,10,218,143,61,203,193,145,190,173,20,146,219,161,197,193,222,
-77,56,218,183,13,101,47,115,113,182,255,16,133,12,217,108,176,62,122,8,
-81,12,192,225,114,41,139,148,74,1,41,37,203,12,74,193,153,79,7,80,208,181,
-30,59,218,53,200,235,214,98,119,143,142,122,126,79,26,5,184,221,94,120,
-60,243,112,123,60,152,154,178,75,241,241,241,218,232,30,100,21,167,23,146,
-233,71,148,194,236,166,85,40,120,150,142,189,47,214,33,191,119,81,60,104,
-123,3,167,107,6,14,135,11,174,153,159,24,27,155,144,148,229,139,2,50,50,
-50,116,147,132,74,214,25,187,46,100,225,242,104,9,246,60,93,75,197,3,67,
-175,225,32,187,48,101,183,195,62,237,160,231,31,163,163,255,2,148,159,137,
-144,37,142,108,92,158,49,27,166,217,114,42,254,240,237,29,124,126,22,115,
-243,62,204,251,252,212,253,44,167,116,161,0,210,162,128,216,216,216,149,
-85,85,85,45,141,22,139,53,179,116,205,156,34,190,92,119,225,185,201,108,
-110,51,94,186,212,118,209,104,140,58,201,173,74,45,209,168,21,237,47,21,
-167,109,111,34,144,29,1,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_178 = 806;
-static unsigned char xml_res_file_178[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,2,237,73,68,65,84,120,218,141,146,75,76,19,81,20,134,
-89,243,72,35,1,74,10,155,42,148,38,40,186,99,3,43,54,184,193,8,86,118,10,
-110,37,152,106,125,20,146,198,13,146,62,96,74,163,209,24,20,42,160,43,117,
-97,76,96,163,145,196,157,241,137,248,162,4,91,250,158,82,218,153,78,75,
-123,103,126,207,76,80,196,149,39,57,57,185,119,230,124,231,241,223,178,
-50,178,202,202,202,58,143,103,226,158,207,231,243,115,83,83,179,220,20,
-55,203,121,189,126,142,155,240,79,78,78,62,112,187,221,115,78,167,107,222,
-233,26,159,167,243,28,199,113,126,202,169,45,251,109,6,131,193,44,73,18,
-195,127,90,161,176,35,215,214,214,54,253,13,104,225,249,20,203,231,11,16,
-115,18,114,98,142,98,14,217,236,110,20,114,16,4,81,243,29,250,39,43,100,
-229,186,186,186,67,251,0,169,93,64,238,15,128,34,37,107,231,93,23,68,17,
-165,98,137,192,162,172,215,235,15,238,3,36,83,91,76,202,231,33,82,50,99,
-50,20,69,209,226,206,238,93,174,32,65,150,101,48,89,129,152,205,41,58,157,
-222,248,7,64,243,52,39,147,41,38,138,18,88,145,97,245,219,23,44,45,46,98,
-99,35,136,72,36,10,81,144,80,44,201,120,247,246,35,182,211,25,8,89,129,
-58,208,237,117,80,83,83,99,138,39,83,114,161,80,68,32,16,128,213,106,197,
-189,153,25,120,56,47,68,73,133,202,40,49,134,79,171,95,113,126,120,152,
-198,201,43,4,216,235,160,129,0,137,4,207,74,50,131,205,118,9,246,81,7,172,
-23,134,32,73,5,220,39,144,211,117,3,14,135,3,165,18,131,165,207,2,33,243,
-207,14,84,73,98,177,184,204,168,202,213,203,87,177,178,242,25,253,167,251,
-105,94,166,141,113,162,231,36,20,154,63,153,224,97,233,61,165,46,88,214,
-233,255,218,65,123,123,123,115,60,158,96,69,218,176,103,194,131,100,58,
-141,43,118,59,66,161,8,188,62,31,6,206,12,34,248,51,68,223,92,120,242,228,
-41,50,219,153,61,25,173,213,213,241,161,150,150,65,191,205,38,143,30,61,
-134,203,7,170,49,214,214,134,241,190,62,252,88,91,67,52,22,3,41,132,87,
-203,203,88,120,244,144,198,202,35,28,141,170,15,169,89,3,140,53,52,192,
-85,95,143,89,147,9,75,77,77,88,52,26,241,140,238,110,234,116,112,119,118,
-226,251,219,119,160,238,72,141,56,120,62,141,36,207,35,24,12,49,117,241,
-26,192,109,52,42,171,221,221,248,208,213,133,55,29,29,120,77,213,167,9,
-112,189,170,10,35,229,229,184,115,118,128,146,99,8,147,156,225,112,148,
-58,138,99,125,125,131,169,111,71,3,112,38,147,18,62,119,14,235,189,189,
-248,76,21,31,155,205,152,182,88,240,254,197,75,36,146,60,34,209,24,66,155,
-97,242,77,45,170,160,181,64,96,15,112,235,240,97,57,77,218,70,123,122,16,
-60,126,28,30,131,1,175,166,167,145,222,218,194,86,122,27,233,237,204,62,
-207,100,5,181,11,21,96,214,0,78,179,57,114,247,200,17,229,118,107,43,110,
-82,117,47,237,193,209,216,168,184,46,94,124,62,50,58,58,127,205,110,223,
-231,246,145,145,5,155,205,54,91,81,81,161,87,243,127,1,102,233,136,211,
-176,128,135,51,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_179 = 969;
-static unsigned char xml_res_file_179[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,10,240,0,
-0,10,240,1,66,172,52,152,0,0,0,7,116,73,77,69,7,216,3,8,7,49,44,65,103,
-27,9,0,0,3,73,73,68,65,84,56,203,133,147,93,104,91,117,24,198,159,115,254,
-231,35,231,164,57,249,56,73,191,242,101,183,165,167,43,107,214,85,139,208,
-142,185,98,23,157,27,130,12,198,132,13,196,129,19,196,11,47,38,78,6,67,
-4,189,210,225,84,16,118,35,42,138,122,81,69,13,197,49,167,235,166,235,198,
-150,58,198,132,173,233,106,154,38,105,79,118,146,38,77,210,156,156,15,47,
-10,3,171,226,239,242,229,121,30,94,120,159,151,194,70,190,4,65,25,193,135,
-203,195,3,97,45,36,177,85,214,246,241,114,158,179,196,212,251,239,189,83,
-217,40,167,54,14,232,143,233,23,135,87,31,57,82,78,105,219,45,151,233,208,
-235,246,2,93,164,111,245,138,49,45,214,163,188,251,193,155,103,126,255,
-123,192,215,96,193,66,132,1,131,232,244,107,67,90,252,164,51,239,64,98,
-239,19,8,117,135,49,117,123,250,199,9,117,194,28,15,246,237,213,126,33,
-245,123,222,252,203,119,189,119,38,113,20,57,0,32,72,192,139,53,156,64,
-29,125,138,179,235,149,254,234,86,113,231,216,40,118,111,73,32,181,56,131,
-139,247,46,79,58,59,72,255,225,196,174,78,135,159,99,237,5,110,207,146,
-93,24,93,123,170,149,195,126,204,51,104,194,116,176,236,96,60,26,221,35,
-101,5,140,12,37,32,7,218,172,130,166,158,87,164,254,155,203,91,86,26,66,
-251,170,162,215,37,200,65,7,220,34,47,208,139,124,30,93,181,27,56,6,147,
-129,141,86,171,97,182,14,61,54,130,95,63,153,69,164,35,134,94,119,88,219,
-236,221,156,162,8,151,201,24,185,125,106,117,145,189,159,103,224,108,147,
-17,13,74,148,116,95,108,215,142,105,42,0,48,80,209,50,137,165,203,156,11,
-221,15,185,193,174,185,209,52,41,182,102,182,134,121,154,141,236,10,143,
-201,157,66,56,121,41,119,99,168,84,210,67,145,192,50,72,155,181,27,111,
-96,19,78,97,142,70,21,6,12,232,87,111,167,113,181,144,198,204,244,111,166,
-110,4,156,203,6,6,170,20,30,221,228,137,251,105,222,187,77,166,135,121,
-197,49,104,223,204,77,129,243,18,64,71,207,250,6,167,97,225,45,92,248,240,
-171,201,121,184,144,213,87,62,27,138,207,14,236,51,194,143,7,84,22,126,
-154,0,102,11,112,53,44,20,23,102,64,249,76,160,200,0,6,106,235,87,56,3,
-64,198,78,135,151,61,228,15,72,79,151,165,162,114,101,250,74,210,51,223,
-52,37,65,240,114,150,205,228,102,175,173,158,253,246,100,250,135,244,55,
-242,179,193,163,148,204,116,24,60,199,191,62,247,125,186,177,94,164,207,
-49,238,177,156,147,33,159,143,184,69,17,106,169,2,189,110,84,88,141,97,
-227,61,17,33,171,105,181,233,212,221,231,209,192,216,56,63,254,194,254,
-216,51,212,147,137,68,50,20,10,30,39,0,128,231,144,53,171,214,160,200,240,
-138,44,185,16,14,248,209,23,237,230,227,241,40,27,83,58,177,93,137,112,
-75,203,43,219,150,138,43,103,203,165,242,92,47,219,75,185,93,158,49,81,
-16,227,235,1,95,192,180,14,216,63,149,10,53,66,25,118,140,161,136,64,108,
-66,25,77,19,29,178,7,154,186,138,63,238,100,11,106,165,122,189,241,81,227,
-244,229,139,151,146,131,59,118,140,182,7,2,35,228,65,169,39,80,195,65,76,
-149,115,245,107,75,133,242,173,197,140,86,200,204,23,187,234,21,157,75,
-158,79,125,247,103,166,248,18,220,184,128,159,97,3,168,233,205,230,117,
-142,231,183,254,227,153,30,112,2,10,154,56,5,10,159,130,195,57,188,13,227,
-95,84,190,255,244,227,85,184,112,28,65,252,15,127,1,38,45,76,178,153,198,
-223,212,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_180 = 894;
-static unsigned char xml_res_file_180[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,42,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,70,114,32,57,32,74,97,110,32,50,48,48,52,32,48,48,58,49,
-49,58,52,56,32,43,48,49,48,48,253,142,181,172,0,0,0,7,116,73,77,69,7,211,
-8,11,15,40,5,153,100,21,249,0,0,0,9,112,72,89,115,0,0,10,240,0,0,10,240,
-1,66,172,52,152,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,2,215,
-73,68,65,84,120,218,165,147,109,72,83,81,24,199,255,231,222,205,171,115,
-109,119,83,87,51,139,100,165,5,217,151,181,94,102,65,73,31,172,79,21,149,
-189,125,233,69,43,242,91,133,244,70,47,84,4,22,5,18,68,100,20,6,98,89,160,
-73,173,62,148,68,246,166,204,92,16,198,40,167,150,91,51,247,214,238,230,
-118,239,118,186,91,100,173,250,214,115,56,7,206,243,60,231,199,121,254,
-231,57,192,127,26,249,203,211,130,217,248,138,3,74,150,173,32,132,225,227,
-1,241,51,52,216,130,61,232,251,23,128,205,216,221,67,85,222,120,174,109,
-254,44,147,197,144,199,243,58,173,42,251,139,43,232,36,32,115,102,238,52,
-182,6,202,133,101,204,82,70,69,31,211,158,12,0,185,70,26,209,134,118,227,
-90,157,125,149,217,204,41,88,22,137,68,18,163,35,33,248,7,132,134,156,105,
-202,77,55,182,238,213,90,204,166,226,15,94,207,74,191,85,168,96,172,76,
-46,237,164,221,138,20,64,25,101,43,19,13,84,218,100,181,178,34,77,162,127,
-224,19,94,246,56,91,229,208,115,24,225,44,213,79,45,28,162,163,136,75,18,
-138,11,39,51,239,93,110,138,99,244,82,234,44,147,94,36,18,189,90,187,139,
-229,213,106,80,137,226,229,51,103,59,14,97,189,60,47,16,21,89,233,13,6,
-113,167,235,21,13,70,35,152,99,154,154,82,78,245,179,132,52,32,22,150,34,
-58,217,103,212,240,136,134,227,64,4,241,9,93,178,225,31,217,230,103,30,
-61,113,180,15,121,199,16,137,199,176,205,92,101,193,73,204,157,0,16,1,217,
-118,183,11,141,205,143,113,223,214,59,74,56,194,51,71,153,250,84,140,110,
-167,71,210,32,5,46,246,56,62,202,21,149,98,93,201,70,66,190,245,61,252,
-225,78,37,137,104,58,117,254,174,49,169,75,218,49,19,49,236,71,19,133,60,
-40,181,28,233,62,92,115,122,193,153,106,249,78,101,37,121,165,168,208,172,
-70,221,77,131,28,85,25,126,1,102,209,2,142,83,212,20,168,121,86,16,227,
-146,239,74,88,148,51,218,28,94,199,241,177,207,134,202,206,129,215,69,146,
-20,154,226,77,126,194,213,14,30,47,250,41,160,231,98,19,0,168,241,40,155,
-205,170,53,200,26,232,114,213,138,47,190,96,115,48,32,80,119,108,152,116,
-217,102,160,247,169,187,178,126,173,94,180,191,157,142,219,221,81,128,67,
-2,58,253,245,95,128,205,232,8,52,9,215,198,130,225,29,5,58,13,202,76,69,
-200,215,106,201,180,124,61,138,52,30,60,232,75,224,96,34,162,28,137,50,
-16,69,89,54,118,210,22,236,83,183,100,118,226,42,25,34,8,130,103,216,111,
-78,196,104,78,108,92,196,66,245,114,100,13,58,225,137,27,209,235,148,155,
-106,28,88,100,140,38,135,47,47,217,144,241,140,105,171,70,18,187,81,31,
-246,198,10,223,172,113,17,91,251,155,245,253,174,65,81,8,135,112,163,174,
-28,12,165,88,92,146,143,21,58,187,244,123,247,51,248,211,78,32,45,14,206,
-161,213,247,205,247,158,231,249,254,91,141,103,197,121,134,80,98,1,233,
-0,199,113,239,254,247,7,103,216,119,56,78,44,233,53,64,55,155,0,0,0,0,73,
-69,78,68,174,66,96,130};
-
-static size_t xml_res_size_181 = 589;
-static unsigned char xml_res_file_181[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,43,116,69,88,116,67,114,101,97,116,105,111,110,32,
-84,105,109,101,0,77,111,32,49,55,32,70,101,98,32,50,48,48,51,32,49,56,58,
-49,56,58,53,48,32,43,48,49,48,48,27,141,177,3,0,0,0,7,116,73,77,69,7,211,
-2,17,19,31,48,63,248,132,160,0,0,0,9,112,72,89,115,0,0,10,240,0,0,10,240,
-1,66,172,52,152,0,0,0,4,103,65,77,65,0,0,177,143,11,252,97,5,0,0,1,165,
-73,68,65,84,120,218,181,83,75,40,132,81,20,254,238,227,199,239,53,166,81,
-148,133,241,90,104,10,11,41,164,177,82,30,121,101,161,216,216,216,91,89,
-89,216,217,73,205,14,165,148,100,44,168,89,97,163,108,104,242,138,146,26,
-100,108,38,204,140,49,147,49,51,255,127,221,81,63,205,212,152,40,95,247,
-116,207,189,167,243,125,231,220,7,240,239,56,132,242,83,152,102,37,240,
-96,19,203,176,252,153,160,185,164,202,222,86,93,119,134,85,88,255,68,16,
-11,16,58,221,57,80,97,175,172,63,198,6,26,210,227,196,112,106,28,150,160,
-181,172,220,164,73,159,83,6,194,9,132,46,80,90,108,193,64,71,43,98,202,
-51,156,238,163,136,203,123,210,139,97,236,27,121,220,112,152,96,121,83,
-61,19,120,136,220,32,151,171,224,140,131,82,105,132,33,16,245,33,26,15,
-97,164,185,165,64,85,115,118,157,174,195,49,244,193,153,66,144,72,232,240,
-132,46,113,27,190,150,4,121,96,140,74,99,210,56,20,166,128,113,142,103,
-253,21,189,182,38,69,248,245,245,237,173,147,178,248,96,194,241,69,0,1,
-61,28,11,202,74,20,89,186,92,18,217,66,178,67,57,116,34,0,77,3,231,20,190,
-187,0,34,190,55,161,209,68,60,165,2,74,169,120,39,175,82,205,80,102,159,
-85,124,50,235,26,152,66,16,190,143,98,239,244,226,253,32,223,51,138,33,
-108,165,28,98,197,108,145,223,84,172,154,53,33,117,147,187,130,202,84,160,
-196,164,162,191,191,17,17,111,12,59,231,23,97,55,247,118,99,28,7,89,223,
-15,22,80,152,156,172,14,243,203,140,187,75,216,150,202,159,176,2,91,198,
-107,204,132,218,69,75,144,11,26,186,194,99,59,38,225,205,174,156,142,57,
-249,27,230,97,254,125,162,129,181,239,131,254,23,124,0,39,57,137,112,18,
-125,249,136,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_182 = 602;
-static unsigned char xml_res_file_182[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,
-72,89,115,0,0,1,187,0,0,1,187,1,58,236,227,226,0,0,0,25,116,69,88,116,83,
-111,102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,
-46,111,114,103,155,238,60,26,0,0,1,215,73,68,65,84,56,141,149,83,63,136,
-211,112,20,254,126,205,161,148,4,106,250,103,233,114,210,44,109,160,148,
-144,18,14,161,28,28,180,67,150,12,117,234,9,183,58,57,20,75,65,139,195,
-57,212,77,23,17,7,17,225,110,80,244,174,122,136,203,161,147,133,42,221,
-138,130,14,46,65,18,33,52,96,176,127,46,205,115,241,164,119,92,104,239,
-193,91,222,251,222,159,239,123,60,16,17,150,117,89,150,133,86,171,245,181,
-94,175,95,59,142,69,112,14,139,197,98,15,7,131,65,118,50,153,60,109,54,
-155,247,0,128,17,209,82,197,28,199,173,151,203,229,15,137,68,130,185,174,
-11,199,113,160,40,202,243,165,54,96,140,241,201,100,242,89,52,26,101,158,
-231,97,52,26,1,0,58,157,206,151,149,37,27,180,37,73,90,157,205,102,176,
-109,27,150,101,193,113,156,109,207,243,182,23,10,7,96,93,146,164,192,48,
-12,146,101,153,68,81,36,0,173,255,249,5,197,151,82,169,212,143,90,173,70,
-170,170,82,60,30,39,0,183,231,49,161,20,24,99,156,170,170,239,242,249,252,
-101,211,52,97,154,38,134,195,225,45,34,106,207,227,66,69,204,229,114,143,
-75,165,210,90,38,147,129,109,219,112,93,247,110,16,4,237,211,184,51,55,
-184,94,173,126,140,139,226,21,65,16,208,237,118,225,251,254,193,120,60,
-190,115,230,164,211,188,179,217,236,141,39,91,91,244,249,240,144,12,195,
-32,73,146,250,0,46,134,233,116,130,66,161,80,88,179,109,251,254,11,203,
-194,251,126,31,186,174,19,99,108,147,136,38,97,84,79,116,171,84,42,114,
-163,209,56,42,22,139,148,78,167,3,77,211,54,23,157,121,229,173,162,92,77,
-106,26,136,104,90,221,216,216,249,53,157,114,145,72,228,59,207,243,175,
-122,189,222,110,232,228,99,123,195,216,254,107,198,168,195,24,237,1,191,
-111,234,250,131,243,124,40,123,9,240,159,0,237,15,32,204,128,111,143,128,
-159,0,46,252,187,16,7,128,0,248,0,142,230,220,39,162,0,0,254,2,173,12,111,
-120,140,61,160,217,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_183 = 3618;
-static unsigned char xml_res_file_183[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,
-0,0,10,79,105,67,67,80,80,104,111,116,111,115,104,111,112,32,73,67,67,32,
-112,114,111,102,105,108,101,0,0,120,218,157,83,103,84,83,233,22,61,247,
-222,244,66,75,136,128,148,75,111,82,21,8,32,82,66,139,128,20,145,38,42,
-33,9,16,74,136,33,161,217,21,81,193,17,69,69,4,27,200,160,136,3,142,142,
-128,140,21,81,44,12,138,10,216,7,228,33,162,142,131,163,136,138,202,251,
-225,123,163,107,214,188,247,230,205,254,181,215,62,231,172,243,157,179,
-207,7,192,8,12,150,72,51,81,53,128,12,169,66,30,17,224,131,199,196,198,
-225,228,46,64,129,10,36,112,0,16,8,179,100,33,115,253,35,1,0,248,126,60,
-60,43,34,192,7,190,0,1,120,211,11,8,0,192,77,155,192,48,28,135,255,15,234,
-66,153,92,1,128,132,1,192,116,145,56,75,8,128,20,0,64,122,142,66,166,0,
-64,70,1,128,157,152,38,83,0,160,4,0,96,203,99,98,227,0,80,45,0,96,39,127,
-230,211,0,128,157,248,153,123,1,0,91,148,33,21,1,160,145,0,32,19,101,136,
-68,0,104,59,0,172,207,86,138,69,0,88,48,0,20,102,75,196,57,0,216,45,0,48,
-73,87,102,72,0,176,183,0,192,206,16,11,178,0,8,12,0,48,81,136,133,41,0,
-4,123,0,96,200,35,35,120,0,132,153,0,20,70,242,87,60,241,43,174,16,231,
-42,0,0,120,153,178,60,185,36,57,69,129,91,8,45,113,7,87,87,46,30,40,206,
-73,23,43,20,54,97,2,97,154,64,46,194,121,153,25,50,129,52,15,224,243,204,
-0,0,160,145,21,17,224,131,243,253,120,206,14,174,206,206,54,142,182,14,
-95,45,234,191,6,255,34,98,98,227,254,229,207,171,112,64,0,0,225,116,126,
-209,254,44,47,179,26,128,59,6,128,109,254,162,37,238,4,104,94,11,160,117,
-247,139,102,178,15,64,181,0,160,233,218,87,243,112,248,126,60,60,69,161,
-144,185,217,217,229,228,228,216,74,196,66,91,97,202,87,125,254,103,194,
-95,192,87,253,108,249,126,60,252,247,245,224,190,226,36,129,50,93,129,71,
-4,248,224,194,204,244,76,165,28,207,146,9,132,98,220,230,143,71,252,183,
-11,255,252,29,211,34,196,73,98,185,88,42,20,227,81,18,113,142,68,154,140,
-243,50,165,34,137,66,146,41,197,37,210,255,100,226,223,44,251,3,62,223,
-53,0,176,106,62,1,123,145,45,168,93,99,3,246,75,39,16,88,116,192,226,247,
-0,0,242,187,111,193,212,40,8,3,128,104,131,225,207,119,255,239,63,253,71,
-160,37,0,128,102,73,146,113,0,0,94,68,36,46,84,202,179,63,199,8,0,0,68,
-160,129,42,176,65,27,244,193,24,44,192,6,28,193,5,220,193,11,252,96,54,
-132,66,36,196,194,66,16,66,10,100,128,28,114,96,41,172,130,66,40,134,205,
-176,29,42,96,47,212,64,29,52,192,81,104,134,147,112,14,46,194,85,184,14,
-61,112,15,250,97,8,158,193,40,188,129,9,4,65,200,8,19,97,33,218,136,1,98,
-138,88,35,142,8,23,153,133,248,33,193,72,4,18,139,36,32,201,136,20,81,34,
-75,145,53,72,49,82,138,84,32,85,72,29,242,61,114,2,57,135,92,70,186,145,
-59,200,0,50,130,252,134,188,71,49,148,129,178,81,61,212,12,181,67,185,168,
-55,26,132,70,162,11,208,100,116,49,154,143,22,160,155,208,114,180,26,61,
-140,54,161,231,208,171,104,15,218,143,62,67,199,48,192,232,24,7,51,196,
-108,48,46,198,195,66,177,56,44,9,147,99,203,177,34,172,12,171,198,26,176,
-86,172,3,187,137,245,99,207,177,119,4,18,129,69,192,9,54,4,119,66,32,97,
-30,65,72,88,76,88,78,216,72,168,32,28,36,52,17,218,9,55,9,3,132,81,194,
-39,34,147,168,75,180,38,186,17,249,196,24,98,50,49,135,88,72,44,35,214,
-18,143,19,47,16,123,136,67,196,55,36,18,137,67,50,39,185,144,2,73,177,164,
-84,210,18,210,70,210,110,82,35,233,44,169,155,52,72,26,35,147,201,218,100,
-107,178,7,57,148,44,32,43,200,133,228,157,228,195,228,51,228,27,228,33,
-242,91,10,157,98,64,113,164,248,83,226,40,82,202,106,74,25,229,16,229,52,
-229,6,101,152,50,65,85,163,154,82,221,168,161,84,17,53,143,90,66,173,161,
-182,82,175,81,135,168,19,52,117,154,57,205,131,22,73,75,165,173,162,149,
-211,26,104,23,104,247,105,175,232,116,186,17,221,149,30,78,151,208,87,210,
-203,233,71,232,151,232,3,244,119,12,13,134,21,131,199,136,103,40,25,155,
-24,7,24,103,25,119,24,175,152,76,166,25,211,139,25,199,84,48,55,49,235,
-152,231,153,15,153,111,85,88,42,182,42,124,21,145,202,10,149,74,149,38,
-149,27,42,47,84,169,170,166,170,222,170,11,85,243,85,203,84,143,169,94,
-83,125,174,70,85,51,83,227,169,9,212,150,171,85,170,157,80,235,83,27,83,
-103,169,59,168,135,170,103,168,111,84,63,164,126,89,253,137,6,89,195,76,
-195,79,67,164,81,160,177,95,227,188,198,32,11,99,25,179,120,44,33,107,13,
-171,134,117,129,53,196,38,177,205,217,124,118,42,187,152,253,29,187,139,
-61,170,169,161,57,67,51,74,51,87,179,82,243,148,102,63,7,227,152,113,248,
-156,116,78,9,231,40,167,151,243,126,138,222,20,239,41,226,41,27,166,52,
-76,185,49,101,92,107,170,150,151,150,88,171,72,171,81,171,71,235,189,54,
-174,237,167,157,166,189,69,187,89,251,129,14,65,199,74,39,92,39,71,103,
-143,206,5,157,231,83,217,83,221,167,10,167,22,77,61,58,245,174,46,170,107,
-165,27,161,187,68,119,191,110,167,238,152,158,190,94,128,158,76,111,167,
-222,121,189,231,250,28,125,47,253,84,253,109,250,167,245,71,12,88,6,179,
-12,36,6,219,12,206,24,60,197,53,113,111,60,29,47,199,219,241,81,67,93,195,
-64,67,165,97,149,97,151,225,132,145,185,209,60,163,213,70,141,70,15,140,
-105,198,92,227,36,227,109,198,109,198,163,38,6,38,33,38,75,77,234,77,238,
-154,82,77,185,166,41,166,59,76,59,76,199,205,204,205,162,205,214,153,53,
-155,61,49,215,50,231,155,231,155,215,155,223,183,96,90,120,90,44,182,168,
-182,184,101,73,178,228,90,166,89,238,182,188,110,133,90,57,89,165,88,85,
-90,93,179,70,173,157,173,37,214,187,173,187,167,17,167,185,78,147,78,171,
-158,214,103,195,176,241,182,201,182,169,183,25,176,229,216,6,219,174,182,
-109,182,125,97,103,98,23,103,183,197,174,195,238,147,189,147,125,186,125,
-141,253,61,7,13,135,217,14,171,29,90,29,126,115,180,114,20,58,86,58,222,
-154,206,156,238,63,125,197,244,150,233,47,103,88,207,16,207,216,51,227,
-182,19,203,41,196,105,157,83,155,211,71,103,23,103,185,115,131,243,136,
-139,137,75,130,203,46,151,62,46,155,27,198,221,200,189,228,74,116,245,113,
-93,225,122,210,245,157,155,179,155,194,237,168,219,175,238,54,238,105,238,
-135,220,159,204,52,159,41,158,89,51,115,208,195,200,67,224,81,229,209,63,
-11,159,149,48,107,223,172,126,79,67,79,129,103,181,231,35,47,99,47,145,
-87,173,215,176,183,165,119,170,247,97,239,23,62,246,62,114,159,227,62,227,
-60,55,222,50,222,89,95,204,55,192,183,200,183,203,79,195,111,158,95,133,
-223,67,127,35,255,100,255,122,255,209,0,167,128,37,1,103,3,137,129,65,129,
-91,2,251,248,122,124,33,191,142,63,58,219,101,246,178,217,237,65,140,160,
-185,65,21,65,143,130,173,130,229,193,173,33,104,200,236,144,173,33,247,
-231,152,206,145,206,105,14,133,80,126,232,214,208,7,97,230,97,139,195,126,
-12,39,133,135,133,87,134,63,142,112,136,88,26,209,49,151,53,119,209,220,
-67,115,223,68,250,68,150,68,222,155,103,49,79,57,175,45,74,53,42,62,170,
-46,106,60,218,55,186,52,186,63,198,46,102,89,204,213,88,157,88,73,108,75,
-28,57,46,42,174,54,110,108,190,223,252,237,243,135,226,157,226,11,227,123,
-23,152,47,200,93,112,121,161,206,194,244,133,167,22,169,46,18,44,58,150,
-64,76,136,78,56,148,240,65,16,42,168,22,140,37,242,19,119,37,142,10,121,
-194,29,194,103,34,47,209,54,209,136,216,67,92,42,30,78,242,72,42,77,122,
-146,236,145,188,53,121,36,197,51,165,44,229,185,132,39,169,144,188,76,13,
-76,221,155,58,158,22,154,118,32,109,50,61,58,189,49,131,146,145,144,113,
-66,170,33,77,147,182,103,234,103,230,102,118,203,172,101,133,178,254,197,
-110,139,183,47,30,149,7,201,107,179,144,172,5,89,45,10,182,66,166,232,84,
-90,40,215,42,7,178,103,101,87,102,191,205,137,202,57,150,171,158,43,205,
-237,204,179,202,219,144,55,156,239,159,255,237,18,194,18,225,146,182,165,
-134,75,87,45,29,88,230,189,172,106,57,178,60,113,121,219,10,227,21,5,43,
-134,86,6,172,60,184,138,182,42,109,213,79,171,237,87,151,174,126,189,38,
-122,77,107,129,94,193,202,130,193,181,1,107,235,11,85,10,229,133,125,235,
-220,215,237,93,79,88,47,89,223,181,97,250,134,157,27,62,21,137,138,174,
-20,219,23,151,21,127,216,40,220,120,229,27,135,111,202,191,153,220,148,
-180,169,171,196,185,100,207,102,210,102,233,230,222,45,158,91,14,150,170,
-151,230,151,14,110,13,217,218,180,13,223,86,180,237,245,246,69,219,47,151,
-205,40,219,187,131,182,67,185,163,191,60,184,188,101,167,201,206,205,59,
-63,84,164,84,244,84,250,84,54,238,210,221,181,97,215,248,110,209,238,27,
-123,188,246,52,236,213,219,91,188,247,253,62,201,190,219,85,1,85,77,213,
-102,213,101,251,73,251,179,247,63,174,137,170,233,248,150,251,109,93,173,
-78,109,113,237,199,3,210,3,253,7,35,14,182,215,185,212,213,29,210,61,84,
-82,143,214,43,235,71,14,199,31,190,254,157,239,119,45,13,54,13,85,141,156,
-198,226,35,112,68,121,228,233,247,9,223,247,30,13,58,218,118,140,123,172,
-225,7,211,31,118,29,103,29,47,106,66,154,242,154,70,155,83,154,251,91,98,
-91,186,79,204,62,209,214,234,222,122,252,71,219,31,15,156,52,60,89,121,
-74,243,84,201,105,218,233,130,211,147,103,242,207,140,157,149,157,125,126,
-46,249,220,96,219,162,182,123,231,99,206,223,106,15,111,239,186,16,116,
-225,210,69,255,139,231,59,188,59,206,92,242,184,116,242,178,219,229,19,
-87,184,87,154,175,58,95,109,234,116,234,60,254,147,211,79,199,187,156,187,
-154,174,185,92,107,185,238,122,189,181,123,102,247,233,27,158,55,206,221,
-244,189,121,241,22,255,214,213,158,57,61,221,189,243,122,111,247,197,247,
-245,223,22,221,126,114,39,253,206,203,187,217,119,39,238,173,188,79,188,
-95,244,64,237,65,217,67,221,135,213,63,91,254,220,216,239,220,127,106,192,
-119,160,243,209,220,71,247,6,133,131,207,254,145,245,143,15,67,5,143,153,
-143,203,134,13,134,235,158,56,62,57,57,226,63,114,253,233,252,167,67,207,
-100,207,38,158,23,254,162,254,203,174,23,22,47,126,248,213,235,215,206,
-209,152,209,161,151,242,151,147,191,109,124,165,253,234,192,235,25,175,
-219,198,194,198,30,190,201,120,51,49,94,244,86,251,237,193,119,220,119,
-29,239,163,223,15,79,228,124,32,127,40,255,104,249,177,245,83,208,167,251,
-147,25,147,147,255,4,3,152,243,252,99,51,45,219,0,0,0,4,103,65,77,65,0,
-0,177,142,124,251,81,147,0,0,0,32,99,72,82,77,0,0,122,37,0,0,128,131,0,
-0,249,255,0,0,128,233,0,0,117,48,0,0,234,96,0,0,58,152,0,0,23,111,146,95,
-197,70,0,0,3,61,73,68,65,84,120,218,100,147,91,104,91,117,0,198,127,255,
-255,57,57,77,147,182,89,122,75,47,177,165,101,181,70,109,235,116,115,214,
-177,14,241,97,94,166,200,96,157,8,78,95,6,130,34,184,61,136,238,69,168,
-10,211,13,43,104,193,7,17,116,224,230,100,157,219,112,43,78,220,133,186,
-57,55,221,213,180,171,180,246,146,154,166,73,151,180,73,154,147,115,78,
-254,62,12,139,171,223,243,247,193,199,119,17,74,41,150,67,184,69,176,52,
-168,173,246,5,188,77,10,72,254,157,25,203,68,156,95,149,169,34,203,185,
-250,29,194,34,17,104,121,170,98,215,246,131,27,187,67,107,238,13,172,40,
-47,71,73,135,217,88,140,225,243,55,163,205,79,250,247,141,157,76,238,86,
-150,138,47,105,254,117,160,251,68,219,99,239,173,252,122,221,171,107,238,
-243,8,63,5,20,54,14,59,156,143,48,132,65,175,124,131,121,43,206,169,189,
-231,46,15,190,59,254,188,147,86,195,75,14,164,91,4,214,191,31,60,208,250,
-74,99,40,178,16,163,80,136,34,53,65,99,233,74,0,242,42,207,141,212,85,92,
-154,65,251,206,150,7,114,57,243,128,112,137,199,149,165,18,58,64,195,19,
-197,111,150,63,231,14,221,28,154,64,42,129,212,4,150,101,227,203,7,49,30,
-50,56,59,253,19,35,115,195,120,101,25,154,166,81,179,181,164,163,230,140,
-177,19,120,91,104,94,81,219,254,129,251,202,98,179,93,165,242,18,221,208,
-112,52,7,128,129,174,48,13,69,77,196,179,113,62,155,236,101,223,196,30,
-84,94,224,114,131,186,168,34,225,119,204,14,89,210,32,87,231,108,187,106,
-242,148,69,226,186,73,114,56,75,167,249,52,3,93,97,250,47,124,139,82,14,
-179,185,24,143,122,55,208,23,58,202,173,112,142,200,96,142,172,178,235,
-221,53,114,149,238,174,146,245,153,113,69,230,47,200,85,128,219,7,71,146,
-135,24,184,244,61,251,183,29,71,8,141,112,236,58,91,190,220,138,81,0,107,
-1,156,4,228,253,14,148,137,70,205,219,44,31,44,228,212,51,233,11,10,149,
-2,107,30,22,231,96,33,106,51,111,196,217,220,209,77,107,69,136,27,19,191,
-113,237,252,8,42,10,252,9,46,75,32,45,14,75,43,199,132,167,94,187,93,106,
-18,202,108,31,164,33,184,17,246,62,251,9,159,254,208,203,161,95,14,178,
-255,229,195,48,14,76,3,183,192,235,147,80,96,84,207,36,156,139,119,85,26,
-17,154,242,245,101,186,239,118,120,123,142,227,241,122,120,235,200,14,78,
-252,222,15,192,230,181,91,240,119,66,106,24,168,4,111,173,28,75,94,113,
-46,107,118,92,101,119,127,209,227,11,60,34,55,164,71,93,244,247,125,67,
-223,185,143,233,57,177,139,169,244,16,142,1,20,65,133,170,35,71,158,24,
-163,84,183,232,152,227,124,152,58,235,156,20,74,41,92,237,210,119,255,11,
-158,129,140,145,89,59,55,5,174,18,208,202,193,181,66,160,132,64,44,104,
-180,24,109,188,184,234,53,122,78,111,71,79,233,167,71,190,51,55,89,87,85,
-122,105,202,197,157,90,227,61,221,197,95,233,181,214,250,148,109,225,169,
-43,193,239,47,71,10,65,50,149,36,49,153,68,22,92,120,34,218,143,35,71,205,
-109,230,207,133,233,59,190,0,224,90,39,188,181,15,27,175,215,119,25,47,
-213,181,86,221,93,93,93,43,16,130,217,153,168,154,250,99,102,104,234,140,
-249,249,204,37,171,207,26,84,139,255,59,211,127,225,222,36,74,61,1,173,
-205,83,169,55,40,20,217,184,61,145,157,41,92,51,143,169,133,229,220,127,
-6,0,96,206,107,68,194,186,229,33,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_184 = 502;
-static unsigned char xml_res_file_184[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,18,0,
-0,11,18,1,210,221,126,252,0,0,0,7,116,73,77,69,7,216,3,13,15,29,54,188,
-249,40,87,0,0,1,118,73,68,65,84,56,203,237,146,187,75,66,113,28,197,191,
-223,159,38,247,90,225,141,44,140,168,37,226,86,52,38,66,17,17,209,107,11,
-122,32,57,229,208,34,129,81,68,91,131,75,212,16,65,53,4,65,209,99,104,40,
-151,92,106,204,37,2,161,192,193,161,225,26,134,143,91,145,122,127,250,187,
-175,254,2,117,143,206,126,62,156,195,57,0,255,250,43,74,202,146,99,35,188,
-184,229,222,131,196,192,30,100,123,67,248,22,184,90,12,37,101,73,48,12,
-227,171,154,23,147,178,228,8,70,6,175,77,238,221,67,75,64,40,5,66,41,32,
-45,33,121,94,43,115,54,171,13,171,1,44,117,67,233,205,79,140,206,233,58,
-160,170,1,106,26,160,170,34,121,92,201,243,225,151,115,221,53,210,98,127,
-186,137,61,84,76,48,124,192,39,26,28,212,101,24,0,170,10,136,122,61,137,
-248,115,246,108,33,13,99,251,34,163,138,53,39,237,20,219,43,1,8,152,164,
-233,214,171,52,6,61,167,141,78,174,203,114,231,207,218,115,197,52,76,30,
-138,140,150,25,42,140,10,213,42,144,86,174,175,64,208,98,142,118,45,192,
-133,55,206,203,197,12,76,31,137,101,165,196,64,211,16,235,144,255,169,10,
-112,213,119,95,174,133,231,85,43,177,65,145,21,96,226,64,100,121,133,33,
-99,72,152,106,226,84,255,204,69,173,21,132,217,227,161,187,158,182,30,119,
-38,159,134,120,234,21,52,13,144,169,136,78,190,61,118,191,30,29,239,104,
-238,252,174,245,3,97,249,204,183,221,178,74,82,206,32,41,8,1,242,177,116,
-226,219,77,202,146,80,235,67,191,178,206,158,158,181,247,215,159,0,0,0,
-0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_185 = 485;
-static unsigned char xml_res_file_185[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,18,0,
-0,11,18,1,210,221,126,252,0,0,0,7,116,73,77,69,7,216,3,13,15,31,15,209,
-202,194,221,0,0,1,101,73,68,65,84,56,203,237,210,191,75,66,81,28,5,240,
-239,189,234,211,132,116,76,73,112,80,65,80,48,23,7,121,139,130,63,182,144,
-6,33,7,55,193,217,193,191,34,66,112,112,112,169,193,54,171,81,161,22,17,
-9,68,33,66,105,17,7,73,35,204,31,249,124,247,122,159,247,53,180,191,246,
-232,236,231,3,7,14,192,127,254,64,16,0,0,35,4,191,86,171,167,82,179,153,
-145,198,99,155,193,225,152,29,38,147,53,95,46,119,103,48,153,184,166,160,
-80,138,159,178,217,139,137,40,206,223,227,241,165,212,110,179,161,40,46,
-59,62,223,252,33,157,190,100,132,96,77,224,165,92,78,77,68,113,254,21,139,
-45,88,183,171,114,206,249,166,211,81,123,129,192,226,209,227,153,247,74,
-165,51,173,62,222,181,90,25,61,198,58,140,16,32,65,248,217,37,8,128,0,0,
-35,164,251,104,52,206,53,129,197,112,104,163,138,162,74,187,29,236,9,1,
-0,0,78,41,40,156,195,94,85,213,207,193,192,174,9,152,221,238,153,68,41,
-90,203,50,188,21,139,43,0,128,81,161,176,34,140,193,78,81,144,197,235,157,
-105,3,145,200,205,138,144,253,154,16,128,112,88,144,251,125,100,137,70,
-5,153,49,144,25,83,143,18,137,154,38,224,203,229,110,183,126,255,245,114,
-187,229,86,151,11,31,4,131,170,213,229,194,27,74,65,8,133,174,2,249,124,
-253,215,31,40,148,226,231,74,37,53,189,191,207,172,71,35,187,217,233,156,
-30,167,82,181,147,124,190,174,55,26,53,127,240,13,44,239,164,46,170,244,
-5,121,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_186 = 401;
-static unsigned char xml_res_file_186[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,16,0,0,0,16,8,6,0,0,
-0,31,243,255,97,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,
-68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,
-0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,217,8,31,6,43,21,222,207,
-142,127,0,0,1,17,73,68,65,84,56,203,237,142,177,74,195,80,24,70,207,77,
-123,99,26,237,45,81,74,8,116,80,233,34,190,67,210,58,57,57,56,249,2,130,
-116,43,46,234,146,214,81,196,81,28,28,4,31,194,205,234,155,180,147,1,81,
-40,5,147,38,77,227,214,65,172,166,155,131,223,248,243,127,231,59,240,159,
-63,152,254,97,197,123,105,169,157,188,255,197,175,7,103,53,244,167,80,0,
-30,23,95,111,43,239,254,160,62,60,170,51,13,78,202,205,133,1,227,27,189,
-183,87,35,219,95,39,27,223,202,167,60,29,109,182,222,85,13,185,17,123,186,
-5,161,14,114,51,113,131,203,223,45,102,0,103,59,244,69,21,161,41,72,75,
-32,108,132,181,21,249,185,0,253,115,213,144,118,226,97,130,81,1,115,13,
-88,1,105,39,110,112,245,179,69,17,192,169,133,29,145,34,152,192,113,75,
-176,84,2,226,12,145,34,44,39,242,129,222,92,131,65,91,53,101,33,113,25,
-1,239,112,119,157,113,209,201,224,13,24,130,212,18,55,56,83,115,45,196,
-199,169,241,160,87,19,151,50,176,140,136,1,221,0,38,25,132,8,70,16,191,
-234,207,102,55,218,253,14,240,9,98,242,76,49,228,70,246,254,0,0,0,0,73,
-69,78,68,174,66,96,130};
-
-static size_t xml_res_size_187 = 3820;
-static unsigned char xml_res_file_187[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,48,0,0,0,48,8,6,0,0,
-0,87,2,249,135,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,72,
-89,115,0,0,5,49,0,0,5,49,1,183,237,40,82,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,14,105,73,68,65,84,104,129,213,154,123,108,
-84,87,126,199,63,231,220,123,103,198,51,140,199,204,0,198,47,2,198,33,41,
-129,64,104,54,90,227,52,74,212,86,219,150,9,160,230,15,182,143,160,172,
-180,81,163,190,82,245,193,31,173,90,117,91,85,145,80,35,237,170,82,75,212,
-174,26,145,86,90,164,205,46,100,77,155,182,90,37,89,226,152,109,179,45,
-4,18,156,224,56,4,99,108,192,51,102,60,158,215,125,156,211,63,238,131,235,
-7,73,54,73,171,246,90,71,247,216,190,247,204,247,251,123,157,223,239,119,
-70,104,173,249,255,124,153,159,231,98,66,8,1,24,128,12,238,137,224,95,54,
-224,1,10,240,244,231,40,53,241,89,215,18,66,24,64,6,40,0,221,64,58,248,
-61,19,204,1,234,64,45,24,117,224,42,80,2,106,90,107,239,51,125,254,167,
-37,32,132,104,3,250,128,30,96,67,177,88,188,247,192,129,3,59,6,6,6,214,
-20,10,133,108,62,159,207,102,179,217,118,128,106,181,58,95,46,151,171,165,
-82,169,58,62,62,62,123,236,216,177,179,195,195,195,111,1,151,129,41,96,
-82,107,221,248,84,64,180,214,63,214,192,55,139,205,192,190,98,177,248,236,
-201,147,39,223,40,149,74,55,116,112,185,174,171,91,173,150,174,215,235,
-186,90,173,234,249,249,121,93,171,213,116,163,209,208,182,109,107,165,148,
-214,90,235,82,169,116,227,228,201,147,111,20,139,197,103,129,125,193,154,
-137,31,23,207,39,214,64,96,223,93,192,246,193,193,193,161,195,135,15,23,
-135,134,134,118,10,33,132,227,56,56,142,67,171,213,194,243,60,180,214,40,
-165,162,123,124,14,144,78,167,163,1,232,145,145,145,51,135,14,29,26,30,
-29,29,29,1,206,1,211,159,212,79,62,17,1,33,132,9,108,206,229,114,15,31,
-61,122,244,241,61,123,246,60,96,24,134,229,56,14,182,109,47,3,25,159,175,
-244,183,112,14,208,209,209,65,71,71,7,90,107,231,228,201,147,255,126,240,
-224,193,23,42,149,202,171,192,251,90,107,247,51,19,16,66,164,128,123,182,
-109,219,246,165,19,39,78,60,217,223,223,191,81,41,133,235,186,17,152,56,
-184,177,203,115,188,57,126,141,43,179,11,148,171,13,52,80,200,36,233,42,
-100,216,177,41,79,255,186,204,178,119,12,195,96,245,234,213,116,116,116,
-48,49,49,113,105,223,190,125,127,123,254,252,249,127,1,222,214,90,55,63,
-53,129,0,252,23,246,239,223,255,216,243,207,63,255,120,46,151,203,199,165,
-24,130,56,125,225,42,207,255,219,219,92,152,184,198,252,66,157,108,54,195,
-170,76,27,171,218,146,88,82,96,123,138,90,163,73,101,161,129,41,224,206,
-190,2,143,237,222,200,206,141,171,23,105,42,157,78,211,213,213,69,181,90,
-45,63,241,196,19,47,28,63,126,252,69,224,63,62,138,196,109,9,4,102,179,
-99,255,254,253,143,31,59,118,236,215,44,203,74,105,173,17,66,68,14,244,
-95,239,95,227,143,254,238,53,222,253,112,134,252,234,213,108,234,89,203,
-166,190,245,116,175,205,113,223,166,28,219,251,218,49,132,224,237,169,42,
-103,62,184,201,205,186,75,105,190,198,165,203,83,124,120,229,58,107,114,
-73,158,222,187,141,159,232,105,143,72,88,150,69,79,79,15,90,235,230,129,
-3,7,158,59,126,252,248,11,192,217,219,153,211,138,4,2,135,221,178,109,219,
-182,199,94,127,253,245,223,107,111,111,207,59,142,131,16,2,41,37,66,8,158,
-250,198,191,242,207,35,239,144,205,229,184,115,83,47,119,244,172,39,151,
-177,200,165,45,30,232,207,177,123,75,62,122,22,224,71,19,21,70,47,150,168,
-212,93,170,77,135,249,186,203,228,212,52,151,46,79,114,95,127,129,63,253,
-242,206,72,48,82,74,54,108,216,64,189,94,47,63,248,224,131,207,158,63,127,
-254,69,224,189,149,28,91,222,70,51,93,185,92,238,225,19,39,78,60,153,203,
-229,242,173,86,43,50,153,106,195,230,167,127,255,91,124,239,245,11,172,
-235,234,98,235,221,119,209,181,190,147,84,194,32,105,26,36,77,201,150,206,
-20,97,100,114,93,23,173,53,119,117,103,72,90,6,73,75,146,52,37,73,203,160,
-179,179,147,187,183,238,224,252,149,58,95,253,171,17,154,174,175,97,165,
-20,83,83,83,100,179,217,124,128,225,97,252,8,184,236,90,70,64,8,145,0,182,
-31,61,122,244,241,254,254,254,141,141,70,35,114,216,133,166,195,79,61,253,
-15,140,93,158,165,187,183,151,158,222,141,164,211,109,152,82,96,72,129,
-12,86,243,92,55,34,16,14,173,20,160,145,2,12,41,48,164,127,183,44,73,207,
-166,1,110,170,36,7,191,254,90,68,194,113,28,102,102,102,232,239,239,223,
-120,244,232,209,199,129,237,1,182,143,213,64,223,224,224,224,208,158,61,
-123,30,104,181,90,132,210,247,60,143,253,127,114,156,153,242,2,133,206,
-245,228,10,157,24,166,136,94,210,26,148,2,87,105,198,166,235,203,8,188,
-51,53,143,237,106,60,5,74,135,194,2,41,4,82,8,58,214,118,211,18,171,248,
-173,231,70,16,66,32,132,160,86,171,81,169,84,216,179,103,207,3,131,131,
-131,67,248,59,255,237,9,4,233,193,182,195,135,15,23,165,148,86,173,86,139,
-76,231,55,255,230,21,206,77,92,37,155,47,144,110,47,32,132,244,65,107,141,
-167,53,174,210,56,158,162,229,40,46,204,180,56,59,89,103,190,222,162,218,
-176,57,243,97,149,51,31,86,105,58,30,182,171,112,61,133,235,105,60,165,
-81,129,89,11,4,153,252,122,38,202,240,181,99,111,69,254,83,46,151,145,82,
-90,135,15,31,46,2,219,2,140,183,213,64,95,177,88,124,104,104,104,104,103,
-189,94,143,76,231,157,203,101,190,251,234,5,82,153,118,82,217,53,32,13,
-31,184,242,135,227,42,108,87,209,116,60,154,142,199,124,211,229,71,147,
-77,190,115,118,129,111,255,231,60,63,252,96,129,74,195,165,97,251,255,111,
-185,10,199,187,245,190,167,52,161,123,102,242,93,188,124,238,58,151,110,
-212,144,82,226,121,30,115,115,115,12,13,13,237,44,22,139,15,45,213,66,68,
-32,200,42,123,158,122,234,169,47,2,162,90,173,70,49,250,47,190,245,67,48,
-45,18,171,10,8,51,129,235,249,18,119,189,64,234,33,120,91,81,111,121,212,
-91,30,181,150,75,181,225,71,156,133,166,71,173,233,255,189,97,251,207,181,
-92,95,27,62,17,21,17,65,74,108,163,131,103,191,55,22,69,189,155,55,111,
-2,136,0,91,79,128,21,88,92,15,100,128,13,131,131,131,91,154,205,38,158,
-231,33,165,100,108,106,158,83,103,46,33,219,215,35,18,41,28,87,99,72,133,
-235,73,108,87,97,58,190,13,135,63,171,146,6,29,109,6,171,51,38,237,41,131,
-76,66,144,73,74,50,9,56,122,122,14,199,243,181,213,114,124,226,33,9,199,
-83,120,90,83,109,120,184,70,27,175,142,93,231,221,233,42,119,117,101,209,
-90,83,175,215,25,28,28,220,2,108,8,176,206,47,37,80,40,22,139,247,230,243,
-249,53,165,82,41,74,188,254,241,149,247,208,102,27,34,177,138,154,45,144,
-134,70,186,10,83,170,32,242,248,142,172,180,230,209,93,235,216,187,107,
-29,158,231,69,190,19,159,215,90,46,142,171,35,18,241,225,120,138,185,5,
-155,74,195,65,3,158,76,241,221,211,87,248,195,199,238,65,41,69,189,94,103,
-237,218,181,107,138,197,226,189,195,195,195,63,8,9,200,192,124,4,208,125,
-224,192,129,29,0,113,231,125,237,236,101,132,153,66,88,109,52,29,197,245,
-74,139,133,166,71,203,245,237,185,97,135,67,225,105,48,12,227,182,163,222,
-244,104,216,110,100,74,141,192,148,90,182,98,170,220,164,84,181,209,218,
-143,104,152,73,78,141,149,144,82,34,165,164,209,240,203,133,0,99,119,128,
-57,210,128,1,164,7,6,6,214,132,97,79,74,201,149,82,157,75,51,115,164,10,
-61,72,233,135,54,199,83,92,157,107,208,176,19,172,201,250,97,89,235,208,
-153,53,134,97,132,62,21,237,194,81,88,108,185,184,10,28,207,143,68,45,71,
-113,189,218,162,92,181,105,185,10,17,172,5,160,101,130,139,215,202,76,149,
-27,244,228,219,80,74,225,56,14,3,3,3,107,240,43,61,3,112,67,2,18,200,20,
-10,133,108,24,121,0,206,95,46,163,164,137,22,6,2,144,194,143,221,0,229,
-5,155,242,130,77,91,194,160,176,42,193,154,246,4,207,125,255,18,223,124,
-245,67,12,33,56,248,80,31,191,188,187,123,25,1,219,213,84,26,14,55,42,129,
-185,232,112,63,240,159,83,218,15,173,90,131,18,22,23,174,84,233,45,164,
-145,82,162,148,162,80,40,100,3,31,144,75,53,144,201,231,243,89,199,113,
-34,2,147,215,23,208,194,64,235,91,82,13,55,30,47,144,84,195,246,184,82,
-110,112,165,220,64,10,65,194,148,36,45,201,151,118,172,91,166,141,55,222,
-243,157,88,10,129,16,183,54,50,17,7,175,124,19,210,104,64,50,61,87,139,
-192,123,158,71,62,159,15,9,24,145,15,224,151,137,233,108,54,219,238,56,
-78,20,62,167,111,54,208,72,220,192,68,100,32,41,41,110,237,192,241,75,105,
-77,211,241,168,212,29,22,26,142,47,153,152,15,120,74,71,192,133,240,55,
-47,255,30,150,182,62,240,208,15,180,208,76,207,53,35,63,240,60,143,160,
-206,78,7,152,151,167,18,241,252,92,7,154,80,202,143,251,70,44,231,185,13,
-135,69,235,132,229,101,72,64,202,56,232,96,157,64,67,26,34,224,113,51,10,
-119,228,120,102,27,191,66,2,54,80,175,86,171,243,166,105,70,17,168,179,
-35,5,90,227,122,30,174,167,81,218,79,192,194,228,237,163,174,176,106,11,
-195,168,148,50,6,250,150,228,227,166,19,7,174,53,160,21,221,249,116,4,222,
-52,77,170,213,234,60,126,107,198,142,19,240,128,90,185,92,174,90,150,21,
-17,232,90,221,6,90,129,242,112,60,63,86,135,90,48,165,188,173,41,1,40,237,
-219,172,235,186,17,17,195,184,5,94,138,149,193,135,115,148,7,90,209,187,
-118,85,164,1,41,37,229,114,185,138,223,95,242,226,4,20,80,43,149,74,213,
-184,6,238,234,202,34,180,7,202,197,117,28,28,215,247,5,211,144,152,134,
-192,52,86,38,32,4,232,152,6,66,34,161,6,62,22,60,128,114,17,218,101,251,
-29,183,10,35,195,48,40,149,74,33,1,181,84,3,245,241,241,241,217,100,50,
-137,97,24,190,6,58,18,108,88,147,6,207,1,207,137,118,77,41,136,8,88,134,
-92,4,60,140,82,160,151,107,64,10,66,202,31,9,30,192,179,185,187,59,203,
-29,235,178,72,41,49,77,19,195,48,24,31,31,159,13,76,232,150,6,130,82,237,
-234,177,99,199,206,2,180,183,183,71,90,216,189,117,61,40,27,220,22,74,107,
-108,87,211,114,21,150,33,253,97,250,161,211,144,65,136,149,62,9,173,116,
-4,60,36,17,154,156,210,68,201,219,138,224,149,11,202,225,103,119,246,70,
-210,79,36,252,77,51,192,120,53,44,47,227,81,168,52,60,60,252,86,185,92,
-158,205,229,114,17,129,253,15,244,96,104,7,169,90,72,175,21,237,184,174,
-167,72,89,146,182,68,88,38,26,145,127,24,82,160,99,62,16,154,145,198,47,
-104,60,117,11,116,188,38,136,75,223,208,14,191,242,200,64,100,255,137,68,
-130,114,185,60,27,180,36,75,225,163,113,2,53,224,242,232,232,232,123,237,
-237,237,209,230,49,176,46,205,238,187,214,162,221,22,194,107,96,224,249,
-36,130,168,148,52,125,18,41,75,146,178,140,40,204,106,173,150,105,32,158,
-255,47,173,3,226,224,113,155,60,122,127,47,247,110,92,19,57,175,105,154,
-140,142,142,190,135,223,79,173,45,35,16,116,137,167,142,28,57,114,90,8,
-161,187,186,186,34,45,252,238,163,91,48,181,141,178,27,224,54,48,164,240,
-107,1,215,207,227,83,150,36,153,144,164,18,146,54,75,146,48,101,180,15,
-196,53,16,230,253,161,221,47,187,148,7,110,147,36,14,207,60,49,184,72,250,
-90,107,125,228,200,145,211,192,84,188,163,189,116,35,155,28,30,30,254,193,
-200,200,200,153,206,206,78,194,144,218,187,58,197,129,161,13,104,167,129,
-211,172,225,52,171,8,17,150,145,154,150,163,48,165,239,208,166,33,145,8,
-127,255,88,162,1,127,47,89,65,234,224,135,107,215,23,208,239,236,219,206,
-157,61,29,145,244,45,203,98,100,100,228,76,144,70,79,198,95,91,116,192,
-161,181,110,8,33,206,31,58,116,104,248,212,169,83,219,250,250,250,172,241,
-241,113,0,158,254,249,205,76,92,91,224,141,241,121,60,33,104,40,141,145,
-76,99,187,134,239,200,174,228,39,251,82,236,232,73,130,16,220,215,155,92,
-180,19,3,252,246,207,116,163,148,191,187,254,229,203,49,28,202,243,193,
-59,117,246,222,223,195,51,95,217,29,245,135,132,16,120,158,231,28,58,116,
-104,24,56,191,180,13,191,172,177,21,180,46,30,57,113,226,196,31,239,221,
-187,119,232,226,197,139,148,74,126,94,238,40,248,202,95,191,201,197,235,
-54,88,105,48,83,96,165,64,90,72,9,79,126,177,157,175,238,206,5,105,131,
-92,148,7,197,127,151,82,114,199,31,188,233,155,81,96,243,56,13,118,109,
-108,231,213,195,191,72,58,105,33,131,30,141,16,130,151,94,122,105,100,223,
-190,125,127,14,188,162,181,182,227,120,87,202,133,108,224,220,193,131,7,
-95,152,152,152,184,180,121,243,102,50,25,191,33,107,73,248,251,95,191,159,
-161,129,118,112,22,192,169,65,171,6,78,3,229,58,126,183,33,22,247,151,238,
-3,241,185,242,108,255,125,123,1,156,58,123,118,117,241,253,103,246,145,
-48,68,148,139,9,33,152,152,152,184,116,240,224,193,23,128,115,75,193,175,
-168,129,128,245,162,214,98,91,91,91,254,220,185,115,81,161,35,165,228,27,
-47,79,112,108,228,10,14,22,152,73,48,44,182,246,100,185,167,187,13,141,
-0,105,128,8,179,62,17,8,71,33,52,104,20,47,158,158,2,229,144,16,46,191,
-241,11,91,249,179,95,253,66,180,118,104,247,243,243,243,31,219,90,252,196,
-205,93,32,53,54,54,70,189,94,143,62,228,202,92,147,175,255,211,251,156,
-26,43,161,176,192,52,65,154,128,129,223,166,11,193,135,249,177,23,164,155,
-14,6,46,63,183,171,151,175,125,121,23,155,187,115,139,194,101,50,153,196,
-113,156,79,223,220,141,145,88,212,94,207,102,179,249,241,241,241,176,217,
-20,141,241,235,117,94,122,115,134,209,119,75,124,48,91,71,99,4,146,151,
-17,126,80,8,52,3,235,87,241,200,246,46,126,233,161,205,108,237,235,88,180,
-78,50,153,164,173,173,141,74,165,242,217,219,235,75,72,44,58,224,184,113,
-227,6,147,147,147,126,122,16,3,32,165,100,250,166,205,197,153,26,211,55,
-155,92,187,217,66,74,88,223,145,166,111,237,42,182,246,181,179,97,109,118,
-209,243,97,154,156,201,100,72,38,147,159,239,1,71,140,196,178,35,38,33,
-132,53,61,61,205,204,204,76,20,242,86,26,241,84,120,233,48,12,131,108,54,
-75,58,157,70,41,245,63,115,196,20,35,177,226,33,159,214,90,84,42,21,42,
-149,10,243,243,243,81,241,114,59,18,150,101,145,201,100,72,167,211,164,
-82,41,248,140,135,124,159,251,49,107,179,217,212,11,11,11,122,110,110,78,
-223,184,113,67,207,206,206,234,74,165,162,235,245,186,182,109,59,124,236,
-127,255,152,117,5,141,252,159,56,232,254,168,48,106,0,86,108,152,177,185,
-17,187,39,128,85,64,30,232,4,218,130,145,6,82,193,114,77,160,17,27,215,
-129,57,96,1,112,0,23,191,64,9,231,110,108,238,132,67,175,240,181,132,136,
-64,96,227,137,224,67,19,177,145,12,192,134,243,68,12,124,252,139,29,225,
-61,36,107,6,207,138,21,64,122,196,190,252,177,100,238,224,23,236,173,224,
-30,31,173,64,24,77,192,189,173,9,5,237,139,16,144,25,3,107,46,25,214,109,
-238,241,119,88,2,52,46,221,184,132,227,26,240,150,220,93,64,173,228,216,
-255,13,214,124,188,157,10,82,15,170,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_188 = 2893;
-static unsigned char xml_res_file_188[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,48,0,0,0,48,8,6,0,0,
-0,87,2,249,135,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,167,147,0,
-0,0,9,112,72,89,115,0,0,27,175,0,0,27,175,1,94,26,145,28,0,0,0,7,116,73,
-77,69,7,215,12,29,18,42,45,145,122,3,55,0,0,10,218,73,68,65,84,120,218,
-221,88,89,140,28,71,25,254,170,186,123,122,118,102,214,123,120,119,179,
-54,62,54,206,198,36,113,194,58,74,200,65,144,162,40,130,72,28,114,20,129,
-162,228,129,7,36,20,16,143,72,1,242,128,2,40,47,136,75,60,16,8,47,121,128,
-0,145,16,10,49,138,16,144,128,66,44,156,96,146,200,49,142,237,248,90,123,
-113,246,202,122,118,102,231,232,174,174,159,170,174,169,118,109,111,131,
-29,177,146,3,191,244,77,85,247,84,87,127,223,127,84,213,12,254,215,141,
-33,103,164,176,160,112,22,96,51,0,110,192,229,181,131,10,239,83,216,2,208,
-72,158,112,254,250,172,66,226,251,126,37,8,202,52,88,11,177,161,226,121,
-32,92,78,75,192,192,194,26,97,122,166,221,106,54,59,158,16,98,75,145,128,
-121,61,184,28,150,7,127,254,185,79,248,147,131,95,165,248,200,7,208,58,
-229,195,53,114,251,142,246,194,239,1,6,2,21,220,119,218,130,251,6,68,116,
-97,158,161,155,4,171,92,123,72,28,155,125,108,233,129,239,62,235,119,187,
-157,81,87,0,41,212,25,243,195,167,63,127,111,120,247,253,63,163,184,94,
-162,230,49,80,119,201,12,41,124,105,158,172,237,186,19,231,238,81,142,111,
-161,16,82,88,125,201,7,118,130,213,182,2,73,55,234,60,243,248,131,241,23,
-159,125,102,128,72,48,0,153,135,87,194,176,82,189,122,88,121,190,93,74,
-48,129,104,69,64,138,205,239,137,42,101,77,31,97,109,20,188,249,122,201,
-155,24,248,202,249,48,252,253,64,167,179,12,43,224,20,192,60,198,250,168,
-190,239,134,196,15,209,233,108,7,201,4,239,21,35,133,206,185,55,80,234,
-78,131,22,95,157,74,20,87,197,185,1,128,82,1,227,10,179,128,47,23,94,14,
-72,14,129,202,227,171,30,62,53,219,192,220,114,12,114,220,194,88,206,77,
-78,83,246,128,201,77,53,84,67,127,253,68,200,38,146,78,75,9,56,30,72,192,
-183,12,125,192,72,73,136,60,138,19,144,80,72,34,88,251,203,137,24,108,227,
-53,24,121,255,8,60,207,3,99,108,21,180,217,190,181,40,138,176,239,248,81,
-92,83,153,197,150,161,96,157,82,137,3,196,161,57,38,196,61,205,217,77,33,
-12,3,140,4,245,4,196,208,86,143,3,12,79,222,138,225,225,97,112,206,93,226,
-250,218,146,207,224,218,216,216,24,206,190,245,6,40,57,178,110,2,136,0,
-8,179,102,156,178,2,236,215,146,136,35,1,144,92,136,64,169,58,138,225,161,
-140,124,78,68,113,36,92,219,188,227,58,208,201,67,0,201,117,224,207,1,73,
-208,78,78,185,2,44,171,129,178,130,4,56,37,0,41,1,232,69,32,20,117,244,
-149,203,136,226,216,21,113,201,2,74,165,18,72,10,176,117,88,16,82,206,4,
-144,48,92,203,110,4,54,43,204,17,113,18,12,36,36,72,26,1,104,205,97,96,
-249,117,136,241,91,17,39,4,109,113,28,95,92,128,107,73,12,162,117,88,209,
-172,211,5,210,8,108,206,165,16,18,41,149,0,222,75,161,24,214,196,217,253,
-96,179,7,81,86,233,180,36,55,192,223,118,135,142,194,165,10,48,115,81,178,
-62,69,204,57,72,24,174,112,5,180,20,136,136,33,129,187,10,89,75,175,235,
-203,13,156,25,188,11,147,158,247,110,4,152,104,74,241,223,243,103,30,136,
-133,32,65,41,215,150,43,96,193,4,135,147,48,2,116,216,243,187,251,105,111,
-23,38,119,238,42,170,5,179,188,130,32,169,32,131,146,245,17,64,44,1,184,
-22,0,232,222,2,140,101,69,220,201,138,88,130,114,2,102,226,97,108,218,125,
-59,212,65,213,21,144,145,231,231,246,65,176,16,124,252,166,181,2,88,100,
-94,110,196,21,181,151,158,66,190,169,1,202,23,113,199,108,100,28,194,93,
-70,173,49,116,70,110,198,248,192,64,49,249,153,231,209,121,235,57,248,59,
-239,3,81,1,27,166,139,94,168,214,144,37,211,218,235,44,194,80,136,19,134,
-115,117,66,95,0,140,86,177,218,184,151,62,68,137,225,218,113,5,196,102,
-190,158,0,92,136,0,3,222,193,70,140,108,223,229,110,96,23,4,212,15,163,
-115,226,55,96,156,210,149,134,164,196,26,227,122,46,225,158,90,141,16,43,
-66,154,102,186,89,197,113,239,131,216,116,205,85,152,111,54,241,143,83,
-175,224,246,129,147,8,56,25,42,36,245,167,169,1,61,171,43,0,238,62,64,12,
-160,88,143,77,17,15,92,141,161,90,205,16,119,201,115,66,247,232,79,1,30,
-245,184,165,15,187,81,208,227,204,171,152,88,147,50,204,17,17,203,18,218,
-219,246,224,195,59,175,79,159,79,146,4,237,29,59,112,242,111,191,192,78,
-58,218,19,44,1,226,217,62,192,92,1,93,5,143,136,105,1,32,150,134,29,92,
-53,92,17,29,185,80,184,46,228,220,62,80,60,7,216,61,17,49,164,148,171,4,
-112,206,192,188,46,64,50,151,46,6,172,215,82,245,74,236,80,228,57,231,154,
-124,58,127,185,92,70,109,226,54,224,204,33,0,28,193,216,117,160,149,8,16,
-105,10,177,36,47,160,156,110,100,100,38,101,38,2,194,171,162,50,180,41,
-159,58,41,73,90,216,151,122,151,245,34,197,219,135,65,236,78,77,32,243,
-126,16,77,67,112,45,0,185,20,114,210,72,2,229,80,66,6,129,37,159,161,52,
-176,9,30,221,6,175,187,136,214,91,123,209,62,125,2,165,222,70,214,205,237,
-3,44,52,53,96,60,200,12,49,25,14,32,44,87,220,8,164,94,134,140,33,91,111,
-130,121,23,82,141,234,251,17,214,119,160,52,242,81,16,124,120,209,89,136,
-211,63,54,99,28,1,4,39,2,178,87,212,157,147,224,140,32,115,135,194,114,
-95,21,231,255,252,4,188,243,71,210,212,9,189,43,178,26,208,156,51,1,85,
-167,6,228,242,12,162,228,40,120,117,8,172,58,174,151,206,140,60,17,25,68,
-75,230,16,238,145,141,64,138,248,159,79,130,205,61,173,72,87,16,199,239,
-0,36,85,223,253,153,25,128,241,178,186,215,15,230,111,72,29,65,162,3,41,
-186,170,109,128,241,126,119,67,76,29,71,181,141,96,43,0,227,10,240,178,
-26,168,186,17,16,10,30,192,72,152,26,160,100,9,73,107,9,94,188,58,255,109,
-142,199,113,27,190,56,7,120,129,130,18,200,21,84,223,188,165,1,162,166,
-34,152,177,6,116,212,72,128,146,243,160,110,3,50,170,67,182,231,213,181,
-80,208,223,43,106,219,31,6,202,253,107,126,99,240,208,7,2,152,154,148,94,
-118,156,22,174,128,44,170,130,82,18,44,232,41,66,35,239,253,84,68,167,43,
-17,170,156,231,92,164,30,6,235,189,32,43,104,219,230,54,43,153,229,253,
-133,119,72,173,47,64,36,75,8,11,142,36,156,117,64,86,128,240,64,118,79,
-204,4,184,150,104,18,158,246,158,153,60,89,200,38,35,162,12,210,27,68,28,
-12,163,207,215,171,144,67,94,193,166,84,222,108,209,50,217,19,34,77,95,
-19,18,52,10,230,247,35,111,233,42,44,231,83,1,196,12,55,41,8,40,22,96,38,
-99,240,244,93,147,187,221,19,224,212,6,99,181,85,2,130,32,192,121,126,35,
-42,193,239,140,80,207,33,207,21,242,34,178,101,211,16,135,69,98,208,164,
-91,48,18,150,97,205,46,197,92,174,128,137,25,144,223,155,210,51,251,128,
-107,28,142,145,128,73,33,77,42,125,168,5,180,142,230,35,144,214,69,163,
-180,7,172,4,112,133,172,13,13,120,33,236,119,206,248,20,28,237,234,3,233,
-177,68,155,43,194,107,31,2,120,100,50,66,131,115,224,63,9,64,226,8,80,128,
-130,92,124,206,157,52,195,224,248,157,152,94,158,210,185,108,80,90,75,148,
-151,123,215,101,151,188,109,13,222,238,222,138,177,173,183,23,158,163,252,
-229,231,83,242,25,60,239,98,17,48,69,156,229,181,7,36,243,191,4,103,102,
-245,113,69,84,42,21,44,242,135,209,136,54,56,222,116,8,90,104,17,69,228,
-3,96,37,25,70,167,255,107,168,213,106,107,28,228,123,18,244,206,175,50,
-103,154,5,130,25,142,255,94,128,30,195,205,224,30,100,119,26,180,180,215,
-20,115,46,196,219,174,188,25,175,206,124,25,205,168,106,35,97,196,228,83,
-39,69,142,188,216,128,227,203,143,97,199,213,183,20,70,184,212,248,53,144,
-44,0,166,190,76,173,93,98,10,41,244,154,94,27,159,249,38,60,46,144,55,93,
-11,147,215,238,193,190,35,95,199,233,183,55,219,84,50,40,36,110,112,102,
-126,2,135,231,126,128,235,166,238,211,185,111,72,187,228,253,24,152,253,
-190,225,224,0,184,148,34,6,115,214,114,3,217,62,6,54,247,29,251,199,150,
-235,177,244,222,181,187,238,193,169,197,31,226,183,47,220,143,19,103,198,
-33,25,55,233,82,54,208,125,201,61,156,156,217,142,23,94,126,8,13,60,133,
-169,27,63,166,87,51,187,183,216,77,210,156,129,150,190,13,138,166,13,187,
-85,43,27,115,4,20,238,3,148,14,42,178,232,220,247,16,110,248,16,4,191,173,
-240,207,172,109,219,38,16,69,95,82,36,31,196,129,131,135,17,134,199,80,
-10,235,105,74,38,98,4,68,215,99,235,214,221,216,125,211,22,245,93,232,30,
-12,51,104,171,200,63,65,204,63,97,157,231,58,211,188,79,230,4,20,70,128,
-236,13,119,23,141,17,157,252,12,42,147,123,209,244,38,215,156,28,149,233,
-104,40,146,91,49,49,49,1,206,63,110,127,181,105,79,107,232,190,134,61,217,
-218,40,102,222,175,240,67,72,78,63,100,114,185,200,56,91,123,43,191,145,
-129,25,1,36,21,116,235,246,227,101,196,39,63,137,154,247,154,254,211,202,
-18,41,132,37,174,199,233,3,161,123,223,245,190,117,68,149,191,2,121,230,
-83,32,209,4,8,133,96,236,34,2,96,34,144,18,6,57,187,165,211,82,84,71,124,
-234,94,212,196,147,232,175,245,105,146,154,160,37,107,175,45,172,215,243,
-222,207,60,31,4,28,125,209,19,16,211,159,134,140,235,198,89,238,251,201,
-1,28,1,133,41,100,106,32,35,76,182,128,146,92,49,197,145,58,58,63,130,160,
-255,25,108,28,253,6,90,114,10,173,86,75,19,114,79,146,46,105,87,68,150,
-110,37,122,13,201,236,35,136,26,127,5,132,117,146,1,37,70,136,11,176,139,
-9,176,127,30,244,8,187,103,125,178,125,167,54,146,229,253,72,86,238,65,
-95,255,29,168,14,125,22,73,112,23,162,164,6,33,132,21,98,201,103,41,197,
-177,12,180,255,0,177,244,19,69,252,69,67,212,144,87,173,131,196,192,17,
-85,104,62,28,142,36,121,239,65,102,24,58,2,88,238,247,172,123,186,20,245,
-151,128,198,75,96,126,25,97,101,10,149,190,221,96,193,102,128,143,33,181,
-120,1,212,62,7,217,58,128,184,125,16,148,180,12,57,233,16,181,164,123,45,
-122,160,12,204,140,215,209,5,17,203,9,32,48,22,179,177,9,53,108,204,227,
-94,13,50,105,244,88,23,193,241,138,7,80,239,216,65,162,3,138,246,43,65,
-251,11,78,164,22,238,137,212,245,116,177,24,11,30,12,0,243,21,200,82,89,
-0,237,88,115,118,127,212,83,64,180,216,141,216,241,210,52,219,89,221,250,
-17,116,241,119,200,120,25,240,200,61,220,153,62,119,82,204,116,77,192,172,
-48,134,98,1,217,184,236,210,238,250,38,154,238,48,102,0,206,192,107,3,40,
-209,46,52,95,60,134,78,36,142,3,88,236,186,2,14,0,116,39,48,215,120,115,
-230,113,127,112,232,91,241,222,190,128,177,42,224,251,176,198,242,157,162,
-107,134,119,103,116,177,123,54,109,251,176,50,243,38,226,197,133,184,181,
-24,255,8,138,235,129,252,186,244,71,227,152,209,193,77,222,131,213,43,106,
-95,96,20,95,69,157,150,103,39,100,151,66,144,97,253,77,231,188,74,155,164,
-43,142,107,242,231,231,241,20,3,230,239,118,5,184,34,60,160,66,128,174,
-190,141,10,129,137,236,229,179,94,174,199,10,139,12,152,75,128,150,37,95,
-232,179,71,21,166,0,182,81,161,97,4,93,86,75,20,250,1,90,84,120,93,225,
-81,252,159,217,191,0,127,176,247,110,53,31,71,140,0,0,0,0,73,69,78,68,174,
-66,96,130};
-
-static size_t xml_res_size_189 = 2675;
-static unsigned char xml_res_file_189[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,48,0,0,0,48,8,6,0,0,
-0,87,2,249,135,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,72,
-89,115,0,0,5,49,0,0,5,49,1,183,237,40,82,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,9,240,73,68,65,84,104,129,213,89,121,120,
-83,85,22,255,189,151,151,188,151,164,233,150,182,52,77,219,148,129,54,105,
-229,147,42,124,46,48,3,232,184,33,88,23,6,81,102,80,116,24,166,34,195,248,
-1,162,12,203,12,138,108,110,35,32,133,10,86,1,43,32,138,58,3,84,101,25,
-105,145,214,2,150,66,87,74,91,104,42,221,210,54,105,246,183,220,249,35,
-109,39,84,90,193,66,195,156,239,187,223,123,185,231,222,115,126,191,251,
-206,189,231,222,27,138,16,130,255,103,97,2,13,192,95,94,92,48,143,171,174,
-174,89,196,243,158,81,241,113,6,3,171,100,41,158,231,243,4,65,200,174,172,
-168,60,124,224,155,67,222,158,125,168,27,229,11,204,76,159,145,174,9,10,
-94,61,121,242,227,193,201,201,201,0,1,236,118,59,236,118,59,218,109,109,
-168,175,51,187,171,107,106,230,206,159,247,98,134,127,63,58,80,128,253,
-101,238,252,23,210,19,135,38,189,59,119,238,220,224,100,147,9,42,165,10,
-50,25,13,154,6,40,154,130,156,145,35,50,50,146,51,24,226,215,47,89,186,
-112,25,69,81,221,125,3,30,66,111,189,253,198,32,133,92,254,118,90,90,26,
-77,83,52,64,81,160,105,223,83,16,36,180,182,181,160,172,164,76,40,62,93,
-92,211,220,210,252,189,181,221,90,4,223,192,75,192,13,64,192,237,113,207,
-31,57,114,36,199,48,12,64,1,20,0,137,72,0,1,222,89,251,142,117,235,135,
-31,150,182,181,181,231,8,130,176,15,64,57,33,196,238,223,63,160,4,246,127,
-181,143,182,88,44,79,104,239,28,5,10,0,8,64,136,4,129,23,32,73,34,26,27,
-26,78,54,55,183,76,36,132,56,123,179,17,208,57,80,125,174,234,14,134,102,
-244,77,13,13,0,40,16,2,136,34,129,40,137,112,185,220,224,5,111,81,95,224,
-129,0,19,104,110,182,60,23,111,136,167,46,92,48,3,0,40,138,128,16,2,81,
-16,33,138,34,218,219,172,103,126,206,70,192,8,228,23,28,163,130,130,84,
-191,9,15,15,135,205,110,5,207,243,144,36,2,73,146,32,73,34,20,10,57,238,
-189,247,158,9,63,103,39,96,4,170,170,206,142,13,13,11,139,227,88,22,12,
-195,160,165,165,5,4,157,115,64,20,33,74,18,134,12,29,122,215,170,53,175,
-105,251,178,19,48,2,86,155,237,101,157,78,71,203,89,22,74,78,133,154,154,
-26,16,66,32,17,2,34,73,144,68,9,177,250,216,80,158,23,11,87,173,121,45,
-206,191,239,250,13,107,13,91,178,54,191,185,120,233,223,38,7,100,21,170,
-168,44,215,132,135,133,143,230,88,37,36,73,68,144,90,141,202,179,103,161,
-84,169,16,161,213,194,104,52,66,34,18,180,17,17,148,192,123,7,115,108,80,
-254,204,244,25,79,141,29,51,118,172,90,165,158,50,228,87,67,19,109,54,171,
-123,83,70,230,103,1,33,80,144,95,176,44,46,62,54,72,20,37,84,157,171,70,
-85,117,45,218,173,86,28,58,114,20,183,143,184,5,127,73,72,128,76,38,3,33,
-4,113,177,6,240,162,55,38,52,52,252,64,140,94,15,78,193,1,20,112,248,208,
-161,220,150,22,203,169,1,15,161,178,178,82,173,130,85,204,12,13,9,69,254,
-247,133,88,159,145,137,115,53,181,152,61,107,22,84,42,21,206,148,149,193,
-102,181,118,79,230,104,157,14,2,47,32,122,208,32,112,10,14,74,149,18,78,
-135,211,185,101,75,214,71,132,16,251,128,19,56,126,226,248,238,193,9,131,
-213,28,199,193,100,52,130,227,56,84,215,214,194,222,97,71,178,49,9,150,
-214,118,84,84,84,128,16,2,34,17,196,199,197,162,188,188,18,186,104,29,104,
-25,13,129,23,200,218,117,235,246,183,182,182,238,6,6,112,18,55,52,54,40,
-183,110,251,176,240,166,97,195,198,69,71,71,131,83,170,144,98,50,34,41,
-113,8,8,1,254,189,127,31,34,35,180,144,43,20,40,60,113,18,188,215,3,66,
-8,64,211,8,214,104,160,14,82,67,146,36,178,114,229,202,188,47,191,248,114,
-65,87,130,27,144,57,144,253,113,246,112,222,235,61,48,106,212,168,136,188,
-239,142,66,201,113,24,55,238,46,48,140,12,119,220,118,59,78,22,21,227,76,
-73,41,166,77,157,10,189,174,24,81,145,17,144,36,95,82,131,36,33,46,46,30,
-121,121,121,174,211,197,167,119,230,228,124,181,144,16,210,208,101,251,
-186,19,216,148,185,41,157,227,184,127,142,24,49,146,93,180,100,49,142,125,
-119,12,160,40,204,158,245,60,166,79,127,26,38,99,18,254,240,196,20,176,
-172,2,63,156,60,142,152,168,40,164,165,61,4,154,146,193,233,114,160,174,
-238,2,44,150,22,105,99,198,166,247,59,58,58,230,16,66,36,127,251,215,141,
-64,101,101,5,181,119,223,222,109,81,145,81,79,106,52,26,122,198,140,63,
-194,92,95,239,83,18,130,226,51,197,160,105,25,140,70,35,18,12,6,252,120,
-241,71,228,228,228,120,234,47,214,183,102,189,255,129,216,218,106,105,59,
-127,225,66,69,99,67,227,55,37,37,37,255,226,121,190,177,39,248,235,70,224,
-243,47,246,132,148,150,150,126,107,50,153,134,87,148,87,32,43,43,11,78,
-151,171,91,175,84,42,49,233,209,199,96,181,182,145,252,130,252,175,155,
-154,154,15,231,230,230,126,245,249,158,47,74,8,33,252,213,248,186,230,71,
-202,53,111,172,190,221,227,118,127,158,154,154,26,189,99,199,78,228,30,
-201,133,228,231,67,165,82,225,213,229,203,97,76,76,244,238,218,189,235,
-79,43,150,175,220,218,31,127,215,148,192,226,37,139,230,168,213,234,21,
-58,93,180,122,243,230,45,168,173,61,127,137,62,72,163,193,43,255,88,134,
-168,168,72,219,206,79,118,78,204,120,119,99,110,127,125,94,19,2,223,28,
-248,90,150,147,147,147,21,163,215,77,181,90,109,178,157,59,63,129,195,126,
-201,193,9,33,33,33,88,186,116,49,20,114,69,237,246,143,182,255,246,211,
-221,123,170,251,237,24,215,128,192,146,165,139,180,237,237,237,251,146,
-146,146,110,43,60,113,2,121,71,242,224,245,94,122,251,17,22,22,134,133,
-11,95,134,219,237,42,88,183,110,253,3,63,156,44,106,239,151,83,63,233,23,
-129,89,179,254,60,154,145,203,119,36,36,24,98,15,28,60,12,115,157,25,188,
-151,135,199,235,233,38,161,213,134,99,238,188,121,232,232,176,30,90,185,
-98,245,67,245,230,250,62,79,88,87,43,191,152,192,51,207,62,61,91,171,141,
-88,193,41,57,205,247,5,133,112,56,28,224,121,30,94,175,23,30,143,143,64,
-72,72,8,230,204,153,13,139,197,178,119,249,171,43,126,215,214,214,230,190,
-150,224,129,95,64,32,115,243,70,234,200,127,190,205,52,12,30,252,140,173,
-163,67,118,190,186,22,94,158,239,6,223,69,64,173,14,194,211,211,167,161,
-165,185,121,215,162,191,45,153,70,8,249,201,173,218,181,144,171,202,3,19,
-31,154,16,30,18,18,252,89,146,49,105,172,185,174,30,118,187,3,44,199,65,
-198,48,160,105,26,93,23,78,193,33,193,120,244,145,71,97,54,155,63,120,117,
-217,242,153,87,187,182,95,141,92,241,23,120,112,194,248,145,58,221,160,
-29,241,241,134,33,245,230,139,32,32,144,68,9,188,208,57,242,30,47,220,30,
-55,24,70,134,251,239,191,15,117,117,117,27,86,175,122,253,175,132,16,225,
-122,129,191,98,2,105,105,19,159,53,12,78,120,51,56,88,19,106,107,239,0,
-35,151,67,146,124,247,55,94,222,23,54,174,206,76,59,122,244,157,56,127,
-190,246,205,183,223,90,187,224,114,169,127,64,9,80,20,69,61,242,216,195,
-107,77,166,164,231,4,94,144,137,2,192,114,44,104,138,134,40,137,190,21,
-199,227,129,211,229,130,68,4,164,166,222,76,170,170,170,151,191,187,110,
-195,223,201,0,221,26,247,74,96,204,152,95,71,233,245,49,31,155,82,82,238,
-182,180,88,192,200,228,224,56,14,44,199,130,145,49,224,5,31,120,135,195,
-1,183,199,3,163,113,136,84,89,89,181,40,115,227,123,171,7,10,60,208,203,
-129,230,222,251,238,25,157,104,76,58,154,156,146,124,119,221,5,51,68,65,
-2,77,211,144,201,100,144,51,62,34,140,140,129,40,73,32,32,24,58,52,65,40,
-45,45,123,97,83,70,230,170,129,4,15,92,102,21,122,112,226,248,244,97,195,
-82,86,41,85,170,144,242,178,42,40,88,57,228,157,49,47,138,34,188,188,23,
-162,40,194,229,114,66,224,121,232,245,209,158,210,146,178,217,31,100,109,
-221,60,144,192,187,164,59,132,40,138,162,39,63,62,105,109,146,49,49,221,
-225,112,202,206,157,173,129,130,85,64,169,84,250,66,135,101,193,42,88,48,
-114,6,2,207,131,102,100,8,11,11,118,148,150,148,205,220,190,45,59,59,16,
-224,187,9,60,57,117,74,152,54,66,251,81,108,172,126,60,8,192,11,130,228,
-116,58,233,230,70,11,236,14,59,88,150,133,66,161,128,66,174,0,33,18,66,
-195,194,160,14,226,108,167,79,159,153,190,35,123,215,158,64,129,7,58,231,
-128,62,54,102,67,92,92,236,248,166,198,166,109,37,37,165,15,148,149,150,
-13,19,69,33,39,229,38,35,226,227,226,224,241,120,224,118,187,225,116,57,
-17,17,21,1,149,154,109,43,42,58,53,53,208,224,1,128,154,242,196,100,67,
-114,138,169,138,231,133,202,141,25,153,183,182,52,183,120,186,148,47,45,
-156,95,23,171,55,196,30,60,120,16,106,181,10,70,83,18,40,10,77,69,63,156,
-154,250,233,238,61,7,3,9,188,75,104,142,227,110,229,56,142,177,217,108,
-187,252,193,3,128,192,11,71,29,14,59,148,28,139,148,155,76,144,36,177,254,
-120,225,137,73,55,10,120,0,96,4,65,168,225,121,30,26,141,102,68,79,37,33,
-132,118,123,156,24,126,203,205,232,232,232,40,202,63,86,48,253,224,129,
-195,167,2,1,180,55,161,183,111,203,46,178,119,216,203,53,154,160,187,22,
-188,52,255,158,46,197,180,167,126,63,42,52,44,244,49,165,82,9,139,165,117,
-255,254,189,57,19,110,52,240,64,231,42,244,252,236,244,215,227,13,241,243,
-149,74,181,171,169,177,113,171,221,97,15,15,214,104,30,84,7,169,213,230,
-58,243,166,221,159,124,54,239,226,197,6,71,160,193,94,78,40,66,8,198,142,
-27,163,76,77,189,121,151,46,70,55,177,107,75,44,8,130,187,166,166,246,149,
-45,239,101,173,33,132,136,125,26,241,245,233,250,243,150,234,163,41,0,248,
-103,234,126,39,110,255,68,70,77,126,124,210,195,161,97,161,195,5,65,112,
-124,119,244,216,215,21,229,149,53,0,100,157,133,238,44,148,223,179,47,144,
-164,199,251,149,20,233,74,126,251,179,166,8,33,160,40,138,1,192,2,80,116,
-22,121,143,119,57,254,183,111,234,205,169,212,71,93,79,221,149,180,189,
-162,54,151,236,70,41,95,44,116,141,184,28,190,189,18,227,87,215,243,75,
-244,54,242,61,71,191,231,72,94,174,222,159,88,207,247,159,216,232,142,156,
-254,196,96,31,177,223,179,142,244,242,132,63,152,95,34,255,5,180,137,28,
-120,253,62,112,13,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_190 = 2741;
-static unsigned char xml_res_file_190[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,48,0,0,0,48,8,6,0,0,
-0,87,2,249,135,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,72,
-89,115,0,0,5,49,0,0,5,49,1,183,237,40,82,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,10,50,73,68,65,84,104,129,213,90,91,108,20,
-215,25,254,206,153,245,98,175,77,189,56,206,101,215,246,46,246,58,17,198,
-70,17,194,117,110,36,198,144,172,68,33,79,81,69,242,96,80,18,55,2,43,145,
-162,216,234,67,165,62,33,245,18,69,145,42,40,16,210,88,73,211,74,68,13,
-141,2,109,36,18,33,65,236,134,88,114,148,86,80,48,9,96,179,94,95,144,97,
-189,59,187,115,217,185,157,62,204,101,119,182,190,172,215,166,81,71,250,
-117,230,122,206,247,253,223,57,255,153,243,207,16,198,24,254,159,55,207,
-221,168,148,16,2,0,101,0,214,0,96,0,178,0,180,187,225,44,178,154,149,18,
-66,60,0,238,5,240,0,128,90,0,65,152,4,166,1,220,6,48,3,96,150,49,166,173,
-90,155,171,69,128,16,226,5,208,182,113,227,198,232,43,175,188,242,216,35,
-143,60,18,110,105,105,9,1,192,149,43,87,98,195,195,195,55,143,31,63,126,
-225,242,229,203,159,3,184,196,24,83,86,165,97,198,216,138,13,64,5,128,199,
-163,209,232,155,115,115,115,9,198,24,211,52,141,101,50,25,150,78,167,153,
-170,170,140,49,198,230,230,230,18,209,104,244,77,0,143,3,168,88,149,182,
-87,1,188,7,192,163,221,221,221,71,69,81,204,200,178,204,102,102,102,88,
-60,30,103,19,19,19,44,22,139,177,241,241,113,54,49,49,193,50,153,12,19,
-69,49,211,221,221,125,20,192,163,0,60,43,109,127,197,93,136,16,18,10,135,
-195,63,189,116,233,210,47,57,142,171,230,121,30,140,49,24,134,225,106,200,
-62,174,169,169,1,165,52,213,214,214,118,240,230,205,155,127,97,140,197,
-86,210,62,93,33,248,42,0,155,7,6,6,158,247,122,189,213,130,32,128,82,10,
-66,136,83,218,102,31,39,18,9,0,168,30,24,24,120,30,192,102,171,142,255,
-61,1,98,198,202,245,251,246,237,219,217,213,213,213,46,73,82,1,88,160,140,
-8,240,64,0,33,112,145,72,38,147,232,234,234,106,223,183,111,223,78,0,235,
-173,186,74,195,81,106,23,34,132,172,5,176,59,30,143,191,85,91,91,27,148,
-36,201,233,42,208,211,240,74,95,129,50,25,0,96,144,114,100,184,118,232,
-240,57,247,248,253,126,8,66,102,170,174,174,190,31,192,223,24,99,233,82,
-112,148,164,128,237,253,222,222,222,167,131,193,96,80,85,213,60,239,3,222,
-204,89,16,237,14,152,33,129,25,18,136,150,64,101,118,16,148,230,20,226,
-121,30,247,223,255,64,176,183,183,247,105,172,64,133,146,20,176,188,191,
-107,108,236,198,111,3,129,96,72,85,213,156,247,133,127,130,166,47,0,132,
-3,108,76,140,1,48,32,123,183,64,41,107,113,6,118,101,101,37,132,76,98,42,
-20,126,176,15,192,223,75,81,97,217,10,88,158,10,239,223,191,255,153,112,
-120,125,200,48,140,156,247,137,6,194,15,129,25,50,152,46,129,233,178,105,
-134,89,122,165,97,243,30,235,126,65,16,240,64,32,28,220,191,127,255,51,
-0,194,165,168,80,140,2,4,230,235,128,77,96,45,128,93,215,174,93,251,85,
-40,20,106,212,117,221,241,190,126,231,11,176,212,144,229,125,174,224,113,
-6,48,29,106,69,7,148,138,199,29,21,202,203,203,145,74,165,198,154,155,155,
-127,129,18,84,40,70,1,206,66,225,242,126,83,83,83,163,117,206,242,190,10,
-125,238,92,206,235,186,104,149,146,105,154,8,166,75,240,8,95,129,163,57,
-21,100,89,70,40,20,106,44,85,133,98,20,40,179,8,40,249,222,111,106,106,
-114,121,95,153,249,4,218,237,51,150,231,41,50,50,197,159,62,55,177,116,
-71,129,202,10,3,96,6,192,116,232,107,183,65,251,81,212,153,220,202,203,
-203,145,76,38,75,82,97,41,5,168,5,222,51,58,58,234,133,229,253,72,36,210,
-8,32,55,89,177,44,212,217,207,114,222,54,100,124,115,69,194,213,113,211,
-70,174,136,174,107,132,63,11,10,197,121,126,37,42,44,69,128,216,118,234,
-212,169,123,189,94,239,166,254,254,254,46,195,48,204,139,86,72,84,102,62,
-129,161,204,185,186,79,138,151,32,73,166,241,105,217,1,207,116,9,76,157,
-3,77,126,230,154,220,210,233,52,250,251,251,187,0,180,1,40,122,118,46,134,
-0,77,36,18,220,249,243,231,195,175,191,254,250,79,236,174,99,147,128,46,
-64,138,13,152,224,242,162,143,170,228,8,40,217,252,241,32,131,105,2,148,
-177,95,131,50,201,33,81,170,10,139,17,160,150,145,247,222,123,111,237,228,
-228,228,198,222,222,222,167,52,77,115,250,189,97,24,200,92,123,11,217,59,
-255,128,46,220,0,211,4,135,132,174,101,33,203,50,100,89,134,174,101,205,
-73,77,151,161,137,99,80,238,12,193,144,98,208,39,127,239,122,119,42,69,
-133,197,8,112,0,184,68,34,225,57,119,238,92,248,217,103,159,221,214,208,
-208,16,210,52,205,25,124,186,194,35,115,237,119,0,211,161,9,55,144,77,124,
-13,45,61,10,93,138,65,204,220,134,44,203,224,121,30,252,92,28,26,127,25,
-74,226,107,104,233,171,96,134,185,150,209,39,143,131,24,162,67,66,81,20,
-132,66,161,198,3,7,14,60,93,172,10,11,17,224,108,5,222,127,255,253,181,
-211,211,211,173,61,61,61,79,42,138,226,128,55,12,3,194,245,183,97,168,169,
-220,83,76,131,46,79,67,203,92,67,226,214,119,24,29,29,197,141,27,55,192,
-39,98,208,229,105,48,93,116,53,194,52,30,250,228,17,215,88,16,4,1,125,125,
-125,219,81,164,10,243,17,160,182,247,147,201,164,103,112,112,48,188,123,
-247,238,206,250,250,250,144,162,40,185,119,123,45,3,105,236,208,130,21,
-151,149,149,161,178,178,18,149,149,149,40,43,43,91,240,62,45,126,12,196,
-16,29,18,217,108,22,225,112,216,86,33,180,148,10,133,4,40,204,21,150,7,
-128,231,196,137,19,213,83,83,83,109,47,191,252,242,83,178,44,59,253,158,
-49,6,105,252,152,219,251,243,16,240,249,124,240,249,124,139,18,200,87,193,
-38,145,201,100,108,21,54,97,9,21,104,193,190,13,158,75,167,211,158,47,191,
-252,50,188,115,231,206,109,117,117,117,13,178,44,231,6,175,38,32,59,113,
-28,32,11,103,101,40,165,224,56,14,28,199,129,210,197,131,157,58,113,12,
-148,201,14,9,85,85,139,86,193,174,153,131,57,227,218,4,202,62,253,244,211,
-234,120,60,222,250,210,75,47,109,21,4,193,181,44,204,198,142,194,80,238,
-44,10,106,57,27,211,82,80,39,14,187,86,113,162,40,22,165,2,181,128,187,
-76,20,197,178,193,193,193,112,52,26,237,12,6,131,13,146,36,229,6,175,150,
-129,58,241,142,25,73,86,47,189,3,117,226,40,136,33,185,34,82,49,42,80,0,
-94,203,108,2,158,179,103,207,250,99,177,88,219,222,189,123,183,230,47,210,
-13,195,128,22,127,7,134,114,123,85,193,3,166,10,74,236,176,43,34,73,146,
-180,164,10,249,10,120,1,120,101,89,94,51,52,52,20,238,236,236,124,42,16,
-8,212,139,162,232,242,190,22,63,90,20,248,170,10,125,222,253,197,54,117,
-226,8,136,145,155,157,139,81,129,194,204,95,174,177,137,12,15,15,251,47,
-94,188,248,208,11,47,188,240,104,50,153,116,197,125,61,126,20,76,77,20,
-5,166,179,53,137,13,245,34,54,212,139,232,108,77,22,245,76,190,10,54,137,
-165,84,176,9,120,1,172,201,102,179,228,163,143,62,186,167,189,189,253,177,
-64,32,208,144,201,100,114,75,69,67,2,155,126,183,40,32,0,224,175,210,240,
-118,207,117,188,221,115,29,254,170,226,187,155,18,59,2,138,172,67,66,211,
-52,172,95,191,126,65,21,236,73,75,7,32,157,60,121,146,14,13,13,69,94,124,
-241,197,39,18,137,132,43,238,27,83,199,0,125,225,184,191,90,27,211,146,
-200,222,60,228,138,72,178,44,47,168,2,5,32,0,16,83,169,148,120,248,240,
-225,123,118,236,216,241,68,48,24,12,187,50,108,186,8,50,243,135,187,14,
-222,222,178,227,135,65,152,236,144,80,85,117,65,21,108,2,194,158,61,123,
-232,200,200,72,243,171,175,190,218,57,59,59,235,138,251,152,121,119,217,
-222,191,61,7,236,253,185,105,183,231,150,71,128,105,73,200,227,135,92,17,
-105,33,21,40,0,129,16,146,61,115,230,76,160,167,167,103,71,93,93,93,99,
-42,149,202,229,54,117,17,158,217,129,229,33,0,48,52,2,92,185,110,218,208,
-200,178,31,71,118,252,16,136,53,59,83,74,23,28,11,20,128,103,211,166,77,
-85,0,54,245,245,245,109,79,36,18,174,184,207,37,62,46,169,239,111,109,7,
-90,34,166,109,109,95,62,1,166,37,161,204,252,213,21,145,20,69,201,127,83,
-245,217,4,180,139,23,47,250,54,111,222,252,96,36,18,105,116,205,186,134,
-1,202,127,177,252,214,1,212,174,3,254,248,166,105,181,235,74,170,2,6,255,
-173,107,48,51,198,16,137,68,26,59,58,58,90,0,172,181,9,0,64,245,246,237,
-219,31,4,128,194,247,30,43,163,242,131,108,106,234,91,215,56,176,151,177,
-209,104,244,33,0,126,0,160,86,95,170,217,178,101,75,157,157,98,201,87,32,
-91,189,231,135,194,15,239,186,31,255,87,122,30,0,218,219,219,27,0,220,67,
-8,161,246,251,48,231,245,122,61,132,16,172,91,183,14,179,179,179,102,247,
-161,20,89,95,23,244,200,121,112,242,191,65,105,46,141,88,152,251,7,48,111,
-89,236,253,249,215,1,128,243,69,192,85,181,228,38,82,192,89,87,84,85,85,
-217,147,47,241,48,198,24,33,100,242,200,145,35,95,61,247,220,115,79,214,
-214,214,146,91,183,110,129,82,234,144,208,136,31,70,229,147,78,227,133,
-31,49,152,117,206,176,206,49,27,36,33,32,243,220,63,95,29,133,215,0,228,
-198,161,133,133,227,204,116,229,201,147,39,255,5,96,154,49,166,19,198,24,
-8,33,62,0,187,190,255,254,251,223,52,55,55,55,37,147,73,140,141,141,193,
-186,86,52,128,165,64,173,148,132,181,90,227,107,106,106,250,84,85,253,152,
-49,150,180,7,177,4,224,187,55,222,120,227,20,207,243,73,191,223,143,13,
-27,54,160,162,162,194,53,160,243,203,98,207,173,228,126,192,76,158,217,
-171,58,77,211,212,131,7,15,158,86,85,245,42,128,52,144,151,27,37,132,172,
-1,208,246,240,195,15,239,58,125,250,244,207,26,26,26,234,1,64,215,117,8,
-130,0,251,11,76,126,63,45,236,219,171,125,46,127,41,42,73,146,112,224,192,
-129,63,127,240,193,7,39,0,140,216,249,83,87,114,151,152,95,218,155,239,
-187,239,190,174,215,94,123,109,91,71,71,71,184,181,181,181,62,16,8,4,232,
-82,11,219,187,176,241,60,159,188,122,245,234,196,200,200,72,236,195,15,
-63,252,230,194,133,11,103,0,124,203,24,147,28,204,133,217,105,66,8,133,
-249,155,64,0,192,253,86,233,71,46,205,238,100,236,242,142,73,158,97,158,
-18,200,125,99,200,47,109,51,10,246,237,99,17,230,239,9,182,77,177,130,47,
-252,246,32,182,23,245,133,139,123,47,204,41,219,87,112,158,155,103,191,
-240,156,157,28,179,191,112,24,48,95,219,181,121,202,194,125,251,88,178,
-72,72,214,177,154,119,93,1,160,21,118,33,228,53,106,3,114,18,93,243,128,
-157,15,116,62,112,91,133,124,175,235,139,16,40,188,54,159,49,150,7,250,
-63,122,44,83,66,223,104,136,99,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_191 = 4999;
-static unsigned char xml_res_file_191[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,48,0,0,0,48,8,6,0,0,
-0,87,2,249,135,0,0,0,4,115,66,73,84,8,8,8,8,124,8,100,136,0,0,0,9,112,72,
-89,115,0,0,5,49,0,0,5,49,1,183,237,40,82,0,0,0,25,116,69,88,116,83,111,
-102,116,119,97,114,101,0,119,119,119,46,105,110,107,115,99,97,112,101,46,
-111,114,103,155,238,60,26,0,0,19,4,73,68,65,84,104,129,173,154,123,144,
-220,197,117,239,63,221,253,123,204,99,119,246,41,237,67,171,221,149,64,
-66,2,204,91,90,64,70,88,130,226,70,198,152,224,148,109,68,36,217,49,81,
-0,97,124,141,99,95,76,110,46,201,117,192,101,42,206,197,86,18,172,194,54,
-21,5,3,55,112,179,198,112,65,152,167,132,16,32,64,18,194,68,2,180,10,43,
-105,246,189,218,157,153,221,153,249,189,251,254,241,155,93,86,66,96,113,
-203,93,213,53,85,191,95,255,78,127,191,231,116,159,211,231,244,8,173,53,
-127,200,38,132,16,128,9,216,128,81,121,28,0,46,224,235,63,240,132,198,239,
-31,242,169,155,125,247,221,27,255,232,115,159,91,254,223,131,32,52,1,12,
-67,249,91,183,190,116,215,109,183,125,235,105,192,249,131,206,166,181,254,
-84,29,144,128,69,69,195,39,120,215,184,110,221,134,191,41,149,28,61,213,
-74,37,71,175,91,183,225,111,128,70,64,30,247,141,81,145,101,29,255,238,
-100,186,60,89,162,34,110,22,80,119,213,85,215,44,217,186,117,231,195,245,
-245,245,45,149,103,51,155,237,121,94,147,82,106,250,129,82,10,207,243,154,
-42,64,103,202,180,234,235,235,91,182,110,221,249,240,85,87,93,179,4,168,
-19,66,88,149,101,248,135,179,0,32,128,20,176,160,187,251,169,199,63,248,
-160,223,43,20,38,245,230,205,143,62,6,180,78,89,162,162,205,142,53,107,
-110,216,28,134,225,180,5,194,48,212,107,214,220,176,25,232,56,110,108,235,
-230,205,143,62,86,40,76,234,15,62,232,247,186,187,159,122,28,88,80,153,
-75,156,20,182,147,36,96,172,94,189,246,252,119,222,233,25,47,22,203,211,
-192,122,122,142,4,95,253,234,234,117,64,61,144,0,106,128,115,214,174,189,
-249,55,122,70,243,35,79,175,253,203,235,159,187,234,31,62,187,225,246,87,
-174,255,238,255,124,235,166,155,215,63,113,205,23,175,251,222,151,190,125,
-160,231,80,48,53,174,88,44,235,119,222,233,25,95,189,122,237,249,28,183,
-60,63,174,139,147,113,10,149,101,178,232,55,191,121,225,153,47,126,113,
-69,211,76,235,253,246,183,47,31,89,181,106,249,215,150,45,91,110,220,114,
-203,173,215,205,153,211,118,73,125,125,67,251,156,5,181,230,43,99,207,241,
-106,238,121,134,157,126,230,166,230,49,39,217,73,131,61,11,91,38,40,250,
-147,140,121,253,140,56,3,52,90,205,156,145,89,194,185,53,203,120,230,201,
-215,135,174,190,122,229,21,192,187,90,107,239,247,98,59,73,2,6,208,126,
-241,197,151,109,232,238,126,244,47,27,27,107,166,223,21,10,69,6,6,134,203,
-245,245,117,137,234,234,148,240,140,18,15,246,253,140,199,135,255,55,103,
-215,158,199,188,234,83,152,159,153,75,141,153,36,16,101,66,92,76,97,144,
-80,105,18,34,205,144,51,78,223,196,48,251,114,123,25,158,60,204,200,118,
-127,235,214,141,123,110,156,248,192,61,168,181,14,102,226,248,193,190,107,
-207,252,66,203,250,239,188,54,208,253,141,13,167,255,243,167,34,32,128,
-12,208,245,203,95,62,178,121,237,218,107,154,79,52,174,123,240,87,252,60,
-251,247,156,85,123,1,103,215,159,137,54,28,208,33,82,72,12,41,49,132,68,
-73,137,146,10,37,4,134,80,40,41,49,132,34,41,171,232,159,204,179,107,232,
-117,14,21,246,245,74,205,159,61,208,181,103,235,148,236,27,118,45,253,31,
-179,82,157,63,56,189,166,139,55,70,30,159,115,207,217,219,250,79,72,160,
-2,86,2,26,208,83,129,71,8,97,3,11,151,46,189,228,150,238,238,127,95,223,
-216,88,59,253,77,160,125,126,180,239,175,120,203,217,201,202,57,87,16,170,
-34,90,135,72,41,81,162,2,92,40,148,20,49,120,228,199,146,74,137,12,7,11,
-125,188,58,240,140,31,133,222,45,255,186,100,247,125,127,246,198,5,127,
-85,99,215,223,185,234,148,171,121,41,187,157,92,241,112,199,63,157,187,
-227,48,28,23,200,42,224,147,55,222,120,203,252,77,155,254,113,20,40,10,
-33,202,21,50,137,179,206,58,183,245,39,63,217,248,229,154,154,42,194,48,
-2,192,11,61,110,222,185,154,192,118,89,218,122,49,131,94,22,41,98,224,106,
-10,220,212,47,242,19,73,25,82,50,33,28,106,19,54,43,218,254,216,124,99,
-96,235,166,181,59,207,93,151,182,106,47,190,100,238,31,161,84,72,68,132,
-70,79,187,217,99,44,32,132,72,0,157,111,190,185,111,187,105,42,182,109,
-219,182,233,91,223,250,139,251,1,231,188,243,150,46,186,247,222,159,63,
-178,104,209,41,141,74,125,24,62,190,243,202,122,198,212,48,115,91,58,40,
-69,133,24,188,252,144,128,156,65,68,242,9,164,164,196,68,162,132,49,77,
-202,212,73,134,75,99,204,78,213,99,155,17,74,74,118,246,237,98,210,61,60,
-239,222,115,118,246,30,99,1,33,132,2,234,55,109,250,215,187,230,204,105,
-106,76,165,108,26,27,175,249,235,174,174,174,63,127,226,137,199,30,185,
-242,202,171,255,116,225,194,121,13,66,64,20,197,218,255,233,222,187,121,
-47,191,143,5,167,45,98,192,29,136,193,34,17,82,98,8,129,20,18,91,216,8,
-97,50,236,13,49,226,30,37,31,20,241,35,159,106,35,69,163,93,75,103,170,
-133,122,187,26,83,26,21,171,204,32,46,29,82,182,162,20,77,224,250,2,41,
-12,16,33,197,92,48,173,193,153,75,200,190,244,210,149,103,93,120,225,133,
-95,72,36,44,162,72,147,74,37,88,184,112,126,243,141,55,110,248,86,34,97,
-33,132,32,138,98,139,29,200,189,203,35,239,60,192,89,75,206,163,207,25,
-152,94,215,177,198,5,82,40,82,42,197,238,194,239,216,83,120,251,68,123,
-158,132,48,176,164,65,75,162,145,75,103,117,209,100,55,196,150,154,38,33,
-226,95,41,145,8,132,80,4,17,20,14,59,211,17,221,152,177,246,19,107,214,
-172,191,190,174,174,198,154,210,240,84,75,38,227,211,194,204,231,63,220,
-118,7,115,91,59,56,228,102,145,21,109,75,98,11,36,148,141,19,185,108,201,
-109,165,24,150,72,201,36,34,31,146,40,26,212,4,41,132,41,112,82,30,85,117,
-85,20,196,4,37,111,130,103,7,95,228,244,234,5,156,81,179,8,67,40,164,144,
-136,41,185,66,32,42,242,3,29,48,57,236,37,132,16,66,107,173,103,90,32,184,
-233,166,181,27,215,173,219,144,89,191,126,253,229,243,231,183,201,143,59,
-145,188,209,255,42,7,142,236,163,190,179,149,82,232,32,249,144,128,20,146,
-92,48,201,155,133,61,8,4,29,110,11,230,206,136,96,52,240,77,109,73,203,
-77,42,43,105,146,174,118,17,85,1,77,11,230,80,104,157,196,195,165,119,162,
-151,113,103,156,165,141,23,160,132,138,129,35,16,82,32,137,9,129,70,165,
-213,116,124,144,16,251,74,160,28,4,193,251,247,223,191,241,174,47,127,249,
-202,191,123,224,129,71,7,10,133,18,81,164,63,210,31,220,253,47,212,206,
-111,96,40,28,161,28,58,148,66,135,82,224,80,10,203,4,58,98,119,97,47,150,
-52,245,89,249,249,161,177,219,47,82,29,254,183,222,246,163,246,251,247,
-247,27,237,227,139,238,54,222,174,241,107,118,205,167,225,245,51,241,127,
-167,168,233,73,50,155,6,82,210,196,11,75,28,200,191,143,23,120,56,129,139,
-19,120,56,190,71,41,112,41,249,14,161,14,201,180,219,238,180,123,63,206,
-11,41,32,13,180,3,151,254,250,215,207,254,125,87,215,185,201,227,45,240,
-217,159,157,77,221,133,13,12,155,99,211,166,149,66,96,73,75,15,120,3,58,
-31,20,194,207,48,207,41,191,87,24,148,22,203,222,251,230,232,200,204,239,
-151,47,95,126,6,136,151,77,51,89,107,89,73,138,159,61,72,102,137,162,96,
-231,209,104,34,52,157,169,5,84,155,25,64,128,208,104,36,66,106,8,39,41,
-123,163,167,110,94,250,230,193,105,11,76,53,173,117,8,76,2,253,23,92,208,
-85,236,236,236,72,132,97,196,204,190,229,237,39,200,52,216,12,168,17,188,
-48,32,240,3,156,200,9,202,145,227,140,249,227,197,124,80,200,183,89,141,
-163,122,212,237,83,205,234,218,227,193,3,188,244,210,75,255,145,78,167,
-186,162,200,243,253,174,1,50,231,131,72,251,36,133,65,90,216,180,90,173,
-88,210,194,139,60,188,208,197,9,61,156,208,161,236,187,132,97,128,239,5,
-211,139,251,227,50,50,243,242,203,63,127,81,85,85,74,76,121,157,233,245,
-127,232,117,146,233,20,158,63,129,212,10,79,122,133,64,132,3,18,145,40,
-233,146,11,56,117,126,170,228,165,156,173,239,126,121,104,247,199,200,103,
-203,150,45,239,255,151,127,92,250,114,226,60,127,133,169,20,97,168,169,
-50,27,176,85,6,4,132,81,64,236,50,4,1,17,121,63,207,152,63,198,41,86,35,
-58,248,48,144,25,21,15,164,42,93,86,72,205,234,236,60,165,203,48,212,49,
-158,167,88,156,164,232,21,48,82,38,70,104,18,70,65,48,105,79,30,20,145,
-156,84,82,149,221,200,53,1,199,142,84,217,183,245,203,31,7,30,96,245,238,
-139,206,106,90,110,174,48,66,133,12,21,202,72,34,16,68,8,66,64,160,113,
-163,34,19,225,4,5,127,2,143,16,45,32,112,60,70,247,149,2,177,66,24,64,104,
-0,201,77,155,254,229,11,173,173,45,43,129,26,165,84,218,243,188,134,186,
-186,217,139,142,119,167,147,147,147,184,218,195,50,109,84,164,8,34,63,231,
-105,111,20,33,138,50,18,101,141,118,235,172,180,225,28,117,28,145,148,251,
-63,137,64,181,165,22,170,192,142,142,76,12,73,124,13,97,30,124,137,136,
-52,66,87,126,35,176,133,96,182,204,16,59,32,173,235,194,185,135,214,182,
-111,184,237,171,155,6,94,184,241,198,175,255,95,3,168,243,60,253,181,211,
-78,59,253,243,0,66,192,84,70,119,252,242,129,8,37,45,146,42,65,85,152,102,
-66,229,123,35,162,49,52,165,40,174,58,148,147,134,233,122,110,96,68,86,
-88,254,36,2,247,157,249,242,255,89,250,100,135,189,232,177,75,190,230,22,
-195,159,167,82,25,145,74,36,105,107,107,165,169,169,149,100,42,69,34,97,
-147,72,36,176,237,4,173,115,230,32,180,16,2,213,9,220,208,219,219,63,23,
-216,97,0,169,108,182,47,113,232,208,32,182,109,146,72,88,216,182,133,109,
-155,72,121,108,32,80,74,82,103,213,3,19,36,163,124,228,217,94,47,144,3,
-202,196,4,156,193,114,222,235,106,152,231,12,187,249,22,96,224,147,72,188,
-126,229,161,224,174,183,238,122,90,41,203,111,109,157,103,37,18,54,243,
-231,183,145,201,52,16,103,177,76,43,210,45,249,184,174,135,227,120,184,
-174,79,54,219,151,0,82,6,32,61,207,19,35,35,185,143,76,96,89,38,182,109,
-78,19,171,170,82,204,74,54,19,136,49,210,84,33,181,44,0,249,10,1,15,112,
-35,173,61,153,20,174,116,116,253,39,129,159,106,166,105,234,154,154,58,
-170,171,171,227,29,40,5,253,131,163,184,78,128,235,250,120,174,143,231,
-249,199,16,2,240,60,79,0,82,2,190,82,166,123,34,225,190,31,48,49,81,98,
-116,52,79,54,59,66,185,28,114,106,195,124,170,68,21,117,102,157,156,237,
-207,174,170,16,40,84,250,132,128,9,35,45,38,77,203,170,62,243,249,246,170,
-223,71,192,182,237,11,50,153,90,211,178,45,106,106,82,148,202,1,217,236,
-40,163,163,121,38,38,74,248,126,248,17,240,0,21,204,190,1,76,238,216,241,
-252,191,189,251,238,219,67,90,235,70,195,48,146,32,107,47,187,236,202,51,
-103,207,110,182,102,6,58,173,225,204,214,207,240,31,163,123,88,80,99,225,
-22,203,11,122,233,221,78,92,172,242,4,194,183,132,12,119,229,143,184,87,
-181,159,225,236,31,31,92,252,249,30,241,198,83,167,126,124,214,87,91,91,
-247,149,76,166,86,88,9,69,77,93,53,19,19,254,244,59,129,64,8,193,200,200,
-144,247,252,243,79,190,3,81,46,8,130,178,16,98,244,232,209,145,173,192,
-164,1,228,95,123,109,235,211,192,235,64,146,184,118,211,209,209,49,255,
-175,155,154,154,79,159,57,89,62,95,166,189,125,54,77,213,237,24,182,199,
-209,201,252,252,138,230,93,1,158,37,164,54,165,242,76,164,251,126,113,196,
-91,220,208,162,255,243,136,154,183,164,119,222,225,55,46,255,32,60,17,1,
-165,212,202,154,218,90,132,132,76,109,13,125,253,71,64,104,166,114,22,33,
-160,167,103,127,207,227,143,63,244,99,224,16,21,103,1,140,1,121,131,120,
-237,142,0,71,43,182,50,128,209,222,222,3,175,92,124,241,138,211,13,67,17,
-4,33,74,73,74,37,135,116,58,205,105,77,139,25,241,122,57,53,179,48,243,
-165,210,151,86,116,91,221,255,110,10,21,26,82,249,166,80,129,41,148,59,
-88,206,123,134,144,110,89,7,180,88,137,134,229,47,204,159,8,93,60,25,133,
-81,16,40,164,175,249,102,248,195,239,204,110,106,105,170,74,167,65,64,38,
-157,193,41,249,40,165,32,2,41,37,58,130,222,222,3,175,0,187,128,44,113,
-157,85,3,17,16,201,169,218,147,214,218,175,148,49,28,96,108,251,246,231,
-94,246,125,63,50,12,137,97,72,148,146,24,134,226,200,145,97,150,44,56,15,
-147,12,159,153,189,88,156,107,156,183,250,180,96,97,149,33,100,209,20,178,
-100,10,89,50,165,116,44,161,220,113,167,232,132,34,242,230,52,52,4,190,
-8,149,33,73,44,172,109,181,207,153,53,199,188,174,252,237,246,84,50,245,
-119,109,109,157,50,145,72,50,103,78,51,3,125,99,24,202,192,52,20,74,41,
-44,203,192,247,253,104,251,246,231,94,174,104,220,209,90,123,21,172,161,
-214,90,159,168,180,40,0,114,185,163,19,131,131,217,188,82,6,74,41,140,138,
-208,190,190,81,180,134,179,59,206,33,109,84,115,70,199,25,246,159,155,235,
-55,158,27,158,91,101,8,89,54,132,42,155,66,57,166,80,142,41,149,103,74,
-229,255,238,104,54,16,6,81,148,214,193,128,153,143,150,12,173,109,233,104,
-56,117,199,194,133,103,36,211,233,20,181,181,25,4,146,129,254,163,152,134,
-129,101,152,21,165,41,134,135,251,242,185,220,209,137,153,216,142,1,59,
-181,73,103,148,197,107,191,254,245,235,87,124,229,43,107,239,14,2,179,35,
-138,66,108,219,34,8,130,56,119,85,146,100,210,166,171,235,12,246,30,126,
-7,203,22,140,151,39,56,148,61,232,142,68,131,63,249,39,113,247,47,45,169,
-2,91,24,129,41,149,111,9,229,154,82,122,134,80,129,33,100,244,221,226,198,
-255,106,42,235,7,243,230,157,150,76,167,171,144,66,144,201,164,120,243,
-205,253,148,74,78,229,208,168,49,12,3,199,117,80,82,98,89,209,225,71,31,
-253,213,247,127,241,139,251,158,39,142,59,254,71,142,211,66,8,187,182,182,
-182,245,23,191,120,112,99,77,205,236,43,198,198,38,172,41,45,100,50,41,
-28,199,67,169,152,128,148,146,150,150,6,218,59,154,56,48,248,159,36,108,
-3,39,10,24,30,238,143,242,249,177,209,72,134,219,71,203,67,191,25,16,135,
-119,101,116,173,223,161,23,156,221,144,154,117,13,145,92,209,80,63,171,
-169,185,185,77,198,217,150,160,186,58,201,145,35,67,244,247,143,18,134,
-17,81,20,159,122,109,219,98,98,162,68,24,134,4,65,68,125,125,181,151,203,
-13,63,123,253,245,215,221,146,203,229,250,181,214,238,52,129,138,246,107,
-238,191,255,223,238,173,174,110,90,29,69,81,101,205,199,4,76,83,145,78,
-39,113,221,99,73,52,55,215,211,50,167,145,193,220,16,2,65,160,53,97,20,
-224,57,14,158,227,104,183,236,250,18,73,85,170,218,76,37,171,69,42,153,
-70,202,184,106,109,153,6,169,84,130,190,190,97,134,134,142,206,0,175,177,
-109,147,98,177,140,239,135,132,97,68,16,196,191,82,74,242,249,193,135,191,
-241,141,175,110,0,242,90,107,125,12,129,217,179,91,86,254,240,135,247,254,
-170,182,182,54,25,175,251,152,128,82,146,116,58,129,16,146,40,10,167,151,
-146,82,2,219,182,152,219,222,132,135,135,235,248,104,173,137,136,42,73,
-142,138,83,193,74,194,83,241,236,164,211,9,162,40,224,240,225,65,28,199,
-35,138,244,116,190,17,159,128,53,197,162,67,24,78,17,136,8,195,144,92,110,
-188,252,253,239,223,180,102,120,120,224,133,41,2,51,83,74,103,120,120,224,
-224,115,207,61,241,219,41,128,66,8,222,126,251,205,129,219,110,187,121,
-203,219,111,239,25,75,38,77,44,203,224,67,207,164,208,90,147,61,50,68,80,
-140,168,175,169,161,161,174,134,186,170,106,82,137,4,134,84,40,169,72,38,
-44,210,233,36,117,181,85,212,214,166,41,20,10,28,62,60,72,20,233,138,115,
-136,229,217,182,129,109,155,236,221,187,107,236,123,223,187,105,203,222,
-189,111,14,72,41,80,74,32,165,228,217,103,159,248,237,240,240,192,193,138,
-55,250,200,30,144,196,101,242,11,55,109,122,248,62,215,117,120,228,145,
-205,79,237,216,177,245,57,96,60,147,169,93,124,207,61,63,251,254,133,23,
-118,53,5,65,200,212,50,155,18,30,119,129,157,176,72,165,19,152,134,66,74,
-137,16,50,214,100,16,81,42,57,56,142,75,20,69,149,252,58,154,214,190,16,
-18,211,84,188,250,234,206,161,111,127,251,198,31,21,10,185,253,64,221,178,
-101,43,46,191,246,218,117,159,183,172,36,55,220,112,237,95,0,175,1,99,90,
-235,232,24,2,21,18,38,208,210,214,214,118,102,54,155,13,128,193,74,247,
-128,230,76,166,110,229,198,141,155,254,246,162,139,186,102,9,33,142,241,
-76,82,138,10,96,129,148,34,62,191,31,227,245,52,81,20,151,228,103,18,8,
-195,8,211,84,132,33,236,220,185,115,228,155,223,188,225,111,11,133,241,
-23,42,243,90,64,51,208,220,214,214,97,100,179,135,222,1,6,180,214,211,231,
-141,227,83,202,0,24,202,102,179,121,226,104,231,2,83,131,253,66,97,124,
-231,83,79,253,250,153,243,207,63,239,79,19,9,139,234,234,52,65,16,160,181,
-158,222,216,49,248,169,62,3,190,214,104,77,5,124,92,32,19,66,197,238,210,
-241,8,2,143,39,159,236,126,166,80,24,223,9,28,33,62,46,64,124,88,236,205,
-102,15,9,226,32,123,76,201,253,132,229,245,169,59,42,61,227,101,165,110,
-186,248,233,167,95,232,110,111,239,232,156,218,220,201,164,141,105,26,68,
-81,20,95,186,73,49,77,98,102,155,73,64,136,152,104,16,132,148,203,238,244,
-6,62,124,184,183,247,138,43,86,124,9,216,175,181,118,62,9,207,84,59,225,
-37,223,212,149,207,12,1,18,72,223,121,231,143,254,164,163,163,179,243,67,
-47,20,123,165,183,222,122,171,4,90,39,147,54,201,100,130,68,194,198,182,
-45,44,203,172,228,20,22,201,100,98,186,67,164,247,236,217,91,138,247,145,
-154,150,213,222,222,217,121,231,157,63,250,19,32,93,153,243,132,120,102,
-182,147,189,39,86,64,227,165,151,174,92,11,76,79,168,148,100,219,182,173,
-71,214,172,185,238,231,245,245,245,92,125,245,213,231,95,116,209,69,159,
-89,182,108,89,91,91,91,155,245,97,106,26,145,205,102,189,29,59,118,100,
-95,123,237,181,223,61,246,216,99,187,198,198,198,120,240,193,135,215,127,
-238,115,43,230,66,108,29,173,53,43,86,172,92,11,60,64,124,202,141,62,22,
-209,12,118,39,115,201,103,173,90,181,106,249,243,207,191,148,125,239,189,
-94,125,240,224,17,125,232,80,159,126,239,189,30,111,241,226,197,183,1,231,
-16,223,46,94,0,92,123,251,237,183,111,203,229,114,122,102,191,253,246,219,
-183,1,215,86,198,44,0,206,89,188,120,241,109,7,14,28,244,178,217,1,221,
-219,155,213,61,61,135,245,139,47,110,207,174,90,181,106,57,96,157,12,182,
-147,189,39,14,183,108,217,210,115,217,101,203,111,217,184,241,127,61,157,
-203,141,187,82,74,30,122,232,193,103,246,239,223,255,34,112,16,232,5,246,
-1,111,37,18,137,190,227,5,84,158,189,85,25,211,11,28,220,191,127,255,139,
-15,61,244,171,103,164,148,228,114,57,247,167,63,253,135,167,87,172,184,
-228,150,45,91,182,244,0,39,204,31,254,191,44,48,101,5,160,5,88,214,220,
-220,124,243,143,127,124,207,35,134,97,92,78,124,251,174,42,99,20,208,126,
-199,29,119,220,119,188,5,238,184,227,142,251,136,75,150,51,199,54,26,134,
-113,249,61,247,220,243,72,115,115,243,205,192,178,202,28,39,165,125,173,
-245,201,255,87,66,107,237,9,33,134,129,137,193,193,193,67,223,253,238,173,
-79,19,159,12,243,149,146,36,196,174,215,15,130,96,242,248,239,43,207,252,
-202,24,180,214,161,16,34,23,4,193,158,91,111,189,245,118,98,151,157,3,202,
-51,228,253,222,246,169,254,236,81,153,180,72,236,163,5,16,77,69,196,25,
-4,156,158,158,158,221,221,221,221,219,39,39,39,107,1,170,170,170,114,61,
-61,61,187,137,253,184,158,33,47,16,66,140,19,251,122,93,145,247,169,254,
-205,114,82,215,172,159,74,96,124,41,222,64,28,65,167,170,18,147,196,145,
-245,232,201,92,94,127,154,246,255,0,250,150,127,45,151,155,240,89,0,0,0,
-0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_192 = 2754;
-static unsigned char xml_res_file_192[] = {
-137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,48,0,0,0,48,8,6,0,0,
-0,87,2,249,135,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,98,75,71,68,
-0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,5,49,0,0,5,
-49,1,183,237,40,82,0,0,0,7,116,73,77,69,7,218,2,19,5,50,1,219,161,152,244,
-0,0,10,66,73,68,65,84,104,222,237,153,89,140,100,231,85,199,127,231,91,
-238,189,181,78,87,239,179,216,237,153,30,123,102,60,177,69,136,113,32,81,
-132,16,146,77,64,136,77,81,162,16,36,158,64,22,66,68,34,81,158,34,195,11,
-60,88,68,34,68,60,32,18,41,96,132,32,136,16,146,135,200,193,144,7,20,91,
-177,19,156,197,142,226,76,60,158,197,205,244,116,77,247,244,82,203,173,
-186,247,59,121,168,165,171,166,107,122,186,17,129,121,152,35,117,85,117,
-221,239,59,247,252,207,249,159,229,126,5,247,228,14,162,200,143,83,253,
-255,154,242,247,253,35,118,227,232,233,247,84,227,218,251,78,196,75,239,
-58,94,88,58,118,172,176,52,51,229,167,229,102,167,190,185,150,190,117,109,
-53,189,250,82,61,189,242,247,86,91,207,255,213,99,223,232,254,88,0,124,
-242,185,245,231,138,17,63,143,96,110,183,41,15,188,121,179,165,159,250,
-216,47,206,252,217,59,94,62,86,76,218,209,31,68,226,255,240,209,169,199,
-102,78,86,78,49,155,76,83,244,9,137,141,200,233,178,209,217,160,222,173,
-179,211,110,211,78,155,92,220,249,246,77,66,248,100,86,202,158,249,220,
-249,87,119,110,213,255,137,215,159,58,241,96,229,39,22,127,249,232,239,
-190,124,40,0,79,127,161,254,27,231,23,228,159,140,185,51,242,52,67,191,
-220,248,203,207,191,17,127,250,103,222,57,251,179,71,31,157,126,152,84,
-182,232,106,103,223,125,78,60,228,17,223,94,255,38,155,205,43,215,69,248,
-232,179,63,245,95,127,51,184,254,59,223,120,252,143,206,76,189,251,233,
-34,110,227,169,229,103,166,239,100,135,27,253,39,4,169,229,170,228,249,
-254,155,2,129,175,54,63,33,55,74,255,254,235,191,122,252,3,4,105,178,146,
-94,62,84,232,239,171,220,79,41,57,50,191,186,117,225,179,191,245,210,79,
-190,189,125,113,249,35,149,229,139,31,79,252,252,211,229,194,44,175,92,
-251,98,237,32,122,110,1,0,221,92,239,144,147,202,231,214,126,159,194,108,
-157,199,23,126,154,27,221,235,255,99,254,90,60,203,71,30,99,179,93,255,
-240,206,82,227,195,206,205,51,83,58,69,189,179,6,192,95,124,165,62,102,
-76,39,227,135,245,141,252,93,127,250,193,133,235,183,5,144,221,1,192,87,
-234,127,2,229,107,44,205,159,102,45,93,219,119,109,98,11,228,170,100,33,
-69,217,213,107,144,33,119,155,146,82,242,21,138,83,53,130,9,212,211,58,
-101,87,33,40,148,162,48,166,175,20,177,188,217,180,239,5,62,59,17,64,70,
-216,55,2,223,221,254,87,46,183,159,231,109,103,30,97,45,189,177,215,163,
-98,217,204,90,92,106,174,80,79,235,92,109,93,35,215,156,217,104,154,90,
-92,225,68,188,192,241,194,60,5,19,33,34,12,48,165,121,138,42,67,144,78,
-98,114,157,204,134,84,131,189,45,133,154,105,40,212,183,38,87,183,76,219,
-60,127,229,25,222,241,206,135,169,79,48,222,73,204,119,182,191,199,107,
-219,223,239,121,89,132,170,45,131,194,122,103,157,86,182,205,141,230,117,
-126,176,93,224,145,202,67,204,39,115,8,67,12,104,223,124,85,197,73,27,21,
-101,146,45,141,166,47,141,85,161,247,60,253,173,95,155,175,69,79,136,34,
-214,240,144,145,252,231,38,1,120,61,253,115,106,199,191,139,63,29,143,209,
-1,32,199,240,194,141,151,216,201,119,152,203,167,208,215,186,204,165,83,
-72,219,96,227,152,104,234,38,219,37,240,247,199,180,77,11,99,12,179,126,
-150,7,138,75,88,107,199,140,207,9,84,93,149,188,123,133,246,215,62,189,
-183,128,168,253,106,30,248,190,10,186,182,217,253,55,121,234,51,111,188,
-53,119,36,78,84,193,8,14,168,238,217,20,114,158,253,214,187,57,251,196,
-105,118,108,115,236,154,23,207,139,155,223,36,211,46,241,37,195,226,197,
-89,206,221,247,126,78,205,252,10,71,226,211,189,200,118,87,184,188,245,
-37,46,239,252,3,241,89,97,51,222,68,129,106,84,229,88,124,31,138,18,128,
-128,146,171,82,241,21,156,254,55,247,191,249,249,73,190,220,82,200,0,214,
-54,211,182,123,179,158,135,183,110,166,105,47,236,168,51,123,155,243,122,
-246,159,204,44,148,185,174,235,253,173,131,42,98,185,144,94,166,149,165,
-156,75,151,176,155,11,44,31,251,20,46,76,115,117,13,174,50,232,9,179,192,
-111,179,224,158,228,250,165,223,99,254,156,101,91,183,233,100,77,182,100,
-131,130,43,19,180,103,124,78,32,179,41,86,148,87,175,238,237,41,89,208,
-110,208,158,226,110,150,7,23,57,219,240,206,85,1,68,192,77,104,98,245,238,
-127,80,93,136,89,207,218,128,244,154,180,26,58,33,227,70,171,197,178,61,
-67,180,81,229,161,202,95,99,169,220,182,8,108,23,254,133,153,99,129,174,
-201,41,168,67,212,98,5,66,200,200,53,144,105,32,39,144,135,14,157,86,192,
-59,187,183,243,6,80,29,118,225,134,243,206,181,188,179,67,0,118,194,116,
-212,232,92,160,82,74,232,230,29,68,61,70,61,38,36,52,58,77,42,225,1,22,
-211,147,212,204,251,137,237,212,109,141,191,89,125,150,120,233,57,140,128,
-9,150,138,204,98,76,68,166,129,76,115,114,205,81,133,182,54,33,235,82,238,
-102,20,237,4,0,102,23,0,208,114,145,183,77,239,220,112,174,48,178,183,116,
-121,129,52,88,66,183,140,209,8,52,65,52,193,230,17,51,166,140,203,166,153,
-226,237,19,61,6,160,81,157,218,195,95,192,103,69,140,58,68,108,175,63,40,
-228,34,164,121,32,11,29,26,249,14,29,114,74,182,66,214,56,50,81,159,85,
-25,150,16,17,154,206,91,223,140,70,22,202,4,0,37,31,209,84,197,100,9,134,
-24,163,9,4,79,172,5,22,236,28,180,139,36,102,186,87,219,71,228,228,108,
-207,49,23,155,13,186,141,132,43,59,87,161,43,72,102,123,239,121,175,142,
-74,174,136,8,85,73,48,70,48,50,195,84,250,199,56,231,246,58,67,71,238,161,
-210,116,145,179,173,104,108,97,216,179,41,178,71,104,103,109,84,12,162,
-9,66,130,81,79,17,79,194,17,140,41,224,173,29,246,215,114,34,60,126,50,
-98,161,106,65,224,204,230,35,124,253,226,63,115,164,173,251,205,40,131,
-154,188,59,102,78,12,168,25,221,211,234,39,177,221,213,162,50,97,203,34,
-53,105,177,174,29,28,49,86,99,44,17,86,18,186,121,129,185,98,13,201,90,
-196,82,225,236,81,199,249,227,110,88,12,68,224,196,180,227,120,205,241,
-157,171,25,175,173,100,4,5,213,108,64,218,61,145,219,127,126,150,221,33,
-90,181,225,172,53,45,55,146,185,58,193,73,145,93,160,74,139,54,13,44,49,
-86,124,239,93,99,108,136,40,198,83,148,138,215,120,226,212,44,83,69,51,
-116,224,192,46,233,191,60,118,210,115,122,209,241,194,133,148,181,29,69,
-17,70,24,221,127,149,59,216,191,11,32,4,211,114,206,73,115,0,64,1,13,123,
-17,204,148,30,194,231,151,41,88,223,243,188,70,253,8,68,196,38,226,244,
-98,153,19,165,235,84,75,93,156,196,123,12,31,152,100,4,230,202,194,47,60,
-2,63,88,243,188,114,57,208,205,164,111,246,193,162,32,102,119,109,80,105,
-58,111,77,115,192,32,85,8,19,244,44,150,30,101,167,187,73,209,57,12,30,
-43,17,6,207,98,41,225,236,124,129,114,20,83,139,171,172,101,23,184,47,62,
-139,53,118,98,20,68,132,60,100,68,78,56,119,12,150,231,34,190,254,70,224,
-242,186,30,152,65,70,118,117,170,154,166,115,183,2,152,128,160,150,220,
-207,205,155,37,22,203,21,118,66,70,193,121,206,206,23,56,90,73,136,140,
-39,50,17,130,199,25,75,67,215,168,48,141,151,168,239,173,209,39,137,128,
-119,130,98,9,26,136,99,120,226,124,196,213,117,229,133,55,50,26,233,157,
-129,24,35,195,156,81,149,166,243,78,135,57,160,218,171,108,147,100,170,
-112,22,155,215,89,156,233,240,224,92,76,193,122,34,137,240,198,225,197,
-227,141,39,49,9,177,243,4,82,212,228,40,6,139,237,221,180,223,193,123,55,
-55,40,1,145,222,183,167,102,13,75,51,150,151,47,101,188,186,146,77,204,
-195,97,31,176,163,57,175,45,103,101,55,2,61,250,79,230,226,92,233,12,107,
-205,6,157,237,18,47,109,229,56,60,191,116,190,72,100,28,206,120,188,88,
-188,68,120,113,120,227,176,98,177,198,14,204,6,4,35,210,55,122,247,62,10,
-124,230,107,237,33,175,141,217,63,23,172,237,233,1,208,208,139,64,195,90,
-51,152,51,228,118,232,13,134,169,194,50,221,252,58,214,11,65,161,96,139,
-36,214,225,140,197,74,47,18,145,113,120,177,88,12,98,110,103,60,67,55,102,
-57,244,14,17,244,64,137,108,141,200,16,164,134,134,179,86,90,131,154,29,
-24,169,106,19,164,18,213,104,100,1,43,41,93,81,18,19,83,116,125,111,139,
-197,137,37,50,30,131,193,24,211,127,116,236,67,24,201,135,209,234,148,229,
-224,141,160,170,28,164,29,56,131,12,79,77,172,180,92,228,216,26,32,202,
-69,199,91,245,4,169,70,179,180,242,13,74,86,41,152,136,130,51,88,12,70,
-122,124,119,166,247,89,24,188,247,189,61,82,78,71,1,40,138,53,114,224,51,
-54,107,233,175,7,35,186,229,172,232,170,181,24,122,21,84,212,222,89,73,
-217,214,200,52,197,137,161,228,44,189,135,33,179,251,135,225,210,122,96,
-179,149,141,209,230,220,162,37,241,114,11,128,158,81,7,21,103,144,254,122,
-147,171,174,186,68,252,170,26,29,104,149,160,7,244,4,9,145,177,68,166,247,
-56,104,251,29,82,164,71,154,149,77,229,226,141,241,185,234,193,121,139,
-53,35,145,144,33,175,15,126,20,99,69,156,21,80,196,139,95,117,73,155,213,
-110,130,32,130,170,28,40,2,187,77,197,16,89,51,118,130,43,34,136,64,228,
-132,91,167,225,200,50,6,96,208,123,220,33,238,105,205,0,128,138,223,102,
-213,125,232,73,215,249,219,151,179,20,193,170,178,111,13,158,52,64,246,
-12,218,203,241,200,245,174,141,1,112,210,143,212,110,30,244,114,224,16,
-20,178,125,192,42,233,135,158,116,29,7,224,157,180,20,202,65,57,48,133,
-118,207,130,6,124,150,49,90,68,78,176,183,60,222,121,59,62,10,12,157,96,
-15,67,33,196,89,65,160,53,60,23,114,150,166,66,57,15,72,48,135,139,128,
-49,178,103,104,147,17,186,140,83,72,246,124,167,202,161,34,96,13,226,122,
-143,25,205,17,0,210,84,32,203,69,244,16,222,120,107,83,105,116,242,33,128,
-81,217,104,41,238,22,93,175,174,238,29,84,38,173,59,72,14,140,3,48,218,
-12,8,70,244,48,5,129,149,173,192,202,214,254,147,227,216,209,228,181,252,
-64,235,246,47,28,106,173,1,131,238,2,232,6,105,181,115,161,217,193,228,
-225,238,254,197,202,230,152,96,132,196,142,228,64,171,171,205,157,78,48,
-141,102,215,170,134,195,149,162,255,75,17,65,196,216,28,99,52,146,97,4,
-204,165,215,95,121,177,48,187,244,94,145,254,185,156,220,197,33,208,220,
-52,119,90,197,27,245,75,47,14,216,103,128,7,128,223,4,106,253,179,128,187,
-21,130,246,207,45,54,128,191,3,222,148,145,99,246,57,224,88,255,32,211,
-223,165,0,186,64,29,88,1,214,128,76,110,249,193,207,246,35,114,55,71,32,
-244,163,160,220,147,123,114,79,238,201,255,187,252,8,83,140,247,188,84,
-157,89,126,0,0,0,0,73,69,78,68,174,66,96,130};
-
-static size_t xml_res_size_193 = 18431;
-static unsigned char xml_res_file_193[] = {
-60,63,120,109,108,32,118,101,114,115,105,111,110,61,34,49,46,48,34,32,101,
-110,99,111,100,105,110,103,61,34,85,84,70,45,56,34,63,62,10,60,114,101,
-115,111,117,114,99,101,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-102,105,110,100,119,104,97,116,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,102,105,110,100,95,119,104,97,116,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,102,111,108,100,95,97,105,114,112,108,97,110,101,34,62,114,101,
-115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,111,117,116,
-98,111,120,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,
-98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,
-112,34,32,110,97,109,101,61,34,114,101,97,100,95,111,110,108,121,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,108,
-111,99,107,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,
-98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,
-112,34,32,110,97,109,101,61,34,102,105,110,100,95,114,101,102,114,101,115,
-104,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,
-95,102,105,110,100,95,114,101,102,114,101,115,104,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-99,108,111,115,101,95,112,97,110,101,108,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,99,108,111,115,101,95,112,97,
-110,101,108,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,
-98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,
-112,34,32,110,97,109,101,61,34,116,97,103,115,95,115,101,108,101,99,116,
-101,100,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,116,97,103,115,95,115,101,108,101,99,116,101,100,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,99,108,111,115,101,95,112,97,110,101,108,95,112,117,115,104,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,99,108,
-111,115,101,95,112,97,110,101,108,95,112,117,115,104,46,112,110,103,60,
-47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,112,114,111,106,101,99,116,95,115,101,116,116,105,110,103,115,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,102,
-111,108,100,101,114,95,100,101,118,101,108,111,112,109,101,110,116,95,112,
-114,101,102,101,114,101,110,99,101,115,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,115,101,116,
-95,97,99,116,105,118,101,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,102,111,108,100,101,114,95,100,101,118,101,108,
-111,112,109,101,110,116,95,112,111,112,117,112,46,112,110,103,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,116,
-97,98,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,116,97,98,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,
-60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,116,111,100,111,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,116,111,100,111,
-46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,
-99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,109,101,109,111,114,121,95,118,105,101,119,34,62,114,101,
-115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,109,101,109,
-111,114,121,95,118,105,101,119,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,99,112,112,95,107,101,
-121,119,111,114,100,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,99,112,112,95,98,108,117,101,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-65,98,111,117,116,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,97,98,111,117,116,95,105,109,103,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-109,101,109,98,101,114,95,112,117,98,108,105,99,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,109,101,109,98,101,114,95,
-112,117,98,108,105,99,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,108,105,110,107,95,101,100,105,
-116,111,114,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,108,105,110,107,95,101,100,105,116,111,114,46,112,110,103,60,
-47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,102,105,108,101,95,101,120,112,108,111,114,101,114,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,102,105,108,101,
-95,101,120,112,108,111,114,101,114,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,109,101,109,98,
-101,114,95,112,114,111,116,101,99,116,101,100,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,109,101,109,98,101,114,95,
-112,114,111,116,101,99,116,101,100,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,109,101,109,98,
-101,114,95,112,114,105,118,97,116,101,34,62,114,101,115,111,117,114,99,
-101,115,46,99,112,112,36,114,101,115,95,109,101,109,98,101,114,95,112,114,
-105,118,97,116,101,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,
-32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,102,117,110,99,95,112,117,98,108,
-105,99,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,102,117,110,99,95,112,117,98,108,105,99,46,112,110,103,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,102,
-117,110,99,95,112,114,111,116,101,99,116,101,100,34,62,114,101,115,111,
-117,114,99,101,115,46,99,112,112,36,114,101,115,95,102,117,110,99,95,112,
-114,111,116,101,99,116,101,100,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,102,117,110,99,95,112,
-114,105,118,97,116,101,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,102,117,110,99,95,112,114,105,118,97,116,101,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,101,110,117,109,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,101,110,117,109,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,101,110,117,
-109,101,114,97,116,111,114,34,62,114,101,115,111,117,114,99,101,115,46,
-99,112,112,36,114,101,115,95,101,110,117,109,101,101,46,120,112,109,60,
-47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,99,108,97,115,115,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,99,108,97,115,115,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,116,121,112,
-101,100,101,102,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,116,121,112,101,100,101,102,46,120,112,109,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,112,
-114,111,106,101,99,116,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,102,111,108,100,101,114,95,100,101,118,101,108,111,
-112,109,101,110,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,
-32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,103,108,111,98,97,108,115,34,62,114,
-101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,99,117,98,
-101,95,103,114,101,101,110,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,110,97,109,101,115,112,97,
-99,101,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,110,97,109,101,115,112,97,99,101,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,115,116,114,
-117,99,116,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,98,117,116,95,103,114,101,101,110,95,115,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-98,111,111,107,109,97,114,107,95,98,108,117,101,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,109,101,100,105,97,95,115,
-116,111,112,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,
-98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,
-112,34,32,110,97,109,101,61,34,119,111,114,107,115,112,97,99,101,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,102,
-111,108,100,101,114,95,104,111,109,101,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,102,111,108,
-100,101,114,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,102,111,108,100,101,114,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,99,114,111,115,
-115,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,
-95,99,114,111,115,115,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,100,111,99,117,109,101,110,116,
-95,100,101,108,101,116,101,34,62,114,101,115,111,117,114,99,101,115,46,
-99,112,112,36,114,101,115,95,99,108,101,97,110,46,112,110,103,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,98,117,
-105,108,100,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,114,101,98,117,105,108,100,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,102,105,110,100,
-95,114,101,115,117,108,116,115,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,49,54,95,102,105,110,100,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,99,108,97,115,115,95,118,105,101,119,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,99,104,97,114,116,95,111,114,
-103,97,110,105,115,97,116,105,111,110,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,112,97,103,101,
-95,111,112,101,110,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,102,111,108,100,101,114,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,119,111,114,
-100,95,119,114,97,112,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,119,114,97,112,95,97,114,114,111,119,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,111,117,116,112,117,116,95,119,105,110,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,99,111,109,109,97,110,100,
-112,114,111,109,112,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,100,101,98,117,103,95,119,105,
-110,100,111,119,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,116,114,97,99,101,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,115,121,109,95,
-119,105,122,95,98,109,112,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,115,121,109,95,119,105,122,95,98,109,112,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,100,101,98,117,103,103,101,114,95,116,97,98,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,100,101,98,117,103,
-95,119,105,110,100,111,119,115,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,104,101,108,112,95,105,
-99,111,110,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,104,101,108,112,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,115,118,110,95,105,110,102,
-111,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,
-95,104,101,108,112,95,97,98,111,117,116,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,115,118,110,
-95,114,101,102,114,101,115,104,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,114,101,108,111,97,100,46,112,110,103,60,
-47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,115,118,110,95,114,101,112,111,34,62,114,101,115,111,117,114,99,101,
-115,46,99,112,112,36,114,101,115,95,115,118,110,95,114,101,112,111,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,115,118,110,95,99,104,101,99,107,111,117,116,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,115,118,110,95,99,
-104,101,99,107,111,117,116,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,115,118,110,95,115,101,116,
-116,105,110,103,115,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,99,111,110,102,105,103,117,114,101,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,100,111,99,117,109,101,110,116,95,114,111,111,116,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,100,114,105,118,
-101,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,
-101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,
-32,110,97,109,101,61,34,108,111,99,97,108,115,95,118,105,101,119,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,108,
-111,99,97,108,115,95,118,105,101,119,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,119,97,116,99,
-104,101,115,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,119,97,116,99,104,101,115,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,102,114,97,109,
-101,115,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,119,105,110,100,111,119,95,100,117,112,108,105,99,97,116,101,46,
-112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,
-116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,98,114,101,97,107,112,111,105,110,116,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,98,114,101,97,107,
-112,111,105,110,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,
-32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,110,101,119,95,112,108,117,103,105,
-110,95,119,105,122,95,98,109,112,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,112,117,122,122,108,101,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,113,117,101,115,116,105,111,110,95,97,110,100,95,97,110,115,119,101,
-114,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,
-95,113,117,101,115,116,105,111,110,95,97,110,100,95,97,110,115,119,101,
-114,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,
-101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,
-32,110,97,109,101,61,34,99,115,99,111,112,101,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,107,115,116,97,114,115,46,
-112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,
-116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,116,104,114,101,97,100,115,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,116,104,114,101,97,100,115,46,
-112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,
-116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,111,112,101,110,101,100,95,119,105,110,100,111,119,115,
-34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,
-112,105,99,116,117,114,101,115,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,116,101,120,116,95,111,
-107,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,
-95,112,97,103,101,95,103,114,101,101,110,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,110,101,119,
-95,99,108,97,115,115,95,116,105,116,108,101,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,110,101,119,95,99,108,97,115,
-115,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,
-101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,
-32,110,97,109,101,61,34,119,120,95,112,114,111,106,101,99,116,95,104,101,
-97,100,101,114,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,
-114,101,115,95,119,120,112,114,111,106,101,99,116,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-99,111,108,111,117,114,105,115,101,34,62,114,101,115,111,117,114,99,101,
-115,46,99,112,112,36,114,101,115,95,112,97,99,107,97,103,101,95,117,116,
-105,108,105,116,105,101,115,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,99,111,108,108,97,112,
-115,101,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,99,111,108,108,97,112,115,101,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,101,120,112,97,
-110,100,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,101,120,112,97,110,100,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,103,111,104,111,109,101,
-34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,
-103,111,104,111,109,101,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,112,114,111,106,101,99,116,95,
-99,111,110,102,108,105,99,116,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,109,101,115,115,97,103,101,98,111,120,95,
-119,97,114,110,105,110,103,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,102,105,108,101,115,95,117,
-110,118,101,114,115,105,111,110,101,100,34,62,114,101,115,111,117,114,99,
-101,115,46,99,112,112,36,114,101,115,95,109,101,115,115,97,103,101,98,111,
-120,95,105,110,102,111,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,101,114,114,111,114,34,62,114,
-101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,109,97,105,
-108,95,109,97,114,107,95,105,109,112,111,114,116,97,110,116,46,112,110,
-103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,
-99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,116,101,120,116,95,118,105,101,119,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,118,105,101,119,95,116,101,
-120,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,101,100,105,116,95,97,100,100,34,62,114,101,
-115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,101,100,105,
-116,95,97,100,100,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,
-60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,101,100,105,116,95,100,101,108,101,
-116,101,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,101,100,105,116,95,100,101,108,101,116,101,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-101,114,97,115,101,114,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,101,114,97,115,101,114,46,112,110,103,60,47,111,98,
-106,101,99,116,62,10,32,32,60,33,45,45,32,77,105,109,101,116,121,112,101,
-32,45,45,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,112,97,103,101,
-95,119,104,105,116,101,95,99,34,62,114,101,115,111,117,114,99,101,115,46,
-99,112,112,36,114,101,115,95,109,105,109,101,116,121,112,101,95,112,97,
-103,101,95,119,104,105,116,101,95,99,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,112,97,103,101,
-95,119,104,105,116,101,95,99,112,108,117,115,112,108,117,115,34,62,114,
-101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,109,105,
-109,101,116,121,112,101,95,112,97,103,101,95,119,104,105,116,101,95,99,
-112,108,117,115,112,108,117,115,46,112,110,103,60,47,111,98,106,101,99,
-116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,
-120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,112,97,103,101,95,
-119,104,105,116,101,95,104,34,62,114,101,115,111,117,114,99,101,115,46,
-99,112,112,36,114,101,115,95,109,105,109,101,116,121,112,101,95,112,97,
-103,101,95,119,104,105,116,101,95,104,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,112,97,103,101,
-95,119,104,105,116,101,95,116,101,120,116,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,109,105,109,101,116,121,112,
-101,95,112,97,103,101,95,119,104,105,116,101,95,116,101,120,116,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,99,111,109,112,114,101,115,115,101,100,95,102,105,108,101,34,
-62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,109,
-105,109,101,116,121,112,101,95,97,112,112,108,105,99,97,116,105,111,110,
-95,120,95,99,111,109,112,114,101,115,115,101,100,95,116,97,114,46,112,110,
-103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,
-99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,101,120,101,99,117,116,97,98,108,101,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,109,105,109,101,116,121,
-112,101,95,97,112,112,108,105,99,97,116,105,111,110,95,120,95,109,115,95,
-100,111,115,95,101,120,101,99,117,116,97,98,108,101,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-102,105,108,101,95,112,104,112,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,109,105,109,101,116,121,112,101,95,97,112,
-112,108,105,99,97,116,105,111,110,95,120,95,112,104,112,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,115,104,97,114,101,100,95,108,105,98,114,97,114,121,34,62,114,101,
-115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,109,105,109,
-101,116,121,112,101,95,97,112,112,108,105,99,97,116,105,111,110,95,120,
-95,115,104,97,114,101,100,108,105,98,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,112,105,120,109,
-97,112,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,109,105,109,101,116,121,112,101,95,105,109,97,103,101,95,120,95,
-120,112,105,120,109,97,112,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,115,104,101,108,108,115,99,
-114,105,112,116,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,109,105,109,101,116,121,112,101,95,115,104,101,108,108,
-115,99,114,105,112,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,102,105,108,101,95,120,109,108,
-34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,
-109,105,109,101,116,121,112,101,95,120,109,108,46,112,110,103,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,102,
-105,108,101,95,104,116,109,108,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,109,105,109,101,116,121,112,101,95,97,112,
-112,108,105,99,97,116,105,111,110,95,120,95,109,115,119,105,110,117,114,
-108,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,
-101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,
-32,110,97,109,101,61,34,109,97,107,101,102,105,108,101,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,109,105,109,101,
-116,121,112,101,95,109,97,107,101,46,112,110,103,60,47,111,98,106,101,99,
-116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,
-120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,102,111,114,109,98,
-117,105,108,100,101,114,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,109,105,109,101,116,121,112,101,95,102,111,114,
-109,98,117,105,108,100,101,114,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,33,45,45,10,9,9,84,111,111,108,98,97,114,32,98,105,116,109,
-97,112,115,32,40,50,52,120,50,52,41,10,9,45,45,62,10,32,32,60,111,98,106,
-101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,
-32,110,97,109,101,61,34,113,117,105,99,107,102,105,110,100,101,114,50,52,
-34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,
-50,52,95,113,117,105,99,107,102,105,110,100,101,114,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-111,117,116,108,105,110,101,50,52,34,62,114,101,115,111,117,114,99,101,
-115,46,99,112,112,36,114,101,115,95,50,52,95,116,101,120,116,95,116,114,
-101,101,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,99,111,110,102,105,103,117,114,101,95,101,120,
-116,95,116,111,111,108,115,50,52,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,50,52,95,101,120,116,101,114,110,97,108,
-95,116,111,111,108,115,50,52,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,101,120,116,95,116,111,
-111,108,95,100,101,102,97,117,108,116,50,52,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,50,52,95,103,101,97,114,50,52,
-46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,
-99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,115,116,111,112,95,101,120,116,101,114,110,97,108,95,116,
-111,111,108,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,50,52,95,112,114,111,99,101,115,115,95,115,116,111,112,
-46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,
-99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,102,111,108,100,101,114,50,52,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,50,52,95,102,111,108,100,
-101,114,50,52,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,
-111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,
-97,112,34,32,110,97,109,101,61,34,114,101,102,114,101,115,104,50,52,34,
-62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,50,
-52,95,114,101,102,114,101,115,104,46,112,110,103,60,47,111,98,106,101,99,
-116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,
-120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,114,101,108,111,97,
-100,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,50,52,95,114,101,118,101,114,116,46,112,110,103,60,47,111,98,
-106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,
-61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,115,97,118,
-101,95,97,115,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,50,52,95,115,97,118,101,95,97,115,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,99,117,116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,50,52,95,99,117,116,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,99,111,112,
-121,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,50,52,95,99,111,112,121,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,112,97,115,116,
-101,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,50,52,95,112,97,115,116,101,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,117,110,100,
-111,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,50,52,95,117,110,100,111,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,114,101,100,111,
-50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,50,52,95,114,101,100,111,46,112,110,103,60,47,111,98,106,101,99,
-116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,
-120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,98,111,111,107,109,
-97,114,107,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,50,52,95,98,111,111,107,109,97,114,107,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,99,108,97,115,115,50,52,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,50,52,95,99,108,97,115,115,50,52,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,112,97,103,101,95,99,108,111,115,101,50,52,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,50,52,95,102,105,
-108,101,99,108,111,115,101,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,112,97,103,101,95,110,101,
-119,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,50,52,95,102,105,108,101,110,101,119,46,112,110,103,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,115,
-97,118,101,95,97,108,108,50,52,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,50,52,95,115,97,118,101,95,97,108,108,46,
-112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,
-116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,112,97,103,101,95,115,97,118,101,50,52,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,50,52,95,112,97,
-103,101,95,115,97,118,101,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,110,101,119,95,119,120,95,
-112,114,111,106,101,99,116,50,52,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,50,52,95,119,120,50,52,46,112,110,103,60,
-47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,112,108,117,103,105,110,50,52,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,50,52,95,112,108,117,103,105,110,50,52,
-46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,
-99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,99,111,100,101,95,102,111,114,109,97,116,95,111,112,116,
-105,111,110,115,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,50,52,95,102,111,114,109,97,116,116,101,114,95,115,
-101,116,116,105,110,103,115,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,99,111,100,101,95,102,
-111,114,109,97,116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,50,52,95,102,111,114,109,97,116,116,101,114,46,
-112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,
-116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,98,117,105,108,100,95,97,99,116,105,118,101,95,112,114,
-111,106,101,99,116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,50,52,95,99,111,109,112,102,105,108,101,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,115,116,111,112,95,98,117,105,108,100,50,52,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,50,52,95,112,114,
-111,99,101,115,115,95,115,116,111,112,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,101,120,101,99,
-117,116,101,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,50,52,95,103,101,97,114,95,114,117,110,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,115,116,111,112,95,101,120,101,99,117,116,101,100,95,112,114,111,
-103,114,97,109,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,50,52,95,103,101,97,114,95,115,116,111,112,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,99,108,101,97,110,50,52,34,62,114,101,115,111,117,114,99,101,
-115,46,99,112,112,36,114,101,115,95,50,52,95,101,109,112,116,121,116,114,
-97,115,104,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,
-98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,
-112,34,32,110,97,109,101,61,34,102,105,110,100,95,105,110,95,102,105,108,
-101,115,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,
-114,101,115,95,50,52,95,102,105,110,100,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,102,105,110,
-100,95,97,110,100,95,114,101,112,108,97,99,101,50,52,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,50,52,95,115,101,
-97,114,99,104,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,
-111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,
-97,112,34,32,110,97,109,101,61,34,111,112,101,110,95,114,101,115,111,117,
-114,99,101,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,50,52,95,111,112,101,110,95,114,101,115,111,117,114,99,
-101,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,
-101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,
-32,110,97,109,101,61,34,111,112,101,110,95,116,121,112,101,50,52,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,50,52,
-95,111,112,101,110,95,116,121,112,101,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,97,114,114,111,
-119,95,110,101,120,116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,
-99,112,112,36,114,101,115,95,50,52,95,110,101,120,116,46,112,110,103,60,
-47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,97,114,114,111,119,95,98,97,99,107,50,52,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,50,52,95,112,114,101,118,105,
-111,117,115,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,
-98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,
-112,34,32,110,97,109,101,61,34,100,101,98,117,103,103,101,114,95,115,116,
-97,114,116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,50,52,95,100,101,98,117,103,103,101,114,95,115,116,97,
-114,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,100,101,98,117,103,103,101,114,95,114,101,115,
-116,97,114,116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,50,52,95,100,101,98,117,103,103,101,114,95,114,101,
-115,116,97,114,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,
-32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,100,101,98,117,103,103,101,114,95,
-115,116,111,112,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,50,52,95,100,101,98,117,103,103,101,114,95,115,116,
-111,112,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,100,101,98,117,103,103,101,114,95,112,97,117,
-115,101,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,
-114,101,115,95,50,52,95,100,101,98,117,103,103,101,114,95,112,97,117,115,
-101,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,
-101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,
-32,110,97,109,101,61,34,100,101,98,117,103,103,101,114,95,115,116,101,112,
-105,110,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,
-114,101,115,95,50,52,95,100,101,98,117,103,103,101,114,95,115,116,101,112,
-105,110,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,100,101,98,117,103,103,101,114,95,115,116,101,
-112,111,117,116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,50,52,95,100,101,98,117,103,103,101,114,95,115,116,
-101,112,111,117,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,
-32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,100,101,98,117,103,103,101,114,95,
-110,101,120,116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,50,52,95,100,101,98,117,103,103,101,114,95,110,101,
-120,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,99,115,99,111,112,101,95,102,105,110,100,95,
-115,121,109,98,111,108,50,52,34,62,114,101,115,111,117,114,99,101,115,46,
-99,112,112,36,114,101,115,95,50,52,95,102,117,110,99,95,102,105,110,100,
-50,52,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,99,115,99,111,112,101,95,102,117,110,99,95,99,
-97,108,108,101,100,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,50,52,95,102,117,110,99,95,99,97,108,108,105,
-110,103,50,52,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,
-111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,
-97,112,34,32,110,97,109,101,61,34,99,115,99,111,112,101,95,102,117,110,
-99,95,99,97,108,108,105,110,103,50,52,34,62,114,101,115,111,117,114,99,
-101,115,46,99,112,112,36,114,101,115,95,50,52,95,102,117,110,99,95,99,97,
-108,108,101,100,50,52,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,114,101,102,95,97,110,97,108,
-121,122,101,114,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,50,52,95,114,101,102,95,97,110,97,108,121,122,101,
-114,50,52,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,
-98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,
-112,34,32,110,97,109,101,61,34,114,101,102,95,97,110,97,108,121,122,101,
-114,95,115,101,116,116,105,110,103,115,50,52,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,50,52,95,114,101,102,95,
-97,110,97,121,108,122,101,114,95,115,101,116,116,105,110,103,115,50,52,
-46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,
-99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,97,114,114,111,119,95,103,114,101,101,110,95,114,105,103,
-104,116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,
-114,101,115,95,50,52,95,97,114,114,111,119,95,103,114,101,101,110,95,114,
-105,103,104,116,50,52,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,104,105,103,104,108,105,103,104,
-116,50,52,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,50,52,95,104,105,103,104,108,105,103,104,116,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,114,117,110,95,117,110,105,116,95,116,101,115,116,50,52,34,62,114,
-101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,50,52,95,
-114,117,110,95,117,110,105,116,95,116,101,115,116,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,33,45,45,10,9,9,84,111,111,108,98,
-97,114,32,98,105,116,109,97,112,115,32,40,49,54,120,49,54,41,10,9,45,45,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,113,117,105,99,107,102,
-105,110,100,101,114,49,54,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,49,54,95,113,117,105,99,107,102,105,110,100,101,
-114,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,
-101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,
-32,110,97,109,101,61,34,111,117,116,108,105,110,101,49,54,34,62,114,101,
-115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,116,
-101,120,116,95,116,114,101,101,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,99,111,110,102,105,103,
-117,114,101,95,101,120,116,95,116,111,111,108,115,49,54,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,101,120,
-116,101,114,110,97,108,95,116,111,111,108,115,49,54,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-101,120,116,95,116,111,111,108,95,100,101,102,97,117,108,116,49,54,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,
-95,103,101,97,114,49,54,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,115,116,111,112,95,101,120,116,
-101,114,110,97,108,95,116,111,111,108,49,54,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,112,114,111,99,101,
-115,115,95,115,116,111,112,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,102,111,108,100,101,114,49,
-54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,
-95,49,54,95,102,111,108,100,101,114,50,52,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,114,101,102,
-114,101,115,104,49,54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,
-112,36,114,101,115,95,49,54,95,114,101,102,114,101,115,104,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,114,101,108,111,97,100,49,54,34,62,114,101,115,111,117,114,99,101,
-115,46,99,112,112,36,114,101,115,95,49,54,95,114,101,118,101,114,116,46,
-112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,
-116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,115,97,118,101,95,97,115,49,54,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,115,97,118,101,
-95,97,115,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,
-98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,
-112,34,32,110,97,109,101,61,34,99,117,116,49,54,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,99,117,116,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,99,111,112,121,49,54,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,49,54,95,99,111,112,121,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,112,97,115,116,101,49,54,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,49,54,95,112,97,115,116,101,46,112,110,
-103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,
-99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,117,110,100,111,49,54,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,49,54,95,117,110,100,111,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,114,101,100,111,49,54,34,62,114,101,115,111,117,114,99,101,115,46,
-99,112,112,36,114,101,115,95,49,54,95,114,101,100,111,46,112,110,103,60,
-47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,98,111,111,107,109,97,114,107,49,54,34,62,114,101,115,111,117,114,99,
-101,115,46,99,112,112,36,114,101,115,95,49,54,95,98,111,111,107,109,97,
-114,107,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,99,108,97,115,115,49,54,34,62,114,101,115,111,
-117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,99,108,97,115,
-115,50,52,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,
-98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,
-112,34,32,110,97,109,101,61,34,112,97,103,101,95,99,108,111,115,101,49,
-54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,
-95,49,54,95,102,105,108,101,99,108,111,115,101,46,112,110,103,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,112,
-97,103,101,95,110,101,119,49,54,34,62,114,101,115,111,117,114,99,101,115,
-46,99,112,112,36,114,101,115,95,49,54,95,102,105,108,101,110,101,119,46,
-112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,
-116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,115,97,118,101,95,97,108,108,49,54,34,62,114,101,115,111,
-117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,115,97,118,
-101,95,97,108,108,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,
-60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,112,97,103,101,95,115,97,118,101,
-49,54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,49,54,95,112,97,103,101,95,115,97,118,101,46,112,110,103,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,110,
-101,119,95,119,120,95,112,114,111,106,101,99,116,49,54,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,119,120,
-50,52,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,112,108,117,103,105,110,49,54,34,62,114,101,
-115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,112,
-108,117,103,105,110,50,52,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,99,111,100,101,95,102,111,
-114,109,97,116,95,111,112,116,105,111,110,115,49,54,34,62,114,101,115,111,
-117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,102,111,114,
-109,97,116,116,101,114,95,115,101,116,116,105,110,103,115,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,99,111,100,101,95,102,111,114,109,97,116,49,54,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,102,111,
-114,109,97,116,116,101,114,46,112,110,103,60,47,111,98,106,101,99,116,62,
-10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,
-105,116,109,97,112,34,32,110,97,109,101,61,34,98,117,105,108,100,95,97,
-99,116,105,118,101,95,112,114,111,106,101,99,116,49,54,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,99,111,
-109,112,102,105,108,101,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,115,116,111,112,95,98,117,105,
-108,100,49,54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,
-114,101,115,95,49,54,95,112,114,111,99,101,115,115,95,115,116,111,112,46,
-112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,
-116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,101,120,101,99,117,116,101,49,54,34,62,114,101,115,111,
-117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,103,101,97,
-114,95,114,117,110,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,
-32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,115,116,111,112,95,101,120,101,99,
-117,116,101,100,95,112,114,111,103,114,97,109,49,54,34,62,114,101,115,111,
-117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,103,101,97,
-114,95,115,116,111,112,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,99,108,101,97,110,49,54,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,
-95,101,109,112,116,121,116,114,97,115,104,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,102,105,110,
-100,95,105,110,95,102,105,108,101,115,49,54,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,102,105,110,100,46,
-112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,
-116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,102,105,110,100,95,97,110,100,95,114,101,112,108,97,99,
-101,49,54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,49,54,95,115,101,97,114,99,104,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,111,112,101,
-110,95,114,101,115,111,117,114,99,101,49,54,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,111,112,101,110,95,
-114,101,115,111,117,114,99,101,46,112,110,103,60,47,111,98,106,101,99,116,
-62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,
-66,105,116,109,97,112,34,32,110,97,109,101,61,34,111,112,101,110,95,116,
-121,112,101,49,54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,
-36,114,101,115,95,49,54,95,111,112,101,110,95,116,121,112,101,46,112,110,
-103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,
-99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,97,114,114,111,119,95,110,101,120,116,49,54,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,110,101,
-120,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,
-106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,
-34,32,110,97,109,101,61,34,97,114,114,111,119,95,98,97,99,107,49,54,34,
-62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,
-54,95,112,114,101,118,105,111,117,115,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,100,101,98,117,
-103,103,101,114,95,115,116,97,114,116,49,54,34,62,114,101,115,111,117,114,
-99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,100,101,98,117,103,
-103,101,114,95,115,116,97,114,116,46,112,110,103,60,47,111,98,106,101,99,
-116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,
-120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,100,101,98,117,103,
-103,101,114,95,114,101,115,116,97,114,116,49,54,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,100,101,98,117,
-103,103,101,114,95,114,101,115,116,97,114,116,46,112,110,103,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,100,
-101,98,117,103,103,101,114,95,115,116,111,112,49,54,34,62,114,101,115,111,
-117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,100,101,98,
-117,103,103,101,114,95,115,116,111,112,46,112,110,103,60,47,111,98,106,
-101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,
-34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,100,101,98,
-117,103,103,101,114,95,112,97,117,115,101,49,54,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,100,101,98,117,
-103,103,101,114,95,112,97,117,115,101,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,100,101,98,117,
-103,103,101,114,95,115,116,101,112,105,110,49,54,34,62,114,101,115,111,
-117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,100,101,98,
-117,103,103,101,114,95,115,116,101,112,105,110,46,112,110,103,60,47,111,
-98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,
-115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,100,
-101,98,117,103,103,101,114,95,115,116,101,112,111,117,116,49,54,34,62,114,
-101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,
-100,101,98,117,103,103,101,114,95,115,116,101,112,111,117,116,46,112,110,
-103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,
-99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,100,101,98,117,103,103,101,114,95,110,101,120,116,49,54,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,
-95,100,101,98,117,103,103,101,114,95,110,101,120,116,46,112,110,103,60,
-47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,99,115,99,111,112,101,95,102,105,110,100,95,115,121,109,98,111,108,49,
-54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,
-95,49,54,95,102,117,110,99,95,102,105,110,100,50,52,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-99,115,99,111,112,101,95,102,117,110,99,95,99,97,108,108,101,100,49,54,
-34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,
-49,54,95,102,117,110,99,95,99,97,108,108,105,110,103,50,52,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,99,115,99,111,112,101,95,102,117,110,99,95,99,97,108,108,105,110,
-103,49,54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,
-101,115,95,49,54,95,102,117,110,99,95,99,97,108,108,101,100,50,52,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,114,101,102,95,97,110,97,108,121,122,101,114,49,54,34,62,114,
-101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,
-114,101,102,95,97,110,97,108,121,122,101,114,50,52,46,112,110,103,60,47,
-111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,
-115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,
-114,101,102,95,97,110,97,108,121,122,101,114,95,115,101,116,116,105,110,
-103,115,49,54,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,
-114,101,115,95,49,54,95,114,101,102,95,97,110,97,121,108,122,101,114,95,
-115,101,116,116,105,110,103,115,50,52,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,97,114,114,111,
-119,95,103,114,101,101,110,95,114,105,103,104,116,49,54,34,62,114,101,115,
-111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,97,114,
-114,111,119,95,114,105,103,104,116,95,103,114,101,101,110,49,54,46,112,
-110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,
-32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,
-101,61,34,104,105,103,104,108,105,103,104,116,49,54,34,62,114,101,115,111,
-117,114,99,101,115,46,99,112,112,36,114,101,115,95,49,54,95,104,105,103,
-104,108,105,103,104,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,114,117,110,95,117,110,105,116,
-95,116,101,115,116,49,54,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,49,54,95,114,117,110,95,117,110,105,116,95,116,
-101,115,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,33,
-45,45,32,79,118,101,114,108,97,121,32,105,99,111,110,115,32,45,45,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,111,118,101,114,108,97,121,95,
-111,107,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,
-115,95,111,107,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,
-111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,
-97,112,34,32,110,97,109,101,61,34,111,118,101,114,108,97,121,95,109,111,
-100,105,102,105,101,100,34,62,114,101,115,111,117,114,99,101,115,46,99,
-112,112,36,114,101,115,95,109,111,100,105,102,105,101,100,46,112,110,103,
-60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,
-108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,
-61,34,111,118,101,114,108,97,121,95,99,111,110,102,108,105,99,116,34,62,
-114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,99,111,
-110,102,108,105,99,116,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,33,45,45,32,77,101,115,115,97,103,101,32,80,97,110,101,32,105,
-99,111,110,115,32,45,45,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,109,101,115,115,97,103,101,95,112,97,110,101,95,105,110,102,34,62,114,
-101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,77,101,115,
-115,97,103,101,80,97,110,101,95,109,101,115,115,97,103,101,95,112,97,110,
-101,95,105,110,102,111,46,112,110,103,60,47,111,98,106,101,99,116,62,10,
-32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,
-116,109,97,112,34,32,110,97,109,101,61,34,109,101,115,115,97,103,101,95,
-112,97,110,101,95,114,101,115,116,97,114,116,34,62,114,101,115,111,117,
-114,99,101,115,46,99,112,112,36,114,101,115,95,77,101,115,115,97,103,101,
-80,97,110,101,95,115,121,115,116,101,109,95,114,101,115,116,97,114,116,
-46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,
-99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,
-97,109,101,61,34,109,101,115,115,97,103,101,95,112,97,110,101,95,102,105,
-120,34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,
-95,77,101,115,115,97,103,101,80,97,110,101,95,112,114,101,102,101,114,101,
-110,99,101,115,95,111,116,104,101,114,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,
-119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,34,109,101,115,115,
-97,103,101,95,112,97,110,101,95,119,97,114,110,105,110,103,34,62,114,101,
-115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,77,101,115,115,
-97,103,101,80,97,110,101,95,119,97,114,110,105,110,103,46,112,110,103,60,
-47,111,98,106,101,99,116,62,10,32,32,60,111,98,106,101,99,116,32,99,108,
-97,115,115,61,34,119,120,66,105,116,109,97,112,34,32,110,97,109,101,61,
-34,109,101,115,115,97,103,101,95,112,97,110,101,95,115,111,102,116,119,
-97,114,101,95,117,112,100,97,116,101,34,62,114,101,115,111,117,114,99,101,
-115,46,99,112,112,36,114,101,115,95,77,101,115,115,97,103,101,80,97,110,
-101,95,115,121,115,116,101,109,95,115,111,102,116,119,97,114,101,95,117,
-112,100,97,116,101,46,112,110,103,60,47,111,98,106,101,99,116,62,10,32,
-32,60,111,98,106,101,99,116,32,99,108,97,115,115,61,34,119,120,66,105,116,
-109,97,112,34,32,110,97,109,101,61,34,109,101,115,115,97,103,101,95,112,
-97,110,101,95,114,101,108,111,97,100,95,119,111,114,107,115,112,97,99,101,
-34,62,114,101,115,111,117,114,99,101,115,46,99,112,112,36,114,101,115,95,
-77,101,115,115,97,103,101,80,97,110,101,95,102,111,108,100,101,114,95,104,
-111,109,101,95,114,101,108,111,97,100,46,112,110,103,60,47,111,98,106,101,
-99,116,62,10,60,47,114,101,115,111,117,114,99,101,62,10};
-
-void InitXmlResource()
-{
-
- // Check for memory FS. If not present, load the handler:
- {
- wxMemoryFSHandler::AddFile(wxT("XRC_resource/dummy_file"), wxT("dummy one"));
- wxFileSystem fsys;
- wxFSFile *f = fsys.OpenFile(wxT("memory:XRC_resource/dummy_file"));
- wxMemoryFSHandler::RemoveFile(wxT("XRC_resource/dummy_file"));
- if (f) delete f;
- else wxFileSystem::AddHandler(new wxMemoryFSHandlerBase);
- }
-
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_find_what.png"), xml_res_file_0, xml_res_size_0, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_outbox.png"), xml_res_file_1, xml_res_size_1, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_lock.png"), xml_res_file_2, xml_res_size_2, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_find_refresh.png"), xml_res_file_3, xml_res_size_3, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_close_panel.png"), xml_res_file_4, xml_res_size_4, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_tags_selected.png"), xml_res_file_5, xml_res_size_5, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_close_panel_push.png"), xml_res_file_6, xml_res_size_6, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_folder_development_preferences.png"), xml_res_file_7, xml_res_size_7, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_folder_development_popup.png"), xml_res_file_8, xml_res_size_8, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_tab.png"), xml_res_file_9, xml_res_size_9, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_todo.png"), xml_res_file_10, xml_res_size_10, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_memory_view.png"), xml_res_file_11, xml_res_size_11, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_cpp_blue.png"), xml_res_file_12, xml_res_size_12, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_about_img.png"), xml_res_file_13, xml_res_size_13, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_member_public.png"), xml_res_file_14, xml_res_size_14, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_link_editor.png"), xml_res_file_15, xml_res_size_15, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_file_explorer.png"), xml_res_file_16, xml_res_size_16, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_member_protected.png"), xml_res_file_17, xml_res_size_17, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_member_private.png"), xml_res_file_18, xml_res_size_18, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_func_public.png"), xml_res_file_19, xml_res_size_19, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_func_protected.png"), xml_res_file_20, xml_res_size_20, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_func_private.png"), xml_res_file_21, xml_res_size_21, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_enum.png"), xml_res_file_22, xml_res_size_22, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_enumee.xpm"), xml_res_file_23, xml_res_size_23, _T(""));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_class.png"), xml_res_file_24, xml_res_size_24, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_typedef.xpm"), xml_res_file_25, xml_res_size_25, _T(""));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_folder_development.png"), xml_res_file_26, xml_res_size_26, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_cube_green.png"), xml_res_file_27, xml_res_size_27, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_namespace.png"), xml_res_file_28, xml_res_size_28, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_but_green_s.png"), xml_res_file_29, xml_res_size_29, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_media_stop.png"), xml_res_file_30, xml_res_size_30, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_folder_home.png"), xml_res_file_31, xml_res_size_31, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_folder.png"), xml_res_file_32, xml_res_size_32, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_cross.png"), xml_res_file_33, xml_res_size_33, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_clean.png"), xml_res_file_34, xml_res_size_34, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_rebuild.png"), xml_res_file_35, xml_res_size_35, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_find.png"), xml_res_file_36, xml_res_size_36, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_chart_organisation.png"), xml_res_file_37, xml_res_size_37, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_wrap_arrow.png"), xml_res_file_38, xml_res_size_38, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_commandprompt.png"), xml_res_file_39, xml_res_size_39, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_trace.png"), xml_res_file_40, xml_res_size_40, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_sym_wiz_bmp.png"), xml_res_file_41, xml_res_size_41, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_debug_windows.png"), xml_res_file_42, xml_res_size_42, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_help.png"), xml_res_file_43, xml_res_size_43, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_help_about.png"), xml_res_file_44, xml_res_size_44, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_reload.png"), xml_res_file_45, xml_res_size_45, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_svn_repo.png"), xml_res_file_46, xml_res_size_46, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_svn_checkout.png"), xml_res_file_47, xml_res_size_47, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_configure.png"), xml_res_file_48, xml_res_size_48, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_drive.png"), xml_res_file_49, xml_res_size_49, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_locals_view.png"), xml_res_file_50, xml_res_size_50, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_watches.png"), xml_res_file_51, xml_res_size_51, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_window_duplicate.png"), xml_res_file_52, xml_res_size_52, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_breakpoint.png"), xml_res_file_53, xml_res_size_53, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_puzzle.png"), xml_res_file_54, xml_res_size_54, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_question_and_answer.png"), xml_res_file_55, xml_res_size_55, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_kstars.png"), xml_res_file_56, xml_res_size_56, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_threads.png"), xml_res_file_57, xml_res_size_57, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_pictures.png"), xml_res_file_58, xml_res_size_58, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_page_green.png"), xml_res_file_59, xml_res_size_59, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_new_class.png"), xml_res_file_60, xml_res_size_60, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_wxproject.png"), xml_res_file_61, xml_res_size_61, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_package_utilities.png"), xml_res_file_62, xml_res_size_62, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_collapse.png"), xml_res_file_63, xml_res_size_63, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_expand.png"), xml_res_file_64, xml_res_size_64, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_gohome.png"), xml_res_file_65, xml_res_size_65, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_messagebox_warning.png"), xml_res_file_66, xml_res_size_66, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_messagebox_info.png"), xml_res_file_67, xml_res_size_67, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mail_mark_important.png"), xml_res_file_68, xml_res_size_68, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_view_text.png"), xml_res_file_69, xml_res_size_69, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_edit_add.png"), xml_res_file_70, xml_res_size_70, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_edit_delete.png"), xml_res_file_71, xml_res_size_71, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_eraser.png"), xml_res_file_72, xml_res_size_72, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_page_white_c.png"), xml_res_file_73, xml_res_size_73, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_page_white_cplusplus.png"), xml_res_file_74, xml_res_size_74, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_page_white_h.png"), xml_res_file_75, xml_res_size_75, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_page_white_text.png"), xml_res_file_76, xml_res_size_76, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_application_x_compressed_tar.png"), xml_res_file_77, xml_res_size_77, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_application_x_ms_dos_executable.png"), xml_res_file_78, xml_res_size_78, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_application_x_php.png"), xml_res_file_79, xml_res_size_79, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_application_x_sharedlib.png"), xml_res_file_80, xml_res_size_80, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_image_x_xpixmap.png"), xml_res_file_81, xml_res_size_81, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_shellscript.png"), xml_res_file_82, xml_res_size_82, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_xml.png"), xml_res_file_83, xml_res_size_83, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_application_x_mswinurl.png"), xml_res_file_84, xml_res_size_84, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_make.png"), xml_res_file_85, xml_res_size_85, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_mimetype_formbuilder.png"), xml_res_file_86, xml_res_size_86, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_quickfinder.png"), xml_res_file_87, xml_res_size_87, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_text_tree.png"), xml_res_file_88, xml_res_size_88, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_external_tools24.png"), xml_res_file_89, xml_res_size_89, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_gear24.png"), xml_res_file_90, xml_res_size_90, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_process_stop.png"), xml_res_file_91, xml_res_size_91, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_folder24.png"), xml_res_file_92, xml_res_size_92, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_refresh.png"), xml_res_file_93, xml_res_size_93, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_revert.png"), xml_res_file_94, xml_res_size_94, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_save_as.png"), xml_res_file_95, xml_res_size_95, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_cut.png"), xml_res_file_96, xml_res_size_96, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_copy.png"), xml_res_file_97, xml_res_size_97, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_paste.png"), xml_res_file_98, xml_res_size_98, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_undo.png"), xml_res_file_99, xml_res_size_99, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_redo.png"), xml_res_file_100, xml_res_size_100, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_bookmark.png"), xml_res_file_101, xml_res_size_101, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_class24.png"), xml_res_file_102, xml_res_size_102, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_fileclose.png"), xml_res_file_103, xml_res_size_103, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_filenew.png"), xml_res_file_104, xml_res_size_104, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_save_all.png"), xml_res_file_105, xml_res_size_105, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_page_save.png"), xml_res_file_106, xml_res_size_106, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_wx24.png"), xml_res_file_107, xml_res_size_107, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_plugin24.png"), xml_res_file_108, xml_res_size_108, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_formatter_settings.png"), xml_res_file_109, xml_res_size_109, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_formatter.png"), xml_res_file_110, xml_res_size_110, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_compfile.png"), xml_res_file_111, xml_res_size_111, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_gear_run.png"), xml_res_file_112, xml_res_size_112, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_gear_stop.png"), xml_res_file_113, xml_res_size_113, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_emptytrash.png"), xml_res_file_114, xml_res_size_114, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_find.png"), xml_res_file_115, xml_res_size_115, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_search.png"), xml_res_file_116, xml_res_size_116, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_open_resource.png"), xml_res_file_117, xml_res_size_117, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_open_type.png"), xml_res_file_118, xml_res_size_118, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_next.png"), xml_res_file_119, xml_res_size_119, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_previous.png"), xml_res_file_120, xml_res_size_120, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_debugger_start.png"), xml_res_file_121, xml_res_size_121, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_debugger_restart.png"), xml_res_file_122, xml_res_size_122, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_debugger_stop.png"), xml_res_file_123, xml_res_size_123, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_debugger_pause.png"), xml_res_file_124, xml_res_size_124, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_debugger_stepin.png"), xml_res_file_125, xml_res_size_125, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_debugger_stepout.png"), xml_res_file_126, xml_res_size_126, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_debugger_next.png"), xml_res_file_127, xml_res_size_127, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_func_find24.png"), xml_res_file_128, xml_res_size_128, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_func_calling24.png"), xml_res_file_129, xml_res_size_129, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_func_called24.png"), xml_res_file_130, xml_res_size_130, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_ref_analyzer24.png"), xml_res_file_131, xml_res_size_131, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_ref_anaylzer_settings24.png"), xml_res_file_132, xml_res_size_132, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_arrow_green_right24.png"), xml_res_file_133, xml_res_size_133, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_highlight.png"), xml_res_file_134, xml_res_size_134, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_24_run_unit_test.png"), xml_res_file_135, xml_res_size_135, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_quickfinder.png"), xml_res_file_136, xml_res_size_136, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_text_tree.png"), xml_res_file_137, xml_res_size_137, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_external_tools16.png"), xml_res_file_138, xml_res_size_138, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_gear16.png"), xml_res_file_139, xml_res_size_139, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_process_stop.png"), xml_res_file_140, xml_res_size_140, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_folder24.png"), xml_res_file_141, xml_res_size_141, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_refresh.png"), xml_res_file_142, xml_res_size_142, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_revert.png"), xml_res_file_143, xml_res_size_143, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_save_as.png"), xml_res_file_144, xml_res_size_144, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_cut.png"), xml_res_file_145, xml_res_size_145, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_copy.png"), xml_res_file_146, xml_res_size_146, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_paste.png"), xml_res_file_147, xml_res_size_147, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_undo.png"), xml_res_file_148, xml_res_size_148, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_redo.png"), xml_res_file_149, xml_res_size_149, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_bookmark.png"), xml_res_file_150, xml_res_size_150, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_class24.png"), xml_res_file_151, xml_res_size_151, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_fileclose.png"), xml_res_file_152, xml_res_size_152, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_filenew.png"), xml_res_file_153, xml_res_size_153, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_save_all.png"), xml_res_file_154, xml_res_size_154, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_page_save.png"), xml_res_file_155, xml_res_size_155, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_wx24.png"), xml_res_file_156, xml_res_size_156, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_plugin24.png"), xml_res_file_157, xml_res_size_157, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_formatter_settings.png"), xml_res_file_158, xml_res_size_158, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_formatter.png"), xml_res_file_159, xml_res_size_159, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_compfile.png"), xml_res_file_160, xml_res_size_160, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_gear_run.png"), xml_res_file_161, xml_res_size_161, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_gear_stop.png"), xml_res_file_162, xml_res_size_162, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_emptytrash.png"), xml_res_file_163, xml_res_size_163, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_search.png"), xml_res_file_164, xml_res_size_164, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_open_resource.png"), xml_res_file_165, xml_res_size_165, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_open_type.png"), xml_res_file_166, xml_res_size_166, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_next.png"), xml_res_file_167, xml_res_size_167, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_previous.png"), xml_res_file_168, xml_res_size_168, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_debugger_start.png"), xml_res_file_169, xml_res_size_169, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_debugger_restart.png"), xml_res_file_170, xml_res_size_170, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_debugger_stop.png"), xml_res_file_171, xml_res_size_171, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_debugger_pause.png"), xml_res_file_172, xml_res_size_172, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_debugger_stepin.png"), xml_res_file_173, xml_res_size_173, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_debugger_stepout.png"), xml_res_file_174, xml_res_size_174, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_debugger_next.png"), xml_res_file_175, xml_res_size_175, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_func_find24.png"), xml_res_file_176, xml_res_size_176, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_func_calling24.png"), xml_res_file_177, xml_res_size_177, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_func_called24.png"), xml_res_file_178, xml_res_size_178, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_ref_analyzer24.png"), xml_res_file_179, xml_res_size_179, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_ref_anaylzer_settings24.png"), xml_res_file_180, xml_res_size_180, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_arrow_right_green16.png"), xml_res_file_181, xml_res_size_181, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_highlight.png"), xml_res_file_182, xml_res_size_182, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_16_run_unit_test.png"), xml_res_file_183, xml_res_size_183, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_ok.png"), xml_res_file_184, xml_res_size_184, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_modified.png"), xml_res_file_185, xml_res_size_185, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_conflict.png"), xml_res_file_186, xml_res_size_186, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_MessagePane_message_pane_info.png"), xml_res_file_187, xml_res_size_187, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_MessagePane_system_restart.png"), xml_res_file_188, xml_res_size_188, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_MessagePane_preferences_other.png"), xml_res_file_189, xml_res_size_189, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_MessagePane_warning.png"), xml_res_file_190, xml_res_size_190, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_MessagePane_system_software_update.png"), xml_res_file_191, xml_res_size_191, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$res_MessagePane_folder_home_reload.png"), xml_res_file_192, xml_res_size_192, _T("image/png"));
- XRC_ADD_FILE(wxT("XRC_resource/resources.cpp$._resources.xrc"), xml_res_file_193, xml_res_size_193, _T("text/xml"));
- wxXmlResource::Get()->Load(wxT("memory:XRC_resource/resources.cpp$._resources.xrc"));
-}
diff --git a/LiteEditor/resources.xrc b/LiteEditor/resources.xrc
deleted file mode 100644
index b894a500..00000000
--- a/LiteEditor/resources.xrc
+++ /dev/null
@@ -1,214 +0,0 @@
-<resource>
- <object class="wxBitmap" name="findwhat">res/find_what.png</object>
- <object class="wxBitmap" name="fold_airplane">res/outbox.png</object>
- <object class="wxBitmap" name="read_only">res/lock.png</object>
- <object class="wxBitmap" name="find_refresh">res/find_refresh.png</object>
- <object class="wxBitmap" name="close_panel">res/close_panel.png</object>
- <object class="wxBitmap" name="tags_selected">res/tags_selected.png</object>
- <object class="wxBitmap" name="close_panel_push">res/close_panel_push.png</object>
- <object class="wxBitmap" name="project_settings">res/folder_development_preferences.png</object>
- <object class="wxBitmap" name="set_active">res/folder_development_popup.png</object>
- <object class="wxBitmap" name="tab">res/tab.png</object>
- <object class="wxBitmap" name="todo">res/todo.png</object>
- <object class="wxBitmap" name="memory_view">res/memory_view.png</object>
- <object class="wxBitmap" name="cpp_keyword">res/cpp_blue.png</object>
- <object class="wxBitmap" name="About">res/about_img.png</object>
- <object class="wxBitmap" name="member_public">res/member_public.png</object>
- <object class="wxBitmap" name="link_editor">res/link_editor.png</object>
- <object class="wxBitmap" name="file_explorer">res/file_explorer.png</object>
- <object class="wxBitmap" name="member_protected">res/member_protected.png</object>
- <object class="wxBitmap" name="member_private">res/member_private.png</object>
- <object class="wxBitmap" name="func_public">res/func_public.png</object>
- <object class="wxBitmap" name="func_protected">res/func_protected.png</object>
- <object class="wxBitmap" name="func_private">res/func_private.png</object>
- <object class="wxBitmap" name="enum">res/enum.png</object>
- <object class="wxBitmap" name="enumerator">res/enumee.xpm</object>
- <object class="wxBitmap" name="class">res/class.png</object>
- <object class="wxBitmap" name="typedef">res/typedef.xpm</object>
- <object class="wxBitmap" name="project">res/folder_development.png</object>
- <object class="wxBitmap" name="globals">res/cube_green.png</object>
- <object class="wxBitmap" name="namespace">res/namespace.png</object>
- <object class="wxBitmap" name="struct">res/but_green_s.png</object>
- <object class="wxBitmap" name="bookmark_blue">res/media_stop.png</object>
- <object class="wxBitmap" name="workspace">res/folder_home.png</object>
- <object class="wxBitmap" name="folder">res/folder.png</object>
- <object class="wxBitmap" name="cross">res/cross.png</object>
- <object class="wxBitmap" name="document_delete">res/clean.png</object>
- <object class="wxBitmap" name="build">res/rebuild.png</object>
- <object class="wxBitmap" name="find_results">res/16/find.png</object>
- <object class="wxBitmap" name="class_view">res/chart_organisation.png</object>
- <object class="wxBitmap" name="page_open">res/folder.png</object>
- <object class="wxBitmap" name="word_wrap">res/wrap_arrow.png</object>
- <object class="wxBitmap" name="output_win">res/commandprompt.png</object>
- <object class="wxBitmap" name="debug_window">res/trace.png</object>
- <object class="wxBitmap" name="sym_wiz_bmp">res/sym_wiz_bmp.png</object>
- <object class="wxBitmap" name="debugger_tab">res/debug_windows.png</object>
- <object class="wxBitmap" name="help_icon">res/help.png</object>
- <object class="wxBitmap" name="svn_info">res/help_about.png</object>
- <object class="wxBitmap" name="svn_refresh">res/reload.png</object>
- <object class="wxBitmap" name="svn_repo">res/svn_repo.png</object>
- <object class="wxBitmap" name="svn_checkout">res/svn_checkout.png</object>
- <object class="wxBitmap" name="svn_settings">res/configure.png</object>
- <object class="wxBitmap" name="document_root">res/drive.png</object>
- <object class="wxBitmap" name="locals_view">res/locals_view.png</object>
- <object class="wxBitmap" name="watches">res/watches.png</object>
- <object class="wxBitmap" name="frames">res/window_duplicate.png</object>
- <object class="wxBitmap" name="breakpoint">res/breakpoint.png</object>
- <object class="wxBitmap" name="new_plugin_wiz_bmp">res/puzzle.png</object>
- <object class="wxBitmap" name="question_and_answer">res/question_and_answer.png</object>
- <object class="wxBitmap" name="cscope">res/kstars.png</object>
- <object class="wxBitmap" name="threads">res/threads.png</object>
- <object class="wxBitmap" name="opened_windows">res/pictures.png</object>
- <object class="wxBitmap" name="text_ok">res/page_green.png</object>
- <object class="wxBitmap" name="new_class_title">res/new_class.png</object>
- <object class="wxBitmap" name="wx_project_header">res/wxproject.png</object>
- <object class="wxBitmap" name="colourise">res/package_utilities.png</object>
- <object class="wxBitmap" name="collapse">res/collapse.png</object>
- <object class="wxBitmap" name="expand">res/expand.png</object>
- <object class="wxBitmap" name="gohome">res/gohome.png</object>
- <object class="wxBitmap" name="project_conflict">res/messagebox_warning.png</object>
- <object class="wxBitmap" name="files_unversioned">res/messagebox_info.png</object>
- <object class="wxBitmap" name="error">res/mail_mark_important.png</object>
- <object class="wxBitmap" name="text_view">res/view_text.png</object>
- <object class="wxBitmap" name="edit_add">res/edit_add.png</object>
- <object class="wxBitmap" name="edit_delete">res/edit_delete.png</object>
- <object class="wxBitmap" name="eraser">res/eraser.png</object>
-
- <!-- Mimetype -->
- <object class="wxBitmap" name="page_white_c">res/mimetype/page_white_c.png</object>
- <object class="wxBitmap" name="page_white_cplusplus">res/mimetype/page_white_cplusplus.png</object>
- <object class="wxBitmap" name="page_white_h">res/mimetype/page_white_h.png</object>
- <object class="wxBitmap" name="page_white_text">res/mimetype/page_white_text.png</object>
- <object class="wxBitmap" name="compressed_file">res/mimetype/application_x_compressed_tar.png</object>
- <object class="wxBitmap" name="executable">res/mimetype/application_x_ms_dos_executable.png</object>
- <object class="wxBitmap" name="file_php">res/mimetype/application_x_php.png</object>
- <object class="wxBitmap" name="shared_library">res/mimetype/application_x_sharedlib.png</object>
- <object class="wxBitmap" name="pixmap">res/mimetype/image_x_xpixmap.png</object>
- <object class="wxBitmap" name="shellscript">res/mimetype/shellscript.png</object>
- <object class="wxBitmap" name="file_xml">res/mimetype/xml.png</object>
- <object class="wxBitmap" name="file_html">res/mimetype/application_x_mswinurl.png</object>
- <object class="wxBitmap" name="makefile">res/mimetype/make.png</object>
- <object class="wxBitmap" name="formbuilder">res/mimetype/formbuilder.png</object>
-
- <!--
- Toolbar bitmaps (24x24)
- -->
- <object class="wxBitmap" name="quickfinder24">res/24/quickfinder.png</object>
- <object class="wxBitmap" name="outline24">res/24/text_tree.png</object>
- <object class="wxBitmap" name="configure_ext_tools24">res/24/external_tools24.png</object>
- <object class="wxBitmap" name="ext_tool_default24">res/24/gear24.png</object>
- <object class="wxBitmap" name="stop_external_tool24">res/24/process_stop.png</object>
- <object class="wxBitmap" name="folder24">res/24/folder24.png</object>
- <object class="wxBitmap" name="refresh24">res/24/refresh.png</object>
- <object class="wxBitmap" name="reload24">res/24/revert.png</object>
- <object class="wxBitmap" name="save_as24">res/24/save_as.png</object>
- <object class="wxBitmap" name="cut24">res/24/cut.png</object>
- <object class="wxBitmap" name="copy24">res/24/copy.png</object>
- <object class="wxBitmap" name="paste24">res/24/paste.png</object>
- <object class="wxBitmap" name="undo24">res/24/undo.png</object>
- <object class="wxBitmap" name="redo24">res/24/redo.png</object>
- <object class="wxBitmap" name="bookmark24">res/24/bookmark.png</object>
- <object class="wxBitmap" name="class24">res/24/class24.png</object>
- <object class="wxBitmap" name="page_close24">res/24/fileclose.png</object>
- <object class="wxBitmap" name="page_new24">res/24/filenew.png</object>
- <object class="wxBitmap" name="save_all24">res/24/save_all.png</object>
- <object class="wxBitmap" name="page_save24">res/24/page_save.png</object>
- <object class="wxBitmap" name="new_wx_project24">res/24/wx24.png</object>
- <object class="wxBitmap" name="plugin24">res/24/plugin24.png</object>
- <object class="wxBitmap" name="code_format_options24">res/24/formatter_settings.png</object>
- <object class="wxBitmap" name="code_format24">res/24/formatter.png</object>
- <object class="wxBitmap" name="build_active_project24">res/24/compfile.png</object>
- <object class="wxBitmap" name="stop_build24">res/24/process_stop.png</object>
- <object class="wxBitmap" name="execute24">res/24/gear_run.png</object>
- <object class="wxBitmap" name="stop_executed_program24">res/24/gear_stop.png</object>
- <object class="wxBitmap" name="clean24">res/24/emptytrash.png</object>
- <object class="wxBitmap" name="find_in_files24">res/24/find.png</object>
- <object class="wxBitmap" name="find_and_replace24">res/24/search.png</object>
- <object class="wxBitmap" name="open_resource24">res/24/open_resource.png</object>
- <object class="wxBitmap" name="open_type24">res/24/open_type.png</object>
- <object class="wxBitmap" name="arrow_next24">res/24/next.png</object>
- <object class="wxBitmap" name="arrow_back24">res/24/previous.png</object>
- <object class="wxBitmap" name="debugger_start24">res/24/debugger_start.png</object>
- <object class="wxBitmap" name="debugger_restart24">res/24/debugger_restart.png</object>
- <object class="wxBitmap" name="debugger_stop24">res/24/debugger_stop.png</object>
- <object class="wxBitmap" name="debugger_pause24">res/24/debugger_pause.png</object>
- <object class="wxBitmap" name="debugger_stepin24">res/24/debugger_stepin.png</object>
- <object class="wxBitmap" name="debugger_stepout24">res/24/debugger_stepout.png</object>
- <object class="wxBitmap" name="debugger_next24">res/24/debugger_next.png</object>
- <object class="wxBitmap" name="cscope_find_symbol24">res/24/func_find24.png</object>
- <object class="wxBitmap" name="cscope_func_called24">res/24/func_calling24.png</object>
- <object class="wxBitmap" name="cscope_func_calling24">res/24/func_called24.png</object>
- <object class="wxBitmap" name="ref_analyzer24">res/24/ref_analyzer24.png</object>
- <object class="wxBitmap" name="ref_analyzer_settings24">res/24/ref_anaylzer_settings24.png</object>
- <object class="wxBitmap" name="arrow_green_right24">res/24/arrow_green_right24.png</object>
- <object class="wxBitmap" name="highlight24">res/24/highlight.png</object>
- <object class="wxBitmap" name="run_unit_test24">res/24/run_unit_test.png</object>
-
- <!--
- Toolbar bitmaps (16x16)
- -->
- <object class="wxBitmap" name="quickfinder16">res/16/quickfinder.png</object>
- <object class="wxBitmap" name="outline16">res/16/text_tree.png</object>
- <object class="wxBitmap" name="configure_ext_tools16">res/16/external_tools16.png</object>
- <object class="wxBitmap" name="ext_tool_default16">res/16/gear16.png</object>
- <object class="wxBitmap" name="stop_external_tool16">res/16/process_stop.png</object>
- <object class="wxBitmap" name="folder16">res/16/folder24.png</object>
- <object class="wxBitmap" name="refresh16">res/16/refresh.png</object>
- <object class="wxBitmap" name="reload16">res/16/revert.png</object>
- <object class="wxBitmap" name="save_as16">res/16/save_as.png</object>
- <object class="wxBitmap" name="cut16">res/16/cut.png</object>
- <object class="wxBitmap" name="copy16">res/16/copy.png</object>
- <object class="wxBitmap" name="paste16">res/16/paste.png</object>
- <object class="wxBitmap" name="undo16">res/16/undo.png</object>
- <object class="wxBitmap" name="redo16">res/16/redo.png</object>
- <object class="wxBitmap" name="bookmark16">res/16/bookmark.png</object>
- <object class="wxBitmap" name="class16">res/16/class24.png</object>
- <object class="wxBitmap" name="page_close16">res/16/fileclose.png</object>
- <object class="wxBitmap" name="page_new16">res/16/filenew.png</object>
- <object class="wxBitmap" name="save_all16">res/16/save_all.png</object>
- <object class="wxBitmap" name="page_save16">res/16/page_save.png</object>
- <object class="wxBitmap" name="new_wx_project16">res/16/wx24.png</object>
- <object class="wxBitmap" name="plugin16">res/16/plugin24.png</object>
- <object class="wxBitmap" name="code_format_options16">res/16/formatter_settings.png</object>
- <object class="wxBitmap" name="code_format16">res/16/formatter.png</object>
- <object class="wxBitmap" name="build_active_project16">res/16/compfile.png</object>
- <object class="wxBitmap" name="stop_build16">res/16/process_stop.png</object>
- <object class="wxBitmap" name="execute16">res/16/gear_run.png</object>
- <object class="wxBitmap" name="stop_executed_program16">res/16/gear_stop.png</object>
- <object class="wxBitmap" name="clean16">res/16/emptytrash.png</object>
- <object class="wxBitmap" name="find_in_files16">res/16/find.png</object>
- <object class="wxBitmap" name="find_and_replace16">res/16/search.png</object>
- <object class="wxBitmap" name="open_resource16">res/16/open_resource.png</object>
- <object class="wxBitmap" name="open_type16">res/16/open_type.png</object>
- <object class="wxBitmap" name="arrow_next16">res/16/next.png</object>
- <object class="wxBitmap" name="arrow_back16">res/16/previous.png</object>
- <object class="wxBitmap" name="debugger_start16">res/16/debugger_start.png</object>
- <object class="wxBitmap" name="debugger_restart16">res/16/debugger_restart.png</object>
- <object class="wxBitmap" name="debugger_stop16">res/16/debugger_stop.png</object>
- <object class="wxBitmap" name="debugger_pause16">res/16/debugger_pause.png</object>
- <object class="wxBitmap" name="debugger_stepin16">res/16/debugger_stepin.png</object>
- <object class="wxBitmap" name="debugger_stepout16">res/16/debugger_stepout.png</object>
- <object class="wxBitmap" name="debugger_next16">res/16/debugger_next.png</object>
- <object class="wxBitmap" name="cscope_find_symbol16">res/16/func_find24.png</object>
- <object class="wxBitmap" name="cscope_func_called16">res/16/func_calling24.png</object>
- <object class="wxBitmap" name="cscope_func_calling16">res/16/func_called24.png</object>
- <object class="wxBitmap" name="ref_analyzer16">res/16/ref_analyzer24.png</object>
- <object class="wxBitmap" name="ref_analyzer_settings16">res/16/ref_anaylzer_settings24.png</object>
- <object class="wxBitmap" name="arrow_green_right16">res/16/arrow_right_green16.png</object>
- <object class="wxBitmap" name="highlight16">res/16/highlight.png</object>
- <object class="wxBitmap" name="run_unit_test16">res/16/run_unit_test.png</object>
-
- <!-- Overlay icons -->
- <object class="wxBitmap" name="overlay_ok">res/ok.png</object>
- <object class="wxBitmap" name="overlay_modified">res/modified.png</object>
- <object class="wxBitmap" name="overlay_conflict">res/conflict.png</object>
-
- <!-- Message Pane icons -->
- <object class="wxBitmap" name="message_pane_inf">res/MessagePane/message_pane_info.png</object>
- <object class="wxBitmap" name="message_pane_restart">res/MessagePane/system_restart.png</object>
- <object class="wxBitmap" name="message_pane_fix">res/MessagePane/preferences_other.png</object>
- <object class="wxBitmap" name="message_pane_warning">res/MessagePane/warning.png</object>
- <object class="wxBitmap" name="message_pane_software_update">res/MessagePane/system_software_update.png</object>
- <object class="wxBitmap" name="message_pane_reload_workspace">res/MessagePane/folder_home_reload.png</object>
-
-</resource>
diff --git a/LiteEditor/setters_getters_base_dlg.cpp b/LiteEditor/setters_getters_base_dlg.cpp
deleted file mode 100644
index e0f7c7a0..00000000
--- a/LiteEditor/setters_getters_base_dlg.cpp
+++ /dev/null
@@ -1,162 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : setters_getters_base_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "setters_getters_base_dlg.h"
-#include "settersgetterstreectrl.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-SettersGettersBaseDlg::SettersGettersBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Class Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bSizer3->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_textClassName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
- bSizer3->Add( m_textClassName, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("Select members from the list below :"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- bSizer3->Add( m_staticText3, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- wxArrayString m_checkListMembersChoices;
- m_checkListMembers = new SettersGettersTreeCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxTR_SINGLE|wxTR_HIDE_ROOT );
- m_checkListMembers->AddRoot(wxT("Root"), false);
-
- bSizer4->Add( m_checkListMembers, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonCheckAll = new wxButton( this, wxID_ANY, wxT("Check &All"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonCheckAll->SetDefault();
- bSizer5->Add( m_buttonCheckAll, 0, wxALL, 5 );
-
- m_buttonUncheckAll = new wxButton( this, wxID_ANY, wxT("Clear"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer5->Add( m_buttonUncheckAll, 0, wxALL, 5 );
-
- bSizer4->Add( bSizer5, 0, wxEXPAND, 5 );
-
- bSizer3->Add( bSizer4, 1, wxEXPAND, 5 );
-
-// m_staticText31 = new wxStaticText( this, wxID_ANY, wxT("Preview:"), wxDefaultPosition, wxDefaultSize, 0 );
-// m_staticText31->Wrap( -1 );
-// bSizer3->Add( m_staticText31, 0, wxALL, 5 );
-
-// m_textPreview = new LEditor(this);
-// m_textPreview->SetUseTabs( false );
-// m_textPreview->SetTabWidth( 4 );
-// m_textPreview->SetIndent( 4 );
-// m_textPreview->SetTabIndents( false );
-// m_textPreview->SetBackSpaceUnIndents( false );
-// m_textPreview->SetViewEOL( false );
-// m_textPreview->SetViewWhiteSpace( false );
-// m_textPreview->SetMarginWidth( 2, 0 );
-// m_textPreview->SetIndentationGuides( false );
-// m_textPreview->SetMarginWidth( 1, 0 );
-// m_textPreview->SetMarginWidth( 0, 0 );
-// m_textPreview->MarkerDefine( wxSCI_MARKNUM_FOLDER, wxSCI_MARK_BOXPLUS );
-// m_textPreview->MarkerSetBackground( wxSCI_MARKNUM_FOLDER, wxColour( wxT("BLACK") ) );
-// m_textPreview->MarkerSetForeground( wxSCI_MARKNUM_FOLDER, wxColour( wxT("WHITE") ) );
-// m_textPreview->MarkerDefine( wxSCI_MARKNUM_FOLDEROPEN, wxSCI_MARK_BOXMINUS );
-// m_textPreview->MarkerSetBackground( wxSCI_MARKNUM_FOLDEROPEN, wxColour( wxT("BLACK") ) );
-// m_textPreview->MarkerSetForeground( wxSCI_MARKNUM_FOLDEROPEN, wxColour( wxT("WHITE") ) );
-// m_textPreview->MarkerDefine( wxSCI_MARKNUM_FOLDERSUB, wxSCI_MARK_EMPTY );
-// m_textPreview->MarkerDefine( wxSCI_MARKNUM_FOLDEREND, wxSCI_MARK_BOXPLUS );
-// m_textPreview->MarkerSetBackground( wxSCI_MARKNUM_FOLDEREND, wxColour( wxT("BLACK") ) );
-// m_textPreview->MarkerSetForeground( wxSCI_MARKNUM_FOLDEREND, wxColour( wxT("WHITE") ) );
-// m_textPreview->MarkerDefine( wxSCI_MARKNUM_FOLDEROPENMID, wxSCI_MARK_BOXMINUS );
-// m_textPreview->MarkerSetBackground( wxSCI_MARKNUM_FOLDEROPENMID, wxColour( wxT("BLACK") ) );
-// m_textPreview->MarkerSetForeground( wxSCI_MARKNUM_FOLDEROPENMID, wxColour( wxT("WHITE") ) );
-// m_textPreview->MarkerDefine( wxSCI_MARKNUM_FOLDERMIDTAIL, wxSCI_MARK_EMPTY );
-// m_textPreview->MarkerDefine( wxSCI_MARKNUM_FOLDERTAIL, wxSCI_MARK_EMPTY );
-// m_textPreview->SetSelBackground( true, wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHT ) );
-// m_textPreview->SetSelForeground( true, wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHTTEXT ) );
-// bSizer3->Add( m_textPreview, 1, wxEXPAND | wxALL, 5 );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, -1, wxT("Options:") ), wxHORIZONTAL );
-
- m_checkStartWithUppercase = new wxCheckBox( this, wxID_ANY, wxT("Function name starts with upper case letter"), wxDefaultPosition, wxDefaultSize, 0 );
-
- sbSizer1->Add( m_checkStartWithUppercase, 0, wxALL, 5 );
-
- m_checkFormat = new wxCheckBox( this, wxID_ANY, wxT("Format text after insertion"), wxDefaultPosition, wxDefaultSize, 0 );
-
- sbSizer1->Add( m_checkFormat, 0, wxALL, 5 );
-
- bSizer3->Add( sbSizer1, 0, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonOK, 0, wxALL, 5 );
- m_buttonOK->SetDefault();
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALIGN_RIGHT, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_buttonCheckAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SettersGettersBaseDlg::OnCheckAll ), NULL, this );
- m_buttonUncheckAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SettersGettersBaseDlg::OnUncheckAll ), NULL, this );
- m_buttonOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SettersGettersBaseDlg::OnButtonOk ), NULL, this );
-}
diff --git a/LiteEditor/setters_getters_base_dlg.h b/LiteEditor/setters_getters_base_dlg.h
deleted file mode 100644
index 5849ad72..00000000
--- a/LiteEditor/setters_getters_base_dlg.h
+++ /dev/null
@@ -1,94 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : setters_getters_base_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __setters_getters_base_dlg__
-#define __setters_getters_base_dlg__
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/textctrl.h>
-#include <wx/checklst.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/wxscintilla.h>
-#include <wx/checkbox.h>
-#include <wx/statbox.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-#include "cl_editor.h"
-#include "checktreectrl.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class SettersGettersBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class SettersGettersBaseDlg : public wxDialog
-{
-private:
-
-protected:
- wxStaticText* m_staticText2;
- wxTextCtrl* m_textClassName;
- wxStaticText* m_staticText3;
- wxCheckTreeCtrl* m_checkListMembers;
- wxButton* m_buttonCheckAll;
- wxButton* m_buttonUncheckAll;
- wxStaticText* m_staticText31;
- LEditor* m_textPreview;
- wxCheckBox* m_checkStartWithUppercase;
- wxCheckBox* m_checkFormat;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCheckAll( wxCommandEvent& event ) {
- event.Skip();
- }
- virtual void OnUncheckAll( wxCommandEvent& event ) {
- event.Skip();
- }
-
- virtual void OnButtonOk( wxCommandEvent &event ) {
- event.Skip();
- }
-
-public:
- SettersGettersBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Generate Setters/Getters for class"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 655,518 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
-
-};
-
-#endif //__setters_getters_base_dlg__
diff --git a/LiteEditor/setters_getters_dlg.cpp b/LiteEditor/setters_getters_dlg.cpp
deleted file mode 100644
index 2648ac6d..00000000
--- a/LiteEditor/setters_getters_dlg.cpp
+++ /dev/null
@@ -1,500 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : setters_getters_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "precompiled_header.h"
-#include "editor_config.h"
-#include "ctags_manager.h"
-#include "settersgetterstreectrl.h"
-#include "setters_getters_dlg.h"
-#include "macros.h"
-#include "language.h"
-#include "wx/tokenzr.h"
-
-const wxEventType wxEVT_CMD_UPDATE_PREVIEW = 19343;
-
-//----------------------------------------------------
-
-SettersGettersDlg::SettersGettersDlg(wxWindow* parent)
- : SettersGettersBaseDlg(parent)
- , m_checkForDuplicateEntries(false)
-{
- ConnectCheckBox(m_checkStartWithUppercase, SettersGettersDlg::OnCheckStartWithUpperCase);
- m_checkListMembers->Connect(wxEVT_LEFT_DOWN, wxMouseEventHandler(SettersGettersDlg::OnLeftDown), NULL, this);
- m_checkListMembers->Connect(wxEVT_LEFT_DCLICK, wxMouseEventHandler(SettersGettersDlg::OnLeftDown), NULL, this);
- Connect ( wxEVT_CMD_UPDATE_PREVIEW, wxCommandEventHandler ( SettersGettersDlg::OnUpdatePreview ), NULL, this );
-}
-
-void SettersGettersDlg::Init(const std::vector<TagEntryPtr> &tags, const wxFileName &file, int lineno)
-{
- //convert the tags to string array
- m_file = file;
- m_lineno = lineno;
- m_members = tags;
-
- BuildTree();
-
- //set the preview
-// m_textPreview->SetReadOnly(false);
-// m_textPreview->Create(wxEmptyString, m_file);
-// m_textPreview->GotoLine(m_lineno);
-// m_textPreview->EnsureVisible(m_lineno);
-// m_textPreview->SetReadOnly(true);
- UpdatePreview();
-}
-
-void SettersGettersDlg::OnCheckStartWithUpperCase(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- UpdateTree();
- UpdatePreview();
-}
-
-wxString SettersGettersDlg::GenerateFunctions()
-{
- wxString code;
- GenerateSetters(code);
- if (code.IsEmpty() == false) {
- code << wxT("\n\n");
- }
- wxString settersCode;
- GenerateGetters(settersCode);
- if (settersCode.IsEmpty() == false) {
- code << settersCode << wxT("\n");
- }
- return code;
-}
-
-void SettersGettersDlg::GenerateGetters(wxString &code)
-{
- wxTreeItemIdValue cookie;
- wxTreeItemId child = m_checkListMembers->GetFirstChild(m_checkListMembers->GetRootItem(), cookie);
- while (child.IsOk()) {
- if (m_checkListMembers->ItemHasChildren(child)) {
-
- wxTreeItemIdValue gcookie;
- wxTreeItemId gchild = m_checkListMembers->GetFirstChild(child, gcookie);
- while ( gchild.IsOk() ) {
- SettersGettersTreeData *data = (SettersGettersTreeData *)m_checkListMembers->GetItemData(gchild);
- if ( data->m_kind == SettersGettersTreeData::Kind_Getter && m_checkListMembers->IsChecked(gchild) ) {
- code << GenerateGetter(data->m_tag) << wxT("\n");
- break;
- }
- gchild = m_checkListMembers->GetNextChild(child, gcookie);
- }
- }
- child = m_checkListMembers->GetNextChild(m_checkListMembers->GetRootItem(), cookie);
- }
-}
-
-void SettersGettersDlg::GenerateSetters(wxString &code)
-{
- wxTreeItemIdValue cookie;
- wxTreeItemId child = m_checkListMembers->GetFirstChild(m_checkListMembers->GetRootItem(), cookie);
- while (child.IsOk()) {
- if (m_checkListMembers->ItemHasChildren(child)) {
-
- wxTreeItemIdValue gcookie;
- wxTreeItemId gchild = m_checkListMembers->GetFirstChild(child, gcookie);
- while ( gchild.IsOk() ) {
- SettersGettersTreeData *data = (SettersGettersTreeData *)m_checkListMembers->GetItemData(gchild);
- if ( data->m_kind == SettersGettersTreeData::Kind_Setter && m_checkListMembers->IsChecked(gchild)) {
- code << GenerateSetter(data->m_tag) << wxT("\n");
- break;
- }
- gchild = m_checkListMembers->GetNextChild(child, gcookie);
- }
- }
- child = m_checkListMembers->GetNextChild(m_checkListMembers->GetRootItem(), cookie);
- }
-}
-
-wxString SettersGettersDlg::GenerateSetter(TagEntryPtr tag, bool &alreadyExist, wxString &displayName)
-{
- alreadyExist = false;
- bool startWithUpper = m_checkStartWithUppercase->IsChecked();
-
- Variable var;
- wxString method_name, method_signature;
-
- if (LanguageST::Get()->VariableFromPattern(tag->GetPattern(), tag->GetName(), var)) {
- wxString func;
- wxString scope = _U(var.m_typeScope.c_str());
- func << wxT("void ");
-
- if (startWithUpper) {
- method_name << wxT("Set");
- } else {
- method_name << wxT("set");
- }
-
- wxString name = _U(var.m_name.c_str());
- FormatName(name);
- method_name << name;
-
- // add the method name
- func << method_name;
-
- // add the signature
- if( var.m_isBasicType ) {
- method_signature << wxT("(");
-
- } else if (!var.m_isPtr) {
- method_signature << wxT("(const ");
-
- } else {
- method_signature << wxT("(");
-
- }
-
- if (!scope.IsEmpty() && !(scope == wxT("<global>"))) {
- method_signature << scope << wxT("::");
- }
-
- method_signature << _U(var.m_type.c_str()) << _U(var.m_templateDecl.c_str()) << _U(var.m_starAmp.c_str());
- if(var.m_isBasicType) {
- method_signature << wxT(" ");
-
- } else if (!var.m_isPtr) {
- method_signature << wxT("& ");
-
- } else {
- method_signature << wxT(" ");
-
- }
-
- wxString tmpName = _U(var.m_name.c_str());
- tmpName.StartsWith(wxT("m_"), &tmpName);
-
- method_signature << tmpName << wxT(")");
- func << method_signature;
-
- // at this point, func contains the display_name (i.e. the function without the implementation)
- displayName << func;
-
- // add the implementation
- func << wxT(" {this->") << _U(var.m_name.c_str()) << wxT(" = ") << tmpName << wxT(";}");
-
- if ( m_checkForDuplicateEntries ) {
- alreadyExist = DoCheckExistance(tag->GetScope(), method_name, method_signature);
- }
-
- return func;
- }
- return wxEmptyString;
-}
-
-wxString SettersGettersDlg::GenerateGetter(TagEntryPtr tag, bool &alreadyExist, wxString &displayName)
-{
- alreadyExist = false;
- bool startWithUpper = m_checkStartWithUppercase->IsChecked();
-
- Variable var;
- wxString method_name, method_signature;
- if (LanguageST::Get()->VariableFromPattern(tag->GetPattern(), tag->GetName(), var)) {
- wxString func;
- wxString scope = _U(var.m_typeScope.c_str());
-
- if (!var.m_isPtr && !var.m_isBasicType) {
- func << wxT("const ");
- if (!scope.IsEmpty() && !(scope == wxT("<global>"))) {
- func << scope
- << wxT("::");
- }
- func << _U(var.m_type.c_str()) << _U(var.m_templateDecl.c_str()) << _U(var.m_starAmp.c_str()) << wxT("& ");
-
- } else {
- // generate different code for pointer
- if (!scope.IsEmpty() && !(scope == wxT("<global>"))) {
- func << scope
- << wxT("::");
- }
- func << _U(var.m_type.c_str()) << _U(var.m_templateDecl.c_str()) << _U(var.m_starAmp.c_str()) << wxT(" ");
- }
-
-
- if (startWithUpper) {
- method_name << wxT("Get");
- } else {
- method_name << wxT("get");
- }
-
- wxString name = _U(var.m_name.c_str());
- FormatName(name);
- method_name << name;
-
- // add the method name
- func << method_name;
- if (!var.m_isPtr) {
- method_signature << wxT("() const");
-
- } else {
- method_signature << wxT("()");
-
- }
-
- // add the signature
- func << method_signature;
-
- if (m_checkForDuplicateEntries) {
- alreadyExist = DoCheckExistance(tag->GetScope(), method_name, method_signature);
- }
-
- displayName << func;
-
- // add the implementation
- func << wxT(" {return ") << _U(var.m_name.c_str()) << wxT(";}");
-
- return func;
- }
- return wxEmptyString;
-}
-
-void SettersGettersDlg::FormatName(wxString &name)
-{
- name.StartsWith(wxT("m_"), &name);
- wxStringTokenizer tkz(name, wxT("_"));
- name.Clear();
- while (tkz.HasMoreTokens()) {
- wxString token = tkz.NextToken();
- wxString pre = token.Mid(0, 1);
- token.Remove(0, 1);
- pre.MakeUpper();
- token.Prepend(pre);
- name << token;
- }
-
-}
-
-void SettersGettersDlg::UpdatePreview()
-{
- m_code.Clear();
- m_code = GenerateFunctions();
-// m_textPreview->SetReadOnly(false);
-// //remove previous preview
-// if (m_textPreview->CanUndo()) m_textPreview->Undo();
-// m_textPreview->BeginUndoAction();
-// m_textPreview->InsertTextWithIndentation(m_code, m_lineno);
-// m_textPreview->EndUndoAction();
-// m_textPreview->SetReadOnly(true);
-}
-
-void SettersGettersDlg::OnCheckAll(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- wxTreeItemIdValue cookie;
- wxTreeItemId child = m_checkListMembers->GetFirstChild(m_checkListMembers->GetRootItem(), cookie);
- while (child.IsOk()) {
- if (m_checkListMembers->ItemHasChildren(child)) {
-
- wxTreeItemIdValue gcookie;
- wxTreeItemId gchild = m_checkListMembers->GetFirstChild(child, gcookie);
- while ( gchild.IsOk() ) {
- m_checkListMembers->Check(gchild, true);
- gchild = m_checkListMembers->GetNextChild(child, gcookie);
- }
-
- }
- child = m_checkListMembers->GetNextChild(m_checkListMembers->GetRootItem(), cookie);
- }
- UpdatePreview();
-}
-
-void SettersGettersDlg::OnUncheckAll(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- wxTreeItemIdValue cookie;
- wxTreeItemId child = m_checkListMembers->GetFirstChild(m_checkListMembers->GetRootItem(), cookie);
- while (child.IsOk()) {
- if (m_checkListMembers->ItemHasChildren(child)) {
-
- wxTreeItemIdValue gcookie;
- wxTreeItemId gchild = m_checkListMembers->GetFirstChild(child, gcookie);
- while ( gchild.IsOk() ) {
- m_checkListMembers->Check(gchild, false);
- gchild = m_checkListMembers->GetNextChild(child, gcookie);
- }
-
- }
- child = m_checkListMembers->GetNextChild(m_checkListMembers->GetRootItem(), cookie);
- }
- UpdatePreview();
-}
-
-void SettersGettersDlg::OnLeftDown(wxMouseEvent& event)
-{
- int flags;
- wxTreeItemId item = m_checkListMembers->HitTest(event.GetPosition(), flags);
- if (item.IsOk() && flags & wxTREE_HITTEST_ONITEMICON) {
- // Post event to update the preview
- wxCommandEvent event(wxEVT_CMD_UPDATE_PREVIEW);
- AddPendingEvent(event);
- }
- event.Skip();
-}
-
-void SettersGettersDlg::OnUpdatePreview(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- UpdatePreview();
-}
-
-
-bool SettersGettersDlg::DoCheckExistance(const wxString& scope, const wxString& name, const wxString& method_signature)
-{
- std::vector<TagEntryPtr> tmp_tags;
- TagsManagerST::Get()->FindByNameAndScope(name, scope.IsEmpty() ? wxT("<global>") : scope, tmp_tags);
- for ( size_t i=0; i<tmp_tags.size(); i++) {
- TagEntryPtr t = tmp_tags.at(i);
- wxString sig_one = TagsManagerST::Get()->NormalizeFunctionSig(t->GetSignature());
- wxString sig_two = TagsManagerST::Get()->NormalizeFunctionSig( method_signature );
- if ( sig_one == sig_two ) {
- return true;
- }
- }
- return false;
-}
-
-wxString SettersGettersDlg::GenerateSetter(TagEntryPtr tag)
-{
- bool dummy;
- wxString s_dummy;
- return GenerateSetter(tag, dummy, s_dummy);
-}
-
-
-wxString SettersGettersDlg::GenerateGetter(TagEntryPtr tag)
-{
- bool dummy;
- wxString s_dummy;
- return GenerateGetter(tag, dummy, s_dummy);
-}
-
-
-void SettersGettersDlg::BuildTree()
-{
- SGDlgData data;
- EditorConfigST::Get()->ReadObject(wxT("SGDlgData"), &data);
-
- m_checkListMembers->Freeze();
- // Append all members to the check list
- m_checkListMembers->DeleteAllItems();
- wxTreeItemId root = m_checkListMembers->AddRoot(wxT("Root"), false, new SettersGettersTreeData(NULL, SettersGettersTreeData::Kind_Root, false));
-
- m_checkFormat->SetValue(data.GetFormatSource());
- m_checkStartWithUppercase->SetValue(data.GetUseUpperCase());
-
- m_checkForDuplicateEntries = true;
- for (size_t i=0; i<m_members.size() ; i++) {
- // add child node for the members
- wxTreeItemId parent = m_checkListMembers->AppendItem(root, m_members.at(i)->GetName(), false, new SettersGettersTreeData(NULL, SettersGettersTreeData::Kind_Parent, false));
-
- // add two children to generate the name of the next entries
- bool getter_exist (false);
- bool setter_exist (false);
- wxString setter_display_name;
- wxString getter_display_name;
-
- wxString getter = GenerateGetter(m_members.at(i), getter_exist, getter_display_name);
- wxString setter = GenerateSetter(m_members.at(i), setter_exist, setter_display_name);
-
- wxTreeItemId gitem = m_checkListMembers->AppendItem(parent, getter_display_name, false, new SettersGettersTreeData(m_members.at(i), SettersGettersTreeData::Kind_Getter,
- getter_exist ? true : false));
- if ( getter_exist ) {
- m_checkListMembers->SetItemTextColour(gitem, wxT("GREY"));
- }
- wxTreeItemId sitem = m_checkListMembers->AppendItem(parent, setter_display_name, false, new SettersGettersTreeData(m_members.at(i), SettersGettersTreeData::Kind_Setter,
- setter_exist ? true : false));
- if ( setter_exist ) {
- m_checkListMembers->SetItemTextColour(sitem, wxT("GREY"));
- }
- m_checkListMembers->Expand(parent);
- }
-
- m_checkForDuplicateEntries = false;
-
- if (m_members.empty() == false) {
- m_textClassName->SetValue(m_members.at(0)->GetParent());
- }
-
-
- m_checkListMembers->Thaw();
-}
-
-void SettersGettersDlg::UpdateTree()
-{
- wxTreeItemIdValue cookie;
- wxTreeItemId child = m_checkListMembers->GetFirstChild(m_checkListMembers->GetRootItem(), cookie);
- while (child.IsOk()) {
- if (m_checkListMembers->ItemHasChildren(child)) {
-
- wxTreeItemIdValue gcookie;
- wxTreeItemId gchild = m_checkListMembers->GetFirstChild(child, gcookie);
- while ( gchild.IsOk() ) {
- SettersGettersTreeData *data = (SettersGettersTreeData *)m_checkListMembers->GetItemData(gchild);
-
- wxString display_name;
- bool dummy;
- if ( data->m_kind == SettersGettersTreeData::Kind_Getter ) {
- GenerateGetter(data->m_tag, dummy, display_name);
-
- } else if ( data->m_kind == SettersGettersTreeData::Kind_Setter ) {
- GenerateSetter(data->m_tag, dummy, display_name);
-
- }
- m_checkListMembers->SetItemText(gchild, display_name);
- gchild = m_checkListMembers->GetNextChild(child, gcookie);
- }
- }
- child = m_checkListMembers->GetNextChild(m_checkListMembers->GetRootItem(), cookie);
- }
-}
-
-void SettersGettersDlg::OnButtonOk(wxCommandEvent& e)
-{
- SGDlgData data;
- data.SetFormatSource( m_checkFormat->IsChecked() );
- data.SetUseUpperCase( m_checkStartWithUppercase->IsChecked() );
- EditorConfigST::Get()->WriteObject(wxT("SGDlgData"), &data);
- e.Skip();
-}
-
-//------------------------------------- Configuration Data -----------------------------------
-
-void SGDlgData::DeSerialize(Archive& arch)
-{
- if ( arch.Read(wxT("m_useUpperCase"), m_useUpperCase) == false ) {
- m_useUpperCase = true;
- }
-
- if ( arch.Read(wxT("m_formatSource"), m_formatSource) == false ) {
- m_formatSource = true;
- }
-}
-
-void SGDlgData::Serialize(Archive& arch)
-{
- arch.Write(wxT("m_useUpperCase"), m_useUpperCase);
- arch.Write(wxT("m_formatSource"), m_formatSource);
-}
-
diff --git a/LiteEditor/setters_getters_dlg.h b/LiteEditor/setters_getters_dlg.h
deleted file mode 100644
index b68e7a60..00000000
--- a/LiteEditor/setters_getters_dlg.h
+++ /dev/null
@@ -1,106 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : setters_getters_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __setters_getters_dlg__
-#define __setters_getters_dlg__
-
-/**
-@file
-Subclass of SettersGettersBaseDlg, which is generated by wxFormBuilder.
-@todo Add your event handlers directly to this file.
-*/
-
-#include "setters_getters_base_dlg.h"
-#include "manager.h"
-#include "ctags_manager.h"
-
-/** Implementing SettersGettersBaseDlg */
-class SettersGettersDlg : public SettersGettersBaseDlg
-{
- std::vector<TagEntryPtr> m_members;
- wxFileName m_file;
- int m_lineno;
- std::map<wxString, TagEntryPtr> m_tagsMap;
- wxString m_code;
- bool m_checkForDuplicateEntries;
-
-protected:
- void OnCheckStartWithUpperCase(wxCommandEvent &event);
- void OnLeftDown(wxMouseEvent& event);
- void OnCheckAll(wxCommandEvent &e);
- void OnUncheckAll(wxCommandEvent &e);
- void OnUpdatePreview(wxCommandEvent &e);
- void OnButtonOk(wxCommandEvent &e);
- void BuildTree ();
- void UpdateTree();
-
- wxString GenerateFunctions();
- wxString GenerateSetter(TagEntryPtr tag, bool &alreadyExist, wxString &displayName);
- wxString GenerateSetter(TagEntryPtr tag);
- wxString GenerateGetter(TagEntryPtr tag, bool &alreadyExist, wxString &displayName);
- wxString GenerateGetter(TagEntryPtr tag);
-
- void FormatName(wxString &name);
- void UpdatePreview();
- void GenerateGetters(wxString &code);
- void GenerateSetters(wxString &code);
- bool DoCheckExistance(const wxString &scope, const wxString &name, const wxString &method_signature);
-public:
- /** Constructor */
- SettersGettersDlg(wxWindow* parent);
- const wxString &GetGenCode() const {
- return m_code;
- }
- bool GetFormatText() {
- return m_checkFormat->IsChecked();
- }
- void Init(const std::vector<TagEntryPtr> &tags, const wxFileName &file, int lineno);
-};
-
-class SGDlgData : public SerializedObject
-{
- bool m_useUpperCase;
- bool m_formatSource;
-
-public:
- SGDlgData() : m_useUpperCase (true), m_formatSource(true) {}
- ~SGDlgData() {}
-
- virtual void Serialize(Archive &arch);
- virtual void DeSerialize(Archive &arch);
-
- void SetFormatSource(const bool& formatSource) {
- this->m_formatSource = formatSource;
- }
- void SetUseUpperCase(const bool& useUpperCase) {
- this->m_useUpperCase = useUpperCase;
- }
- const bool& GetFormatSource() const {
- return m_formatSource;
- }
- const bool& GetUseUpperCase() const {
- return m_useUpperCase;
- }
-};
-#endif // __setters_getters_dlg__
diff --git a/LiteEditor/settersgetterstreectrl.cpp b/LiteEditor/settersgetterstreectrl.cpp
deleted file mode 100644
index 05b78a8f..00000000
--- a/LiteEditor/settersgetterstreectrl.cpp
+++ /dev/null
@@ -1,223 +0,0 @@
-#include "settersgetterstreectrl.h"
-#include <wx/xrc/xmlres.h>
-#include <wx/imaglist.h>
-
-// -------------------------------------------------------
-// Images
-/* XPM */
-static const char *Checkbox_off_XPM[] = {
-/* columns rows colors chars-per-pixel */
-"16 16 11 1",
-"$ c #F7F7F7",
-"% c #FFFFFF",
-". c #E7E7DE",
-" c #185284",
-"X c #DEDEDE",
-"o c #E7E7DE",
-"@ c #E7E7E7",
-"O c #EFEFE7",
-"+ c #EFEFEF",
-"# c #F7F7EF",
-"& c None",
-/* pixels */
-"&&&&&&&&&&&&&&&&",
-" ",
-" ......XooOO+.. ",
-" ....XXo@O++#.. ",
-" ...XXo@O+++#.. ",
-" ..Xoo@@++#$$.. ",
-" ..Xo@O++#+$$.. ",
-" .oo@@+++$$$$.. ",
-" .o@O++#+$$%%.. ",
-" .oO+++$$$$%%.. ",
-" .O++#$#$$%%%.. ",
-" .O++$$$$%%%%.. ",
-" .+#$#$$%%%%%.. ",
-" .............. ",
-" ",
-"&&&&&&&&&&&&&&&&"
-};
-
-
-/* XPM */
-static const char *Checkbox_on_XPM[] = {
-/* columns rows colors chars-per-pixel */
-"16 16 10 1",
-"# c #F7F7F7",
-"$ c #FFFFFF",
-"@ c #21A521",
-" c #185284",
-". c #E7E7DE",
-"X c #E7E7E7",
-"o c #EFEFE7",
-"O c #EFEFEF",
-"+ c #F7F7EF",
-"& c None",
-/* pixels */
-"&&&&&&&&&&&&&&&&",
-" ",
-" .......XooO+.. ",
-" .....XXooO+O.. ",
-" ....XXXOO@+#.. ",
-" ...XXXoO@@##.. ",
-" ...@XOO@@@##.. ",
-" ..X@@O@@@##$.. ",
-" .Xo@@@@@##$#.. ",
-" .ooO@@@##$$$.. ",
-" .oO+O@##$#$$.. ",
-" .O+O###$$$$$.. ",
-" .++###$$#$$$.. ",
-" .............. ",
-" ",
-"&&&&&&&&&&&&&&&&"
-};
-
-/* XPM */
-static const char * check_box_disabled_xpm[] = {
-"16 16 10 1",
-" c None",
-". c #185284",
-"+ c #E7E7DE",
-"@ c #E7E7E7",
-"# c #EFEFE7",
-"$ c #EFEFEF",
-"% c #F7F7EF",
-"& c #C3C3C3",
-"* c #F7F7F7",
-"= c #FFFFFF",
-" ",
-"................",
-".+++++++@##$%++.",
-".+++++@@##$%$++.",
-".++&&&&&&&&&&++.",
-".++&&&&&&&&&&++.",
-".++&&&&&&&&&&++.",
-".++&&&&&&&&&&++.",
-".+@&&&&&&&&&&++.",
-".+#&&&&&&&&&&++.",
-".+#&&&&&&&&&&++.",
-".+$&&&&&&&&&&++.",
-".+%%***==*===++.",
-".++++++++++++++.",
-"................",
-" "};
-//----------------------------------------------
-
-BEGIN_EVENT_TABLE(SettersGettersTreeCtrl, wxCheckTreeCtrl)
- EVT_CHECKTREE_ITEM_UNSELECTED (wxID_ANY, SettersGettersTreeCtrl::OnItemUnchecked)
- EVT_CHECKTREE_ITEM_SELECTED (wxID_ANY, SettersGettersTreeCtrl::OnItemChecked )
-END_EVENT_TABLE()
-
-SettersGettersTreeCtrl::SettersGettersTreeCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxValidator& validator, const wxString& name)
- : wxCheckTreeCtrl(parent, id, pos, size, style, validator, name)
-{
- // Replace the default list image
-
- //create an image list and assign it
- wxImageList *il = new wxImageList(16, 16, true);
- il->Add(wxBitmap(Checkbox_on_XPM)); // 0
- il->Add(wxBitmap(Checkbox_off_XPM)); // 1
- il->Add(wxXmlResource::Get()->LoadBitmap(wxT("member_public"))); // 2
- il->Add(wxBitmap(check_box_disabled_xpm)); // 3
- //will be owned by the control
- AssignImageList(il);
-}
-
-SettersGettersTreeCtrl::~SettersGettersTreeCtrl()
-{
-}
-
-wxTreeItemId SettersGettersTreeCtrl::AppendItem(const wxTreeItemId& parent, const wxString& text, bool checked, wxTreeItemData* data)
-{
- if ( data ) {
- SettersGettersTreeData* d = dynamic_cast<SettersGettersTreeData*>( data );
-
- if ( d ) {
- if ( d->m_kind == SettersGettersTreeData::Kind_Parent ) {
- return wxTreeCtrl::AppendItem(parent, text, 2, 2, data);
- } else if ( d->m_disabled ) {
- return wxTreeCtrl::AppendItem(parent, text, 3, 3, data);
- }
- }
- }
- return wxCheckTreeCtrl::AppendItem(parent, text, checked, data);
-}
-
-wxTreeItemId SettersGettersTreeCtrl::AddRoot(const wxString& text, bool checked, wxTreeItemData* data)
-{
- wxUnusedVar(checked);
- return wxTreeCtrl::AddRoot(text, wxNOT_FOUND, wxNOT_FOUND, data);
-}
-
-void SettersGettersTreeCtrl::OnItemUnchecked(wxCheckTreeCtrlEvent& e)
-{
- wxTreeItemId item = e.GetItem();
- if (item.IsOk()) {
- wxTreeItemData *data = this->GetItemData(item);
- if ( data ) {
- SettersGettersTreeData* d = dynamic_cast<SettersGettersTreeData*>( data );
- if ( d ) {
- if ( d->m_disabled ) {
- e.Veto();
- } else {
- switch (d->m_kind) {
- case SettersGettersTreeData::Kind_Root:
- case SettersGettersTreeData::Kind_Parent:
- e.Veto();
- break;
- }
- }
- }
- }
- e.Skip();
- }
-}
-
-void SettersGettersTreeCtrl::OnItemChecked(wxCheckTreeCtrlEvent& e)
-{
- wxTreeItemId item = e.GetItem();
- if (item.IsOk()) {
- wxTreeItemData *data = this->GetItemData(item);
- if ( data ) {
- SettersGettersTreeData* d = dynamic_cast<SettersGettersTreeData*>( data );
- if ( d ) {
- if ( d->m_disabled ) {
- e.Veto();
- } else {
- switch (d->m_kind) {
- case SettersGettersTreeData::Kind_Root:
- case SettersGettersTreeData::Kind_Parent:
- e.Veto();
- break;
- }
- }
- }
- }
- e.Skip();
- }
-}
-
-void SettersGettersTreeCtrl::Check(const wxTreeItemId& item, bool check)
-{
- if (item.IsOk()) {
- wxTreeItemData *data = this->GetItemData(item);
- if ( data ) {
- SettersGettersTreeData* d = dynamic_cast<SettersGettersTreeData*>( data );
- if ( d ) {
- if ( d->m_disabled ) {
- return; // do nothing
- } else {
- switch (d->m_kind) {
- case SettersGettersTreeData::Kind_Root:
- case SettersGettersTreeData::Kind_Parent:
- // do nothing
- break;
- default:
- wxCheckTreeCtrl::Check(item, check);
- break;
- }
- }
- }
- }
- }
-}
diff --git a/LiteEditor/settersgetterstreectrl.h b/LiteEditor/settersgetterstreectrl.h
deleted file mode 100644
index 90608950..00000000
--- a/LiteEditor/settersgetterstreectrl.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef __settersgetterstreectrl__
-#define __settersgetterstreectrl__
-
-#include "checkdirtreectrl.h"
-#include "entry.h"
-
-//----------------------------------------------------
-class SettersGettersTreeData : public wxTreeItemData
-{
-public:
- enum { Kind_Getter = 0, Kind_Setter, Kind_Parent, Kind_Root };
-
- TagEntryPtr m_tag;
- int m_kind;
- bool m_disabled;
-public:
- SettersGettersTreeData(TagEntryPtr tag, int kind, bool disabled) : m_tag(tag), m_kind(kind), m_disabled(disabled) {}
- virtual ~SettersGettersTreeData() {}
-};
-
-class SettersGettersTreeCtrl : public wxCheckTreeCtrl {
-
-public:
- SettersGettersTreeCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxT("treeCtrl"));
- virtual ~SettersGettersTreeCtrl();
-
-public:
- virtual wxTreeItemId AddRoot (const wxString& text, bool checked, wxTreeItemData* data = NULL);
- virtual wxTreeItemId AppendItem(const wxTreeItemId& parent, const wxString& text, bool checked, wxTreeItemData* data = NULL);
- virtual void Check(const wxTreeItemId& item, bool check = true);
-
- DECLARE_EVENT_TABLE();
- void OnItemChecked (wxCheckTreeCtrlEvent &e);
- void OnItemUnchecked (wxCheckTreeCtrlEvent &e);
-};
-#endif // __settersgetterstreectrl__
diff --git a/LiteEditor/shelltab.cpp b/LiteEditor/shelltab.cpp
deleted file mode 100644
index 39adc8c6..00000000
--- a/LiteEditor/shelltab.cpp
+++ /dev/null
@@ -1,359 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : shelltab.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-
-#include "macros.h"
-#include "async_executable_cmd.h"
-#include "manager.h"
-#include "frame.h"
-#include "shelltab.h"
-
-
-BEGIN_EVENT_TABLE(ShellTab, OutputTabWindow)
- EVT_COMMAND(wxID_ANY, wxEVT_ASYNC_PROC_STARTED, ShellTab::OnProcStarted)
- EVT_COMMAND(wxID_ANY, wxEVT_ASYNC_PROC_ADDLINE, ShellTab::OnProcOutput)
- EVT_COMMAND(wxID_ANY, wxEVT_ASYNC_PROC_ADDERRLINE, ShellTab::OnProcError)
- EVT_COMMAND(wxID_ANY, wxEVT_ASYNC_PROC_ENDED, ShellTab::OnProcEnded)
-
- EVT_BUTTON(XRCID("show_find"), ShellTab::OnShowSearch)
- EVT_BUTTON(XRCID("send_input"), ShellTab::OnSendInput)
- EVT_BUTTON(XRCID("stop_process"), ShellTab::OnStopProc)
-
- EVT_UPDATE_UI(XRCID("send_input"), ShellTab::OnUpdateUI)
- EVT_UPDATE_UI(XRCID("stop_process"), ShellTab::OnUpdateUI)
-END_EVENT_TABLE()
-
-
-ShellTab::ShellTab(wxWindow* parent, wxWindowID id, const wxString& name)
- : OutputTabWindow(parent, id, name)
- , m_inputSizer(NULL)
- , m_input(NULL)
- , m_findBar(NULL)
- , m_cmd(NULL)
-{
- m_inputSizer = new wxBoxSizer(wxHORIZONTAL);
-
- wxButton *btn = new wxBitmapButton(this, XRCID("show_find"), wxXmlResource::Get()->LoadBitmap(wxT("find_and_replace16")));
- m_inputSizer->Add(btn, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
- btn->SetToolTip(wxT("Show QuickFind Bar"));
-
- wxStaticText *text = new wxStaticText(this, wxID_ANY, wxT("Send:"));
- m_inputSizer->Add(text, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
-
- m_input = new wxComboBox(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxTE_PROCESS_ENTER);
- m_input->SetMinSize(wxSize(200,-1));
- m_input->Connect(wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler(ShellTab::OnEnter), NULL, this);
- m_input->Connect(wxEVT_KEY_DOWN, wxKeyEventHandler(ShellTab::OnKeyDown), NULL, this);
-
- m_inputSizer->Add(m_input, 1, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
-
- btn = new wxButton(this, XRCID("send_input"), wxT("Send"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT);
- m_inputSizer->Add(btn, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
-
- btn = new wxButton(this, XRCID("stop_process"), wxT("Stop"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT);
- m_inputSizer->Add(btn, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
-
- m_findBar = new QuickFindBar(this);
- m_findBar->Connect(m_findBar->GetCloseButtonId(), wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(ShellTab::OnShowInput), NULL, this);
- m_findBar->SetEditor(m_sci);
-
- // grab the base class scintilla and put our sizer in its place
- wxSizer *mainSizer = GetSizer();
- mainSizer->Detach(m_sci);
-
- m_vertSizer = new wxBoxSizer(wxVERTICAL);
- m_vertSizer->Add(m_sci, 1, wxEXPAND | wxALL, 1);
- m_vertSizer->Add(m_inputSizer, 0, wxEXPAND | wxALL, 1);
- m_vertSizer->Add(m_findBar, 0, wxEXPAND | wxALL, 1);
- mainSizer->Add(m_vertSizer, 1, wxEXPAND | wxALL, 1);
- mainSizer->Layout();
-
- InitStyle(m_sci);
-}
-
-ShellTab::~ShellTab()
-{
-}
-
-void ShellTab::InitStyle(wxScintilla* sci)
-{
- int caretSlop = 1;
- int caretStrict = 0;
- int caretEven = 0;
- int caretJumps = 0;
- int caretZone = 20;
- sci->SetXCaretPolicy(caretStrict | caretSlop | caretEven | caretJumps, caretZone);
-
- caretSlop = 1;
- caretStrict = 4;
- caretEven = 8;
- caretJumps = 0;
- caretZone = 1;
- sci->SetYCaretPolicy(caretStrict | caretSlop | caretEven | caretJumps, caretZone);
-}
-
-bool ShellTab::DoSendInput(const wxString &line)
-{
- return m_cmd && m_cmd->IsBusy() && m_cmd->GetProcess()->Write(line+wxT('\n'));
-}
-
-void ShellTab::OnProcStarted(wxCommandEvent& e)
-{
- if (m_cmd && m_cmd->IsBusy()) {
- // TODO: log message: already running a process
- return;
- }
- m_cmd = (AsyncExeCmd*) e.GetEventObject();
- Clear();
- AppendText(e.GetString());
- m_input->Clear();
-}
-
-void ShellTab::OnProcOutput(wxCommandEvent& e)
-{
- AsyncExeCmd *cmd = (AsyncExeCmd*) e.GetEventObject();
- if (cmd != m_cmd) {
- // TODO: log message
- return;
- }
- AppendText(e.GetString());
-}
-
-void ShellTab::OnProcError(wxCommandEvent& e)
-{
- AsyncExeCmd *cmd = (AsyncExeCmd*) e.GetEventObject();
- if (cmd != m_cmd) {
- // TODO: log message
- return;
- }
- AppendText(e.GetString());
- // TODO: mark line
-}
-
-void ShellTab::OnProcEnded(wxCommandEvent& e)
-{
- AsyncExeCmd *cmd = (AsyncExeCmd*) e.GetEventObject();
- if (cmd != m_cmd) {
- // TODO: log message
- return;
- }
- AppendText(e.GetString());
- m_cmd = NULL;
-}
-
-void ShellTab::OnShowInput(wxCommandEvent &e)
-{
- Freeze();
-
- m_findBar->Show(false);
- m_inputSizer->Show(true);
- GetSizer()->Layout();
- m_input->SetFocus();
-
- Thaw();
-}
-
-void ShellTab::OnShowSearch(wxCommandEvent& e)
-{
- Freeze();
-
- m_findBar->Show(true);
- m_inputSizer->Show(false);
- GetSizer()->Layout();
-
- Thaw();
-}
-
-void ShellTab::OnSendInput(wxCommandEvent& e)
-{
- wxUnusedVar(e);
-
- wxString line = m_input->GetValue();
- if (DoSendInput(line)) {
- if (m_input->FindString(line) == wxNOT_FOUND) {
- m_input->Append(line);
- }
- m_input->SetValue(wxEmptyString);
- m_input->SetFocus(); // in case lost by editor changing
- }
-}
-
-void ShellTab::OnStopProc(wxCommandEvent& e)
-{
- wxUnusedVar(e);
-
- if (m_cmd && m_cmd->IsBusy()) {
- m_cmd->Terminate();
- }
-}
-
-void ShellTab::OnUpdateUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_cmd && m_cmd->IsBusy());
-}
-
-void ShellTab::OnKeyDown(wxKeyEvent& e)
-{
- wxCommandEvent dummy;
- switch (e.GetKeyCode()) {
- case wxT('c'):
- case wxT('C'):
- if (e.GetModifiers() == wxMOD_CONTROL) {
- OnStopProc(dummy);
- } else {
- e.Skip();
- }
- break;
- default:
- e.Skip();
- break;
- }
-}
-
-
-void ShellTab::OnEnter(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxCommandEvent dummy;
- OnSendInput(dummy);
-}
-
-
-DebugTab::DebugTab(wxWindow* parent, wxWindowID id, const wxString& name)
- : ShellTab(parent, id, name)
-{
- if (m_sci) {
- m_sci->SetMarginType(0, wxSCI_MARGIN_NUMBER);
- m_sci->SetMarginType(1, wxSCI_MARGIN_FORE);
-
- //int pixelWidth = 4 + 4 * m_sci->TextWidth(wxSCI_STYLE_LINENUMBER, wxT("9"));
-
- // Show number margin according to settings.
- m_sci->SetMarginWidth(0, 0);
- m_sci->SetMarginWidth(1, 0);
-
- m_sci->SetMarginLeft(1);
- m_sci->StyleSetBackground(wxSCI_STYLE_LINENUMBER, wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
- m_sci->StyleSetForeground(wxSCI_STYLE_LINENUMBER, wxSystemSettings::GetColour(wxSYS_COLOUR_ACTIVECAPTION));
- }
-
- m_vertSizer->Prepend(new DebugTabPanel(this), 0, wxEXPAND);
-}
-
-DebugTab::~DebugTab()
-{
-}
-
-bool DebugTab::DoSendInput(const wxString &cmd)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (!dbgr || !dbgr->IsRunning())
- return false;
- bool contIsNeeded = ManagerST::Get()->GetBreakpointsMgr()->PauseDebuggerIfNeeded();
- dbgr->ExecuteCmd(cmd);
- if (contIsNeeded) {
- ManagerST::Get()->DbgStart();
- }
- return true;
-}
-
-void DebugTab::OnStopProc(wxCommandEvent& e)
-{
- wxUnusedVar(e);
-
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- ManagerST::Get()->DbgDoSimpleCommand(DBG_PAUSE);
- }
-}
-
-void DebugTab::AppendLine(const wxString& line)
-{
- if ( m_sci->GetLineCount() > 2 ) {
- wxString lineBefore = m_sci->GetLine(m_sci->GetLineCount()-2);
- wxString newLine (line);
- newLine.Trim().Trim(false);
- lineBefore.Trim().Trim(false);
- if ( (lineBefore == newLine) && (newLine == wxT("Continuing...")) ) {
- // Dont add this line...
- } else {
- AppendText(line);
- }
- } else {
- AppendText(line);
- }
-}
-
-void DebugTab::OnUpdateUI(wxUpdateUIEvent& e)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- e.Enable(dbgr && dbgr->IsRunning());
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////////
-
-DebugTabPanel::DebugTabPanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_checkBoxEnableLog = new wxCheckBox( this, wxID_ANY, wxT("Enable debugger full logging"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer1->Add( m_checkBoxEnableLog, 0, wxALL|wxEXPAND, 0 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_checkBoxEnableLog->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DebugTabPanel::OnEnableDbgLog ), NULL, this );
- m_checkBoxEnableLog->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DebugTabPanel::OnEnableDbgLogUI ), NULL, this );
-}
-
-DebugTabPanel::~DebugTabPanel()
-{
- // Disconnect Events
- m_checkBoxEnableLog->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DebugTabPanel::OnEnableDbgLog ), NULL, this );
- m_checkBoxEnableLog->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DebugTabPanel::OnEnableDbgLogUI ), NULL, this );
-}
-
-void DebugTabPanel::OnEnableDbgLog(wxCommandEvent& event)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if(dbgr) {
- dbgr->EnableLogging(event.IsChecked());
-
- DebuggerInformation info = dbgr->GetDebuggerInformation();
- info.enableDebugLog = event.IsChecked();
- DebuggerMgr::Get().SetDebuggerInformation(dbgr->GetName(), info);
- }
-}
-
-void DebugTabPanel::OnEnableDbgLogUI(wxUpdateUIEvent& event)
-{
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if(dbgr) {
- DebuggerInformation info = dbgr->GetDebuggerInformation();
- event.Check( info.enableDebugLog );
- }
-}
diff --git a/LiteEditor/shelltab.h b/LiteEditor/shelltab.h
deleted file mode 100644
index eac4a691..00000000
--- a/LiteEditor/shelltab.h
+++ /dev/null
@@ -1,97 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : shelltab.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef SHELLTAB_H
-#define SHELLTAB_H
-
-#include "outputtabwindow.h"
-
-class AsyncExeCmd;
-class QuickFindBar;
-
-
-class ShellTab : public OutputTabWindow
-{
-protected:
- wxSizer *m_inputSizer;
- wxSizer *m_vertSizer;
- wxComboBox *m_input;
- QuickFindBar *m_findBar;
- AsyncExeCmd *m_cmd;
-
- static void InitStyle (wxScintilla *sci);
-
- virtual bool DoSendInput (const wxString &line);
-
- virtual void OnProcStarted(wxCommandEvent &e);
- virtual void OnProcOutput (wxCommandEvent &e);
- virtual void OnProcError (wxCommandEvent &e);
- virtual void OnProcEnded (wxCommandEvent &e);
-
- virtual void OnShowInput (wxCommandEvent &e);
- virtual void OnShowSearch (wxCommandEvent &e);
- virtual void OnSendInput (wxCommandEvent &e);
- virtual void OnStopProc (wxCommandEvent &e);
- virtual void OnKeyDown (wxKeyEvent &e);
- virtual void OnEnter (wxCommandEvent &e);
- virtual void OnUpdateUI (wxUpdateUIEvent &e);
-
- DECLARE_EVENT_TABLE()
-
-public:
- ShellTab(wxWindow *parent, wxWindowID id, const wxString &name);
- ~ShellTab();
-};
-
-
-class DebugTab : public ShellTab
-{
-protected:
- bool DoSendInput(const wxString &line);
- void OnStopProc (wxCommandEvent &e);
- void OnUpdateUI (wxUpdateUIEvent &e);
-
-public:
- DebugTab(wxWindow *parent, wxWindowID id, const wxString &name);
- ~DebugTab();
-
- void AppendLine(const wxString &line);
-};
-
-class DebugTabPanel : public wxPanel
-{
-private:
-
-protected:
- wxCheckBox* m_checkBoxEnableLog;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnEnableDbgLog( wxCommandEvent& event );
- virtual void OnEnableDbgLogUI( wxUpdateUIEvent& event );
-public:
-
- DebugTabPanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~DebugTabPanel();
-};
-#endif //SHELLTAB_H
diff --git a/LiteEditor/simpletable.cpp b/LiteEditor/simpletable.cpp
deleted file mode 100644
index ae2473ce..00000000
--- a/LiteEditor/simpletable.cpp
+++ /dev/null
@@ -1,355 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : simpletable.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include "simpletable.h"
-#include <wx/textdlg.h> //wxGetTextFromUser
-#include "manager.h"
-#include <wx/xrc/xmlres.h>
-#include "debuggermanager.h"
-#include "globals.h"
-
-WatchesTable::WatchesTable( wxWindow* parent )
- :
- SimpleTableBase( parent )
- , m_selectedId(wxNOT_FOUND)
-{
- InitTable();
-
- //Load the right click menu
- m_rclickMenu = wxXmlResource::Get()->LoadMenu(wxT("dbg_watch_rmenu"));
- Connect(XRCID("del_expr"),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( WatchesTable::OnDeleteWatch), NULL, this);
- Connect(XRCID("del_expr_all"),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( WatchesTable::OnDeleteAll), NULL, this);
- Connect(XRCID("expand_expr"),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( WatchesTable::OnMenuExpandExpr), NULL, this);
- Connect(XRCID("edit_expr"),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( WatchesTable::OnMenuEditExpr), NULL, this);
- Connect(XRCID("copy_expr"),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( WatchesTable::OnMenuCopyExpr), NULL, this);
- Connect(XRCID("copy_both"),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( WatchesTable::OnMenuCopyBoth), NULL, this);
- Connect(XRCID("copy_value"),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( WatchesTable::OnMenuCopyValue), NULL, this);
- Connect(XRCID("dereference_expr"),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( WatchesTable::OnMenuDerefExpr), NULL, this);
- Connect(XRCID("add_watch"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( WatchesTable::OnNewWatch_Iternal), NULL, this);
-}
-
-WatchesTable::~WatchesTable()
-{
- if (m_rclickMenu) {
- delete m_rclickMenu;
- m_rclickMenu = NULL;
- }
-}
-
-void WatchesTable::Clear()
-{
- m_listTable->DeleteAllItems();
-}
-
-void WatchesTable::InitTable()
-{
- //add two columns to the list ctrl
- m_listTable->InsertColumn(0, wxT("Expression"));
- m_listTable->InsertColumn(1, wxT("Value"));
-}
-
-void WatchesTable::OnItemActivated( wxListEvent& event )
-{
- m_selectedId = event.m_itemIndex;
- DoShowMoreDetails(m_selectedId);
-}
-
-void WatchesTable::OnItemSelected( wxListEvent& event )
-{
- // TODO: Implement OnItemSelected
- m_selectedId = event.m_itemIndex;
-}
-
-void WatchesTable::OnListKeyDown( wxListEvent& event )
-{
- if (event.GetKeyCode() == WXK_DELETE || event.GetKeyCode() == WXK_NUMPAD_DELETE) {
- //remove the entry
- if (m_selectedId != wxNOT_FOUND) {
- m_listTable->DeleteItem(m_selectedId);
- m_selectedId = wxNOT_FOUND;
- }
- }
-}
-
-void WatchesTable::OnItemRightClick(wxListEvent &event)
-{
- wxUnusedVar(event);
- if (m_rclickMenu) {
- PopupMenu(m_rclickMenu);
- }
-}
-
-void WatchesTable::OnItemDeSelected(wxListEvent &event)
-{
- m_selectedId = wxNOT_FOUND;
- wxUnusedVar(event);
-}
-
-void WatchesTable::OnNewWatch(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- wxString expr = wxGetTextFromUser(wxT("Expression to watch:"), wxT("New watch"));
- if (expr.IsEmpty() == false) {
- AddExpression(expr);
- RefreshValues();
- }
-}
-
-void WatchesTable::OnNewWatchUI(wxUpdateUIEvent &event)
-{
- event.Enable(true);
-}
-
-
-void WatchesTable::OnDeleteAll(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- if (m_listTable->GetItemCount()>0) {
- m_listTable->DeleteAllItems();
- m_selectedId = wxNOT_FOUND;
- }
-}
-
-void WatchesTable::OnDeleteAllUI(wxUpdateUIEvent &event)
-{
- event.Enable(m_listTable->GetItemCount()>0);
-}
-
-void WatchesTable::OnDeleteWatch(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- if (m_selectedId != wxNOT_FOUND) {
- m_listTable->DeleteItem(m_selectedId);
- m_selectedId = wxNOT_FOUND;
- }
-}
-
-void WatchesTable::OnDeleteWatchUI(wxUpdateUIEvent &event)
-{
- event.Enable(m_selectedId != wxNOT_FOUND && m_listTable->GetItemCount()>0);
-}
-
-void WatchesTable::AddExpression(const wxString &expr)
-{
- //make sure that the expression does not exist
- int count = m_listTable->GetItemCount();
- for (int i=0; i<count; i++) {
- wxString exp = this->GetColumnText(i, 0);
- if (exp == expr) {
- wxMessageBox(_("A similar expression already exist in the watches table"), wxT("CodeLite"), wxOK | wxICON_INFORMATION);
- return;
- }
- }
-
- long item = AppendListCtrlRow(m_listTable);
- this->SetColumnText(item, 0, expr);
-
- //info.SetState(wxLIST_STATE_SELECTED | wxLIST_STATE_FOCUSED);
- //item = m_listTable->InsertItem(info);
-
- m_listTable->SetColumnWidth(0, 200);
- m_listTable->SetColumnWidth(1, 600);
-}
-
-void WatchesTable::RefreshValues()
-{
- //ask the debugger to update the table
- //to trigger the update for the table we issue a simple
- //file line update request from the debugger
- if (ManagerST::Get()->DbgCanInteract()) {
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if (dbgr && dbgr->IsRunning()) {
- dbgr->QueryFileLine();
- }
- }
-}
-
-void WatchesTable::UpdateExpression(const wxString &expr, const wxString &value)
-{
- //find the item of this expression
- long item = FindExpressionItem(expr);
- if (item == wxNOT_FOUND) {
- return;
- }
- //update the text
- SetColumnText(item, 1, value);
-}
-
-void WatchesTable::SetColumnText ( long indx, long column, const wxString &rText )
-{
- m_listTable->Freeze();
- wxListItem list_item;
- list_item.SetId ( indx );
- list_item.SetColumn ( column );
- list_item.SetMask ( wxLIST_MASK_TEXT );
- list_item.SetText ( rText );
- m_listTable->SetItem ( list_item );
- m_listTable->Thaw();
-}
-
-wxString WatchesTable::GetColumnText(long index, long column)
-{
- wxListItem list_item;
- list_item.SetId ( index );
- list_item.SetColumn ( column );
- list_item.SetMask ( wxLIST_MASK_TEXT );
- m_listTable->GetItem ( list_item );
- return list_item.GetText();
-}
-
-long WatchesTable::FindExpressionItem(const wxString &expression)
-{
- long item = -1;
- while ( true ) {
- item = m_listTable->GetNextItem(item,
- wxLIST_NEXT_ALL,
- wxLIST_STATE_DONTCARE);
-
- if ( item == -1 )
- break;
-
- wxString text(GetColumnText(item, 0));
- if (text == expression)
- return item;
- }
- return wxNOT_FOUND;
-}
-
-wxArrayString WatchesTable::GetExpressions()
-{
- long item = wxNOT_FOUND;
- wxArrayString expressions;
- while ( true ) {
- item = m_listTable->GetNextItem(item,
- wxLIST_NEXT_ALL,
- wxLIST_STATE_DONTCARE);
-
- if ( item == -1 )
- break;
-
- wxString text(GetColumnText(item, 0));
- expressions.Add(text);
- }
- return expressions;
-}
-
-void WatchesTable::OnMenuExpandExpr(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- DoShowMoreDetails(m_selectedId);
-}
-
-void WatchesTable::OnListEditLabelEnd(wxListEvent &event)
-{
- wxUnusedVar(event);
- RefreshValues();
-}
-
-void WatchesTable::OnMenuDerefExpr(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- if (m_selectedId != wxNOT_FOUND) {
- wxString curvalue = GetColumnText(m_selectedId, 0);
- curvalue.Prepend(wxT("*"));
- SetColumnText(m_selectedId, 0, curvalue);
- RefreshValues();
- }
-}
-
-void WatchesTable::OnMenuEditExpr(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- if (m_selectedId != wxNOT_FOUND) {
- wxString curvalue = GetColumnText(m_selectedId, 0);
- wxString newValue = wxGetTextFromUser(wxT("Edit expression:"), wxT("Edit"), curvalue);
- if (newValue.IsEmpty() == false) {
- SetColumnText(m_selectedId, 0, newValue);
- RefreshValues();
- }
- }
-}
-
-void WatchesTable::OnMenuCopyExpr(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- if (m_selectedId != wxNOT_FOUND) {
- wxString expr = GetColumnText(m_selectedId, 0);
- // copy expr + value to clipboard
- CopyToClipboard(expr);
- }
-}
-
-void WatchesTable::OnMenuCopyBoth(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- if (m_selectedId != wxNOT_FOUND) {
- wxString expr = GetColumnText(m_selectedId, 0);
- wxString value = GetColumnText(m_selectedId, 1);
- // copy expr + value to clipboard
- CopyToClipboard(expr + wxT(" ") + value);
- }
-}
-
-void WatchesTable::OnMenuCopyValue(wxCommandEvent& event)
-{
- wxUnusedVar(event);
- if (m_selectedId != wxNOT_FOUND) {
- wxString value = GetColumnText(m_selectedId, 1);
- // copy expr + value to clipboard
- CopyToClipboard(value);
- }
-}
-
-void WatchesTable::OnDisplayFormat(wxCommandEvent& event)
-{
- wxUnusedVar(event);
-
- // refresh the table
- RefreshValues();
-}
-
-wxString WatchesTable::GetDisplayFormat()
-{
- return m_choiceDisplayFormat->GetStringSelection();
-}
-
-void WatchesTable::OnNewWatch_Iternal(wxCommandEvent& event)
-{
- wxString expr = event.GetString();
- if( expr.empty() == false ){
- AddExpression(expr);
- RefreshValues();
- }
-}
-
-void WatchesTable::DoShowMoreDetails(long item)
-{
- if( item != wxNOT_FOUND ) {
- wxString value = GetColumnText(item, 0);
- IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger();
- if ( dbgr && dbgr->IsRunning() && ManagerST::Get()->DbgCanInteract() ) {
- dbgr->CreateVariableObject( value, DBG_USERR_WATCHTABLE );
- }
- }
-}
diff --git a/LiteEditor/simpletable.h b/LiteEditor/simpletable.h
deleted file mode 100644
index 6900014d..00000000
--- a/LiteEditor/simpletable.h
+++ /dev/null
@@ -1,84 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : simpletable.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __simpletable__
-#define __simpletable__
-
-/**
-@file
-Subclass of SimpleTableBase, which is generated by wxFormBuilder.
-*/
-
-#include "simpletablebase.h"
-
-/** Implementing SimpleTableBase */
-class WatchesTable : public SimpleTableBase
-{
- long m_selectedId;
- wxMenu *m_rclickMenu;
-
-private:
- wxString GetColumnText(long indx, long column);
- void SetColumnText ( long indx, long column, const wxString &rText );
- long FindExpressionItem(const wxString &expression);
-
-protected:
- // Handlers for SimpleTableBase events.
- void OnItemActivated( wxListEvent& event );
- void OnItemSelected( wxListEvent& event );
- void OnListKeyDown( wxListEvent& event );
- void OnItemRightClick(wxListEvent& event);
- void InitTable();
- void OnNewWatch(wxCommandEvent &event);
- void OnNewWatchUI(wxUpdateUIEvent &event);
- void OnDeleteAll(wxCommandEvent &event);
- void OnDeleteAllUI(wxUpdateUIEvent &event);
- void OnDeleteWatch(wxCommandEvent &event);
- void OnDeleteWatchUI(wxUpdateUIEvent &event);
- void OnItemDeSelected(wxListEvent &event);
- void DoShowMoreDetails(long item);
- void OnMenuExpandExpr(wxCommandEvent &event);
- void OnMenuEditExpr(wxCommandEvent &event);
- void OnMenuCopyExpr(wxCommandEvent &event);
- void OnMenuCopyValue(wxCommandEvent &event);
- void OnMenuCopyBoth(wxCommandEvent &event);
- void OnMenuDerefExpr(wxCommandEvent &event);
- void OnListEditLabelEnd(wxListEvent &event);
- void OnDisplayFormat(wxCommandEvent &event);
-
- void OnNewWatch_Iternal(wxCommandEvent &event);
-public:
- /** Constructor */
- WatchesTable( wxWindow* parent );
- virtual ~WatchesTable();
-
- void AddExpression(const wxString &expr);
- void UpdateExpression(const wxString &expr, const wxString &value);
- wxArrayString GetExpressions();
- void Clear();
- void RefreshValues();
- wxString GetDisplayFormat();
-};
-
-#endif // __simpletable__
diff --git a/LiteEditor/simpletablebase.cpp b/LiteEditor/simpletablebase.cpp
deleted file mode 100644
index fbc9947d..00000000
--- a/LiteEditor/simpletablebase.cpp
+++ /dev/null
@@ -1,125 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "simpletablebase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-SimpleTableBase::SimpleTableBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listTable = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_EDIT_LABELS|wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- bSizer3->Add( m_listTable, 1, wxEXPAND|wxALL, 1 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- m_button1 = new wxButton( this, wxID_ANY, wxT("New..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_button1, 0, wxALL|wxEXPAND, 5 );
-
- m_button2 = new wxButton( this, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_button2, 0, wxALL|wxEXPAND, 5 );
-
- m_button3 = new wxButton( this, wxID_ANY, wxT("Delete All"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_button3, 0, wxALL|wxEXPAND, 5 );
-
- bSizer3->Add( bSizer4, 0, wxEXPAND, 5 );
-
- bSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticTextDisplayText = new wxStaticText( this, wxID_ANY, wxT("Display Format:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextDisplayText->Wrap( -1 );
- bSizer2->Add( m_staticTextDisplayText, 0, wxALL, 5 );
-
- wxString m_choiceDisplayFormatChoices[] = { wxT("natural"), wxT("hexadecimal"), wxT("binary"), wxT("octal"), wxT("decimal") };
- int m_choiceDisplayFormatNChoices = sizeof( m_choiceDisplayFormatChoices ) / sizeof( wxString );
- m_choiceDisplayFormat = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceDisplayFormatNChoices, m_choiceDisplayFormatChoices, 0 );
- m_choiceDisplayFormat->SetSelection( 0 );
- bSizer2->Add( m_choiceDisplayFormat, 0, 0, 5 );
-
- bSizer1->Add( bSizer2, 0, 0, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_listTable->Connect( wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, wxListEventHandler( SimpleTableBase::OnListEditLabelBegin ), NULL, this );
- m_listTable->Connect( wxEVT_COMMAND_LIST_END_LABEL_EDIT, wxListEventHandler( SimpleTableBase::OnListEditLabelEnd ), NULL, this );
- m_listTable->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( SimpleTableBase::OnItemActivated ), NULL, this );
- m_listTable->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( SimpleTableBase::OnItemDeSelected ), NULL, this );
- m_listTable->Connect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( SimpleTableBase::OnItemRightClick ), NULL, this );
- m_listTable->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( SimpleTableBase::OnItemSelected ), NULL, this );
- m_listTable->Connect( wxEVT_COMMAND_LIST_KEY_DOWN, wxListEventHandler( SimpleTableBase::OnListKeyDown ), NULL, this );
- m_button1->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SimpleTableBase::OnNewWatch ), NULL, this );
- m_button1->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SimpleTableBase::OnNewWatchUI ), NULL, this );
- m_button2->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SimpleTableBase::OnDeleteWatch ), NULL, this );
- m_button2->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SimpleTableBase::OnDeleteWatchUI ), NULL, this );
- m_button3->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SimpleTableBase::OnDeleteAll ), NULL, this );
- m_button3->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SimpleTableBase::OnDeleteAllUI ), NULL, this );
- m_choiceDisplayFormat->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( SimpleTableBase::OnDisplayFormat ), NULL, this );
-}
-
-SimpleTableBase::~SimpleTableBase()
-{
- // Disconnect Events
- m_listTable->Disconnect( wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, wxListEventHandler( SimpleTableBase::OnListEditLabelBegin ), NULL, this );
- m_listTable->Disconnect( wxEVT_COMMAND_LIST_END_LABEL_EDIT, wxListEventHandler( SimpleTableBase::OnListEditLabelEnd ), NULL, this );
- m_listTable->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( SimpleTableBase::OnItemActivated ), NULL, this );
- m_listTable->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( SimpleTableBase::OnItemDeSelected ), NULL, this );
- m_listTable->Disconnect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( SimpleTableBase::OnItemRightClick ), NULL, this );
- m_listTable->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( SimpleTableBase::OnItemSelected ), NULL, this );
- m_listTable->Disconnect( wxEVT_COMMAND_LIST_KEY_DOWN, wxListEventHandler( SimpleTableBase::OnListKeyDown ), NULL, this );
- m_button1->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SimpleTableBase::OnNewWatch ), NULL, this );
- m_button1->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SimpleTableBase::OnNewWatchUI ), NULL, this );
- m_button2->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SimpleTableBase::OnDeleteWatch ), NULL, this );
- m_button2->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SimpleTableBase::OnDeleteWatchUI ), NULL, this );
- m_button3->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SimpleTableBase::OnDeleteAll ), NULL, this );
- m_button3->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SimpleTableBase::OnDeleteAllUI ), NULL, this );
- m_choiceDisplayFormat->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( SimpleTableBase::OnDisplayFormat ), NULL, this );
-}
-
-LocalsTableBase::LocalsTableBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listTable = new wxListView( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_VRULES );
- bSizer3->Add( m_listTable, 1, wxEXPAND|wxALL, 1 );
-
- bSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
-
- wxString m_choiceExpandChoices[] = { wxT("Select an entry to explore it in the 'Display Variable' dialog"), wxT("Double click an entry to explore it in the 'Display Variable' dialog") };
- int m_choiceExpandNChoices = sizeof( m_choiceExpandChoices ) / sizeof( wxString );
- m_choiceExpand = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceExpandNChoices, m_choiceExpandChoices, 0 );
- m_choiceExpand->SetSelection( 1 );
- bSizer1->Add( m_choiceExpand, 0, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- // Connect Events
- m_listTable->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( LocalsTableBase::OnItemActivated ), NULL, this );
- m_listTable->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( LocalsTableBase::OnItemSelected ), NULL, this );
-}
-
-LocalsTableBase::~LocalsTableBase()
-{
- // Disconnect Events
- m_listTable->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( LocalsTableBase::OnItemActivated ), NULL, this );
- m_listTable->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( LocalsTableBase::OnItemSelected ), NULL, this );
-}
diff --git a/LiteEditor/simpletablebase.h b/LiteEditor/simpletablebase.h
deleted file mode 100644
index dee80b9b..00000000
--- a/LiteEditor/simpletablebase.h
+++ /dev/null
@@ -1,86 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __simpletablebase__
-#define __simpletablebase__
-
-#include <wx/listctrl.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/stattext.h>
-#include <wx/choice.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class SimpleTableBase
-///////////////////////////////////////////////////////////////////////////////
-class SimpleTableBase : public wxPanel
-{
- private:
-
- protected:
- wxListCtrl* m_listTable;
- wxButton* m_button1;
- wxButton* m_button2;
- wxButton* m_button3;
- wxStaticText* m_staticTextDisplayText;
- wxChoice* m_choiceDisplayFormat;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnListEditLabelBegin( wxListEvent& event ){ event.Skip(); }
- virtual void OnListEditLabelEnd( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemActivated( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemDeSelected( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemRightClick( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ){ event.Skip(); }
- virtual void OnListKeyDown( wxListEvent& event ){ event.Skip(); }
- virtual void OnNewWatch( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnNewWatchUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnDeleteWatch( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnDeleteWatchUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnDeleteAll( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnDeleteAllUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnDisplayFormat( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- SimpleTableBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~SimpleTableBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class LocalsTableBase
-///////////////////////////////////////////////////////////////////////////////
-class LocalsTableBase : public wxPanel
-{
- private:
-
- protected:
- wxListView* m_listTable;
- wxChoice* m_choiceExpand;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemActivated( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ){ event.Skip(); }
-
-
- public:
- LocalsTableBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
- ~LocalsTableBase();
-
-};
-
-#endif //__simpletablebase__
diff --git a/LiteEditor/singleinstancethreadjob.cpp b/LiteEditor/singleinstancethreadjob.cpp
deleted file mode 100644
index 2f85e68a..00000000
--- a/LiteEditor/singleinstancethreadjob.cpp
+++ /dev/null
@@ -1,99 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : singleinstancethreadjob.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include <wx/tokenzr.h>
-#include "globals.h"
-#include "singleinstancethreadjob.h"
-#include "dirsaver.h"
-#include <wx/filename.h>
-#include <wx/dir.h>
-
-const wxEventType wxEVT_CMD_SINGLE_INSTANCE_THREAD_OPEN_FILES = wxNewEventType();
-const wxEventType wxEVT_CMD_SINGLE_INSTANCE_THREAD_RAISE_APP = wxNewEventType();
-
-SingleInstanceThreadJob::SingleInstanceThreadJob(wxEvtHandler *parent, const wxString &path)
- : Job(parent)
- , m_path(path)
-{
-}
-
-SingleInstanceThreadJob::~SingleInstanceThreadJob()
-{
-}
-
-void SingleInstanceThreadJob::Process(wxThread* thread)
-{
- if ( wxFileName::DirExists(m_path) == false ) {
- return;
- }
-
- Mkdir(m_path + wxT("/ipc"));
- wxString cmd_file(m_path + wxT("/ipc/command.msg"));
- wxString cmd_file_inuse(m_path + wxT("/ipc/command.msg_inuse"));
-
- // loop until the thread is requested to exit
- while ( thread->TestDestroy() == false ) {
-
- // client will place a file named: message.msg
-
- if ( wxFileName::FileExists(cmd_file) ) {
- // a command file was found, rename it to a temporary name
- if ( wxRenameFile(cmd_file, cmd_file_inuse) ) {
-
- wxString content;
- ReadFileWithConversion(cmd_file_inuse, content);
- if ( content.IsEmpty() == false ) {
- ProcessFile(content);
- } else {
- // file was found but it is empty
- // just make this app active
- wxCommandEvent e(wxEVT_CMD_SINGLE_INSTANCE_THREAD_RAISE_APP);
- wxPostEvent(m_parent, e);
- }
-
- // remove it
- wxRemoveFile(cmd_file_inuse);
- }
- }
- wxThread::Sleep(100);
- }
-}
-
-void SingleInstanceThreadJob::ProcessFile(const wxString& fileContent)
-{
- // each line in the file content contains a file name to be opened, pass it to the main thread
- wxCommandEvent e(wxEVT_CMD_SINGLE_INSTANCE_THREAD_OPEN_FILES);
-
- wxArrayString *arr = new wxArrayString();
- wxArrayString a = wxStringTokenize(fileContent, wxT("\n"));
-
- for (size_t i=0; i<a.GetCount(); i++) {
- // since we are sending an event between threads, use c_str() to avoid ref-counting
- arr->Add(a.Item(i).c_str());
- }
-
- e.SetClientData(arr);
- wxPostEvent(m_parent, e);
-}
diff --git a/LiteEditor/singleinstancethreadjob.h b/LiteEditor/singleinstancethreadjob.h
deleted file mode 100644
index 4fa60c7d..00000000
--- a/LiteEditor/singleinstancethreadjob.h
+++ /dev/null
@@ -1,48 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : singleinstancethreadjob.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __singleinstancethreadjob__
-#define __singleinstancethreadjob__
-
-#include <wx/event.h>
-#include "job.h"
-
-extern const wxEventType wxEVT_CMD_SINGLE_INSTANCE_THREAD_OPEN_FILES;
-extern const wxEventType wxEVT_CMD_SINGLE_INSTANCE_THREAD_RAISE_APP;
-
-class SingleInstanceThreadJob : public Job {
- wxString m_path;
-
-protected:
- void ProcessFile(const wxString &fileContent);
-
-public:
- SingleInstanceThreadJob(wxEvtHandler *parent, const wxString &path);
- virtual ~SingleInstanceThreadJob();
-
-public:
- virtual void Process(wxThread *thread);
-};
-#endif // __singleinstancethreadjob__
diff --git a/LiteEditor/stack_walker.cpp b/LiteEditor/stack_walker.cpp
deleted file mode 100644
index 4b8ce07c..00000000
--- a/LiteEditor/stack_walker.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : stack_walker.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "stack_walker.h"
-#include "wx/txtstrm.h"
-
-#if wxUSE_STACKWALKER
-
-StackWalker::StackWalker(wxTextOutputStream *output)
-: m_output(output)
-{
-}
-
-StackWalker::~StackWalker()
-{
-}
-
-void StackWalker::OnStackFrame(const wxStackFrame &frame)
-{
- *m_output
- << frame.GetModule() << wxT(" ")
- << frame.GetName() << wxT(" ")
- << frame.GetFileName() << wxT(" ")
- << (int)frame.GetLine() << wxT("\n");
-}
-#endif
-
-
-
diff --git a/LiteEditor/stack_walker.h b/LiteEditor/stack_walker.h
deleted file mode 100644
index 369a4dbc..00000000
--- a/LiteEditor/stack_walker.h
+++ /dev/null
@@ -1,44 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : stack_walker.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef STACK_WALKER_H
-#define STACK_WALKER_H
-
-#include "wx/string.h"
-#include <wx/stackwalk.h>
-
-#if wxUSE_STACKWALKER
-class wxTextOutputStream;
-class StackWalker : public wxStackWalker
-{
- wxTextOutputStream *m_output;
-
-public:
- StackWalker(wxTextOutputStream *output);
- virtual ~StackWalker();
- void OnStackFrame(const wxStackFrame &frame);
-};
-#endif
-
-#endif //STACK_WALKER_H
diff --git a/LiteEditor/stdwx.h b/LiteEditor/stdwx.h
deleted file mode 100644
index 74a3f68d..00000000
--- a/LiteEditor/stdwx.h
+++ /dev/null
@@ -1,51 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : stdwx.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////////
-// Name: stdwx.h
-// Purpose: declaration of per compiled header file.
-// Author: Eran Ifrah
-// Modified by:
-// Created: 19/8/2006
-// Copyright: (c) 2005 Eran Ifrah
-// Licence: wxWindows licence
-///////////////////////////////////////////////////////////////////////////////
-
-#ifndef _stdwx_h_
-#define _stdwx_h_
-
-// SYSTEM INCLUDES
-#include <wx/wxprec.h>
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-#ifndef WX_PRECOMP
- #include "wx/wx.h"
-#endif
-
-// APPLICATION INCLUDES
-#include <wx/image.h>
-
-
-#endif
diff --git a/LiteEditor/stringhighlighterjob.cpp b/LiteEditor/stringhighlighterjob.cpp
deleted file mode 100644
index 865b4a41..00000000
--- a/LiteEditor/stringhighlighterjob.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : stringhighlighterjob.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "stringsearcher.h"
-#include "stringhighlighterjob.h"
-#include <vector>
-
-StringHighlighterJob::StringHighlighterJob(wxEvtHandler *parent, const wxChar *str, const wxChar *word)
-: Job(parent)
-, m_str(str)
-, m_word(word)
-{
-}
-
-StringHighlighterJob::~StringHighlighterJob()
-{
-}
-
-void StringHighlighterJob::Process(wxThread* thread)
-{
- wxUnusedVar(thread);
- if( m_str.IsEmpty() || m_word.IsEmpty() ) {return;}
-
- int pos(0);
- int match_len(0);
-
- // remove reverse search
- int offset(0);
-
- // allocate result on the heap (will be freed by the caller)
- std::vector<std::pair<int, int> > *matches = new std::vector<std::pair<int, int> >;
-
- while ( StringFindReplacer::Search(m_str, offset, m_word, wxSD_MATCHCASE | wxSD_MATCHWHOLEWORD, pos, match_len) ) {
- // add result
- std::pair<int, int> match;
- match.first = pos;
- match.second = match_len;
-
- matches->push_back( match );
- offset = pos + match_len;
- }
-
- // report the result back to parent
- Post((void*) matches);
-}
diff --git a/LiteEditor/stringhighlighterjob.h b/LiteEditor/stringhighlighterjob.h
deleted file mode 100644
index da7a489b..00000000
--- a/LiteEditor/stringhighlighterjob.h
+++ /dev/null
@@ -1,42 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : stringhighlighterjob.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __stringhighlighterjob__
-#define __stringhighlighterjob__
-
-#include "job.h"
-
-class StringHighlighterJob : public Job {
-
- wxString m_str;
- wxString m_word;
-
-public:
- StringHighlighterJob(wxEvtHandler *parent, const wxChar *str, const wxChar *word);
- virtual ~StringHighlighterJob();
-
-public:
- virtual void Process(wxThread *thread);
-};
-#endif // __stringhighlighterjob__
diff --git a/LiteEditor/svninfo.cpp b/LiteEditor/svninfo.cpp
deleted file mode 100644
index c9ab7081..00000000
--- a/LiteEditor/svninfo.cpp
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <wx/string.h>
-const wxChar * SvnRevision = wxT("3833");
-
diff --git a/LiteEditor/symbols_dialog.cpp b/LiteEditor/symbols_dialog.cpp
deleted file mode 100644
index 4e5476a2..00000000
--- a/LiteEditor/symbols_dialog.cpp
+++ /dev/null
@@ -1,172 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : symbols_dialog.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "symbols_dialog.h"
-#include "manager.h"
-#include "macros.h"
-#include "globals.h"
-
-BEGIN_EVENT_TABLE(SymbolsDialog, SymbolsDialogBase)
- EVT_CHAR_HOOK(SymbolsDialog::OnCharHook)
-END_EVENT_TABLE()
-
-SymbolsDialog::SymbolsDialog( wxWindow* parent )
- : SymbolsDialogBase( parent )
- , m_line(wxNOT_FOUND)
- , m_file(wxEmptyString)
- , m_selectedItem(wxNOT_FOUND)
-{
- // Initialise the list control
- m_results->InsertColumn(0, wxT("Symbol"));
- m_results->InsertColumn(1, wxT("Kind"));
- m_results->InsertColumn(2, wxT("File"));
- m_results->InsertColumn(3, wxT("Line"));
- m_results->InsertColumn(4, wxT("Pattern"));
-
- m_results->Connect(wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler(SymbolsDialog::OnItemDeselected), NULL, this);
- Centre();
-}
-
-void SymbolsDialog::AddSymbol(const TagEntryPtr &tag, bool sel)
-{
- //-------------------------------------------------------
- // Populate the columns
- //-------------------------------------------------------
-
- wxString line;
- line << tag->GetLine();
-
- long index = AppendListCtrlRow(m_results);
- SetColumnText(m_results, index, 0, tag->GetFullDisplayName());
- SetColumnText(m_results, index, 1, tag->GetKind());
- SetColumnText(m_results, index, 2, tag->GetFile());
- SetColumnText(m_results, index, 3, line);
- SetColumnText(m_results, index, 4, tag->GetPattern());
-
- // list ctrl can reorder items, so use returned index to insert tag
- m_tags.insert(m_tags.begin()+index, tag);
-}
-
-void SymbolsDialog::AddSymbols(const std::vector<TagEntryPtr> &tags, size_t sel)
-{
- wxUnusedVar(sel);
- for (size_t i=0; i<tags.size(); i++) {
- AddSymbol(tags[i], false);
- }
- m_results->SetColumnWidth(0, wxLIST_AUTOSIZE);
- m_results->SetColumnWidth(1, wxLIST_AUTOSIZE);
- m_results->SetColumnWidth(2, wxLIST_AUTOSIZE);
- m_results->SetColumnWidth(3, wxLIST_AUTOSIZE);
- m_results->SetColumnWidth(4, wxLIST_AUTOSIZE);
-
- m_results->SetFocus();
- if (tags.empty() == false) {
- m_results->SetItemState(0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
- m_results->SetItemState(0, wxLIST_STATE_FOCUSED, wxLIST_STATE_FOCUSED);
- m_tag = m_tags[m_selectedItem = 0];
- }
-}
-
-void SymbolsDialog::UpdateFileAndLine(wxListEvent &event)
-{
- wxString line_number;
- m_file = GetColumnText(m_results, event.m_itemIndex, 2);
- line_number = GetColumnText(m_results, event.m_itemIndex, 3);
- m_pattern = GetColumnText(m_results, event.m_itemIndex, 4);
- line_number.ToLong( &m_line );
- m_project = ManagerST::Get()->GetProjectNameByFile(m_file);
-}
-
-void SymbolsDialog::OnItemSelected(wxListEvent &event)
-{
- UpdateFileAndLine(event);
- m_tag = m_tags[m_selectedItem = event.m_itemIndex];
-}
-
-void SymbolsDialog::OnItemActivated(wxListEvent &event)
-{
- UpdateFileAndLine(event);
- EndModal(wxID_OK);
-}
-
-
-void SymbolsDialog::OnButtonCancel(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- EndModal(wxID_CANCEL);
-}
-
-void SymbolsDialog::OnButtonOK(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- EndModal(wxID_OK);
-}
-
-void SymbolsDialog::OnItemDeselected(wxListEvent &event)
-{
- wxUnusedVar(event);
- m_selectedItem = wxNOT_FOUND;
- m_tag = NULL;
-}
-
-void SymbolsDialog::OnCharHook(wxKeyEvent &event)
-{
- if (event.GetKeyCode() == WXK_DOWN) {
-
- if (m_selectedItem == wxNOT_FOUND && m_results->GetItemCount() > 0) {
- m_tag = m_tags[m_selectedItem = 0];
- }
-
- if (m_selectedItem == wxNOT_FOUND)
- return;
-
- if (m_results->GetItemCount() > m_selectedItem + 1) {
- m_results->SetItemState(m_selectedItem, wxLIST_STATE_SELECTED, wxLIST_STATE_DROPHILITED);
- m_tag = m_tags[++m_selectedItem];
-
- m_results->SetItemState(m_selectedItem, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
- m_results->EnsureVisible(m_selectedItem);
- return;
- }
- } else if ( event.GetKeyCode() == WXK_UP) {
- if (m_selectedItem == wxNOT_FOUND && m_results->GetItemCount() > 0) {
- m_tag = m_tags[m_selectedItem = 0];
- }
-
- if (m_selectedItem == wxNOT_FOUND)
- return;
-
- //select the previous one if we can
- if ((m_selectedItem - 1) >= 0) {
- //we can select the next one
- m_results->SetItemState(m_selectedItem, wxLIST_STATE_SELECTED, wxLIST_STATE_DROPHILITED);
- m_tag = m_tags[--m_selectedItem];
-
- m_results->SetItemState(m_selectedItem, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
- m_results->EnsureVisible(m_selectedItem);
- }
- return;
- }
- event.Skip();
-}
diff --git a/LiteEditor/symbols_dialog.h b/LiteEditor/symbols_dialog.h
deleted file mode 100644
index 4df46054..00000000
--- a/LiteEditor/symbols_dialog.h
+++ /dev/null
@@ -1,95 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : symbols_dialog.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __symbols_dialog__
-#define __symbols_dialog__
-
-/**
-@file
-Subclass of SymbolsDialogBase, which is generated by wxFormBuilder.
-@todo Add your event handlers directly to this file.
-*/
-
-#include "symbols_dialog_base.h"
-#include "entry.h"
-#include "vector"
-
-/** Implementing SymbolsDialogBase */
-class SymbolsDialog : public SymbolsDialogBase
-{
- std::vector<TagEntryPtr> m_tags;
- TagEntryPtr m_tag;
- long m_line;
- wxString m_file;
- wxString m_project;
- wxString m_pattern;
- long m_selectedItem;
-
-public:
- /** Constructor */
- SymbolsDialog( wxWindow* parent );
-
- /**
- * Add symbol to the dialog - this should be called before calling the dialog
- * ShowModal() method
- * \param tag tag to add
- * \param sel when set to true, this item will be selected
- */
- void AddSymbol(const TagEntryPtr &tag, bool sel);
-
- /**
- * A wrapper around the AddSymbol methos that allows
- * adding a vector of tags
- * \param tags
- * \param sel zero based index to select
- */
- void AddSymbols(const std::vector<TagEntryPtr> &tags, size_t sel);
-
-
- //---------------------------------------------
- // Getters
- //---------------------------------------------
- const wxString &GetFile() const { return m_file; }
- long GetLine() const { return m_line; }
- const wxString &GetProject() const { return m_project; }
- const wxString &GetPattern() const { return m_pattern; }
- TagEntryPtr GetTag() { return m_tag; }
-
-private:
- void UpdateFileAndLine(wxListEvent &event);
-
- //-----------------------------------------------
- // Event handlers
- //-----------------------------------------------
- void OnItemSelected(wxListEvent &event);
- void OnItemActivated(wxListEvent &event);
- void OnButtonCancel(wxCommandEvent &event);
- void OnButtonOK(wxCommandEvent &event);
- void OnCharHook(wxKeyEvent &event);
- void OnItemDeselected(wxListEvent &event);
-
- DECLARE_EVENT_TABLE()
-};
-
-#endif // __symbols_dialog__
diff --git a/LiteEditor/symbols_dialog_base.cpp b/LiteEditor/symbols_dialog_base.cpp
deleted file mode 100644
index 62ffab54..00000000
--- a/LiteEditor/symbols_dialog_base.cpp
+++ /dev/null
@@ -1,91 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : symbols_dialog_base.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#ifndef WX_PRECOMP
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "symbols_dialog_base.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-SymbolsDialogBase::SymbolsDialogBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_results = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
- mainSizer->Add( m_results, 1, wxALL|wxEXPAND, 5 );
-
- statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( statLine, 0, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* btnSizer;
- btnSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_okButton = new wxButton( this, wxID_ANY, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_okButton->SetDefault();
- btnSizer->Add( m_okButton, 0, wxALIGN_RIGHT|wxALL, 5 );
-
- m_cancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- btnSizer->Add( m_cancel, 0, wxALIGN_RIGHT|wxALL, 5 );
-
- mainSizer->Add( btnSizer, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_results->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( SymbolsDialogBase::OnItemActivated ), NULL, this );
- m_results->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( SymbolsDialogBase::OnItemSelected ), NULL, this );
- m_okButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SymbolsDialogBase::OnButtonOK ), NULL, this );
- m_cancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SymbolsDialogBase::OnButtonCancel ), NULL, this );
-}
-
-SymbolsDialogBase::~SymbolsDialogBase()
-{
- // Disconnect Events
- m_results->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( SymbolsDialogBase::OnItemActivated ), NULL, this );
- m_results->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( SymbolsDialogBase::OnItemSelected ), NULL, this );
- m_okButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SymbolsDialogBase::OnButtonOK ), NULL, this );
- m_cancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SymbolsDialogBase::OnButtonCancel ), NULL, this );
-}
diff --git a/LiteEditor/symbols_dialog_base.h b/LiteEditor/symbols_dialog_base.h
deleted file mode 100644
index 88ac89ce..00000000
--- a/LiteEditor/symbols_dialog_base.h
+++ /dev/null
@@ -1,76 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : symbols_dialog_base.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __symbols_dialog_base__
-#define __symbols_dialog_base__
-
-#include <wx/listctrl.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class SymbolsDialogBase
-///////////////////////////////////////////////////////////////////////////////
-class SymbolsDialogBase : public wxDialog
-{
- private:
-
- protected:
- wxListCtrl* m_results;
- wxStaticLine* statLine;
- wxButton* m_okButton;
- wxButton* m_cancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemActivated( wxListEvent& event ){ event.Skip(); }
- virtual void OnItemSelected( wxListEvent& event ){ event.Skip(); }
- virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- SymbolsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Resolve Ambiguity"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 851,428 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~SymbolsDialogBase();
-
-};
-
-#endif //__symbols_dialog_base__
diff --git a/LiteEditor/syntaxhighlightbasedlg.cpp b/LiteEditor/syntaxhighlightbasedlg.cpp
deleted file mode 100644
index a5795dab..00000000
--- a/LiteEditor/syntaxhighlightbasedlg.cpp
+++ /dev/null
@@ -1,88 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : syntaxhighlightbasedlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "syntaxhighlightbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-SyntaxHighlightBaseDlg::SyntaxHighlightBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* buttonSizer;
- buttonSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- buttonSizer->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- buttonSizer->Add( m_buttonCancel, 0, wxALL, 5 );
-
- m_buttonApply = new wxButton( this, wxID_ANY, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonApply->SetToolTip( wxT("Apply the current changes to the editor without closing the dialog") );
-
- buttonSizer->Add( m_buttonApply, 0, wxALL, 5 );
-
- m_buttonDefaults = new wxButton( this, wxID_ANY, wxT("Defaults..."), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonDefaults->SetToolTip( wxT("Restore all lexers to default values") );
-
- buttonSizer->Add( m_buttonDefaults, 0, wxALL, 5 );
-
- bSizer1->Add( buttonSizer, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SyntaxHighlightBaseDlg::OnButtonOK ), NULL, this );
- m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SyntaxHighlightBaseDlg::OnButtonCancel ), NULL, this );
- m_buttonApply->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SyntaxHighlightBaseDlg::OnButtonApply ), NULL, this );
- m_buttonDefaults->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SyntaxHighlightBaseDlg::OnRestoreDefaults ), NULL, this );
-}
-
-SyntaxHighlightBaseDlg::~SyntaxHighlightBaseDlg()
-{
- // Disconnect Events
- m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SyntaxHighlightBaseDlg::OnButtonOK ), NULL, this );
- m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SyntaxHighlightBaseDlg::OnButtonCancel ), NULL, this );
- m_buttonApply->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SyntaxHighlightBaseDlg::OnButtonApply ), NULL, this );
- m_buttonDefaults->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SyntaxHighlightBaseDlg::OnRestoreDefaults ), NULL, this );
-}
diff --git a/LiteEditor/syntaxhighlightbasedlg.h b/LiteEditor/syntaxhighlightbasedlg.h
deleted file mode 100644
index 56520e9b..00000000
--- a/LiteEditor/syntaxhighlightbasedlg.h
+++ /dev/null
@@ -1,76 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : syntaxhighlightbasedlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __syntaxhighlightbasedlg__
-#define __syntaxhighlightbasedlg__
-
-#include <wx/statline.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class SyntaxHighlightBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class SyntaxHighlightBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
- wxButton* m_buttonApply;
- wxButton* m_buttonDefaults;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonApply( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnRestoreDefaults( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- SyntaxHighlightBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Syntax Highlight:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 557,373 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~SyntaxHighlightBaseDlg();
-
-};
-
-#endif //__syntaxhighlightbasedlg__
diff --git a/LiteEditor/syntaxhighlightdlg.cpp b/LiteEditor/syntaxhighlightdlg.cpp
deleted file mode 100644
index c3c21bf4..00000000
--- a/LiteEditor/syntaxhighlightdlg.cpp
+++ /dev/null
@@ -1,202 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : syntaxhighlightdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "lexer_page.h"
-#include <wx/xrc/xmlres.h>
-#include "frame.h"
-#include "windowattrmanager.h"
-#include <wx/notebook.h>
-#include "macros.h"
-#include "editor_config.h"
-#include <wx/dir.h>
-#include "syntaxhighlightdlg.h"
-#include "manager.h"
-
-SyntaxHighlightDlg::SyntaxHighlightDlg( wxWindow* parent )
-:
-SyntaxHighlightBaseDlg( parent )
-{
- GetSizer()->Insert(0, CreateSyntaxHighlightPage(), 1, wxALL|wxEXPAND, 5);
- GetSizer()->Layout();
- GetSizer()->Fit(this);
- m_buttonOk->SetFocus();
- WindowAttrManager::Load(this, wxT("SyntaxHighlightDlgAttr"), NULL);
-}
-
-void SyntaxHighlightDlg::OnButtonOK( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- SaveChanges();
- Frame::Get()->GetMainBook()->ApplySettingsChanges();
- // and close the dialog
- EndModal(wxID_OK);
-}
-
-void SyntaxHighlightDlg::OnButtonCancel( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- wxString curSelTheme = m_themes->GetStringSelection().IsEmpty() ? wxT("Default") : m_themes->GetStringSelection();
- if (curSelTheme != m_startingTheme) {
- //restore the starting theme
- EditorConfigST::Get()->SaveStringValue(wxT("LexerTheme"), m_startingTheme);
- EditorConfigST::Get()->LoadLexers(false);
- }
-
- EndModal(wxID_CANCEL);
-}
-
-void SyntaxHighlightDlg::OnButtonApply( wxCommandEvent& event )
-{
- SaveChanges();
- Frame::Get()->GetMainBook()->ApplySettingsChanges();
-
- m_startingTheme = m_themes->GetStringSelection().IsEmpty() ? wxT("Default") : m_themes->GetStringSelection();
- wxUnusedVar(event);
-}
-
-wxPanel *SyntaxHighlightDlg::CreateSyntaxHighlightPage()
-{
- wxPanel *page = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer *sz = new wxBoxSizer(wxVERTICAL);
- page->SetSizer(sz);
-
- wxArrayString themesArr;
-
- wxString path = ManagerST::Get()->GetStarupDirectory();
- path << wxT("/lexers/");
-
- wxArrayString files;
- wxArrayString dirs;
- wxDir::GetAllFiles(path, &files, wxEmptyString, wxDIR_DIRS | wxDIR_FILES);
- //filter out all non-directories
- wxFileName base_path( path );
- for (size_t i=0; i<files.GetCount(); i++) {
- wxFileName fn( files.Item(i) );
- wxString new_path( fn.GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR) );
- if (new_path != base_path.GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR)) {
- fn.MakeRelativeTo(base_path.GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR));
- new_path = fn.GetPath();
- if (dirs.Index(new_path) == wxNOT_FOUND) {
- dirs.Add(new_path);
- }
- }
- }
- wxStaticText *txt = new wxStaticText(page, wxID_ANY, wxT("Colouring scheme:"), wxDefaultPosition, wxDefaultSize, 0);
- sz->Add(txt, 0, wxEXPAND|wxALL, 5);
-
- m_themes = new wxChoice(page, wxID_ANY, wxDefaultPosition, wxDefaultSize, dirs, 0 );
- sz->Add(m_themes, 0, wxEXPAND|wxALL, 5);
-
- if (m_themes->IsEmpty() == false) {
- int where = m_themes->FindString(EditorConfigST::Get()->GetStringValue( wxT("LexerTheme") ));
- if ( where != wxNOT_FOUND) {
- m_themes->SetSelection( where );
- }
- }
-
- long style = wxNB_DEFAULT;
- m_lexersBook = new wxNotebook(page, wxID_ANY, wxDefaultPosition, wxDefaultSize, style);
- sz->Add(m_lexersBook, 1, wxEXPAND | wxALL, 5);
- m_lexersBook->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
-
- LoadLexers(m_themes->GetStringSelection().IsEmpty() ? wxT("Default") : m_themes->GetStringSelection());
-
- m_startingTheme = m_themes->GetStringSelection().IsEmpty() ? wxT("Default") : m_themes->GetStringSelection();
- ConnectChoice(m_themes, SyntaxHighlightDlg::OnThemeChanged);
- return page;
-}
-
-void SyntaxHighlightDlg::LoadLexers(const wxString& theme)
-{
- Freeze();
- bool selected = true;
-
- //remove old lexers
- if (m_lexersBook->GetPageCount() > 0) {
- m_lexersBook->DeleteAllPages();
- }
-
- //update the theme name
- EditorConfigST::Get()->SaveStringValue(wxT("LexerTheme"), theme);
-
- //load all lexers
- EditorConfigST::Get()->LoadLexers(false);
-
- EditorConfig::ConstIterator iter = EditorConfigST::Get()->LexerBegin();
- for (; iter != EditorConfigST::Get()->LexerEnd(); iter++) {
- LexerConfPtr lexer = iter->second;
- m_lexersBook->AddPage(CreateLexerPage(m_lexersBook, lexer), lexer->GetName(), selected);
- selected = false;
- }
- Thaw();
-}
-
-void SyntaxHighlightDlg::OnThemeChanged(wxCommandEvent& event)
-{
- int sel = event.GetSelection();
- wxString themeName = m_themes->GetString((unsigned int)sel);
-
- //update the configuration with the new lexer's theme
- EditorConfigST::Get()->SaveStringValue(wxT("LexerTheme"), themeName);
-
- LoadLexers( themeName );
-}
-
-wxPanel *SyntaxHighlightDlg::CreateLexerPage(wxWindow *parent, LexerConfPtr lexer)
-{
- return new LexerPage(parent, lexer);
-}
-
-void SyntaxHighlightDlg::SaveChanges()
-{
- int max = m_lexersBook->GetPageCount();
- for (int i=0; i<max; i++) {
- wxWindow *win = m_lexersBook->GetPage((size_t)i);
- LexerPage *page = dynamic_cast<LexerPage*>( win );
- if ( page ) {
- page->SaveSettings();
- }
- }
-}
-
-SyntaxHighlightDlg::~SyntaxHighlightDlg()
-{
- WindowAttrManager::Save(this, wxT("SyntaxHighlightDlgAttr"), NULL);
-}
-
-void SyntaxHighlightDlg::OnRestoreDefaults(wxCommandEvent& e)
-{
- if(wxMessageBox(_("Are you sure you want to load all default syntax highlight settings and lose all your changes?"), wxT("CodeLite"), wxYES_NO|wxCANCEL|wxICON_QUESTION|wxCENTER, this) != wxYES){
- return;
- }
-
- // restore the default lexers
- EditorConfigST::Get()->LoadLexers(true);
- Frame::Get()->GetMainBook()->ApplySettingsChanges();
-
- wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, XRCID("syntax_highlight"));
- Frame::Get()->GetEventHandler()->AddPendingEvent(event);
- EndModal(wxID_OK);
-}
diff --git a/LiteEditor/syntaxhighlightdlg.h b/LiteEditor/syntaxhighlightdlg.h
deleted file mode 100644
index 5d8a31db..00000000
--- a/LiteEditor/syntaxhighlightdlg.h
+++ /dev/null
@@ -1,66 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : syntaxhighlightdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __syntaxhighlightdlg__
-#define __syntaxhighlightdlg__
-
-/**
-@file
-Subclass of SyntaxHighlightBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "syntaxhighlightbasedlg.h"
-#include "lexer_configuration.h"
-class wxChoice;
-class wxNotebook;
-
-/** Implementing SyntaxHighlightBaseDlg */
-class SyntaxHighlightDlg : public SyntaxHighlightBaseDlg
-{
- wxChoice* m_themes;
- wxNotebook *m_lexersBook;
- wxString m_startingTheme;
-
-protected:
- // Handlers for SyntaxHighlightBaseDlg events.
- void OnButtonOK( wxCommandEvent& event );
- void OnButtonCancel( wxCommandEvent& event );
- void OnButtonApply( wxCommandEvent& event );
- void OnThemeChanged(wxCommandEvent& event);
- void OnRestoreDefaults(wxCommandEvent &e);
-
- wxPanel *CreateSyntaxHighlightPage();
- void LoadLexers(const wxString& theme);
- wxPanel *CreateLexerPage(wxWindow *parent, LexerConfPtr lexer);
- void SaveChanges();
-
-public:
- /** Constructor */
- SyntaxHighlightDlg( wxWindow* parent );
- virtual ~SyntaxHighlightDlg();
-
-};
-
-#endif // __syntaxhighlightdlg__
diff --git a/LiteEditor/tabgroupbasedlgs.cpp b/LiteEditor/tabgroupbasedlgs.cpp
deleted file mode 100644
index 87877097..00000000
--- a/LiteEditor/tabgroupbasedlgs.cpp
+++ /dev/null
@@ -1,194 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "tabgroupbasedlgs.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-LoadTabGroupBaseDlg::LoadTabGroupBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainsizer;
- mainsizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Select a tab group, or browse for one"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer3->Add( m_staticText1, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_buttonBrowse = new wxButton( this, wxID_ANY, _("..."), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonBrowse->SetToolTip( _("Click to search for other groups") );
-
- bSizer3->Add( m_buttonBrowse, 0, wxALL, 5 );
-
- bSizer2->Add( bSizer3, 0, wxEXPAND, 5 );
-
- m_listBox = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- m_listBox->SetToolTip( _("Double-click to choose one of these groups") );
- m_listBox->SetMinSize( wxSize( 450,100 ) );
-
- bSizer2->Add( m_listBox, 1, wxALL|wxEXPAND, 5 );
-
- m_replaceCheck = new wxCheckBox( this, wxID_ANY, _("Replace current tabs"), wxDefaultPosition, wxDefaultSize, 0 );
-
- m_replaceCheck->SetToolTip( _("By default, the tabs of this group will be added to the current tabs. Tick this to replace the current tabs instead.") );
-
- bSizer2->Add( m_replaceCheck, 0, wxALL, 5 );
-
- m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer2->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer11;
- bSizer11 = new wxBoxSizer( wxHORIZONTAL );
-
- m_button6 = new wxButton( this, wxID_OK, _("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
- m_button6->SetDefault();
- bSizer11->Add( m_button6, 0, wxALL, 5 );
-
- m_button5 = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer11->Add( m_button5, 0, wxALL, 5 );
-
- bSizer2->Add( bSizer11, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- mainsizer->Add( bSizer2, 1, wxEXPAND|wxALL, 5 );
-
- this->SetSizer( mainsizer );
- this->Layout();
- mainsizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_buttonBrowse->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( LoadTabGroupBaseDlg::OnBrowse ), NULL, this );
- m_listBox->Connect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( LoadTabGroupBaseDlg::OnItemActivated ), NULL, this );
-}
-
-LoadTabGroupBaseDlg::~LoadTabGroupBaseDlg()
-{
- // Disconnect Events
- m_buttonBrowse->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( LoadTabGroupBaseDlg::OnBrowse ), NULL, this );
- m_listBox->Disconnect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( LoadTabGroupBaseDlg::OnItemActivated ), NULL, this );
-}
-
-SaveTabGroupBaseDlg::SaveTabGroupBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainsizer;
- mainsizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Select which tabs you want to be in the group"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bSizer1->Add( m_staticText1, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- wxArrayString m_ListTabsChoices;
- m_ListTabs = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_ListTabsChoices, 0 );
- m_ListTabs->SetMinSize( wxSize( 400,-1 ) );
-
- bSizer3->Add( m_ListTabs, 1, wxALL|wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
-
- wxBoxSizer* bSizer13;
- bSizer13 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonCheckAll = new wxButton( this, wxID_ANY, _("Check All"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonCheckAll->SetToolTip( _("Click to select all items") );
-
- bSizer13->Add( m_buttonCheckAll, 0, wxALL, 5 );
-
- m_buttonClearAll = new wxButton( this, wxID_ANY, _("Clear All"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonClearAll->SetToolTip( _("Click to clear all items") );
-
- bSizer13->Add( m_buttonClearAll, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
-
- bSizer3->Add( bSizer13, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer3, 1, wxEXPAND|wxALL, 0 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer10;
- bSizer10 = new wxBoxSizer( wxVERTICAL );
-
- m_staticText4 = new wxStaticText( this, wxID_ANY, _("Choose a name for the group:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- bSizer10->Add( m_staticText4, 0, wxALIGN_LEFT|wxALL, 5 );
-
- m_textName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- bSizer10->Add( m_textName, 0, wxALIGN_CENTER|wxEXPAND|wxALL, 5 );
-
- bSizer1->Add( bSizer10, 0, wxALIGN_CENTER_HORIZONTAL|wxEXPAND|wxALL, 5 );
-
- m_staticText3 = new wxStaticText( this, wxID_ANY, _("Where do you want to save the group?"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- bSizer1->Add( m_staticText3, 0, wxALL, 5 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxHORIZONTAL );
-
- m_comboPath = new wxComboBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- bSizer4->Add( m_comboPath, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- m_buttonBrowse = new wxButton( this, wxID_ANY, _("Browse"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonBrowse->SetToolTip( _("Click to search for other groups") );
-
- bSizer4->Add( m_buttonBrowse, 0, wxALL|wxEXPAND, 5 );
-
- bSizer1->Add( bSizer4, 0, wxEXPAND|wxALL, 5 );
-
- m_staticline11 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline11, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer11;
- bSizer11 = new wxBoxSizer( wxHORIZONTAL );
-
- m_button6 = new wxButton( this, wxID_OK, _("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
- m_button6->SetDefault();
- bSizer11->Add( m_button6, 0, wxALL, 5 );
-
- m_button5 = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer11->Add( m_button5, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer11, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- mainsizer->Add( bSizer1, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
-
- this->SetSizer( mainsizer );
- this->Layout();
- mainsizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_buttonCheckAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SaveTabGroupBaseDlg::OnCheckAll ), NULL, this );
- m_buttonCheckAll->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SaveTabGroupBaseDlg::OnCheckAllUpdateUI ), NULL, this );
- m_buttonClearAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SaveTabGroupBaseDlg::OnClearAll ), NULL, this );
- m_buttonClearAll->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SaveTabGroupBaseDlg::OnClearAllUpdateUI ), NULL, this );
- m_buttonBrowse->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SaveTabGroupBaseDlg::OnBrowse ), NULL, this );
-}
-
-SaveTabGroupBaseDlg::~SaveTabGroupBaseDlg()
-{
- // Disconnect Events
- m_buttonCheckAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SaveTabGroupBaseDlg::OnCheckAll ), NULL, this );
- m_buttonCheckAll->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SaveTabGroupBaseDlg::OnCheckAllUpdateUI ), NULL, this );
- m_buttonClearAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SaveTabGroupBaseDlg::OnClearAll ), NULL, this );
- m_buttonClearAll->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SaveTabGroupBaseDlg::OnClearAllUpdateUI ), NULL, this );
- m_buttonBrowse->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SaveTabGroupBaseDlg::OnBrowse ), NULL, this );
-}
diff --git a/LiteEditor/tabgroupbasedlgs.h b/LiteEditor/tabgroupbasedlgs.h
deleted file mode 100644
index ee30ac7f..00000000
--- a/LiteEditor/tabgroupbasedlgs.h
+++ /dev/null
@@ -1,95 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __tabgroupbasedlgs__
-#define __tabgroupbasedlgs__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/listbox.h>
-#include <wx/checkbox.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-#include <wx/checklst.h>
-#include <wx/textctrl.h>
-#include <wx/combobox.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class LoadTabGroupBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class LoadTabGroupBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxButton* m_buttonBrowse;
- wxListBox* m_listBox;
- wxCheckBox* m_replaceCheck;
- wxStaticLine* m_staticline3;
- wxButton* m_button6;
- wxButton* m_button5;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnBrowse( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnItemActivated( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- LoadTabGroupBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Load a tab group"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~LoadTabGroupBaseDlg();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class SaveTabGroupBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class SaveTabGroupBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxCheckListBox* m_ListTabs;
- wxButton* m_buttonCheckAll;
- wxButton* m_buttonClearAll;
- wxStaticLine* m_staticline1;
- wxStaticText* m_staticText4;
- wxTextCtrl* m_textName;
- wxStaticText* m_staticText3;
- wxComboBox* m_comboPath;
- wxButton* m_buttonBrowse;
- wxStaticLine* m_staticline11;
- wxButton* m_button6;
- wxButton* m_button5;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCheckAll( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnCheckAllUpdateUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnClearAll( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnClearAllUpdateUI( wxUpdateUIEvent& event ){ event.Skip(); }
- virtual void OnBrowse( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- SaveTabGroupBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Save a tab group"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~SaveTabGroupBaseDlg();
-
-};
-
-#endif //__tabgroupbasedlgs__
diff --git a/LiteEditor/tabgroupdlg.cpp b/LiteEditor/tabgroupdlg.cpp
deleted file mode 100644
index 49245c6d..00000000
--- a/LiteEditor/tabgroupdlg.cpp
+++ /dev/null
@@ -1,152 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2009 by Eran Ifrah
-// file name : tabgroupdlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "tabgroupdlg.h"
-#include "windowattrmanager.h"
-#include <wx/dirdlg.h>
-#include <wx/filedlg.h>
-#include <wx/dir.h>
-
-LoadTabGroupDlg::LoadTabGroupDlg(wxWindow* parent, const wxString& path, const wxArrayString& previousgroups) : LoadTabGroupBaseDlg(parent)
-{
- for (size_t n=0; n < previousgroups.GetCount(); ++n) {
- InsertListItem(previousgroups.Item(n));
- }
-
- // Add any groups in the passed dir (which is probably the workspace dir)
- wxArrayString pwdfiles;
- wxDir::GetAllFiles ( path, &pwdfiles, wxT("*.tabgroup"), wxDIR_FILES );
- for (size_t n=0; n < pwdfiles.GetCount(); ++n) {
- InsertListItem(pwdfiles.Item(n));
- }
- WindowAttrManager::Load(this, wxT("LoadTabGroupDlg"), NULL);
-}
-
-LoadTabGroupDlg::~LoadTabGroupDlg()
-{
- WindowAttrManager::Save(this, wxT("LoadTabGroupDlg"), NULL);
-}
-
-void LoadTabGroupDlg::InsertListItem(const wxString& item)
-{
- if (item.IsEmpty() == false) {
- int AlreadyThere = m_listBox->FindString(item, true);
-
- if (AlreadyThere != wxNOT_FOUND) {
- m_listBox->SetSelection(AlreadyThere);
- } else {
- m_listBox->Insert(item, 0);
- m_listBox->SetSelection(0);
- }
- }
-}
-
-void LoadTabGroupDlg::OnBrowse( wxCommandEvent& WXUNUSED(event) )
-{
- wxString group = wxFileSelector(wxT("Select a program:"), wxT(""), wxT(""), tabgroupTag,
- wxT("Tab groups (*.tabgroup)|*.tabgroup"), wxFD_OPEN | wxFD_FILE_MUST_EXIST, this);
- if (!group.IsEmpty()) {
- // Need to insert/select the new item, otherwise it won't be used
- InsertListItem(group);
- EndModal(wxID_OK);
- }
-}
-
-void LoadTabGroupDlg::OnItemActivated( wxCommandEvent& WXUNUSED(event) )
-{
- int idx = m_listBox->GetSelection();
- EndModal( (idx == wxNOT_FOUND) ? wxID_CANCEL : wxID_OK );
-}
-
-//---------------------------------------------
-
-SaveTabGroupDlg::SaveTabGroupDlg(wxWindow* parent, const wxArrayString& previousgroups)
- : SaveTabGroupBaseDlg(parent)
-{
- for ( unsigned int n=0; n < previousgroups.GetCount(); ++n ) {
- // Get the path from the filepath. Add if it's unique
- wxString item = previousgroups.Item(n).BeforeLast(wxFileName::GetPathSeparator());
- if ( !item.IsEmpty() && (m_comboPath->FindString(item, true)==wxNOT_FOUND) ) {
- m_comboPath->Append(item);
- }
- }
- WindowAttrManager::Load(this, wxT("SaveTabGroupDlg"), NULL);
-}
-
-SaveTabGroupDlg::~SaveTabGroupDlg()
-{
- WindowAttrManager::Save(this, wxT("SaveTabGroupDlg"), NULL);
-}
-
-bool SaveTabGroupDlg::GetChoices(wxArrayInt& intArr) const
-{
- bool SomeChecked = false;
- for ( unsigned int n=0; n < m_ListTabs->GetCount(); ++n ) {
- bool item = m_ListTabs->IsChecked(n);
- intArr.Add(item);
- if (item) {
- SomeChecked = true;
- }
- }
-
- return SomeChecked;
-}
-
-void SaveTabGroupDlg::OnCheckAll(wxCommandEvent& WXUNUSED(event))
-{
- if (m_ListTabs == NULL) return;
-
- for ( unsigned int n=0; n < m_ListTabs->GetCount(); ++n ) {
- m_ListTabs->Check(n, true);
- }
-}
-
-void SaveTabGroupDlg::OnCheckAllUpdateUI(wxUpdateUIEvent& event)
-{
- event.Enable( m_ListTabs && m_ListTabs->GetCount() );
-}
-
-void SaveTabGroupDlg::OnClearAll(wxCommandEvent& WXUNUSED(event))
-{
- if (m_ListTabs == NULL) return;
-
- for ( unsigned int n=0; n < m_ListTabs->GetCount(); ++n ) {
- m_ListTabs->Check(n, false);
- }
-}
-
-void SaveTabGroupDlg::OnClearAllUpdateUI( wxUpdateUIEvent& event )
-{
- event.Enable( m_ListTabs && m_ListTabs->GetCount() );
-}
-
-
-void SaveTabGroupDlg::OnBrowse( wxCommandEvent& event )
-{
- wxString new_path = wxDirSelector(wxT("Select directory"), wxGetHomeDir(), wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
- if (new_path.IsEmpty() == false) {
- m_comboPath->SetValue(new_path);
- }
-}
diff --git a/LiteEditor/tabgroupdlg.h b/LiteEditor/tabgroupdlg.h
deleted file mode 100644
index bfb87907..00000000
--- a/LiteEditor/tabgroupdlg.h
+++ /dev/null
@@ -1,95 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2009 by Eran Ifrah
-// file name : tabgroupdlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __tabgroupdlg__
-#define __tabgroupdlg__
-
-#include "tabgroupbasedlgs.h"
-#include "sessionmanager.h"
-
-class LoadTabGroupDlg : public LoadTabGroupBaseDlg
-{
- virtual void OnBrowse( wxCommandEvent& WXUNUSED(event) );
- virtual void OnItemActivated( wxCommandEvent& WXUNUSED(event) );
-
-public:
- LoadTabGroupDlg(wxWindow* parent, const wxString& path, const wxArrayString& previousgroups);
- virtual ~LoadTabGroupDlg();
-
- void SetListTabs(const wxArrayString& tabs) {
- m_listBox->Set(tabs);
- }
-
- void InsertListItem(const wxString& item);
-
- void EnableReplaceCheck(bool value) {
- m_replaceCheck->Enable(value);
- }
-
- wxListBox* GetListBox() {
- return m_listBox;
- }
-
- bool GetReplaceCheck() {
- return m_replaceCheck->IsChecked();
- }
-};
-
-class SaveTabGroupDlg : public SaveTabGroupBaseDlg
-{
- virtual void OnCheckAll( wxCommandEvent& event );
- virtual void OnCheckAllUpdateUI( wxUpdateUIEvent& event );
- virtual void OnClearAll( wxCommandEvent& event );
- virtual void OnClearAllUpdateUI( wxUpdateUIEvent& event );
- virtual void OnBrowse( wxCommandEvent& WXUNUSED(event) );
-public:
- SaveTabGroupDlg(wxWindow* parent, const wxArrayString& previousgroups);
- virtual ~SaveTabGroupDlg();
- void SetListTabs(const wxArrayString& tabs) {
- m_ListTabs->Set(tabs);
- for ( unsigned int n=0; n < m_ListTabs->GetCount(); ++n ) {
- m_ListTabs->Check(n, true);
- }
- }
-
- void SetComboPath(const wxString& path) {
- m_comboPath->SetValue(path);
- }
-
- void SetTextName(const wxString& name) {
- m_textName->SetValue(name);
- }
-
- bool GetChoices(wxArrayInt& intArr) const;
-
- wxString GetComboPath() const {
- return m_comboPath->GetValue();
- }
-
- wxString GetTabgroupName() const {
- return m_textName->GetValue();
- }
-};
-#endif // __tabgroupdlg__
diff --git a/LiteEditor/tags_options_base_dlg.cpp b/LiteEditor/tags_options_base_dlg.cpp
deleted file mode 100644
index 463ae767..00000000
--- a/LiteEditor/tags_options_base_dlg.cpp
+++ /dev/null
@@ -1,385 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "tags_options_base_dlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-TagsOptionsBaseDlg::TagsOptionsBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_mainBook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
- m_generalPage = new wxPanel( m_mainBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- wxStaticBoxSizer* sbSizer2;
- sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( m_generalPage, wxID_ANY, wxT("General:") ), wxVERTICAL );
-
- wxFlexGridSizer* fgSizer31;
- fgSizer31 = new wxFlexGridSizer( 0, 2, 0, 0 );
- fgSizer31->SetFlexibleDirection( wxBOTH );
- fgSizer31->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_checkBoxMarkTagsFilesInBold = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Mark files and dirs in file explorer that contribute tags in bold"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer31->Add( m_checkBoxMarkTagsFilesInBold, 0, wxALL, 5 );
-
- m_checkDisableParseOnSave = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Disable auto parsing of saved files"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer31->Add( m_checkDisableParseOnSave, 0, wxALL, 5 );
-
- m_checkBoxretagWorkspaceOnStartup = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Retag workspace on workspace startup"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer31->Add( m_checkBoxretagWorkspaceOnStartup, 0, wxALL, 5 );
-
- m_checkParseComments = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Parse comments"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkParseComments->Enable( false );
-
- fgSizer31->Add( m_checkParseComments, 0, wxALL, 5 );
-
- m_checkDisplayComments = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Display comments in tooltip"), wxDefaultPosition, wxDefaultSize, 0 );
- m_checkDisplayComments->Enable( false );
-
- fgSizer31->Add( m_checkDisplayComments, 0, wxALL, 5 );
-
- m_checkDisplayTypeInfo = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Display type info tooltips"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer31->Add( m_checkDisplayTypeInfo, 0, wxALL, 5 );
-
- m_checkDisplayFunctionTip = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Display function calltip"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer31->Add( m_checkDisplayFunctionTip, 0, wxALL, 5 );
-
- m_checkCppKeywordAssist = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Display completion box for language keywords"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer31->Add( m_checkCppKeywordAssist, 0, wxALL, 5 );
-
- sbSizer2->Add( fgSizer31, 0, wxEXPAND, 5 );
-
- bSizer4->Add( sbSizer2, 0, wxEXPAND|wxALL, 5 );
-
- wxStaticBoxSizer* sbSizer4;
- sbSizer4 = new wxStaticBoxSizer( new wxStaticBox( m_generalPage, wxID_ANY, wxT("Keywords Highlight:") ), wxVERTICAL );
-
- wxBoxSizer* bSizer11;
- bSizer11 = new wxBoxSizer( wxHORIZONTAL );
-
- m_staticText72 = new wxStaticText( m_generalPage, wxID_ANY, wxT("Maixmum number of *workspace* symbols to colour:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText72->Wrap( -1 );
- bSizer11->Add( m_staticText72, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_spinCtrlMaxItemToColour = new wxSpinCtrl( m_generalPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS|wxSP_WRAP, 500, 10000, 1000 );
- bSizer11->Add( m_spinCtrlMaxItemToColour, 1, wxALL|wxEXPAND, 5 );
-
- sbSizer4->Add( bSizer11, 1, wxEXPAND, 5 );
-
- m_checkColourLocalVars = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Colour local variables"), wxDefaultPosition, wxDefaultSize, 0 );
- sbSizer4->Add( m_checkColourLocalVars, 0, wxALL|wxEXPAND, 5 );
-
- m_checkColourProjTags = new wxCheckBox( m_generalPage, wxID_ANY, wxT("Colour workspace tags"), wxDefaultPosition, wxDefaultSize, 0 );
- sbSizer4->Add( m_checkColourProjTags, 0, wxALL|wxEXPAND, 5 );
-
- wxFlexGridSizer* fgSizer3;
- fgSizer3 = new wxFlexGridSizer( 0, 3, 0, 0 );
- fgSizer3->SetFlexibleDirection( wxBOTH );
- fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_checkBoxClass = new wxCheckBox( m_generalPage, wxID_ANY, wxT("class"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxClass, 0, wxALL, 5 );
-
- m_checkBoxStruct = new wxCheckBox( m_generalPage, wxID_ANY, wxT("struct"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxStruct, 0, wxALL, 5 );
-
- m_checkBoxFunction = new wxCheckBox( m_generalPage, wxID_ANY, wxT("function"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxFunction, 0, wxALL, 5 );
-
- m_checkBoxEnum = new wxCheckBox( m_generalPage, wxID_ANY, wxT("enum"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxEnum, 0, wxALL, 5 );
-
- m_checkBoxEnumerator = new wxCheckBox( m_generalPage, wxID_ANY, wxT("enumerator"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxEnumerator, 0, wxALL, 5 );
-
- m_checkBoxUnion = new wxCheckBox( m_generalPage, wxID_ANY, wxT("union"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxUnion, 0, wxALL, 5 );
-
- m_checkBoxPrototype = new wxCheckBox( m_generalPage, wxID_ANY, wxT("prototype"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxPrototype, 0, wxALL, 5 );
-
- m_checkBoxTypedef = new wxCheckBox( m_generalPage, wxID_ANY, wxT("typedef"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxTypedef, 0, wxALL, 5 );
-
- m_checkBoxMacro = new wxCheckBox( m_generalPage, wxID_ANY, wxT("macro"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxMacro, 0, wxALL, 5 );
-
- m_checkBoxNamespace = new wxCheckBox( m_generalPage, wxID_ANY, wxT("namespace"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxNamespace, 0, wxALL, 5 );
-
- m_checkBoxMember = new wxCheckBox( m_generalPage, wxID_ANY, wxT("member"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxMember, 0, wxALL, 5 );
-
- m_checkBoxVariable = new wxCheckBox( m_generalPage, wxID_ANY, wxT("variable"), wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer3->Add( m_checkBoxVariable, 0, wxALL, 5 );
-
- sbSizer4->Add( fgSizer3, 0, wxEXPAND|wxRIGHT|wxLEFT, 15 );
-
- bSizer4->Add( sbSizer4, 0, wxEXPAND|wxALL, 5 );
-
- m_generalPage->SetSizer( bSizer4 );
- m_generalPage->Layout();
- bSizer4->Fit( m_generalPage );
- m_mainBook->AddPage( m_generalPage, wxT("General"), true );
- m_panelParser = new wxPanel( m_mainBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- wxStaticBoxSizer* sbSizer5;
- sbSizer5 = new wxStaticBoxSizer( new wxStaticBox( m_panelParser, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText7 = new wxStaticText( m_panelParser, wxID_ANY, wxT("Add search path(s) for the parser.\nThe search paths are used for locating include files"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText7->Wrap( -1 );
- sbSizer5->Add( m_staticText7, 0, wxEXPAND|wxALL, 5 );
-
- bSizer7->Add( sbSizer5, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer9;
- bSizer9 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listBoxSearchPaths = new wxListBox( m_panelParser, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- bSizer9->Add( m_listBoxSearchPaths, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonAddSearchPath = new wxButton( m_panelParser, wxID_ANY, wxT("&Add..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_buttonAddSearchPath, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonRemovePath = new wxButton( m_panelParser, wxID_ANY, wxT("&Remove"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_buttonRemovePath, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonClearAll = new wxButton( m_panelParser, wxID_ANY, wxT("Clea&r All"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_buttonClearAll, 0, wxALL|wxEXPAND, 5 );
-
- bSizer9->Add( bSizer8, 0, wxEXPAND, 5 );
-
- bSizer7->Add( bSizer9, 1, wxEXPAND|wxALL, 5 );
-
- wxStaticBoxSizer* sbSizer51;
- sbSizer51 = new wxStaticBoxSizer( new wxStaticBox( m_panelParser, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText71 = new wxStaticText( m_panelParser, wxID_ANY, wxT("Add exclude path(s) for the parser.\nCodeLite will skip any file found inside these paths while scanning for include files"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText71->Wrap( -1 );
- sbSizer51->Add( m_staticText71, 0, wxEXPAND|wxALL, 5 );
-
- bSizer7->Add( sbSizer51, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer91;
- bSizer91 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listBoxSearchPaths1 = new wxListBox( m_panelParser, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- bSizer91->Add( m_listBoxSearchPaths1, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer81;
- bSizer81 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonAddExcludePath = new wxButton( m_panelParser, wxID_ANY, wxT("&Add..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer81->Add( m_buttonAddExcludePath, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonRemoveExcludePath = new wxButton( m_panelParser, wxID_ANY, wxT("&Remove"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer81->Add( m_buttonRemoveExcludePath, 0, wxALL|wxEXPAND, 5 );
-
- m_buttonClearAllExcludPath = new wxButton( m_panelParser, wxID_ANY, wxT("Clea&r All"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer81->Add( m_buttonClearAllExcludPath, 0, wxALL|wxEXPAND, 5 );
-
- bSizer91->Add( bSizer81, 0, wxEXPAND, 5 );
-
- bSizer7->Add( bSizer91, 1, wxEXPAND, 5 );
-
- m_panelParser->SetSizer( bSizer7 );
- m_panelParser->Layout();
- bSizer7->Fit( m_panelParser );
- m_mainBook->AddPage( m_panelParser, wxT("Include Files"), false );
- m_ctagsPage = new wxPanel( m_mainBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer2;
- fgSizer2 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer2->AddGrowableCol( 1 );
- fgSizer2->SetFlexibleDirection( wxBOTH );
- fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText3 = new wxStaticText( m_ctagsPage, wxID_ANY, wxT("File Types:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- fgSizer2->Add( m_staticText3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_textFileSpec = new wxTextCtrl( m_ctagsPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer2->Add( m_textFileSpec, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText5 = new wxStaticText( m_ctagsPage, wxID_ANY, wxT("Force Language:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText5->Wrap( -1 );
- fgSizer2->Add( m_staticText5, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_comboBoxLang = new wxComboBox( m_ctagsPage, wxID_ANY, wxT("C++"), wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_READONLY );
- m_comboBoxLang->Append( wxT("C++") );
- m_comboBoxLang->Append( wxT("Java") );
- fgSizer2->Add( m_comboBoxLang, 0, wxALL|wxEXPAND, 5 );
-
- bSizer6->Add( fgSizer2, 0, wxEXPAND|wxALL, 5 );
-
- m_checkFilesWithoutExt = new wxCheckBox( m_ctagsPage, wxID_ANY, wxT("Parse files without extension"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_checkFilesWithoutExt, 0, wxALL|wxEXPAND, 5 );
-
- m_staticline2 = new wxStaticLine( m_ctagsPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer6->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- m_notebook2 = new wxNotebook( m_ctagsPage, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
- m_panel4 = new wxPanel( m_notebook2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- m_panel4->SetToolTip( wxT("Specifies a list of identifiers which are to be specially handled while parsing C and C++ source files.\nWhen the identifiers listed are simple identifiers, these identifiers will be ignored during parsing of the source files.\nIf two identifiers are separated with the ’=’ character, the first identifiers is replaced by the second identifier for parsing purposes") );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- wxStaticBoxSizer* sbSizer52;
- sbSizer52 = new wxStaticBoxSizer( new wxStaticBox( m_panel4, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText9 = new wxStaticText( m_panel4, wxID_ANY, wxT("Specify here a list of identifiers which are to be specially handled while parsing C and C++ source files.\nWhen the identifiers listed are simple identifiers, these identifiers will be ignored during parsing of the source files.\nIf two identifiers are separated with the ’=’ character, the first identifiers is replaced by the second identifier for parsing purposes"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText9->Wrap( -1 );
- sbSizer52->Add( m_staticText9, 0, wxALL|wxEXPAND, 5 );
-
- bSizer5->Add( sbSizer52, 0, wxEXPAND|wxALL, 5 );
-
- m_textPrep = new wxTextCtrl( m_panel4, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_RICH2 );
- m_textPrep->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) );
- m_textPrep->SetMinSize( wxSize( 300,-1 ) );
-
- bSizer5->Add( m_textPrep, 1, wxEXPAND, 5 );
-
- m_panel4->SetSizer( bSizer5 );
- m_panel4->Layout();
- bSizer5->Fit( m_panel4 );
- m_notebook2->AddPage( m_panel4, wxT("Tokens"), true );
- m_panel5 = new wxPanel( m_notebook2, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer13;
- bSizer13 = new wxBoxSizer( wxVERTICAL );
-
- wxStaticBoxSizer* sbSizer521;
- sbSizer521 = new wxStaticBoxSizer( new wxStaticBox( m_panel5, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText91 = new wxStaticText( m_panel5, wxID_ANY, wxT("Specify here a list of types which are to be specially handled while parsing C and C++ source files in the format of TYPE1=TYPE2.\nSo when TYPE1 is found, CodeLite will offer completion as if it was TYPE2 was found"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText91->Wrap( -1 );
- sbSizer521->Add( m_staticText91, 0, wxALL|wxEXPAND, 5 );
-
- bSizer13->Add( sbSizer521, 0, wxEXPAND|wxALL, 5 );
-
- m_textTypes = new wxTextCtrl( m_panel5, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_RICH2 );
- m_textTypes->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) );
-
- bSizer13->Add( m_textTypes, 1, wxEXPAND, 5 );
-
- m_panel5->SetSizer( bSizer13 );
- m_panel5->Layout();
- bSizer13->Fit( m_panel5 );
- m_notebook2->AddPage( m_panel5, wxT("Types"), false );
-
- bSizer6->Add( m_notebook2, 1, wxEXPAND | wxALL, 5 );
-
- m_ctagsPage->SetSizer( bSizer6 );
- m_ctagsPage->Layout();
- bSizer6->Fit( m_ctagsPage );
- m_mainBook->AddPage( m_ctagsPage, wxT("Advanced"), false );
-
- mainSizer->Add( m_mainBook, 1, wxEXPAND | wxALL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOK = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOK->SetDefault();
- bSizer3->Add( m_buttonOK, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer3->Add( m_buttonCancel, 0, wxALL, 5 );
-
- mainSizer->Add( bSizer3, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_checkBoxClass->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxStruct->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxFunction->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxEnum->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxEnumerator->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxUnion->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxPrototype->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxTypedef->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxMacro->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxNamespace->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxMember->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxVariable->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_buttonAddSearchPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnAddSearchPath ), NULL, this );
- m_buttonAddSearchPath->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnAddSearchPathUI ), NULL, this );
- m_buttonRemovePath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnRemoveSearchPath ), NULL, this );
- m_buttonRemovePath->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnRemoveSearchPathUI ), NULL, this );
- m_buttonClearAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnClearAll ), NULL, this );
- m_buttonClearAll->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnClearAllUI ), NULL, this );
- m_buttonAddExcludePath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnAddExcludePath ), NULL, this );
- m_buttonAddExcludePath->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnAddExcludePathUI ), NULL, this );
- m_buttonRemoveExcludePath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnRemoveExcludePath ), NULL, this );
- m_buttonRemoveExcludePath->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnRemoveExcludePathUI ), NULL, this );
- m_buttonClearAllExcludPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnClearAllExcludePaths ), NULL, this );
- m_buttonClearAllExcludPath->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnClearAllExcludePathsUI ), NULL, this );
- m_buttonOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnButtonOK ), NULL, this );
-}
-
-TagsOptionsBaseDlg::~TagsOptionsBaseDlg()
-{
- // Disconnect Events
- m_checkBoxClass->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxStruct->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxFunction->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxEnum->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxEnumerator->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxUnion->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxPrototype->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxTypedef->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxMacro->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxNamespace->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxMember->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_checkBoxVariable->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnColourWorkspaceUI ), NULL, this );
- m_buttonAddSearchPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnAddSearchPath ), NULL, this );
- m_buttonAddSearchPath->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnAddSearchPathUI ), NULL, this );
- m_buttonRemovePath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnRemoveSearchPath ), NULL, this );
- m_buttonRemovePath->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnRemoveSearchPathUI ), NULL, this );
- m_buttonClearAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnClearAll ), NULL, this );
- m_buttonClearAll->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnClearAllUI ), NULL, this );
- m_buttonAddExcludePath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnAddExcludePath ), NULL, this );
- m_buttonAddExcludePath->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnAddExcludePathUI ), NULL, this );
- m_buttonRemoveExcludePath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnRemoveExcludePath ), NULL, this );
- m_buttonRemoveExcludePath->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnRemoveExcludePathUI ), NULL, this );
- m_buttonClearAllExcludPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnClearAllExcludePaths ), NULL, this );
- m_buttonClearAllExcludPath->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TagsOptionsBaseDlg::OnClearAllExcludePathsUI ), NULL, this );
- m_buttonOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TagsOptionsBaseDlg::OnButtonOK ), NULL, this );
-}
diff --git a/LiteEditor/tags_options_base_dlg.h b/LiteEditor/tags_options_base_dlg.h
deleted file mode 100644
index 5c75dcc9..00000000
--- a/LiteEditor/tags_options_base_dlg.h
+++ /dev/null
@@ -1,123 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __tags_options_base_dlg__
-#define __tags_options_base_dlg__
-
-#include <wx/string.h>
-#include <wx/checkbox.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/statbox.h>
-#include <wx/stattext.h>
-#include <wx/spinctrl.h>
-#include <wx/panel.h>
-#include <wx/bitmap.h>
-#include <wx/image.h>
-#include <wx/icon.h>
-#include <wx/listbox.h>
-#include <wx/button.h>
-#include <wx/textctrl.h>
-#include <wx/combobox.h>
-#include <wx/statline.h>
-#include <wx/notebook.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class TagsOptionsBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class TagsOptionsBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxNotebook* m_mainBook;
- wxPanel* m_generalPage;
- wxCheckBox* m_checkBoxMarkTagsFilesInBold;
- wxCheckBox* m_checkDisableParseOnSave;
- wxCheckBox* m_checkBoxretagWorkspaceOnStartup;
- wxCheckBox* m_checkParseComments;
- wxCheckBox* m_checkDisplayComments;
- wxCheckBox* m_checkDisplayTypeInfo;
- wxCheckBox* m_checkDisplayFunctionTip;
- wxCheckBox* m_checkCppKeywordAssist;
- wxStaticText* m_staticText72;
- wxSpinCtrl* m_spinCtrlMaxItemToColour;
- wxCheckBox* m_checkColourLocalVars;
- wxCheckBox* m_checkColourProjTags;
- wxCheckBox* m_checkBoxClass;
- wxCheckBox* m_checkBoxStruct;
- wxCheckBox* m_checkBoxFunction;
- wxCheckBox* m_checkBoxEnum;
- wxCheckBox* m_checkBoxEnumerator;
- wxCheckBox* m_checkBoxUnion;
- wxCheckBox* m_checkBoxPrototype;
- wxCheckBox* m_checkBoxTypedef;
- wxCheckBox* m_checkBoxMacro;
- wxCheckBox* m_checkBoxNamespace;
- wxCheckBox* m_checkBoxMember;
- wxCheckBox* m_checkBoxVariable;
- wxPanel* m_panelParser;
- wxStaticText* m_staticText7;
- wxListBox* m_listBoxSearchPaths;
- wxButton* m_buttonAddSearchPath;
- wxButton* m_buttonRemovePath;
- wxButton* m_buttonClearAll;
- wxStaticText* m_staticText71;
- wxListBox* m_listBoxSearchPaths1;
- wxButton* m_buttonAddExcludePath;
- wxButton* m_buttonRemoveExcludePath;
- wxButton* m_buttonClearAllExcludPath;
- wxPanel* m_ctagsPage;
- wxStaticText* m_staticText3;
- wxTextCtrl* m_textFileSpec;
- wxStaticText* m_staticText5;
- wxComboBox* m_comboBoxLang;
- wxCheckBox* m_checkFilesWithoutExt;
- wxStaticLine* m_staticline2;
- wxNotebook* m_notebook2;
- wxPanel* m_panel4;
- wxStaticText* m_staticText9;
- wxTextCtrl* m_textPrep;
- wxPanel* m_panel5;
- wxStaticText* m_staticText91;
- wxTextCtrl* m_textTypes;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOK;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnColourWorkspaceUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnAddSearchPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnAddSearchPathUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnRemoveSearchPath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnRemoveSearchPathUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnClearAll( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnClearAllUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnAddExcludePath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnAddExcludePathUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnRemoveExcludePath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnRemoveExcludePathUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnClearAllExcludePaths( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnClearAllExcludePathsUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- TagsOptionsBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Tags Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~TagsOptionsBaseDlg();
-
-};
-
-#endif //__tags_options_base_dlg__
diff --git a/LiteEditor/tags_options_dlg.cpp b/LiteEditor/tags_options_dlg.cpp
deleted file mode 100644
index f24918a3..00000000
--- a/LiteEditor/tags_options_dlg.cpp
+++ /dev/null
@@ -1,276 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : tags_options_dlg.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Jun 6 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "tags_options_dlg.h"
-#include "ctags_manager.h"
-#include "windowattrmanager.h"
-#include "macros.h"
-#include "wx/tokenzr.h"
-#include "add_option_dialog.h"
-
-//---------------------------------------------------------
-
-TagsOptionsDlg::TagsOptionsDlg( wxWindow* parent, const TagsOptionsData& data)
- : TagsOptionsBaseDlg( parent )
- , m_data(data)
-{
- m_colour_flags = m_data.GetCcColourFlags();
- InitValues();
-
- m_checkBoxMarkTagsFilesInBold->SetFocus();
- WindowAttrManager::Load(this, wxT("TagsOptionsDlgAttr"), NULL);
-}
-
-TagsOptionsDlg::~TagsOptionsDlg()
-{
- WindowAttrManager::Save(this, wxT("TagsOptionsDlgAttr"), NULL);
-}
-
-void TagsOptionsDlg::InitValues()
-{
- //initialize the CodeLite page
- m_checkParseComments->SetValue (m_data.GetFlags() & CC_PARSE_COMMENTS ? true : false);
- m_checkDisplayFunctionTip->SetValue (m_data.GetFlags() & CC_DISP_FUNC_CALLTIP ? true : false);
- m_checkDisplayTypeInfo->SetValue (m_data.GetFlags() & CC_DISP_TYPE_INFO ? true : false);
- m_checkDisplayComments->SetValue (m_data.GetFlags() & CC_DISP_COMMENTS ? true : false);
- m_checkFilesWithoutExt->SetValue (m_data.GetFlags() & CC_PARSE_EXT_LESS_FILES ? true : false);
- m_checkColourLocalVars->SetValue (m_data.GetFlags() & CC_COLOUR_VARS ? true : false);
- m_checkColourProjTags->SetValue (m_data.GetFlags() & CC_COLOUR_WORKSPACE_TAGS ? true : false);
- m_checkCppKeywordAssist->SetValue (m_data.GetFlags() & CC_CPP_KEYWORD_ASISST ? true : false);
- m_checkDisableParseOnSave->SetValue (m_data.GetFlags() & CC_DISABLE_AUTO_PARSING ? true : false);
- m_checkBoxMarkTagsFilesInBold->SetValue (m_data.GetFlags() & CC_MARK_TAGS_FILES_IN_BOLD ? true : false);
- m_checkBoxretagWorkspaceOnStartup->SetValue (m_data.GetFlags() & CC_RETAG_WORKSPACE_ON_STARTUP ? true : false);
-
-
- m_checkBoxClass->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_CLASS);
- m_checkBoxEnum->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_ENUM);
- m_checkBoxFunction->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_FUNCTION);
- m_checkBoxMacro->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_MACRO);
- m_checkBoxNamespace->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_NAMESPACE);
- m_checkBoxPrototype->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_PROTOTYPE);
- m_checkBoxStruct->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_STRUCT);
- m_checkBoxTypedef->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_TYPEDEF);
- m_checkBoxUnion->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_UNION);
- m_checkBoxEnumerator->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_ENUMERATOR);
- m_checkBoxMember->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_MEMBER);
- m_checkBoxVariable->SetValue (m_data.GetCcColourFlags() & CC_COLOUR_VARIABLE);
- m_listBoxSearchPaths->Append (m_data.GetParserSearchPaths() );
- m_listBoxSearchPaths1->Append (m_data.GetParserExcludePaths() );
- m_spinCtrlMaxItemToColour->SetValue (m_data.GetMaxItemToColour() );
- m_textPrep->SetValue (m_data.GetTokens());
- m_textTypes->SetValue (m_data.GetTypes());
-
- m_textFileSpec->SetValue(m_data.GetFileSpec());
- m_comboBoxLang->Clear();
- m_comboBoxLang->Append(m_data.GetLanguages());
- if ( m_data.GetLanguages().IsEmpty() == false ) {
- wxString lan = m_data.GetLanguages().Item(0);
- m_comboBoxLang->SetStringSelection(lan);
- } else {
- m_comboBoxLang->Append(wxT("c++"));
- m_comboBoxLang->SetSelection(0);
- }
-}
-
-void TagsOptionsDlg::OnButtonOK(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- CopyData();
- EndModal(wxID_OK);
-}
-
-void TagsOptionsDlg::OnButtonAdd(wxCommandEvent &event)
-{
- wxUnusedVar(event);
- //pop up add option dialog
- AddOptionDlg dlg(this, m_textPrep->GetValue());
- if (dlg.ShowModal() == wxID_OK) {
- m_textPrep->SetValue(dlg.GetValue());
- }
-}
-
-void TagsOptionsDlg::CopyData()
-{
- //save data to the interal member m_data
- SetFlag(CC_DISP_COMMENTS, m_checkDisplayComments->IsChecked());
- SetFlag(CC_DISP_FUNC_CALLTIP, m_checkDisplayFunctionTip->IsChecked());
- SetFlag(CC_DISP_TYPE_INFO, m_checkDisplayTypeInfo->IsChecked());
- SetFlag(CC_PARSE_COMMENTS, m_checkParseComments->IsChecked());
- SetFlag(CC_PARSE_EXT_LESS_FILES, m_checkFilesWithoutExt->IsChecked());
- SetFlag(CC_COLOUR_VARS, m_checkColourLocalVars->IsChecked());
- SetFlag(CC_CPP_KEYWORD_ASISST, m_checkCppKeywordAssist->IsChecked());
- SetFlag(CC_DISABLE_AUTO_PARSING, m_checkDisableParseOnSave->IsChecked());
- SetFlag(CC_COLOUR_WORKSPACE_TAGS, m_checkColourProjTags->IsChecked());
- SetFlag(CC_MARK_TAGS_FILES_IN_BOLD, m_checkBoxMarkTagsFilesInBold->IsChecked());
- SetFlag(CC_RETAG_WORKSPACE_ON_STARTUP, m_checkBoxretagWorkspaceOnStartup->IsChecked());
-
- SetColouringFlag(CC_COLOUR_CLASS, m_checkBoxClass->IsChecked());
- SetColouringFlag(CC_COLOUR_ENUM, m_checkBoxEnum->IsChecked());
- SetColouringFlag(CC_COLOUR_FUNCTION, m_checkBoxFunction->IsChecked());
- SetColouringFlag(CC_COLOUR_MACRO, m_checkBoxMacro->IsChecked());
- SetColouringFlag(CC_COLOUR_NAMESPACE, m_checkBoxNamespace->IsChecked());
- SetColouringFlag(CC_COLOUR_PROTOTYPE, m_checkBoxPrototype->IsChecked());
- SetColouringFlag(CC_COLOUR_STRUCT, m_checkBoxStruct->IsChecked());
- SetColouringFlag(CC_COLOUR_TYPEDEF, m_checkBoxTypedef->IsChecked());
- SetColouringFlag(CC_COLOUR_UNION, m_checkBoxUnion->IsChecked());
- SetColouringFlag(CC_COLOUR_ENUMERATOR, m_checkBoxEnumerator->IsChecked());
- SetColouringFlag(CC_COLOUR_VARIABLE, m_checkBoxVariable->IsChecked());
- SetColouringFlag(CC_COLOUR_MEMBER, m_checkBoxMember->IsChecked());
-
- m_data.SetFileSpec(m_textFileSpec->GetValue());
-
- m_data.SetTokens(m_textPrep->GetValue());
- m_data.SetTypes(m_textTypes->GetValue());
- m_data.SetLanguages(m_comboBoxLang->GetStrings());
- m_data.SetLanguageSelection(m_comboBoxLang->GetStringSelection());
- m_data.SetParserSearchPaths( m_listBoxSearchPaths->GetStrings() );
- m_data.SetParserExcludePaths( m_listBoxSearchPaths1->GetStrings() );
- m_data.SetMaxItemToColour( m_spinCtrlMaxItemToColour->GetValue() );
-
-}
-
-void TagsOptionsDlg::SetFlag(CodeCompletionOpts flag, bool set)
-{
- if (set) {
- m_data.SetFlags(m_data.GetFlags() | flag);
- } else {
- m_data.SetFlags(m_data.GetFlags() & ~(flag));
- }
-}
-
-void TagsOptionsDlg::SetColouringFlag(CodeCompletionColourOpts flag, bool set)
-{
- if (set) {
- m_data.SetCcColourFlags(m_data.GetCcColourFlags() | flag);
- } else {
- m_data.SetCcColourFlags(m_data.GetCcColourFlags() & ~(flag));
- }
-}
-
-void TagsOptionsDlg::OnColourWorkspaceUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_checkColourProjTags->IsChecked());
-}
-
-void TagsOptionsDlg::OnAddSearchPath(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxString new_path = wxDirSelector(wxT("Add Parser Search Path:"), wxT(""), wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
- if(new_path.IsEmpty() == false){
- if(m_listBoxSearchPaths->GetStrings().Index(new_path) == wxNOT_FOUND) {
- m_listBoxSearchPaths->Append(new_path);
- }
- }
-}
-
-void TagsOptionsDlg::OnAddSearchPathUI(wxUpdateUIEvent& e)
-{
- e.Enable(true);
-}
-
-void TagsOptionsDlg::OnClearAll(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- m_listBoxSearchPaths->Clear();
-}
-
-void TagsOptionsDlg::OnClearAllUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_listBoxSearchPaths->IsEmpty() == false);
-}
-
-void TagsOptionsDlg::OnRemoveSearchPath(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- int sel = m_listBoxSearchPaths->GetSelection();
- if( sel != wxNOT_FOUND) {
- m_listBoxSearchPaths->Delete((unsigned int)sel);
- }
-}
-
-void TagsOptionsDlg::OnRemoveSearchPathUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_listBoxSearchPaths->GetSelection() != wxNOT_FOUND);
-}
-
-void TagsOptionsDlg::OnAddExcludePath(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- wxString new_path = wxDirSelector(wxT("Add Parser Search Path:"), wxT(""), wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
- if(new_path.IsEmpty() == false){
- if(m_listBoxSearchPaths1->GetStrings().Index(new_path) == wxNOT_FOUND) {
- m_listBoxSearchPaths1->Append(new_path);
- }
- }
-}
-
-void TagsOptionsDlg::OnAddExcludePathUI(wxUpdateUIEvent& e)
-{
- e.Enable(true);
-}
-
-void TagsOptionsDlg::OnClearAllExcludePaths(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- m_listBoxSearchPaths1->Clear();
-}
-
-void TagsOptionsDlg::OnClearAllExcludePathsUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_listBoxSearchPaths1->IsEmpty() == false);
-}
-
-void TagsOptionsDlg::OnRemoveExcludePath(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- int sel = m_listBoxSearchPaths1->GetSelection();
- if( sel != wxNOT_FOUND) {
- m_listBoxSearchPaths1->Delete((unsigned int)sel);
- }
-}
-
-void TagsOptionsDlg::OnRemoveExcludePathUI(wxUpdateUIEvent& e)
-{
- e.Enable(m_listBoxSearchPaths1->GetSelection() != wxNOT_FOUND);
-}
-
diff --git a/LiteEditor/tags_options_dlg.h b/LiteEditor/tags_options_dlg.h
deleted file mode 100644
index 5aeca761..00000000
--- a/LiteEditor/tags_options_dlg.h
+++ /dev/null
@@ -1,74 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : tags_options_dlg.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __tags_options_dlg__
-#define __tags_options_dlg__
-
-#include "tags_options_base_dlg.h"
-#include "serialized_object.h"
-#include "wx/filename.h"
-#include "tags_options_data.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class TagsOptionsDlg
-///////////////////////////////////////////////////////////////////////////////
-class TagsOptionsDlg : public TagsOptionsBaseDlg
-{
- TagsOptionsData m_data;
- size_t m_colour_flags;
-
-protected:
- void SetFlag(CodeCompletionOpts flag, bool set);
- void SetColouringFlag(CodeCompletionColourOpts flag, bool set);
-
- void InitValues ();
- void CopyData ();
- void OnButtonOK (wxCommandEvent &event);
- void OnButtonAdd (wxCommandEvent &event);
- void OnColourWorkspaceUI (wxUpdateUIEvent &e);
- void OnClearAll (wxCommandEvent &e);
- void OnClearAllUI (wxUpdateUIEvent &e);
- void OnAddSearchPath (wxCommandEvent &e);
- void OnAddSearchPathUI (wxUpdateUIEvent &e);
- void OnRemoveSearchPath (wxCommandEvent &e);
- void OnRemoveSearchPathUI (wxUpdateUIEvent &e);
- void OnClearAllExcludePaths (wxCommandEvent &e);
- void OnClearAllExcludePathsUI(wxUpdateUIEvent &e);
- void OnAddExcludePath (wxCommandEvent &e);
- void OnAddExcludePathUI (wxUpdateUIEvent &e);
- void OnRemoveExcludePath (wxCommandEvent &e);
- void OnRemoveExcludePathUI (wxUpdateUIEvent &e);
-
-public:
- TagsOptionsDlg( wxWindow* parent, const TagsOptionsData& data);
- virtual ~TagsOptionsDlg();
- TagsOptionsData &GetData() {
- return m_data;
- }
-};
-
-#endif //__tags_options_dlg__
diff --git a/LiteEditor/tags_parser_search_path_dlg.cpp b/LiteEditor/tags_parser_search_path_dlg.cpp
deleted file mode 100644
index dbd52fc8..00000000
--- a/LiteEditor/tags_parser_search_path_dlg.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
-#include "tags_parser_search_path_dlg.h"
-#include "windowattrmanager.h"
-
-TagsParserSearchPathsDlg::TagsParserSearchPathsDlg( wxWindow* parent, const wxArrayString &paths, const wxArrayString &excludePaths )
- : TagsParserSearchPathsBaseDlg( parent )
-{
- m_checkListPaths->Append( paths );
- for(unsigned int i=0; i<m_checkListPaths->GetCount(); i++) {
- m_checkListPaths->Check(i, true);
- }
-
- m_checkListExcludePaths->Append( excludePaths );
- for(unsigned int i=0; i<m_checkListExcludePaths->GetCount(); i++) {
- m_checkListExcludePaths->Check(i, true);
- }
-
- WindowAttrManager::Load(this, wxT("TagsParserSearchPathsDlg"), NULL);
-}
-
-wxArrayString TagsParserSearchPathsDlg::GetSearchPaths() const
-{
- wxArrayString paths;
- for(unsigned int i=0; i<m_checkListPaths->GetCount(); i++) {
- if(m_checkListPaths->IsChecked(i)) {
- paths.Add( m_checkListPaths->GetString(i) );
- }
- }
- return paths;
-}
-
-
-TagsParserSearchPathsDlg::~TagsParserSearchPathsDlg()
-{
- WindowAttrManager::Save(this, wxT("TagsParserSearchPathsDlg"), NULL);
-}
-
-wxArrayString TagsParserSearchPathsDlg::GetExcludePath() const
-{
- wxArrayString paths;
- for(unsigned int i=0; i<m_checkListExcludePaths->GetCount(); i++) {
- if(m_checkListExcludePaths->IsChecked(i)) {
- paths.Add( m_checkListExcludePaths->GetString(i) );
- }
- }
- return paths;
-}
diff --git a/LiteEditor/tags_parser_search_path_dlg.h b/LiteEditor/tags_parser_search_path_dlg.h
deleted file mode 100644
index 047adc09..00000000
--- a/LiteEditor/tags_parser_search_path_dlg.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef __tags_parser_search_path_dlg__
-#define __tags_parser_search_path_dlg__
-
-/**
-@file
-Subclass of TagsParserSearchPathsBaseDlg, which is generated by wxFormBuilder.
-*/
-
-#include "tagsparsersearchpathsbasedlg.h"
-
-/** Implementing TagsParserSearchPathsBaseDlg */
-class TagsParserSearchPathsDlg : public TagsParserSearchPathsBaseDlg
-{
-public:
- /** Constructor */
- TagsParserSearchPathsDlg( wxWindow* parent, const wxArrayString &paths, const wxArrayString &excludePaths );
- virtual ~TagsParserSearchPathsDlg();
-
- wxArrayString GetSearchPaths() const;
- wxArrayString GetExcludePath() const;
-
-};
-
-#endif // __tags_parser_search_path_dlg__
diff --git a/LiteEditor/tagsparsersearchpathsbasedlg.cpp b/LiteEditor/tagsparsersearchpathsbasedlg.cpp
deleted file mode 100644
index e33b91fa..00000000
--- a/LiteEditor/tagsparsersearchpathsbasedlg.cpp
+++ /dev/null
@@ -1,60 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "tagsparsersearchpathsbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-TagsParserSearchPathsBaseDlg::TagsParserSearchPathsBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("The following include paths were detected on your system and will be added to your parser search path.\nYou may remove a path by unchecking it.\n\nYou can always add/remove paths to the parser from the main menu:\nSettings > Tags Settings > Parser"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- sbSizer1->Add( m_staticText2, 0, wxALL|wxEXPAND, 5 );
-
- mainSizer->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
-
- wxArrayString m_checkListPathsChoices;
- m_checkListPaths = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListPathsChoices, 0 );
- mainSizer->Add( m_checkListPaths, 1, wxALL|wxEXPAND, 5 );
-
- wxArrayString m_checkListExcludePathsChoices;
- m_checkListExcludePaths = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_checkListExcludePathsChoices, 0 );
- mainSizer->Add( m_checkListExcludePaths, 1, wxALL|wxEXPAND, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* buttonSizer;
- buttonSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, _("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- buttonSizer->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- buttonSizer->Add( m_buttonCancel, 0, wxALL, 5 );
-
- mainSizer->Add( buttonSizer, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-}
-
-TagsParserSearchPathsBaseDlg::~TagsParserSearchPathsBaseDlg()
-{
-}
diff --git a/LiteEditor/tagsparsersearchpathsbasedlg.fbp b/LiteEditor/tagsparsersearchpathsbasedlg.fbp
deleted file mode 100644
index 378b8dfc..00000000
--- a/LiteEditor/tagsparsersearchpathsbasedlg.fbp
+++ /dev/null
@@ -1,448 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">tagsparsersearchpathsbasedlg</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">TagsParserSearchPathsBaseDlg</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Dialog" expanded="1">
- <property name="bg"></property>
- <property name="center">wxBOTH</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="extra_style"></property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">TagsParserSearchPathsBaseDlg</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
- <property name="subclass"></property>
- <property name="title">Add Search Paths to Code Completion Parser</property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnActivate"></event>
- <event name="OnActivateApp"></event>
- <event name="OnChar"></event>
- <event name="OnClose"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnHibernate"></event>
- <event name="OnIconize"></event>
- <event name="OnIdle"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="1">
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">The following include paths were detected on your system and will be added to your parser search path.&#x0A;You may remove a path by unchecking it.&#x0A;&#x0A;You can always add/remove paths to the parser from the main menu:&#x0A;Settings &gt; Tags Settings &gt; Parser</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxCheckListBox" expanded="1">
- <property name="bg"></property>
- <property name="choices"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkListPaths</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckListBox"></event>
- <event name="OnCheckListBoxDClick"></event>
- <event name="OnCheckListBoxToggled"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxCheckListBox" expanded="1">
- <property name="bg"></property>
- <property name="choices"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_checkListExcludePaths</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnCheckListBox"></event>
- <event name="OnCheckListBoxDClick"></event>
- <event name="OnCheckListBoxToggled"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_HORIZONTAL</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">buttonSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_OK</property>
- <property name="label">&amp;Ok</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonOk</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_CANCEL</property>
- <property name="label">&amp;Cancel</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonCancel</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/tagsparsersearchpathsbasedlg.h b/LiteEditor/tagsparsersearchpathsbasedlg.h
deleted file mode 100644
index 0abbe3bc..00000000
--- a/LiteEditor/tagsparsersearchpathsbasedlg.h
+++ /dev/null
@@ -1,51 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __tagsparsersearchpathsbasedlg__
-#define __tagsparsersearchpathsbasedlg__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/statbox.h>
-#include <wx/checklst.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class TagsParserSearchPathsBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class TagsParserSearchPathsBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText2;
- wxCheckListBox* m_checkListPaths;
- wxCheckListBox* m_checkListExcludePaths;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- public:
-
- TagsParserSearchPathsBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Add Search Paths to Code Completion Parser"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~TagsParserSearchPathsBaseDlg();
-
-};
-
-#endif //__tagsparsersearchpathsbasedlg__
diff --git a/LiteEditor/taskpanel.cpp b/LiteEditor/taskpanel.cpp
deleted file mode 100644
index b8564a75..00000000
--- a/LiteEditor/taskpanel.cpp
+++ /dev/null
@@ -1,169 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : taskpanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include "editor_config.h"
-#include "taskspaneldata.h"
-#include "tasks_find_what_dlg.h"
-#include <wx/tglbtn.h>
-#include "frame.h"
-#include "manager.h"
-#include "macros.h"
-#include "taskpanel.h"
-
-BEGIN_EVENT_TABLE(TaskPanel, FindResultsTab)
- EVT_BUTTON(XRCID("search"), TaskPanel::OnSearch)
- EVT_BUTTON(XRCID("find_what"), TaskPanel::OnFindWhat)
- EVT_UPDATE_UI(XRCID("search"), TaskPanel::OnSearchUI)
-END_EVENT_TABLE()
-
-TaskPanel::TaskPanel(wxWindow* parent, wxWindowID id, const wxString &name)
- : FindResultsTab(parent, id, name)
- , m_scope(NULL)
- , m_filter(NULL)
-{
- wxArrayString scopes;
- scopes.Add(SEARCH_IN_PROJECT);
- scopes.Add(SEARCH_IN_WORKSPACE);
- scopes.Add(SEARCH_IN_CURR_FILE_PROJECT);
-
- wxArrayString filters;
- filters.Add(wxT("C/C++ Sources"));
- m_extensions.Add(wxT("*.c;*.cpp;*.cxx;*.cc;*.h;*.hpp;*.hxx;*.hh;*.inl;*.inc;*.hh"));
- filters.Add(wxT("All Files"));
- m_extensions.Add(wxT("*.*"));
-
- wxBoxSizer *horzSizer = new wxBoxSizer(wxHORIZONTAL);
-
- wxStaticText *text = new wxStaticText(this, wxID_ANY, wxT("Search Tasks in:"));
- horzSizer->Add(text, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
-
- m_scope = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, scopes);
- m_scope->SetSelection(0);
- horzSizer->Add(m_scope, 1, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 2);
-
- m_filter = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, filters);
- m_filter->SetSelection(0);
- horzSizer->Add(m_filter, 1, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 2);
-
- wxButton *btn = new wxButton(this, XRCID("search"), wxT("&Search"));
- horzSizer->Add(btn, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
-
- m_findWhat = new wxButton(this, XRCID("find_what"), _("Find What..."));
- horzSizer->Add(m_findWhat, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 2);
-
- wxBoxSizer *vertSizer = new wxBoxSizer(wxVERTICAL);
- vertSizer->Add(horzSizer, 0, wxEXPAND|wxTOP|wxBOTTOM);
-
- // grab the base class scintilla and put our sizer in its place
- wxSizer *mainSizer = GetSizer();
- mainSizer->Detach(m_sci);
- vertSizer->Add(m_sci, 1, wxEXPAND | wxALL, 1);
-
- mainSizer->Add(vertSizer, 1, wxEXPAND | wxALL, 1);
- mainSizer->Layout();
-}
-
-TaskPanel::~TaskPanel()
-{
-}
-
-SearchData TaskPanel::DoGetSearchData()
-{
- SearchData data;
- data.SetDisplayScope(true);
- data.SetRegularExpression(true);
- data.SetMatchCase(false);
- data.SetMatchWholeWord(false);
- data.SetUseEditorFontConfig(false);
- data.SetOwner(this);
-
- wxString sfind;
-
- // Load all info from disk
- TasksPanelData d;
- EditorConfigST::Get()->ReadObject(wxT("TasksPanelData"), &d);
-
- std::map<wxString, wxString>::const_iterator iter = d.GetTasks().begin();
- for(; iter != d.GetTasks().end(); iter++){
- wxString name = iter->first;
- wxString regex = iter->second;
- bool enabled = (d.GetEnabledItems().Index(iter->first) != wxNOT_FOUND);
-
- regex.Trim().Trim(false);
- wxRegEx re(regex);
- if(enabled && !regex.IsEmpty() && re.IsValid())
- sfind << wxT("(") << regex << wxT(")|");
- }
-
- if(sfind.empty() == false)
- sfind.RemoveLast();
-
- data.SetFindString(sfind);
-
- wxString rootDir = m_scope->GetStringSelection();
- wxArrayString rootDirs;
- rootDirs.push_back(rootDir);
- data.SetRootDirs(rootDirs);
- wxArrayString files;
- if (rootDir == SEARCH_IN_WORKSPACE) {
- ManagerST::Get()->GetWorkspaceFiles(files);
- } else if (rootDir == SEARCH_IN_PROJECT) {
- ManagerST::Get()->GetProjectFiles(ManagerST::Get()->GetActiveProjectName(), files);
- } else if (rootDir == SEARCH_IN_CURR_FILE_PROJECT) {
- wxString project = ManagerST::Get()->GetActiveProjectName();
- if (Frame::Get()->GetMainBook()->GetActiveEditor()) {
- wxFileName activeFile = Frame::Get()->GetMainBook()->GetActiveEditor()->GetFileName();
- project = ManagerST::Get()->GetProjectNameByFile(activeFile.GetFullPath());
- }
- ManagerST::Get()->GetProjectFiles(project, files);
- }
- data.SetFiles(files);
- data.SetExtensions(m_extensions[m_filter->GetSelection()]);
-
- return data;
-}
-
-void TaskPanel::OnSearch(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- SearchData sd = DoGetSearchData();
- SearchThreadST::Get()->PerformSearch(sd);
-}
-
-void TaskPanel::OnSearchUI(wxUpdateUIEvent& e)
-{
- e.Enable(true);
-}
-
-void TaskPanel::OnRepeatOutput(wxCommandEvent& e)
-{
- OnSearch(e);
-}
-
-void TaskPanel::OnFindWhat(wxCommandEvent& e)
-{
- TasksFindWhatDlg dlg(this);
- dlg.ShowModal();
-}
diff --git a/LiteEditor/taskpanel.h b/LiteEditor/taskpanel.h
deleted file mode 100644
index 6694ec0c..00000000
--- a/LiteEditor/taskpanel.h
+++ /dev/null
@@ -1,56 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : taskpanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __taskpanel__
-#define __taskpanel__
-
-#include "findresultstab.h"
-
-class wxToggleButton;
-
-
-class TaskPanel : public FindResultsTab
-{
-private:
- wxArrayString m_extensions;
- wxButton *m_findWhat;
- wxChoice *m_scope;
- wxChoice *m_filter;
-
-protected:
- SearchData DoGetSearchData();
- void OnFindWhat (wxCommandEvent &e);
- void OnSearch (wxCommandEvent &e);
- void OnSearchUI (wxUpdateUIEvent &e);
- void OnRepeatOutput (wxCommandEvent &e);
-
- DECLARE_EVENT_TABLE()
-
-public:
- TaskPanel(wxWindow* parent, wxWindowID id, const wxString &name);
- ~TaskPanel();
-};
-
-#endif // __taskpanel__
diff --git a/LiteEditor/tasks_find_what_dlg.cpp b/LiteEditor/tasks_find_what_dlg.cpp
deleted file mode 100644
index 4513c68f..00000000
--- a/LiteEditor/tasks_find_what_dlg.cpp
+++ /dev/null
@@ -1,134 +0,0 @@
-#include "tasks_find_what_dlg.h"
-#include <wx/msgdlg.h>
-#include <wx/regex.h>
-#include "editor_config.h"
-#include "taskspaneldata.h"
-#include "windowattrmanager.h"
-
-class TaskData : public wxClientData
-{
-public:
- wxString m_regex;
-
-public:
- TaskData(const wxString &regex) : m_regex(regex) {}
- virtual ~TaskData() {}
-};
-
-TasksFindWhatDlg::TasksFindWhatDlg( wxWindow* parent )
- : TasksFindWhatDlgBase( parent )
-{
- m_list->InsertColumn(0, wxT("Enabled"));
- m_list->InsertColumn(1, wxT("Task"));
- m_list->SetColumnWidth(1, 200);
-
- // Load all info from disk
- TasksPanelData data;
- EditorConfigST::Get()->ReadObject(wxT("TasksPanelData"), &data);
-
- std::map<wxString, wxString>::const_iterator iter = data.GetTasks().begin();
- for (; iter != data.GetTasks().end(); iter++) {
- DoAddLine(iter->first, iter->second, data.GetEnabledItems().Index(iter->first) != wxNOT_FOUND);
- }
- WindowAttrManager::Load(this, wxT("TasksFindWhatDlg"), NULL);
-}
-
-TasksFindWhatDlg::~TasksFindWhatDlg()
-{
- WindowAttrManager::Save(this, wxT("TasksFindWhatDlg"), NULL);
-}
-
-void TasksFindWhatDlg::OnNewTask( wxCommandEvent& event )
-{
- NewTaskDialog dlg(this);
- WindowAttrManager::Load(&dlg, wxT("NewTaskDialog"), NULL);
-
- dlg.SetLabel(_("New Task"));
- if (dlg.ShowModal() == wxID_OK) {
- wxRegEx re(dlg.m_regex->GetValue());
- if (re.IsValid() == false) {
- wxMessageBox(wxString::Format(wxT("'%s' is not a valid regulare expression"), dlg.m_regex->GetValue().c_str()), wxT("CodeLite"), wxICON_WARNING|wxOK);
- return;
- }
- DoAddLine(dlg.m_name->GetValue(), dlg.m_regex->GetValue(), true);
- }
- WindowAttrManager::Save(&dlg, wxT("NewTaskDialog"), NULL);
-}
-
-void TasksFindWhatDlg::OnDeleteTask( wxCommandEvent& event )
-{
- int selection = m_list->GetSelection();
- if (selection == wxNOT_FOUND)
- return;
-
- int answer = wxMessageBox(wxT("Are you sure you want to delete this entry?"), wxT("Confirm"), wxICON_QUESTION|wxYES_NO);
- if (answer == wxYES) {
- m_list->DeleteItem(selection);
- }
-}
-
-void TasksFindWhatDlg::OnDeleteTaskUI( wxUpdateUIEvent& event )
-{
- event.Enable(m_list->GetItemCount() && m_list->GetSelection() != wxNOT_FOUND);
-}
-
-void TasksFindWhatDlg::OnEditTask(wxCommandEvent& event)
-{
- int selection = m_list->GetSelection();
- if (selection != wxNOT_FOUND) {
-
- NewTaskDialog dlg(this);
- WindowAttrManager::Load(&dlg, wxT("NewTaskDialog"), NULL);
-
- dlg.SetLabel(_("Edit Task"));
- dlg.m_name->SetValue( m_list->GetText(selection, 1) );
-
- TaskData *data = (TaskData*) m_list->GetItemData(selection);
- dlg.m_regex->SetValue(data->m_regex);
- if (dlg.ShowModal() == wxID_OK) {
- m_list->SetTextColumn(selection, 1, dlg.m_name->GetValue());
- m_list->SetItemClientData(selection, new TaskData(dlg.m_regex->GetValue()));
- }
- WindowAttrManager::Save(&dlg, wxT("NewTaskDialog"), NULL);
- }
-}
-
-void TasksFindWhatDlg::OnEditTaskUI(wxUpdateUIEvent& event)
-{
- event.Enable(m_list->GetItemCount() && m_list->GetSelection() != wxNOT_FOUND);
-}
-
-void TasksFindWhatDlg::DoAddLine(const wxString& name, const wxString& regex, bool enabled)
-{
- long item = m_list->AppendRow();
- m_list->SetCheckboxRow(item, enabled);
- m_list->SetTextColumn(item, 1, name);
- m_list->SetItemClientData(item, new TaskData(regex));
-}
-
-void TasksFindWhatDlg::DoSaveList()
-{
- // Save all items
- TasksPanelData data;
- std::map<wxString, wxString> items;
- wxArrayString enabledItems;
-
- for (int i=0; i<m_list->GetItemCount(); i++) {
- wxString name = m_list->GetText(i, 1);
- TaskData *clientData = (TaskData*) m_list->GetItemData(i);
- items[name] = clientData->m_regex;
-
- if (m_list->IsChecked(i))
- enabledItems.Add(name);
- }
-
- data.SetEnabledItems(enabledItems);
- data.SetTasks(items);
- EditorConfigST::Get()->WriteObject(wxT("TasksPanelData"), &data);
-}
-
-void TasksFindWhatDlg::OnButtonOk(wxCommandEvent& event)
-{
- DoSaveList();
- event.Skip();
-}
diff --git a/LiteEditor/tasks_find_what_dlg.h b/LiteEditor/tasks_find_what_dlg.h
deleted file mode 100644
index f1d61fc6..00000000
--- a/LiteEditor/tasks_find_what_dlg.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef __tasks_find_what_dlg__
-#define __tasks_find_what_dlg__
-
-/**
-@file
-Subclass of TasksFindWhatDlgBase, which is generated by wxFormBuilder.
-*/
-
-#include "tasksfindwhatdlgbase.h"
-
-/** Implementing TasksFindWhatDlgBase */
-class TasksFindWhatDlg : public TasksFindWhatDlgBase
-{
-protected:
- // Handlers for TasksFindWhatDlgBase events.
- void OnNewTask( wxCommandEvent& event );
- void OnDeleteTask( wxCommandEvent& event );
- void OnDeleteTaskUI( wxUpdateUIEvent& event );
- void OnEditTask( wxCommandEvent& event );
- void OnEditTaskUI( wxUpdateUIEvent& event );
- void OnButtonOk( wxCommandEvent& event );
-
-private:
- void DoAddLine(const wxString &name, const wxString &regex, bool enabled);
- void DoSaveList();
-
-public:
- /** Constructor */
- TasksFindWhatDlg( wxWindow* parent );
- virtual ~TasksFindWhatDlg();
-};
-
-#endif // __tasks_find_what_dlg__
diff --git a/LiteEditor/tasksfindwhatdlgbase.cpp b/LiteEditor/tasksfindwhatdlgbase.cpp
deleted file mode 100644
index b71eb07e..00000000
--- a/LiteEditor/tasksfindwhatdlgbase.cpp
+++ /dev/null
@@ -1,138 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "tasksfindwhatdlgbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-TasksFindWhatDlgBase::TasksFindWhatDlgBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bSizer3;
- bSizer3 = new wxBoxSizer( wxHORIZONTAL );
-
- m_list = new ListCtrlImproved(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_HRULES|wxLC_VRULES);
- bSizer3->Add( m_list, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- m_buttonNew = new wxButton( this, wxID_ANY, _("New"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonNew, 0, wxALL, 5 );
-
- m_buttonEdit = new wxButton( this, wxID_ANY, _("Edit"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonEdit, 0, wxALL, 5 );
-
- m_buttonDelete = new wxButton( this, wxID_ANY, _("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer4->Add( m_buttonDelete, 0, wxALL, 5 );
-
- bSizer3->Add( bSizer4, 0, wxEXPAND, 5 );
-
- mainSizer->Add( bSizer3, 1, wxEXPAND|wxALL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* buttonSizer;
- buttonSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, _("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- buttonSizer->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- buttonSizer->Add( m_buttonCancel, 0, wxALL, 5 );
-
- mainSizer->Add( buttonSizer, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_buttonNew->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TasksFindWhatDlgBase::OnNewTask ), NULL, this );
- m_buttonEdit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TasksFindWhatDlgBase::OnEditTask ), NULL, this );
- m_buttonEdit->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TasksFindWhatDlgBase::OnEditTaskUI ), NULL, this );
- m_buttonDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TasksFindWhatDlgBase::OnDeleteTask ), NULL, this );
- m_buttonDelete->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TasksFindWhatDlgBase::OnDeleteTaskUI ), NULL, this );
- m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TasksFindWhatDlgBase::OnButtonOk ), NULL, this );
-}
-
-TasksFindWhatDlgBase::~TasksFindWhatDlgBase()
-{
- // Disconnect Events
- m_buttonNew->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TasksFindWhatDlgBase::OnNewTask ), NULL, this );
- m_buttonEdit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TasksFindWhatDlgBase::OnEditTask ), NULL, this );
- m_buttonEdit->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TasksFindWhatDlgBase::OnEditTaskUI ), NULL, this );
- m_buttonDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TasksFindWhatDlgBase::OnDeleteTask ), NULL, this );
- m_buttonDelete->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( TasksFindWhatDlgBase::OnDeleteTaskUI ), NULL, this );
- m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TasksFindWhatDlgBase::OnButtonOk ), NULL, this );
-}
-
-NewTaskDialog::NewTaskDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxVERTICAL );
-
- wxFlexGridSizer* fgSizer1;
- fgSizer1 = new wxFlexGridSizer( 2, 2, 0, 0 );
- fgSizer1->AddGrowableCol( 1 );
- fgSizer1->SetFlexibleDirection( wxBOTH );
- fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Task Name:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- fgSizer1->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_name = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_name, 0, wxALL|wxEXPAND, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Regular Expression:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- fgSizer1->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
-
- m_regex = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- fgSizer1->Add( m_regex, 0, wxALL|wxEXPAND, 5 );
-
- bSizer5->Add( fgSizer1, 0, wxEXPAND, 5 );
-
-
- bSizer5->Add( 0, 0, 1, wxEXPAND, 5 );
-
- m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer5->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- m_button5 = new wxButton( this, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
- m_button5->SetDefault();
- bSizer6->Add( m_button5, 0, wxALL, 5 );
-
- m_button6 = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer6->Add( m_button6, 0, wxALL, 5 );
-
- bSizer5->Add( bSizer6, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer5 );
- this->Layout();
- bSizer5->Fit( this );
-
- this->Centre( wxBOTH );
-}
-
-NewTaskDialog::~NewTaskDialog()
-{
-}
diff --git a/LiteEditor/tasksfindwhatdlgbase.fbp b/LiteEditor/tasksfindwhatdlgbase.fbp
deleted file mode 100644
index ed9a765a..00000000
--- a/LiteEditor/tasksfindwhatdlgbase.fbp
+++ /dev/null
@@ -1,1008 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">tasksfindwhatdlgbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">TasksFindWhatDlgBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Dialog" expanded="0">
- <property name="bg"></property>
- <property name="center">wxBOTH</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="extra_style"></property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">TasksFindWhatDlgBase</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
- <property name="subclass"></property>
- <property name="title">Find What...</property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnActivate"></event>
- <event name="OnActivateApp"></event>
- <event name="OnChar"></event>
- <event name="OnClose"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnHibernate"></event>
- <event name="OnIconize"></event>
- <event name="OnIdle"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">1</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer3</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="CustomControl" expanded="1">
- <property name="bg"></property>
- <property name="class">wxListCtrl</property>
- <property name="construction">m_list = new ListCtrlImproved(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxLC_HRULES|wxLC_VRULES);</property>
- <property name="context_help"></property>
- <property name="declaration">ListCtrlImproved *m_list;</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="include">#include &quot;listctrl_improved.h&quot;</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_list</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="settings"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer4</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">New</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonNew</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnNewTask</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Edit</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonEdit</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnEditTask</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnEditTaskUI</event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Delete</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonDelete</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnDeleteTask</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnDeleteTaskUI</event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_HORIZONTAL</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">buttonSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_OK</property>
- <property name="label">&amp;Ok</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonOk</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnButtonOk</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_CANCEL</property>
- <property name="label">&amp;Cancel</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonCancel</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="Dialog" expanded="0">
- <property name="bg"></property>
- <property name="center">wxBOTH</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="extra_style"></property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">NewTaskDialog</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
- <property name="subclass"></property>
- <property name="title">New Task</property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnActivate"></event>
- <event name="OnActivateApp"></event>
- <event name="OnChar"></event>
- <event name="OnClose"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnHibernate"></event>
- <event name="OnIconize"></event>
- <event name="OnIdle"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="0">
- <property name="minimum_size"></property>
- <property name="name">bSizer5</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxFlexGridSizer" expanded="1">
- <property name="cols">2</property>
- <property name="flexible_direction">wxBOTH</property>
- <property name="growablecols">1</property>
- <property name="growablerows"></property>
- <property name="hgap">0</property>
- <property name="minimum_size"></property>
- <property name="name">fgSizer1</property>
- <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
- <property name="permission">none</property>
- <property name="rows">2</property>
- <property name="vgap">0</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Task Name:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_name</property>
- <property name="permission">public</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Regular Expression:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxTextCtrl" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="maxlength">0</property>
- <property name="minimum_size"></property>
- <property name="name">m_regex</property>
- <property name="permission">public</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="value"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnText"></event>
- <event name="OnTextEnter"></event>
- <event name="OnTextMaxLen"></event>
- <event name="OnTextURL"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="spacer" expanded="1">
- <property name="height">0</property>
- <property name="permission">protected</property>
- <property name="width">0</property>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_HORIZONTAL</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer6</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_OK</property>
- <property name="label">&amp;OK</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_button5</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_CANCEL</property>
- <property name="label">&amp;Cancel</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_button6</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/tasksfindwhatdlgbase.h b/LiteEditor/tasksfindwhatdlgbase.h
deleted file mode 100644
index 27ae0971..00000000
--- a/LiteEditor/tasksfindwhatdlgbase.h
+++ /dev/null
@@ -1,85 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __tasksfindwhatdlgbase__
-#define __tasksfindwhatdlgbase__
-
-#include <wx/intl.h>
-
-#include "listctrl_improved.h"
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-#include <wx/stattext.h>
-#include <wx/textctrl.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class TasksFindWhatDlgBase
-///////////////////////////////////////////////////////////////////////////////
-class TasksFindWhatDlgBase : public wxDialog
-{
- private:
-
- protected:
- ListCtrlImproved *m_list;
- wxButton* m_buttonNew;
- wxButton* m_buttonEdit;
- wxButton* m_buttonDelete;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnNewTask( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnEditTask( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnEditTaskUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnDeleteTask( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnDeleteTaskUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnButtonOk( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- TasksFindWhatDlgBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Find What..."), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~TasksFindWhatDlgBase();
-
-};
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class NewTaskDialog
-///////////////////////////////////////////////////////////////////////////////
-class NewTaskDialog : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticText1;
- wxStaticText* m_staticText2;
-
- wxStaticLine* m_staticline2;
- wxButton* m_button5;
- wxButton* m_button6;
-
- public:
- wxTextCtrl* m_name;
- wxTextCtrl* m_regex;
-
- NewTaskDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("New Task"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~NewTaskDialog();
-
-};
-
-#endif //__tasksfindwhatdlgbase__
diff --git a/LiteEditor/taskspaneldata.h b/LiteEditor/taskspaneldata.h
deleted file mode 100644
index 13f30822..00000000
--- a/LiteEditor/taskspaneldata.h
+++ /dev/null
@@ -1,56 +0,0 @@
-#ifndef TASKSPANELDATA_H
-#define TASKSPANELDATA_H
-
-#include "serialized_object.h" // Base class
-
-class TasksPanelData : public SerializedObject
-{
- std::map<wxString, wxString> m_tasks;
- wxArrayString m_enabledItems;
-
-public:
- TasksPanelData() {
- // Set the default search patterns
- m_tasks.clear();
- m_tasks[wxT("TODO")] = wxT("/[/\\*]+ *TODO");
- m_tasks[wxT("BUG")] = wxT("/[/\\*]+ *BUG");
- m_tasks[wxT("ATTN")] = wxT("/[/\\*]+ *ATTN");
- m_tasks[wxT("FIXME")] = wxT("/[/\\*]+ *FIXME");
-
- m_enabledItems.Clear();
- m_enabledItems.Add(wxT("TODO"));
- m_enabledItems.Add(wxT("BUG"));
- m_enabledItems.Add(wxT("FIXME"));
- m_enabledItems.Add(wxT("ATTN"));
- }
-
- virtual ~TasksPanelData() {
- }
-
-public:
- void SetEnabledItems(const wxArrayString& enabledItems) {
- this->m_enabledItems = enabledItems;
- }
- void SetTasks(const std::map<wxString, wxString>& tasks) {
- this->m_tasks = tasks;
- }
- const wxArrayString& GetEnabledItems() const {
- return m_enabledItems;
- }
- const std::map<wxString, wxString>& GetTasks() const {
- return m_tasks;
- }
-
- virtual void DeSerialize(Archive &arch) {
- arch.Read(wxT("m_tasks"), m_tasks);
- arch.Read(wxT("m_enabledItems"), m_enabledItems);
- }
-
- virtual void Serialize(Archive &arch) {
- arch.Write(wxT("m_tasks"), m_tasks);
- arch.Write(wxT("m_enabledItems"), m_enabledItems);
- }
-
-};
-
-#endif // TASKSPANELDATA_H
diff --git a/LiteEditor/threadlistbasepanel.cpp b/LiteEditor/threadlistbasepanel.cpp
deleted file mode 100644
index 3617159c..00000000
--- a/LiteEditor/threadlistbasepanel.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : threadlistbasepanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "threadlistbasepanel.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-ThreadListBasePanel::ThreadListBasePanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
-{
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_VRULES );
- mainSizer->Add( m_list, 1, wxALL|wxEXPAND, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
-
- // Connect Events
- m_list->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( ThreadListBasePanel::OnItemActivated ), NULL, this );
-}
diff --git a/LiteEditor/threadlistbasepanel.h b/LiteEditor/threadlistbasepanel.h
deleted file mode 100644
index ba3e013b..00000000
--- a/LiteEditor/threadlistbasepanel.h
+++ /dev/null
@@ -1,66 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : threadlistbasepanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Sep 26 2007)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __threadlistbasepanel__
-#define __threadlistbasepanel__
-
-#include <wx/listctrl.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/string.h>
-#include <wx/sizer.h>
-#include <wx/panel.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class ThreadListBasePanel
-///////////////////////////////////////////////////////////////////////////////
-class ThreadListBasePanel : public wxPanel
-{
- private:
-
- protected:
- wxListCtrl* m_list;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnItemActivated( wxListEvent& event ){ event.Skip(); }
-
-
- public:
- ThreadListBasePanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
-
-};
-
-#endif //__threadlistbasepanel__
diff --git a/LiteEditor/threadlistpanel.cpp b/LiteEditor/threadlistpanel.cpp
deleted file mode 100644
index 5a0f34aa..00000000
--- a/LiteEditor/threadlistpanel.cpp
+++ /dev/null
@@ -1,87 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : threadlistpanel.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "threadlistpanel.h"
-#include "globals.h"
-#include "manager.h"
-
-ThreadListPanel::ThreadListPanel( wxWindow* parent )
-:
-ThreadListBasePanel( parent )
-{
- InitList();
-}
-
-void ThreadListPanel::OnItemActivated( wxListEvent& event )
-{
- long threadId(wxNOT_FOUND);
- int index = event.m_itemIndex;
- if(index != wxNOT_FOUND){
- wxString str_id = GetColumnText(m_list, index, 0);
- str_id.ToLong(&threadId);
- Manager *mgr = ManagerST::Get();
- mgr->DbgSetThread(threadId);
- }
-}
-
-void ThreadListPanel::InitList()
-{
- //add two columns to the list ctrl
- m_list->InsertColumn(0, wxT("Thread ID"));
- m_list->InsertColumn(1, wxT("Active"));
- m_list->InsertColumn(2, wxT("Information"));
-}
-
-void ThreadListPanel::PopulateList(const ThreadEntryArray &threads)
-{
- m_list->Freeze();
- m_list->DeleteAllItems();
- for(ThreadEntryArray::size_type i=0; i< threads.size(); i++){
- ThreadEntry entry = threads.at(i);
-
- long item;
- wxListItem info;
-
- //insert new item (row)
- info.SetColumn(0);
- item = m_list->InsertItem(info);
-
- wxString str_id;
- wxString str_active;
-
- str_id << entry.dbgid;
- str_active = entry.active ? wxT("Yes") : wxT("No");
-
- SetColumnText(m_list, item, 0, str_id);
- SetColumnText(m_list, item, 1, str_active);
- SetColumnText(m_list, item, 2, entry.more);
- }
- m_list->SetColumnWidth(2, wxLIST_AUTOSIZE);
- m_list->Thaw();
-}
-
-void ThreadListPanel::Clear()
-{
- m_list->DeleteAllItems();
-}
diff --git a/LiteEditor/threadlistpanel.h b/LiteEditor/threadlistpanel.h
deleted file mode 100644
index 7d461bac..00000000
--- a/LiteEditor/threadlistpanel.h
+++ /dev/null
@@ -1,51 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : threadlistpanel.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef __threadlistpanel__
-#define __threadlistpanel__
-
-/**
-@file
-Subclass of ThreadListBasePanel, which is generated by wxFormBuilder.
-*/
-
-#include "threadlistbasepanel.h"
-#include "debugger.h"
-
-/** Implementing ThreadListBasePanel */
-class ThreadListPanel : public ThreadListBasePanel
-{
-protected:
- // Handlers for ThreadListBasePanel events.
- void OnItemActivated( wxListEvent& event );
- void InitList();
-
-public:
- /** Constructor */
- ThreadListPanel( wxWindow* parent );
- void PopulateList(const ThreadEntryArray &threads);
- void Clear();
-};
-
-#endif // __threadlistpanel__
diff --git a/LiteEditor/tiptree.cpp b/LiteEditor/tiptree.cpp
deleted file mode 100644
index d81978ae..00000000
--- a/LiteEditor/tiptree.cpp
+++ /dev/null
@@ -1,112 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : tiptree.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #include "tiptree.h"
-#include "map"
-#include "wx/settings.h"
-#include "list"
-
-TipTree::TipTree(wxWindow *parent, wxWindowID id, long style)
-: wxTreeCtrl(parent, id, wxDefaultPosition, wxDefaultSize, style)
-{
- SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOBK));
-}
-
-TipTree::~TipTree()
-{
- DeleteAllItems();
-}
-
-void TipTree::BuildTree(TreeNode<wxString, NodeData> *tree)
-{
- if(!tree){
- return;
- }
- //Walk over the tree and construct it
- Freeze();
- DeleteAllItems();
- std::map<void*, bool> m_sortItems;
- std::list< wxTreeItemId > rootChilds;
-
- //create the tree
- wxTreeItemId root = AddRoot(tree->GetData().name);
- tree->GetData().itemId = root;
- TreeWalker<wxString, NodeData> walker(tree);
-
- for(; !walker.End(); walker++)
- {
- // Add the item to the tree
- TreeNode<wxString, NodeData>* node = walker.GetNode();
-
- // Skip root node
- if(node->IsRoot())
- continue;
-
- wxTreeItemId parentHti = node->GetParent()->GetData().itemId;
- if(parentHti.IsOk() == false){
- parentHti = root;
- }
-
- //add the item to the tree
- node->GetData().itemId = AppendItem(
- parentHti, // parent
- node->GetData().name, // display name
- wxNOT_FOUND, // item image index
- wxNOT_FOUND, // selected item image
- new TipTreeData(node->GetData().name)
- );
- m_sortItems[parentHti.m_pItem] = true;
- if(parentHti == root){
- rootChilds.push_back(node->GetData().itemId);
- }
- }
- SortTree(m_sortItems);
-
- //expand all the root direct children
- std::list<wxTreeItemId>::iterator iter = rootChilds.begin();
- for(; iter != rootChilds.end(); iter++){
- wxTreeItemId item = (*iter);
- if(item.IsOk() && ItemHasChildren(item)){
- Expand(item);
- }
- }
- delete tree;
- Thaw();
-}
-
-void TipTree::SortTree(std::map<void*, bool> & nodes)
-{
- std::map<void*, bool>::iterator iter = nodes.begin();
- for(; iter != nodes.end(); iter++){
- wxTreeItemId item = iter->first;
- if(item.IsOk()){
- // Does this node has children?
- if( GetChildrenCount( item ) == 0 )
- continue;
- SortChildren(item);
- }
- }
-}
-
-
diff --git a/LiteEditor/tiptree.h b/LiteEditor/tiptree.h
deleted file mode 100644
index eadc1510..00000000
--- a/LiteEditor/tiptree.h
+++ /dev/null
@@ -1,52 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : tiptree.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
- #ifndef TIPTREE_H
-#define TIPTREE_H
-
-#include "wx/treectrl.h"
-#include "debuggerobserver.h"
-#include "tree_node.h"
-
-class TipTreeData : public wxTreeItemData
-{
- wxString m_displayString;
-public:
- TipTreeData(const wxString &displayStr) : m_displayString(displayStr){}
- virtual ~TipTreeData(){}
-};
-
-class TipTree : public wxTreeCtrl
-{
-protected:
- void SortTree(std::map<void*, bool> & nodes);
-
-public:
- TipTree(wxWindow *parent, wxWindowID id, long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT);
- virtual ~TipTree();
-
- void BuildTree(TreeNode<wxString, NodeData> *tree);
-};
-
-#endif //TIPTREE_H
diff --git a/LiteEditor/tree_symbol_page.cpp b/LiteEditor/tree_symbol_page.cpp
deleted file mode 100644
index 646e70ca..00000000
--- a/LiteEditor/tree_symbol_page.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "tree_symbol_page.h"
-
-SymbolTreePage::SymbolTreePage(wxWindow *parent)
-: wxPanel(parent)
-{
-}
-
-SymbolTreePage::~SymbolTreePage()
-{
-}
diff --git a/LiteEditor/tree_symbol_page.h b/LiteEditor/tree_symbol_page.h
deleted file mode 100644
index 7a69165c..00000000
--- a/LiteEditor/tree_symbol_page.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef TREE_SYMBOL_PAGE_H
-#define TREE_SYMBOL_PAGE_H
-
-#include "wx/panel.h"
-#include "wx/filename.h"
-
-class SymbolTreePage : public wxPanel
-{
- wxFileName m_fileName;
-public:
- SymbolTreePage(wxWindow *parent);
- virtual ~SymbolTreePage();
-
- //accessors
- void SetFileName(const wxFileName &filename);
- const wxFileName &GetFilename() const {return m_fileName;}
-};
-#endif //TREE_SYMBOL_PAGE_H
diff --git a/LiteEditor/treebooknodebase.cpp b/LiteEditor/treebooknodebase.cpp
deleted file mode 100644
index 69c2b99f..00000000
--- a/LiteEditor/treebooknodebase.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : treebooknodebase.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include "treebooknodebase.h"
-TreeBookNodeBase::TreeBookNodeBase()
-{
-}
-
-TreeBookNodeBase::~TreeBookNodeBase()
-{
-}
-
diff --git a/LiteEditor/treebooknodebase.h b/LiteEditor/treebooknodebase.h
deleted file mode 100644
index a7f0622a..00000000
--- a/LiteEditor/treebooknodebase.h
+++ /dev/null
@@ -1,52 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : treebooknodebase.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __treebooknodebase__
-#define __treebooknodebase__
-
-#include "editor_config.h"
-
-class TreeBookNodeBase
-{
-public:
- TreeBookNodeBase();
- virtual ~TreeBookNodeBase();
-
- virtual void Save(OptionsConfigPtr options) = 0;
- virtual bool IsRestartRequired() { return false; }
-};
-
-template<typename DerivedT>
-class TreeBookNode : public TreeBookNodeBase{
-
-public:
- TreeBookNode()
- : TreeBookNodeBase() {
- }
-
- virtual ~TreeBookNode(){
- }
-};
-#endif // __treebooknodebase__
diff --git a/LiteEditor/webupdatethread.cpp b/LiteEditor/webupdatethread.cpp
deleted file mode 100644
index 85727ae6..00000000
--- a/LiteEditor/webupdatethread.cpp
+++ /dev/null
@@ -1,175 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : webupdatethread.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#include <wx/url.h>
-#include "precompiled_header.h"
-#include <wx/tokenzr.h>
-#include "webupdatethread.h"
-//#include <curl/curl.h>
-
-extern const wxChar *SvnRevision;
-
-const wxEventType wxEVT_CMD_NEW_VERSION_AVAILABLE = wxNewEventType();
-const wxEventType wxEVT_CMD_VERSION_UPTODATE = wxNewEventType();
-
-static const size_t DLBUFSIZE = 4096;
-
-WebUpdateJob::WebUpdateJob(wxEvtHandler *parent, bool userRequest)
- : Job(parent)
- , m_userRequest(userRequest)
-{
-}
-
-WebUpdateJob::~WebUpdateJob()
-{
-}
-
-void WebUpdateJob::Process(wxThread* thread)
-{
-// CURL *curl(NULL);
-// CURLcode res;
-// curl_global_init(CURL_GLOBAL_DEFAULT);
-// curl = curl_easy_init();
-// if (curl) {
-// // set the URL to the packages list
-// curl_easy_setopt(curl, CURLOPT_URL, "http://codelite.org/packages.txt");
-// // set callback for the write operation
-// curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteData);
-// // pass this object to the callback
-// curl_easy_setopt(curl, CURLOPT_WRITEDATA, this);
-// // switch off verbose mode
-// curl_easy_setopt(curl, CURLOPT_VERBOSE, 0L);
-// // fetch!
-// res = curl_easy_perform(curl);
-//
-// if (res == CURLE_OK) {
-// // compare the version
-// ParseFile();
-// }
-// }
-// curl_global_cleanup();
-
-// wxURL url(wxT("http://codelite.org/packages_test.txt"));
- wxURL url(wxT("http://codelite.org/packages.txt"));
- if (url.GetError() == wxURL_NOERR) {
-
- wxInputStream *in_stream = url.GetInputStream();
- if (!in_stream) {
- return;
- }
-
- unsigned char buffer[DLBUFSIZE+1];
- do {
-
- in_stream->Read(buffer, DLBUFSIZE);
- size_t bytes_read = in_stream->LastRead();
- if (bytes_read > 0) {
-
- buffer[bytes_read] = 0;
- wxString buffRead((const char*)buffer, wxConvUTF8);
- m_dataRead.Append(buffRead);
- }
-
- } while ( !in_stream->Eof() );
-
- delete in_stream;
-
- ParseFile();
- }
-}
-
-size_t WebUpdateJob::WriteData(void* buffer, size_t size, size_t nmemb, void* obj)
-{
- WebUpdateJob *job = reinterpret_cast<WebUpdateJob*>(obj);
- if (job) {
- char *data = new char[size*nmemb+1];
- memcpy(data, buffer, size*nmemb);
- data[size*nmemb] = 0;
-
- job->m_dataRead.Append(_U(data));
- delete [] data;
- return size * nmemb;
- }
- return static_cast<size_t>(-1);
-}
-
-void WebUpdateJob::ParseFile()
-{
- wxString packageName(wxT("MSW"));
-#if defined(__WXGTK__)
- packageName = wxT("GTK");
-#elif defined(__WXMAC__)
- packageName = wxT("MAC");
-#endif
-
- // diffrentiate between the 64bit and the 32bit packages
-#ifdef ON_64_BIT
- packageName << wxT("_64");
-#endif
-
- wxArrayString lines = wxStringTokenize(m_dataRead, wxT("\n"));
- for (size_t i=0; i<lines.GetCount(); i++) {
- wxString line = lines.Item(i);
- line = line.Trim().Trim(false);
- if (line.StartsWith(wxT("#"))) {
- //comment line
- continue;
- }
-
- // parse the line
- wxArrayString tokens = wxStringTokenize(line, wxT("|"));
- if (tokens.GetCount() > 3) {
- // find the entry with our package name
- if (tokens.Item(0).Trim().Trim(false) == packageName) {
- wxString url = tokens.Item(2).Trim().Trim(false);
- wxString rev = tokens.Item(1).Trim().Trim(false);
- wxString releaseNotesUrl = tokens.Item(3).Trim().Trim(false);
-
- long currev;
- long webrev(0);
-
- // convert strings to long
- wxString sCurRev(SvnRevision);
- sCurRev.ToLong(&currev);
-
- wxString sUrlRev(rev);
- sUrlRev.ToLong(&webrev);
-
- if ( webrev > currev ) {
- // notify the user that a new version is available
- wxCommandEvent e(wxEVT_CMD_NEW_VERSION_AVAILABLE);
- e.SetClientData(new WebUpdateJobData(url.c_str(), releaseNotesUrl.c_str(), currev, webrev, false, m_userRequest));
- wxPostEvent(m_parent, e);
- } else {
- // version is up to date, notify the main thread about it
- wxCommandEvent e(wxEVT_CMD_VERSION_UPTODATE);
- e.SetClientData(new WebUpdateJobData(url.c_str(), releaseNotesUrl.c_str(), currev, webrev, true, m_userRequest));
- wxPostEvent(m_parent, e);
- }
- break;
- }
- }
- }
-}
diff --git a/LiteEditor/webupdatethread.h b/LiteEditor/webupdatethread.h
deleted file mode 100644
index f622c9c7..00000000
--- a/LiteEditor/webupdatethread.h
+++ /dev/null
@@ -1,94 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : webupdatethread.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __webupdatethread__
-#define __webupdatethread__
-
-#include "job.h"
-
-extern const wxEventType wxEVT_CMD_NEW_VERSION_AVAILABLE;
-extern const wxEventType wxEVT_CMD_VERSION_UPTODATE;
-
-class WebUpdateJobData
-{
-
- wxString m_url;
- long m_curVersion;
- long m_newVersion;
- bool m_upToDate;
- wxString m_releaseNotes;
- bool m_showMessage;
-
-public:
- WebUpdateJobData(const wxString &url, const wxString &releaseNotes, long curVersion, long newVersion, bool upToDate, bool showMessage)
- : m_url(url.c_str())
- , m_curVersion(curVersion)
- , m_newVersion(newVersion)
- , m_upToDate(upToDate)
- , m_releaseNotes(releaseNotes)
- , m_showMessage(showMessage) {}
-
- ~WebUpdateJobData() {}
-
- const wxString& GetUrl() const {
- return m_url;
- }
- long GetCurrentVersion() const {
- return m_curVersion;
- }
- long GetNewVersion() const {
- return m_newVersion;
- }
-
- bool IsUpToDate() const {
- return m_upToDate;
- }
-
- void SetReleaseNotes(const wxString& releaseNotes) {
- this->m_releaseNotes = releaseNotes;
- }
- const wxString& GetReleaseNotes() const {
- return m_releaseNotes;
- }
- bool GetShowMessage() const {
- return m_showMessage;
- }
-};
-
-class WebUpdateJob : public Job
-{
- wxString m_dataRead;
- bool m_userRequest;
-public:
- WebUpdateJob(wxEvtHandler *parent, bool userRequest);
- virtual ~WebUpdateJob();
- void ParseFile();
-
- static size_t WriteData(void *buffer, size_t size, size_t nmemb, void *obj);
-
-public:
- virtual void Process(wxThread *thread);
-};
-#endif // __webupdatethread__
diff --git a/LiteEditor/workspace_pane.cpp b/LiteEditor/workspace_pane.cpp
deleted file mode 100644
index 6b196460..00000000
--- a/LiteEditor/workspace_pane.cpp
+++ /dev/null
@@ -1,319 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : workspace_pane.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/app.h>
-#include <wx/xrc/xmlres.h>
-#include "parse_thread.h"
-#include "editor_config.h"
-#include "configuration_manager_dlg.h"
-#include "detachedpanesinfo.h"
-#include "dockablepane.h"
-#include "manager.h"
-#include "frame.h"
-#include "cl_editor.h"
-#include "custom_notebook.h"
-#include "cpp_symbol_tree.h"
-#include "windowstack.h"
-#include "macros.h"
-#include "fileview.h"
-#include "openwindowspanel.h"
-#include "fileexplorer.h"
-#include "workspacetab.h"
-#include "workspace_pane.h"
-
-#define OPEN_CONFIG_MGR_STR wxT("<Open Configuration Manager...>")
-
-WorkspacePane::WorkspacePane(wxWindow *parent, const wxString &caption, wxAuiManager *mgr)
- : wxPanel(parent)
- , m_caption(caption)
- , m_mgr(mgr)
-{
- CreateGUIControls();
- Connect();
-}
-
-WorkspacePane::~WorkspacePane()
-{
-}
-
-#define ADD_WORKSPACE_PAGE(win, name) \
- if( detachedPanes.Index(name) != wxNOT_FOUND ) {\
- new DockablePane(GetParent(), m_book, win, name, wxNullBitmap, wxSize(200, 200));\
- } else {\
- m_book->AddPage(win, name, name, wxNullBitmap, true);\
- }
-
-void WorkspacePane::CreateGUIControls()
-{
- wxBoxSizer *mainSizer = new wxBoxSizer(wxVERTICAL);
- SetSizer(mainSizer);
-
- // selected configuration:
-
- mainSizer->Add(new wxStaticText(this, wxID_ANY, wxT("Selected Configuration:")), 0, wxALIGN_CENTER_HORIZONTAL| wxALL, 2);
-
- wxBoxSizer *hsz = new wxBoxSizer(wxHORIZONTAL);
- mainSizer->Add(hsz, 0, wxEXPAND|wxTOP|wxBOTTOM, 5);
-
- wxArrayString choices;
- m_workspaceConfig = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choices);
- m_workspaceConfig->Enable(false);
- m_workspaceConfig->Append(OPEN_CONFIG_MGR_STR);
- ConnectChoice(m_workspaceConfig, WorkspacePane::OnConfigurationManagerChoice);
- hsz->Add(m_workspaceConfig, 1, wxEXPAND| wxALL, 1);
-
- // add notebook for tabs
- long bookStyle = wxVB_LEFT|wxVB_FIXED_WIDTH;
- EditorConfigST::Get()->GetLongValue(wxT("WorkspaceView"), bookStyle);
- m_book = new Notebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, bookStyle);
-
- // Calculate the widthest tab (the one with the 'Workspcae' label)
- int xx, yy;
- wxFont fnt = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
- wxWindow::GetTextExtent(wxT("Workspace"), &xx, &yy, NULL, NULL, &fnt);
- m_book->SetFixedTabWidth(xx + 20);
-
- m_book->SetAuiManager(m_mgr, m_caption);
- mainSizer->Add(m_book, 1, wxEXPAND | wxALL, 1);
-
- // create tabs (possibly detached)
- DetachedPanesInfo dpi;
- EditorConfigST::Get()->ReadObject(wxT("DetachedPanesList"), &dpi);
- wxArrayString detachedPanes = dpi.GetPanes();
-
- m_workspaceTab = new WorkspaceTab(m_book, wxT("Workspace"));
- ADD_WORKSPACE_PAGE(m_workspaceTab, m_workspaceTab->GetCaption());
-
- m_explorer = new FileExplorer(m_book, wxT("Explorer"));
- ADD_WORKSPACE_PAGE(m_explorer, m_explorer->GetCaption());
-
- m_winStack = new WindowStack(m_book, wxID_ANY);
- ADD_WORKSPACE_PAGE(m_winStack, wxT("Outline"));
-
- m_openWindowsPane = new OpenWindowsPanel(m_book, wxT("Tabs"));
- ADD_WORKSPACE_PAGE(m_openWindowsPane, m_openWindowsPane->GetCaption());
-
- if (m_book->GetPageCount() > 0) {
- m_book->SetSelection((size_t)0);
- }
-
- m_mgr->Update();
-}
-
-void WorkspacePane::Connect()
-{
- wxTheApp->Connect(wxEVT_WORKSPACE_LOADED, wxCommandEventHandler(WorkspacePane::OnWorkspaceConfig), NULL, this);
- wxTheApp->Connect(wxEVT_WORKSPACE_CONFIG_CHANGED, wxCommandEventHandler(WorkspacePane::OnWorkspaceConfig), NULL, this);
- wxTheApp->Connect(wxEVT_WORKSPACE_CLOSED, wxCommandEventHandler(WorkspacePane::OnWorkspaceClosed), NULL, this);
- wxTheApp->Connect(wxEVT_PROJ_FILE_ADDED, wxCommandEventHandler(WorkspacePane::OnProjectFileAdded), NULL, this);
- wxTheApp->Connect(wxEVT_PROJ_FILE_REMOVED, wxCommandEventHandler(WorkspacePane::OnProjectFileRemoved), NULL, this);
- wxTheApp->Connect(wxEVT_SYNBOL_TREE_UPDATE_ITEM, wxCommandEventHandler(WorkspacePane::OnSymbolsUpdated), NULL, this);
- wxTheApp->Connect(wxEVT_SYNBOL_TREE_DELETE_ITEM, wxCommandEventHandler(WorkspacePane::OnSymbolsDeleted), NULL, this);
- wxTheApp->Connect(wxEVT_SYNBOL_TREE_ADD_ITEM, wxCommandEventHandler(WorkspacePane::OnSymbolsAdded), NULL, this);
- wxTheApp->Connect(wxEVT_FILE_RETAGGED, wxCommandEventHandler(WorkspacePane::OnFileRetagged), NULL, this);
- wxTheApp->Connect(wxEVT_ACTIVE_EDITOR_CHANGED, wxCommandEventHandler(WorkspacePane::OnActiveEditorChanged), NULL, this);
- wxTheApp->Connect(wxEVT_EDITOR_CLOSING, wxCommandEventHandler(WorkspacePane::OnEditorClosing), NULL, this);
- wxTheApp->Connect(wxEVT_ALL_EDITORS_CLOSED, wxCommandEventHandler(WorkspacePane::OnAllEditorsClosed), NULL, this);
-
- wxTheApp->Connect(XRCID("configuration_manager"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspacePane::OnConfigurationManager), NULL, this);
- wxTheApp->Connect(XRCID("configuration_manager"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspacePane::OnConfigurationManagerUI), NULL, this);
-}
-
-
-extern wxImageList* CreateSymbolTreeImages();
-
-void WorkspacePane::ShowCurrentOutline()
-{
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (!editor || editor->GetProjectName().IsEmpty()) {
- m_winStack->SelectNone();
- return;
- }
- wxString path = editor->GetFileName().GetFullPath();
- if (m_winStack->GetSelectedKey() != path) {
- m_winStack->Freeze();
- if (m_winStack->Find(path) == NULL) {
- CppSymbolTree *tree = new CppSymbolTree(m_winStack, wxID_ANY);
- tree->SetSymbolsImages(CreateSymbolTreeImages());
- tree->BuildTree(path);
- m_winStack->Add(tree, path);
- }
- m_winStack->Select(path);
- m_winStack->Thaw();
- }
-}
-
-void WorkspacePane::OnActiveEditorChanged(wxCommandEvent& e)
-{
- e.Skip();
- ShowCurrentOutline();
-}
-
-void WorkspacePane::OnAllEditorsClosed(wxCommandEvent& e)
-{
- e.Skip();
- m_winStack->Clear();
-}
-
-void WorkspacePane::OnEditorClosing(wxCommandEvent& e)
-{
- e.Skip();
- IEditor *editor = (IEditor*) e.GetClientData();
- if (editor && !editor->GetProjectName().IsEmpty()) {
- m_winStack->Delete(editor->GetFileName().GetFullPath());
- }
-}
-
-void WorkspacePane::OnFileRetagged(wxCommandEvent& e)
-{
- e.Skip();
- std::vector<wxFileName> *files = (std::vector<wxFileName>*) e.GetClientData();
- if (files && !files->empty()) {
- m_winStack->Freeze();
- // toss out any out-of-date outlines
- for (size_t i = 0; i < files->size(); i++) {
- m_winStack->Delete(files->at(i).GetFullPath());
- }
- ShowCurrentOutline(); // in case active editor's file was one of them
- m_winStack->Thaw();
- }
-}
-
-void WorkspacePane::OnProjectFileAdded(wxCommandEvent& e)
-{
- e.Skip();
- ShowCurrentOutline(); // in case the active editor's file is now tagged
-}
-
-void WorkspacePane::OnProjectFileRemoved(wxCommandEvent& e)
-{
- e.Skip();
- wxArrayString *files = (wxArrayString*) e.GetClientData();
- if (files && !files->IsEmpty()) {
- for (size_t i = 0; i < files->Count(); i++) {
- m_winStack->Delete(files->Item(i));
- }
- ShowCurrentOutline(); // in case active editor's file is no longer tagged
- }
-}
-
-void WorkspacePane::OnSymbolsAdded(wxCommandEvent& e)
-{
- e.Skip();
- ParseThreadEventData *data = (ParseThreadEventData*) e.GetClientData();
- if (data && !data->GetItems().empty()) {
- CppSymbolTree *tree = (CppSymbolTree*) m_winStack->Find(data->GetFileName());
- if (tree) {
- tree->AddSymbols(data->GetItems());
- }
- }
-}
-
-void WorkspacePane::OnSymbolsDeleted(wxCommandEvent& e)
-{
- e.Skip();
- ParseThreadEventData *data = (ParseThreadEventData*) e.GetClientData();
- if (data && !data->GetItems().empty()) {
- CppSymbolTree *tree = (CppSymbolTree*) m_winStack->Find(data->GetFileName());
- if (tree) {
- tree->DeleteSymbols(data->GetItems());
- }
- }
-}
-
-void WorkspacePane::OnSymbolsUpdated(wxCommandEvent& e)
-{
- e.Skip();
- ParseThreadEventData *data = (ParseThreadEventData*) e.GetClientData();
- if (data && !data->GetItems().empty()) {
- CppSymbolTree *tree = (CppSymbolTree*) m_winStack->Find(data->GetFileName());
- if (tree) {
- tree->UpdateSymbols(data->GetItems());
- }
- }
-}
-
-void WorkspacePane::OnWorkspaceConfig(wxCommandEvent& e)
-{
- e.Skip();
-
- BuildMatrixPtr matrix = WorkspaceST::Get()->GetBuildMatrix();
- std::list<WorkspaceConfigurationPtr> confs = matrix->GetConfigurations();
-
- m_workspaceConfig->Freeze();
- m_workspaceConfig->Enable(true);
- m_workspaceConfig->Clear();
- for (std::list<WorkspaceConfigurationPtr>::iterator iter = confs.begin() ; iter != confs.end(); iter++) {
- m_workspaceConfig->Append((*iter)->GetName());
- }
- if (m_workspaceConfig->GetCount() > 0) {
- m_workspaceConfig->SetStringSelection(matrix->GetSelectedConfigurationName());
- }
- m_workspaceConfig->Append(OPEN_CONFIG_MGR_STR);
- m_workspaceConfig->Thaw();
-}
-
-void WorkspacePane::OnWorkspaceClosed(wxCommandEvent& e)
-{
- e.Skip();
- m_workspaceConfig->Clear();
- m_workspaceConfig->Enable(false);
- m_winStack->Clear();
-}
-
-void WorkspacePane::OnConfigurationManagerUI(wxUpdateUIEvent& e)
-{
- e.Enable(ManagerST::Get()->IsWorkspaceOpen());
-}
-
-void WorkspacePane::OnConfigurationManagerChoice(wxCommandEvent &event)
-{
- wxString selection = m_workspaceConfig->GetStringSelection();
- if(selection == OPEN_CONFIG_MGR_STR){
- wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, XRCID("configuration_manager"));
- e.SetEventObject(this);
- ProcessEvent(e);
- return;
- }
-
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- matrix->SetSelectedConfigurationName(selection);
- ManagerST::Get()->SetWorkspaceBuildMatrix(matrix);
-
- // Set the focus to the active editor if any
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if(editor)
- editor->SetActive();
-
-}
-
-void WorkspacePane::OnConfigurationManager(wxCommandEvent& e)
-{
- wxUnusedVar(e);
- ConfigurationManagerDlg dlg(this);
- dlg.ShowModal();
-
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
- m_workspaceConfig->SetStringSelection(matrix->GetSelectedConfigurationName());
-}
diff --git a/LiteEditor/workspace_pane.h b/LiteEditor/workspace_pane.h
deleted file mode 100644
index 85c09186..00000000
--- a/LiteEditor/workspace_pane.h
+++ /dev/null
@@ -1,86 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : workspace_pane.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef WORKSPACE_PANE_H
-#define WORKSPACE_PANE_H
-
-#include <wx/filename.h>
-#include <wx/panel.h>
-
-// Forward Declarations
-class Notebook;
-class FileViewTree;
-class WindowStack;
-class OpenWindowsPanel;
-class FileExplorer;
-class WorkspaceTab;
-
-class WorkspacePane : public wxPanel
-{
-private:
- wxString m_caption;
- wxChoice *m_workspaceConfig;
- wxAuiManager *m_mgr;
-
- Notebook *m_book;
- WindowStack *m_winStack;
- OpenWindowsPanel *m_openWindowsPane;
- FileExplorer *m_explorer;
- WorkspaceTab *m_workspaceTab;
-
- void CreateGUIControls();
- void Connect();
- void ShowCurrentOutline();
-
- // Workspace event handlers
- void OnWorkspaceConfig (wxCommandEvent &e);
- void OnWorkspaceClosed (wxCommandEvent &e);
- void OnFileRetagged (wxCommandEvent &e);
- void OnProjectFileAdded (wxCommandEvent &e);
- void OnProjectFileRemoved (wxCommandEvent &e);
- void OnSymbolsUpdated (wxCommandEvent &e);
- void OnSymbolsDeleted (wxCommandEvent &e);
- void OnSymbolsAdded (wxCommandEvent &e);
- void OnActiveEditorChanged(wxCommandEvent &e);
- void OnEditorClosing (wxCommandEvent &e);
- void OnAllEditorsClosed (wxCommandEvent &e);
-
- // Configuration mgr handlers
- void OnConfigurationManager (wxCommandEvent &e);
- void OnConfigurationManagerUI (wxUpdateUIEvent &e);
- void OnConfigurationManagerChoice(wxCommandEvent &event);
-
-public:
- WorkspacePane(wxWindow *parent, const wxString &caption, wxAuiManager *mgr);
- ~WorkspacePane();
-
- // Getters
- const wxString &GetCaption () const { return m_caption; }
- Notebook *GetNotebook () { return m_book; }
- WorkspaceTab *GetWorkspaceTab () { return m_workspaceTab; }
- FileExplorer *GetFileExplorer () { return m_explorer; }
-};
-
-#endif // WORKSPACE_PANE_H
-
diff --git a/LiteEditor/workspacesettingsbase.cpp b/LiteEditor/workspacesettingsbase.cpp
deleted file mode 100644
index 72619f61..00000000
--- a/LiteEditor/workspacesettingsbase.cpp
+++ /dev/null
@@ -1,171 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "workspacesettingsbase.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-WorkspaceSettingsBase::WorkspaceSettingsBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* mainSizer;
- mainSizer = new wxBoxSizer( wxVERTICAL );
-
- m_notebook1 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
- m_panel2 = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer4;
- bSizer4 = new wxBoxSizer( wxVERTICAL );
-
- wxStaticBoxSizer* sbSizer1;
- sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( m_panel2, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText1 = new wxStaticText( m_panel2, wxID_ANY, _("Add search path(s) for the code completion parser.\nThe search paths are used for locating include files for this workspace ONLY"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- sbSizer1->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 );
-
- bSizer4->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer5;
- bSizer5 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listBoxSearchPaths = new wxListBox( m_panel2, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- bSizer5->Add( m_listBoxSearchPaths, 1, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer7;
- bSizer7 = new wxBoxSizer( wxVERTICAL );
-
- m_button3 = new wxButton( m_panel2, wxID_ANY, _("&Add..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_button3, 0, wxALL|wxEXPAND, 5 );
-
- m_button4 = new wxButton( m_panel2, wxID_ANY, _("&Remove"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_button4, 0, wxALL|wxEXPAND, 5 );
-
- m_button5 = new wxButton( m_panel2, wxID_ANY, _("Clear All"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer7->Add( m_button5, 0, wxALL|wxEXPAND, 5 );
-
- bSizer5->Add( bSizer7, 0, wxEXPAND, 5 );
-
- bSizer4->Add( bSizer5, 1, wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbSizer2;
- sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( m_panel2, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText2 = new wxStaticText( m_panel2, wxID_ANY, _("Add exclude path(s) for the code completion parser.\nCodeLite will skip any file found inside these paths while scanning for include files for this workspace ONLY"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- sbSizer2->Add( m_staticText2, 1, wxEXPAND|wxALL, 5 );
-
- bSizer4->Add( sbSizer2, 0, wxEXPAND|wxALL, 5 );
-
- wxBoxSizer* bSizer6;
- bSizer6 = new wxBoxSizer( wxHORIZONTAL );
-
- m_listBoxExcludePaths = new wxListBox( m_panel2, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
- bSizer6->Add( m_listBoxExcludePaths, 1, wxALL|wxEXPAND, 5 );
-
- wxBoxSizer* bSizer8;
- bSizer8 = new wxBoxSizer( wxVERTICAL );
-
- m_button6 = new wxButton( m_panel2, wxID_ANY, _("&Add..."), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_button6, 0, wxALL, 5 );
-
- m_button7 = new wxButton( m_panel2, wxID_ANY, _("&Remove"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_button7, 0, wxALL, 5 );
-
- m_button8 = new wxButton( m_panel2, wxID_ANY, _("Clear All"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer8->Add( m_button8, 0, wxALL, 5 );
-
- bSizer6->Add( bSizer8, 0, wxEXPAND, 5 );
-
- bSizer4->Add( bSizer6, 1, wxEXPAND, 5 );
-
- m_panel2->SetSizer( bSizer4 );
- m_panel2->Layout();
- bSizer4->Fit( m_panel2 );
- m_notebook1->AddPage( m_panel2, _("Parser Include Files"), true );
- m_panelEnv = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxBoxSizer* bSizer81;
- bSizer81 = new wxBoxSizer( wxVERTICAL );
-
- wxStaticBoxSizer* sbSizer3;
- sbSizer3 = new wxStaticBoxSizer( new wxStaticBox( m_panelEnv, wxID_ANY, wxEmptyString ), wxVERTICAL );
-
- m_staticText3 = new wxStaticText( m_panelEnv, wxID_ANY, _("By default, CodeLite uses the current active environment variables set as defined in the Settings > Environment Variables dialog.\nHowever, you may choose a different set to become the active set when this workspace is loaded selecting it here."), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText3->Wrap( -1 );
- sbSizer3->Add( m_staticText3, 0, wxALL|wxEXPAND, 5 );
-
- bSizer81->Add( sbSizer3, 0, wxEXPAND|wxALL, 5 );
-
- m_staticText4 = new wxStaticText( m_panelEnv, wxID_ANY, _("Environment sets:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText4->Wrap( -1 );
- bSizer81->Add( m_staticText4, 0, wxALL|wxEXPAND, 5 );
-
- wxString m_choiceEnvSetsChoices[] = { _("Default") };
- int m_choiceEnvSetsNChoices = sizeof( m_choiceEnvSetsChoices ) / sizeof( wxString );
- m_choiceEnvSets = new wxChoice( m_panelEnv, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceEnvSetsNChoices, m_choiceEnvSetsChoices, 0 );
- m_choiceEnvSets->SetSelection( 0 );
- bSizer81->Add( m_choiceEnvSets, 0, wxALL|wxEXPAND, 5 );
-
- m_panelEnv->SetSizer( bSizer81 );
- m_panelEnv->Layout();
- bSizer81->Fit( m_panelEnv );
- m_notebook1->AddPage( m_panelEnv, _("Environment"), false );
-
- mainSizer->Add( m_notebook1, 1, wxEXPAND | wxALL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- mainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* buttonSizer;
- buttonSizer = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, _("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- buttonSizer->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
- buttonSizer->Add( m_buttonCancel, 0, wxALL, 5 );
-
- mainSizer->Add( buttonSizer, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( mainSizer );
- this->Layout();
- mainSizer->Fit( this );
-
- this->Centre( wxBOTH );
-
- // Connect Events
- m_button3->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnAddIncludePath ), NULL, this );
- m_button4->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnRemoveIncludePath ), NULL, this );
- m_button4->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( WorkspaceSettingsBase::OnRemoveIncludePathUI ), NULL, this );
- m_button5->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnClearAllIncludePaths ), NULL, this );
- m_button5->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( WorkspaceSettingsBase::OnClearAllIncludePathUI ), NULL, this );
- m_button6->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnAddExcludePath ), NULL, this );
- m_button7->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnRemoveExcludePath ), NULL, this );
- m_button7->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( WorkspaceSettingsBase::OnRemoveExcludePathUI ), NULL, this );
- m_button8->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnClearAllExcludePaths ), NULL, this );
- m_button8->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( WorkspaceSettingsBase::OnClearAllExcludePathsUI ), NULL, this );
- m_choiceEnvSets->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( WorkspaceSettingsBase::OnEnvSelected ), NULL, this );
- m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnButtonOK ), NULL, this );
-}
-
-WorkspaceSettingsBase::~WorkspaceSettingsBase()
-{
- // Disconnect Events
- m_button3->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnAddIncludePath ), NULL, this );
- m_button4->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnRemoveIncludePath ), NULL, this );
- m_button4->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( WorkspaceSettingsBase::OnRemoveIncludePathUI ), NULL, this );
- m_button5->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnClearAllIncludePaths ), NULL, this );
- m_button5->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( WorkspaceSettingsBase::OnClearAllIncludePathUI ), NULL, this );
- m_button6->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnAddExcludePath ), NULL, this );
- m_button7->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnRemoveExcludePath ), NULL, this );
- m_button7->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( WorkspaceSettingsBase::OnRemoveExcludePathUI ), NULL, this );
- m_button8->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnClearAllExcludePaths ), NULL, this );
- m_button8->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( WorkspaceSettingsBase::OnClearAllExcludePathsUI ), NULL, this );
- m_choiceEnvSets->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( WorkspaceSettingsBase::OnEnvSelected ), NULL, this );
- m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WorkspaceSettingsBase::OnButtonOK ), NULL, this );
-}
diff --git a/LiteEditor/workspacesettingsbase.fbp b/LiteEditor/workspacesettingsbase.fbp
deleted file mode 100644
index 45e251a0..00000000
--- a/LiteEditor/workspacesettingsbase.fbp
+++ /dev/null
@@ -1,1246 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<wxFormBuilder_Project>
- <FileVersion major="1" minor="10" />
- <object class="Project" expanded="1">
- <property name="class_decoration"></property>
- <property name="code_generation">C++</property>
- <property name="disconnect_events">1</property>
- <property name="disconnect_mode">source_name</property>
- <property name="disconnect_python_events">0</property>
- <property name="encoding">UTF-8</property>
- <property name="event_generation">connect</property>
- <property name="file">workspacesettingsbase</property>
- <property name="first_id">1000</property>
- <property name="help_provider">none</property>
- <property name="internationalize">1</property>
- <property name="name">WorkspaceSettingsBase</property>
- <property name="namespace"></property>
- <property name="path">.</property>
- <property name="precompiled_header"></property>
- <property name="relative_path">1</property>
- <property name="skip_python_events">1</property>
- <property name="use_enum">0</property>
- <property name="use_microsoft_bom">0</property>
- <object class="Dialog" expanded="1">
- <property name="bg"></property>
- <property name="center">wxBOTH</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="event_handler">impl_virtual</property>
- <property name="extra_style"></property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">WorkspaceSettingsBase</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
- <property name="subclass"></property>
- <property name="title">Workspace Settings</property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnActivate"></event>
- <event name="OnActivateApp"></event>
- <event name="OnChar"></event>
- <event name="OnClose"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnHibernate"></event>
- <event name="OnIconize"></event>
- <event name="OnIdle"></event>
- <event name="OnInitDialog"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">mainSizer</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">1</property>
- <object class="wxNotebook" expanded="1">
- <property name="bg"></property>
- <property name="bitmapsize"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_notebook1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnNotebookPageChanged"></event>
- <event name="OnNotebookPageChanging"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="notebookpage" expanded="1">
- <property name="bitmap"></property>
- <property name="label">Parser Include Files</property>
- <property name="select">1</property>
- <object class="wxPanel" expanded="0">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_panel2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer4</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="1">
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer1</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Add search path(s) for the code completion parser.&#x0A;The search paths are used for locating include files for this workspace ONLY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer5</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">1</property>
- <object class="wxListBox" expanded="1">
- <property name="bg"></property>
- <property name="choices"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_listBoxSearchPaths</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnListBox"></event>
- <event name="OnListBoxDClick"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer7</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">&amp;Add...</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_button3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnAddIncludePath</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">&amp;Remove</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_button4</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnRemoveIncludePath</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnRemoveIncludePathUI</event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Clear All</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_button5</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnClearAllIncludePaths</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnClearAllIncludePathUI</event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="1">
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer2</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">1</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Add exclude path(s) for the code completion parser.&#x0A;CodeLite will skip any file found inside these paths while scanning for include files for this workspace ONLY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText2</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer6</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">1</property>
- <object class="wxListBox" expanded="1">
- <property name="bg"></property>
- <property name="choices"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_listBoxExcludePaths</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnListBox"></event>
- <event name="OnListBoxDClick"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer8</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">&amp;Add...</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_button6</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnAddExcludePath</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">&amp;Remove</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_button7</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnRemoveExcludePath</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnRemoveExcludePathUI</event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Clear All</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_button8</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnClearAllExcludePaths</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI">OnClearAllExcludePathsUI</event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="notebookpage" expanded="1">
- <property name="bitmap"></property>
- <property name="label">Environment</property>
- <property name="select">0</property>
- <object class="wxPanel" expanded="0">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_panelEnv</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style">wxTAB_TRAVERSAL</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">bSizer81</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND|wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticBoxSizer" expanded="0">
- <property name="id">wxID_ANY</property>
- <property name="label"></property>
- <property name="minimum_size"></property>
- <property name="name">sbSizer3</property>
- <property name="orient">wxVERTICAL</property>
- <property name="permission">none</property>
- <event name="OnUpdateUI"></event>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">By default, CodeLite uses the current active environment variables set as defined in the Settings &gt; Environment Variables dialog.&#x0A;However, you may choose a different set to become the active set when this workspace is loaded selecting it here.</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText3</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxStaticText" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="label">Environment sets:</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticText4</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <property name="wrap">-1</property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL|wxEXPAND</property>
- <property name="proportion">0</property>
- <object class="wxChoice" expanded="1">
- <property name="bg"></property>
- <property name="choices">&quot;Default&quot;</property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_choiceEnvSets</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="selection">0</property>
- <property name="size"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnChoice">OnEnvSelected</event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxEXPAND | wxALL</property>
- <property name="proportion">0</property>
- <object class="wxStaticLine" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_ANY</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_staticline1</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style">wxLI_HORIZONTAL</property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALIGN_CENTER_HORIZONTAL</property>
- <property name="proportion">0</property>
- <object class="wxBoxSizer" expanded="1">
- <property name="minimum_size"></property>
- <property name="name">buttonSizer</property>
- <property name="orient">wxHORIZONTAL</property>
- <property name="permission">none</property>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">1</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_OK</property>
- <property name="label">&amp;Ok</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonOk</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick">OnButtonOK</event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- <object class="sizeritem" expanded="1">
- <property name="border">5</property>
- <property name="flag">wxALL</property>
- <property name="proportion">0</property>
- <object class="wxButton" expanded="1">
- <property name="bg"></property>
- <property name="context_help"></property>
- <property name="default">0</property>
- <property name="enabled">1</property>
- <property name="fg"></property>
- <property name="font"></property>
- <property name="hidden">0</property>
- <property name="id">wxID_CANCEL</property>
- <property name="label">&amp;Cancel</property>
- <property name="maximum_size"></property>
- <property name="minimum_size"></property>
- <property name="name">m_buttonCancel</property>
- <property name="permission">protected</property>
- <property name="pos"></property>
- <property name="size"></property>
- <property name="style"></property>
- <property name="subclass"></property>
- <property name="tooltip"></property>
- <property name="validator_data_type"></property>
- <property name="validator_style">wxFILTER_NONE</property>
- <property name="validator_type">wxDefaultValidator</property>
- <property name="validator_variable"></property>
- <property name="window_extra_style"></property>
- <property name="window_name"></property>
- <property name="window_style"></property>
- <event name="OnButtonClick"></event>
- <event name="OnChar"></event>
- <event name="OnEnterWindow"></event>
- <event name="OnEraseBackground"></event>
- <event name="OnKeyDown"></event>
- <event name="OnKeyUp"></event>
- <event name="OnKillFocus"></event>
- <event name="OnLeaveWindow"></event>
- <event name="OnLeftDClick"></event>
- <event name="OnLeftDown"></event>
- <event name="OnLeftUp"></event>
- <event name="OnMiddleDClick"></event>
- <event name="OnMiddleDown"></event>
- <event name="OnMiddleUp"></event>
- <event name="OnMotion"></event>
- <event name="OnMouseEvents"></event>
- <event name="OnMouseWheel"></event>
- <event name="OnPaint"></event>
- <event name="OnRightDClick"></event>
- <event name="OnRightDown"></event>
- <event name="OnRightUp"></event>
- <event name="OnSetFocus"></event>
- <event name="OnSize"></event>
- <event name="OnUpdateUI"></event>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
- </object>
-</wxFormBuilder_Project>
diff --git a/LiteEditor/workspacesettingsbase.h b/LiteEditor/workspacesettingsbase.h
deleted file mode 100644
index 350b12d5..00000000
--- a/LiteEditor/workspacesettingsbase.h
+++ /dev/null
@@ -1,85 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Aug 25 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __workspacesettingsbase__
-#define __workspacesettingsbase__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/sizer.h>
-#include <wx/statbox.h>
-#include <wx/listbox.h>
-#include <wx/button.h>
-#include <wx/panel.h>
-#include <wx/bitmap.h>
-#include <wx/image.h>
-#include <wx/icon.h>
-#include <wx/choice.h>
-#include <wx/notebook.h>
-#include <wx/statline.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class WorkspaceSettingsBase
-///////////////////////////////////////////////////////////////////////////////
-class WorkspaceSettingsBase : public wxDialog
-{
- private:
-
- protected:
- wxNotebook* m_notebook1;
- wxPanel* m_panel2;
- wxStaticText* m_staticText1;
- wxListBox* m_listBoxSearchPaths;
- wxButton* m_button3;
- wxButton* m_button4;
- wxButton* m_button5;
- wxStaticText* m_staticText2;
- wxListBox* m_listBoxExcludePaths;
- wxButton* m_button6;
- wxButton* m_button7;
- wxButton* m_button8;
- wxPanel* m_panelEnv;
- wxStaticText* m_staticText3;
- wxStaticText* m_staticText4;
- wxChoice* m_choiceEnvSets;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnAddIncludePath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnRemoveIncludePath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnRemoveIncludePathUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnClearAllIncludePaths( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnClearAllIncludePathUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnAddExcludePath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnRemoveExcludePath( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnRemoveExcludePathUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnClearAllExcludePaths( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnClearAllExcludePathsUI( wxUpdateUIEvent& event ) { event.Skip(); }
- virtual void OnEnvSelected( wxCommandEvent& event ) { event.Skip(); }
- virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
-
-
- public:
-
- WorkspaceSettingsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Workspace Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~WorkspaceSettingsBase();
-
-};
-
-#endif //__workspacesettingsbase__
diff --git a/LiteEditor/workspacesettingsdlg.cpp b/LiteEditor/workspacesettingsdlg.cpp
deleted file mode 100644
index e9c79b6d..00000000
--- a/LiteEditor/workspacesettingsdlg.cpp
+++ /dev/null
@@ -1,144 +0,0 @@
-#include "workspacesettingsdlg.h"
-#include "localworkspace.h"
-#include "environmentconfig.h"
-#include "evnvarlist.h"
-#include "windowattrmanager.h"
-#include <wx/dirdlg.h>
-#include <map>
-
-WorkspaceSettingsDlg::WorkspaceSettingsDlg( wxWindow* parent, LocalWorkspace *localWorkspace)
-: WorkspaceSettingsBase( parent )
-, m_localWorkspace(localWorkspace)
-{
- wxArrayString excludePaths, includePaths;
- localWorkspace->GetParserPaths(includePaths, excludePaths);
-
- m_listBoxExcludePaths->Append(excludePaths);
- m_listBoxSearchPaths->Append(includePaths);
-
- EvnVarList vars;
- EnvironmentConfig::Instance()->ReadObject(wxT("Variables"), &vars);
- std::map<wxString, wxString> envSets = vars.GetEnvVarSets();
- wxString activePage = vars.GetActiveSet();
- m_choiceEnvSets->Clear();
-
- std::map<wxString, wxString>::iterator iter = envSets.begin();
- int useActiveSetIndex = m_choiceEnvSets->Append(wxT("<Use Active Set>"));
-
- for (; iter != envSets.end(); iter++) {
- m_choiceEnvSets->Append(iter->first);
- }
-
- // select the current workspace active set name
- wxString activeEnvSet;
- int where = m_choiceEnvSets->FindString(localWorkspace->GetActiveEnvironmentSet());
- if (where == wxNOT_FOUND) {
- activeEnvSet = activePage;
- m_choiceEnvSets->SetSelection(useActiveSetIndex);
-
- } else {
- activeEnvSet = localWorkspace->GetActiveEnvironmentSet();
- m_choiceEnvSets->SetSelection(where);
- }
-
- if(activeEnvSet.IsEmpty() == false){
- vars.SetActiveSet(activeEnvSet);
- EnvironmentConfig::Instance()->SetSettings(vars);
- }
-
- WindowAttrManager::Load(this, wxT("WorkspaceSettingsDlg"), NULL);
-}
-
-WorkspaceSettingsDlg::~WorkspaceSettingsDlg()
-{
- WindowAttrManager::Save(this, wxT("WorkspaceSettingsDlg"), NULL);
-}
-
-void WorkspaceSettingsDlg::OnAddIncludePath( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- wxString new_path = wxDirSelector(wxT("Add Parser Search Path:"), wxT(""), wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
- if (new_path.IsEmpty() == false) {
- if (m_listBoxSearchPaths->GetStrings().Index(new_path) == wxNOT_FOUND) {
- m_listBoxSearchPaths->Append(new_path);
- }
- }
-}
-
-void WorkspaceSettingsDlg::OnRemoveIncludePath( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- int sel = m_listBoxSearchPaths->GetSelection();
- if ( sel != wxNOT_FOUND) {
- m_listBoxSearchPaths->Delete((unsigned int)sel);
- }
-}
-
-void WorkspaceSettingsDlg::OnRemoveIncludePathUI( wxUpdateUIEvent& event )
-{
- event.Enable( m_listBoxSearchPaths->GetSelection() != wxNOT_FOUND );
-}
-
-void WorkspaceSettingsDlg::OnClearAllIncludePaths( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- m_listBoxSearchPaths->Clear();
-}
-
-void WorkspaceSettingsDlg::OnClearAllIncludePathUI( wxUpdateUIEvent& event )
-{
- event.Enable( m_listBoxSearchPaths->IsEmpty() == false );
-}
-
-void WorkspaceSettingsDlg::OnAddExcludePath( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- wxString new_path = wxDirSelector(wxT("Add Parser Exclude Path:"), wxT(""), wxDD_DEFAULT_STYLE, wxDefaultPosition, this);
- if (new_path.IsEmpty() == false) {
- if (m_listBoxExcludePaths->GetStrings().Index(new_path) == wxNOT_FOUND) {
- m_listBoxExcludePaths->Append(new_path);
- }
- }
-}
-
-void WorkspaceSettingsDlg::OnRemoveExcludePath( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- int sel = m_listBoxExcludePaths->GetSelection();
- if ( sel != wxNOT_FOUND) {
- m_listBoxExcludePaths->Delete((unsigned int)sel);
- }
-}
-
-void WorkspaceSettingsDlg::OnRemoveExcludePathUI( wxUpdateUIEvent& event )
-{
- event.Enable( m_listBoxExcludePaths->GetSelection() != wxNOT_FOUND );
-}
-
-void WorkspaceSettingsDlg::OnClearAllExcludePaths( wxCommandEvent& event )
-{
- wxUnusedVar(event);
- m_listBoxExcludePaths->Clear();
-}
-
-void WorkspaceSettingsDlg::OnClearAllExcludePathsUI( wxUpdateUIEvent& event )
-{
- event.Enable(m_listBoxExcludePaths->IsEmpty() == false);
-}
-
-wxArrayString WorkspaceSettingsDlg::GetExcludePaths() const
-{
- return m_listBoxExcludePaths->GetStrings();
-}
-
-wxArrayString WorkspaceSettingsDlg::GetIncludePaths() const
-{
- return m_listBoxSearchPaths->GetStrings();
-}
-
-void WorkspaceSettingsDlg::OnButtonOK(wxCommandEvent& event)
-{
- m_localWorkspace->SetParserPaths(GetIncludePaths(), GetExcludePaths());
- m_localWorkspace->SetActiveEnvironmentSet(m_choiceEnvSets->GetStringSelection());
- event.Skip();
-}
diff --git a/LiteEditor/workspacesettingsdlg.h b/LiteEditor/workspacesettingsdlg.h
deleted file mode 100644
index 4752d21d..00000000
--- a/LiteEditor/workspacesettingsdlg.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef __workspacesettingsdlg__
-#define __workspacesettingsdlg__
-
-/**
-@file
-Subclass of WorkspaceSettingsBase, which is generated by wxFormBuilder.
-*/
-
-#include "workspacesettingsbase.h"
-class LocalWorkspace;
-/** Implementing WorkspaceSettingsBase */
-class WorkspaceSettingsDlg : public WorkspaceSettingsBase
-{
- LocalWorkspace *m_localWorkspace;
-protected:
- // Handlers for WorkspaceSettingsBase events.
- void OnAddIncludePath( wxCommandEvent& event );
- void OnRemoveIncludePath( wxCommandEvent& event );
- void OnRemoveIncludePathUI( wxUpdateUIEvent& event );
- void OnClearAllIncludePaths( wxCommandEvent& event );
- void OnClearAllIncludePathUI( wxUpdateUIEvent& event );
- void OnAddExcludePath( wxCommandEvent& event );
- void OnRemoveExcludePath( wxCommandEvent& event );
- void OnRemoveExcludePathUI( wxUpdateUIEvent& event );
- void OnClearAllExcludePaths( wxCommandEvent& event );
- void OnClearAllExcludePathsUI( wxUpdateUIEvent& event );
- void OnButtonOK( wxCommandEvent& event );
-
-public:
- /** Constructor */
- WorkspaceSettingsDlg( wxWindow* parent, LocalWorkspace *localWorkspace);
- virtual ~WorkspaceSettingsDlg();
-
- wxArrayString GetIncludePaths() const;
- wxArrayString GetExcludePaths() const;
-};
-
-#endif // __workspacesettingsdlg__
diff --git a/LiteEditor/workspacetab.cpp b/LiteEditor/workspacetab.cpp
deleted file mode 100644
index 747a4eaf..00000000
--- a/LiteEditor/workspacetab.cpp
+++ /dev/null
@@ -1,348 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : workspacetab.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#include <wx/xrc/xmlres.h>
-#include <wx/combobox.h>
-#include <wx/sizer.h>
-#include <wx/button.h>
-#include "project_settings_dlg.h"
-#include "globals.h"
-#include "manager.h"
-#include "fileview.h"
-#include "editor_config.h"
-#include "frame.h"
-#include "macros.h"
-#include "workspace_pane.h"
-#include "workspacetab.h"
-
-WorkspaceTab::WorkspaceTab(wxWindow *parent, const wxString &caption)
- : wxPanel(parent)
- , m_caption(caption)
- , m_isLinkedToEditor(true)
-{
- long link(1);
- EditorConfigST::Get()->GetLongValue(wxT("LinkWorkspaceViewToEditor"), link);
- m_isLinkedToEditor = link ? true : false;
-
- CreateGUIControls();
- ConnectEvents();
-}
-
-WorkspaceTab::~WorkspaceTab()
-{
- Disconnect( XRCID("link_editor"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnLinkEditor));
- Disconnect( XRCID("collapse_all"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnCollapseAll));
- Disconnect( XRCID("collapse_all"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnCollapseAllUI));
- Disconnect( XRCID("go_home"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnGoHome));
- Disconnect( XRCID("go_home"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnGoHomeUI));
- Disconnect( XRCID("project_properties"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnProjectSettingsUI));
- Disconnect( XRCID("project_properties"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnProjectSettings));
- Disconnect( XRCID("set_project_active"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnShowProjectListPopup));
- Disconnect( XRCID("set_project_active"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnProjectSettingsUI));
-
- wxTheApp->Disconnect(XRCID("show_in_workspace"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnShowFile), NULL, this);
- wxTheApp->Disconnect(XRCID("show_in_workspace"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnShowFileUI), NULL, this);
-
- wxTheApp->Disconnect(wxEVT_WORKSPACE_LOADED, wxCommandEventHandler(WorkspaceTab::OnWorkspaceLoaded), NULL, this);
- wxTheApp->Disconnect(wxEVT_WORKSPACE_CLOSED, wxCommandEventHandler(WorkspaceTab::OnWorkspaceClosed), NULL, this);
- wxTheApp->Disconnect(wxEVT_PROJ_ADDED, wxCommandEventHandler(WorkspaceTab::OnProjectAdded), NULL, this);
- wxTheApp->Disconnect(wxEVT_PROJ_REMOVED, wxCommandEventHandler(WorkspaceTab::OnProjectRemoved), NULL, this);
- wxTheApp->Disconnect(wxEVT_ACTIVE_EDITOR_CHANGED, wxCommandEventHandler(WorkspaceTab::OnActiveEditorChanged), NULL, this);
- wxTheApp->Disconnect(wxEVT_EDITOR_CLOSING, wxCommandEventHandler(WorkspaceTab::OnEditorClosing), NULL, this);
-}
-
-void WorkspaceTab::CreateGUIControls()
-{
- wxBoxSizer *sz = new wxBoxSizer(wxVERTICAL);
- SetSizer(sz);
-
- wxToolBar *tb = new wxToolBar(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER);
- tb->AddTool(XRCID("link_editor"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("link_editor")), wxT("Link Editor"), wxITEM_CHECK);
- tb->ToggleTool(XRCID("link_editor"), m_isLinkedToEditor);
- tb->AddTool(XRCID("collapse_all"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("collapse")), wxT("Collapse All"), wxITEM_NORMAL);
- tb->AddTool(XRCID("go_home"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("gohome")), wxT("Goto Active Project"), wxITEM_NORMAL);
- tb->AddSeparator();
- tb->AddTool(XRCID("project_properties"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("project_settings")), wxT("Open Active Project Settings..."), wxITEM_NORMAL);
- tb->AddTool(XRCID("set_project_active"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("set_active")), wxT("Select Active Project"), wxITEM_NORMAL);
- tb->AddSeparator();
-
- // add the 'multiple/single' tree style
- long val (0);
- if(EditorConfigST::Get()->GetLongValue(wxT("WspTreeMultipleSelection"), val) == false) {val = 0;}
-
- tb->AddTool(XRCID("set_multi_selection"), wxEmptyString, wxXmlResource::Get()->LoadBitmap(wxT("outline16")), wxT("Toggle Multiple / Single Selection"), wxITEM_CHECK);
- tb->ToggleTool(XRCID("set_multi_selection"), val ? true : false);
- tb->Realize();
- sz->Add(tb, 0, wxEXPAND, 0);
-
- m_fileView = new FileViewTree(this, wxID_ANY);
- sz->Add(m_fileView, 1, wxEXPAND|wxTOP, 2);
-}
-
-void WorkspaceTab::ConnectEvents()
-{
- Connect( XRCID("link_editor"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnLinkEditor));
- Connect( XRCID("set_multi_selection"),wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnToggleMultiSelection));
- Connect( XRCID("set_multi_selection"),wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnCollapseAllUI));
- Connect( XRCID("collapse_all"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnCollapseAll));
- Connect( XRCID("collapse_all"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnCollapseAllUI));
- Connect( XRCID("go_home"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnGoHome));
- Connect( XRCID("go_home"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnGoHomeUI));
- Connect( XRCID("project_properties"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnProjectSettingsUI));
- Connect( XRCID("project_properties"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnProjectSettings));
- Connect( XRCID("set_project_active"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnShowProjectListPopup));
- Connect( XRCID("set_project_active"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnProjectSettingsUI));
-
- wxTheApp->Connect(XRCID("show_in_workspace"), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler (WorkspaceTab::OnShowFile), NULL, this);
- wxTheApp->Connect(XRCID("show_in_workspace"), wxEVT_UPDATE_UI, wxUpdateUIEventHandler(WorkspaceTab::OnShowFileUI), NULL, this);
-
- wxTheApp->Connect(wxEVT_WORKSPACE_LOADED, wxCommandEventHandler(WorkspaceTab::OnWorkspaceLoaded), NULL, this);
- wxTheApp->Connect(wxEVT_WORKSPACE_CLOSED, wxCommandEventHandler(WorkspaceTab::OnWorkspaceClosed), NULL, this);
- wxTheApp->Connect(wxEVT_PROJ_ADDED, wxCommandEventHandler(WorkspaceTab::OnProjectAdded), NULL, this);
- wxTheApp->Connect(wxEVT_PROJ_REMOVED, wxCommandEventHandler(WorkspaceTab::OnProjectRemoved), NULL, this);
- wxTheApp->Connect(wxEVT_ACTIVE_EDITOR_CHANGED, wxCommandEventHandler(WorkspaceTab::OnActiveEditorChanged), NULL, this);
- wxTheApp->Connect(wxEVT_EDITOR_CLOSING, wxCommandEventHandler(WorkspaceTab::OnEditorClosing), NULL, this);
-}
-
-void WorkspaceTab::OnLinkEditor(wxCommandEvent &e)
-{
- m_isLinkedToEditor = !m_isLinkedToEditor;
- EditorConfigST::Get()->SaveLongValue(wxT("LinkWorkspaceViewToEditor"), m_isLinkedToEditor ? 1 : 0);
- if (m_isLinkedToEditor) {
- OnActiveEditorChanged(e);
- }
-}
-
-void WorkspaceTab::OnCollapseAll(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- if (!m_fileView->GetRootItem().IsOk())
- return;
- m_fileView->Freeze();
- m_fileView->CollapseAll();
- m_fileView->Expand(m_fileView->GetRootItem());
- // count will probably be 0 below, so ensure we can at least see the root item
- m_fileView->EnsureVisible(m_fileView->GetRootItem());
- m_fileView->Thaw();
-
- wxArrayTreeItemIds arr;
- size_t count = m_fileView->GetSelections( arr );
-
- if ( count == 1 ) {
- wxTreeItemId sel = arr.Item(0);
- if (sel.IsOk()) {
- m_fileView->EnsureVisible(sel);
- }
- }
-}
-
-void WorkspaceTab::OnCollapseAllUI(wxUpdateUIEvent &e)
-{
- e.Enable(ManagerST::Get()->IsWorkspaceOpen());
-}
-
-void WorkspaceTab::OnGoHome(wxCommandEvent &e)
-{
- wxUnusedVar(e);
- wxString activeProject = ManagerST::Get()->GetActiveProjectName();
- if (activeProject.IsEmpty())
- return;
- m_fileView->ExpandToPath(activeProject, wxFileName());
-
- wxArrayTreeItemIds arr;
- size_t count = m_fileView->GetSelections( arr );
-
- if ( count == 1 ) {
- wxTreeItemId sel = arr.Item(0);
- if (sel.IsOk() && m_fileView->ItemHasChildren(sel))
- m_fileView->Expand(sel);
- }
- ManagerST::Get()->ShowWorkspacePane(m_caption);
-}
-
-void WorkspaceTab::OnGoHomeUI(wxUpdateUIEvent &e)
-{
- e.Enable(!ManagerST::Get()->GetActiveProjectName().IsEmpty());
-}
-
-void WorkspaceTab::OnProjectSettings(wxCommandEvent& e)
-{
- wxString projectName = ManagerST::Get()->GetActiveProjectName();
- wxString title( projectName );
- title << wxT( " Project Settings" );
-
- //open the project properties dialog
- BuildMatrixPtr matrix = ManagerST::Get()->GetWorkspaceBuildMatrix();
-
- //find the project configuration name that matches the workspace selected configuration
- ProjectSettingsDlg dlg( Frame::Get(), matrix->GetProjectSelectedConf( matrix->GetSelectedConfigurationName(), projectName ), projectName, title );
- dlg.ShowModal();
-
- //mark this project as modified
- ProjectPtr proj = ManagerST::Get()->GetProject(projectName);
- if (proj) {
- proj->SetModified(true);
- }
-}
-
-void WorkspaceTab::OnProjectSettingsUI(wxUpdateUIEvent& e)
-{
- e.Enable(!ManagerST::Get()->GetActiveProjectName().IsEmpty());
-}
-
-static int wxStringCmpFunc(const wxString& item1, const wxString& item2)
-{
- return item1.CmpNoCase(item2);
-}
-
-void WorkspaceTab::OnShowProjectListPopup(wxCommandEvent& e)
-{
- wxUnusedVar(e);
-
-#ifdef __WXMSW__
- wxFont font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
-#endif
-
- wxMenu popupMenu;
-
- wxArrayString projects;
- ManagerST::Get()->GetProjectList(projects);
- projects.Sort(wxStringCmpFunc);
- for (size_t i = 0; i < projects.GetCount(); i++) {
- wxString text = projects.Item(i);
- bool selected = ManagerST::Get()->GetActiveProjectName() == text;
- wxMenuItem *item = new wxMenuItem(&popupMenu, i, text, text, wxITEM_CHECK);
-
- //set the font
-#ifdef __WXMSW__
- if (selected) {
- font.SetWeight(wxBOLD);
- }
- item->SetFont(font);
-#endif
- popupMenu.Append(item);
- item->Check(selected);
-
- //restore font
-#ifdef __WXMSW__
- font.SetWeight(wxNORMAL);
-#endif
- }
-
- popupMenu.Connect(wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(WorkspaceTab::OnMenuSelection), NULL, this);
- PopupMenu(&popupMenu);
-}
-
-void WorkspaceTab::OnMenuSelection(wxCommandEvent& e)
-{
- wxArrayString projects;
- ManagerST::Get()->GetProjectList(projects);
- projects.Sort(wxStringCmpFunc);
-
- size_t sel = (size_t)e.GetId();
- if(sel < projects.GetCount()) {
- m_fileView->MarkActive(projects.Item(sel));
- }
-}
-
-void WorkspaceTab::OnShowFile(wxCommandEvent& e)
-{
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (editor && !editor->GetProject().IsEmpty()) {
- m_fileView->ExpandToPath(editor->GetProject(), editor->GetFileName());
- ManagerST::Get()->ShowWorkspacePane(m_caption);
- }
- e.Skip();
-}
-
-void WorkspaceTab::OnShowFileUI(wxUpdateUIEvent& e)
-{
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- e.Enable(editor && !editor->GetProject().IsEmpty());
-}
-
-void WorkspaceTab::OnActiveEditorChanged(wxCommandEvent& e)
-{
- e.Skip();
- if (m_isLinkedToEditor) {
- LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
- if (editor && !editor->GetProject().IsEmpty()) {
- m_fileView->ExpandToPath(editor->GetProject(), editor->GetFileName());
- }
- }
-}
-
-void WorkspaceTab::OnWorkspaceLoaded(wxCommandEvent& e)
-{
- e.Skip();
- Freeze();
- m_fileView->BuildTree();
- OnGoHome(e);
- Thaw();
- SendCmdEvent(wxEVT_FILE_VIEW_INIT_DONE);
-}
-
-void WorkspaceTab::OnEditorClosing(wxCommandEvent& e)
-{
- e.Skip();
-}
-
-void WorkspaceTab::OnWorkspaceClosed(wxCommandEvent& e)
-{
- e.Skip();
- m_fileView->DeleteAllItems();
- SendCmdEvent(wxEVT_FILE_VIEW_INIT_DONE);
-}
-
-void WorkspaceTab::OnProjectAdded(wxCommandEvent& e)
-{
- e.Skip();
- const wxString *projName = (const wxString *) e.GetClientData();
- m_fileView->BuildTree();
- if (projName && !projName->IsEmpty()) {
- m_fileView->ExpandToPath(*projName, wxFileName());
- }
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
-}
-
-void WorkspaceTab::OnProjectRemoved(wxCommandEvent& e)
-{
- e.Skip();
- Freeze();
- m_fileView->BuildTree();
- OnGoHome(e);
- Thaw();
- SendCmdEvent(wxEVT_FILE_VIEW_REFRESHED);
-}
-
-void WorkspaceTab::OnToggleMultiSelection(wxCommandEvent& e)
-{
- EditorConfigST::Get()->SaveLongValue(wxT("WspTreeMultipleSelection"), e.IsChecked() ? 1 : 0);
- // Reload the tree
- int answer = wxMessageBox(_("Workspace reload is required\nWould you like to reload workspace now?"), wxT("CodeLite"), wxICON_INFORMATION|wxYES_NO|wxCANCEL, this);
- if ( answer == wxYES ) {
- wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, XRCID("reload_workspace"));
- Frame::Get()->GetEventHandler()->AddPendingEvent(e);
- }
-}
diff --git a/LiteEditor/workspacetab.h b/LiteEditor/workspacetab.h
deleted file mode 100644
index 0c101fe6..00000000
--- a/LiteEditor/workspacetab.h
+++ /dev/null
@@ -1,71 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2008 by Eran Ifrah
-// file name : workspacetab.h
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-#ifndef __workspacetab__
-#define __workspacetab__
-
-#include <wx/panel.h>
-
-class FileViewTree;
-
-class WorkspaceTab : public wxPanel
-{
- FileViewTree *m_fileView;
- wxString m_caption;
- bool m_isLinkedToEditor;
-
- void CreateGUIControls();
- void ConnectEvents();
-
- void OnLinkEditor (wxCommandEvent &e);
- void OnToggleMultiSelection (wxCommandEvent &e);
- void OnCollapseAll (wxCommandEvent &e);
- void OnCollapseAllUI (wxUpdateUIEvent &e);
- void OnGoHome (wxCommandEvent &e);
- void OnGoHomeUI (wxUpdateUIEvent &e);
- void OnProjectSettingsUI (wxUpdateUIEvent &e);
- void OnProjectSettings (wxCommandEvent &e);
- void OnShowFile (wxCommandEvent &e);
- void OnShowFileUI (wxUpdateUIEvent &e);
- void OnShowProjectListPopup (wxCommandEvent &e);
- void OnMenuSelection (wxCommandEvent &e);
-
- void OnWorkspaceLoaded (wxCommandEvent &e);
- void OnWorkspaceClosed (wxCommandEvent &e);
- void OnProjectAdded (wxCommandEvent &e);
- void OnProjectRemoved (wxCommandEvent &e);
- void OnProjectFileAdded (wxCommandEvent &e);
- void OnProjectFileRemoved (wxCommandEvent &e);
- void OnActiveEditorChanged (wxCommandEvent &e);
- void OnEditorClosing (wxCommandEvent &e);
-
-
-public:
- WorkspaceTab(wxWindow *parent, const wxString &caption);
- ~WorkspaceTab();
-
- FileViewTree *GetFileView() { return m_fileView; }
- const wxString &GetCaption () const { return m_caption; }
-};
-#endif // __workspacetab__
diff --git a/LiteEditor/yestoallbasedlg.cpp b/LiteEditor/yestoallbasedlg.cpp
deleted file mode 100644
index e5a6a51b..00000000
--- a/LiteEditor/yestoallbasedlg.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "yestoallbasedlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-YesToAllBaseDlg::YesToAllBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxDefaultSize, wxDefaultSize );
-
- wxBoxSizer* bSizer1;
- bSizer1 = new wxBoxSizer( wxVERTICAL );
-
- m_staticMsg = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_staticMsg->Wrap( -1 );
- bSizer1->Add( m_staticMsg, 1, wxALL|wxEXPAND, 5 );
-
- m_checkBoxAll = new wxCheckBox( this, wxID_ANY, _("Apply to all"), wxDefaultPosition, wxDefaultSize, 0 );
-
- bSizer1->Add( m_checkBoxAll, 0, wxALL, 5 );
-
- m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bSizer2;
- bSizer2 = new wxBoxSizer( wxHORIZONTAL );
-
- m_buttonOk = new wxButton( this, wxID_OK, _("&Yes"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonOk->SetDefault();
- bSizer2->Add( m_buttonOk, 0, wxALL, 5 );
-
- m_buttonCancel = new wxButton( this, wxID_CANCEL, _("No"), wxDefaultPosition, wxDefaultSize, 0 );
- bSizer2->Add( m_buttonCancel, 0, wxALL, 5 );
-
- bSizer1->Add( bSizer2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
-
- this->SetSizer( bSizer1 );
- this->Layout();
- bSizer1->Fit( this );
-
- // Connect Events
- m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( YesToAllBaseDlg::OnYesClicked ), NULL, this );
- m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( YesToAllBaseDlg::OnNoClicked ), NULL, this );
-}
-
-YesToAllBaseDlg::~YesToAllBaseDlg()
-{
- // Disconnect Events
- m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( YesToAllBaseDlg::OnYesClicked ), NULL, this );
- m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( YesToAllBaseDlg::OnNoClicked ), NULL, this );
-}
diff --git a/LiteEditor/yestoallbasedlg.h b/LiteEditor/yestoallbasedlg.h
deleted file mode 100644
index 0ec0e413..00000000
--- a/LiteEditor/yestoallbasedlg.h
+++ /dev/null
@@ -1,53 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Mar 19 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __yestoallbasedlg__
-#define __yestoallbasedlg__
-
-#include <wx/intl.h>
-
-#include <wx/string.h>
-#include <wx/stattext.h>
-#include <wx/gdicmn.h>
-#include <wx/font.h>
-#include <wx/colour.h>
-#include <wx/settings.h>
-#include <wx/checkbox.h>
-#include <wx/statline.h>
-#include <wx/button.h>
-#include <wx/sizer.h>
-#include <wx/dialog.h>
-
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class YesToAllBaseDlg
-///////////////////////////////////////////////////////////////////////////////
-class YesToAllBaseDlg : public wxDialog
-{
- private:
-
- protected:
- wxStaticText* m_staticMsg;
- wxCheckBox* m_checkBoxAll;
- wxStaticLine* m_staticline1;
- wxButton* m_buttonOk;
- wxButton* m_buttonCancel;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnYesClicked( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnNoClicked( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- YesToAllBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~YesToAllBaseDlg();
-
-};
-
-#endif //__yestoallbasedlg__
diff --git a/LiteEditor/yestoalldlg.cpp b/LiteEditor/yestoalldlg.cpp
deleted file mode 100644
index bae61655..00000000
--- a/LiteEditor/yestoalldlg.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Feb 8 2009)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifdef WX_PRECOMP
-
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif //__BORLANDC__
-
-#else
-#include <wx/wx.h>
-#endif //WX_PRECOMP
-
-#include "yestoalldlg.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-YesToAllDlg::YesToAllDlg( wxWindow* parent, const wxString& message /*=wxT("This space unintentionally left blank")*/, const bool setcheck /*=false*/,
- const wxString& title /*=wxT("Are you sure?")*/, wxWindowID id /*=wxID_ANY*/, const wxPoint& pos /*=wxDefaultPosition*/,
- const wxSize& size /*=wxSize( wxDefaultSize )*/, long style /*=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER )*/ )
- : YesToAllBaseDlg( parent, id, title, pos, size, style )
-{
- SetMessage(message);
- m_checkBoxAll->SetValue(setcheck);
-}
-
-void YesToAllDlg::SetMessage(const wxString& message)
-{
- m_staticMsg->SetLabel(message);
- GetSizer()->Layout();
- GetSizer()->Fit(this);
-}
-
-void YesToAllDlg::SetCheckboxText(const wxString& text)
-{
- m_checkBoxAll->SetLabel(text);
- GetSizer()->Layout();
- GetSizer()->Fit(this);
-}
diff --git a/LiteEditor/yestoalldlg.h b/LiteEditor/yestoalldlg.h
deleted file mode 100644
index 63b16b6c..00000000
--- a/LiteEditor/yestoalldlg.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef __yestoalldlg__
-#define __yestoalldlg__
-
-/**
- \class YesToAllDlg
- A generic dialog with Yes/No buttons and an 'Apply to all' checkbox.
- Set the dialog's message in the ctor, or call SetMessage() later.
- Customise the checkbox text with SetCheckboxText().
- EndModal returns one of ID_YES ID_NO or ID_CANCEL
-*/
-
-#include "yestoallbasedlg.h"
-
-class YesToAllDlg : public YesToAllBaseDlg
-{
- protected:
- virtual void OnNoClicked( wxCommandEvent& WXUNUSED(event) ) { EndModal(wxID_NO); }
- virtual void OnYesClicked( wxCommandEvent& WXUNUSED(event) ) { EndModal(wxID_YES); }
-
- public:
- YesToAllDlg( wxWindow* parent, const wxString& message = wxT("This space unintentionally left blank"), const bool setcheck = false,
- const wxString& title = wxT("Are you sure?"), wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxSize( wxDefaultSize ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- void SetMessage(const wxString& message);
- void SetCheckboxText(const wxString& text);
- bool GetIsChecked() const { return m_checkBoxAll->IsChecked(); }
-
-};
-
-#endif //__yestoalldlg__